@3t-transform/threeteeui 1.9.69 → 1.9.70

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 (301) hide show
  1. package/dist/cjs/{auto-ac58fa98.js → auto-6a51f2a4.js} +20 -11
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/{tttx-action-dropdown_1_9_69.cjs.entry.js → tttx-action-dropdown_1_9_70.cjs.entry.js} +2 -2
  4. package/dist/cjs/{tttx-button-v2_1_9_69.cjs.entry.js → tttx-button-v2_1_9_70.cjs.entry.js} +4 -4
  5. package/dist/cjs/{tttx-button_1_9_69.cjs.entry.js → tttx-button_1_9_70.cjs.entry.js} +2 -2
  6. package/dist/cjs/{tttx-chart_1_9_69.cjs.entry.js → tttx-chart_1_9_70.cjs.entry.js} +4 -4
  7. package/dist/cjs/{tttx-checkbox-group-caption_1_9_69.cjs.entry.js → tttx-checkbox-group-caption_1_9_70.cjs.entry.js} +1 -1
  8. package/dist/cjs/{tttx-checkbox-group-heading_1_9_69.cjs.entry.js → tttx-checkbox-group-heading_1_9_70.cjs.entry.js} +1 -1
  9. package/dist/cjs/{tttx-checkbox-group_1_9_69.cjs.entry.js → tttx-checkbox-group_1_9_70.cjs.entry.js} +1 -1
  10. package/dist/cjs/{tttx-checkbox_1_9_69.cjs.entry.js → tttx-checkbox_1_9_70.cjs.entry.js} +2 -2
  11. package/dist/cjs/{tttx-comments_1_9_69.cjs.entry.js → tttx-comments_1_9_70.cjs.entry.js} +4 -4
  12. package/dist/cjs/{tttx-data-pattern_1_9_69.cjs.entry.js → tttx-data-pattern_1_9_70.cjs.entry.js} +5 -5
  13. package/dist/cjs/{tttx-datacard_1_9_69.cjs.entry.js → tttx-datacard_1_9_70.cjs.entry.js} +4 -4
  14. package/dist/cjs/tttx-date-range-picker.cjs.entry.js +1 -1
  15. package/dist/cjs/{tttx-dialog-box_1_9_69.cjs.entry.js → tttx-dialog-box_1_9_70.cjs.entry.js} +3 -3
  16. package/dist/cjs/{tttx-dialog_1_9_69.cjs.entry.js → tttx-dialog_1_9_70.cjs.entry.js} +2 -2
  17. package/dist/cjs/{tttx-expander_1_9_69.cjs.entry.js → tttx-expander_1_9_70.cjs.entry.js} +2 -2
  18. package/dist/cjs/{tttx-filter_1_9_69_4.cjs.entry.js → tttx-filter_1_9_70_4.cjs.entry.js} +9 -9
  19. package/dist/cjs/{tttx-form_1_9_69.cjs.entry.js → tttx-form_1_9_70.cjs.entry.js} +2 -2
  20. package/dist/cjs/{tttx-graph_1_9_69.cjs.entry.js → tttx-graph_1_9_70.cjs.entry.js} +2 -2
  21. package/dist/cjs/{tttx-icon_1_9_69.cjs.entry.js → tttx-icon_1_9_70.cjs.entry.js} +1 -1
  22. package/dist/cjs/{tttx-keyvalue-block_1_9_69.cjs.entry.js → tttx-keyvalue-block_1_9_70.cjs.entry.js} +1 -1
  23. package/dist/cjs/{tttx-loading-spinner_1_9_69_3.cjs.entry.js → tttx-loading-spinner_1_9_70_3.cjs.entry.js} +6 -6
  24. package/dist/cjs/{tttx-multiselect-box_1_9_69.cjs.entry.js → tttx-multiselect-box_1_9_70.cjs.entry.js} +7 -7
  25. package/dist/cjs/{tttx-percentage-bar_1_9_69.cjs.entry.js → tttx-percentage-bar_1_9_70.cjs.entry.js} +2 -2
  26. package/dist/cjs/{tttx-qrcode_1_9_69.cjs.entry.js → tttx-qrcode_1_9_70.cjs.entry.js} +1 -1
  27. package/dist/cjs/tttx-range-slider.cjs.entry.js +162 -0
  28. package/dist/cjs/{tttx-select-box_1_9_69.cjs.entry.js → tttx-select-box_1_9_70.cjs.entry.js} +6 -6
  29. package/dist/cjs/{tttx-skeleton_loader_1_9_69.cjs.entry.js → tttx-skeleton_loader_1_9_70.cjs.entry.js} +1 -1
  30. package/dist/cjs/{tttx-table_1_9_69.cjs.entry.js → tttx-table_1_9_70.cjs.entry.js} +1 -1
  31. package/dist/cjs/{tttx-tabs_1_9_69.cjs.entry.js → tttx-tabs_1_9_70.cjs.entry.js} +4 -4
  32. package/dist/cjs/{tttx-textarea_1_9_69.cjs.entry.js → tttx-textarea_1_9_70.cjs.entry.js} +2 -2
  33. package/dist/cjs/{tttx-toggle_1_9_69.cjs.entry.js → tttx-toggle_1_9_70.cjs.entry.js} +1 -1
  34. package/dist/cjs/{tttx-tooltip_1_9_69.cjs.entry.js → tttx-tooltip_1_9_70.cjs.entry.js} +1 -1
  35. package/dist/cjs/{tttx-tree-view_1_9_69.cjs.entry.js → tttx-tree-view_1_9_70.cjs.entry.js} +3 -3
  36. package/dist/cjs/tttx.cjs.js +1 -1
  37. package/dist/collection/collection-manifest.json +1 -0
  38. package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
  39. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
  40. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.css +1 -1
  41. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +3 -3
  42. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.stories.js +15 -15
  43. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
  44. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
  45. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
  46. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
  47. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
  48. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
  49. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
  50. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
  51. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
  52. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +2 -2
  53. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
  54. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
  55. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
  56. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
  57. package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +1 -1
  58. package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
  59. package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
  60. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
  61. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
  62. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
  63. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
  64. package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +3 -3
  65. package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +4 -4
  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-range-slider/tttx-range-slider.css +158 -0
  90. package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.js +262 -0
  91. package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.stories.js +34 -0
  92. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
  93. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
  94. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
  95. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
  96. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
  97. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
  98. package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
  99. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
  100. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
  101. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
  102. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
  103. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
  104. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
  105. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
  106. package/dist/collection/components/molecules/tttx-tooltip/tttx-tooltip.js +1 -1
  107. package/dist/collection/components/molecules/tttx-tooltip/tttx-tootip.stories.js +2 -2
  108. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
  109. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +1 -1
  110. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
  111. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
  112. package/dist/components/auto.js +20 -11
  113. package/dist/components/index.d.ts +37 -36
  114. package/dist/components/index.js +37 -36
  115. package/dist/components/tttx-action-dropdown_1_9_70.d.ts +11 -0
  116. package/dist/components/{tttx-action-dropdown_1_9_69.js → tttx-action-dropdown_1_9_70.js} +7 -7
  117. package/dist/components/{tttx-checkbox_1_9_69.d.ts → tttx-button-v2_1_9_70.d.ts} +4 -4
  118. package/dist/components/{tttx-button-v2_1_9_69.js → tttx-button-v2_1_9_70.js} +9 -9
  119. package/dist/components/tttx-button.js +5 -5
  120. package/dist/components/{tttx-dialog_1_9_69.d.ts → tttx-button_1_9_70.d.ts} +4 -4
  121. package/dist/components/{tttx-button_1_9_69.js → tttx-button_1_9_70.js} +2 -2
  122. package/dist/components/{tttx-table_1_9_69.d.ts → tttx-chart_1_9_70.d.ts} +4 -4
  123. package/dist/components/{tttx-chart_1_9_69.js → tttx-chart_1_9_70.js} +10 -10
  124. package/dist/components/tttx-checkbox-group-caption_1_9_70.d.ts +11 -0
  125. package/dist/components/{tttx-checkbox-group-caption_1_9_69.js → tttx-checkbox-group-caption_1_9_70.js} +5 -5
  126. package/dist/components/tttx-checkbox-group-heading_1_9_70.d.ts +11 -0
  127. package/dist/components/{tttx-checkbox-group-heading_1_9_69.js → tttx-checkbox-group-heading_1_9_70.js} +5 -5
  128. package/dist/components/tttx-checkbox-group_1_9_70.d.ts +11 -0
  129. package/dist/components/{tttx-checkbox-group_1_9_69.js → tttx-checkbox-group_1_9_70.js} +5 -5
  130. package/dist/components/{tttx-button-v2_1_9_69.d.ts → tttx-checkbox_1_9_70.d.ts} +4 -4
  131. package/dist/components/{tttx-checkbox_1_9_69.js → tttx-checkbox_1_9_70.js} +7 -7
  132. package/dist/components/tttx-comments_1_9_70.d.ts +11 -0
  133. package/dist/components/{tttx-comments_1_9_69.js → tttx-comments_1_9_70.js} +9 -9
  134. package/dist/components/tttx-data-pattern_1_9_70.d.ts +11 -0
  135. package/dist/components/{tttx-data-pattern_1_9_69.js → tttx-data-pattern_1_9_70.js} +16 -16
  136. package/dist/components/tttx-datacard_1_9_70.d.ts +11 -0
  137. package/dist/components/{tttx-datacard_1_9_69.js → tttx-datacard_1_9_70.js} +10 -10
  138. package/dist/components/tttx-date-range-picker.js +3 -3
  139. package/dist/components/tttx-dialog-box_1_9_70.d.ts +11 -0
  140. package/dist/components/{tttx-dialog-box_1_9_69.js → tttx-dialog-box_1_9_70.js} +9 -9
  141. package/dist/components/{tttx-filter_1_9_69.d.ts → tttx-dialog_1_9_70.d.ts} +4 -4
  142. package/dist/components/{tttx-dialog_1_9_69.js → tttx-dialog_1_9_70.js} +8 -8
  143. package/dist/components/tttx-expander_1_9_70.d.ts +11 -0
  144. package/dist/components/{tttx-expander_1_9_69.js → tttx-expander_1_9_70.js} +7 -7
  145. package/dist/components/tttx-filter.js +6 -6
  146. package/dist/components/{tttx-button_1_9_69.d.ts → tttx-filter_1_9_70.d.ts} +4 -4
  147. package/dist/components/{tttx-filter_1_9_69.js → tttx-filter_1_9_70.js} +2 -2
  148. package/dist/components/{tttx-form_1_9_69.d.ts → tttx-form_1_9_70.d.ts} +4 -4
  149. package/dist/components/{tttx-form_1_9_69.js → tttx-form_1_9_70.js} +11 -11
  150. package/dist/components/tttx-graph.js +3 -3
  151. package/dist/components/{tttx-graph_1_9_69.d.ts → tttx-graph_1_9_70.d.ts} +4 -4
  152. package/dist/components/{tttx-graph_1_9_69.js → tttx-graph_1_9_70.js} +2 -2
  153. package/dist/components/tttx-icon.js +3 -3
  154. package/dist/components/{tttx-list_1_9_69.d.ts → tttx-icon_1_9_70.d.ts} +4 -4
  155. package/dist/components/{tttx-icon_1_9_69.js → tttx-icon_1_9_70.js} +2 -2
  156. package/dist/components/tttx-keyvalue-block_1_9_70.d.ts +11 -0
  157. package/dist/components/{tttx-keyvalue-block_1_9_69.js → tttx-keyvalue-block_1_9_70.js} +5 -5
  158. package/dist/components/tttx-list.js +6 -6
  159. package/dist/components/{tttx-icon_1_9_69.d.ts → tttx-list_1_9_70.d.ts} +4 -4
  160. package/dist/components/{tttx-list_1_9_69.js → tttx-list_1_9_70.js} +2 -2
  161. package/dist/components/tttx-loading-spinner.js +3 -3
  162. package/dist/components/tttx-loading-spinner_1_9_70.d.ts +11 -0
  163. package/dist/components/{tttx-loading-spinner_1_9_69.js → tttx-loading-spinner_1_9_70.js} +2 -2
  164. package/dist/components/tttx-multiselect-box_1_9_70.d.ts +11 -0
  165. package/dist/components/{tttx-multiselect-box_1_9_69.js → tttx-multiselect-box_1_9_70.js} +16 -16
  166. package/dist/components/tttx-percentage-bar_1_9_70.d.ts +11 -0
  167. package/dist/components/{tttx-percentage-bar_1_9_69.js → tttx-percentage-bar_1_9_70.js} +6 -6
  168. package/dist/components/{tttx-qrcode_1_9_69.d.ts → tttx-qrcode_1_9_70.d.ts} +4 -4
  169. package/dist/components/{tttx-qrcode_1_9_69.js → tttx-qrcode_1_9_70.js} +5 -5
  170. package/dist/components/{tttx-tabs_1_9_69.d.ts → tttx-range-slider.d.ts} +4 -4
  171. package/dist/components/tttx-range-slider.js +183 -0
  172. package/dist/components/tttx-select-box.js +12 -12
  173. package/dist/components/tttx-select-box_1_9_70.d.ts +11 -0
  174. package/dist/components/{tttx-select-box_1_9_69.js → tttx-select-box_1_9_70.js} +2 -2
  175. package/dist/components/tttx-skeleton_loader_1_9_70.d.ts +11 -0
  176. package/dist/components/{tttx-skeleton_loader_1_9_69.js → tttx-skeleton_loader_1_9_70.js} +5 -5
  177. package/dist/components/tttx-sorter.js +5 -5
  178. package/dist/components/tttx-sorter_1_9_70.d.ts +11 -0
  179. package/dist/components/{tttx-sorter_1_9_69.js → tttx-sorter_1_9_70.js} +2 -2
  180. package/dist/components/tttx-standalone-input.js +6 -6
  181. package/dist/components/tttx-standalone-input_1_9_70.d.ts +11 -0
  182. package/dist/components/{tttx-standalone-input_1_9_69.js → tttx-standalone-input_1_9_70.js} +2 -2
  183. package/dist/components/{tttx-chart_1_9_69.d.ts → tttx-table_1_9_70.d.ts} +4 -4
  184. package/dist/components/{tttx-table_1_9_69.js → tttx-table_1_9_70.js} +5 -5
  185. package/dist/components/tttx-tabs_1_9_70.d.ts +11 -0
  186. package/dist/components/{tttx-tabs_1_9_69.js → tttx-tabs_1_9_70.js} +9 -9
  187. package/dist/components/tttx-tag.js +5 -5
  188. package/dist/components/{tttx-tag_1_9_69.d.ts → tttx-tag_1_9_70.d.ts} +4 -4
  189. package/dist/components/{tttx-tag_1_9_69.js → tttx-tag_1_9_70.js} +2 -2
  190. package/dist/components/tttx-textarea_1_9_70.d.ts +11 -0
  191. package/dist/components/{tttx-textarea_1_9_69.js → tttx-textarea_1_9_70.js} +6 -6
  192. package/dist/components/tttx-toggle_1_9_70.d.ts +11 -0
  193. package/dist/components/{tttx-toggle_1_9_69.js → tttx-toggle_1_9_70.js} +5 -5
  194. package/dist/components/tttx-toolbar.js +3 -3
  195. package/dist/components/tttx-toolbar_1_9_70.d.ts +11 -0
  196. package/dist/components/{tttx-toolbar_1_9_69.js → tttx-toolbar_1_9_70.js} +2 -2
  197. package/dist/components/tttx-tooltip_1_9_70.d.ts +11 -0
  198. package/dist/components/{tttx-tooltip_1_9_69.js → tttx-tooltip_1_9_70.js} +5 -5
  199. package/dist/components/tttx-tree-view_1_9_70.d.ts +11 -0
  200. package/dist/components/{tttx-tree-view_1_9_69.js → tttx-tree-view_1_9_70.js} +9 -9
  201. package/dist/esm/{auto-1d8b24f0.js → auto-35e33158.js} +20 -11
  202. package/dist/esm/loader.js +1 -1
  203. package/dist/esm/{tttx-action-dropdown_1_9_69.entry.js → tttx-action-dropdown_1_9_70.entry.js} +2 -2
  204. package/dist/esm/{tttx-button-v2_1_9_69.entry.js → tttx-button-v2_1_9_70.entry.js} +4 -4
  205. package/dist/esm/{tttx-button_1_9_69.entry.js → tttx-button_1_9_70.entry.js} +2 -2
  206. package/dist/esm/{tttx-chart_1_9_69.entry.js → tttx-chart_1_9_70.entry.js} +4 -4
  207. package/dist/esm/{tttx-checkbox-group-caption_1_9_69.entry.js → tttx-checkbox-group-caption_1_9_70.entry.js} +1 -1
  208. package/dist/esm/{tttx-checkbox-group-heading_1_9_69.entry.js → tttx-checkbox-group-heading_1_9_70.entry.js} +1 -1
  209. package/dist/esm/{tttx-checkbox-group_1_9_69.entry.js → tttx-checkbox-group_1_9_70.entry.js} +1 -1
  210. package/dist/esm/{tttx-checkbox_1_9_69.entry.js → tttx-checkbox_1_9_70.entry.js} +2 -2
  211. package/dist/esm/{tttx-comments_1_9_69.entry.js → tttx-comments_1_9_70.entry.js} +4 -4
  212. package/dist/esm/{tttx-data-pattern_1_9_69.entry.js → tttx-data-pattern_1_9_70.entry.js} +5 -5
  213. package/dist/esm/{tttx-datacard_1_9_69.entry.js → tttx-datacard_1_9_70.entry.js} +4 -4
  214. package/dist/esm/tttx-date-range-picker.entry.js +1 -1
  215. package/dist/esm/{tttx-dialog-box_1_9_69.entry.js → tttx-dialog-box_1_9_70.entry.js} +3 -3
  216. package/dist/esm/{tttx-dialog_1_9_69.entry.js → tttx-dialog_1_9_70.entry.js} +2 -2
  217. package/dist/esm/{tttx-expander_1_9_69.entry.js → tttx-expander_1_9_70.entry.js} +2 -2
  218. package/dist/esm/{tttx-filter_1_9_69_4.entry.js → tttx-filter_1_9_70_4.entry.js} +6 -6
  219. package/dist/esm/{tttx-form_1_9_69.entry.js → tttx-form_1_9_70.entry.js} +2 -2
  220. package/dist/esm/{tttx-graph_1_9_69.entry.js → tttx-graph_1_9_70.entry.js} +2 -2
  221. package/dist/esm/{tttx-icon_1_9_69.entry.js → tttx-icon_1_9_70.entry.js} +1 -1
  222. package/dist/esm/{tttx-keyvalue-block_1_9_69.entry.js → tttx-keyvalue-block_1_9_70.entry.js} +1 -1
  223. package/dist/esm/{tttx-loading-spinner_1_9_69_3.entry.js → tttx-loading-spinner_1_9_70_3.entry.js} +4 -4
  224. package/dist/esm/{tttx-multiselect-box_1_9_69.entry.js → tttx-multiselect-box_1_9_70.entry.js} +7 -7
  225. package/dist/esm/{tttx-percentage-bar_1_9_69.entry.js → tttx-percentage-bar_1_9_70.entry.js} +2 -2
  226. package/dist/esm/{tttx-qrcode_1_9_69.entry.js → tttx-qrcode_1_9_70.entry.js} +1 -1
  227. package/dist/esm/tttx-range-slider.entry.js +158 -0
  228. package/dist/esm/{tttx-select-box_1_9_69.entry.js → tttx-select-box_1_9_70.entry.js} +6 -6
  229. package/dist/esm/{tttx-skeleton_loader_1_9_69.entry.js → tttx-skeleton_loader_1_9_70.entry.js} +1 -1
  230. package/dist/esm/{tttx-table_1_9_69.entry.js → tttx-table_1_9_70.entry.js} +1 -1
  231. package/dist/esm/{tttx-tabs_1_9_69.entry.js → tttx-tabs_1_9_70.entry.js} +4 -4
  232. package/dist/esm/{tttx-textarea_1_9_69.entry.js → tttx-textarea_1_9_70.entry.js} +2 -2
  233. package/dist/esm/{tttx-toggle_1_9_69.entry.js → tttx-toggle_1_9_70.entry.js} +1 -1
  234. package/dist/esm/{tttx-tooltip_1_9_69.entry.js → tttx-tooltip_1_9_70.entry.js} +1 -1
  235. package/dist/esm/{tttx-tree-view_1_9_69.entry.js → tttx-tree-view_1_9_70.entry.js} +3 -3
  236. package/dist/esm/tttx.js +1 -1
  237. package/dist/tttx/p-13272658.entry.js +1 -1
  238. package/dist/tttx/p-1f75b5d3.entry.js +1 -1
  239. package/dist/tttx/p-32cf4137.entry.js +1 -1
  240. package/dist/tttx/p-36edf716.entry.js +1 -1
  241. package/dist/tttx/p-47fadd24.entry.js +1 -1
  242. package/dist/tttx/p-4c63f7da.entry.js +1 -1
  243. package/dist/tttx/p-4ddf7946.entry.js +1 -1
  244. package/dist/tttx/p-5765b7da.entry.js +1 -1
  245. package/dist/tttx/p-5b7c20ff.entry.js +1 -1
  246. package/dist/tttx/p-5e14d6aa.entry.js +1 -1
  247. package/dist/tttx/{p-296958ae.entry.js → p-620b18f6.entry.js} +1 -1
  248. package/dist/tttx/{p-5a4e385f.entry.js → p-66340f2f.entry.js} +1 -1
  249. package/dist/tttx/p-71bb2f21.entry.js +1 -1
  250. package/dist/tttx/p-74a8c484.entry.js +1 -1
  251. package/dist/tttx/p-789defe0.entry.js +1 -1
  252. package/dist/tttx/p-8392774e.entry.js +1 -1
  253. package/dist/tttx/p-86cdb616.entry.js +1 -1
  254. package/dist/tttx/p-8beccdc9.entry.js +1 -1
  255. package/dist/tttx/p-969a4944.entry.js +1 -1
  256. package/dist/tttx/p-a2979a57.entry.js +1 -1
  257. package/dist/tttx/p-a50d9105.entry.js +1 -1
  258. package/dist/tttx/p-a6aa113c.entry.js +1 -0
  259. package/dist/tttx/p-a8526f90.entry.js +1 -1
  260. package/dist/tttx/p-b2a0053a.entry.js +1 -1
  261. package/dist/tttx/p-b4fe2853.entry.js +1 -1
  262. package/dist/tttx/p-b97e0e3c.entry.js +1 -1
  263. package/dist/tttx/p-c33f9022.entry.js +1 -1
  264. package/dist/tttx/p-ca58259a.entry.js +1 -1
  265. package/dist/tttx/p-d1ee41dd.entry.js +1 -1
  266. package/dist/tttx/p-ebb47a2d.js +19 -0
  267. package/dist/tttx/p-ee41fe8f.entry.js +1 -1
  268. package/dist/tttx/p-f30833e3.entry.js +1 -1
  269. package/dist/tttx/p-f69b4685.entry.js +1 -1
  270. package/dist/tttx/p-ff7edd81.entry.js +1 -1
  271. package/dist/tttx/tttx.esm.js +1 -1
  272. package/dist/types/components/molecules/tttx-range-slider/tttx-range-slider.d.ts +41 -0
  273. package/dist/types/components/molecules/tttx-range-slider/tttx-range-slider.stories.d.ts +7 -0
  274. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
  275. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
  276. package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
  277. package/dist/types/components.d.ts +454 -428
  278. package/package.json +1 -1
  279. package/dist/components/tttx-action-dropdown_1_9_69.d.ts +0 -11
  280. package/dist/components/tttx-checkbox-group-caption_1_9_69.d.ts +0 -11
  281. package/dist/components/tttx-checkbox-group-heading_1_9_69.d.ts +0 -11
  282. package/dist/components/tttx-checkbox-group_1_9_69.d.ts +0 -11
  283. package/dist/components/tttx-comments_1_9_69.d.ts +0 -11
  284. package/dist/components/tttx-data-pattern_1_9_69.d.ts +0 -11
  285. package/dist/components/tttx-datacard_1_9_69.d.ts +0 -11
  286. package/dist/components/tttx-dialog-box_1_9_69.d.ts +0 -11
  287. package/dist/components/tttx-expander_1_9_69.d.ts +0 -11
  288. package/dist/components/tttx-keyvalue-block_1_9_69.d.ts +0 -11
  289. package/dist/components/tttx-loading-spinner_1_9_69.d.ts +0 -11
  290. package/dist/components/tttx-multiselect-box_1_9_69.d.ts +0 -11
  291. package/dist/components/tttx-percentage-bar_1_9_69.d.ts +0 -11
  292. package/dist/components/tttx-select-box_1_9_69.d.ts +0 -11
  293. package/dist/components/tttx-skeleton_loader_1_9_69.d.ts +0 -11
  294. package/dist/components/tttx-sorter_1_9_69.d.ts +0 -11
  295. package/dist/components/tttx-standalone-input_1_9_69.d.ts +0 -11
  296. package/dist/components/tttx-textarea_1_9_69.d.ts +0 -11
  297. package/dist/components/tttx-toggle_1_9_69.d.ts +0 -11
  298. package/dist/components/tttx-toolbar_1_9_69.d.ts +0 -11
  299. package/dist/components/tttx-tooltip_1_9_69.d.ts +0 -11
  300. package/dist/components/tttx-tree-view_1_9_69.d.ts +0 -11
  301. package/dist/tttx/p-fa01bbb2.js +0 -19
@@ -13,7 +13,7 @@ const options = [
13
13
  { value: 'Bonnie', label: 'Steuber', selected: true },
14
14
  { value: 'Priscilla', label: 'Lowe' },
15
15
  { value: 'Andy', label: 'Thompson-Keebler', html: '<span style="color: red">Thompson-Keebler</span>' },
16
- { value: 'egg', label: 'egg', html: '<tttx-icon_1_9_69 icon="egg" />' },
16
+ { value: 'egg', label: 'egg', html: '<tttx-icon_1_9_70 icon="egg" />' },
17
17
  { value: 'Terence', label: 'Hyatt' },
18
18
  { value: 'Ruben', label: 'Toy' },
19
19
  { value: 'Rhiannon', label: 'Hills' },
@@ -28,7 +28,7 @@ const options = [
28
28
  { value: 'Ronaldo', label: 'Mann' },
29
29
  ];
30
30
  const TemplateMultiselectBox = args => `
31
- <tttx-multiselect-box_1_9_69
31
+ <tttx-multiselect-box_1_9_70
32
32
  id="multiselectBox"
33
33
  options-data='${JSON.stringify(args.optionsData)}'
34
34
  label='${args.label}'
@@ -38,7 +38,7 @@ const TemplateMultiselectBox = args => `
38
38
  is-loading='${args.isLoading}'
39
39
  stop-local-search='${args.stopLocalSearch}'
40
40
  html-visible-value: true,
41
- ></tttx-multiselect-box_1_9_69>
41
+ ></tttx-multiselect-box_1_9_70>
42
42
 
43
43
  <script>
44
44
  // Handle case where storybook renders this story twice
@@ -61,7 +61,7 @@ BasicMultiselectBox.args = {
61
61
  stopLocalSearch: true
62
62
  };
63
63
  const ReadOnlyMultiselectBoxTemplate = args => `
64
- <tttx-multiselect-box_1_9_69
64
+ <tttx-multiselect-box_1_9_70
65
65
  id="multiselectBox"
66
66
  options-data='${JSON.stringify(args.optionsData)}'
67
67
  label='${args.label}'
@@ -72,7 +72,7 @@ const ReadOnlyMultiselectBoxTemplate = args => `
72
72
  stop-local-search='${args.stopLocalSearch}'
73
73
  read-only='${args.readOnly}'
74
74
  visible-value='${options[0].label}'
75
- ></tttx-multiselect-box_1_9_69>
75
+ ></tttx-multiselect-box_1_9_70>
76
76
 
77
77
  <script>
78
78
  // Handle case where storybook renders this story twice
@@ -96,20 +96,20 @@ ReadOnlyMultiselectBox.args = {
96
96
  readOnly: true
97
97
  };
98
98
  const htmlOptions = [
99
- { value: '1', label: 'Client', html: '<tttx-tag_1_9_69 text="Client" color="#f2bebe"></tttx-tag_1_9_69>', selected: true },
100
- { value: '2', label: 'Job Role', html: '<tttx-tag_1_9_69 text="Job Role" color="#f9e1be"></tttx-tag_1_9_69>' },
101
- { value: '3', label: 'Foo', html: '<tttx-tag_1_9_69 text="Foo" color="#e4ebc9"></tttx-tag_1_9_69>', selected: true },
102
- { value: '4', label: 'Bar', html: '<tttx-tag_1_9_69 text="Bar" color="#f2bebe"></tttx-tag_1_9_69>', selected: true },
103
- { value: '5', label: 'Baz', html: '<tttx-tag_1_9_69 text="Baz" color="#f9e1be"></tttx-tag_1_9_69>' },
104
- { value: '6', label: 'Mill', html: '<tttx-tag_1_9_69 text="Mill" color="#e4ebc9"></tttx-tag_1_9_69>', selected: true },
105
- { value: '7', label: 'Hill', html: '<tttx-tag_1_9_69 text="Hill" color="#f2bebe"></tttx-tag_1_9_69>', selected: true },
106
- { value: '8', label: 'Fill', html: '<tttx-tag_1_9_69 text="Fill" color="#f9e1be"></tttx-tag_1_9_69>' },
107
- { value: '9', label: 'Supercalifragilisticexpialidocious', html: '<tttx-tag_1_9_69 text="Supercalifragilisticexpialidocious" color="#e4ebc9"></tttx-tag_1_9_69>', selected: true },
99
+ { value: '1', label: 'Client', html: '<tttx-tag_1_9_70 text="Client" color="#f2bebe"></tttx-tag_1_9_70>', selected: true },
100
+ { value: '2', label: 'Job Role', html: '<tttx-tag_1_9_70 text="Job Role" color="#f9e1be"></tttx-tag_1_9_70>' },
101
+ { value: '3', label: 'Foo', html: '<tttx-tag_1_9_70 text="Foo" color="#e4ebc9"></tttx-tag_1_9_70>', selected: true },
102
+ { value: '4', label: 'Bar', html: '<tttx-tag_1_9_70 text="Bar" color="#f2bebe"></tttx-tag_1_9_70>', selected: true },
103
+ { value: '5', label: 'Baz', html: '<tttx-tag_1_9_70 text="Baz" color="#f9e1be"></tttx-tag_1_9_70>' },
104
+ { value: '6', label: 'Mill', html: '<tttx-tag_1_9_70 text="Mill" color="#e4ebc9"></tttx-tag_1_9_70>', selected: true },
105
+ { value: '7', label: 'Hill', html: '<tttx-tag_1_9_70 text="Hill" color="#f2bebe"></tttx-tag_1_9_70>', selected: true },
106
+ { value: '8', label: 'Fill', html: '<tttx-tag_1_9_70 text="Fill" color="#f9e1be"></tttx-tag_1_9_70>' },
107
+ { value: '9', label: 'Supercalifragilisticexpialidocious', html: '<tttx-tag_1_9_70 text="Supercalifragilisticexpialidocious" color="#e4ebc9"></tttx-tag_1_9_70>', selected: true },
108
108
  ];
109
109
  const TemplateHtmlVisibleValueWrap = args => `
110
110
  <div style="height: 400px; width: 50px"></div>
111
111
  <div style="width: 300px">
112
- <tttx-multiselect-box_1_9_69
112
+ <tttx-multiselect-box_1_9_70
113
113
  id="multiselectBoxVisibleValueWrap"
114
114
  options-data='${JSON.stringify(args.optionsData)}'
115
115
  label='${args.label}'
@@ -117,8 +117,8 @@ const TemplateHtmlVisibleValueWrap = args => `
117
117
  search-enabled='${args.searchEnabled}'
118
118
  inline='${args.inline}'
119
119
  html-visible-value='true'
120
- visible-value='<tttx-tag_1_9_69 text="Client" color="#f2bebe"></tttx-tag_1_9_69><tttx-tag_1_9_69 text="Foo" color="#e4ebc9"></tttx-tag_1_9_69><tttx-tag_1_9_69 text="Bar" color="#f2bebe"></tttx-tag_1_9_69><tttx-tag_1_9_69 text="Mill" color="#e4ebc9"></tttx-tag_1_9_69><tttx-tag_1_9_69 text="Hill" color="#f2bebe"></tttx-tag_1_9_69><tttx-tag_1_9_69 text="Supercalifragilisticexpialidocious" color="#e4ebc9"></tttx-tag_1_9_69>'
121
- ></tttx-multiselect-box_1_9_69>
120
+ visible-value='<tttx-tag_1_9_70 text="Client" color="#f2bebe"></tttx-tag_1_9_70><tttx-tag_1_9_70 text="Foo" color="#e4ebc9"></tttx-tag_1_9_70><tttx-tag_1_9_70 text="Bar" color="#f2bebe"></tttx-tag_1_9_70><tttx-tag_1_9_70 text="Mill" color="#e4ebc9"></tttx-tag_1_9_70><tttx-tag_1_9_70 text="Hill" color="#f2bebe"></tttx-tag_1_9_70><tttx-tag_1_9_70 text="Supercalifragilisticexpialidocious" color="#e4ebc9"></tttx-tag_1_9_70>'
121
+ ></tttx-multiselect-box_1_9_70>
122
122
  </div>
123
123
 
124
124
  <script>
@@ -140,12 +140,12 @@ HtmlVisibleValueWrap.args = {
140
140
  inline: false,
141
141
  };
142
142
  const htmlOptionsShort = [
143
- { value: '1', label: 'Client', html: '<tttx-tag_1_9_69 text="Client" color="#f2bebe"></tttx-tag_1_9_69>', selected: true },
144
- { value: '2', label: 'Job Role', html: '<tttx-tag_1_9_69 text="Job Role" color="#f9e1be"></tttx-tag_1_9_69>' },
145
- { value: '3', label: 'Foo', html: '<tttx-tag_1_9_69 text="Foo" color="#e4ebc9"></tttx-tag_1_9_69>', selected: true },
143
+ { value: '1', label: 'Client', html: '<tttx-tag_1_9_70 text="Client" color="#f2bebe"></tttx-tag_1_9_70>', selected: true },
144
+ { value: '2', label: 'Job Role', html: '<tttx-tag_1_9_70 text="Job Role" color="#f9e1be"></tttx-tag_1_9_70>' },
145
+ { value: '3', label: 'Foo', html: '<tttx-tag_1_9_70 text="Foo" color="#e4ebc9"></tttx-tag_1_9_70>', selected: true },
146
146
  ];
147
147
  const TemplateHtmlVisibleValue = args => `
148
- <tttx-multiselect-box_1_9_69
148
+ <tttx-multiselect-box_1_9_70
149
149
  id="multiselectBox"
150
150
  options-data='${JSON.stringify(args.optionsData)}'
151
151
  label='${args.label}'
@@ -153,7 +153,7 @@ const TemplateHtmlVisibleValue = args => `
153
153
  search-enabled='${args.searchEnabled}'
154
154
  inline='${args.inline}'
155
155
  html-visible-value='true'
156
- ></tttx-multiselect-box_1_9_69>
156
+ ></tttx-multiselect-box_1_9_70>
157
157
 
158
158
  <script>
159
159
  // Handle case where storybook renders this story twice
@@ -174,22 +174,22 @@ HtmlVisibleValue.args = {
174
174
  inline: false,
175
175
  };
176
176
  const tagOptions = [
177
- { value: '1', label: 'Client', html: '<tttx-tag_1_9_69 text="Client" color="#f2bebe"></tttx-tag_1_9_69>', selected: true },
178
- { value: '2', label: 'Job Role', html: '<tttx-tag_1_9_69 text="Job Role" color="#f9e1be"></tttx-tag_1_9_69>' },
179
- { value: '3', label: 'Foo', html: '<tttx-tag_1_9_69 text="Foo" color="#e4ebc9"></tttx-tag_1_9_69>', selected: true },
180
- { value: '4', label: 'Bar', html: '<tttx-tag_1_9_69 text="Bar" color="#f2bebe"></tttx-tag_1_9_69>', selected: true },
181
- { value: '5', label: 'Baz', html: '<tttx-tag_1_9_69 text="Baz" color="#f9e1be"></tttx-tag_1_9_69>' },
182
- { value: '6', label: 'Mill', html: '<tttx-tag_1_9_69 text="Mill" color="#e4ebc9"></tttx-tag_1_9_69>', selected: true },
183
- { value: '7', label: 'Hill', html: '<tttx-tag_1_9_69 text="Hill" color="#f2bebe"></tttx-tag_1_9_69>', selected: true },
184
- { value: '8', label: 'Fill', html: '<tttx-tag_1_9_69 text="Fill" color="#f9e1be"></tttx-tag_1_9_69>' },
185
- { value: '9', label: 'Supercalifragilisticexpialidocious', html: '<tttx-tag_1_9_69 text="Supercalifragilisticexpialidocious" color="#e4ebc9"></tttx-tag_1_9_69>', selected: true },
177
+ { value: '1', label: 'Client', html: '<tttx-tag_1_9_70 text="Client" color="#f2bebe"></tttx-tag_1_9_70>', selected: true },
178
+ { value: '2', label: 'Job Role', html: '<tttx-tag_1_9_70 text="Job Role" color="#f9e1be"></tttx-tag_1_9_70>' },
179
+ { value: '3', label: 'Foo', html: '<tttx-tag_1_9_70 text="Foo" color="#e4ebc9"></tttx-tag_1_9_70>', selected: true },
180
+ { value: '4', label: 'Bar', html: '<tttx-tag_1_9_70 text="Bar" color="#f2bebe"></tttx-tag_1_9_70>', selected: true },
181
+ { value: '5', label: 'Baz', html: '<tttx-tag_1_9_70 text="Baz" color="#f9e1be"></tttx-tag_1_9_70>' },
182
+ { value: '6', label: 'Mill', html: '<tttx-tag_1_9_70 text="Mill" color="#e4ebc9"></tttx-tag_1_9_70>', selected: true },
183
+ { value: '7', label: 'Hill', html: '<tttx-tag_1_9_70 text="Hill" color="#f2bebe"></tttx-tag_1_9_70>', selected: true },
184
+ { value: '8', label: 'Fill', html: '<tttx-tag_1_9_70 text="Fill" color="#f9e1be"></tttx-tag_1_9_70>' },
185
+ { value: '9', label: 'Supercalifragilisticexpialidocious', html: '<tttx-tag_1_9_70 text="Supercalifragilisticexpialidocious" color="#e4ebc9"></tttx-tag_1_9_70>', selected: true },
186
186
  ];
187
187
  const TttxDialogBoxStory = ({ data }) => `
188
188
  <button onclick="openDialog()">Open</button>
189
- <tttx-dialog-box_1_9_69
189
+ <tttx-dialog-box_1_9_70
190
190
  id='dialogBox'
191
191
  allow-overflow='true'
192
- ></tttx-dialog-box_1_9_69>
192
+ ></tttx-dialog-box_1_9_70>
193
193
  <script>
194
194
  if(!dialogBox) {
195
195
  const dialogBox = document.getElementById('dialogBox');
@@ -216,7 +216,7 @@ DialogBoxWithDropdown.args = {
216
216
  isCustomHtml: true,
217
217
  customHtml: `
218
218
  <div style="padding: 5px;">
219
- <tttx-multiselect-box_1_9_69
219
+ <tttx-multiselect-box_1_9_70
220
220
  id="dropdownSelectBox"
221
221
  options-data='${JSON.stringify(tagOptions)}'
222
222
  label='Label'
@@ -225,7 +225,7 @@ DialogBoxWithDropdown.args = {
225
225
  inline='${false}'
226
226
  visible-value='${tagOptions[0].html} ${tagOptions[2].html}'
227
227
  html-visible-value='true'
228
- ></tttx-multiselect-box_1_9_69>
228
+ ></tttx-multiselect-box_1_9_70>
229
229
  </div>
230
230
  `,
231
231
  },
@@ -245,7 +245,7 @@ const priorityMultiSelectOptions = [
245
245
  { value: '4', label: 'Keira Metz' }
246
246
  ];
247
247
  const TemplatePriorityMultiSelect = args => `
248
- <tttx-multiselect-box_1_9_69
248
+ <tttx-multiselect-box_1_9_70
249
249
  id="multiselectBox"
250
250
  options-data='${JSON.stringify(args.optionsData)}'
251
251
  label='${args.label}'
@@ -254,7 +254,7 @@ const TemplatePriorityMultiSelect = args => `
254
254
  inline='${args.inline}'
255
255
  priority-label='${args.priorityLabel}'
256
256
  non-priority-label='${args.nonPriorityLabel}'
257
- ></tttx-multiselect-box_1_9_69>
257
+ ></tttx-multiselect-box_1_9_70>
258
258
 
259
259
  <script>
260
260
  if (!multiselectBox.length) {
@@ -0,0 +1,158 @@
1
+ .wrapper {
2
+ position: relative;
3
+ width: 80%;
4
+ background-color: #ffffff;
5
+ padding: 50px 40px 20px 40px;
6
+ border-radius: 10px;
7
+ }
8
+
9
+ .container {
10
+ position: relative;
11
+ width: 100%;
12
+ height: 50px;
13
+ margin-top: 20px;
14
+ }
15
+
16
+ input[type="range"] {
17
+ -webkit-appearance: none;
18
+ -moz-appearance: none;
19
+ appearance: none;
20
+ width: 100%;
21
+ outline: none;
22
+ position: absolute;
23
+ margin: auto;
24
+ top: 0;
25
+ bottom: 0;
26
+ background-color: transparent;
27
+ pointer-events: none;
28
+ }
29
+
30
+ .slider-track {
31
+ width: 100%;
32
+ height: 5px;
33
+ position: absolute;
34
+ margin: auto;
35
+ top: 0;
36
+ bottom: 0;
37
+ border-radius: 5px;
38
+ }
39
+
40
+ input[type="range"]::-webkit-slider-runnable-track {
41
+ -webkit-appearance: none;
42
+ height: 5px;
43
+ }
44
+
45
+ input[type="range"]::-moz-range-track {
46
+ -moz-appearance: none;
47
+ height: 5px;
48
+ }
49
+
50
+ input[type="range"]::-ms-track {
51
+ appearance: none;
52
+ height: 5px;
53
+ }
54
+
55
+ input[type="range"]::-webkit-slider-thumb {
56
+ -webkit-appearance: none;
57
+ height: 1.7em;
58
+ width: 1.7em;
59
+ background-color: #1579C6;
60
+ cursor: pointer;
61
+ margin-top: -9px;
62
+ pointer-events: auto;
63
+ border-radius: 50%;
64
+ border: 2px solid white;
65
+ }
66
+
67
+ input[type="range"]::-moz-range-thumb {
68
+ -webkit-appearance: none;
69
+ height: 1.7em;
70
+ width: 1.7em;
71
+ cursor: pointer;
72
+ border-radius: 50%;
73
+ border: 2px solid white;
74
+ background-color: #1579C6;
75
+ pointer-events: auto;
76
+ }
77
+
78
+ input[type="range"]::-ms-thumb {
79
+ appearance: none;
80
+ height: 1.7em;
81
+ width: 1.7em;
82
+ cursor: pointer;
83
+ border-radius: 50%;
84
+ border: 2px solid white;
85
+ background-color: #1579C6;
86
+ pointer-events: auto;
87
+ }
88
+
89
+ input[type="range"]:active::-webkit-slider-thumb {
90
+ background-color: #1579C6;
91
+ border: 2px solid white;
92
+ }
93
+
94
+ .values {
95
+ display: flex;
96
+ flex-direction: row;
97
+ width: 100%;
98
+ }
99
+
100
+ .range-divider {
101
+ flex-grow: 1;
102
+ display: flex;
103
+ justify-content: center;
104
+ }
105
+
106
+ .range-divider, .value-input {
107
+ color: #9E9E9E
108
+ }
109
+
110
+ .input-pre-text {
111
+ position: absolute;
112
+ font-size: 14px;
113
+ line-height: 16px;
114
+ font-style: normal;
115
+ margin-top: 9px;
116
+ margin-left: 5px;
117
+ }
118
+
119
+ .value-input {
120
+ padding-left: 40px;
121
+ height: 30px;
122
+ width: 45px;
123
+ border-radius: 4px;
124
+ border: 1px solid #D5D5D5;
125
+ }
126
+
127
+ .slider-tooltip {
128
+ background: #212121;
129
+ border-radius: .4em;
130
+ display: none;
131
+ position: absolute;
132
+ color: #ffffff;
133
+ padding: var(--05, 4px) var(--2, 14px);
134
+ font-size: 12px;
135
+ white-space: nowrap;
136
+ opacity: 1;
137
+ top: -15px !important;
138
+ left: 1px;
139
+ }
140
+
141
+ .slider-tooltip-upper {
142
+ right: 1px;
143
+ left: auto !important;
144
+ }
145
+
146
+ .slider-tooltip:after {
147
+ content: '';
148
+ position: absolute;
149
+ bottom: 0;
150
+ left: 50%;
151
+ width: 0;
152
+ height: 0;
153
+ border: 6px solid transparent;
154
+ border-top-color: #212121;
155
+ border-bottom: 0;
156
+ margin-left: -6px;
157
+ margin-bottom: -6px;
158
+ }
@@ -0,0 +1,262 @@
1
+ import { h, Fragment } from '@stencil/core';
2
+ export class TttxRangeSlider {
3
+ constructor() {
4
+ this.sliderBackground = '#D5D5D5';
5
+ this.activeSliderBackground = '#1579C6';
6
+ this.minGap = 0;
7
+ this.minimum = 0;
8
+ this.maximum = 100;
9
+ this.sliderMode = 'single';
10
+ this.showFields = false;
11
+ this.lowerValue = undefined;
12
+ this.upperValue = undefined;
13
+ }
14
+ componentWillLoad() {
15
+ if (!['single', 'dual'].includes(this.sliderMode))
16
+ this.sliderMode = 'single';
17
+ this.lowerValue = this.minimum;
18
+ this.upperValue = this.maximum;
19
+ this.showFields = this.showFields && this.sliderMode === 'dual'; // only show fields if requested & on dual slider
20
+ }
21
+ componentDidRender() {
22
+ this.setSliderColours();
23
+ }
24
+ emitValuesUpdatedEvent() {
25
+ // timeout as could be fired several times as slider is dragged, only send one event
26
+ clearTimeout(this.emitValuesTimeout);
27
+ this.emitValuesTimeout = setTimeout((lowerValue, upperValue) => {
28
+ this.sliderValuesUpdated.emit({
29
+ lowerValue,
30
+ upperValue
31
+ });
32
+ }, 300, this.lowerValue, this.upperValue);
33
+ }
34
+ inputDebounce(inputType, event) {
35
+ // debounce to allow user time to finish inputting value
36
+ clearTimeout(this.inputTimeout);
37
+ this.inputTimeout = setTimeout((inputType, event) => {
38
+ this.handleInputChange(inputType, event);
39
+ }, 300, inputType, event.target.value);
40
+ }
41
+ handleInputChange(inputType, inputValue) {
42
+ const enteredValue = parseInt(inputValue);
43
+ if (inputType === 'min') {
44
+ let newValue = enteredValue;
45
+ // cannot go higher than max slider or lower than minimum
46
+ if (Number.isNaN(enteredValue) || newValue < this.minimum)
47
+ newValue = this.minimum;
48
+ if (newValue > this.upperValue)
49
+ newValue = this.upperValue;
50
+ this.refLowerInput.value = newValue;
51
+ this.lowerValue = newValue;
52
+ }
53
+ if (inputType === 'max') {
54
+ let newValue = enteredValue;
55
+ // cannot go lower than min slider or higher than maximum
56
+ if (Number.isNaN(enteredValue) || newValue > this.maximum)
57
+ newValue = this.maximum;
58
+ if (newValue < this.lowerValue)
59
+ newValue = this.lowerValue;
60
+ this.refUpperInput.value = newValue;
61
+ this.upperValue = newValue;
62
+ }
63
+ // notify user of updated slider values
64
+ this.emitValuesUpdatedEvent();
65
+ }
66
+ onMinSliderChange() {
67
+ // update slider & fields (without going above upper limit)
68
+ if (parseInt(this.refSliderUpper.value) - parseInt(this.refSliderLower.value) <= this.minGap) {
69
+ this.refSliderLower.value = parseInt(this.refSliderUpper.value) - this.minGap;
70
+ }
71
+ if (this.showFields)
72
+ this.refLowerInput.value = this.refSliderLower.value;
73
+ this.setSliderColours();
74
+ this.setTooltipPositions('min');
75
+ this.lowerValue = parseInt(this.refSliderLower.value);
76
+ // notify user of updated slider values
77
+ this.emitValuesUpdatedEvent();
78
+ }
79
+ onMaxSliderChange() {
80
+ // update slider & fields (without going below lower limit)
81
+ if (parseInt(this.refSliderUpper.value) - parseInt(this.refSliderLower.value) <= this.minGap) {
82
+ this.refSliderUpper.value = parseInt(this.refSliderLower.value) + this.minGap;
83
+ }
84
+ if (this.showFields)
85
+ this.refUpperInput.value = this.refSliderUpper.value;
86
+ this.setSliderColours();
87
+ this.setTooltipPositions('max');
88
+ this.upperValue = parseInt(this.refSliderUpper.value);
89
+ // notify user of updated slider values
90
+ this.emitValuesUpdatedEvent();
91
+ }
92
+ setSliderColours() {
93
+ // update highlighted part of slider based on where slider has moved to
94
+ if (this.sliderMode === 'single') {
95
+ const percent = (this.refSliderSingle.value / this.maximum) * 100;
96
+ this.refSliderTrack.style.background = `linear-gradient(to right, ${this.activeSliderBackground} ${percent}% , ${this.sliderBackground} ${percent}%)`;
97
+ }
98
+ if (this.sliderMode === 'dual') {
99
+ const percent1 = (this.refSliderLower.value / this.maximum) * 100;
100
+ const percent2 = (this.refSliderUpper.value / this.maximum) * 100;
101
+ this.refSliderTrack.style.background = `linear-gradient(to right, ${this.sliderBackground} ${percent1}% , ${this.activeSliderBackground} ${percent1}% , ${this.activeSliderBackground} ${percent2}%, ${this.sliderBackground} ${percent2}%)`;
102
+ }
103
+ }
104
+ renderValueInput(inputType, value) {
105
+ return (h("div", { class: 'input-wrapper' }, h("span", { class: 'input-pre-text' }, inputType[0].toUpperCase() + inputType.slice(1, inputType.length) + ':'), h("input", { type: 'number', class: 'value-input', value: value, ref: el => this.setValueInputRef(inputType, el), onInput: (event) => this.inputDebounce(inputType, event) })));
106
+ }
107
+ setValueInputRef(inputType, element) {
108
+ if (inputType === 'min')
109
+ this.refLowerInput = element;
110
+ if (inputType === 'max')
111
+ this.refUpperInput = element;
112
+ }
113
+ setTooltipPositions(sliderMoved) {
114
+ let timeoutRef;
115
+ let tooltipRef;
116
+ let percentage;
117
+ let styleElement;
118
+ if (sliderMoved === 'min') {
119
+ // single slider uses upper val but needs to build from left
120
+ const value = this.sliderMode === 'single' ? this.upperValue : this.lowerValue;
121
+ timeoutRef = this.minTooltipTimeout;
122
+ tooltipRef = this.refTooltipMin;
123
+ percentage = ((value - this.minimum) / (this.maximum - this.minimum)) * 100;
124
+ styleElement = 'left';
125
+ }
126
+ if (sliderMoved === 'max') {
127
+ timeoutRef = this.maxTooltipTimeout;
128
+ tooltipRef = this.refTooltipMax;
129
+ percentage = 100 - (((this.upperValue - this.minimum) / (this.maximum - this.minimum)) * 100);
130
+ styleElement = 'right';
131
+ }
132
+ // clear relevant timeout & set element expected % from right or left
133
+ clearTimeout(timeoutRef);
134
+ tooltipRef.style[styleElement] = `${percentage}%`;
135
+ tooltipRef.style.display = 'block';
136
+ timeoutRef = setTimeout(() => {
137
+ tooltipRef.style.display = 'none';
138
+ }, 1500);
139
+ }
140
+ onSingleSliderChange(event) {
141
+ const value = event.target.value;
142
+ this.upperValue = parseInt(value); // can only come from slider, no chance of being NaN
143
+ this.setTooltipPositions('min');
144
+ // notify user of updated slider values
145
+ this.emitValuesUpdatedEvent();
146
+ }
147
+ render() {
148
+ return (h("div", { class: 'wrapper' }, this.sliderMode === 'single' && (h(Fragment, null, h("div", { class: 'container' }, h("div", { class: 'slider-track', ref: el => (this.refSliderTrack = el) }), h("span", { ref: el => (this.refTooltipMin = el), class: 'slider-tooltip' }, this.upperValue), h("input", { type: 'range', min: this.minimum, max: this.maximum, value: this.lowerValue, ref: el => (this.refSliderSingle = el), onInput: this.onSingleSliderChange.bind(this) })))), this.sliderMode === 'dual' && (h(Fragment, null, this.showFields && (h("div", { class: 'values' }, this.renderValueInput('min', this.minimum), h("span", { class: 'range-divider' }, " to "), this.renderValueInput('max', this.maximum))), h("div", { class: 'container' }, h("div", { class: 'slider-track', ref: el => (this.refSliderTrack = el) }), h("span", { ref: el => (this.refTooltipMin = el), class: 'slider-tooltip' }, this.lowerValue), h("span", { ref: el => (this.refTooltipMax = el), class: 'slider-tooltip slider-tooltip-upper' }, this.upperValue), h("input", { type: 'range', min: this.minimum, max: this.maximum, value: this.lowerValue, ref: el => (this.refSliderLower = el), onInput: () => this.onMinSliderChange() }), h("input", { type: 'range', min: this.minimum, max: this.maximum, value: this.upperValue, ref: el => (this.refSliderUpper = el), onInput: () => this.onMaxSliderChange() }))))));
149
+ }
150
+ static get is() { return "tttx-range-slider"; }
151
+ static get encapsulation() { return "shadow"; }
152
+ static get originalStyleUrls() {
153
+ return {
154
+ "$": ["tttx-range-slider.css"]
155
+ };
156
+ }
157
+ static get styleUrls() {
158
+ return {
159
+ "$": ["tttx-range-slider.css"]
160
+ };
161
+ }
162
+ static get properties() {
163
+ return {
164
+ "minimum": {
165
+ "type": "number",
166
+ "mutable": false,
167
+ "complexType": {
168
+ "original": "number",
169
+ "resolved": "number",
170
+ "references": {}
171
+ },
172
+ "required": false,
173
+ "optional": false,
174
+ "docs": {
175
+ "tags": [],
176
+ "text": ""
177
+ },
178
+ "attribute": "minimum",
179
+ "reflect": false,
180
+ "defaultValue": "0"
181
+ },
182
+ "maximum": {
183
+ "type": "number",
184
+ "mutable": false,
185
+ "complexType": {
186
+ "original": "number",
187
+ "resolved": "number",
188
+ "references": {}
189
+ },
190
+ "required": false,
191
+ "optional": false,
192
+ "docs": {
193
+ "tags": [],
194
+ "text": ""
195
+ },
196
+ "attribute": "maximum",
197
+ "reflect": false,
198
+ "defaultValue": "100"
199
+ },
200
+ "sliderMode": {
201
+ "type": "string",
202
+ "mutable": false,
203
+ "complexType": {
204
+ "original": "'single' | 'dual'",
205
+ "resolved": "\"dual\" | \"single\"",
206
+ "references": {}
207
+ },
208
+ "required": false,
209
+ "optional": false,
210
+ "docs": {
211
+ "tags": [],
212
+ "text": ""
213
+ },
214
+ "attribute": "slider-mode",
215
+ "reflect": false,
216
+ "defaultValue": "'single'"
217
+ },
218
+ "showFields": {
219
+ "type": "boolean",
220
+ "mutable": false,
221
+ "complexType": {
222
+ "original": "boolean",
223
+ "resolved": "boolean",
224
+ "references": {}
225
+ },
226
+ "required": false,
227
+ "optional": false,
228
+ "docs": {
229
+ "tags": [],
230
+ "text": ""
231
+ },
232
+ "attribute": "show-fields",
233
+ "reflect": false,
234
+ "defaultValue": "false"
235
+ }
236
+ };
237
+ }
238
+ static get states() {
239
+ return {
240
+ "lowerValue": {},
241
+ "upperValue": {}
242
+ };
243
+ }
244
+ static get events() {
245
+ return [{
246
+ "method": "sliderValuesUpdated",
247
+ "name": "sliderValuesUpdated",
248
+ "bubbles": true,
249
+ "cancelable": true,
250
+ "composed": true,
251
+ "docs": {
252
+ "tags": [],
253
+ "text": ""
254
+ },
255
+ "complexType": {
256
+ "original": "{ lowerValue: number, upperValue: number }",
257
+ "resolved": "{ lowerValue: number; upperValue: number; }",
258
+ "references": {}
259
+ }
260
+ }];
261
+ }
262
+ }
@@ -0,0 +1,34 @@
1
+ export default {
2
+ title: 'molecules/Range Slider',
3
+ component: 'tttx-range-slider'
4
+ };
5
+ const TemplateBasicSlider = (args) => `
6
+ <tttx-range-slider
7
+ minimum="${args.minimum}"
8
+ maximum="${args.maximum}"
9
+ slider-mode="${args.sliderMode}"
10
+ show-fields="${args.showFields}"
11
+ />
12
+ `;
13
+ export const BasicSlider = TemplateBasicSlider.bind({});
14
+ BasicSlider.args = {
15
+ minimum: 0,
16
+ maximum: 100,
17
+ sliderMode: 'single',
18
+ showFields: true
19
+ };
20
+ const TemplateDualSlider = (args) => `
21
+ <tttx-range-slider
22
+ minimum="${args.minimum}"
23
+ maximum="${args.maximum}"
24
+ slider-mode="${args.sliderMode}"
25
+ show-fields="${args.showFields}"
26
+ />
27
+ `;
28
+ export const DualSlider = TemplateDualSlider.bind({});
29
+ DualSlider.args = {
30
+ minimum: 0,
31
+ maximum: 100,
32
+ sliderMode: 'dual',
33
+ showFields: true
34
+ };