@3t-transform/threeteeui 1.9.62 → 1.9.64

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 (289) hide show
  1. package/dist/{esm/tttx-graph_1_9_62.entry.js → cjs/auto-1fd7408f.js} +4 -130
  2. package/dist/cjs/{index-ec367fa3.js → index-1249dc08.js} +12 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/{tttx-action-dropdown_1_9_62.cjs.entry.js → tttx-action-dropdown_1_9_64.cjs.entry.js} +3 -3
  5. package/dist/cjs/tttx-button-v2_1_9_64.cjs.entry.js +121 -0
  6. package/dist/cjs/{tttx-button_1_9_62.cjs.entry.js → tttx-button_1_9_64.cjs.entry.js} +3 -3
  7. package/dist/cjs/tttx-chart_1_9_64.cjs.entry.js +203 -0
  8. package/dist/cjs/{tttx-checkbox-group-caption_1_9_62.cjs.entry.js → tttx-checkbox-group-caption_1_9_64.cjs.entry.js} +2 -2
  9. package/dist/cjs/{tttx-checkbox-group-heading_1_9_62.cjs.entry.js → tttx-checkbox-group-heading_1_9_64.cjs.entry.js} +2 -2
  10. package/dist/cjs/{tttx-checkbox-group_1_9_62.cjs.entry.js → tttx-checkbox-group_1_9_64.cjs.entry.js} +2 -2
  11. package/dist/cjs/{tttx-checkbox_1_9_62.cjs.entry.js → tttx-checkbox_1_9_64.cjs.entry.js} +3 -3
  12. package/dist/cjs/{tttx-comments_1_9_62.cjs.entry.js → tttx-comments_1_9_64.cjs.entry.js} +5 -5
  13. package/dist/cjs/{tttx-data-pattern_1_9_62.cjs.entry.js → tttx-data-pattern_1_9_64.cjs.entry.js} +6 -6
  14. package/dist/cjs/{tttx-datacard_1_9_62.cjs.entry.js → tttx-datacard_1_9_64.cjs.entry.js} +5 -5
  15. package/dist/cjs/tttx-date-range-picker.cjs.entry.js +2 -2
  16. package/dist/cjs/{tttx-dialog-box_1_9_62.cjs.entry.js → tttx-dialog-box_1_9_64.cjs.entry.js} +4 -4
  17. package/dist/cjs/{tttx-dialog_1_9_62.cjs.entry.js → tttx-dialog_1_9_64.cjs.entry.js} +3 -3
  18. package/dist/cjs/{tttx-expander_1_9_62.cjs.entry.js → tttx-expander_1_9_64.cjs.entry.js} +3 -3
  19. package/dist/cjs/{tttx-filter_1_9_62_4.cjs.entry.js → tttx-filter_1_9_64_4.cjs.entry.js} +10 -10
  20. package/dist/cjs/{tttx-form_1_9_62.cjs.entry.js → tttx-form_1_9_64.cjs.entry.js} +3 -3
  21. package/dist/cjs/tttx-graph_1_9_64.cjs.entry.js +136 -0
  22. package/dist/cjs/{tttx-icon_1_9_62.cjs.entry.js → tttx-icon_1_9_64.cjs.entry.js} +2 -2
  23. package/dist/cjs/{tttx-keyvalue-block_1_9_62.cjs.entry.js → tttx-keyvalue-block_1_9_64.cjs.entry.js} +2 -2
  24. package/dist/cjs/{tttx-loading-spinner_1_9_62_3.cjs.entry.js → tttx-loading-spinner_1_9_64_3.cjs.entry.js} +7 -7
  25. package/dist/cjs/{tttx-multiselect-box_1_9_62.cjs.entry.js → tttx-multiselect-box_1_9_64.cjs.entry.js} +8 -8
  26. package/dist/cjs/{tttx-percentage-bar_1_9_62.cjs.entry.js → tttx-percentage-bar_1_9_64.cjs.entry.js} +3 -3
  27. package/dist/cjs/{tttx-qrcode_1_9_62.cjs.entry.js → tttx-qrcode_1_9_64.cjs.entry.js} +2 -2
  28. package/dist/cjs/{tttx-select-box_1_9_62.cjs.entry.js → tttx-select-box_1_9_64.cjs.entry.js} +7 -7
  29. package/dist/cjs/{tttx-skeleton_loader_1_9_62.cjs.entry.js → tttx-skeleton_loader_1_9_64.cjs.entry.js} +2 -2
  30. package/dist/cjs/{tttx-table_1_9_62.cjs.entry.js → tttx-table_1_9_64.cjs.entry.js} +2 -2
  31. package/dist/cjs/{tttx-tabs_1_9_62.cjs.entry.js → tttx-tabs_1_9_64.cjs.entry.js} +5 -5
  32. package/dist/cjs/{tttx-textarea_1_9_62.cjs.entry.js → tttx-textarea_1_9_64.cjs.entry.js} +3 -3
  33. package/dist/cjs/{tttx-toggle_1_9_62.cjs.entry.js → tttx-toggle_1_9_64.cjs.entry.js} +2 -2
  34. package/dist/cjs/{tttx-tree-view_1_9_62.cjs.entry.js → tttx-tree-view_1_9_64.cjs.entry.js} +4 -4
  35. package/dist/cjs/tttx.cjs.js +2 -2
  36. package/dist/collection/collection-manifest.json +2 -0
  37. package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
  38. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
  39. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.css +286 -0
  40. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +386 -0
  41. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.stories.js +197 -0
  42. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
  43. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
  44. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
  45. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
  46. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
  47. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
  48. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
  49. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
  50. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
  51. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +2 -2
  52. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
  53. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
  54. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
  55. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
  56. package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +1 -1
  57. package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
  58. package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
  59. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
  60. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
  61. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
  62. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
  63. package/dist/collection/components/molecules/tttx-chart/tttx-chart.css +61 -0
  64. package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +383 -0
  65. package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +112 -0
  66. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
  67. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
  68. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
  69. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
  70. package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +4 -4
  71. package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
  72. package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
  73. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
  74. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
  75. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
  76. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
  77. package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
  78. package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
  79. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
  80. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
  81. package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
  82. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
  83. package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
  84. package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
  85. package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
  86. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
  87. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
  88. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
  89. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
  90. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
  91. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
  92. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
  93. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
  94. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
  95. package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
  96. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
  97. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
  98. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
  99. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
  100. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
  101. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
  102. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
  103. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
  104. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +1 -1
  105. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
  106. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
  107. package/dist/{cjs/tttx-graph_1_9_62.cjs.entry.js → components/auto.js} +1 -135
  108. package/dist/components/index.d.ts +35 -33
  109. package/dist/components/index.js +35 -33
  110. package/dist/components/tttx-action-dropdown_1_9_64.d.ts +11 -0
  111. package/dist/components/{tttx-action-dropdown_1_9_62.js → tttx-action-dropdown_1_9_64.js} +7 -7
  112. package/dist/components/{tttx-comments_1_9_62.d.ts → tttx-button-v2_1_9_64.d.ts} +4 -4
  113. package/dist/components/tttx-button-v2_1_9_64.js +156 -0
  114. package/dist/components/tttx-button.js +5 -5
  115. package/dist/components/{tttx-dialog_1_9_62.d.ts → tttx-button_1_9_64.d.ts} +4 -4
  116. package/dist/components/{tttx-button_1_9_62.js → tttx-button_1_9_64.js} +2 -2
  117. package/dist/components/{tttx-graph_1_9_62.d.ts → tttx-chart_1_9_64.d.ts} +4 -4
  118. package/dist/components/tttx-chart_1_9_64.js +247 -0
  119. package/dist/components/tttx-checkbox-group-caption_1_9_64.d.ts +11 -0
  120. package/dist/components/{tttx-checkbox-group-caption_1_9_62.js → tttx-checkbox-group-caption_1_9_64.js} +5 -5
  121. package/dist/components/tttx-checkbox-group-heading_1_9_64.d.ts +11 -0
  122. package/dist/components/{tttx-checkbox-group-heading_1_9_62.js → tttx-checkbox-group-heading_1_9_64.js} +5 -5
  123. package/dist/components/tttx-checkbox-group_1_9_64.d.ts +11 -0
  124. package/dist/components/{tttx-checkbox-group_1_9_62.js → tttx-checkbox-group_1_9_64.js} +5 -5
  125. package/dist/components/{tttx-datacard_1_9_62.d.ts → tttx-checkbox_1_9_64.d.ts} +4 -4
  126. package/dist/components/{tttx-checkbox_1_9_62.js → tttx-checkbox_1_9_64.js} +7 -7
  127. package/dist/components/{tttx-checkbox_1_9_62.d.ts → tttx-comments_1_9_64.d.ts} +4 -4
  128. package/dist/components/{tttx-comments_1_9_62.js → tttx-comments_1_9_64.js} +9 -9
  129. package/dist/components/tttx-data-pattern_1_9_64.d.ts +11 -0
  130. package/dist/components/{tttx-data-pattern_1_9_62.js → tttx-data-pattern_1_9_64.js} +16 -16
  131. package/dist/components/tttx-datacard_1_9_64.d.ts +11 -0
  132. package/dist/components/{tttx-datacard_1_9_62.js → tttx-datacard_1_9_64.js} +10 -10
  133. package/dist/components/tttx-date-range-picker.js +3 -3
  134. package/dist/components/tttx-dialog-box_1_9_64.d.ts +11 -0
  135. package/dist/components/{tttx-dialog-box_1_9_62.js → tttx-dialog-box_1_9_64.js} +9 -9
  136. package/dist/components/{tttx-button_1_9_62.d.ts → tttx-dialog_1_9_64.d.ts} +4 -4
  137. package/dist/components/{tttx-dialog_1_9_62.js → tttx-dialog_1_9_64.js} +8 -8
  138. package/dist/components/tttx-expander_1_9_64.d.ts +11 -0
  139. package/dist/components/{tttx-expander_1_9_62.js → tttx-expander_1_9_64.js} +7 -7
  140. package/dist/components/tttx-filter.js +6 -6
  141. package/dist/components/{tttx-filter_1_9_62.d.ts → tttx-filter_1_9_64.d.ts} +4 -4
  142. package/dist/components/{tttx-filter_1_9_62.js → tttx-filter_1_9_64.js} +2 -2
  143. package/dist/components/{tttx-tabs_1_9_62.d.ts → tttx-form_1_9_64.d.ts} +4 -4
  144. package/dist/components/{tttx-form_1_9_62.js → tttx-form_1_9_64.js} +11 -11
  145. package/dist/components/tttx-graph.js +4 -14783
  146. package/dist/components/{tttx-table_1_9_62.d.ts → tttx-graph_1_9_64.d.ts} +4 -4
  147. package/dist/components/{tttx-graph_1_9_62.js → tttx-graph_1_9_64.js} +2 -2
  148. package/dist/components/tttx-icon.js +3 -3
  149. package/dist/components/{tttx-icon_1_9_62.d.ts → tttx-icon_1_9_64.d.ts} +4 -4
  150. package/dist/components/{tttx-icon_1_9_62.js → tttx-icon_1_9_64.js} +2 -2
  151. package/dist/components/tttx-keyvalue-block_1_9_64.d.ts +11 -0
  152. package/dist/components/{tttx-keyvalue-block_1_9_62.js → tttx-keyvalue-block_1_9_64.js} +5 -5
  153. package/dist/components/tttx-list.js +6 -6
  154. package/dist/components/{tttx-list_1_9_62.d.ts → tttx-list_1_9_64.d.ts} +4 -4
  155. package/dist/components/{tttx-list_1_9_62.js → tttx-list_1_9_64.js} +2 -2
  156. package/dist/components/tttx-loading-spinner.js +3 -3
  157. package/dist/components/tttx-loading-spinner_1_9_64.d.ts +11 -0
  158. package/dist/components/{tttx-loading-spinner_1_9_62.js → tttx-loading-spinner_1_9_64.js} +2 -2
  159. package/dist/components/tttx-multiselect-box_1_9_64.d.ts +11 -0
  160. package/dist/components/{tttx-multiselect-box_1_9_62.js → tttx-multiselect-box_1_9_64.js} +16 -16
  161. package/dist/components/tttx-percentage-bar_1_9_64.d.ts +11 -0
  162. package/dist/components/{tttx-percentage-bar_1_9_62.js → tttx-percentage-bar_1_9_64.js} +6 -6
  163. package/dist/components/{tttx-qrcode_1_9_62.d.ts → tttx-qrcode_1_9_64.d.ts} +4 -4
  164. package/dist/components/{tttx-qrcode_1_9_62.js → tttx-qrcode_1_9_64.js} +5 -5
  165. package/dist/components/tttx-select-box.js +12 -12
  166. package/dist/components/tttx-select-box_1_9_64.d.ts +11 -0
  167. package/dist/components/{tttx-select-box_1_9_62.js → tttx-select-box_1_9_64.js} +2 -2
  168. package/dist/components/tttx-skeleton_loader_1_9_64.d.ts +11 -0
  169. package/dist/components/{tttx-skeleton_loader_1_9_62.js → tttx-skeleton_loader_1_9_64.js} +5 -5
  170. package/dist/components/tttx-sorter.js +5 -5
  171. package/dist/components/tttx-sorter_1_9_64.d.ts +11 -0
  172. package/dist/components/{tttx-sorter_1_9_62.js → tttx-sorter_1_9_64.js} +2 -2
  173. package/dist/components/tttx-standalone-input.js +6 -6
  174. package/dist/components/tttx-standalone-input_1_9_64.d.ts +11 -0
  175. package/dist/components/{tttx-standalone-input_1_9_62.js → tttx-standalone-input_1_9_64.js} +2 -2
  176. package/dist/components/tttx-table_1_9_64.d.ts +11 -0
  177. package/dist/components/{tttx-table_1_9_62.js → tttx-table_1_9_64.js} +5 -5
  178. package/dist/components/{tttx-form_1_9_62.d.ts → tttx-tabs_1_9_64.d.ts} +4 -4
  179. package/dist/components/{tttx-tabs_1_9_62.js → tttx-tabs_1_9_64.js} +9 -9
  180. package/dist/components/tttx-tag.js +5 -5
  181. package/dist/components/{tttx-tag_1_9_62.d.ts → tttx-tag_1_9_64.d.ts} +4 -4
  182. package/dist/components/{tttx-tag_1_9_62.js → tttx-tag_1_9_64.js} +2 -2
  183. package/dist/components/tttx-textarea_1_9_64.d.ts +11 -0
  184. package/dist/components/{tttx-textarea_1_9_62.js → tttx-textarea_1_9_64.js} +6 -6
  185. package/dist/components/tttx-toggle_1_9_64.d.ts +11 -0
  186. package/dist/components/{tttx-toggle_1_9_62.js → tttx-toggle_1_9_64.js} +5 -5
  187. package/dist/components/tttx-toolbar.js +3 -3
  188. package/dist/components/tttx-toolbar_1_9_64.d.ts +11 -0
  189. package/dist/components/{tttx-toolbar_1_9_62.js → tttx-toolbar_1_9_64.js} +2 -2
  190. package/dist/components/tttx-tree-view_1_9_64.d.ts +11 -0
  191. package/dist/components/{tttx-tree-view_1_9_62.js → tttx-tree-view_1_9_64.js} +9 -9
  192. package/dist/esm/auto-c6e6ac5c.js +14781 -0
  193. package/dist/esm/{index-3d473f8b.js → index-6b9af9c9.js} +12 -0
  194. package/dist/esm/loader.js +3 -3
  195. package/dist/esm/{tttx-action-dropdown_1_9_62.entry.js → tttx-action-dropdown_1_9_64.entry.js} +3 -3
  196. package/dist/esm/tttx-button-v2_1_9_64.entry.js +117 -0
  197. package/dist/esm/{tttx-button_1_9_62.entry.js → tttx-button_1_9_64.entry.js} +3 -3
  198. package/dist/esm/tttx-chart_1_9_64.entry.js +199 -0
  199. package/dist/esm/{tttx-checkbox-group-caption_1_9_62.entry.js → tttx-checkbox-group-caption_1_9_64.entry.js} +2 -2
  200. package/dist/esm/{tttx-checkbox-group-heading_1_9_62.entry.js → tttx-checkbox-group-heading_1_9_64.entry.js} +2 -2
  201. package/dist/esm/{tttx-checkbox-group_1_9_62.entry.js → tttx-checkbox-group_1_9_64.entry.js} +2 -2
  202. package/dist/esm/{tttx-checkbox_1_9_62.entry.js → tttx-checkbox_1_9_64.entry.js} +3 -3
  203. package/dist/esm/{tttx-comments_1_9_62.entry.js → tttx-comments_1_9_64.entry.js} +5 -5
  204. package/dist/esm/{tttx-data-pattern_1_9_62.entry.js → tttx-data-pattern_1_9_64.entry.js} +6 -6
  205. package/dist/esm/{tttx-datacard_1_9_62.entry.js → tttx-datacard_1_9_64.entry.js} +5 -5
  206. package/dist/esm/tttx-date-range-picker.entry.js +2 -2
  207. package/dist/esm/{tttx-dialog-box_1_9_62.entry.js → tttx-dialog-box_1_9_64.entry.js} +4 -4
  208. package/dist/esm/{tttx-dialog_1_9_62.entry.js → tttx-dialog_1_9_64.entry.js} +3 -3
  209. package/dist/esm/{tttx-expander_1_9_62.entry.js → tttx-expander_1_9_64.entry.js} +3 -3
  210. package/dist/esm/{tttx-filter_1_9_62_4.entry.js → tttx-filter_1_9_64_4.entry.js} +7 -7
  211. package/dist/esm/{tttx-form_1_9_62.entry.js → tttx-form_1_9_64.entry.js} +3 -3
  212. package/dist/esm/tttx-graph_1_9_64.entry.js +132 -0
  213. package/dist/esm/{tttx-icon_1_9_62.entry.js → tttx-icon_1_9_64.entry.js} +2 -2
  214. package/dist/esm/{tttx-keyvalue-block_1_9_62.entry.js → tttx-keyvalue-block_1_9_64.entry.js} +2 -2
  215. package/dist/esm/{tttx-loading-spinner_1_9_62_3.entry.js → tttx-loading-spinner_1_9_64_3.entry.js} +5 -5
  216. package/dist/esm/{tttx-multiselect-box_1_9_62.entry.js → tttx-multiselect-box_1_9_64.entry.js} +8 -8
  217. package/dist/esm/{tttx-percentage-bar_1_9_62.entry.js → tttx-percentage-bar_1_9_64.entry.js} +3 -3
  218. package/dist/esm/{tttx-qrcode_1_9_62.entry.js → tttx-qrcode_1_9_64.entry.js} +2 -2
  219. package/dist/esm/{tttx-select-box_1_9_62.entry.js → tttx-select-box_1_9_64.entry.js} +7 -7
  220. package/dist/esm/{tttx-skeleton_loader_1_9_62.entry.js → tttx-skeleton_loader_1_9_64.entry.js} +2 -2
  221. package/dist/esm/{tttx-table_1_9_62.entry.js → tttx-table_1_9_64.entry.js} +2 -2
  222. package/dist/esm/{tttx-tabs_1_9_62.entry.js → tttx-tabs_1_9_64.entry.js} +5 -5
  223. package/dist/esm/{tttx-textarea_1_9_62.entry.js → tttx-textarea_1_9_64.entry.js} +3 -3
  224. package/dist/esm/{tttx-toggle_1_9_62.entry.js → tttx-toggle_1_9_64.entry.js} +2 -2
  225. package/dist/esm/{tttx-tree-view_1_9_62.entry.js → tttx-tree-view_1_9_64.entry.js} +4 -4
  226. package/dist/esm/tttx.js +3 -3
  227. package/dist/tttx/{p-477b66de.entry.js → p-04acb4f7.entry.js} +1 -1
  228. package/dist/tttx/{p-f1e945ba.entry.js → p-1b8af0a1.entry.js} +1 -1
  229. package/dist/tttx/p-1c0db631.entry.js +1 -0
  230. package/dist/tttx/{p-b44ddcb7.entry.js → p-210a3640.entry.js} +1 -1
  231. package/dist/tttx/{p-7bfa4e1e.entry.js → p-28528c3a.entry.js} +1 -1
  232. package/dist/tttx/{p-1814eb61.entry.js → p-28902955.entry.js} +1 -1
  233. package/dist/tttx/{p-bc8c1d08.entry.js → p-2a6e57b3.entry.js} +1 -1
  234. package/dist/tttx/p-39bb618e.js +19 -0
  235. package/dist/tttx/{p-d62c8ed2.entry.js → p-46853736.entry.js} +1 -1
  236. package/dist/tttx/{p-a800aa5d.entry.js → p-46933761.entry.js} +1 -1
  237. package/dist/tttx/{p-a1ba99fb.entry.js → p-46985553.entry.js} +1 -1
  238. package/dist/tttx/{p-cb3b393b.entry.js → p-478169f8.entry.js} +1 -1
  239. package/dist/tttx/{p-b4b5e1e1.entry.js → p-4bc84dcf.entry.js} +1 -1
  240. package/dist/tttx/{p-54060e46.entry.js → p-4e8dee24.entry.js} +1 -1
  241. package/dist/tttx/p-655cebb7.entry.js +1 -0
  242. package/dist/tttx/{p-2636cba4.entry.js → p-6ae828ed.entry.js} +1 -1
  243. package/dist/tttx/{p-24eef142.entry.js → p-72aa3209.entry.js} +1 -1
  244. package/dist/tttx/p-753a802a.entry.js +1 -0
  245. package/dist/tttx/{p-13d3d63c.entry.js → p-79a18842.entry.js} +1 -1
  246. package/dist/tttx/{p-218f3309.entry.js → p-8db27f20.entry.js} +1 -1
  247. package/dist/tttx/{p-972b7449.entry.js → p-92b48e8e.entry.js} +1 -1
  248. package/dist/tttx/{p-8be90d8a.entry.js → p-95ea704b.entry.js} +1 -1
  249. package/dist/tttx/{p-edf27c73.entry.js → p-964b5e1a.entry.js} +1 -1
  250. package/dist/tttx/{p-e84965f0.entry.js → p-99cee169.entry.js} +1 -1
  251. package/dist/tttx/{p-a474dc05.entry.js → p-a380f600.entry.js} +1 -1
  252. package/dist/tttx/{p-2b0fc913.js → p-c2a82822.js} +1 -1
  253. package/dist/tttx/{p-fac3056d.entry.js → p-ce6a69bc.entry.js} +1 -1
  254. package/dist/tttx/{p-61af5028.entry.js → p-cfc7f861.entry.js} +1 -1
  255. package/dist/tttx/{p-19294325.entry.js → p-e0bd4daa.entry.js} +1 -1
  256. package/dist/tttx/{p-67f75171.entry.js → p-e7c92d26.entry.js} +1 -1
  257. package/dist/tttx/{p-acb9e007.entry.js → p-e8d02dd3.entry.js} +1 -1
  258. package/dist/tttx/{p-5f35edd8.entry.js → p-eda88cd9.entry.js} +1 -1
  259. package/dist/tttx/{p-7c7e8951.entry.js → p-ffb09d64.entry.js} +1 -1
  260. package/dist/tttx/tttx.esm.js +1 -1
  261. package/dist/types/components/atoms/tttx-button-v2/tttx-button-v2.d.ts +32 -0
  262. package/dist/types/components/atoms/tttx-button-v2/tttx-button-v2.stories.d.ts +64 -0
  263. package/dist/types/components/molecules/tttx-chart/tttx-chart.d.ts +42 -0
  264. package/dist/types/components/molecules/tttx-chart/tttx-chart.stories.d.ts +11 -0
  265. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
  266. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
  267. package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
  268. package/dist/types/components.d.ts +490 -395
  269. package/package.json +1 -1
  270. package/dist/components/tttx-action-dropdown_1_9_62.d.ts +0 -11
  271. package/dist/components/tttx-checkbox-group-caption_1_9_62.d.ts +0 -11
  272. package/dist/components/tttx-checkbox-group-heading_1_9_62.d.ts +0 -11
  273. package/dist/components/tttx-checkbox-group_1_9_62.d.ts +0 -11
  274. package/dist/components/tttx-data-pattern_1_9_62.d.ts +0 -11
  275. package/dist/components/tttx-dialog-box_1_9_62.d.ts +0 -11
  276. package/dist/components/tttx-expander_1_9_62.d.ts +0 -11
  277. package/dist/components/tttx-keyvalue-block_1_9_62.d.ts +0 -11
  278. package/dist/components/tttx-loading-spinner_1_9_62.d.ts +0 -11
  279. package/dist/components/tttx-multiselect-box_1_9_62.d.ts +0 -11
  280. package/dist/components/tttx-percentage-bar_1_9_62.d.ts +0 -11
  281. package/dist/components/tttx-select-box_1_9_62.d.ts +0 -11
  282. package/dist/components/tttx-skeleton_loader_1_9_62.d.ts +0 -11
  283. package/dist/components/tttx-sorter_1_9_62.d.ts +0 -11
  284. package/dist/components/tttx-standalone-input_1_9_62.d.ts +0 -11
  285. package/dist/components/tttx-textarea_1_9_62.d.ts +0 -11
  286. package/dist/components/tttx-toggle_1_9_62.d.ts +0 -11
  287. package/dist/components/tttx-toolbar_1_9_62.d.ts +0 -11
  288. package/dist/components/tttx-tree-view_1_9_62.d.ts +0 -11
  289. package/dist/tttx/p-bbecd0d9.entry.js +0 -19
@@ -1,24 +1,3 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index$1 = require('./index-ec367fa3.js');
6
-
7
- const gaugeLabelPlugin = {
8
- id: 'gaugeLabel',
9
- beforeDatasetsDraw(chart) {
10
- const { ctx } = chart;
11
- ctx.save();
12
- const xCoor = chart.getDatasetMeta(0).data[0].x;
13
- const yCoor = chart.getDatasetMeta(0).data[0].y - 12;
14
- ctx.font = 'bold 20px sans-serif';
15
- ctx.fillStyle = 'rgba(0, 0, 0, 1)';
16
- ctx.textAlign = 'center';
17
- ctx.textBaseline = 'middle';
18
- ctx.fillText(chart.config.options.gaugeText || '', xCoor, yCoor);
19
- }
20
- };
21
-
22
1
  /*!
23
2
  * @kurkle/color v0.3.2
24
3
  * https://github.com/kurkle/color#readme
@@ -14799,117 +14778,4 @@ const registerables = [
14799
14778
 
14800
14779
  Chart.register(...registerables);
14801
14780
 
14802
- const tttxGraphCss = ":host{display:block;width:100%;height:100%}.chart-container{display:flex;align-items:center;justify-content:center}.overlay-text{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);color:white;font-size:24px;font-weight:bold;text-shadow:2px 2px 4px rgba(0, 0, 0, 0.7);pointer-events:none;}";
14803
-
14804
- Chart.register(DoughnutController, LineController, gaugeLabelPlugin);
14805
- const TttxGraph = class {
14806
- constructor(hostRef) {
14807
- index$1.registerInstance(this, hostRef);
14808
- this.chartConfig = undefined;
14809
- this.chartType = undefined;
14810
- this.chartData = undefined;
14811
- this.chartText = undefined;
14812
- this.formattedData = undefined;
14813
- }
14814
- componentDidLoad() {
14815
- this.formattedData = JSON.parse(this.chartData);
14816
- if (!this.chartConfig) {
14817
- switch (this.chartType) {
14818
- case 'gauge':
14819
- this.chartConfig = this.getGaugeConfig();
14820
- Chart.register(gaugeLabelPlugin);
14821
- break;
14822
- case 'line':
14823
- console.log('line');
14824
- this.chartConfig = this.getLineConfig();
14825
- console.log(this.chartConfig);
14826
- break;
14827
- }
14828
- }
14829
- new Chart(this.canvasElement, JSON.parse(this.chartConfig));
14830
- }
14831
- render() {
14832
- return (index$1.h("div", { class: 'chart-container', style: { 'position': 'relative', 'height': '100%', 'width': '100%' } }, index$1.h("canvas", { ref: (el) => this.canvasElement = el })));
14833
- }
14834
- getLineConfig() {
14835
- console.log(this.formattedData);
14836
- const config = {
14837
- type: 'line',
14838
- data: {
14839
- datasets: [{
14840
- fill: false,
14841
- borderColor: '#00187C',
14842
- tension: 0.1,
14843
- data: this.formattedData
14844
- }]
14845
- },
14846
- options: {
14847
- maintainAspectRatio: false,
14848
- responsive: true,
14849
- plugins: {
14850
- legend: {
14851
- display: false,
14852
- }
14853
- },
14854
- scales: {
14855
- x: {
14856
- type: 'linear',
14857
- position: 'bottom'
14858
- }
14859
- }
14860
- }
14861
- };
14862
- return JSON.stringify(config);
14863
- }
14864
- getGaugeConfig() {
14865
- this.formattedData.push(100 - this.formattedData[0]);
14866
- const config = {
14867
- type: 'doughnut',
14868
- data: {
14869
- datasets: [
14870
- {
14871
- 'data': this.formattedData,
14872
- 'backgroundColor': [
14873
- this.getRAGColour(this.formattedData[0]),
14874
- '#F0F0F0'
14875
- ],
14876
- 'borderWidth': 0,
14877
- 'hoverBorderWidth': 0
14878
- },
14879
- ]
14880
- },
14881
- options: {
14882
- maintainAspectRatio: false,
14883
- responsive: true,
14884
- rotation: 270,
14885
- circumference: 180,
14886
- cutout: '60%',
14887
- gaugeText: this.chartText,
14888
- plugins: {
14889
- legend: {
14890
- display: false,
14891
- },
14892
- tooltip: {
14893
- enabled: false
14894
- },
14895
- hover: {
14896
- enabled: false
14897
- }
14898
- },
14899
- }
14900
- };
14901
- return JSON.stringify(config);
14902
- }
14903
- getRAGColour(perc) {
14904
- if (perc < 50)
14905
- return '#DC0000'; // Red for values below 50
14906
- if (perc < 100)
14907
- return '#F59500'; // Orange for values from 50 to 99
14908
- if (perc === 100)
14909
- return '#A2BB31'; // Green for a value of 100
14910
- return '#F0F0F0'; // Default color
14911
- }
14912
- };
14913
- TttxGraph.style = tttxGraphCss;
14914
-
14915
- exports.tttx_graph_1_9_62 = TttxGraph;
14781
+ export { Chart as C, DoughnutController as D, LineController as L };
@@ -1,38 +1,40 @@
1
1
  /* tttx custom elements */
2
- export { TttxActionDropdown as TttxActionDropdown_1_9_62 } from '../types/components/molecules/tttx-action-dropdown/tttx-action-dropdown';
3
- export { TttxButton as TttxButton_1_9_62 } from '../types/components/atoms/tttx-button/tttx-button';
4
- export { TttxCheckboxGroupCaption as TttxCheckboxGroupCaption_1_9_62 } from '../types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption';
5
- export { TttxCheckboxGroupHeading as TttxCheckboxGroupHeading_1_9_62 } from '../types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading';
6
- export { TttxCheckboxGroup as TttxCheckboxGroup_1_9_62 } from '../types/components/molecules/tttx-checkbox-group/tttx-checkbox-group';
7
- export { TttxCheckbox as TttxCheckbox_1_9_62 } from '../types/components/atoms/tttx-checkbox/tttx-checkbox';
8
- export { TttxComments as TttxComments_1_9_62 } from '../types/components/molecules/tttx-comments/tttx-comments';
9
- export { TttxDataPattern as TttxDataPattern_1_9_62 } from '../types/components/organisms/tttx-data-pattern/tttx-data-pattern';
10
- export { TttxDatacard as TttxDatacard_1_9_62 } from '../types/components/atoms/tttx-datacard/tttx-datacard';
2
+ export { TttxActionDropdown as TttxActionDropdown_1_9_64 } from '../types/components/molecules/tttx-action-dropdown/tttx-action-dropdown';
3
+ export { TttxButton as TttxButtonV2_1_9_64 } from '../types/components/atoms/tttx-button-v2/tttx-button-v2';
4
+ export { TttxButton as TttxButton_1_9_64 } from '../types/components/atoms/tttx-button/tttx-button';
5
+ export { TttxChart as TttxChart_1_9_64 } from '../types/components/molecules/tttx-chart/tttx-chart';
6
+ export { TttxCheckboxGroupCaption as TttxCheckboxGroupCaption_1_9_64 } from '../types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption';
7
+ export { TttxCheckboxGroupHeading as TttxCheckboxGroupHeading_1_9_64 } from '../types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading';
8
+ export { TttxCheckboxGroup as TttxCheckboxGroup_1_9_64 } from '../types/components/molecules/tttx-checkbox-group/tttx-checkbox-group';
9
+ export { TttxCheckbox as TttxCheckbox_1_9_64 } from '../types/components/atoms/tttx-checkbox/tttx-checkbox';
10
+ export { TttxComments as TttxComments_1_9_64 } from '../types/components/molecules/tttx-comments/tttx-comments';
11
+ export { TttxDataPattern as TttxDataPattern_1_9_64 } from '../types/components/organisms/tttx-data-pattern/tttx-data-pattern';
12
+ export { TttxDatacard as TttxDatacard_1_9_64 } from '../types/components/atoms/tttx-datacard/tttx-datacard';
11
13
  export { TttxDateRangePicker as TttxDateRangePicker } from '../types/components/molecules/tttx-date-range-picker/tttx-date-range-picker';
12
- export { TttxDialogBox as TttxDialogBox_1_9_62 } from '../types/components/molecules/tttx-dialog-box/tttx-dialog-box';
13
- export { TttxDialog as TttxDialog_1_9_62 } from '../types/components/molecules/tttx-dialog/tttx-dialog';
14
- export { TttxExpander as TttxExpander_1_9_62 } from '../types/components/molecules/tttx-expander/tttx-expander';
15
- export { TttxFilter as TttxFilter_1_9_62 } from '../types/components/molecules/tttx-filter/tttx-filter';
16
- export { TttxForm as TttxForm_1_9_62 } from '../types/components/molecules/tttx-form/tttx-form';
17
- export { TttxGraph as TttxGraph_1_9_62 } from '../types/components/molecules/tttx-graph/tttx-graph';
18
- export { TttxIcon as TttxIcon_1_9_62 } from '../types/components/atoms/tttx-icon/tttx-icon';
19
- export { TttxKeyvalueBlock as TttxKeyvalueBlock_1_9_62 } from '../types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block';
20
- export { TttxList as TttxList_1_9_62 } from '../types/components/molecules/tttx-list/tttx-list';
21
- export { TttxLoadingSpinner as TttxLoadingSpinner_1_9_62 } from '../types/components/atoms/tttx-loading-spinner/tttx-loading-spinner';
22
- export { TttxMultiselectBox as TttxMultiselectBox_1_9_62 } from '../types/components/molecules/tttx-multiselect-box/tttx-multiselect-box';
23
- export { TttxPercentageBar as TttxPercentageBar_1_9_62 } from '../types/components/atoms/tttx-percentage-bar/tttx-percentage-bar';
24
- export { TttxQrCode as TttxQrcode_1_9_62 } from '../types/components/atoms/tttx-qrcode/tttx-qrcode';
25
- export { TttxSelectBox as TttxSelectBox_1_9_62 } from '../types/components/molecules/tttx-select-box/tttx-select-box';
26
- export { TttxSkeletonLoader as TttxSkeleton_loader_1_9_62 } from '../types/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader';
27
- export { TttxSorter as TttxSorter_1_9_62 } from '../types/components/molecules/tttx-sorter/tttx-sorter';
28
- export { TttxInput as TttxStandaloneInput_1_9_62 } from '../types/components/molecules/tttx-standalone-input/tttx-standalone-input';
29
- export { TttxTable as TttxTable_1_9_62 } from '../types/components/molecules/tttx-table/tttx-table';
30
- export { TttxTabs as TttxTabs_1_9_62 } from '../types/components/molecules/tttx-tabs/tttx-tabs';
31
- export { TttxTag as TttxTag_1_9_62 } from '../types/components/atoms/tttx-tag/tttx-tag';
32
- export { TttxTextarea as TttxTextarea_1_9_62 } from '../types/components/molecules/tttx-textarea/tttx-textarea';
33
- export { TttxToggle as TttxToggle_1_9_62 } from '../types/components/atoms/tttx-toggle/tttx-toggle';
34
- export { TttxToolbar as TttxToolbar_1_9_62 } from '../types/components/molecules/tttx-toolbar/tttx-toolbar';
35
- export { TttxTreeView as TttxTreeView_1_9_62 } from '../types/components/molecules/tttx-tree-view/tttx-tree-view';
14
+ export { TttxDialogBox as TttxDialogBox_1_9_64 } from '../types/components/molecules/tttx-dialog-box/tttx-dialog-box';
15
+ export { TttxDialog as TttxDialog_1_9_64 } from '../types/components/molecules/tttx-dialog/tttx-dialog';
16
+ export { TttxExpander as TttxExpander_1_9_64 } from '../types/components/molecules/tttx-expander/tttx-expander';
17
+ export { TttxFilter as TttxFilter_1_9_64 } from '../types/components/molecules/tttx-filter/tttx-filter';
18
+ export { TttxForm as TttxForm_1_9_64 } from '../types/components/molecules/tttx-form/tttx-form';
19
+ export { TttxGraph as TttxGraph_1_9_64 } from '../types/components/molecules/tttx-graph/tttx-graph';
20
+ export { TttxIcon as TttxIcon_1_9_64 } from '../types/components/atoms/tttx-icon/tttx-icon';
21
+ export { TttxKeyvalueBlock as TttxKeyvalueBlock_1_9_64 } from '../types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block';
22
+ export { TttxList as TttxList_1_9_64 } from '../types/components/molecules/tttx-list/tttx-list';
23
+ export { TttxLoadingSpinner as TttxLoadingSpinner_1_9_64 } from '../types/components/atoms/tttx-loading-spinner/tttx-loading-spinner';
24
+ export { TttxMultiselectBox as TttxMultiselectBox_1_9_64 } from '../types/components/molecules/tttx-multiselect-box/tttx-multiselect-box';
25
+ export { TttxPercentageBar as TttxPercentageBar_1_9_64 } from '../types/components/atoms/tttx-percentage-bar/tttx-percentage-bar';
26
+ export { TttxQrCode as TttxQrcode_1_9_64 } from '../types/components/atoms/tttx-qrcode/tttx-qrcode';
27
+ export { TttxSelectBox as TttxSelectBox_1_9_64 } from '../types/components/molecules/tttx-select-box/tttx-select-box';
28
+ export { TttxSkeletonLoader as TttxSkeleton_loader_1_9_64 } from '../types/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader';
29
+ export { TttxSorter as TttxSorter_1_9_64 } from '../types/components/molecules/tttx-sorter/tttx-sorter';
30
+ export { TttxInput as TttxStandaloneInput_1_9_64 } from '../types/components/molecules/tttx-standalone-input/tttx-standalone-input';
31
+ export { TttxTable as TttxTable_1_9_64 } from '../types/components/molecules/tttx-table/tttx-table';
32
+ export { TttxTabs as TttxTabs_1_9_64 } from '../types/components/molecules/tttx-tabs/tttx-tabs';
33
+ export { TttxTag as TttxTag_1_9_64 } from '../types/components/atoms/tttx-tag/tttx-tag';
34
+ export { TttxTextarea as TttxTextarea_1_9_64 } from '../types/components/molecules/tttx-textarea/tttx-textarea';
35
+ export { TttxToggle as TttxToggle_1_9_64 } from '../types/components/atoms/tttx-toggle/tttx-toggle';
36
+ export { TttxToolbar as TttxToolbar_1_9_64 } from '../types/components/molecules/tttx-toolbar/tttx-toolbar';
37
+ export { TttxTreeView as TttxTreeView_1_9_64 } from '../types/components/molecules/tttx-tree-view/tttx-tree-view';
36
38
 
37
39
  /**
38
40
  * Used to manually set the base path where assets can be found.
@@ -1,35 +1,37 @@
1
1
  export { setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
2
- export { TttxActionDropdown_1_9_62, defineCustomElement as defineCustomElementTttxActionDropdown_1_9_62 } from './tttx-action-dropdown_1_9_62.js';
3
- export { TttxButton_1_9_62, defineCustomElement as defineCustomElementTttxButton_1_9_62 } from './tttx-button_1_9_62.js';
4
- export { TttxCheckboxGroupCaption_1_9_62, defineCustomElement as defineCustomElementTttxCheckboxGroupCaption_1_9_62 } from './tttx-checkbox-group-caption_1_9_62.js';
5
- export { TttxCheckboxGroupHeading_1_9_62, defineCustomElement as defineCustomElementTttxCheckboxGroupHeading_1_9_62 } from './tttx-checkbox-group-heading_1_9_62.js';
6
- export { TttxCheckboxGroup_1_9_62, defineCustomElement as defineCustomElementTttxCheckboxGroup_1_9_62 } from './tttx-checkbox-group_1_9_62.js';
7
- export { TttxCheckbox_1_9_62, defineCustomElement as defineCustomElementTttxCheckbox_1_9_62 } from './tttx-checkbox_1_9_62.js';
8
- export { TttxComments_1_9_62, defineCustomElement as defineCustomElementTttxComments_1_9_62 } from './tttx-comments_1_9_62.js';
9
- export { TttxDataPattern_1_9_62, defineCustomElement as defineCustomElementTttxDataPattern_1_9_62 } from './tttx-data-pattern_1_9_62.js';
10
- export { TttxDatacard_1_9_62, defineCustomElement as defineCustomElementTttxDatacard_1_9_62 } from './tttx-datacard_1_9_62.js';
2
+ export { TttxActionDropdown_1_9_64, defineCustomElement as defineCustomElementTttxActionDropdown_1_9_64 } from './tttx-action-dropdown_1_9_64.js';
3
+ export { TttxButtonV2_1_9_64, defineCustomElement as defineCustomElementTttxButtonV2_1_9_64 } from './tttx-button-v2_1_9_64.js';
4
+ export { TttxButton_1_9_64, defineCustomElement as defineCustomElementTttxButton_1_9_64 } from './tttx-button_1_9_64.js';
5
+ export { TttxChart_1_9_64, defineCustomElement as defineCustomElementTttxChart_1_9_64 } from './tttx-chart_1_9_64.js';
6
+ export { TttxCheckboxGroupCaption_1_9_64, defineCustomElement as defineCustomElementTttxCheckboxGroupCaption_1_9_64 } from './tttx-checkbox-group-caption_1_9_64.js';
7
+ export { TttxCheckboxGroupHeading_1_9_64, defineCustomElement as defineCustomElementTttxCheckboxGroupHeading_1_9_64 } from './tttx-checkbox-group-heading_1_9_64.js';
8
+ export { TttxCheckboxGroup_1_9_64, defineCustomElement as defineCustomElementTttxCheckboxGroup_1_9_64 } from './tttx-checkbox-group_1_9_64.js';
9
+ export { TttxCheckbox_1_9_64, defineCustomElement as defineCustomElementTttxCheckbox_1_9_64 } from './tttx-checkbox_1_9_64.js';
10
+ export { TttxComments_1_9_64, defineCustomElement as defineCustomElementTttxComments_1_9_64 } from './tttx-comments_1_9_64.js';
11
+ export { TttxDataPattern_1_9_64, defineCustomElement as defineCustomElementTttxDataPattern_1_9_64 } from './tttx-data-pattern_1_9_64.js';
12
+ export { TttxDatacard_1_9_64, defineCustomElement as defineCustomElementTttxDatacard_1_9_64 } from './tttx-datacard_1_9_64.js';
11
13
  export { TttxDateRangePicker, defineCustomElement as defineCustomElementTttxDateRangePicker } from './tttx-date-range-picker.js';
12
- export { TttxDialogBox_1_9_62, defineCustomElement as defineCustomElementTttxDialogBox_1_9_62 } from './tttx-dialog-box_1_9_62.js';
13
- export { TttxDialog_1_9_62, defineCustomElement as defineCustomElementTttxDialog_1_9_62 } from './tttx-dialog_1_9_62.js';
14
- export { TttxExpander_1_9_62, defineCustomElement as defineCustomElementTttxExpander_1_9_62 } from './tttx-expander_1_9_62.js';
15
- export { TttxFilter_1_9_62, defineCustomElement as defineCustomElementTttxFilter_1_9_62 } from './tttx-filter_1_9_62.js';
16
- export { TttxForm_1_9_62, defineCustomElement as defineCustomElementTttxForm_1_9_62 } from './tttx-form_1_9_62.js';
17
- export { TttxGraph_1_9_62, defineCustomElement as defineCustomElementTttxGraph_1_9_62 } from './tttx-graph_1_9_62.js';
18
- export { TttxIcon_1_9_62, defineCustomElement as defineCustomElementTttxIcon_1_9_62 } from './tttx-icon_1_9_62.js';
19
- export { TttxKeyvalueBlock_1_9_62, defineCustomElement as defineCustomElementTttxKeyvalueBlock_1_9_62 } from './tttx-keyvalue-block_1_9_62.js';
20
- export { TttxList_1_9_62, defineCustomElement as defineCustomElementTttxList_1_9_62 } from './tttx-list_1_9_62.js';
21
- export { TttxLoadingSpinner_1_9_62, defineCustomElement as defineCustomElementTttxLoadingSpinner_1_9_62 } from './tttx-loading-spinner_1_9_62.js';
22
- export { TttxMultiselectBox_1_9_62, defineCustomElement as defineCustomElementTttxMultiselectBox_1_9_62 } from './tttx-multiselect-box_1_9_62.js';
23
- export { TttxPercentageBar_1_9_62, defineCustomElement as defineCustomElementTttxPercentageBar_1_9_62 } from './tttx-percentage-bar_1_9_62.js';
24
- export { TttxQrcode_1_9_62, defineCustomElement as defineCustomElementTttxQrcode_1_9_62 } from './tttx-qrcode_1_9_62.js';
25
- export { TttxSelectBox_1_9_62, defineCustomElement as defineCustomElementTttxSelectBox_1_9_62 } from './tttx-select-box_1_9_62.js';
26
- export { TttxSkeleton_loader_1_9_62, defineCustomElement as defineCustomElementTttxSkeleton_loader_1_9_62 } from './tttx-skeleton_loader_1_9_62.js';
27
- export { TttxSorter_1_9_62, defineCustomElement as defineCustomElementTttxSorter_1_9_62 } from './tttx-sorter_1_9_62.js';
28
- export { TttxStandaloneInput_1_9_62, defineCustomElement as defineCustomElementTttxStandaloneInput_1_9_62 } from './tttx-standalone-input_1_9_62.js';
29
- export { TttxTable_1_9_62, defineCustomElement as defineCustomElementTttxTable_1_9_62 } from './tttx-table_1_9_62.js';
30
- export { TttxTabs_1_9_62, defineCustomElement as defineCustomElementTttxTabs_1_9_62 } from './tttx-tabs_1_9_62.js';
31
- export { TttxTag_1_9_62, defineCustomElement as defineCustomElementTttxTag_1_9_62 } from './tttx-tag_1_9_62.js';
32
- export { TttxTextarea_1_9_62, defineCustomElement as defineCustomElementTttxTextarea_1_9_62 } from './tttx-textarea_1_9_62.js';
33
- export { TttxToggle_1_9_62, defineCustomElement as defineCustomElementTttxToggle_1_9_62 } from './tttx-toggle_1_9_62.js';
34
- export { TttxToolbar_1_9_62, defineCustomElement as defineCustomElementTttxToolbar_1_9_62 } from './tttx-toolbar_1_9_62.js';
35
- export { TttxTreeView_1_9_62, defineCustomElement as defineCustomElementTttxTreeView_1_9_62 } from './tttx-tree-view_1_9_62.js';
14
+ export { TttxDialogBox_1_9_64, defineCustomElement as defineCustomElementTttxDialogBox_1_9_64 } from './tttx-dialog-box_1_9_64.js';
15
+ export { TttxDialog_1_9_64, defineCustomElement as defineCustomElementTttxDialog_1_9_64 } from './tttx-dialog_1_9_64.js';
16
+ export { TttxExpander_1_9_64, defineCustomElement as defineCustomElementTttxExpander_1_9_64 } from './tttx-expander_1_9_64.js';
17
+ export { TttxFilter_1_9_64, defineCustomElement as defineCustomElementTttxFilter_1_9_64 } from './tttx-filter_1_9_64.js';
18
+ export { TttxForm_1_9_64, defineCustomElement as defineCustomElementTttxForm_1_9_64 } from './tttx-form_1_9_64.js';
19
+ export { TttxGraph_1_9_64, defineCustomElement as defineCustomElementTttxGraph_1_9_64 } from './tttx-graph_1_9_64.js';
20
+ export { TttxIcon_1_9_64, defineCustomElement as defineCustomElementTttxIcon_1_9_64 } from './tttx-icon_1_9_64.js';
21
+ export { TttxKeyvalueBlock_1_9_64, defineCustomElement as defineCustomElementTttxKeyvalueBlock_1_9_64 } from './tttx-keyvalue-block_1_9_64.js';
22
+ export { TttxList_1_9_64, defineCustomElement as defineCustomElementTttxList_1_9_64 } from './tttx-list_1_9_64.js';
23
+ export { TttxLoadingSpinner_1_9_64, defineCustomElement as defineCustomElementTttxLoadingSpinner_1_9_64 } from './tttx-loading-spinner_1_9_64.js';
24
+ export { TttxMultiselectBox_1_9_64, defineCustomElement as defineCustomElementTttxMultiselectBox_1_9_64 } from './tttx-multiselect-box_1_9_64.js';
25
+ export { TttxPercentageBar_1_9_64, defineCustomElement as defineCustomElementTttxPercentageBar_1_9_64 } from './tttx-percentage-bar_1_9_64.js';
26
+ export { TttxQrcode_1_9_64, defineCustomElement as defineCustomElementTttxQrcode_1_9_64 } from './tttx-qrcode_1_9_64.js';
27
+ export { TttxSelectBox_1_9_64, defineCustomElement as defineCustomElementTttxSelectBox_1_9_64 } from './tttx-select-box_1_9_64.js';
28
+ export { TttxSkeleton_loader_1_9_64, defineCustomElement as defineCustomElementTttxSkeleton_loader_1_9_64 } from './tttx-skeleton_loader_1_9_64.js';
29
+ export { TttxSorter_1_9_64, defineCustomElement as defineCustomElementTttxSorter_1_9_64 } from './tttx-sorter_1_9_64.js';
30
+ export { TttxStandaloneInput_1_9_64, defineCustomElement as defineCustomElementTttxStandaloneInput_1_9_64 } from './tttx-standalone-input_1_9_64.js';
31
+ export { TttxTable_1_9_64, defineCustomElement as defineCustomElementTttxTable_1_9_64 } from './tttx-table_1_9_64.js';
32
+ export { TttxTabs_1_9_64, defineCustomElement as defineCustomElementTttxTabs_1_9_64 } from './tttx-tabs_1_9_64.js';
33
+ export { TttxTag_1_9_64, defineCustomElement as defineCustomElementTttxTag_1_9_64 } from './tttx-tag_1_9_64.js';
34
+ export { TttxTextarea_1_9_64, defineCustomElement as defineCustomElementTttxTextarea_1_9_64 } from './tttx-textarea_1_9_64.js';
35
+ export { TttxToggle_1_9_64, defineCustomElement as defineCustomElementTttxToggle_1_9_64 } from './tttx-toggle_1_9_64.js';
36
+ export { TttxToolbar_1_9_64, defineCustomElement as defineCustomElementTttxToolbar_1_9_64 } from './tttx-toolbar_1_9_64.js';
37
+ export { TttxTreeView_1_9_64, defineCustomElement as defineCustomElementTttxTreeView_1_9_64 } from './tttx-tree-view_1_9_64.js';
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxActionDropdown_1_9_64 extends Components.TttxActionDropdown_1_9_64, HTMLElement {}
4
+ export const TttxActionDropdown_1_9_64: {
5
+ prototype: TttxActionDropdown_1_9_64;
6
+ new (): TttxActionDropdown_1_9_64;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -49,13 +49,13 @@ const TttxActionDropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
49
49
  return;
50
50
  const actionKey = `action-dropdown__${this.actionKey}`;
51
51
  const chevronIcon = this.dropdownExpand ? 'keyboard_arrow_up' : 'keyboard_arrow_down';
52
- return (h(Host, { id: actionKey }, h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, h("div", { class: "button-content" }, this.isIconVisible && (h("tttx-icon_1_9_62", { icon: this.icon, color: "black" })), h("span", { class: "action-text" }, this.selectedField)), h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_62", { icon: chevronIcon, color: "black" }))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.actionOptions.map(option => {
52
+ return (h(Host, { id: actionKey }, h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, h("div", { class: "button-content" }, this.isIconVisible && (h("tttx-icon_1_9_64", { icon: this.icon, color: "black" })), h("span", { class: "action-text" }, this.selectedField)), h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_64", { icon: chevronIcon, color: "black" }))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.actionOptions.map(option => {
53
53
  return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
54
54
  }))))));
55
55
  }
56
56
  get el() { return this; }
57
57
  static get style() { return tttxActionDropdownCss; }
58
- }, [1, "tttx-action-dropdown_1_9_62", {
58
+ }, [1, "tttx-action-dropdown_1_9_64", {
59
59
  "actionKey": [1, "action-key"],
60
60
  "icon": [1],
61
61
  "fieldOptionsData": [1, "field-options-data"],
@@ -69,14 +69,14 @@ function defineCustomElement$1() {
69
69
  if (typeof customElements === "undefined") {
70
70
  return;
71
71
  }
72
- const components = ["tttx-action-dropdown_1_9_62", "tttx-icon_1_9_62"];
72
+ const components = ["tttx-action-dropdown_1_9_64", "tttx-icon_1_9_64"];
73
73
  components.forEach(tagName => { switch (tagName) {
74
- case "tttx-action-dropdown_1_9_62":
74
+ case "tttx-action-dropdown_1_9_64":
75
75
  if (!customElements.get(tagName)) {
76
76
  customElements.define(tagName, TttxActionDropdown);
77
77
  }
78
78
  break;
79
- case "tttx-icon_1_9_62":
79
+ case "tttx-icon_1_9_64":
80
80
  if (!customElements.get(tagName)) {
81
81
  defineCustomElement$2();
82
82
  }
@@ -84,7 +84,7 @@ function defineCustomElement$1() {
84
84
  } });
85
85
  }
86
86
 
87
- const TttxActionDropdown_1_9_62 = TttxActionDropdown;
87
+ const TttxActionDropdown_1_9_64 = TttxActionDropdown;
88
88
  const defineCustomElement = defineCustomElement$1;
89
89
 
90
- export { TttxActionDropdown_1_9_62, defineCustomElement };
90
+ export { TttxActionDropdown_1_9_64, defineCustomElement };
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface TttxComments_1_9_62 extends Components.TttxComments_1_9_62, HTMLElement {}
4
- export const TttxComments_1_9_62: {
5
- prototype: TttxComments_1_9_62;
6
- new (): TttxComments_1_9_62;
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;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -0,0 +1,156 @@
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;line-height:16px;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}button.button.btn-size-m{font-size:14px;padding:8px 12px;gap:4px}button.button.btn-size-l{font-size:16px;padding:12px 24px;gap:8px}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-content{font-family:Roboto;display:inline-flex;align-items:center;justify-content:center;gap:4px;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_64{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-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.toggleDropdown = () => {
13
+ if (!this.isDisabled) {
14
+ this.dropdownOpen = !this.dropdownOpen;
15
+ }
16
+ };
17
+ this.handleDropdownItemClick = (item) => {
18
+ this.dropdownOpen = false;
19
+ this.buttonDropdownChange.emit(item);
20
+ };
21
+ this.notext = false;
22
+ this.icon = undefined;
23
+ this.label = undefined;
24
+ this.iconcolor = 'black';
25
+ this.iconposition = 'left';
26
+ this.iconStart = undefined;
27
+ this.iconEnd = undefined;
28
+ this.design = 'primary';
29
+ this.disabled = false;
30
+ this.type = 'button';
31
+ this.href = undefined;
32
+ this.options = [];
33
+ this.size = 'M';
34
+ this.dropdownOpen = false;
35
+ }
36
+ get isDisabled() {
37
+ return this.disabled || this.design === 'disabled';
38
+ }
39
+ get parsedOptions() {
40
+ if (Array.isArray(this.options)) {
41
+ return this.options.map(opt => (typeof opt === 'string' ? { label: opt } : opt));
42
+ }
43
+ try {
44
+ const parsed = JSON.parse(this.options);
45
+ return parsed.map((opt) => (typeof opt === 'string' ? { label: opt } : opt));
46
+ }
47
+ catch (_a) {
48
+ return [];
49
+ }
50
+ }
51
+ get iconSize() {
52
+ switch (this.size) {
53
+ case 'L':
54
+ return 24;
55
+ case 'M':
56
+ return 20;
57
+ case 'S':
58
+ default:
59
+ return 16;
60
+ }
61
+ }
62
+ componentWillLoad() {
63
+ const validDesigns = [
64
+ 'primary',
65
+ 'secondary',
66
+ 'default',
67
+ 'disabled',
68
+ 'danger',
69
+ 'light',
70
+ 'success',
71
+ 'warning',
72
+ 'transparent'
73
+ ];
74
+ const validSizes = ['S', 'M', 'L'];
75
+ if (!validDesigns.includes(this.design)) {
76
+ this.design = 'primary';
77
+ }
78
+ if (!validSizes.includes(this.size)) {
79
+ this.size = 'M';
80
+ }
81
+ if (['primary', 'danger', 'light', 'success', 'warning'].includes(this.design)) {
82
+ this.iconcolor = 'white';
83
+ }
84
+ if (this.design === 'transparent') {
85
+ this.iconcolor = '#1479c6';
86
+ }
87
+ }
88
+ handleClickOutside(event) {
89
+ if (this.dropdownOpen && !this.host.contains(event.target)) {
90
+ this.dropdownOpen = false;
91
+ }
92
+ }
93
+ renderButtonContent() {
94
+ var _a;
95
+ return (h("div", { class: "button-content" }, this.iconStart && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_64", { icon: this.iconStart, color: this.iconcolor, size: this.iconSize }))), !this.notext && (h("div", { class: "label-text" }, (_a = this.label) !== null && _a !== void 0 ? _a : h("slot", null))), this.iconEnd && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_64", { icon: this.iconEnd, color: this.iconcolor, size: this.iconSize }))), this.type === 'dropdown' && (h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_64", { icon: "keyboard_arrow_down", color: this.iconcolor, size: this.iconSize })))));
96
+ }
97
+ renderDropdownList() {
98
+ if (this.type !== 'dropdown' || !this.dropdownOpen)
99
+ return null;
100
+ return (h("ul", { class: "dropdown-list", 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_64", { icon: item.icon, color: "black", size: this.iconSize, class: "dropdown-item-icon" })), h("span", { class: "dropdown-item-label" }, item.label)))))));
101
+ }
102
+ render() {
103
+ const classes = [
104
+ 'button',
105
+ `btn-${this.design}`,
106
+ this.iconStart ? 'icon-start' : '',
107
+ this.iconEnd ? 'icon-end' : '',
108
+ this.notext ? 'notext' : '',
109
+ this.type === 'dropdown' ? 'dropdown-button' : '',
110
+ `btn-size-${this.size.toLowerCase()}`
111
+ ]
112
+ .filter(Boolean)
113
+ .join(' ');
114
+ 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())));
115
+ }
116
+ get host() { return this; }
117
+ static get style() { return tttxButtonV2Css; }
118
+ }, [1, "tttx-button-v2_1_9_64", {
119
+ "notext": [4],
120
+ "icon": [1],
121
+ "label": [1],
122
+ "iconcolor": [1025],
123
+ "iconposition": [1],
124
+ "iconStart": [1, "icon-start"],
125
+ "iconEnd": [1, "icon-end"],
126
+ "design": [1],
127
+ "disabled": [516],
128
+ "type": [1],
129
+ "href": [1],
130
+ "options": [1],
131
+ "size": [1],
132
+ "dropdownOpen": [32]
133
+ }, [[4, "click", "handleClickOutside"]]]);
134
+ function defineCustomElement$1() {
135
+ if (typeof customElements === "undefined") {
136
+ return;
137
+ }
138
+ const components = ["tttx-button-v2_1_9_64", "tttx-icon_1_9_64"];
139
+ components.forEach(tagName => { switch (tagName) {
140
+ case "tttx-button-v2_1_9_64":
141
+ if (!customElements.get(tagName)) {
142
+ customElements.define(tagName, TttxButton);
143
+ }
144
+ break;
145
+ case "tttx-icon_1_9_64":
146
+ if (!customElements.get(tagName)) {
147
+ defineCustomElement$2();
148
+ }
149
+ break;
150
+ } });
151
+ }
152
+
153
+ const TttxButtonV2_1_9_64 = TttxButton;
154
+ const defineCustomElement = defineCustomElement$1;
155
+
156
+ export { TttxButtonV2_1_9_64, 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_62", { 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_62", { 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_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 }))))));
31
31
  }
32
32
  static get style() { return tttxButtonCss; }
33
- }, [1, "tttx-button_1_9_62", {
33
+ }, [1, "tttx-button_1_9_64", {
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_62", "tttx-icon_1_9_62"];
44
+ const components = ["tttx-button_1_9_64", "tttx-icon_1_9_64"];
45
45
  components.forEach(tagName => { switch (tagName) {
46
- case "tttx-button_1_9_62":
46
+ case "tttx-button_1_9_64":
47
47
  if (!customElements.get(tagName)) {
48
48
  customElements.define(tagName, TttxButton);
49
49
  }
50
50
  break;
51
- case "tttx-icon_1_9_62":
51
+ case "tttx-icon_1_9_64":
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_62 extends Components.TttxDialog_1_9_62, HTMLElement {}
4
- export const TttxDialog_1_9_62: {
5
- prototype: TttxDialog_1_9_62;
6
- new (): TttxDialog_1_9_62;
3
+ interface TttxButton_1_9_64 extends Components.TttxButton_1_9_64, HTMLElement {}
4
+ export const TttxButton_1_9_64: {
5
+ prototype: TttxButton_1_9_64;
6
+ new (): TttxButton_1_9_64;
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_62 = TttxButton;
3
+ const TttxButton_1_9_64 = TttxButton;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
- export { TttxButton_1_9_62, defineCustomElement };
6
+ export { TttxButton_1_9_64, defineCustomElement };
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface TttxGraph_1_9_62 extends Components.TttxGraph_1_9_62, HTMLElement {}
4
- export const TttxGraph_1_9_62: {
5
- prototype: TttxGraph_1_9_62;
6
- new (): TttxGraph_1_9_62;
3
+ interface TttxChart_1_9_64 extends Components.TttxChart_1_9_64, HTMLElement {}
4
+ export const TttxChart_1_9_64: {
5
+ prototype: TttxChart_1_9_64;
6
+ new (): TttxChart_1_9_64;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.