bromcom-ui 2.8.0-rc.10-f → 2.8.0-rc.10-g

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 (177) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-8d00f15c.entry.js → p-0175104f.entry.js} +1 -1
  3. package/dist/bromcom-ui/{p-bf793f02.entry.js → p-0248c4f7.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-ea722b84.js → p-036b5e90.js} +1 -1
  5. package/dist/bromcom-ui/{p-68870edd.entry.js → p-0a759563.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-4af70ae2.entry.js → p-0de1747d.entry.js} +1 -1
  7. package/dist/bromcom-ui/p-0f7a532c.js +5 -0
  8. package/dist/bromcom-ui/{p-96a6ea7b.entry.js → p-11cab8a3.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-d3492737.entry.js → p-1760fbc1.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-ad191dd1.entry.js → p-198f27f0.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-9d177c47.entry.js → p-1dd4c23d.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-af43509f.entry.js → p-1e202809.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-c282ccd5.entry.js → p-284f33d1.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-d0750f4d.js → p-2d7a2ff7.js} +1 -1
  15. package/dist/bromcom-ui/{p-3fc76873.entry.js → p-2fed40df.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-58efe9aa.entry.js → p-309c9146.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-a0d8a598.entry.js → p-30d7353f.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-f0ff7f44.entry.js → p-316ccc1d.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-1748fa48.entry.js → p-33540594.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-1d0bf823.entry.js → p-3eea9349.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-993b7cc2.entry.js → p-44bd0e80.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-8383a0df.entry.js → p-4ad5bcfe.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-ce7c926c.entry.js → p-50bf8630.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-7093021e.entry.js → p-53ca66f4.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-6612ed29.entry.js → p-53f39686.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-625da564.entry.js → p-55d1f990.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-e4924a0c.entry.js → p-561cf7fb.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-59c7e787.entry.js → p-578dc2f2.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-fd931091.entry.js → p-5ac33f6a.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-8e85c2be.entry.js → p-6510ae4a.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-05851404.entry.js → p-71b3a42b.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-9c761970.js → p-72197523.js} +1 -1
  33. package/dist/bromcom-ui/{p-a5bc6810.entry.js → p-804fb116.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-ec920bc7.entry.js → p-89a75f62.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-fa8efda9.entry.js → p-90ce53df.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-00081c8f.entry.js → p-9318f783.entry.js} +1 -1
  37. package/dist/bromcom-ui/{p-be390f36.entry.js → p-96db5ce1.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-76b12489.js → p-9b93939a.js} +1 -1
  39. package/dist/bromcom-ui/{p-67667db7.entry.js → p-a0f65dfc.entry.js} +1 -1
  40. package/dist/bromcom-ui/{p-12bdaed1.entry.js → p-a11d59ec.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-a8e3e1b5.js → p-ae332cfe.js} +1 -1
  42. package/dist/bromcom-ui/{p-9486d6a0.entry.js → p-c04cc95a.entry.js} +1 -1
  43. package/dist/bromcom-ui/{p-40ed6269.entry.js → p-c4eac148.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-ec8f3c78.entry.js → p-c54c2a46.entry.js} +1 -1
  45. package/dist/bromcom-ui/{p-10f8e27d.entry.js → p-ca7b2bb3.entry.js} +1 -1
  46. package/dist/bromcom-ui/{p-6ee5b075.js → p-d2a85ae7.js} +1 -1
  47. package/dist/bromcom-ui/{p-ce86d569.entry.js → p-dfc3394e.entry.js} +1 -1
  48. package/dist/bromcom-ui/{p-40d09bfc.entry.js → p-ed94e252.entry.js} +1 -1
  49. package/dist/bromcom-ui/p-ef5ee2e6.entry.js +5 -0
  50. package/dist/bromcom-ui/{p-fd21becc.entry.js → p-f0fd61b3.entry.js} +1 -1
  51. package/dist/bromcom-ui/p-f4fc571c.entry.js +5 -0
  52. package/dist/bromcom-ui/{p-08841042.entry.js → p-fc23f069.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-d091119c.entry.js → p-fda04acb.entry.js} +1 -1
  54. package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
  55. package/dist/cjs/bcm-alert.cjs.entry.js +1 -1
  56. package/dist/cjs/bcm-attendance.cjs.entry.js +1 -1
  57. package/dist/cjs/bcm-avatar_2.cjs.entry.js +3 -3
  58. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
  59. package/dist/cjs/bcm-button-group.cjs.entry.js +1 -1
  60. package/dist/cjs/bcm-button.cjs.entry.js +1 -1
  61. package/dist/cjs/bcm-card.cjs.entry.js +1 -1
  62. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +1 -1
  63. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +1 -1
  64. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +1 -1
  65. package/dist/cjs/bcm-chip.cjs.entry.js +1 -1
  66. package/dist/cjs/bcm-collapse.cjs.entry.js +1 -1
  67. package/dist/cjs/bcm-date-picker.cjs.entry.js +1 -1
  68. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +1 -1
  69. package/dist/cjs/bcm-default.cjs.entry.js +1 -1
  70. package/dist/cjs/bcm-drawer.cjs.entry.js +3 -3
  71. package/dist/cjs/bcm-dropdown.cjs.entry.js +2 -2
  72. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +1 -1
  73. package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
  74. package/dist/cjs/bcm-input.cjs.entry.js +4 -4
  75. package/dist/cjs/bcm-item.cjs.entry.js +1 -1
  76. package/dist/cjs/bcm-items.cjs.entry.js +1 -1
  77. package/dist/cjs/bcm-label_2.cjs.entry.js +7 -7
  78. package/dist/cjs/bcm-linked_2.cjs.entry.js +24 -24
  79. package/dist/cjs/bcm-list.cjs.entry.js +5 -5
  80. package/dist/cjs/bcm-modal.cjs.entry.js +1 -1
  81. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +1 -1
  82. package/dist/cjs/bcm-popconfirm.cjs.entry.js +1 -1
  83. package/dist/cjs/bcm-popover.cjs.entry.js +7 -7
  84. package/dist/cjs/bcm-progress.cjs.entry.js +1 -1
  85. package/dist/cjs/bcm-radio-group.cjs.entry.js +1 -1
  86. package/dist/cjs/bcm-radio.cjs.entry.js +1 -1
  87. package/dist/cjs/bcm-range.cjs.entry.js +1 -1
  88. package/dist/cjs/bcm-search.cjs.entry.js +2 -2
  89. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
  90. package/dist/cjs/bcm-step.cjs.entry.js +2 -2
  91. package/dist/cjs/bcm-stepper.cjs.entry.js +2 -2
  92. package/dist/cjs/bcm-switch.cjs.entry.js +1 -1
  93. package/dist/cjs/bcm-tab-group.cjs.entry.js +47 -47
  94. package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
  95. package/dist/cjs/bcm-textarea.cjs.entry.js +2 -2
  96. package/dist/cjs/bcm-time-picker.cjs.entry.js +1 -1
  97. package/dist/cjs/{generate-43262f69.js → generate-62c3a20c.js} +1 -1
  98. package/dist/cjs/{input-template-82b06cc3.js → input-template-da75023a.js} +1 -1
  99. package/dist/cjs/{json-parse-decarator-9bc2ee93.js → json-parse-decarator-935df068.js} +1 -1
  100. package/dist/cjs/{number-helper-fa69ea24.js → number-helper-4cfa88f0.js} +1 -1
  101. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +2 -2
  102. package/dist/cjs/old-bcm-popover.cjs.entry.js +1 -1
  103. package/dist/cjs/{stepper-states-d7f6c19a.js → stepper-states-50ec45ff.js} +1 -1
  104. package/dist/cjs/{tooltip-helper-9f6a9b2d.js → tooltip-helper-3f7ad52d.js} +3 -3
  105. package/dist/cjs/{validators-97891f43.js → validators-2a28c1ed.js} +1 -1
  106. package/dist/collection/components/molecules/linked/linked.js +28 -28
  107. package/dist/collection/components/molecules/popover/popover.js +11 -11
  108. package/dist/collection/components/molecules/skeleton/skeleton.js +8 -8
  109. package/dist/collection/components/molecules/tab-group/tab-group.js +52 -52
  110. package/dist/collection/components/molecules/tooltip/tooltip.js +9 -9
  111. package/dist/components/bcm-popover.js +4 -4
  112. package/dist/components/bcm-tab-group.js +46 -46
  113. package/dist/components/generate.js +1 -1
  114. package/dist/components/linked.js +20 -20
  115. package/dist/components/skeleton.js +5 -5
  116. package/dist/components/tooltip.js +3 -3
  117. package/dist/esm/bcm-accordion.entry.js +1 -1
  118. package/dist/esm/bcm-alert.entry.js +1 -1
  119. package/dist/esm/bcm-attendance.entry.js +1 -1
  120. package/dist/esm/bcm-avatar_2.entry.js +3 -3
  121. package/dist/esm/bcm-breadcrumb.entry.js +1 -1
  122. package/dist/esm/bcm-button-group.entry.js +1 -1
  123. package/dist/esm/bcm-button.entry.js +1 -1
  124. package/dist/esm/bcm-card.entry.js +1 -1
  125. package/dist/esm/bcm-checkbox-group.entry.js +1 -1
  126. package/dist/esm/bcm-checkbox-lite_9.entry.js +1 -1
  127. package/dist/esm/bcm-checkbox_2.entry.js +1 -1
  128. package/dist/esm/bcm-chip.entry.js +1 -1
  129. package/dist/esm/bcm-collapse.entry.js +1 -1
  130. package/dist/esm/bcm-date-picker.entry.js +1 -1
  131. package/dist/esm/bcm-datetime-picker.entry.js +1 -1
  132. package/dist/esm/bcm-default.entry.js +1 -1
  133. package/dist/esm/bcm-drawer.entry.js +3 -3
  134. package/dist/esm/bcm-dropdown.entry.js +2 -2
  135. package/dist/esm/bcm-expansion-panel.entry.js +1 -1
  136. package/dist/esm/bcm-form-2.entry.js +1 -1
  137. package/dist/esm/bcm-input.entry.js +4 -4
  138. package/dist/esm/bcm-item.entry.js +1 -1
  139. package/dist/esm/bcm-items.entry.js +1 -1
  140. package/dist/esm/bcm-label_2.entry.js +7 -7
  141. package/dist/esm/bcm-linked_2.entry.js +24 -24
  142. package/dist/esm/bcm-list.entry.js +5 -5
  143. package/dist/esm/bcm-modal.entry.js +1 -1
  144. package/dist/esm/bcm-popconfirm-box.entry.js +1 -1
  145. package/dist/esm/bcm-popconfirm.entry.js +1 -1
  146. package/dist/esm/bcm-popover.entry.js +7 -7
  147. package/dist/esm/bcm-progress.entry.js +1 -1
  148. package/dist/esm/bcm-radio-group.entry.js +1 -1
  149. package/dist/esm/bcm-radio.entry.js +1 -1
  150. package/dist/esm/bcm-range.entry.js +1 -1
  151. package/dist/esm/bcm-search.entry.js +2 -2
  152. package/dist/esm/bcm-skeleton.entry.js +6 -6
  153. package/dist/esm/bcm-step.entry.js +2 -2
  154. package/dist/esm/bcm-stepper.entry.js +2 -2
  155. package/dist/esm/bcm-switch.entry.js +1 -1
  156. package/dist/esm/bcm-tab-group.entry.js +47 -47
  157. package/dist/esm/bcm-tag.entry.js +2 -2
  158. package/dist/esm/bcm-textarea.entry.js +2 -2
  159. package/dist/esm/bcm-time-picker.entry.js +1 -1
  160. package/dist/esm/{generate-b0bd116a.js → generate-e03db45c.js} +1 -1
  161. package/dist/esm/{input-template-46ef248f.js → input-template-3e2dfbe2.js} +1 -1
  162. package/dist/esm/{json-parse-decarator-012a2b54.js → json-parse-decarator-ba60b5d7.js} +1 -1
  163. package/dist/esm/{number-helper-c6129a13.js → number-helper-3c965a72.js} +1 -1
  164. package/dist/esm/old-bcm-popover-box.entry.js +2 -2
  165. package/dist/esm/old-bcm-popover.entry.js +1 -1
  166. package/dist/esm/{stepper-states-4e165709.js → stepper-states-0837281e.js} +1 -1
  167. package/dist/esm/{tooltip-helper-8bae18d3.js → tooltip-helper-3e7c4148.js} +3 -3
  168. package/dist/esm/{validators-ae61406d.js → validators-827e76f0.js} +1 -1
  169. package/dist/types/components/molecules/linked/linked.d.ts +2 -2
  170. package/dist/types/components/molecules/popover/popover.d.ts +3 -3
  171. package/dist/types/components/molecules/skeleton/skeleton.d.ts +1 -1
  172. package/dist/types/components/molecules/tab-group/tab-group.d.ts +2 -2
  173. package/dist/types/components/molecules/tooltip/tooltip.d.ts +3 -3
  174. package/package.json +1 -1
  175. package/dist/bromcom-ui/p-0244ec6a.entry.js +0 -5
  176. package/dist/bromcom-ui/p-b465caeb.js +0 -5
  177. package/dist/bromcom-ui/p-bafdd186.entry.js +0 -5
@@ -3,13 +3,13 @@
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-85cce099.js';
6
- import { G as Generate } from './generate-b0bd116a.js';
7
- import { N as NumberHelper } from './number-helper-c6129a13.js';
6
+ import { G as Generate } from './generate-e03db45c.js';
7
+ import { N as NumberHelper } from './number-helper-3c965a72.js';
8
8
  import { S as StringHelper } from './string-helper-8793366d.js';
9
- import { V as Validators } from './validators-ae61406d.js';
9
+ import { V as Validators } from './validators-827e76f0.js';
10
10
  import { B as Bcm } from './bcm-b8d8a236.js';
11
11
  import { C as CaptionTemplate } from './caption-template-ced0e2ef.js';
12
- import { I as InputTemplate } from './input-template-46ef248f.js';
12
+ import { I as InputTemplate } from './input-template-3e2dfbe2.js';
13
13
  import { c as classnames } from './index-ed9652af.js';
14
14
  import { d as delay } from './utils-57652744.js';
15
15
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
5
  import { r as registerInstance, h, H as Host, g as getElement } from './index-85cce099.js';
6
- import { G as Generate } from './generate-b0bd116a.js';
6
+ import { G as Generate } from './generate-e03db45c.js';
7
7
  import { B as Bcm } from './bcm-b8d8a236.js';
8
8
  import { c as classnames } from './index-ed9652af.js';
9
9
  import { C as ColorHelper } from './color-helper-cb1cfc1e.js';
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-85cce099.js';
6
- import { G as Generate, s as snq } from './generate-b0bd116a.js';
6
+ import { G as Generate, s as snq } from './generate-e03db45c.js';
7
7
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
8
8
  import { S as StringHelper } from './string-helper-8793366d.js';
9
9
  import './bcm-b8d8a236.js';
@@ -5,15 +5,15 @@
5
5
  import { r as registerInstance, h, H as Host, g as getElement } from './index-85cce099.js';
6
6
  import { c as classnames } from './index-ed9652af.js';
7
7
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
8
- import { G as Generate } from './generate-b0bd116a.js';
8
+ import { G as Generate } from './generate-e03db45c.js';
9
9
  import { B as Bcm, a as Bcm$1 } from './bcm-b8d8a236.js';
10
10
  import { L as LabelTemplate } from './label-template-4f474794.js';
11
11
  import './color-helper-cb1cfc1e.js';
12
12
  import './datetime-helper-df25808a.js';
13
- import './number-helper-c6129a13.js';
13
+ import './number-helper-3c965a72.js';
14
14
  import './string-helper-8793366d.js';
15
- import './validators-ae61406d.js';
16
- import { T as Tooltip } from './tooltip-helper-8bae18d3.js';
15
+ import './validators-827e76f0.js';
16
+ import { T as Tooltip } from './tooltip-helper-3e7c4148.js';
17
17
  import './element-dragger-89bb52fd.js';
18
18
  import './_commonjsHelpers-3016b722.js';
19
19
  import './slot-template-97e4665e.js';
@@ -73,11 +73,11 @@ const BcmTooltip = class {
73
73
  constructor(hostRef) {
74
74
  registerInstance(this, hostRef);
75
75
  this._id = Generate.UID();
76
- this.message = "";
76
+ this.message = '';
77
77
  this.placement = Bcm$1.Placement.top;
78
78
  this.trigger = Bcm$1.TriggerType.click;
79
79
  this.open = false;
80
- this.color = "slate";
80
+ this.color = 'slate';
81
81
  this.tooltip = new Tooltip({
82
82
  targetId: this._id,
83
83
  message: this.message,
@@ -106,7 +106,7 @@ const BcmTooltip = class {
106
106
  this.tooltip.toggle();
107
107
  }
108
108
  render() {
109
- return (h(Host, { "aria-describedby": "tooltip", tabindex: "-1", class: "tw-inline-flex tw-h-fit tw-w-fit" }, h("slot", null)));
109
+ return (h(Host, { "aria-describedby": "tooltip", tabindex: "-1", class: "tw-inline-flex tw-w-fit tw-h-fit" }, h("slot", null)));
110
110
  }
111
111
  get el() { return getElement(this); }
112
112
  };
@@ -10,12 +10,12 @@ import { d as delay } from './utils-57652744.js';
10
10
  import { F as FloatingUI } from './floating-ui-54c1f339.js';
11
11
  import './color-helper-cb1cfc1e.js';
12
12
  import './datetime-helper-df25808a.js';
13
- import { G as Generate } from './generate-b0bd116a.js';
14
- import './number-helper-c6129a13.js';
15
- import './validators-ae61406d.js';
13
+ import { G as Generate } from './generate-e03db45c.js';
14
+ import './number-helper-3c965a72.js';
15
+ import './validators-827e76f0.js';
16
16
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
17
17
  import { c as classnames } from './index-ed9652af.js';
18
- import { T as Tooltip } from './tooltip-helper-8bae18d3.js';
18
+ import { T as Tooltip } from './tooltip-helper-3e7c4148.js';
19
19
  import './_commonjsHelpers-3016b722.js';
20
20
  import './colors-1d7854ea.js';
21
21
 
@@ -34,12 +34,12 @@ const BcmLinked = class {
34
34
  registerInstance(this, hostRef);
35
35
  this.bcmOpen = createEvent(this, "bcm-open", 7);
36
36
  this._id = Generate.UID();
37
- this.placement = Bcm.Placement["bottom-start"];
37
+ this.placement = Bcm.Placement['bottom-start'];
38
38
  this.trigger = Bcm.TriggerType.click;
39
- this.targetId = "";
39
+ this.targetId = '';
40
40
  this.height = undefined;
41
41
  this.maxHeight = undefined;
42
- this.minHeight = "50px";
42
+ this.minHeight = '50px';
43
43
  this.isOpen = false;
44
44
  }
45
45
  target() {
@@ -55,15 +55,15 @@ const BcmLinked = class {
55
55
  }
56
56
  }
57
57
  dismissEvent() {
58
- document.dispatchEvent(new CustomEvent("linked-data-dismiss", { detail: { id: this._id } }));
58
+ document.dispatchEvent(new CustomEvent('linked-data-dismiss', { detail: { id: this._id } }));
59
59
  }
60
60
  checkDataDismiss(e) {
61
- Generate.findEventPathHasAttribute(e, "data-dismiss") && this.dismissEvent();
61
+ Generate.findEventPathHasAttribute(e, 'data-dismiss') && this.dismissEvent();
62
62
  }
63
63
  hideChildLinked() {
64
- this.el.querySelectorAll("[is-linked][linked-is-open]").forEach(item => {
64
+ this.el.querySelectorAll('[is-linked][linked-is-open]').forEach(item => {
65
65
  var _a;
66
- (_a = document.querySelector(`#${item.getAttribute("is-linked")}[is-open]`)) === null || _a === void 0 ? void 0 : _a.hide(false);
66
+ (_a = document.querySelector(`#${item.getAttribute('is-linked')}[is-open]`)) === null || _a === void 0 ? void 0 : _a.hide(false);
67
67
  });
68
68
  }
69
69
  calculatePosition() {
@@ -75,7 +75,7 @@ const BcmLinked = class {
75
75
  floating: el,
76
76
  placement: this.placement,
77
77
  offset: 4,
78
- autoHidden: el.getAttribute("main-linked") === "true" ? false : true,
78
+ autoHidden: el.getAttribute('main-linked') === 'true' ? false : true,
79
79
  autoSize: true,
80
80
  style: {
81
81
  height: this.height,
@@ -85,20 +85,20 @@ const BcmLinked = class {
85
85
  });
86
86
  }
87
87
  else {
88
- el.style.visibility = "hidden";
89
- el.style.opacity = "0";
88
+ el.style.visibility = 'hidden';
89
+ el.style.opacity = '0';
90
90
  }
91
91
  }
92
92
  }
93
93
  init() {
94
94
  const target = this.target();
95
95
  if (target) {
96
- target.setAttribute("is-linked", this.el.id);
97
- if (!Generate.getAncestor(target, "bcm-linked")) {
98
- this.el.setAttribute("main-linked", "true");
96
+ target.setAttribute('is-linked', this.el.id);
97
+ if (!Generate.getAncestor(target, 'bcm-linked')) {
98
+ this.el.setAttribute('main-linked', 'true');
99
99
  }
100
100
  else {
101
- this.el.removeAttribute("main-linked");
101
+ this.el.removeAttribute('main-linked');
102
102
  }
103
103
  }
104
104
  }
@@ -120,7 +120,7 @@ const BcmLinked = class {
120
120
  const target = this.target();
121
121
  if (target) {
122
122
  document.body.appendChild(this.el);
123
- target.setAttribute("linked-is-open", "true");
123
+ target.setAttribute('linked-is-open', 'true');
124
124
  this.isOpen = true;
125
125
  this.calculatePosition();
126
126
  }
@@ -133,7 +133,7 @@ const BcmLinked = class {
133
133
  wait && (await delay(50));
134
134
  const target = this.target();
135
135
  if (target) {
136
- target.removeAttribute("linked-is-open");
136
+ target.removeAttribute('linked-is-open');
137
137
  this.hideChildLinked();
138
138
  this.isOpen = false;
139
139
  }
@@ -147,7 +147,7 @@ const BcmLinked = class {
147
147
  return;
148
148
  const isTarget = Generate.findEventPath(e, this.target());
149
149
  const isSelf = Generate.findEventPath(e, this.el);
150
- const isLinked = Generate.findEventPathWithNodeName(e, "BCM-LINKED");
150
+ const isLinked = Generate.findEventPathWithNodeName(e, 'BCM-LINKED');
151
151
  if (!isTarget && !isSelf && !isLinked) {
152
152
  this.hide();
153
153
  this.bcmOpen.emit(this.isOpen);
@@ -156,7 +156,7 @@ const BcmLinked = class {
156
156
  if (this.isOpen) {
157
157
  isTarget && this.hide(false);
158
158
  isSelf && this.checkDataDismiss(e);
159
- if (this.el.getAttribute("main-linked") === "true" && !isTarget && !isSelf && !isLinked) {
159
+ if (this.el.getAttribute('main-linked') === 'true' && !isTarget && !isSelf && !isLinked) {
160
160
  this.dismissEvent();
161
161
  }
162
162
  }
@@ -177,8 +177,8 @@ const BcmLinked = class {
177
177
  this.bcmOpen.emit(this.isOpen);
178
178
  }
179
179
  render() {
180
- const openStyle = this.isOpen ? { visibility: "visible", opacity: "1" } : { visibility: "hidden", opacity: "0" };
181
- return (h(Host, { class: "tw-invisible tw-absolute tw-top-0 tw-left-0 tw-z-tooltip tw-block tw-overscroll-contain tw-scroll-smooth tw-rounded tw-bg-white tw-opacity-0 tw-shadow tw-transition-opacity tw-duration-100", style: Object.assign(Object.assign({}, openStyle), { overflow: "auto" }) }, h("slot", null)));
180
+ const openStyle = this.isOpen ? { visibility: 'visible', opacity: '1' } : { visibility: 'hidden', opacity: '0' };
181
+ return (h(Host, { class: "tw-block tw-opacity-0 tw-invisible tw-top-0 tw-left-0 tw-rounded tw-bg-white tw-z-tooltip tw-transition-opacity tw-duration-100 tw-shadow tw-overscroll-contain tw-scroll-smooth tw-absolute", style: Object.assign(Object.assign({}, openStyle), { overflow: 'auto' }) }, h("slot", null)));
182
182
  }
183
183
  get el() { return getElement(this); }
184
184
  static get watchers() { return {
@@ -4,13 +4,13 @@
4
4
  */
5
5
  import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-85cce099.js';
6
6
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
7
- import { J as JsonParse } from './json-parse-decarator-012a2b54.js';
7
+ import { J as JsonParse } from './json-parse-decarator-ba60b5d7.js';
8
8
  import './color-helper-cb1cfc1e.js';
9
9
  import './datetime-helper-df25808a.js';
10
- import { s as snq, G as Generate } from './generate-b0bd116a.js';
11
- import { N as NumberHelper } from './number-helper-c6129a13.js';
10
+ import { s as snq, G as Generate } from './generate-e03db45c.js';
11
+ import { N as NumberHelper } from './number-helper-3c965a72.js';
12
12
  import { S as StringHelper } from './string-helper-8793366d.js';
13
- import { V as Validators } from './validators-ae61406d.js';
13
+ import { V as Validators } from './validators-827e76f0.js';
14
14
  import './element-dragger-89bb52fd.js';
15
15
  import { g as getPlacement, s as setPosition } from './popover-placement-0e158c8b.js';
16
16
  import { p as pluralize, d as delay } from './utils-57652744.js';
@@ -21,7 +21,7 @@ import './types-6f06fa1a.js';
21
21
  import { L as LabelTemplate } from './label-template-4f474794.js';
22
22
  import './types-bfc3bba1.js';
23
23
  import { c as createStore } from './index-0f68d8f0.js';
24
- import { T as Tooltip } from './tooltip-helper-8bae18d3.js';
24
+ import { T as Tooltip } from './tooltip-helper-3e7c4148.js';
25
25
  import './colors-1d7854ea.js';
26
26
  import './_commonjsHelpers-3016b722.js';
27
27
  import './slot-template-97e4665e.js';
@@ -7,7 +7,7 @@ import { c as classnames } from './index-ed9652af.js';
7
7
  import { B as Bcm } from './bcm-b8d8a236.js';
8
8
  import { S as StringHelper } from './string-helper-8793366d.js';
9
9
  import { S as SlotTemplate } from './slot-template-97e4665e.js';
10
- import { G as Generate } from './generate-b0bd116a.js';
10
+ import { G as Generate } from './generate-e03db45c.js';
11
11
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
12
12
  import './_commonjsHelpers-3016b722.js';
13
13
 
@@ -6,7 +6,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
6
6
  import { c as classnames } from './index-ed9652af.js';
7
7
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
8
8
  import { C as ColorHelper } from './color-helper-cb1cfc1e.js';
9
- import { G as Generate } from './generate-b0bd116a.js';
9
+ import { G as Generate } from './generate-e03db45c.js';
10
10
  import { S as StringHelper } from './string-helper-8793366d.js';
11
11
  import { s as setPosition } from './popover-placement-0e158c8b.js';
12
12
  import './_commonjsHelpers-3016b722.js';
@@ -5,7 +5,7 @@
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-85cce099.js';
6
6
  import { c as classnames } from './index-ed9652af.js';
7
7
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
8
- import { G as Generate } from './generate-b0bd116a.js';
8
+ import { G as Generate } from './generate-e03db45c.js';
9
9
  import { B as Bcm } from './bcm-b8d8a236.js';
10
10
  import './_commonjsHelpers-3016b722.js';
11
11
 
@@ -6,10 +6,10 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-85
6
6
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
7
7
  import { C as ColorHelper } from './color-helper-cb1cfc1e.js';
8
8
  import './datetime-helper-df25808a.js';
9
- import { G as Generate } from './generate-b0bd116a.js';
10
- import './number-helper-c6129a13.js';
9
+ import { G as Generate } from './generate-e03db45c.js';
10
+ import './number-helper-3c965a72.js';
11
11
  import { S as StringHelper } from './string-helper-8793366d.js';
12
- import './validators-ae61406d.js';
12
+ import './validators-827e76f0.js';
13
13
  import './element-dragger-89bb52fd.js';
14
14
  import { a as Bcm } from './bcm-b8d8a236.js';
15
15
  import { F as FloatingUI } from './floating-ui-54c1f339.js';
@@ -131,12 +131,12 @@ const BcmPopover = class {
131
131
  constructor(hostRef) {
132
132
  registerInstance(this, hostRef);
133
133
  this._id = Generate.UID();
134
- this.message = "";
135
- this.content = "";
134
+ this.message = '';
135
+ this.content = '';
136
136
  this.placement = Bcm.Placement.top;
137
137
  this.trigger = Bcm.TriggerType.click;
138
138
  this.open = false;
139
- this.color = "white";
139
+ this.color = 'white';
140
140
  this.popover = new Popover({
141
141
  targetId: this._id,
142
142
  content: this.content,
@@ -168,7 +168,7 @@ const BcmPopover = class {
168
168
  this.popover.toggle();
169
169
  }
170
170
  render() {
171
- return (h(Host, { "aria-describedby": "popover", tabindex: "-1", class: "tw-inline-flex tw-h-fit tw-w-fit" }, h("slot", null)));
171
+ return (h(Host, { "aria-describedby": "popover", tabindex: "-1", class: "tw-inline-flex tw-w-fit tw-h-fit" }, h("slot", null)));
172
172
  }
173
173
  get el() { return getElement(this); }
174
174
  };
@@ -6,7 +6,7 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-85
6
6
  import { c as classnames } from './index-ed9652af.js';
7
7
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
8
8
  import { C as ColorHelper } from './color-helper-cb1cfc1e.js';
9
- import { G as Generate } from './generate-b0bd116a.js';
9
+ import { G as Generate } from './generate-e03db45c.js';
10
10
  import { B as Bcm } from './bcm-b8d8a236.js';
11
11
  import './_commonjsHelpers-3016b722.js';
12
12
  import './colors-1d7854ea.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-85cce099.js';
6
6
  import { c as classnames } from './index-ed9652af.js';
7
- import { s as snq, G as Generate } from './generate-b0bd116a.js';
7
+ import { s as snq, G as Generate } from './generate-e03db45c.js';
8
8
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
9
9
  import { B as Bcm } from './bcm-b8d8a236.js';
10
10
  import { C as CaptionTemplate } from './caption-template-ced0e2ef.js';
@@ -6,7 +6,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
6
6
  import { c as classnames } from './index-ed9652af.js';
7
7
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
8
8
  import { C as ColorHelper } from './color-helper-cb1cfc1e.js';
9
- import { G as Generate } from './generate-b0bd116a.js';
9
+ import { G as Generate } from './generate-e03db45c.js';
10
10
  import { B as Bcm } from './bcm-b8d8a236.js';
11
11
  import { S as SlotTemplate } from './slot-template-97e4665e.js';
12
12
  import './_commonjsHelpers-3016b722.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-85cce099.js';
6
6
  import { c as classnames } from './index-ed9652af.js';
7
- import { G as Generate } from './generate-b0bd116a.js';
7
+ import { G as Generate } from './generate-e03db45c.js';
8
8
  import { B as Bcm } from './bcm-b8d8a236.js';
9
9
  import { d as delay } from './utils-57652744.js';
10
10
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
@@ -4,9 +4,9 @@
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-85cce099.js';
6
6
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
7
- import { s as snq, G as Generate } from './generate-b0bd116a.js';
7
+ import { s as snq, G as Generate } from './generate-e03db45c.js';
8
8
  import { B as Bcm } from './bcm-b8d8a236.js';
9
- import { I as InputTemplate } from './input-template-46ef248f.js';
9
+ import { I as InputTemplate } from './input-template-3e2dfbe2.js';
10
10
  import { d as delay } from './utils-57652744.js';
11
11
  import { c as createStore } from './index-0f68d8f0.js';
12
12
  import { S as StringHelper } from './string-helper-8793366d.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { r as registerInstance, h, g as getElement } from './index-85cce099.js';
6
6
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
7
- import { G as Generate } from './generate-b0bd116a.js';
7
+ import { G as Generate } from './generate-e03db45c.js';
8
8
 
9
9
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
10
10
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -26,9 +26,9 @@ const BcmSkeleton = class {
26
26
  var _a;
27
27
  const parentElement = (_a = this.el) === null || _a === void 0 ? void 0 : _a.parentElement;
28
28
  if (parentElement) {
29
- const hidden = document.createElement("span");
30
- hidden.setAttribute("id", `${this._id}-span`);
31
- hidden.classList.add("tw-hidden");
29
+ const hidden = document.createElement('span');
30
+ hidden.setAttribute('id', `${this._id}-span`);
31
+ hidden.classList.add('tw-hidden');
32
32
  hidden.innerHTML = `<slot />`;
33
33
  parentElement.appendChild(hidden);
34
34
  if (parentElement.isConnected) {
@@ -39,9 +39,9 @@ const BcmSkeleton = class {
39
39
  }
40
40
  render() {
41
41
  const SkeletonAnimate = () => {
42
- return (h("div", { class: "tw-mx-auto tw-w-full tw-max-w-sm tw-rounded-md tw-border tw-border-blue-300 tw-p-4 tw-shadow" }, h("span", { class: "tw-hidden" }, h("slot", null)), h("div", { class: "tw-flex tw-animate-pulse tw-space-x-4" }, h("div", { class: "tw-h-10 tw-w-10 tw-rounded-full tw-bg-slate-200" }), h("div", { class: "tw-flex-1 tw-space-y-6 tw-py-1" }, h("div", { class: "tw-h-2 tw-rounded tw-bg-slate-200" }), h("div", { class: "tw-space-y-3" }, h("div", { class: "tw-grid tw-grid-cols-3 tw-gap-4" }, h("div", { class: "tw-col-span-2 tw-h-2 tw-rounded tw-bg-slate-200" }), h("div", { class: "tw-col-span-1 tw-h-2 tw-rounded tw-bg-slate-200" })), h("div", { class: "tw-h-2 tw-rounded tw-bg-slate-200" }))))));
42
+ return (h("div", { class: "tw-border tw-border-blue-300 tw-shadow tw-rounded-md tw-p-4 tw-max-w-sm tw-w-full tw-mx-auto" }, h("span", { class: "tw-hidden" }, h("slot", null)), h("div", { class: "tw-animate-pulse tw-flex tw-space-x-4" }, h("div", { class: "tw-rounded-full tw-bg-slate-200 tw-h-10 tw-w-10" }), h("div", { class: "tw-flex-1 tw-space-y-6 tw-py-1" }, h("div", { class: "tw-h-2 tw-bg-slate-200 tw-rounded" }), h("div", { class: "tw-space-y-3" }, h("div", { class: "tw-grid tw-grid-cols-3 tw-gap-4" }, h("div", { class: "tw-h-2 tw-bg-slate-200 tw-rounded tw-col-span-2" }), h("div", { class: "tw-h-2 tw-bg-slate-200 tw-rounded tw-col-span-1" })), h("div", { class: "tw-h-2 tw-bg-slate-200 tw-rounded" }))))));
43
43
  };
44
- return this.loading ? h(SkeletonAnimate, null) : h("slot", null);
44
+ return (this.loading ? h(SkeletonAnimate, null) : h("slot", null));
45
45
  }
46
46
  get el() { return getElement(this); }
47
47
  };
@@ -5,8 +5,8 @@
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-85cce099.js';
6
6
  import { c as classnames } from './index-ed9652af.js';
7
7
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
8
- import { G as Generate } from './generate-b0bd116a.js';
9
- import { s as stepperStates } from './stepper-states-4e165709.js';
8
+ import { G as Generate } from './generate-e03db45c.js';
9
+ import { s as stepperStates } from './stepper-states-0837281e.js';
10
10
  import './_commonjsHelpers-3016b722.js';
11
11
  import './index-0f68d8f0.js';
12
12
 
@@ -4,11 +4,11 @@
4
4
  */
5
5
  import { h, r as registerInstance, c as createEvent, f as forceUpdate, H as Host, g as getElement } from './index-85cce099.js';
6
6
  import { c as classnames } from './index-ed9652af.js';
7
- import { G as Generate, s as snq } from './generate-b0bd116a.js';
7
+ import { G as Generate, s as snq } from './generate-e03db45c.js';
8
8
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
9
9
  import { B as Bcm } from './bcm-b8d8a236.js';
10
10
  import { g as getChildElements } from './utils-57652744.js';
11
- import { s as stepperStates } from './stepper-states-4e165709.js';
11
+ import { s as stepperStates } from './stepper-states-0837281e.js';
12
12
  import './_commonjsHelpers-3016b722.js';
13
13
  import './index-0f68d8f0.js';
14
14
 
@@ -5,7 +5,7 @@
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-85cce099.js';
6
6
  import { c as classnames } from './index-ed9652af.js';
7
7
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
8
- import { G as Generate } from './generate-b0bd116a.js';
8
+ import { G as Generate } from './generate-e03db45c.js';
9
9
  import { B as Bcm } from './bcm-b8d8a236.js';
10
10
  import { C as CaptionTemplate } from './caption-template-ced0e2ef.js';
11
11
  import { d as delay } from './utils-57652744.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-85cce099.js';
6
6
  import { I as IsLoad } from './is-load-decorator-87c09179.js';
7
- import { G as Generate, s as snq } from './generate-b0bd116a.js';
7
+ import { G as Generate, s as snq } from './generate-e03db45c.js';
8
8
  import { c as classnames } from './index-ed9652af.js';
9
9
  import { B as Bcm } from './bcm-b8d8a236.js';
10
10
  import './_commonjsHelpers-3016b722.js';
@@ -34,50 +34,50 @@ const BcmTabGroup = class {
34
34
  if ((_a = this.tabItems()) === null || _a === void 0 ? void 0 : _a.length) {
35
35
  this.headerItems = [];
36
36
  this.tabItems().forEach((tab, index) => {
37
- let itemActive = tab.hasAttribute("active") ? true : false;
38
- let itemDisabled = tab.hasAttribute("disabled") ? true : false;
37
+ let itemActive = tab.hasAttribute('active') ? true : false;
38
+ let itemDisabled = tab.hasAttribute('disabled') ? true : false;
39
39
  let itemIndex = index + 1;
40
- tab.setAttribute("index", `${itemIndex}`);
41
- tab.classList.add("tw-w-full");
40
+ tab.setAttribute('index', `${itemIndex}`);
41
+ tab.classList.add('tw-w-full');
42
42
  let header = {
43
- slot: "header",
44
- content: "",
43
+ slot: 'header',
44
+ content: '',
45
45
  active: itemActive,
46
46
  disabled: itemDisabled,
47
- index: itemIndex,
47
+ index: itemIndex
48
48
  };
49
- const headerItemHeader = tab.querySelector("bcm-tab-item-header");
49
+ const headerItemHeader = tab.querySelector('bcm-tab-item-header');
50
50
  if (headerItemHeader) {
51
51
  header.content = headerItemHeader.innerHTML;
52
- headerItemHeader.classList.add("tw-hidden");
52
+ headerItemHeader.classList.add('tw-hidden');
53
53
  }
54
54
  else {
55
- header.content = tab.getAttribute("label") || `Tab ${itemIndex}`;
55
+ header.content = tab.getAttribute('label') || `Tab ${itemIndex}`;
56
56
  }
57
57
  if (itemActive) {
58
- tab.setAttribute("active", "");
59
- tab.classList.add("tw-block");
60
- tab.classList.remove("tw-hidden");
58
+ tab.setAttribute('active', '');
59
+ tab.classList.add('tw-block');
60
+ tab.classList.remove('tw-hidden');
61
61
  this.active = itemIndex.toString();
62
62
  }
63
63
  else {
64
- tab.removeAttribute("active");
65
- tab.classList.remove("tw-block");
66
- tab.classList.add("tw-hidden");
64
+ tab.removeAttribute('active');
65
+ tab.classList.remove('tw-block');
66
+ tab.classList.add('tw-hidden');
67
67
  }
68
68
  this.headerItems.push(header);
69
69
  });
70
70
  const isHasActiveTab = this.headerItems.some(tab => tab.active);
71
71
  if (!isHasActiveTab) {
72
72
  this.headerItems[0].active = true;
73
- this.tabItems()[0].setAttribute("active", "");
74
- this.tabItems()[0].classList.add("tw-block");
75
- this.tabItems()[0].classList.remove("tw-hidden");
73
+ this.tabItems()[0].setAttribute('active', '');
74
+ this.tabItems()[0].classList.add('tw-block');
75
+ this.tabItems()[0].classList.remove('tw-hidden');
76
76
  }
77
77
  }
78
78
  }
79
79
  tabItems() {
80
- return snq(() => this.el.querySelectorAll("bcm-tab-item"), []);
80
+ return snq(() => this.el.querySelectorAll('bcm-tab-item'), []);
81
81
  }
82
82
  handleTabClick(index) {
83
83
  this.headerItems.forEach(tab => {
@@ -85,19 +85,19 @@ const BcmTabGroup = class {
85
85
  });
86
86
  this.headerItems[index - 1].active = true;
87
87
  this.active = index.toString();
88
- const tabItems = this.el.querySelectorAll("bcm-tab-item");
88
+ const tabItems = this.el.querySelectorAll('bcm-tab-item');
89
89
  if (tabItems) {
90
90
  tabItems.forEach(tab => {
91
- const tabIndex = tab.getAttribute("index");
91
+ const tabIndex = tab.getAttribute('index');
92
92
  if (tabIndex == this.active) {
93
- tab.setAttribute("active", "");
94
- tab.classList.add("tw-block");
95
- tab.classList.remove("tw-hidden");
93
+ tab.setAttribute('active', '');
94
+ tab.classList.add('tw-block');
95
+ tab.classList.remove('tw-hidden');
96
96
  }
97
97
  else {
98
- tab.removeAttribute("active");
99
- tab.classList.remove("tw-block");
100
- tab.classList.add("tw-hidden");
98
+ tab.removeAttribute('active');
99
+ tab.classList.remove('tw-block');
100
+ tab.classList.add('tw-hidden');
101
101
  }
102
102
  });
103
103
  }
@@ -114,14 +114,14 @@ const BcmTabGroup = class {
114
114
  }
115
115
  }
116
116
  inkBarControl() {
117
- const inkBar = this.el.querySelector("#ink-bar");
117
+ const inkBar = this.el.querySelector('#ink-bar');
118
118
  if (inkBar) {
119
- const tabHeaderItems = this.el.querySelectorAll("bcm-tab-item-header");
119
+ const tabHeaderItems = this.el.querySelectorAll('bcm-tab-item-header');
120
120
  if (tabHeaderItems) {
121
121
  tabHeaderItems.forEach((tab) => {
122
- const tabIndex = tab.getAttribute("index");
122
+ const tabIndex = tab.getAttribute('index');
123
123
  if (tabIndex == this.active) {
124
- inkBar.style.width = tab.offsetWidth + "px";
124
+ inkBar.style.width = tab.offsetWidth + 'px';
125
125
  // inkBar.style.top = tab.offsetHeight + 'px';
126
126
  inkBar.style.transform = `translateX(${tab.offsetLeft}px)`;
127
127
  }
@@ -134,30 +134,30 @@ const BcmTabGroup = class {
134
134
  let fontSize, padding, gap;
135
135
  switch (size) {
136
136
  case Bcm.Size.small:
137
- fontSize = "2";
138
- padding = "1";
139
- gap = "2";
137
+ fontSize = '2';
138
+ padding = '1';
139
+ gap = '2';
140
140
  break;
141
141
  case Bcm.Size.medium:
142
- fontSize = "3";
143
- padding = "2";
144
- gap = "3";
142
+ fontSize = '3';
143
+ padding = '2';
144
+ gap = '3';
145
145
  break;
146
146
  case Bcm.Size.large:
147
- fontSize = "4";
148
- padding = "3";
149
- gap = "4";
147
+ fontSize = '4';
148
+ padding = '3';
149
+ gap = '4';
150
150
  break;
151
151
  default:
152
- fontSize = "3";
153
- padding = "2";
154
- gap = "3";
152
+ fontSize = '3';
153
+ padding = '2';
154
+ gap = '3';
155
155
  break;
156
156
  }
157
157
  const disabledClass = "tw-cursor-not-allowed tw-text-gray-400 tw-opacity-50";
158
- return (h(Host, { class: "tw-flex tw-w-full tw-flex-col tw-items-center tw-font-sans" }, h("div", { class: `tw-flex tw-w-full tw-flex-row tw-items-end tw-justify-between tw-mb-${padding} tw-relative` }, this.headerItems.map(item => (h("bcm-tab-item-header", { tabIndex: "1", class: classnames(`tw-text-${fontSize} tw-py-${padding} tw-flex tw-flex-1 tw-items-center tw-justify-center tw-border-b-[2px] tw-border-b-slate-300 tw-transition-all tw-gap-${gap} tw-focus:outline-none`, item.disabled ? disabledClass : "tw-cursor-pointer", item.active
158
+ return (h(Host, { class: "tw-font-sans tw-w-full tw-flex tw-flex-col tw-items-center" }, h("div", { class: `tw-w-full tw-flex tw-flex-row tw-items-end tw-justify-between tw-mb-${padding} tw-relative` }, this.headerItems.map(item => (h("bcm-tab-item-header", { tabIndex: "1", class: classnames(`tw-text-${fontSize} tw-py-${padding} tw-transition-all tw-flex-1 tw-flex tw-items-center tw-justify-center tw-border-b-[2px] tw-border-b-slate-300 tw-gap-${gap} tw-focus:outline-none`, item.disabled ? disabledClass : 'tw-cursor-pointer', item.active
159
159
  ? `tw-text-${color}-500 enabled:hover:tw-text-${color}-600 enabled:active:tw-text-${color}-700 enabled:focus-visible:tw-text-${color}-800`
160
- : "tw-text-slate-400 enabled:hover:tw-text-slate-500 enabled:focus-visible:tw-text-slate-700 enabled:active:tw-text-slate-600"), active: item.active, disabled: item.disabled, index: item.index, innerHTML: item.content, onClick: () => !item.disabled && this.handleTabClick(item.index) }))), h("div", { id: "ink-bar", class: `tw-bg-${color}-500 tw-absolute tw-bottom-0 tw-left-0 tw-mt-[-2px] tw-h-[2px] tw-rounded-sm tw-transition-transform` })), h("slot", null)));
160
+ : "tw-text-slate-400 enabled:hover:tw-text-slate-500 enabled:active:tw-text-slate-600 enabled:focus-visible:tw-text-slate-700"), active: item.active, disabled: item.disabled, index: item.index, innerHTML: item.content, onClick: () => !item.disabled && this.handleTabClick(item.index) }))), h("div", { id: "ink-bar", class: `tw-bg-${color}-500 tw-h-[2px] tw-rounded-sm tw-mt-[-2px] tw-absolute tw-bottom-0 tw-left-0 tw-transition-transform` })), h("slot", null)));
161
161
  }
162
162
  get el() { return getElement(this); }
163
163
  };