@3t-transform/threeteeui 1.9.64 → 1.9.66

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 (283) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/{tttx-action-dropdown_1_9_64.cjs.entry.js → tttx-action-dropdown_1_9_66.cjs.entry.js} +2 -2
  3. package/dist/cjs/tttx-button-v2_1_9_66.cjs.entry.js +144 -0
  4. package/dist/cjs/{tttx-button_1_9_64.cjs.entry.js → tttx-button_1_9_66.cjs.entry.js} +2 -2
  5. package/dist/cjs/{tttx-chart_1_9_64.cjs.entry.js → tttx-chart_1_9_66.cjs.entry.js} +3 -3
  6. package/dist/cjs/{tttx-checkbox-group-caption_1_9_64.cjs.entry.js → tttx-checkbox-group-caption_1_9_66.cjs.entry.js} +1 -1
  7. package/dist/cjs/{tttx-checkbox-group-heading_1_9_64.cjs.entry.js → tttx-checkbox-group-heading_1_9_66.cjs.entry.js} +1 -1
  8. package/dist/cjs/{tttx-checkbox-group_1_9_64.cjs.entry.js → tttx-checkbox-group_1_9_66.cjs.entry.js} +1 -1
  9. package/dist/cjs/{tttx-checkbox_1_9_64.cjs.entry.js → tttx-checkbox_1_9_66.cjs.entry.js} +2 -2
  10. package/dist/cjs/{tttx-comments_1_9_64.cjs.entry.js → tttx-comments_1_9_66.cjs.entry.js} +4 -4
  11. package/dist/cjs/{tttx-data-pattern_1_9_64.cjs.entry.js → tttx-data-pattern_1_9_66.cjs.entry.js} +5 -5
  12. package/dist/cjs/{tttx-datacard_1_9_64.cjs.entry.js → tttx-datacard_1_9_66.cjs.entry.js} +4 -4
  13. package/dist/cjs/tttx-date-range-picker.cjs.entry.js +1 -1
  14. package/dist/cjs/{tttx-dialog-box_1_9_64.cjs.entry.js → tttx-dialog-box_1_9_66.cjs.entry.js} +3 -3
  15. package/dist/cjs/{tttx-dialog_1_9_64.cjs.entry.js → tttx-dialog_1_9_66.cjs.entry.js} +2 -2
  16. package/dist/cjs/{tttx-expander_1_9_64.cjs.entry.js → tttx-expander_1_9_66.cjs.entry.js} +2 -2
  17. package/dist/cjs/{tttx-filter_1_9_64_4.cjs.entry.js → tttx-filter_1_9_66_4.cjs.entry.js} +9 -9
  18. package/dist/cjs/{tttx-form_1_9_64.cjs.entry.js → tttx-form_1_9_66.cjs.entry.js} +2 -2
  19. package/dist/cjs/{tttx-graph_1_9_64.cjs.entry.js → tttx-graph_1_9_66.cjs.entry.js} +1 -1
  20. package/dist/cjs/{tttx-icon_1_9_64.cjs.entry.js → tttx-icon_1_9_66.cjs.entry.js} +1 -1
  21. package/dist/cjs/{tttx-keyvalue-block_1_9_64.cjs.entry.js → tttx-keyvalue-block_1_9_66.cjs.entry.js} +1 -1
  22. package/dist/cjs/{tttx-loading-spinner_1_9_64_3.cjs.entry.js → tttx-loading-spinner_1_9_66_3.cjs.entry.js} +6 -6
  23. package/dist/cjs/{tttx-multiselect-box_1_9_64.cjs.entry.js → tttx-multiselect-box_1_9_66.cjs.entry.js} +7 -7
  24. package/dist/cjs/{tttx-percentage-bar_1_9_64.cjs.entry.js → tttx-percentage-bar_1_9_66.cjs.entry.js} +2 -2
  25. package/dist/cjs/{tttx-qrcode_1_9_64.cjs.entry.js → tttx-qrcode_1_9_66.cjs.entry.js} +1 -1
  26. package/dist/cjs/{tttx-select-box_1_9_64.cjs.entry.js → tttx-select-box_1_9_66.cjs.entry.js} +6 -6
  27. package/dist/cjs/{tttx-skeleton_loader_1_9_64.cjs.entry.js → tttx-skeleton_loader_1_9_66.cjs.entry.js} +1 -1
  28. package/dist/cjs/{tttx-table_1_9_64.cjs.entry.js → tttx-table_1_9_66.cjs.entry.js} +1 -1
  29. package/dist/cjs/{tttx-tabs_1_9_64.cjs.entry.js → tttx-tabs_1_9_66.cjs.entry.js} +4 -4
  30. package/dist/cjs/{tttx-textarea_1_9_64.cjs.entry.js → tttx-textarea_1_9_66.cjs.entry.js} +2 -2
  31. package/dist/cjs/{tttx-toggle_1_9_64.cjs.entry.js → tttx-toggle_1_9_66.cjs.entry.js} +1 -1
  32. package/dist/cjs/{tttx-tree-view_1_9_64.cjs.entry.js → tttx-tree-view_1_9_66.cjs.entry.js} +3 -3
  33. package/dist/cjs/tttx.cjs.js +1 -1
  34. package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
  35. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
  36. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.css +39 -3
  37. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +28 -4
  38. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.stories.js +37 -13
  39. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
  40. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
  41. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
  42. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
  43. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
  44. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
  45. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
  46. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
  47. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
  48. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +2 -2
  49. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
  50. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
  51. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
  52. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
  53. package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +1 -1
  54. package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
  55. package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
  56. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
  57. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
  58. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
  59. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
  60. package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +3 -3
  61. package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +4 -4
  62. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
  63. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
  64. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
  65. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
  66. package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +4 -4
  67. package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
  68. package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
  69. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
  70. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
  71. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
  72. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
  73. package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
  74. package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
  75. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
  76. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
  77. package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
  78. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
  79. package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
  80. package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
  81. package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
  82. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
  83. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
  84. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
  85. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
  86. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
  87. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
  88. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
  89. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
  90. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
  91. package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
  92. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
  93. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
  94. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
  95. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
  96. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
  97. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
  98. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
  99. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
  100. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +1 -1
  101. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
  102. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
  103. package/dist/components/index.d.ts +35 -35
  104. package/dist/components/index.js +35 -35
  105. package/dist/components/tttx-action-dropdown_1_9_66.d.ts +11 -0
  106. package/dist/components/{tttx-action-dropdown_1_9_64.js → tttx-action-dropdown_1_9_66.js} +7 -7
  107. package/dist/components/{tttx-checkbox_1_9_64.d.ts → tttx-button-v2_1_9_66.d.ts} +4 -4
  108. package/dist/components/tttx-button-v2_1_9_66.js +180 -0
  109. package/dist/components/tttx-button.js +5 -5
  110. package/dist/components/{tttx-dialog_1_9_64.d.ts → tttx-button_1_9_66.d.ts} +4 -4
  111. package/dist/components/{tttx-button_1_9_64.js → tttx-button_1_9_66.js} +2 -2
  112. package/dist/components/{tttx-table_1_9_64.d.ts → tttx-chart_1_9_66.d.ts} +4 -4
  113. package/dist/components/{tttx-chart_1_9_64.js → tttx-chart_1_9_66.js} +10 -10
  114. package/dist/components/tttx-checkbox-group-caption_1_9_66.d.ts +11 -0
  115. package/dist/components/{tttx-checkbox-group-caption_1_9_64.js → tttx-checkbox-group-caption_1_9_66.js} +5 -5
  116. package/dist/components/tttx-checkbox-group-heading_1_9_66.d.ts +11 -0
  117. package/dist/components/{tttx-checkbox-group-heading_1_9_64.js → tttx-checkbox-group-heading_1_9_66.js} +5 -5
  118. package/dist/components/tttx-checkbox-group_1_9_66.d.ts +11 -0
  119. package/dist/components/{tttx-checkbox-group_1_9_64.js → tttx-checkbox-group_1_9_66.js} +5 -5
  120. package/dist/components/{tttx-button-v2_1_9_64.d.ts → tttx-checkbox_1_9_66.d.ts} +4 -4
  121. package/dist/components/{tttx-checkbox_1_9_64.js → tttx-checkbox_1_9_66.js} +7 -7
  122. package/dist/components/tttx-comments_1_9_66.d.ts +11 -0
  123. package/dist/components/{tttx-comments_1_9_64.js → tttx-comments_1_9_66.js} +9 -9
  124. package/dist/components/tttx-data-pattern_1_9_66.d.ts +11 -0
  125. package/dist/components/{tttx-data-pattern_1_9_64.js → tttx-data-pattern_1_9_66.js} +16 -16
  126. package/dist/components/tttx-datacard_1_9_66.d.ts +11 -0
  127. package/dist/components/{tttx-datacard_1_9_64.js → tttx-datacard_1_9_66.js} +10 -10
  128. package/dist/components/tttx-date-range-picker.js +3 -3
  129. package/dist/components/tttx-dialog-box_1_9_66.d.ts +11 -0
  130. package/dist/components/{tttx-dialog-box_1_9_64.js → tttx-dialog-box_1_9_66.js} +9 -9
  131. package/dist/components/{tttx-filter_1_9_64.d.ts → tttx-dialog_1_9_66.d.ts} +4 -4
  132. package/dist/components/{tttx-dialog_1_9_64.js → tttx-dialog_1_9_66.js} +8 -8
  133. package/dist/components/tttx-expander_1_9_66.d.ts +11 -0
  134. package/dist/components/{tttx-expander_1_9_64.js → tttx-expander_1_9_66.js} +7 -7
  135. package/dist/components/tttx-filter.js +6 -6
  136. package/dist/components/{tttx-button_1_9_64.d.ts → tttx-filter_1_9_66.d.ts} +4 -4
  137. package/dist/components/{tttx-filter_1_9_64.js → tttx-filter_1_9_66.js} +2 -2
  138. package/dist/components/{tttx-form_1_9_64.d.ts → tttx-form_1_9_66.d.ts} +4 -4
  139. package/dist/components/{tttx-form_1_9_64.js → tttx-form_1_9_66.js} +11 -11
  140. package/dist/components/tttx-graph.js +3 -3
  141. package/dist/components/{tttx-graph_1_9_64.d.ts → tttx-graph_1_9_66.d.ts} +4 -4
  142. package/dist/components/{tttx-graph_1_9_64.js → tttx-graph_1_9_66.js} +2 -2
  143. package/dist/components/tttx-icon.js +3 -3
  144. package/dist/components/{tttx-list_1_9_64.d.ts → tttx-icon_1_9_66.d.ts} +4 -4
  145. package/dist/components/{tttx-icon_1_9_64.js → tttx-icon_1_9_66.js} +2 -2
  146. package/dist/components/tttx-keyvalue-block_1_9_66.d.ts +11 -0
  147. package/dist/components/{tttx-keyvalue-block_1_9_64.js → tttx-keyvalue-block_1_9_66.js} +5 -5
  148. package/dist/components/tttx-list.js +6 -6
  149. package/dist/components/{tttx-icon_1_9_64.d.ts → tttx-list_1_9_66.d.ts} +4 -4
  150. package/dist/components/{tttx-list_1_9_64.js → tttx-list_1_9_66.js} +2 -2
  151. package/dist/components/tttx-loading-spinner.js +3 -3
  152. package/dist/components/tttx-loading-spinner_1_9_66.d.ts +11 -0
  153. package/dist/components/{tttx-loading-spinner_1_9_64.js → tttx-loading-spinner_1_9_66.js} +2 -2
  154. package/dist/components/tttx-multiselect-box_1_9_66.d.ts +11 -0
  155. package/dist/components/{tttx-multiselect-box_1_9_64.js → tttx-multiselect-box_1_9_66.js} +16 -16
  156. package/dist/components/tttx-percentage-bar_1_9_66.d.ts +11 -0
  157. package/dist/components/{tttx-percentage-bar_1_9_64.js → tttx-percentage-bar_1_9_66.js} +6 -6
  158. package/dist/components/{tttx-qrcode_1_9_64.d.ts → tttx-qrcode_1_9_66.d.ts} +4 -4
  159. package/dist/components/{tttx-qrcode_1_9_64.js → tttx-qrcode_1_9_66.js} +5 -5
  160. package/dist/components/tttx-select-box.js +12 -12
  161. package/dist/components/tttx-select-box_1_9_66.d.ts +11 -0
  162. package/dist/components/{tttx-select-box_1_9_64.js → tttx-select-box_1_9_66.js} +2 -2
  163. package/dist/components/tttx-skeleton_loader_1_9_66.d.ts +11 -0
  164. package/dist/components/{tttx-skeleton_loader_1_9_64.js → tttx-skeleton_loader_1_9_66.js} +5 -5
  165. package/dist/components/tttx-sorter.js +5 -5
  166. package/dist/components/tttx-sorter_1_9_66.d.ts +11 -0
  167. package/dist/components/{tttx-sorter_1_9_64.js → tttx-sorter_1_9_66.js} +2 -2
  168. package/dist/components/tttx-standalone-input.js +6 -6
  169. package/dist/components/tttx-standalone-input_1_9_66.d.ts +11 -0
  170. package/dist/components/{tttx-standalone-input_1_9_64.js → tttx-standalone-input_1_9_66.js} +2 -2
  171. package/dist/components/{tttx-chart_1_9_64.d.ts → tttx-table_1_9_66.d.ts} +4 -4
  172. package/dist/components/{tttx-table_1_9_64.js → tttx-table_1_9_66.js} +5 -5
  173. package/dist/components/{tttx-tabs_1_9_64.d.ts → tttx-tabs_1_9_66.d.ts} +4 -4
  174. package/dist/components/{tttx-tabs_1_9_64.js → tttx-tabs_1_9_66.js} +9 -9
  175. package/dist/components/tttx-tag.js +5 -5
  176. package/dist/components/{tttx-tag_1_9_64.d.ts → tttx-tag_1_9_66.d.ts} +4 -4
  177. package/dist/components/{tttx-tag_1_9_64.js → tttx-tag_1_9_66.js} +2 -2
  178. package/dist/components/tttx-textarea_1_9_66.d.ts +11 -0
  179. package/dist/components/{tttx-textarea_1_9_64.js → tttx-textarea_1_9_66.js} +6 -6
  180. package/dist/components/tttx-toggle_1_9_66.d.ts +11 -0
  181. package/dist/components/{tttx-toggle_1_9_64.js → tttx-toggle_1_9_66.js} +5 -5
  182. package/dist/components/tttx-toolbar.js +3 -3
  183. package/dist/components/tttx-toolbar_1_9_66.d.ts +11 -0
  184. package/dist/components/{tttx-toolbar_1_9_64.js → tttx-toolbar_1_9_66.js} +2 -2
  185. package/dist/components/tttx-tree-view_1_9_66.d.ts +11 -0
  186. package/dist/components/{tttx-tree-view_1_9_64.js → tttx-tree-view_1_9_66.js} +9 -9
  187. package/dist/esm/loader.js +1 -1
  188. package/dist/esm/{tttx-action-dropdown_1_9_64.entry.js → tttx-action-dropdown_1_9_66.entry.js} +2 -2
  189. package/dist/esm/tttx-button-v2_1_9_66.entry.js +140 -0
  190. package/dist/esm/{tttx-button_1_9_64.entry.js → tttx-button_1_9_66.entry.js} +2 -2
  191. package/dist/esm/{tttx-chart_1_9_64.entry.js → tttx-chart_1_9_66.entry.js} +3 -3
  192. package/dist/esm/{tttx-checkbox-group-caption_1_9_64.entry.js → tttx-checkbox-group-caption_1_9_66.entry.js} +1 -1
  193. package/dist/esm/{tttx-checkbox-group-heading_1_9_64.entry.js → tttx-checkbox-group-heading_1_9_66.entry.js} +1 -1
  194. package/dist/esm/{tttx-checkbox-group_1_9_64.entry.js → tttx-checkbox-group_1_9_66.entry.js} +1 -1
  195. package/dist/esm/{tttx-checkbox_1_9_64.entry.js → tttx-checkbox_1_9_66.entry.js} +2 -2
  196. package/dist/esm/{tttx-comments_1_9_64.entry.js → tttx-comments_1_9_66.entry.js} +4 -4
  197. package/dist/esm/{tttx-data-pattern_1_9_64.entry.js → tttx-data-pattern_1_9_66.entry.js} +5 -5
  198. package/dist/esm/{tttx-datacard_1_9_64.entry.js → tttx-datacard_1_9_66.entry.js} +4 -4
  199. package/dist/esm/tttx-date-range-picker.entry.js +1 -1
  200. package/dist/esm/{tttx-dialog-box_1_9_64.entry.js → tttx-dialog-box_1_9_66.entry.js} +3 -3
  201. package/dist/esm/{tttx-dialog_1_9_64.entry.js → tttx-dialog_1_9_66.entry.js} +2 -2
  202. package/dist/esm/{tttx-expander_1_9_64.entry.js → tttx-expander_1_9_66.entry.js} +2 -2
  203. package/dist/esm/{tttx-filter_1_9_64_4.entry.js → tttx-filter_1_9_66_4.entry.js} +6 -6
  204. package/dist/esm/{tttx-form_1_9_64.entry.js → tttx-form_1_9_66.entry.js} +2 -2
  205. package/dist/esm/{tttx-graph_1_9_64.entry.js → tttx-graph_1_9_66.entry.js} +1 -1
  206. package/dist/esm/{tttx-icon_1_9_64.entry.js → tttx-icon_1_9_66.entry.js} +1 -1
  207. package/dist/esm/{tttx-keyvalue-block_1_9_64.entry.js → tttx-keyvalue-block_1_9_66.entry.js} +1 -1
  208. package/dist/esm/{tttx-loading-spinner_1_9_64_3.entry.js → tttx-loading-spinner_1_9_66_3.entry.js} +4 -4
  209. package/dist/esm/{tttx-multiselect-box_1_9_64.entry.js → tttx-multiselect-box_1_9_66.entry.js} +7 -7
  210. package/dist/esm/{tttx-percentage-bar_1_9_64.entry.js → tttx-percentage-bar_1_9_66.entry.js} +2 -2
  211. package/dist/esm/{tttx-qrcode_1_9_64.entry.js → tttx-qrcode_1_9_66.entry.js} +1 -1
  212. package/dist/esm/{tttx-select-box_1_9_64.entry.js → tttx-select-box_1_9_66.entry.js} +6 -6
  213. package/dist/esm/{tttx-skeleton_loader_1_9_64.entry.js → tttx-skeleton_loader_1_9_66.entry.js} +1 -1
  214. package/dist/esm/{tttx-table_1_9_64.entry.js → tttx-table_1_9_66.entry.js} +1 -1
  215. package/dist/esm/{tttx-tabs_1_9_64.entry.js → tttx-tabs_1_9_66.entry.js} +4 -4
  216. package/dist/esm/{tttx-textarea_1_9_64.entry.js → tttx-textarea_1_9_66.entry.js} +2 -2
  217. package/dist/esm/{tttx-toggle_1_9_64.entry.js → tttx-toggle_1_9_66.entry.js} +1 -1
  218. package/dist/esm/{tttx-tree-view_1_9_64.entry.js → tttx-tree-view_1_9_66.entry.js} +3 -3
  219. package/dist/esm/tttx.js +1 -1
  220. package/dist/tttx/p-04acb4f7.entry.js +1 -1
  221. package/dist/tttx/p-1b8af0a1.entry.js +1 -1
  222. package/dist/tttx/p-210a3640.entry.js +1 -1
  223. package/dist/tttx/p-28528c3a.entry.js +1 -1
  224. package/dist/tttx/p-28902955.entry.js +1 -1
  225. package/dist/tttx/p-2a6e57b3.entry.js +1 -1
  226. package/dist/tttx/p-46853736.entry.js +1 -1
  227. package/dist/tttx/p-46933761.entry.js +1 -1
  228. package/dist/tttx/p-46985553.entry.js +1 -1
  229. package/dist/tttx/p-478169f8.entry.js +1 -1
  230. package/dist/tttx/p-4bc84dcf.entry.js +1 -1
  231. package/dist/tttx/p-4e8dee24.entry.js +1 -1
  232. package/dist/tttx/p-540a4b92.entry.js +1 -0
  233. package/dist/tttx/p-655cebb7.entry.js +1 -1
  234. package/dist/tttx/p-6ae828ed.entry.js +1 -1
  235. package/dist/tttx/p-72aa3209.entry.js +1 -1
  236. package/dist/tttx/p-753a802a.entry.js +1 -1
  237. package/dist/tttx/p-79a18842.entry.js +1 -1
  238. package/dist/tttx/p-8db27f20.entry.js +1 -1
  239. package/dist/tttx/p-92b48e8e.entry.js +1 -1
  240. package/dist/tttx/p-95ea704b.entry.js +1 -1
  241. package/dist/tttx/p-964b5e1a.entry.js +1 -1
  242. package/dist/tttx/p-99cee169.entry.js +1 -1
  243. package/dist/tttx/p-a380f600.entry.js +1 -1
  244. package/dist/tttx/p-ce6a69bc.entry.js +1 -1
  245. package/dist/tttx/p-cfc7f861.entry.js +1 -1
  246. package/dist/tttx/p-e0bd4daa.entry.js +1 -1
  247. package/dist/tttx/p-e7c92d26.entry.js +1 -1
  248. package/dist/tttx/p-e8d02dd3.entry.js +1 -1
  249. package/dist/tttx/p-eda88cd9.entry.js +1 -1
  250. package/dist/tttx/p-ffb09d64.entry.js +1 -1
  251. package/dist/tttx/tttx.esm.js +1 -1
  252. package/dist/types/components/atoms/tttx-button-v2/tttx-button-v2.d.ts +2 -0
  253. package/dist/types/components/atoms/tttx-button-v2/tttx-button-v2.stories.d.ts +4 -0
  254. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
  255. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
  256. package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
  257. package/dist/types/components.d.ts +419 -419
  258. package/package.json +1 -1
  259. package/dist/cjs/tttx-button-v2_1_9_64.cjs.entry.js +0 -121
  260. package/dist/components/tttx-action-dropdown_1_9_64.d.ts +0 -11
  261. package/dist/components/tttx-button-v2_1_9_64.js +0 -156
  262. package/dist/components/tttx-checkbox-group-caption_1_9_64.d.ts +0 -11
  263. package/dist/components/tttx-checkbox-group-heading_1_9_64.d.ts +0 -11
  264. package/dist/components/tttx-checkbox-group_1_9_64.d.ts +0 -11
  265. package/dist/components/tttx-comments_1_9_64.d.ts +0 -11
  266. package/dist/components/tttx-data-pattern_1_9_64.d.ts +0 -11
  267. package/dist/components/tttx-datacard_1_9_64.d.ts +0 -11
  268. package/dist/components/tttx-dialog-box_1_9_64.d.ts +0 -11
  269. package/dist/components/tttx-expander_1_9_64.d.ts +0 -11
  270. package/dist/components/tttx-keyvalue-block_1_9_64.d.ts +0 -11
  271. package/dist/components/tttx-loading-spinner_1_9_64.d.ts +0 -11
  272. package/dist/components/tttx-multiselect-box_1_9_64.d.ts +0 -11
  273. package/dist/components/tttx-percentage-bar_1_9_64.d.ts +0 -11
  274. package/dist/components/tttx-select-box_1_9_64.d.ts +0 -11
  275. package/dist/components/tttx-skeleton_loader_1_9_64.d.ts +0 -11
  276. package/dist/components/tttx-sorter_1_9_64.d.ts +0 -11
  277. package/dist/components/tttx-standalone-input_1_9_64.d.ts +0 -11
  278. package/dist/components/tttx-textarea_1_9_64.d.ts +0 -11
  279. package/dist/components/tttx-toggle_1_9_64.d.ts +0 -11
  280. package/dist/components/tttx-toolbar_1_9_64.d.ts +0 -11
  281. package/dist/components/tttx-tree-view_1_9_64.d.ts +0 -11
  282. package/dist/esm/tttx-button-v2_1_9_64.entry.js +0 -117
  283. package/dist/tttx/p-1c0db631.entry.js +0 -1
@@ -0,0 +1,180 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$2 } from './tttx-icon.js';
3
+
4
+ const tttxButtonV2Css = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:inline-block}button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;white-space:nowrap;vertical-align:middle;font-weight:600;text-transform:none;cursor:pointer;background:transparent;min-width:96px;max-width:240px;box-sizing:border-box}button:disabled{cursor:not-allowed}button.notext{min-width:40px;max-width:40px;height:40px;padding:8px;aspect-ratio:1/1;justify-content:center;align-items:center;box-sizing:border-box}button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.label-text{display:inline-block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}button.button.btn-size-s{font-size:13px;padding:6px 10px;gap:4px;min-height:32px}button.button.btn-size-m{font-size:14px;padding:8px 12px;gap:4px;min-height:40px}button.button.btn-size-l{font-size:16px;padding:12px 24px;gap:8px;min-height:48px}button.btn-primary{background-color:#1479c6;border:1px solid #1479c6;color:#ffffff;transition:background-color 0.2s ease}button.btn-primary:hover:not(:disabled){background-color:#146eb3}button.btn-primary:active:not(:disabled){background-color:#115a8f}button.btn-primary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-secondary{background-color:#ffffff;color:#17272b;border:1px solid #D4D4D4;transition:background-color 0.2s ease}button.btn-secondary:hover:not(:disabled){background-color:#fafafa}button.btn-secondary:active:not(:disabled){background-color:#f5f5f5}button.btn-secondary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-danger{background-color:#dc2626;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #DC2626}button.btn-danger:hover:not(:disabled){background-color:#b91c1c}button.btn-danger:active:not(:disabled){background-color:#991b1b}button.btn-danger:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-success{background-color:#16a34a;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #16a34a}button.btn-success:hover:not(:disabled){background-color:#15803d}button.btn-success:active:not(:disabled){background-color:#166534}button.btn-success:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-warning{background-color:#eab308;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #eab308}button.btn-warning:hover:not(:disabled){background-color:#ca8a04}button.btn-warning:active:not(:disabled){background-color:#885544}button.btn-warning:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-light{background-color:#000000;color:#ffffff;border:1px solid #000000}button.btn-light:hover:not(:disabled){background-color:#222222}button.btn-light:active:not(:disabled){background-color:#1a1a1a}button.btn-transparent{background:transparent;border:1px solid transparent;box-shadow:none;color:#1479c6;border:1px solid transparent}button.btn-transparent:hover:not(:disabled){background:rgba(0, 0, 0, 0.04)}button.btn-transparent:disabled{opacity:0.4;pointer-events:none}button.icon-start .button-content,button.icon-end .button-content{gap:8px}button.icon-start .icon-left,button.icon-end .icon-right{display:flex;align-items:center;justify-content:center}button.icon-start.btn-size-s{padding-right:14px}button.icon-end.btn-size-s{padding-left:14px}button.icon-start.btn-size-m{padding-right:16px}button.icon-end.btn-size-m{padding-left:16px}button.icon-start.btn-size-l{padding-right:28px}button.icon-end.btn-size-l{padding-left:28px}.button-content{font-family:Roboto;display:inline-flex;align-items:center;justify-content:center;width:100%}.button-content:not(:has(.icon-left,.icon-right)){justify-content:center}button.notext .button-content{justify-content:center !important;align-items:center;width:100%;display:flex;gap:0}tttx-icon,tttx-icon_1_9_66{cursor:inherit;display:inline-flex;vertical-align:middle;font-size:16px}.button-wrapper{position:relative}.button-wrapper .dropdown-list{position:absolute;top:100%;left:0;list-style:none;z-index:1;width:260px;border-radius:8px;padding:4px;background-color:white;border:1px solid #d4d4d4;margin-top:8px}.button-wrapper .dropdown-list .dropdown-option{padding:8px;cursor:pointer;white-space:nowrap;font-family:Roboto;font-size:14px;font-weight:400;line-height:16px}.button-wrapper .dropdown-list .dropdown-option:hover,.button-wrapper .dropdown-list .dropdown-option:focus{background-color:#f5f5f5;border-radius:8px}.button-wrapper .dropdown-list.dropdown-left{left:auto;right:0;top:100%;list-style:none;z-index:1;width:260px;border-radius:8px;padding:4px;margin-top:8px}.button-wrapper .dropdown-button{border-radius:4px;width:100%;justify-content:space-between}.button-wrapper .dropdown-button:hover{background-color:#f0f0f0}.button-wrapper .dropdown-button:active{background-color:#e3e3e3}.button-wrapper .dropdown-button .dropdown-arrow{display:flex;align-items:center;margin-left:8px}.button-wrapper .dropdown-button .dropdown-arrow .hydrated{display:flex;align-items:center}.dropdown-item-content{display:flex;align-items:center;gap:8px}.dropdown-item-icon{display:flex;align-items:center;justify-content:center}";
5
+
6
+ const TttxButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ this.buttonDropdownChange = createEvent(this, "buttonDropdownChange", 7);
12
+ this.calculateDropdownDirection = () => {
13
+ const rect = this.host.getBoundingClientRect();
14
+ // Find dropdown element if already rendered
15
+ const dropdownEl = this.host.querySelector('.dropdown-list');
16
+ // Measure real size, fallback if not available yet
17
+ const dropdownWidth = dropdownEl ? dropdownEl.offsetWidth : 260;
18
+ const spaceRight = window.innerWidth - rect.right;
19
+ const spaceLeft = rect.left;
20
+ if (spaceRight > dropdownWidth) {
21
+ this.dropdownDirection = 'right';
22
+ }
23
+ else if (spaceLeft > dropdownWidth) {
24
+ this.dropdownDirection = 'left';
25
+ }
26
+ else {
27
+ this.dropdownDirection = 'left'; // fallback
28
+ }
29
+ };
30
+ this.toggleDropdown = () => {
31
+ if (!this.isDisabled) {
32
+ if (!this.dropdownOpen) {
33
+ this.calculateDropdownDirection();
34
+ }
35
+ this.dropdownOpen = !this.dropdownOpen;
36
+ }
37
+ };
38
+ this.handleDropdownItemClick = (item) => {
39
+ this.dropdownOpen = false;
40
+ this.buttonDropdownChange.emit(item);
41
+ };
42
+ this.notext = false;
43
+ this.icon = undefined;
44
+ this.label = undefined;
45
+ this.iconcolor = 'black';
46
+ this.iconposition = 'left';
47
+ this.iconStart = undefined;
48
+ this.iconEnd = undefined;
49
+ this.design = 'primary';
50
+ this.disabled = false;
51
+ this.type = 'button';
52
+ this.href = undefined;
53
+ this.options = [];
54
+ this.size = 'M';
55
+ this.dropdownOpen = false;
56
+ this.dropdownDirection = 'left';
57
+ }
58
+ get isDisabled() {
59
+ return this.disabled || this.design === 'disabled';
60
+ }
61
+ get parsedOptions() {
62
+ if (Array.isArray(this.options)) {
63
+ return this.options.map(opt => (typeof opt === 'string' ? { label: opt } : opt));
64
+ }
65
+ try {
66
+ const parsed = JSON.parse(this.options);
67
+ return parsed.map((opt) => (typeof opt === 'string' ? { label: opt } : opt));
68
+ }
69
+ catch (_a) {
70
+ return [];
71
+ }
72
+ }
73
+ get iconSize() {
74
+ switch (this.size) {
75
+ case 'L':
76
+ return 24;
77
+ case 'M':
78
+ return 20;
79
+ case 'S':
80
+ default:
81
+ return 16;
82
+ }
83
+ }
84
+ componentWillLoad() {
85
+ const validDesigns = [
86
+ 'primary',
87
+ 'secondary',
88
+ 'default',
89
+ 'disabled',
90
+ 'danger',
91
+ 'light',
92
+ 'success',
93
+ 'warning',
94
+ 'transparent'
95
+ ];
96
+ const validSizes = ['S', 'M', 'L'];
97
+ if (!validDesigns.includes(this.design)) {
98
+ this.design = 'primary';
99
+ }
100
+ if (!validSizes.includes(this.size)) {
101
+ this.size = 'M';
102
+ }
103
+ if (['primary', 'danger', 'light', 'success', 'warning'].includes(this.design)) {
104
+ this.iconcolor = 'white';
105
+ }
106
+ if (this.design === 'transparent') {
107
+ this.iconcolor = '#1479c6';
108
+ }
109
+ }
110
+ handleClickOutside(event) {
111
+ if (this.dropdownOpen && !this.host.contains(event.target)) {
112
+ this.dropdownOpen = false;
113
+ }
114
+ }
115
+ renderButtonContent() {
116
+ var _a;
117
+ return (h("div", { class: "button-content" }, this.iconStart && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_66", { icon: this.iconStart, color: this.iconcolor, size: this.iconSize }))), !this.notext && (h("div", { class: "label-text" }, h("span", null, (_a = this.label) !== null && _a !== void 0 ? _a : h("slot", null)))), this.iconEnd && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_66", { icon: this.iconEnd, color: this.iconcolor, size: this.iconSize }))), this.type === 'dropdown' && (h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_66", { icon: "keyboard_arrow_down", color: this.iconcolor, size: this.iconSize })))));
118
+ }
119
+ renderDropdownList() {
120
+ if (this.type !== 'dropdown' || !this.dropdownOpen)
121
+ return null;
122
+ const dropdownClasses = `dropdown-list dropdown-${this.dropdownDirection}`;
123
+ return (h("ul", { class: dropdownClasses, role: "listbox" }, this.parsedOptions.map((item, index) => (h("li", { class: "dropdown-option", role: "option", tabindex: 0, key: index, onClick: () => this.handleDropdownItemClick(item.label) }, h("div", { class: "dropdown-item-content" }, item.icon && (h("tttx-icon_1_9_66", { icon: item.icon, color: "black", size: this.iconSize, class: "dropdown-item-icon" })), h("span", { class: "dropdown-item-label" }, item.label)))))));
124
+ }
125
+ render() {
126
+ const classes = [
127
+ 'button',
128
+ `btn-${this.design}`,
129
+ this.iconStart ? 'icon-start' : '',
130
+ this.iconEnd ? 'icon-end' : '',
131
+ this.notext ? 'notext' : '',
132
+ this.type === 'dropdown' ? 'dropdown-button' : '',
133
+ `btn-size-${this.size.toLowerCase()}`
134
+ ]
135
+ .filter(Boolean)
136
+ .join(' ');
137
+ return (h(Host, null, h("div", { class: "button-wrapper" }, h("button", { class: classes, disabled: this.isDisabled, onClick: this.type === 'dropdown' ? this.toggleDropdown : undefined, "aria-haspopup": this.type === 'dropdown' ? 'listbox' : undefined, "aria-expanded": this.type === 'dropdown' ? String(this.dropdownOpen) : undefined }, this.renderButtonContent()), this.renderDropdownList())));
138
+ }
139
+ get host() { return this; }
140
+ static get style() { return tttxButtonV2Css; }
141
+ }, [1, "tttx-button-v2_1_9_66", {
142
+ "notext": [4],
143
+ "icon": [1],
144
+ "label": [1],
145
+ "iconcolor": [1025],
146
+ "iconposition": [1],
147
+ "iconStart": [1, "icon-start"],
148
+ "iconEnd": [1, "icon-end"],
149
+ "design": [1],
150
+ "disabled": [516],
151
+ "type": [1],
152
+ "href": [1],
153
+ "options": [1],
154
+ "size": [1],
155
+ "dropdownOpen": [32],
156
+ "dropdownDirection": [32]
157
+ }, [[4, "click", "handleClickOutside"]]]);
158
+ function defineCustomElement$1() {
159
+ if (typeof customElements === "undefined") {
160
+ return;
161
+ }
162
+ const components = ["tttx-button-v2_1_9_66", "tttx-icon_1_9_66"];
163
+ components.forEach(tagName => { switch (tagName) {
164
+ case "tttx-button-v2_1_9_66":
165
+ if (!customElements.get(tagName)) {
166
+ customElements.define(tagName, TttxButton);
167
+ }
168
+ break;
169
+ case "tttx-icon_1_9_66":
170
+ if (!customElements.get(tagName)) {
171
+ defineCustomElement$2();
172
+ }
173
+ break;
174
+ } });
175
+ }
176
+
177
+ const TttxButtonV2_1_9_66 = TttxButton;
178
+ const defineCustomElement = defineCustomElement$1;
179
+
180
+ export { TttxButtonV2_1_9_66, defineCustomElement };
@@ -27,10 +27,10 @@ const TttxButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
27
27
  }
28
28
  render() {
29
29
  this._iconcolor = this.iconcolor;
30
- return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_64", { icon: this.icon, color: this._iconcolor }))), !this.notext && (h("div", { class: "button-content" }, h("slot", null))), this.icon && this.iconposition === 'right' && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_64", { icon: this.icon, color: this._iconcolor }))))));
30
+ return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_66", { icon: this.icon, color: this._iconcolor }))), !this.notext && (h("div", { class: "button-content" }, h("slot", null))), this.icon && this.iconposition === 'right' && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_66", { icon: this.icon, color: this._iconcolor }))))));
31
31
  }
32
32
  static get style() { return tttxButtonCss; }
33
- }, [1, "tttx-button_1_9_64", {
33
+ }, [1, "tttx-button_1_9_66", {
34
34
  "notext": [4],
35
35
  "icon": [1],
36
36
  "iconposition": [1],
@@ -41,14 +41,14 @@ function defineCustomElement() {
41
41
  if (typeof customElements === "undefined") {
42
42
  return;
43
43
  }
44
- const components = ["tttx-button_1_9_64", "tttx-icon_1_9_64"];
44
+ const components = ["tttx-button_1_9_66", "tttx-icon_1_9_66"];
45
45
  components.forEach(tagName => { switch (tagName) {
46
- case "tttx-button_1_9_64":
46
+ case "tttx-button_1_9_66":
47
47
  if (!customElements.get(tagName)) {
48
48
  customElements.define(tagName, TttxButton);
49
49
  }
50
50
  break;
51
- case "tttx-icon_1_9_64":
51
+ case "tttx-icon_1_9_66":
52
52
  if (!customElements.get(tagName)) {
53
53
  defineCustomElement$1();
54
54
  }
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface TttxDialog_1_9_64 extends Components.TttxDialog_1_9_64, HTMLElement {}
4
- export const TttxDialog_1_9_64: {
5
- prototype: TttxDialog_1_9_64;
6
- new (): TttxDialog_1_9_64;
3
+ interface TttxButton_1_9_66 extends Components.TttxButton_1_9_66, HTMLElement {}
4
+ export const TttxButton_1_9_66: {
5
+ prototype: TttxButton_1_9_66;
6
+ new (): TttxButton_1_9_66;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -1,6 +1,6 @@
1
1
  import { T as TttxButton, d as defineCustomElement$1 } from './tttx-button.js';
2
2
 
3
- const TttxButton_1_9_64 = TttxButton;
3
+ const TttxButton_1_9_66 = TttxButton;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
- export { TttxButton_1_9_64, defineCustomElement };
6
+ export { TttxButton_1_9_66, defineCustomElement };
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface TttxTable_1_9_64 extends Components.TttxTable_1_9_64, HTMLElement {}
4
- export const TttxTable_1_9_64: {
5
- prototype: TttxTable_1_9_64;
6
- new (): TttxTable_1_9_64;
3
+ interface TttxChart_1_9_66 extends Components.TttxChart_1_9_66, HTMLElement {}
4
+ export const TttxChart_1_9_66: {
5
+ prototype: TttxChart_1_9_66;
6
+ new (): TttxChart_1_9_66;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -187,11 +187,11 @@ const TttxChart = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
187
187
  return this.commonContent('ssid_chart', 'No data available', 'There is currently no data available to show performance trends.', '#111');
188
188
  }
189
189
  commonContent(iconName, heading, message, iconColor, showActions = false) {
190
- return (h("div", { class: "error-content" }, h("tttx-icon_1_9_64", { icon: iconName, color: iconColor, size: 48 }), h("span", { class: 'error-heading' }, heading), h("span", { class: 'error-message' }, message), showActions && h("div", { class: "error-actions" }, h("tttx-button_1_9_64", { class: 'reload-btn', icon: "refresh", design: 'default', onClick: () => this.renderChart() }, "Reload data"), h("tttx-button_1_9_64", { class: 'support-btn', icon: "help", design: "primary", onClick: () => this.renderChart() }, "Contact support"))));
190
+ return (h("div", { class: "error-content" }, h("tttx-icon_1_9_66", { icon: iconName, color: iconColor, size: 48 }), h("span", { class: 'error-heading' }, heading), h("span", { class: 'error-message' }, message), showActions && h("div", { class: "error-actions" }, h("tttx-button_1_9_66", { class: 'reload-btn', icon: "refresh", design: 'default', onClick: () => this.renderChart() }, "Reload data"), h("tttx-button_1_9_66", { class: 'support-btn', icon: "help", design: "primary", onClick: () => this.renderChart() }, "Contact support"))));
191
191
  }
192
192
  render() {
193
193
  var _a, _b, _c;
194
- return (h("div", { class: "chart-wrapper", style: { width: this.width, height: this.height } }, this.loading && h("div", { class: "chart-loading" }, h("tttx-loading-spinner_1_9_64", { size: 'large', color: '#2b9ab7' })), this.error && this.getErrorContent(), !this.loading && !this.error && (!this.chartData || !((_a = this.chartData.datasets) === null || _a === void 0 ? void 0 : _a.length)) && (this.getNoDataContent()), !this.loading && !this.error && ((_c = (_b = this.chartData) === null || _b === void 0 ? void 0 : _b.datasets) === null || _c === void 0 ? void 0 : _c.length) > 0 && (h("canvas", { ref: el => (this.canvasEl = el), "aria-label": "Chart canvas", role: "img" })), this.exportable && !this.loading && !this.error && (h("div", { class: "export-buttons" }, this.showPngSvgExport && h("tttx-button_1_9_64", { class: 'export-png', design: "primary", onClick: () => this.exportChart('png') }, "Export PNG"), this.showPngSvgExport && h("tttx-button_1_9_64", { class: 'export-svg', design: "primary", onClick: () => this.exportChart('svg') }, "Export SVG"), h("tttx-button_1_9_64", { class: 'export-csv', design: "primary", onClick: () => this.exportCSV.emit({ name: this.chartType }) }, "Export CSV")))));
194
+ return (h("div", { class: "chart-wrapper", style: { width: this.width, height: this.height } }, this.loading && h("div", { class: "chart-loading" }, h("tttx-loading-spinner_1_9_66", { size: 'large', color: '#2b9ab7' })), this.error && this.getErrorContent(), !this.loading && !this.error && (!this.chartData || !((_a = this.chartData.datasets) === null || _a === void 0 ? void 0 : _a.length)) && (this.getNoDataContent()), !this.loading && !this.error && ((_c = (_b = this.chartData) === null || _b === void 0 ? void 0 : _b.datasets) === null || _c === void 0 ? void 0 : _c.length) > 0 && (h("canvas", { ref: el => (this.canvasEl = el), "aria-label": "Chart canvas", role: "img" })), this.exportable && !this.loading && !this.error && (h("div", { class: "export-buttons" }, this.showPngSvgExport && h("tttx-button_1_9_66", { class: 'export-png', design: "primary", onClick: () => this.exportChart('png') }, "Export PNG"), this.showPngSvgExport && h("tttx-button_1_9_66", { class: 'export-svg', design: "primary", onClick: () => this.exportChart('svg') }, "Export SVG"), h("tttx-button_1_9_66", { class: 'export-csv', design: "primary", onClick: () => this.exportCSV.emit({ name: this.chartType }) }, "Export CSV")))));
195
195
  }
196
196
  get el() { return this; }
197
197
  static get watchers() { return {
@@ -199,7 +199,7 @@ const TttxChart = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
199
199
  "chartOptions": ["handleUpdate"]
200
200
  }; }
201
201
  static get style() { return tttxChartCss; }
202
- }, [1, "tttx-chart_1_9_64", {
202
+ }, [1, "tttx-chart_1_9_66", {
203
203
  "chartType": [1, "chart-type"],
204
204
  "chartData": [16],
205
205
  "chartOptions": [16],
@@ -216,24 +216,24 @@ function defineCustomElement$1() {
216
216
  if (typeof customElements === "undefined") {
217
217
  return;
218
218
  }
219
- const components = ["tttx-chart_1_9_64", "tttx-button_1_9_64", "tttx-icon_1_9_64", "tttx-loading-spinner_1_9_64"];
219
+ const components = ["tttx-chart_1_9_66", "tttx-button_1_9_66", "tttx-icon_1_9_66", "tttx-loading-spinner_1_9_66"];
220
220
  components.forEach(tagName => { switch (tagName) {
221
- case "tttx-chart_1_9_64":
221
+ case "tttx-chart_1_9_66":
222
222
  if (!customElements.get(tagName)) {
223
223
  customElements.define(tagName, TttxChart);
224
224
  }
225
225
  break;
226
- case "tttx-button_1_9_64":
226
+ case "tttx-button_1_9_66":
227
227
  if (!customElements.get(tagName)) {
228
228
  defineCustomElement$4();
229
229
  }
230
230
  break;
231
- case "tttx-icon_1_9_64":
231
+ case "tttx-icon_1_9_66":
232
232
  if (!customElements.get(tagName)) {
233
233
  defineCustomElement$3();
234
234
  }
235
235
  break;
236
- case "tttx-loading-spinner_1_9_64":
236
+ case "tttx-loading-spinner_1_9_66":
237
237
  if (!customElements.get(tagName)) {
238
238
  defineCustomElement$2();
239
239
  }
@@ -241,7 +241,7 @@ function defineCustomElement$1() {
241
241
  } });
242
242
  }
243
243
 
244
- const TttxChart_1_9_64 = TttxChart;
244
+ const TttxChart_1_9_66 = TttxChart;
245
245
  const defineCustomElement = defineCustomElement$1;
246
246
 
247
- export { TttxChart_1_9_64, defineCustomElement };
247
+ export { TttxChart_1_9_66, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxCheckboxGroupCaption_1_9_66 extends Components.TttxCheckboxGroupCaption_1_9_66, HTMLElement {}
4
+ export const TttxCheckboxGroupCaption_1_9_66: {
5
+ prototype: TttxCheckboxGroupCaption_1_9_66;
6
+ new (): TttxCheckboxGroupCaption_1_9_66;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -11,14 +11,14 @@ const TttxCheckboxGroupCaption = /*@__PURE__*/ proxyCustomElement(class extends
11
11
  return (h(Host, null, h("div", { class: 'tttx-checkbox-group__caption' }, h("slot", null))));
12
12
  }
13
13
  static get style() { return tttxCheckboxGroupCss; }
14
- }, [4, "tttx-checkbox-group-caption_1_9_64"]);
14
+ }, [4, "tttx-checkbox-group-caption_1_9_66"]);
15
15
  function defineCustomElement$1() {
16
16
  if (typeof customElements === "undefined") {
17
17
  return;
18
18
  }
19
- const components = ["tttx-checkbox-group-caption_1_9_64"];
19
+ const components = ["tttx-checkbox-group-caption_1_9_66"];
20
20
  components.forEach(tagName => { switch (tagName) {
21
- case "tttx-checkbox-group-caption_1_9_64":
21
+ case "tttx-checkbox-group-caption_1_9_66":
22
22
  if (!customElements.get(tagName)) {
23
23
  customElements.define(tagName, TttxCheckboxGroupCaption);
24
24
  }
@@ -26,7 +26,7 @@ function defineCustomElement$1() {
26
26
  } });
27
27
  }
28
28
 
29
- const TttxCheckboxGroupCaption_1_9_64 = TttxCheckboxGroupCaption;
29
+ const TttxCheckboxGroupCaption_1_9_66 = TttxCheckboxGroupCaption;
30
30
  const defineCustomElement = defineCustomElement$1;
31
31
 
32
- export { TttxCheckboxGroupCaption_1_9_64, defineCustomElement };
32
+ export { TttxCheckboxGroupCaption_1_9_66, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxCheckboxGroupHeading_1_9_66 extends Components.TttxCheckboxGroupHeading_1_9_66, HTMLElement {}
4
+ export const TttxCheckboxGroupHeading_1_9_66: {
5
+ prototype: TttxCheckboxGroupHeading_1_9_66;
6
+ new (): TttxCheckboxGroupHeading_1_9_66;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -11,14 +11,14 @@ const TttxCheckboxGroupHeading = /*@__PURE__*/ proxyCustomElement(class extends
11
11
  return (h(Host, null, h("div", { class: 'tttx-checkbox-group__heading' }, h("slot", null))));
12
12
  }
13
13
  static get style() { return tttxCheckboxGroupCss; }
14
- }, [4, "tttx-checkbox-group-heading_1_9_64"]);
14
+ }, [4, "tttx-checkbox-group-heading_1_9_66"]);
15
15
  function defineCustomElement$1() {
16
16
  if (typeof customElements === "undefined") {
17
17
  return;
18
18
  }
19
- const components = ["tttx-checkbox-group-heading_1_9_64"];
19
+ const components = ["tttx-checkbox-group-heading_1_9_66"];
20
20
  components.forEach(tagName => { switch (tagName) {
21
- case "tttx-checkbox-group-heading_1_9_64":
21
+ case "tttx-checkbox-group-heading_1_9_66":
22
22
  if (!customElements.get(tagName)) {
23
23
  customElements.define(tagName, TttxCheckboxGroupHeading);
24
24
  }
@@ -26,7 +26,7 @@ function defineCustomElement$1() {
26
26
  } });
27
27
  }
28
28
 
29
- const TttxCheckboxGroupHeading_1_9_64 = TttxCheckboxGroupHeading;
29
+ const TttxCheckboxGroupHeading_1_9_66 = TttxCheckboxGroupHeading;
30
30
  const defineCustomElement = defineCustomElement$1;
31
31
 
32
- export { TttxCheckboxGroupHeading_1_9_64, defineCustomElement };
32
+ export { TttxCheckboxGroupHeading_1_9_66, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxCheckboxGroup_1_9_66 extends Components.TttxCheckboxGroup_1_9_66, HTMLElement {}
4
+ export const TttxCheckboxGroup_1_9_66: {
5
+ prototype: TttxCheckboxGroup_1_9_66;
6
+ new (): TttxCheckboxGroup_1_9_66;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -12,14 +12,14 @@ const TttxCheckboxGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
12
12
  return (h(Host, null, h("div", { class: 'tttx-checkbox-group' }, h("slot", null))));
13
13
  }
14
14
  static get style() { return tttxCheckboxGroupCss; }
15
- }, [1, "tttx-checkbox-group_1_9_64"]);
15
+ }, [1, "tttx-checkbox-group_1_9_66"]);
16
16
  function defineCustomElement$1() {
17
17
  if (typeof customElements === "undefined") {
18
18
  return;
19
19
  }
20
- const components = ["tttx-checkbox-group_1_9_64"];
20
+ const components = ["tttx-checkbox-group_1_9_66"];
21
21
  components.forEach(tagName => { switch (tagName) {
22
- case "tttx-checkbox-group_1_9_64":
22
+ case "tttx-checkbox-group_1_9_66":
23
23
  if (!customElements.get(tagName)) {
24
24
  customElements.define(tagName, TttxCheckboxGroup);
25
25
  }
@@ -27,7 +27,7 @@ function defineCustomElement$1() {
27
27
  } });
28
28
  }
29
29
 
30
- const TttxCheckboxGroup_1_9_64 = TttxCheckboxGroup;
30
+ const TttxCheckboxGroup_1_9_66 = TttxCheckboxGroup;
31
31
  const defineCustomElement = defineCustomElement$1;
32
32
 
33
- export { TttxCheckboxGroup_1_9_64, defineCustomElement };
33
+ export { TttxCheckboxGroup_1_9_66, defineCustomElement };
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface TttxButtonV2_1_9_64 extends Components.TttxButtonV2_1_9_64, HTMLElement {}
4
- export const TttxButtonV2_1_9_64: {
5
- prototype: TttxButtonV2_1_9_64;
6
- new (): TttxButtonV2_1_9_64;
3
+ interface TttxCheckbox_1_9_66 extends Components.TttxCheckbox_1_9_66, HTMLElement {}
4
+ export const TttxCheckbox_1_9_66: {
5
+ prototype: TttxCheckbox_1_9_66;
6
+ new (): TttxCheckbox_1_9_66;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -30,13 +30,13 @@ const TttxCheckbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
30
30
  render() {
31
31
  const checkBoxIcon = this.checked ? 'check_box' : 'check_box_outline_blank';
32
32
  const renderedIcon = this.indeterminate ? 'indeterminate_check_box' : checkBoxIcon;
33
- return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-icon_1_9_64", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), h("span", { class: "tttx-checkbox__label" }, this.label))));
33
+ return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-icon_1_9_66", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), h("span", { class: "tttx-checkbox__label" }, this.label))));
34
34
  }
35
35
  static get watchers() { return {
36
36
  "indeterminate": ["watchIndeterminateChange"]
37
37
  }; }
38
38
  static get style() { return tttxCheckboxCss; }
39
- }, [0, "tttx-checkbox_1_9_64", {
39
+ }, [0, "tttx-checkbox_1_9_66", {
40
40
  "checkboxId": [1, "checkbox-id"],
41
41
  "label": [1],
42
42
  "inline": [4],
@@ -47,14 +47,14 @@ function defineCustomElement$1() {
47
47
  if (typeof customElements === "undefined") {
48
48
  return;
49
49
  }
50
- const components = ["tttx-checkbox_1_9_64", "tttx-icon_1_9_64"];
50
+ const components = ["tttx-checkbox_1_9_66", "tttx-icon_1_9_66"];
51
51
  components.forEach(tagName => { switch (tagName) {
52
- case "tttx-checkbox_1_9_64":
52
+ case "tttx-checkbox_1_9_66":
53
53
  if (!customElements.get(tagName)) {
54
54
  customElements.define(tagName, TttxCheckbox);
55
55
  }
56
56
  break;
57
- case "tttx-icon_1_9_64":
57
+ case "tttx-icon_1_9_66":
58
58
  if (!customElements.get(tagName)) {
59
59
  defineCustomElement$2();
60
60
  }
@@ -62,7 +62,7 @@ function defineCustomElement$1() {
62
62
  } });
63
63
  }
64
64
 
65
- const TttxCheckbox_1_9_64 = TttxCheckbox;
65
+ const TttxCheckbox_1_9_66 = TttxCheckbox;
66
66
  const defineCustomElement = defineCustomElement$1;
67
67
 
68
- export { TttxCheckbox_1_9_64, defineCustomElement };
68
+ export { TttxCheckbox_1_9_66, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxComments_1_9_66 extends Components.TttxComments_1_9_66, HTMLElement {}
4
+ export const TttxComments_1_9_66: {
5
+ prototype: TttxComments_1_9_66;
6
+ new (): TttxComments_1_9_66;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -85,7 +85,7 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
85
85
  }
86
86
  unreadDividerRendered = unreadDividerRendered || nextIsUnread;
87
87
  return [
88
- h("div", { class: bubbleClass, style: topComment }, firstComment && topDivider, h("div", { class: "bubbleHeader" }, h("div", { class: "bubble-header-inner" }, h("span", { class: "commentName" }, comment.createdByFullName), this.isUnread(comment) && (h("tttx-icon_1_9_64", { class: "unread-symbol", icon: "error", color: "blue", style: { height: '18px' }, size: 18 }))), ((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.contextString) && (h("span", { class: "commentContext" }, "(", comment.metadata.contextString, ")"))), h("div", { class: `bubbleText ${comment.isDeleted ? 'deleted-comment' : ''}` }, this.renderCommentInner(comment)), h("div", { class: "bubbleFooter" }, !this.readonly && this.allowEditing && isCurrentUser && !comment.isDeleted && !!comment.id && (h("div", null, !this.isFileComment(comment) && (h(Fragment, null, h("span", { class: "clickable", onClick: this.onEdit.bind(this, comment) }, "Edit"), " | ")), h("span", { class: "clickable", onClick: this.onRemove.bind(this, comment) }, "Remove"))), h("span", { class: "comment-date" }, !!comment.lastUpdatedAt && !comment.isDeleted && `Edited ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !!comment.lastUpdatedAt && comment.isDeleted && `Removed ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !comment.lastUpdatedAt && `${new Date(comment.createdAt).toLocaleString(undefined, timestampOptions)}`)), !divider && !isLastComment && h("hr", { class: "commentDivider" }), divider)
88
+ h("div", { class: bubbleClass, style: topComment }, firstComment && topDivider, h("div", { class: "bubbleHeader" }, h("div", { class: "bubble-header-inner" }, h("span", { class: "commentName" }, comment.createdByFullName), this.isUnread(comment) && (h("tttx-icon_1_9_66", { class: "unread-symbol", icon: "error", color: "blue", style: { height: '18px' }, size: 18 }))), ((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.contextString) && (h("span", { class: "commentContext" }, "(", comment.metadata.contextString, ")"))), h("div", { class: `bubbleText ${comment.isDeleted ? 'deleted-comment' : ''}` }, this.renderCommentInner(comment)), h("div", { class: "bubbleFooter" }, !this.readonly && this.allowEditing && isCurrentUser && !comment.isDeleted && !!comment.id && (h("div", null, !this.isFileComment(comment) && (h(Fragment, null, h("span", { class: "clickable", onClick: this.onEdit.bind(this, comment) }, "Edit"), " | ")), h("span", { class: "clickable", onClick: this.onRemove.bind(this, comment) }, "Remove"))), h("span", { class: "comment-date" }, !!comment.lastUpdatedAt && !comment.isDeleted && `Edited ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !!comment.lastUpdatedAt && comment.isDeleted && `Removed ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !comment.lastUpdatedAt && `${new Date(comment.createdAt).toLocaleString(undefined, timestampOptions)}`)), !divider && !isLastComment && h("hr", { class: "commentDivider" }), divider)
89
89
  ];
90
90
  })));
91
91
  }
@@ -96,7 +96,7 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
96
96
  return this.isFileComment(comment) ? this.renderFileLink(comment.metadata) : comment.text;
97
97
  }
98
98
  renderFileLink(metadata) {
99
- return (h("div", { class: "file-link-container" }, h("tttx-icon_1_9_64", { icon: "attach_file", color: "black", style: { height: '20px' }, size: 20 }), h("button", { class: "linkButton", type: "button", value: metadata.key, onClick: this.onFileDownloadRequest.bind(this) }, metadata.filename)));
99
+ return (h("div", { class: "file-link-container" }, h("tttx-icon_1_9_66", { icon: "attach_file", color: "black", style: { height: '20px' }, size: 20 }), h("button", { class: "linkButton", type: "button", value: metadata.key, onClick: this.onFileDownloadRequest.bind(this) }, metadata.filename)));
100
100
  }
101
101
  onFormSubmit(event) {
102
102
  // get comment text
@@ -190,13 +190,13 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
190
190
  this.requestCommentRemoval.emit(comment);
191
191
  }
192
192
  render() {
193
- return (h(Host, null, h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (h("div", { class: "no-comments" }, h("tttx-icon_1_9_64", { class: 'mt-s', icon: "chat_bubble_outline", color: "grey" }), h("span", null, "No comments have been added"))), h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, !this.readonly && h("form", { onSubmit: this.onFormSubmit.bind(this) }, this.editingComment && (h("div", { class: "cancel-edit-container" }, h("span", { class: "cancel-edit-button clickable", onClick: this.onFinishEdit.bind(this) }, "x"))), h("fieldset", null, h("textarea", { ref: el => this.textInput = el, name: "commentText", required: true, maxlength: `${this.messageLimit}`, placeholder: this.placeholder, onInput: (e) => this.onCommentFieldChange(e), style: { '--textarea-max-height': `${this.inputBoxHeight}px` }, class: "comment-textarea", value: this.value, onBlur: this.handleBlur.bind(this) })), this.showError && (h("span", { class: 'errorBubble visible' }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), h("fieldset", null, this.editingComment && (h("span", { class: 'editing-sub-text' }, "Editing comment")), !this.disableFile && (h("button", { id: "attach-file", class: "flex-right-align clickable", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-icon_1_9_64", { color: "black", icon: "attach_file" }))), h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
193
+ return (h(Host, null, h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (h("div", { class: "no-comments" }, h("tttx-icon_1_9_66", { class: 'mt-s', icon: "chat_bubble_outline", color: "grey" }), h("span", null, "No comments have been added"))), h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, !this.readonly && h("form", { onSubmit: this.onFormSubmit.bind(this) }, this.editingComment && (h("div", { class: "cancel-edit-container" }, h("span", { class: "cancel-edit-button clickable", onClick: this.onFinishEdit.bind(this) }, "x"))), h("fieldset", null, h("textarea", { ref: el => this.textInput = el, name: "commentText", required: true, maxlength: `${this.messageLimit}`, placeholder: this.placeholder, onInput: (e) => this.onCommentFieldChange(e), style: { '--textarea-max-height': `${this.inputBoxHeight}px` }, class: "comment-textarea", value: this.value, onBlur: this.handleBlur.bind(this) })), this.showError && (h("span", { class: 'errorBubble visible' }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), h("fieldset", null, this.editingComment && (h("span", { class: 'editing-sub-text' }, "Editing comment")), !this.disableFile && (h("button", { id: "attach-file", class: "flex-right-align clickable", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-icon_1_9_66", { color: "black", icon: "attach_file" }))), h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
194
194
  }
195
195
  static get watchers() { return {
196
196
  "comments": ["onCommentsChange"]
197
197
  }; }
198
198
  static get style() { return tttxCommentsCss; }
199
- }, [1, "tttx-comments_1_9_64", {
199
+ }, [1, "tttx-comments_1_9_66", {
200
200
  "currentuser": [1],
201
201
  "comments": [1],
202
202
  "disableFile": [4, "disable-file"],
@@ -229,14 +229,14 @@ function defineCustomElement$1() {
229
229
  if (typeof customElements === "undefined") {
230
230
  return;
231
231
  }
232
- const components = ["tttx-comments_1_9_64", "tttx-icon_1_9_64"];
232
+ const components = ["tttx-comments_1_9_66", "tttx-icon_1_9_66"];
233
233
  components.forEach(tagName => { switch (tagName) {
234
- case "tttx-comments_1_9_64":
234
+ case "tttx-comments_1_9_66":
235
235
  if (!customElements.get(tagName)) {
236
236
  customElements.define(tagName, TttxComments);
237
237
  }
238
238
  break;
239
- case "tttx-icon_1_9_64":
239
+ case "tttx-icon_1_9_66":
240
240
  if (!customElements.get(tagName)) {
241
241
  defineCustomElement$2();
242
242
  }
@@ -244,7 +244,7 @@ function defineCustomElement$1() {
244
244
  } });
245
245
  }
246
246
 
247
- const TttxComments_1_9_64 = TttxComments;
247
+ const TttxComments_1_9_66 = TttxComments;
248
248
  const defineCustomElement = defineCustomElement$1;
249
249
 
250
- export { TttxComments_1_9_64, defineCustomElement };
250
+ export { TttxComments_1_9_66, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxDataPattern_1_9_66 extends Components.TttxDataPattern_1_9_66, HTMLElement {}
4
+ export const TttxDataPattern_1_9_66: {
5
+ prototype: TttxDataPattern_1_9_66;
6
+ new (): TttxDataPattern_1_9_66;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;