@3t-transform/threeteeui 1.4.0 → 1.4.2

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 (213) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/{tttx-button_1_4_0.cjs.entry.js → tttx-button_1_4_2.cjs.entry.js} +2 -2
  3. package/dist/cjs/{tttx-checkbox-group-caption_1_4_0.cjs.entry.js → tttx-checkbox-group-caption_1_4_2.cjs.entry.js} +1 -1
  4. package/dist/cjs/{tttx-checkbox-group-heading_1_4_0.cjs.entry.js → tttx-checkbox-group-heading_1_4_2.cjs.entry.js} +1 -1
  5. package/dist/cjs/{tttx-checkbox-group_1_4_0.cjs.entry.js → tttx-checkbox-group_1_4_2.cjs.entry.js} +1 -1
  6. package/dist/cjs/{tttx-checkbox_1_4_0.cjs.entry.js → tttx-checkbox_1_4_2.cjs.entry.js} +2 -2
  7. package/dist/cjs/{tttx-data-pattern_1_4_0.cjs.entry.js → tttx-data-pattern_1_4_2.cjs.entry.js} +2 -2
  8. package/dist/cjs/{tttx-dialog-box_1_4_0.cjs.entry.js → tttx-dialog-box_1_4_2.cjs.entry.js} +3 -3
  9. package/dist/cjs/{tttx-dialog_1_4_0.cjs.entry.js → tttx-dialog_1_4_2.cjs.entry.js} +2 -2
  10. package/dist/cjs/{tttx-expander_1_4_0.cjs.entry.js → tttx-expander_1_4_2.cjs.entry.js} +2 -2
  11. package/dist/cjs/{tttx-filter_1_4_0_4.cjs.entry.js → tttx-filter_1_4_2_4.cjs.entry.js} +9 -9
  12. package/dist/cjs/{tttx-form_1_4_0.cjs.entry.js → tttx-form_1_4_2.cjs.entry.js} +6 -3
  13. package/dist/cjs/{tttx-icon_1_4_0.cjs.entry.js → tttx-icon_1_4_2.cjs.entry.js} +1 -1
  14. package/dist/cjs/{tttx-keyvalue-block_1_4_0.cjs.entry.js → tttx-keyvalue-block_1_4_2.cjs.entry.js} +1 -1
  15. package/dist/cjs/{tttx-loading-spinner_1_4_0.cjs.entry.js → tttx-loading-spinner_1_4_2.cjs.entry.js} +1 -1
  16. package/dist/cjs/{tttx-multiselect-box_1_4_0.cjs.entry.js → tttx-multiselect-box_1_4_2.cjs.entry.js} +6 -6
  17. package/dist/cjs/{tttx-percentage-bar_1_4_0.cjs.entry.js → tttx-percentage-bar_1_4_2.cjs.entry.js} +2 -2
  18. package/dist/cjs/{tttx-qrcode_1_4_0.cjs.entry.js → tttx-qrcode_1_4_2.cjs.entry.js} +1 -1
  19. package/dist/cjs/{tttx-select-box_1_4_0.cjs.entry.js → tttx-select-box_1_4_2.cjs.entry.js} +34 -23
  20. package/dist/cjs/tttx-standalone-input_1_4_2.cjs.entry.js +94 -0
  21. package/dist/cjs/{tttx-tabs_1_4_0.cjs.entry.js → tttx-tabs_1_4_2.cjs.entry.js} +4 -4
  22. package/dist/cjs/{tttx-tag_1_4_0.cjs.entry.js → tttx-tag_1_4_2.cjs.entry.js} +1 -1
  23. package/dist/cjs/{tttx-textarea_1_4_0.cjs.entry.js → tttx-textarea_1_4_2.cjs.entry.js} +2 -2
  24. package/dist/cjs/{tttx-tree-view_1_4_0.cjs.entry.js → tttx-tree-view_1_4_2.cjs.entry.js} +3 -3
  25. package/dist/cjs/tttx.cjs.js +1 -1
  26. package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
  27. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +20 -20
  28. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
  29. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
  30. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
  31. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
  32. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
  33. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
  34. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
  35. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +1 -1
  36. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
  37. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
  38. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
  39. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
  40. package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +1 -1
  41. package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
  42. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
  43. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
  44. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
  45. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
  46. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
  47. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
  48. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
  49. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
  50. package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
  51. package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
  52. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
  53. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
  54. package/dist/collection/components/molecules/tttx-form/tttx-form.css +28 -13
  55. package/dist/collection/components/molecules/tttx-form/tttx-form.js +5 -2
  56. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +5 -5
  57. package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
  58. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +46 -46
  59. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +6 -6
  60. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +33 -33
  61. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.css +28 -1
  62. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +85 -22
  63. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +33 -16
  64. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
  65. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
  66. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.css +28 -13
  67. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
  68. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
  69. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
  70. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
  71. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
  72. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
  73. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
  74. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
  75. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
  76. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +8 -8
  77. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +2 -2
  78. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
  79. package/dist/components/index.d.ts +26 -26
  80. package/dist/components/index.js +26 -26
  81. package/dist/components/tttx-button.js +5 -5
  82. package/dist/components/{tttx-button_1_4_0.d.ts → tttx-button_1_4_2.d.ts} +4 -4
  83. package/dist/components/{tttx-button_1_4_0.js → tttx-button_1_4_2.js} +2 -2
  84. package/dist/components/tttx-checkbox-group-caption_1_4_2.d.ts +11 -0
  85. package/dist/components/{tttx-checkbox-group-caption_1_4_0.js → tttx-checkbox-group-caption_1_4_2.js} +5 -5
  86. package/dist/components/tttx-checkbox-group-heading_1_4_2.d.ts +11 -0
  87. package/dist/components/{tttx-checkbox-group-heading_1_4_0.js → tttx-checkbox-group-heading_1_4_2.js} +5 -5
  88. package/dist/components/tttx-checkbox-group_1_4_2.d.ts +11 -0
  89. package/dist/components/{tttx-checkbox-group_1_4_0.js → tttx-checkbox-group_1_4_2.js} +5 -5
  90. package/dist/components/{tttx-expander_1_4_0.d.ts → tttx-checkbox_1_4_2.d.ts} +4 -4
  91. package/dist/components/{tttx-checkbox_1_4_0.js → tttx-checkbox_1_4_2.js} +7 -7
  92. package/dist/components/tttx-data-pattern_1_4_2.d.ts +11 -0
  93. package/dist/components/{tttx-data-pattern_1_4_0.js → tttx-data-pattern_1_4_2.js} +13 -13
  94. package/dist/components/{tttx-dialog-box_1_4_0.d.ts → tttx-dialog-box_1_4_2.d.ts} +4 -4
  95. package/dist/components/{tttx-dialog-box_1_4_0.js → tttx-dialog-box_1_4_2.js} +9 -9
  96. package/dist/components/{tttx-filter_1_4_0.d.ts → tttx-dialog_1_4_2.d.ts} +4 -4
  97. package/dist/components/{tttx-dialog_1_4_0.js → tttx-dialog_1_4_2.js} +8 -8
  98. package/dist/components/{tttx-checkbox_1_4_0.d.ts → tttx-expander_1_4_2.d.ts} +4 -4
  99. package/dist/components/{tttx-expander_1_4_0.js → tttx-expander_1_4_2.js} +7 -7
  100. package/dist/components/tttx-filter.js +6 -6
  101. package/dist/components/{tttx-qrcode_1_4_0.d.ts → tttx-filter_1_4_2.d.ts} +4 -4
  102. package/dist/components/{tttx-filter_1_4_0.js → tttx-filter_1_4_2.js} +2 -2
  103. package/dist/components/{tttx-icon_1_4_0.d.ts → tttx-form_1_4_2.d.ts} +4 -4
  104. package/dist/components/{tttx-form_1_4_0.js → tttx-form_1_4_2.js} +13 -10
  105. package/dist/components/tttx-icon.js +3 -3
  106. package/dist/components/{tttx-list_1_4_0.d.ts → tttx-icon_1_4_2.d.ts} +4 -4
  107. package/dist/components/{tttx-icon_1_4_0.js → tttx-icon_1_4_2.js} +2 -2
  108. package/dist/components/tttx-keyvalue-block_1_4_2.d.ts +11 -0
  109. package/dist/components/{tttx-keyvalue-block_1_4_0.js → tttx-keyvalue-block_1_4_2.js} +5 -5
  110. package/dist/components/tttx-list.js +6 -6
  111. package/dist/components/{tttx-form_1_4_0.d.ts → tttx-list_1_4_2.d.ts} +4 -4
  112. package/dist/components/{tttx-list_1_4_0.js → tttx-list_1_4_2.js} +2 -2
  113. package/dist/components/tttx-loading-spinner_1_4_2.d.ts +11 -0
  114. package/dist/components/{tttx-loading-spinner_1_4_0.js → tttx-loading-spinner_1_4_2.js} +5 -5
  115. package/dist/components/tttx-multiselect-box_1_4_2.d.ts +11 -0
  116. package/dist/components/{tttx-multiselect-box_1_4_0.js → tttx-multiselect-box_1_4_2.js} +13 -13
  117. package/dist/components/tttx-percentage-bar_1_4_2.d.ts +11 -0
  118. package/dist/components/{tttx-percentage-bar_1_4_0.js → tttx-percentage-bar_1_4_2.js} +6 -6
  119. package/dist/components/{tttx-dialog_1_4_0.d.ts → tttx-qrcode_1_4_2.d.ts} +4 -4
  120. package/dist/components/{tttx-qrcode_1_4_0.js → tttx-qrcode_1_4_2.js} +5 -5
  121. package/dist/components/tttx-select-box.js +41 -27
  122. package/dist/components/tttx-select-box_1_4_2.d.ts +11 -0
  123. package/dist/components/{tttx-select-box_1_4_0.js → tttx-select-box_1_4_2.js} +2 -2
  124. package/dist/components/tttx-sorter.js +5 -5
  125. package/dist/components/tttx-sorter_1_4_2.d.ts +11 -0
  126. package/dist/components/{tttx-sorter_1_4_0.js → tttx-sorter_1_4_2.js} +2 -2
  127. package/dist/components/tttx-standalone-input.js +6 -6
  128. package/dist/components/tttx-standalone-input_1_4_2.d.ts +11 -0
  129. package/dist/components/{tttx-standalone-input_1_4_0.js → tttx-standalone-input_1_4_2.js} +2 -2
  130. package/dist/components/{tttx-tabs_1_4_0.d.ts → tttx-tabs_1_4_2.d.ts} +4 -4
  131. package/dist/components/{tttx-tabs_1_4_0.js → tttx-tabs_1_4_2.js} +9 -9
  132. package/dist/components/{tttx-tag_1_4_0.d.ts → tttx-tag_1_4_2.d.ts} +4 -4
  133. package/dist/components/{tttx-tag_1_4_0.js → tttx-tag_1_4_2.js} +5 -5
  134. package/dist/components/tttx-textarea_1_4_2.d.ts +11 -0
  135. package/dist/components/{tttx-textarea_1_4_0.js → tttx-textarea_1_4_2.js} +6 -6
  136. package/dist/components/tttx-toolbar.js +3 -3
  137. package/dist/components/{tttx-toolbar_1_4_0.d.ts → tttx-toolbar_1_4_2.d.ts} +4 -4
  138. package/dist/components/{tttx-toolbar_1_4_0.js → tttx-toolbar_1_4_2.js} +2 -2
  139. package/dist/components/tttx-tree-view_1_4_2.d.ts +11 -0
  140. package/dist/components/{tttx-tree-view_1_4_0.js → tttx-tree-view_1_4_2.js} +9 -9
  141. package/dist/esm/loader.js +1 -1
  142. package/dist/esm/{tttx-button_1_4_0.entry.js → tttx-button_1_4_2.entry.js} +2 -2
  143. package/dist/esm/{tttx-checkbox-group-caption_1_4_0.entry.js → tttx-checkbox-group-caption_1_4_2.entry.js} +1 -1
  144. package/dist/esm/{tttx-checkbox-group-heading_1_4_0.entry.js → tttx-checkbox-group-heading_1_4_2.entry.js} +1 -1
  145. package/dist/esm/{tttx-checkbox-group_1_4_0.entry.js → tttx-checkbox-group_1_4_2.entry.js} +1 -1
  146. package/dist/esm/{tttx-checkbox_1_4_0.entry.js → tttx-checkbox_1_4_2.entry.js} +2 -2
  147. package/dist/esm/{tttx-data-pattern_1_4_0.entry.js → tttx-data-pattern_1_4_2.entry.js} +2 -2
  148. package/dist/esm/{tttx-dialog-box_1_4_0.entry.js → tttx-dialog-box_1_4_2.entry.js} +3 -3
  149. package/dist/esm/{tttx-dialog_1_4_0.entry.js → tttx-dialog_1_4_2.entry.js} +2 -2
  150. package/dist/esm/{tttx-expander_1_4_0.entry.js → tttx-expander_1_4_2.entry.js} +2 -2
  151. package/dist/esm/{tttx-filter_1_4_0_4.entry.js → tttx-filter_1_4_2_4.entry.js} +6 -6
  152. package/dist/esm/{tttx-form_1_4_0.entry.js → tttx-form_1_4_2.entry.js} +6 -3
  153. package/dist/esm/{tttx-icon_1_4_0.entry.js → tttx-icon_1_4_2.entry.js} +1 -1
  154. package/dist/esm/{tttx-keyvalue-block_1_4_0.entry.js → tttx-keyvalue-block_1_4_2.entry.js} +1 -1
  155. package/dist/esm/{tttx-loading-spinner_1_4_0.entry.js → tttx-loading-spinner_1_4_2.entry.js} +1 -1
  156. package/dist/esm/{tttx-multiselect-box_1_4_0.entry.js → tttx-multiselect-box_1_4_2.entry.js} +6 -6
  157. package/dist/esm/{tttx-percentage-bar_1_4_0.entry.js → tttx-percentage-bar_1_4_2.entry.js} +2 -2
  158. package/dist/esm/{tttx-qrcode_1_4_0.entry.js → tttx-qrcode_1_4_2.entry.js} +1 -1
  159. package/dist/esm/{tttx-select-box_1_4_0.entry.js → tttx-select-box_1_4_2.entry.js} +34 -23
  160. package/dist/esm/tttx-standalone-input_1_4_2.entry.js +90 -0
  161. package/dist/esm/{tttx-tabs_1_4_0.entry.js → tttx-tabs_1_4_2.entry.js} +4 -4
  162. package/dist/esm/{tttx-tag_1_4_0.entry.js → tttx-tag_1_4_2.entry.js} +1 -1
  163. package/dist/esm/{tttx-textarea_1_4_0.entry.js → tttx-textarea_1_4_2.entry.js} +2 -2
  164. package/dist/esm/{tttx-tree-view_1_4_0.entry.js → tttx-tree-view_1_4_2.entry.js} +3 -3
  165. package/dist/esm/tttx.js +1 -1
  166. package/dist/tttx/p-0e515960.entry.js +1 -1
  167. package/dist/tttx/p-1e5ff5f8.entry.js +1 -1
  168. package/dist/tttx/p-23f45005.entry.js +1 -1
  169. package/dist/tttx/p-3676cddd.entry.js +1 -1
  170. package/dist/tttx/p-56c8c353.entry.js +1 -1
  171. package/dist/tttx/p-59c7b049.entry.js +1 -1
  172. package/dist/tttx/p-5d2706b1.entry.js +1 -1
  173. package/dist/tttx/p-63ad6fb7.entry.js +1 -1
  174. package/dist/tttx/p-6b1c7a21.entry.js +1 -1
  175. package/dist/tttx/p-6deb8699.entry.js +1 -1
  176. package/dist/tttx/p-7077c8ed.entry.js +1 -0
  177. package/dist/tttx/p-796f699a.entry.js +1 -1
  178. package/dist/tttx/p-884f37d3.entry.js +1 -1
  179. package/dist/tttx/p-8b0b95b7.entry.js +1 -0
  180. package/dist/tttx/p-9434561e.entry.js +1 -1
  181. package/dist/tttx/p-983d63ff.entry.js +1 -1
  182. package/dist/tttx/p-a01e679a.entry.js +1 -1
  183. package/dist/tttx/p-a8e76e78.entry.js +1 -1
  184. package/dist/tttx/p-c08a54f9.entry.js +1 -0
  185. package/dist/tttx/p-c170e3b8.entry.js +1 -1
  186. package/dist/tttx/p-ee358ce4.entry.js +1 -1
  187. package/dist/tttx/p-f374e293.entry.js +1 -1
  188. package/dist/tttx/p-f4db1cf2.entry.js +1 -1
  189. package/dist/tttx/tttx.esm.js +1 -1
  190. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +6 -3
  191. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.stories.d.ts +17 -0
  192. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
  193. package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
  194. package/dist/types/components.d.ts +310 -304
  195. package/package.json +1 -1
  196. package/dist/cjs/tttx-standalone-input_1_4_0.cjs.entry.js +0 -94
  197. package/dist/components/tttx-checkbox-group-caption_1_4_0.d.ts +0 -11
  198. package/dist/components/tttx-checkbox-group-heading_1_4_0.d.ts +0 -11
  199. package/dist/components/tttx-checkbox-group_1_4_0.d.ts +0 -11
  200. package/dist/components/tttx-data-pattern_1_4_0.d.ts +0 -11
  201. package/dist/components/tttx-keyvalue-block_1_4_0.d.ts +0 -11
  202. package/dist/components/tttx-loading-spinner_1_4_0.d.ts +0 -11
  203. package/dist/components/tttx-multiselect-box_1_4_0.d.ts +0 -11
  204. package/dist/components/tttx-percentage-bar_1_4_0.d.ts +0 -11
  205. package/dist/components/tttx-select-box_1_4_0.d.ts +0 -11
  206. package/dist/components/tttx-sorter_1_4_0.d.ts +0 -11
  207. package/dist/components/tttx-standalone-input_1_4_0.d.ts +0 -11
  208. package/dist/components/tttx-textarea_1_4_0.d.ts +0 -11
  209. package/dist/components/tttx-tree-view_1_4_0.d.ts +0 -11
  210. package/dist/esm/tttx-standalone-input_1_4_0.entry.js +0 -90
  211. package/dist/tttx/p-0f439f10.entry.js +0 -1
  212. package/dist/tttx/p-81aaafa0.entry.js +0 -1
  213. package/dist/tttx/p-fe967031.entry.js +0 -1
@@ -1,12 +1,23 @@
1
1
  export default {
2
2
  title: 'molecules/Select Box',
3
3
  component: 'tttx-select-box',
4
+ argTypes: {
5
+ errorMsg: {
6
+ control: { type: 'text' },
7
+ },
8
+ showErrorBubble: {
9
+ control: { type: 'boolean' },
10
+ },
11
+ showErrorMsg: {
12
+ control: { type: 'boolean' },
13
+ },
14
+ },
4
15
  };
5
16
  const options = [
6
17
  { value: 'Bonnie', label: 'Steuber', description: 'Practical Course' },
7
18
  { value: 'Priscilla', label: 'Lowe', description: 'E-learn course' },
8
19
  { value: 'Andy', label: 'Thompson-Keebler', html: '<span style="color: red">Thompson-Keebler</span>' },
9
- { value: 'egg', label: 'egg', html: '<tttx-icon_1_4_0 icon="egg" />', description: 'Practical Course' },
20
+ { value: 'egg', label: 'egg', html: '<tttx-icon_1_4_2 icon="egg" />', description: 'Practical Course' },
10
21
  { value: 'Terence', label: 'Hyatt' },
11
22
  { value: 'Ruben', label: 'Toy', description: 'E-learn course' },
12
23
  { value: 'Rhiannon', label: 'Hills' },
@@ -21,14 +32,17 @@ const options = [
21
32
  { value: 'Ronaldo', label: 'Mann' },
22
33
  ];
23
34
  const TemplateHTMLSelectBox = args => `
24
- <tttx-select-box_1_4_0
35
+ <tttx-select-box_1_4_2
25
36
  id="htmlSelectBox"
26
37
  options-data='${JSON.stringify(args.optionsData)}'
27
38
  label='${args.label}'
28
39
  placeholder='${args.placeholder}'
29
40
  search-enabled='${args.searchEnabled}'
30
41
  inline='${args.inline}'
31
- ></tttx-select-box_1_4_0>
42
+ error-msg="${args.errorMsg}"
43
+ show-error-bubble="${args.showErrorBubble === false ? 'false' : 'true'}"
44
+ ${args.showErrorMsg ? 'show-error-msg' : ''}
45
+ ></tttx-select-box_1_4_2>
32
46
  <script>
33
47
  // Handle case where storybook renders this story twice
34
48
  if (!htmlSelectBox.length) {
@@ -46,13 +60,16 @@ BasicHTMLSelectBox.args = {
46
60
  inline: false,
47
61
  };
48
62
  const TemplateJSXSelectBox = args => `
49
- <tttx-select-box_1_4_0
63
+ <tttx-select-box_1_4_2
50
64
  id='objectSelectBox'
51
65
  label='${args.label}'
52
66
  placeholder='${args.placeholder}'
53
67
  search-enabled='${args.searchEnabled}'
54
68
  inline='${args.inline}'
55
- ></tttx-select-box_1_4_0>
69
+ error-msg="${args.errorMsg}"
70
+ show-error-bubble="${args.showErrorBubble === false ? 'false' : 'true'}"
71
+ ${args.showErrorMsg ? 'show-error-msg' : ''}
72
+ ></tttx-select-box_1_4_2>
56
73
  <script>
57
74
  objectSelectBox.optionsData = ${JSON.stringify(args.optionsData)}
58
75
  objectSelectBox.addEventListener('toggleOpen', (ev) => { console.log(ev) })
@@ -68,16 +85,16 @@ BasicJSXSelectBox.args = {
68
85
  inline: false,
69
86
  };
70
87
  const tagOptions = [
71
- { value: '1', label: 'Client', html: '<tttx-tag_1_4_0 text="Client" color="#f2bebe"></tttx-tag_1_4_0>' },
72
- { value: '2', label: 'Job Role', html: '<tttx-tag_1_4_0 text="Job Role" color="#f9e1be"></tttx-tag_1_4_0>' },
73
- { value: '3', label: 'Project', html: '<tttx-tag_1_4_0 text="Project" color="#e4ebc9"></tttx-tag_1_4_0>' },
88
+ { value: '1', label: 'Client', html: '<tttx-tag_1_4_2 text="Client" color="#f2bebe"></tttx-tag_1_4_2>' },
89
+ { value: '2', label: 'Job Role', html: '<tttx-tag_1_4_2 text="Job Role" color="#f9e1be"></tttx-tag_1_4_2>' },
90
+ { value: '3', label: 'Project', html: '<tttx-tag_1_4_2 text="Project" color="#e4ebc9"></tttx-tag_1_4_2>' },
74
91
  ];
75
92
  const TttxDialogBoxStory = ({ data }) => `
76
93
  <button onclick="openDialog()">Open</button>
77
- <tttx-dialog-box_1_4_0
94
+ <tttx-dialog-box_1_4_2
78
95
  id='dialogBox'
79
96
  allow-overflow='true'
80
- ></tttx-dialog-box_1_4_0>
97
+ ></tttx-dialog-box_1_4_2>
81
98
  <script>
82
99
  if(!dialogBox) {
83
100
  const dialogBox = document.getElementById('dialogBox');
@@ -103,7 +120,7 @@ DialogBoxWithDropdown.args = {
103
120
  isCustomHtml: true,
104
121
  customHtml: `
105
122
  <div style="padding: 5px; display: flex; gap: 16px; flex-direction: column">
106
- <tttx-select-box_1_4_0
123
+ <tttx-select-box_1_4_2
107
124
  id="htmlSelectBox"
108
125
  options-data='${JSON.stringify(tagOptions)}'
109
126
  label='Label'
@@ -111,17 +128,17 @@ DialogBoxWithDropdown.args = {
111
128
  search-enabled='${true}'
112
129
  inline='${false}'
113
130
  selected-value='${tagOptions[1].value}'
114
- ></tttx-select-box_1_4_0>
115
- <tttx-standalone-input_1_4_0
131
+ ></tttx-select-box_1_4_2>
132
+ <tttx-standalone-input_1_4_2
116
133
  label='Name'
117
134
  placeholder='Enter name'
118
- ></tttx-standalone-input_1_4_0>
119
- <tttx-select-box_1_4_0
135
+ ></tttx-standalone-input_1_4_2>
136
+ <tttx-select-box_1_4_2
120
137
  id="htmlSelectBox2"
121
138
  options-data='${JSON.stringify(options)}'
122
139
  label='Label 2'
123
140
  placeholder='Placeholder 2'
124
- ></tttx-select-box_1_4_0>
141
+ ></tttx-select-box_1_4_2>
125
142
  </div>
126
143
  `,
127
144
  },
@@ -98,11 +98,11 @@ export class TttxSorter {
98
98
  const selectedOption = this.selectedField;
99
99
  const dropdownSelectorClassNameModifier = this.dropdownExpand ? '--expanded' : '';
100
100
  const sorterKey = `sorter__${this.sorterKey}`;
101
- return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-icon_1_4_0", { icon: arrowIcon, color: "black" })), h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, h("div", { class: "dropdown-selector-button" }, h("div", { class: "dropdown-selector-text" }, selectedOption), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_1_4_0", { icon: chevronIcon, color: "black" })))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.sorterOptions.map(option => {
101
+ return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-icon_1_4_2", { icon: arrowIcon, color: "black" })), h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, h("div", { class: "dropdown-selector-button" }, h("div", { class: "dropdown-selector-text" }, selectedOption), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_1_4_2", { icon: chevronIcon, color: "black" })))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.sorterOptions.map(option => {
102
102
  return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
103
103
  }))))));
104
104
  }
105
- static get is() { return "tttx-sorter_1_4_0"; }
105
+ static get is() { return "tttx-sorter_1_4_2"; }
106
106
  static get encapsulation() { return "shadow"; }
107
107
  static get originalStyleUrls() {
108
108
  return {
@@ -23,7 +23,7 @@ export default {
23
23
  const TemplateSorter = ({ fieldOptionsData, sorterKey, defaultOption }) => {
24
24
  return `
25
25
  <div style='width: 250px;'>
26
- <tttx-sorter_1_4_0
26
+ <tttx-sorter_1_4_2
27
27
  field-options-data='${JSON.stringify(fieldOptionsData)}'
28
28
  default-option='${defaultOption}'
29
29
  sorter-key='${sorterKey}'/>
@@ -37,59 +37,71 @@ label .outer-container .left-icons {
37
37
  label .outer-container .right-icons {
38
38
  right: 8px;
39
39
  }
40
- label .outer-container input, label .outer-container textarea {
40
+ label .outer-container input,
41
+ label .outer-container textarea {
41
42
  color: #212121;
42
43
  box-sizing: border-box;
43
44
  border: 1px solid #d5d5d5;
44
45
  border-radius: 4px;
46
+ margin-top: 4px;
45
47
  padding: 0;
46
48
  padding-left: 16px;
47
49
  padding-right: 16px;
48
- margin-top: 4px;
49
50
  /* iPhone OS fix */
50
51
  }
51
- label .outer-container input.has-input-icon, label .outer-container textarea.has-input-icon {
52
+ label .outer-container input.has-input-icon,
53
+ label .outer-container textarea.has-input-icon {
52
54
  padding-left: 40px;
53
55
  }
54
- label .outer-container input.has-input-icon.has-left-icon, label .outer-container textarea.has-input-icon.has-left-icon {
56
+ label .outer-container input.has-input-icon.has-left-icon,
57
+ label .outer-container textarea.has-input-icon.has-left-icon {
55
58
  padding-left: 72px;
56
59
  }
57
- label .outer-container input.has-left-icon, label .outer-container textarea.has-left-icon {
60
+ label .outer-container input.has-left-icon,
61
+ label .outer-container textarea.has-left-icon {
58
62
  padding-left: 40px;
59
63
  }
60
- label .outer-container input.has-right-icon, label .outer-container textarea.has-right-icon {
64
+ label .outer-container input.has-right-icon,
65
+ label .outer-container textarea.has-right-icon {
61
66
  padding-right: 40px;
62
67
  }
63
- label .outer-container input.invalid, label .outer-container textarea.invalid {
68
+ label .outer-container input.invalid,
69
+ label .outer-container textarea.invalid {
64
70
  border: 1px solid #dc0000;
65
71
  }
66
- label .outer-container input:not([type=submit]), label .outer-container textarea:not([type=submit]) {
72
+ label .outer-container input:not([type=submit]),
73
+ label .outer-container textarea:not([type=submit]) {
67
74
  font-family: "Roboto", serif;
68
75
  width: 100%;
69
76
  height: 36px;
70
77
  font-size: 16px;
71
78
  line-height: 18.752px;
72
79
  }
73
- label .outer-container input[type=radio], label .outer-container textarea[type=radio] {
80
+ label .outer-container input[type=radio],
81
+ label .outer-container textarea[type=radio] {
74
82
  width: 20px;
75
83
  height: 20px;
76
84
  }
77
- label .outer-container input[type=date], label .outer-container textarea[type=date] {
85
+ label .outer-container input[type=date],
86
+ label .outer-container textarea[type=date] {
78
87
  background: white;
79
88
  display: block;
80
89
  min-width: calc(100% - 18px);
81
90
  line-height: 37px;
82
91
  }
83
- label .outer-container input[readonly], label .outer-container textarea[readonly] {
92
+ label .outer-container input[readonly],
93
+ label .outer-container textarea[readonly] {
84
94
  cursor: default;
85
95
  pointer-events: none;
86
96
  user-select: none;
87
97
  color: gray;
88
98
  }
89
- label .outer-container input:focus, label .outer-container textarea:focus {
99
+ label .outer-container input:focus,
100
+ label .outer-container textarea:focus {
90
101
  border-color: #1479c6;
91
102
  }
92
- label .outer-container input:focus-visible, label .outer-container textarea:focus-visible {
103
+ label .outer-container input:focus-visible,
104
+ label .outer-container textarea:focus-visible {
93
105
  outline: none;
94
106
  }
95
107
  label .outer-container textarea {
@@ -98,6 +110,9 @@ label .outer-container textarea {
98
110
  min-height: 100px;
99
111
  resize: vertical;
100
112
  }
113
+ label .outer-container textarea.resize-none {
114
+ resize: none;
115
+ }
101
116
  label .outer-container.inputBlock {
102
117
  display: flex;
103
118
  align-items: center;
@@ -72,9 +72,9 @@ export class TttxInput {
72
72
  this.iconleft ? 'has-left-icon' : '',
73
73
  this.iconright ? 'has-right-icon' : '',
74
74
  ].join(' ');
75
- return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (h("span", { class: "left-icons" }, this.inputicon && (h("tttx-icon_1_4_0", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_4_0", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (h("span", { class: "right-icons" }, h("tttx-icon_1_4_0", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
75
+ return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (h("span", { class: "left-icons" }, this.inputicon && (h("tttx-icon_1_4_2", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_4_2", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (h("span", { class: "right-icons" }, h("tttx-icon_1_4_2", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
76
76
  }
77
- static get is() { return "tttx-standalone-input_1_4_0"; }
77
+ static get is() { return "tttx-standalone-input_1_4_2"; }
78
78
  static get encapsulation() { return "scoped"; }
79
79
  static get originalStyleUrls() {
80
80
  return {
@@ -360,10 +360,10 @@ export class TttxInput {
360
360
  "docs": {
361
361
  "tags": [{
362
362
  "name": "example",
363
- "text": "<caption>In HTML (like `index.html`)</caption>\n<tttx-standalone-input_1_4_0 input-index=\"1\" />"
363
+ "text": "<caption>In HTML (like `index.html`)</caption>\n<tttx-standalone-input_1_4_2 input-index=\"1\" />"
364
364
  }, {
365
365
  "name": "example",
366
- "text": "<caption>In TSX files</caption>\n<tttx-standalone-input_1_4_0 inputindex={1} />"
366
+ "text": "<caption>In TSX files</caption>\n<tttx-standalone-input_1_4_2 inputindex={1} />"
367
367
  }],
368
368
  "text": "tabindex - Allows the HTML elements to be focusable"
369
369
  },
@@ -95,7 +95,7 @@ export default {
95
95
  },
96
96
  };
97
97
  const TemplateTextInput = ({ iconleft, iconleftcolor, iconright, iconrightcolor, inputicon, inputiconcolor, label, secondarylabel, errormsg, showerrorbubble, showerrormsg, inline, checked, disabled, max, maxlength, min, minlength, name, pattern, placeholder, readonly, required, step, type, value, }) => `
98
- <tttx-standalone-input_1_4_0
98
+ <tttx-standalone-input_1_4_2
99
99
  iconleft="${iconleft || ''}"
100
100
  iconleftcolor="${iconleftcolor || ''}"
101
101
  iconright="${iconright || ''}"
@@ -70,13 +70,13 @@ export class TttxTabs {
70
70
  return;
71
71
  }
72
72
  const selectedTab = this._tabs.find(tab => tab.selected);
73
- return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-icon_1_4_0", { icon: "navigate_before", color: "black" }))), h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(tab => {
73
+ return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-icon_1_4_2", { icon: "navigate_before", color: "black" }))), h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(tab => {
74
74
  return (h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
75
75
  this.handleTabClick(tab);
76
76
  } }, tab.tabName));
77
- })), this.navigation && (h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, h("tttx-icon_1_4_0", { icon: "navigate_next", color: "black" })))), selectedTab && (h("article", { key: selectedTab.id, id: selectedTab.controls, role: "tabpanel", tabindex: "0", "aria-labelledby": selectedTab.id, "aria-expanded": selectedTab.selected, innerHTML: DOMPurify.sanitize(selectedTab.pageContent, domSanitiserOptions), hidden: !selectedTab.selected })))));
77
+ })), this.navigation && (h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, h("tttx-icon_1_4_2", { icon: "navigate_next", color: "black" })))), selectedTab && (h("article", { key: selectedTab.id, id: selectedTab.controls, role: "tabpanel", tabindex: "0", "aria-labelledby": selectedTab.id, "aria-expanded": selectedTab.selected, innerHTML: DOMPurify.sanitize(selectedTab.pageContent, domSanitiserOptions), hidden: !selectedTab.selected })))));
78
78
  }
79
- static get is() { return "tttx-tabs_1_4_0"; }
79
+ static get is() { return "tttx-tabs_1_4_2"; }
80
80
  static get encapsulation() { return "scoped"; }
81
81
  static get originalStyleUrls() {
82
82
  return {
@@ -10,12 +10,12 @@ export default {
10
10
  decorators: [withActions],
11
11
  };
12
12
  const Default = ({ tabsName, navigation, wide, tabs }) => `
13
- <tttx-tabs_1_4_0
13
+ <tttx-tabs_1_4_2
14
14
  tabsName='${tabsName}'
15
15
  navigation='${navigation}'
16
16
  wide='${wide}'
17
17
  tabs='${JSON.stringify(tabs)}'
18
- ></tttx-tabs_1_4_0>
18
+ ></tttx-tabs_1_4_2>
19
19
  `;
20
20
  export const DefaultTabs = Default.bind({});
21
21
  DefaultTabs.args = {
@@ -50,12 +50,12 @@ DefaultTabs.args = {
50
50
  ],
51
51
  };
52
52
  const TabsWithNavigation = ({ tabsName, navigation, wide, tabs }) => `
53
- <tttx-tabs_1_4_0
53
+ <tttx-tabs_1_4_2
54
54
  tabsName='${tabsName}'
55
55
  navigation='${navigation}'
56
56
  wide='${wide}'
57
57
  tabs='${JSON.stringify(tabs)}'
58
- ></tttx-tabs_1_4_0>
58
+ ></tttx-tabs_1_4_2>
59
59
  `;
60
60
  export const NavigationTabs = TabsWithNavigation.bind({});
61
61
  NavigationTabs.args = {
@@ -42,7 +42,7 @@ export class TttxTextarea {
42
42
  const classNames = [this.showerrormsg ? 'invalid' : '', !this.label && this.required ? 'no-label' : ''].join(' ');
43
43
  return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: "textarea-container" }, h("textarea", { rows: this.rows, class: classNames, autofocus: this.textareaautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, disabled: this.disabled, maxlength: this.maxlength, name: this.name, placeholder: this.placeholder, readonly: this.readonly, required: this.required, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded validationicon" }, "warning"), " ", this.errormsg))))));
44
44
  }
45
- static get is() { return "tttx-textarea_1_4_0"; }
45
+ static get is() { return "tttx-textarea_1_4_2"; }
46
46
  static get encapsulation() { return "scoped"; }
47
47
  static get originalStyleUrls() {
48
48
  return {
@@ -206,10 +206,10 @@ export class TttxTextarea {
206
206
  "docs": {
207
207
  "tags": [{
208
208
  "name": "example",
209
- "text": "<caption>In HTML (like `index.html`)</caption>\n<tttx-textarea_1_4_0 input-index=\"1\" />"
209
+ "text": "<caption>In HTML (like `index.html`)</caption>\n<tttx-textarea_1_4_2 input-index=\"1\" />"
210
210
  }, {
211
211
  "name": "example",
212
- "text": "<caption>In TSX files</caption>\n<tttx-textarea_1_4_0 inputindex={1} />"
212
+ "text": "<caption>In TSX files</caption>\n<tttx-textarea_1_4_2 inputindex={1} />"
213
213
  }],
214
214
  "text": "tabindex - Allows the HTML elements to be focusable"
215
215
  },
@@ -53,7 +53,7 @@ export default {
53
53
  },
54
54
  };
55
55
  const TemplateTextarea = ({ iconleft, iconleftcolor, iconright, iconrightcolor, inputicon, inputiconcolor, label, secondarylabel, errormsg, showerrorbubble, showerrormsg, disabled, maxlength, minlength, name, pattern, placeholder, readonly, required, resize = false, rows, type, value, }) => `
56
- <tttx-textarea_1_4_0
56
+ <tttx-textarea_1_4_2
57
57
  iconleft="${iconleft || ''}"
58
58
  iconleftcolor="${iconleftcolor || ''}"
59
59
  iconright="${iconright || ''}"
@@ -22,7 +22,7 @@ export class TttxToolbar {
22
22
  render() {
23
23
  return (h(Host, null, h("div", { class: `container ${this.border ? 'bordered' : ''} ${this.viewSize}` }, h("slot", { name: 'before' }), h("slot", { name: 'center' }), h("slot", { name: 'after' }))));
24
24
  }
25
- static get is() { return "tttx-toolbar_1_4_0"; }
25
+ static get is() { return "tttx-toolbar_1_4_2"; }
26
26
  static get encapsulation() { return "shadow"; }
27
27
  static get originalStyleUrls() {
28
28
  return {
@@ -8,63 +8,63 @@ export default {
8
8
  },
9
9
  };
10
10
  const Default = ({ border }) => `
11
- <tttx-toolbar_1_4_0 border="${border ? 'true' : 'false'}">
12
- <span slot="before"><tttx-button_1_4_0 design="primary">Before</tttx-button_1_4_0><tttx-button_1_4_0 design="primary">Button Two</tttx-button_1_4_0></span>
13
- <span slot="center"><tttx-button_1_4_0 design="primary">Center</tttx-button_1_4_0></span>
14
- <span slot="after"><tttx-button_1_4_0 design="primary">After</tttx-button_1_4_0></span>
15
- </tttx-toolbar_1_4_0>
11
+ <tttx-toolbar_1_4_2 border="${border ? 'true' : 'false'}">
12
+ <span slot="before"><tttx-button_1_4_2 design="primary">Before</tttx-button_1_4_2><tttx-button_1_4_2 design="primary">Button Two</tttx-button_1_4_2></span>
13
+ <span slot="center"><tttx-button_1_4_2 design="primary">Center</tttx-button_1_4_2></span>
14
+ <span slot="after"><tttx-button_1_4_2 design="primary">After</tttx-button_1_4_2></span>
15
+ </tttx-toolbar_1_4_2>
16
16
  `;
17
17
  export const DefaultToolbar = Default.bind({});
18
18
  DefaultToolbar.args = {
19
19
  border: true
20
20
  };
21
21
  const TallElements = ({ border }) => `
22
- <tttx-toolbar_1_4_0 border="${border ? 'true' : 'false'}">
23
- <span slot="before"><tttx-button_1_4_0 design="primary">Before</tttx-button_1_4_0><div style="position: relative; top: 18px;"><tttx-standalone-input_1_4_0 placeholder="before" label="search" required showerrorbubble="false" inputicon="search" /></div></span>
24
- <span slot="center"><div style="position: relative; top: 17px;"><tttx-standalone-input_1_4_0 placeholder="center" inline required showerrorbubble="false" inputicon="search" /></div></span>
25
- <span slot="after"><div style="position: relative; top: 22px;"><tttx-keyvalue-block_1_4_0 horizontal keyvalues='{"Position":"after"}' /></div></span>
26
- </tttx-toolbar_1_4_0>
22
+ <tttx-toolbar_1_4_2 border="${border ? 'true' : 'false'}">
23
+ <span slot="before"><tttx-button_1_4_2 design="primary">Before</tttx-button_1_4_2><div style="position: relative; top: 18px;"><tttx-standalone-input_1_4_2 placeholder="before" label="search" required showerrorbubble="false" inputicon="search" /></div></span>
24
+ <span slot="center"><div style="position: relative; top: 17px;"><tttx-standalone-input_1_4_2 placeholder="center" inline required showerrorbubble="false" inputicon="search" /></div></span>
25
+ <span slot="after"><div style="position: relative; top: 22px;"><tttx-keyvalue-block_1_4_2 horizontal keyvalues='{"Position":"after"}' /></div></span>
26
+ </tttx-toolbar_1_4_2>
27
27
  `;
28
28
  export const TallElementsToolbar = TallElements.bind({});
29
29
  TallElementsToolbar.args = {
30
30
  border: true
31
31
  };
32
32
  const WrapElements = ({ border }) => `
33
- <tttx-toolbar_1_4_0 border="${border ? 'true' : 'false'}">
34
- <span slot="before"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-button_1_4_0 design="primary">Button One</tttx-button_1_4_0><tttx-button_1_4_0 design="primary">Button Two</tttx-button_1_4_0><tttx-button_1_4_0 design="primary">Button Three</tttx-button_1_4_0></div></span>
35
- <span slot="center"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-button_1_4_0 design="primary">Button One</tttx-button_1_4_0><tttx-button_1_4_0 design="primary">Button Two</tttx-button_1_4_0><tttx-button_1_4_0 design="primary">Button Three</tttx-button_1_4_0></div></span>
36
- <span slot="after"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-button_1_4_0 design="primary">Button One</tttx-button_1_4_0><tttx-button_1_4_0 design="primary">Button Two</tttx-button_1_4_0><tttx-button_1_4_0 design="primary">Button Three</tttx-button_1_4_0></div></span>
37
- </tttx-toolbar_1_4_0>
33
+ <tttx-toolbar_1_4_2 border="${border ? 'true' : 'false'}">
34
+ <span slot="before"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-button_1_4_2 design="primary">Button One</tttx-button_1_4_2><tttx-button_1_4_2 design="primary">Button Two</tttx-button_1_4_2><tttx-button_1_4_2 design="primary">Button Three</tttx-button_1_4_2></div></span>
35
+ <span slot="center"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-button_1_4_2 design="primary">Button One</tttx-button_1_4_2><tttx-button_1_4_2 design="primary">Button Two</tttx-button_1_4_2><tttx-button_1_4_2 design="primary">Button Three</tttx-button_1_4_2></div></span>
36
+ <span slot="after"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-button_1_4_2 design="primary">Button One</tttx-button_1_4_2><tttx-button_1_4_2 design="primary">Button Two</tttx-button_1_4_2><tttx-button_1_4_2 design="primary">Button Three</tttx-button_1_4_2></div></span>
37
+ </tttx-toolbar_1_4_2>
38
38
  `;
39
39
  export const WrapElementsToolbar = WrapElements.bind({});
40
40
  WrapElementsToolbar.args = {
41
41
  border: true
42
42
  };
43
43
  const LeftToolbar = ({ border }) => `
44
- <tttx-toolbar_1_4_0 border="${border ? 'true' : 'false'}">
45
- <span slot="before"><tttx-button_1_4_0 design="primary">Before</tttx-button_1_4_0><tttx-button_1_4_0 design="primary">Button Two</tttx-button_1_4_0></span>
46
- </tttx-toolbar_1_4_0>
44
+ <tttx-toolbar_1_4_2 border="${border ? 'true' : 'false'}">
45
+ <span slot="before"><tttx-button_1_4_2 design="primary">Before</tttx-button_1_4_2><tttx-button_1_4_2 design="primary">Button Two</tttx-button_1_4_2></span>
46
+ </tttx-toolbar_1_4_2>
47
47
  `;
48
48
  export const LeftToolbarOnly = LeftToolbar.bind({});
49
49
  LeftToolbarOnly.args = {
50
50
  border: true
51
51
  };
52
52
  const CenterToolbar = ({ border }) => `
53
- <tttx-toolbar_1_4_0 border="${border ? 'true' : 'false'}">
53
+ <tttx-toolbar_1_4_2 border="${border ? 'true' : 'false'}">
54
54
  <span slot='before'></span>
55
- <span slot="center"><tttx-button_1_4_0 design="primary">Before</tttx-button_1_4_0><tttx-button_1_4_0 design="primary">Button Two</tttx-button_1_4_0></span>
55
+ <span slot="center"><tttx-button_1_4_2 design="primary">Before</tttx-button_1_4_2><tttx-button_1_4_2 design="primary">Button Two</tttx-button_1_4_2></span>
56
56
  <span slot='after'></span>
57
- </tttx-toolbar_1_4_0>
57
+ </tttx-toolbar_1_4_2>
58
58
  `;
59
59
  export const CenterToolbarOnly = CenterToolbar.bind({});
60
60
  CenterToolbarOnly.args = {
61
61
  border: true
62
62
  };
63
63
  const TwoColumn = ({ border }) => `
64
- <tttx-toolbar_1_4_0 border="${border ? 'true' : 'false'}">
65
- <span slot="before"><tttx-button_1_4_0 design="primary">Before</tttx-button_1_4_0><tttx-button_1_4_0 design="primary">Button Two</tttx-button_1_4_0></span>
66
- <span slot='after'><tttx-button_1_4_0 design="primary">After</tttx-button_1_4_0><tttx-button_1_4_0 design="primary">Button Two</tttx-button_1_4_0></span>
67
- </tttx-toolbar_1_4_0>
64
+ <tttx-toolbar_1_4_2 border="${border ? 'true' : 'false'}">
65
+ <span slot="before"><tttx-button_1_4_2 design="primary">Before</tttx-button_1_4_2><tttx-button_1_4_2 design="primary">Button Two</tttx-button_1_4_2></span>
66
+ <span slot='after'><tttx-button_1_4_2 design="primary">After</tttx-button_1_4_2><tttx-button_1_4_2 design="primary">Button Two</tttx-button_1_4_2></span>
67
+ </tttx-toolbar_1_4_2>
68
68
  `;
69
69
  export const TwoColumnToolbar = TwoColumn.bind({});
70
70
  TwoColumnToolbar.args = {
@@ -87,34 +87,34 @@ const selectOptions = JSON.stringify([
87
87
  { value: 'Ronaldo', label: 'Mann' },
88
88
  ]);
89
89
  const LongItems = ({ border }) => `
90
- <tttx-toolbar_1_4_0 border="${border ? 'true' : 'false'}">
90
+ <tttx-toolbar_1_4_2 border="${border ? 'true' : 'false'}">
91
91
  <span slot="before">
92
92
  <div style="width: 350px">
93
- <tttx-select-box_1_4_0
93
+ <tttx-select-box_1_4_2
94
94
  id="htmlSelectBox"
95
95
  options-data='${selectOptions}'
96
96
  placeholder='Select a name'
97
97
  label=''
98
98
  inline='true'
99
- ></tttx-select-box_1_4_0>
99
+ ></tttx-select-box_1_4_2>
100
100
  </div>
101
- <tttx-button_1_4_0>
101
+ <tttx-button_1_4_2>
102
102
  This is a very long button
103
- </tttx-button_1_4_0>
104
- <tttx-button_1_4_0>
103
+ </tttx-button_1_4_2>
104
+ <tttx-button_1_4_2>
105
105
  This is a very long button
106
- </tttx-button_1_4_0>
107
- <tttx-button_1_4_0>
106
+ </tttx-button_1_4_2>
107
+ <tttx-button_1_4_2>
108
108
  This is a very long button
109
- </tttx-button_1_4_0>
109
+ </tttx-button_1_4_2>
110
110
  </span>
111
111
  <span slot="center">
112
- <tttx-button_1_4_0>
112
+ <tttx-button_1_4_2>
113
113
  This is a very long button in the middle
114
- </tttx-button_1_4_0>
114
+ </tttx-button_1_4_2>
115
115
  </span>
116
116
  <span slot="after"></span>
117
- </tttx-toolbar_1_4_0>
117
+ </tttx-toolbar_1_4_2>
118
118
  `;
119
119
  export const LongItemsToolbar = LongItems.bind({});
120
120
  LongItemsToolbar.args = {
@@ -54,7 +54,7 @@ export class TttxTreeView {
54
54
  event.stopPropagation();
55
55
  this.onClickHandler(event, node);
56
56
  }
57
- } }, h("tttx-button_1_4_0", { class: "toggleNode", design: "borderless-circle", notext: true, icon: options.expanderIcon, color: "black", onClick: event => this.toggleNode(node, event) }), this.htmlcode('treeNode', node, options.checkboxIcon, options.checkboxColor)), node.isOpen ? (h("ul", null, h("div", { class: "child-node" }, node.child.map(childNode => {
57
+ } }, h("tttx-button_1_4_2", { class: "toggleNode", design: "borderless-circle", notext: true, icon: options.expanderIcon, color: "black", onClick: event => this.toggleNode(node, event) }), this.htmlcode('treeNode', node, options.checkboxIcon, options.checkboxColor)), node.isOpen ? (h("ul", null, h("div", { class: "child-node" }, node.child.map(childNode => {
58
58
  return this.renderNode(childNode);
59
59
  })))) : null));
60
60
  }
@@ -68,7 +68,7 @@ export class TttxTreeView {
68
68
  }
69
69
  }
70
70
  htmlcode(type, node, check_box, check_boxColor) {
71
- const htmlcode = (h("div", { class: "inline-tree-item element" }, node.hasCheckbox && (h("tttx-button_1_4_0", { design: "borderless-circle", notext: true, icon: check_box, iconcolor: check_boxColor, class: "padding-icon checkbox", onClick: event => this.handleCheckboxChange(node, event) })), !node.html && node.hasIcon && h("tttx-icon_1_4_0", { icon: node.icon, color: node.iconColor, class: "padding-icon" }), !node.html && h("div", { class: type }, node.title), node.html && h("div", { class: type, innerHTML: DOMPurify.sanitize(node.html, domSanitiserOptions) })));
71
+ const htmlcode = (h("div", { class: "inline-tree-item element" }, node.hasCheckbox && (h("tttx-button_1_4_2", { design: "borderless-circle", notext: true, icon: check_box, iconcolor: check_boxColor, class: "padding-icon checkbox", onClick: event => this.handleCheckboxChange(node, event) })), !node.html && node.hasIcon && h("tttx-icon_1_4_2", { icon: node.icon, color: node.iconColor, class: "padding-icon" }), !node.html && h("div", { class: type }, node.title), node.html && h("div", { class: type, innerHTML: DOMPurify.sanitize(node.html, domSanitiserOptions) })));
72
72
  return htmlcode;
73
73
  }
74
74
  render() {
@@ -77,7 +77,7 @@ export class TttxTreeView {
77
77
  this.treeData = typeof this.data === 'string' ? JSON.parse(this.data) : this.data;
78
78
  return (h("div", { class: "tree-view-element" }, h("ul", null, this.treeData.map((node) => this.renderNode(node)))));
79
79
  }
80
- static get is() { return "tttx-tree-view_1_4_0"; }
80
+ static get is() { return "tttx-tree-view_1_4_2"; }
81
81
  static get encapsulation() { return "shadow"; }
82
82
  static get originalStyleUrls() {
83
83
  return {
@@ -12,7 +12,7 @@ export default {
12
12
  decorators: [withActions],
13
13
  };
14
14
  const TttxTreeViewStory = ({ data }) => `
15
- <tttx-tree-view_1_4_0 id="treeViewDefault"></tttx-tree-view_1_4_0>
15
+ <tttx-tree-view_1_4_2 id="treeViewDefault"></tttx-tree-view_1_4_2>
16
16
  <script>
17
17
  if(!treeViewDefault) {
18
18
  const treeViewDefault = document.getElementById('treeViewDefault');
@@ -90,7 +90,7 @@ Default.args = {
90
90
  ],
91
91
  };
92
92
  const TttxTreeViewSimple = ({ data }) => `
93
- <tttx-tree-view_1_4_0 id="treeViewSimple"></tttx-tree-view_1_4_0>
93
+ <tttx-tree-view_1_4_2 id="treeViewSimple"></tttx-tree-view_1_4_2>
94
94
  <script>
95
95
  if(!treeViewSimple) {
96
96
  const treeViewSimple = document.getElementById('treeViewSimple');
@@ -152,7 +152,7 @@ Simple.args = {
152
152
  ],
153
153
  };
154
154
  const TttxTreeViewHTML = ({ data }) => `
155
- <tttx-tree-view_1_4_0 id="treeViewHTML"></tttx-tree-view_1_4_0>
155
+ <tttx-tree-view_1_4_2 id="treeViewHTML"></tttx-tree-view_1_4_2>
156
156
  <script>
157
157
  if(!treeViewHTML) {
158
158
  const treeViewHTML = document.getElementById('treeViewHTML');
@@ -221,7 +221,7 @@ HTML.args = {
221
221
  ],
222
222
  };
223
223
  const TttxTreeViewCheckbox = ({ data }) => `
224
- <tttx-tree-view_1_4_0 id="treeViewCheckbox"></tttx-tree-view_1_4_0>
224
+ <tttx-tree-view_1_4_2 id="treeViewCheckbox"></tttx-tree-view_1_4_2>
225
225
  <script>
226
226
  if(!treeViewCheckbox) {
227
227
  const treeViewCheckbox = document.getElementById('treeViewCheckbox');
@@ -295,7 +295,7 @@ Checkbox.args = {
295
295
  ],
296
296
  };
297
297
  const TttxTreeViewIcons = ({ data }) => `
298
- <tttx-tree-view_1_4_0 id="treeViewIcons"></tttx-tree-view_1_4_0>
298
+ <tttx-tree-view_1_4_2 id="treeViewIcons"></tttx-tree-view_1_4_2>
299
299
  <script>
300
300
  if(!treeViewIcons) {
301
301
  const treeViewIcons = document.getElementById('treeViewIcons');
@@ -374,7 +374,7 @@ Icons.args = {
374
374
  ],
375
375
  };
376
376
  const TttxTreeViewCheckBoxAndIcons = ({ data }) => `
377
- <tttx-tree-view_1_4_0 id="treeViewCheckBoxAndIcons"></tttx-tree-view_1_4_0>
377
+ <tttx-tree-view_1_4_2 id="treeViewCheckBoxAndIcons"></tttx-tree-view_1_4_2>
378
378
  <script>
379
379
  if(!treeViewCheckBoxAndIcons) {
380
380
  const treeViewCheckBoxAndIcons = document.getElementById('treeViewCheckBoxAndIcons');
@@ -508,7 +508,7 @@ RequirementsList2.args = {
508
508
  data: [convertedData2],
509
509
  };
510
510
  const TttxTreeViewEmptyGroup = ({ data }) => `
511
- <tttx-tree-view_1_4_0 id="treeViewEmptyGroup"></tttx-tree-view_1_4_0>
511
+ <tttx-tree-view_1_4_2 id="treeViewEmptyGroup"></tttx-tree-view_1_4_2>
512
512
  <script>
513
513
  if(!treeViewEmptyGroup) {
514
514
  const treeViewEmptyGroup = document.getElementById('treeViewEmptyGroup');
@@ -534,7 +534,7 @@ EmptyGroup.args = {
534
534
  ],
535
535
  };
536
536
  const TttxTreeViewselectable = ({ data }) => `
537
- <tttx-tree-view_1_4_0 id="treeViewselectable"></tttx-tree-view_1_4_0>
537
+ <tttx-tree-view_1_4_2 id="treeViewselectable"></tttx-tree-view_1_4_2>
538
538
  <script>
539
539
  if(!treeViewselectable) {
540
540
  const treeViewselectable = document.getElementById('treeViewselectable');