@3t-transform/threeteeui 1.9.66 → 1.9.68
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.
- package/dist/cjs/{auto-1fd7408f.js → auto-ac58fa98.js} +243 -80
- package/dist/cjs/{index-1249dc08.js → index-3fc38d11.js} +8 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{tttx-action-dropdown_1_9_66.cjs.entry.js → tttx-action-dropdown_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-button-v2_1_9_66.cjs.entry.js → tttx-button-v2_1_9_68.cjs.entry.js} +25 -15
- package/dist/cjs/{tttx-button_1_9_66.cjs.entry.js → tttx-button_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-chart_1_9_66.cjs.entry.js → tttx-chart_1_9_68.cjs.entry.js} +45 -11
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_66.cjs.entry.js → tttx-checkbox-group-caption_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_66.cjs.entry.js → tttx-checkbox-group-heading_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group_1_9_66.cjs.entry.js → tttx-checkbox-group_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox_1_9_66.cjs.entry.js → tttx-checkbox_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-comments_1_9_66.cjs.entry.js → tttx-comments_1_9_68.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-data-pattern_1_9_66.cjs.entry.js → tttx-data-pattern_1_9_68.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-datacard_1_9_66.cjs.entry.js → tttx-datacard_1_9_68.cjs.entry.js} +5 -5
- package/dist/cjs/tttx-date-range-picker.cjs.entry.js +2 -2
- package/dist/cjs/{tttx-dialog-box_1_9_66.cjs.entry.js → tttx-dialog-box_1_9_68.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-dialog_1_9_66.cjs.entry.js → tttx-dialog_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-expander_1_9_66.cjs.entry.js → tttx-expander_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-filter_1_9_66_4.cjs.entry.js → tttx-filter_1_9_68_4.cjs.entry.js} +10 -10
- package/dist/cjs/{tttx-form_1_9_66.cjs.entry.js → tttx-form_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-graph_1_9_66.cjs.entry.js → tttx-graph_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-icon_1_9_66.cjs.entry.js → tttx-icon_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-keyvalue-block_1_9_66.cjs.entry.js → tttx-keyvalue-block_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-loading-spinner_1_9_66_3.cjs.entry.js → tttx-loading-spinner_1_9_68_3.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-multiselect-box_1_9_66.cjs.entry.js → tttx-multiselect-box_1_9_68.cjs.entry.js} +8 -8
- package/dist/cjs/{tttx-percentage-bar_1_9_66.cjs.entry.js → tttx-percentage-bar_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-qrcode_1_9_66.cjs.entry.js → tttx-qrcode_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-select-box_1_9_66.cjs.entry.js → tttx-select-box_1_9_68.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-skeleton_loader_1_9_66.cjs.entry.js → tttx-skeleton_loader_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-table_1_9_66.cjs.entry.js → tttx-table_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tabs_1_9_66.cjs.entry.js → tttx-tabs_1_9_68.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-textarea_1_9_66.cjs.entry.js → tttx-textarea_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-toggle_1_9_66.cjs.entry.js → tttx-toggle_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/tttx-tooltip_1_9_68.cjs.entry.js +61 -0
- package/dist/cjs/{tttx-tree-view_1_9_66.cjs.entry.js → tttx-tree-view_1_9_68.cjs.entry.js} +4 -4
- package/dist/cjs/tttx.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.css +1 -1
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +28 -18
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.stories.js +15 -15
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +2 -2
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +1 -1
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.css +2 -0
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +61 -9
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +12 -10
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +4 -4
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tooltip.css +83 -0
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tooltip.js +180 -0
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tootip.stories.js +39 -0
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +1 -1
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
- package/dist/components/auto.js +243 -80
- package/dist/components/index.d.ts +36 -35
- package/dist/components/index.js +36 -35
- package/dist/components/tttx-action-dropdown_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_66.js → tttx-action-dropdown_1_9_68.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_66.d.ts → tttx-button-v2_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_66.js → tttx-button-v2_1_9_68.js} +29 -19
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_66.d.ts → tttx-button_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_66.js → tttx-button_1_9_68.js} +2 -2
- package/dist/components/{tttx-table_1_9_66.d.ts → tttx-chart_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_66.js → tttx-chart_1_9_68.js} +51 -16
- package/dist/components/tttx-checkbox-group-caption_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_66.js → tttx-checkbox-group-caption_1_9_68.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_66.js → tttx-checkbox-group-heading_1_9_68.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_66.js → tttx-checkbox-group_1_9_68.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_66.d.ts → tttx-checkbox_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_66.js → tttx-checkbox_1_9_68.js} +7 -7
- package/dist/components/tttx-comments_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_66.js → tttx-comments_1_9_68.js} +9 -9
- package/dist/components/tttx-data-pattern_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_66.js → tttx-data-pattern_1_9_68.js} +16 -16
- package/dist/components/tttx-datacard_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_66.js → tttx-datacard_1_9_68.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_66.js → tttx-dialog-box_1_9_68.js} +9 -9
- package/dist/components/{tttx-filter_1_9_66.d.ts → tttx-dialog_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_66.js → tttx-dialog_1_9_68.js} +8 -8
- package/dist/components/tttx-expander_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_66.js → tttx-expander_1_9_68.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-button_1_9_66.d.ts → tttx-filter_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_66.js → tttx-filter_1_9_68.js} +2 -2
- package/dist/components/{tttx-form_1_9_66.d.ts → tttx-form_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_66.js → tttx-form_1_9_68.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_66.d.ts → tttx-graph_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_66.js → tttx-graph_1_9_68.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_9_66.d.ts → tttx-icon_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_66.js → tttx-icon_1_9_68.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_66.js → tttx-keyvalue-block_1_9_68.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-icon_1_9_66.d.ts → tttx-list_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_66.js → tttx-list_1_9_68.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_66.js → tttx-loading-spinner_1_9_68.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_66.js → tttx-multiselect-box_1_9_68.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_66.js → tttx-percentage-bar_1_9_68.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_66.d.ts → tttx-qrcode_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_66.js → tttx-qrcode_1_9_68.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_66.js → tttx-select-box_1_9_68.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_66.js → tttx-skeleton_loader_1_9_68.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_66.js → tttx-sorter_1_9_68.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_66.js → tttx-standalone-input_1_9_68.js} +2 -2
- package/dist/components/{tttx-chart_1_9_66.d.ts → tttx-table_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_66.js → tttx-table_1_9_68.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_66.d.ts → tttx-tabs_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_66.js → tttx-tabs_1_9_68.js} +9 -9
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_66.d.ts → tttx-tag_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_66.js → tttx-tag_1_9_68.js} +2 -2
- package/dist/components/tttx-textarea_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_66.js → tttx-textarea_1_9_68.js} +6 -6
- package/dist/components/tttx-toggle_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_66.js → tttx-toggle_1_9_68.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_66.js → tttx-toolbar_1_9_68.js} +2 -2
- package/dist/components/tttx-tooltip_1_9_68.d.ts +11 -0
- package/dist/components/tttx-tooltip_1_9_68.js +83 -0
- package/dist/components/tttx-tree-view_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_66.js → tttx-tree-view_1_9_68.js} +9 -9
- package/dist/esm/{auto-c6e6ac5c.js → auto-1d8b24f0.js} +243 -80
- package/dist/esm/{index-6b9af9c9.js → index-9f3e16ad.js} +8 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{tttx-action-dropdown_1_9_66.entry.js → tttx-action-dropdown_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-button-v2_1_9_66.entry.js → tttx-button-v2_1_9_68.entry.js} +25 -15
- package/dist/esm/{tttx-button_1_9_66.entry.js → tttx-button_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-chart_1_9_66.entry.js → tttx-chart_1_9_68.entry.js} +45 -11
- package/dist/esm/{tttx-checkbox-group-caption_1_9_66.entry.js → tttx-checkbox-group-caption_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-heading_1_9_66.entry.js → tttx-checkbox-group-heading_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group_1_9_66.entry.js → tttx-checkbox-group_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox_1_9_66.entry.js → tttx-checkbox_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-comments_1_9_66.entry.js → tttx-comments_1_9_68.entry.js} +5 -5
- package/dist/esm/{tttx-data-pattern_1_9_66.entry.js → tttx-data-pattern_1_9_68.entry.js} +6 -6
- package/dist/esm/{tttx-datacard_1_9_66.entry.js → tttx-datacard_1_9_68.entry.js} +5 -5
- package/dist/esm/tttx-date-range-picker.entry.js +2 -2
- package/dist/esm/{tttx-dialog-box_1_9_66.entry.js → tttx-dialog-box_1_9_68.entry.js} +4 -4
- package/dist/esm/{tttx-dialog_1_9_66.entry.js → tttx-dialog_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-expander_1_9_66.entry.js → tttx-expander_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-filter_1_9_66_4.entry.js → tttx-filter_1_9_68_4.entry.js} +7 -7
- package/dist/esm/{tttx-form_1_9_66.entry.js → tttx-form_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-graph_1_9_66.entry.js → tttx-graph_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-icon_1_9_66.entry.js → tttx-icon_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-keyvalue-block_1_9_66.entry.js → tttx-keyvalue-block_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-loading-spinner_1_9_66_3.entry.js → tttx-loading-spinner_1_9_68_3.entry.js} +5 -5
- package/dist/esm/{tttx-multiselect-box_1_9_66.entry.js → tttx-multiselect-box_1_9_68.entry.js} +8 -8
- package/dist/esm/{tttx-percentage-bar_1_9_66.entry.js → tttx-percentage-bar_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-qrcode_1_9_66.entry.js → tttx-qrcode_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-select-box_1_9_66.entry.js → tttx-select-box_1_9_68.entry.js} +7 -7
- package/dist/esm/{tttx-skeleton_loader_1_9_66.entry.js → tttx-skeleton_loader_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-table_1_9_66.entry.js → tttx-table_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-tabs_1_9_66.entry.js → tttx-tabs_1_9_68.entry.js} +5 -5
- package/dist/esm/{tttx-textarea_1_9_66.entry.js → tttx-textarea_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-toggle_1_9_66.entry.js → tttx-toggle_1_9_68.entry.js} +2 -2
- package/dist/esm/tttx-tooltip_1_9_68.entry.js +57 -0
- package/dist/esm/{tttx-tree-view_1_9_66.entry.js → tttx-tree-view_1_9_68.entry.js} +4 -4
- package/dist/esm/tttx.js +3 -3
- package/dist/tttx/{p-eda88cd9.entry.js → p-13272658.entry.js} +1 -1
- package/dist/tttx/{p-210a3640.entry.js → p-1f75b5d3.entry.js} +1 -1
- package/dist/tttx/p-296958ae.entry.js +1 -0
- package/dist/tttx/{p-cfc7f861.entry.js → p-32cf4137.entry.js} +1 -1
- package/dist/tttx/{p-95ea704b.entry.js → p-36edf716.entry.js} +1 -1
- package/dist/tttx/{p-6ae828ed.entry.js → p-47fadd24.entry.js} +1 -1
- package/dist/tttx/{p-79a18842.entry.js → p-4c63f7da.entry.js} +1 -1
- package/dist/tttx/{p-4bc84dcf.entry.js → p-4ddf7946.entry.js} +1 -1
- package/dist/tttx/{p-46985553.entry.js → p-5765b7da.entry.js} +1 -1
- package/dist/tttx/{p-655cebb7.entry.js → p-5a4e385f.entry.js} +1 -1
- package/dist/tttx/{p-28528c3a.entry.js → p-5b7c20ff.entry.js} +1 -1
- package/dist/tttx/p-5c9beaf9.js +2 -0
- package/dist/tttx/{p-e0bd4daa.entry.js → p-5e14d6aa.entry.js} +1 -1
- package/dist/tttx/{p-92b48e8e.entry.js → p-74a8c484.entry.js} +1 -1
- package/dist/tttx/{p-a380f600.entry.js → p-789defe0.entry.js} +1 -1
- package/dist/tttx/{p-4e8dee24.entry.js → p-8392774e.entry.js} +1 -1
- package/dist/tttx/{p-e7c92d26.entry.js → p-86cdb616.entry.js} +1 -1
- package/dist/tttx/p-8beccdc9.entry.js +1 -0
- package/dist/tttx/{p-99cee169.entry.js → p-969a4944.entry.js} +1 -1
- package/dist/tttx/p-a2979a57.entry.js +1 -0
- package/dist/tttx/{p-46853736.entry.js → p-a50d9105.entry.js} +1 -1
- package/dist/tttx/{p-72aa3209.entry.js → p-a8526f90.entry.js} +1 -1
- package/dist/tttx/{p-04acb4f7.entry.js → p-b2a0053a.entry.js} +1 -1
- package/dist/tttx/{p-e8d02dd3.entry.js → p-b4fe2853.entry.js} +1 -1
- package/dist/tttx/{p-8db27f20.entry.js → p-b97e0e3c.entry.js} +1 -1
- package/dist/tttx/{p-46933761.entry.js → p-c33f9022.entry.js} +1 -1
- package/dist/tttx/{p-1b8af0a1.entry.js → p-ca58259a.entry.js} +1 -1
- package/dist/tttx/{p-ffb09d64.entry.js → p-d1ee41dd.entry.js} +1 -1
- package/dist/tttx/p-e8b32779.entry.js +1 -0
- package/dist/tttx/{p-2a6e57b3.entry.js → p-ee41fe8f.entry.js} +1 -1
- package/dist/tttx/{p-964b5e1a.entry.js → p-f30833e3.entry.js} +1 -1
- package/dist/tttx/{p-ce6a69bc.entry.js → p-f69b4685.entry.js} +1 -1
- package/dist/tttx/p-fa01bbb2.js +19 -0
- package/dist/tttx/{p-478169f8.entry.js → p-ff7edd81.entry.js} +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/atoms/tttx-button-v2/tttx-button-v2.d.ts +2 -1
- package/dist/types/components/molecules/tttx-chart/tttx-chart.d.ts +1 -0
- package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
- package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
- package/dist/types/components/molecules/tttx-tooltip/tttx-tooltip.d.ts +17 -0
- package/dist/types/components/molecules/tttx-tooltip/tttx-tootip.stories.d.ts +10 -0
- package/dist/types/components.d.ts +448 -421
- package/package.json +2 -2
- package/dist/components/tttx-action-dropdown_1_9_66.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_66.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_66.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_66.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_66.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_66.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_66.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_66.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_66.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_66.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_66.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_66.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_66.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_66.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_66.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_66.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_66.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_66.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_66.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_66.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_66.d.ts +0 -11
- package/dist/tttx/p-28902955.entry.js +0 -1
- package/dist/tttx/p-39bb618e.js +0 -19
- package/dist/tttx/p-540a4b92.entry.js +0 -1
- package/dist/tttx/p-753a802a.entry.js +0 -1
- package/dist/tttx/p-c2a82822.js +0 -2
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-3fc38d11.js');
|
|
6
6
|
|
|
7
|
-
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-
|
|
7
|
+
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_68{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_68-h{display:block}label.sc-tttx-textarea_1_9_68{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_68 .textarea-container.sc-tttx-textarea_1_9_68{position:relative}label.sc-tttx-textarea_1_9_68 .textarea-container.sc-tttx-textarea_1_9_68 textarea.sc-tttx-textarea_1_9_68{font-family:\"Roboto\", serif;box-sizing:border-box;width:100%;padding:9px 16px;font-size:16px;line-height:18.752px;border:1px solid #d5d5d5;border-radius:4px;margin-top:8px;resize:none}label.sc-tttx-textarea_1_9_68 .textarea-container.sc-tttx-textarea_1_9_68 textarea.no-label.sc-tttx-textarea_1_9_68{margin-top:0}label.sc-tttx-textarea_1_9_68 .textarea-container.sc-tttx-textarea_1_9_68 textarea.sc-tttx-textarea_1_9_68~.errorBubble.sc-tttx-textarea_1_9_68{font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-textarea_1_9_68 .textarea-container.sc-tttx-textarea_1_9_68 textarea.sc-tttx-textarea_1_9_68~.errorBubble.sc-tttx-textarea_1_9_68:not(.visible){display:none}label.sc-tttx-textarea_1_9_68 .textarea-container.sc-tttx-textarea_1_9_68 textarea.sc-tttx-textarea_1_9_68~.errorBubble.sc-tttx-textarea_1_9_68 span.sc-tttx-textarea_1_9_68{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_68 .textarea-container.sc-tttx-textarea_1_9_68 textarea.sc-tttx-textarea_1_9_68:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_68 .textarea-container.sc-tttx-textarea_1_9_68 textarea.sc-tttx-textarea_1_9_68:focus-visible{outline:none}label.sc-tttx-textarea_1_9_68 .secondarylabel.sc-tttx-textarea_1_9_68{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_68 .optional.sc-tttx-textarea_1_9_68{color:#757575;font-weight:normal}";
|
|
8
8
|
|
|
9
9
|
const TttxTextarea = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -56,4 +56,4 @@ const TttxTextarea = class {
|
|
|
56
56
|
};
|
|
57
57
|
TttxTextarea.style = tttxTextareaCss;
|
|
58
58
|
|
|
59
|
-
exports.
|
|
59
|
+
exports.tttx_textarea_1_9_68 = TttxTextarea;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-3fc38d11.js');
|
|
6
6
|
|
|
7
7
|
const tttxToggleCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:inline-block}#toggle-switch{width:50px;height:30px;border-radius:30px;position:relative;box-sizing:border-box}#toggle-switch input{cursor:pointer;width:50px;height:30px;padding:0;margin:0;top:0;left:0;border:none;outline:none;opacity:0;position:absolute}#toggle-switch #toggle-body{width:50px;height:30px;border-radius:28px;position:relative;top:0;left:0;pointer-events:none;background:#9e9e9e}#toggle-switch #toggle-body::after{font-family:\"Material Symbols Rounded\", sans-serif;content:\"\\e5ca\";position:absolute;width:26px;height:26px;left:2px;top:2px;border-radius:26px;background:white;transition:all 0.1s;font-size:22px;color:#FFFFFF;justify-content:center;display:inline-flex}#toggle-switch input:checked~#toggle-body::after{color:#a2bb31;left:22px}#toggle-switch input:checked~#toggle-body{background:#a2bb31}";
|
|
8
8
|
|
|
@@ -37,4 +37,4 @@ const TttxToggle = class {
|
|
|
37
37
|
};
|
|
38
38
|
TttxToggle.style = tttxToggleCss;
|
|
39
39
|
|
|
40
|
-
exports.
|
|
40
|
+
exports.tttx_toggle_1_9_68 = TttxToggle;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-3fc38d11.js');
|
|
6
|
+
|
|
7
|
+
const tttxTooltipCss = ":host{position:relative;display:inline-block}.tooltip-box{width:200px;position:absolute;background-color:#020505;color:#fff;padding:8px 12px;border-radius:8px;font-size:12px;z-index:100000;box-shadow:0px 1px 4px 0px #0C0C0D}.tooltip-box.top{bottom:100%;left:50%;transform:translateX(-50%);margin-bottom:8px}.tooltip-box.bottom{top:100%;left:50%;transform:translateX(-50%);margin-top:8px}.tooltip-box.left{right:100%;top:50%;transform:translateY(-50%);margin-right:8px}.tooltip-box.right{left:100%;top:50%;transform:translateY(-50%);margin-left:8px}.arrow{width:0;height:0;position:absolute;border-style:solid}.tooltip-box.top .arrow{bottom:-5px;left:50%;transform:translateX(-50%);border-width:5px 5px 0 5px;border-color:#1e1e1e transparent transparent transparent}.tooltip-box.bottom .arrow{top:-5px;left:50%;transform:translateX(-50%);border-width:0 5px 5px 5px;border-color:transparent transparent #1e1e1e transparent}.tooltip-box.left .arrow{right:-5px;top:50%;transform:translateY(-50%);border-width:5px 0 5px 5px;border-color:transparent transparent transparent #1e1e1e}.tooltip-box.right .arrow{left:-5px;top:50%;transform:translateY(-50%);border-width:5px 5px 5px 0;border-color:transparent #1e1e1e transparent transparent}";
|
|
8
|
+
|
|
9
|
+
const TttxTooltip = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.show = () => {
|
|
13
|
+
if (this.disabled)
|
|
14
|
+
return;
|
|
15
|
+
this.timeoutId = setTimeout(() => {
|
|
16
|
+
this.visible = true;
|
|
17
|
+
}, this.delay);
|
|
18
|
+
};
|
|
19
|
+
this.hide = () => {
|
|
20
|
+
clearTimeout(this.timeoutId);
|
|
21
|
+
this.visible = false;
|
|
22
|
+
};
|
|
23
|
+
this.toggle = () => {
|
|
24
|
+
this.visible = !this.visible;
|
|
25
|
+
};
|
|
26
|
+
this.text = undefined;
|
|
27
|
+
this.placement = 'top';
|
|
28
|
+
this.trigger = ['hover', 'click'];
|
|
29
|
+
this.delay = 0;
|
|
30
|
+
this.disabled = false;
|
|
31
|
+
this.ariaLabel = '';
|
|
32
|
+
this.visible = false;
|
|
33
|
+
}
|
|
34
|
+
connectedCallback() {
|
|
35
|
+
if (this.trigger.includes('hover')) {
|
|
36
|
+
this.el.addEventListener('mouseenter', this.show);
|
|
37
|
+
this.el.addEventListener('mouseleave', this.hide);
|
|
38
|
+
}
|
|
39
|
+
if (this.trigger.includes('focus')) {
|
|
40
|
+
this.el.addEventListener('focus', this.show);
|
|
41
|
+
this.el.addEventListener('blur', this.hide);
|
|
42
|
+
}
|
|
43
|
+
if (this.trigger.includes('click')) {
|
|
44
|
+
this.el.addEventListener('click', this.toggle);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
disconnectedCallback() {
|
|
48
|
+
this.el.removeEventListener('mouseenter', this.show);
|
|
49
|
+
this.el.removeEventListener('mouseleave', this.hide);
|
|
50
|
+
this.el.removeEventListener('focus', this.show);
|
|
51
|
+
this.el.removeEventListener('blur', this.hide);
|
|
52
|
+
this.el.removeEventListener('click', this.toggle);
|
|
53
|
+
}
|
|
54
|
+
render() {
|
|
55
|
+
return (index.h("div", { class: "tooltip-wrapper" }, index.h("slot", null), this.visible && (index.h("div", { class: `tooltip-box ${this.placement}`, role: "tooltip", "aria-label": this.ariaLabel || this.text }, this.text, index.h("span", { class: "arrow" })))));
|
|
56
|
+
}
|
|
57
|
+
get el() { return index.getElement(this); }
|
|
58
|
+
};
|
|
59
|
+
TttxTooltip.style = tttxTooltipCss;
|
|
60
|
+
|
|
61
|
+
exports.tttx_tooltip_1_9_68 = TttxTooltip;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-3fc38d11.js');
|
|
6
6
|
const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
@@ -179,7 +179,7 @@ const TttxTreeView = class {
|
|
|
179
179
|
if (node.hasHover) {
|
|
180
180
|
this.onClickHandler(event, node);
|
|
181
181
|
}
|
|
182
|
-
} }), index.h("tttx-
|
|
182
|
+
} }), index.h("tttx-button_1_9_68", { 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, index$1, parentId)), node.isOpen ? (index.h("li", null, index.h("ul", null, node.child.map((childNode, index) => {
|
|
183
183
|
return this.renderNode(childNode, index, node.id);
|
|
184
184
|
})))) : null));
|
|
185
185
|
}
|
|
@@ -192,7 +192,7 @@ const TttxTreeView = class {
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
htmlcode(type, node, check_box, check_boxColor, index$1, parentId = undefined) {
|
|
195
|
-
const htmlcode = (index.h("div", { class: "inline-tree-item element" }, node.draggable && (index.h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index$1, parentId) })), node.hasCheckbox && (index.h("tttx-
|
|
195
|
+
const htmlcode = (index.h("div", { class: "inline-tree-item element" }, node.draggable && (index.h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index$1, parentId) })), node.hasCheckbox && (index.h("tttx-button_1_9_68", { 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 && (index.h("tttx-icon_1_9_68", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && index.h("div", { class: type }, node.title), node.html && index.h("div", { class: type, innerHTML: domsanitiser_options.purify.sanitize(node.html, domsanitiser_options.domSanitiserOptions) })));
|
|
196
196
|
return htmlcode;
|
|
197
197
|
}
|
|
198
198
|
render() {
|
|
@@ -204,4 +204,4 @@ const TttxTreeView = class {
|
|
|
204
204
|
};
|
|
205
205
|
TttxTreeView.style = tttxTreeViewCss;
|
|
206
206
|
|
|
207
|
-
exports.
|
|
207
|
+
exports.tttx_tree_view_1_9_68 = TttxTreeView;
|
package/dist/cjs/tttx.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-3fc38d11.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
|
|
@@ -17,7 +17,7 @@ const patchBrowser = () => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
|
-
return index.bootstrapLazy([["tttx-data-
|
|
20
|
+
return index.bootstrapLazy([["tttx-data-pattern_1_9_68.cjs",[[1,"tttx-data-pattern_1_9_68",{"data":[1],"sorterOptions":[1,"sorter-options"],"filterOptions":[1,"filter-options"],"filterHeader":[1,"filter-header"],"defaultSortOption":[1,"default-sort-option"],"searchplaceholder":[1],"addbuttonlabel":[1],"addbutton":[4]}]]],["tttx-form_1_9_68.cjs",[[1,"tttx-form_1_9_68",{"formschema":[1025],"data":[1032],"submit":[64],"showLoadingSpinner":[64],"setSelectedItem":[64],"setSelectOptions":[64],"isValid":[64],"setValidationFor":[64],"clearValidationFor":[64],"disableFormField":[64],"enableFormField":[64],"setInputFieldValue":[64],"setFieldReadOnlyMode":[64]}]]],["tttx-multiselect-box_1_9_68.cjs",[[1,"tttx-multiselect-box_1_9_68",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"htmlVisibleValue":[4,"html-visible-value"],"visibleValue":[1,"visible-value"],"isLoading":[4,"is-loading"],"stopLocalSearch":[4,"stop-local-search"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"open":[32],"unsavedSelectedItems":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-chart_1_9_68.cjs",[[1,"tttx-chart_1_9_68",{"chartType":[1,"chart-type"],"chartData":[16],"chartOptions":[16],"loading":[4],"error":[4],"fallbackText":[1,"fallback-text"],"width":[1],"height":[1],"isYAxisPercentageValues":[4,"is-y-axis-percentage-values"],"exportable":[32],"chartInstance":[32],"showPngSvgExport":[32]}]]],["tttx-datacard_1_9_68.cjs",[[1,"tttx-datacard_1_9_68",{"cardTitle":[1,"card-title"],"leftData":[1,"left-data"],"rightData":[1,"right-data"],"rightSubtext":[1,"right-subtext"],"iconStyle":[1,"icon-style"],"cardType":[1,"card-type"],"chartConfig":[1,"chart-config"],"_chartConfig":[32],"chartRender":[32]}]]],["tttx-dialog-box_1_9_68.cjs",[[1,"tttx-dialog-box_1_9_68",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_68.cjs",[[1,"tttx-dialog_1_9_68",{"header":[1],"type":[1],"size":[1],"open":[4],"allowOverflow":[4,"allow-overflow"],"closeEnabled":[4,"close-enabled"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-tree-view_1_9_68.cjs",[[1,"tttx-tree-view_1_9_68",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_68.cjs",[[1,"tttx-action-dropdown_1_9_68",{"actionKey":[1,"action-key"],"icon":[1],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"isIconVisible":[4,"is-icon-visible"],"selectedField":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeActionDropdown","handleCloseActionDropdown"]]]]],["tttx-button-v2_1_9_68.cjs",[[1,"tttx-button-v2_1_9_68",{"notext":[4],"icon":[1],"label":[1],"iconcolor":[1025],"iconposition":[1],"iconStart":[1,"icon-start"],"iconEnd":[1,"icon-end"],"design":[1],"disabled":[516],"type":[1],"href":[1],"options":[1],"size":[1],"dropdownOpen":[32],"dropdownDirection":[32]},[[4,"click","handleClickOutside"]]]]],["tttx-checkbox_1_9_68.cjs",[[0,"tttx-checkbox_1_9_68",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_68.cjs",[[1,"tttx-comments_1_9_68",{"currentuser":[1],"comments":[1],"disableFile":[4,"disable-file"],"messageLimit":[2,"message-limit"],"inputBoxHeight":[2,"input-box-height"],"placeholder":[1],"saveButtonText":[1,"save-button-text"],"value":[1],"allowEditing":[4,"allow-editing"],"readonly":[4],"_comments":[32],"showError":[32],"_saveButtonText":[32],"editingComment":[32],"addDummyComment":[64]}]]],["tttx-date-range-picker.cjs",[[1,"tttx-date-range-picker",{"initialValue":[16],"placeholderText":[1,"placeholder-text"],"showCalendar":[32],"startDate":[32],"endDate":[32],"currentMonth":[32],"currentYear":[32],"isSelecting":[32],"hoverDate":[32]}]]],["tttx-expander_1_9_68.cjs",[[1,"tttx-expander_1_9_68",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_68.cjs",[[2,"tttx-tabs_1_9_68",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_68.cjs",[[4,"tttx-checkbox-group-caption_1_9_68"]]],["tttx-checkbox-group-heading_1_9_68.cjs",[[4,"tttx-checkbox-group-heading_1_9_68"]]],["tttx-checkbox-group_1_9_68.cjs",[[1,"tttx-checkbox-group_1_9_68"]]],["tttx-keyvalue-block_1_9_68.cjs",[[1,"tttx-keyvalue-block_1_9_68",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_68.cjs",[[2,"tttx-percentage-bar_1_9_68",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_68.cjs",[[1,"tttx-qrcode_1_9_68",{"link":[1025],"size":[1026]}]]],["tttx-skeleton_loader_1_9_68.cjs",[[1,"tttx-skeleton_loader_1_9_68",{"width":[1],"height":[1],"borderRadius":[1,"border-radius"],"color":[1],"variant":[1],"animation":[1],"count":[2],"direction":[1],"gap":[1],"customClass":[1,"custom-class"]}]]],["tttx-table_1_9_68.cjs",[[1,"tttx-table_1_9_68",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_68.cjs",[[2,"tttx-textarea_1_9_68",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"rows":[2],"textareaautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"disabled":[4],"maxlength":[8],"name":[1],"placeholder":[1],"readonly":[8],"required":[4],"value":[1032]}]]],["tttx-toggle_1_9_68.cjs",[[1,"tttx-toggle_1_9_68",{"initialstate":[8],"_state":[32]}]]],["tttx-tooltip_1_9_68.cjs",[[1,"tttx-tooltip_1_9_68",{"text":[1],"placement":[1],"trigger":[16],"delay":[2],"disabled":[4],"ariaLabel":[1,"aria-label"],"visible":[32]}]]],["tttx-icon_1_9_68.cjs",[[1,"tttx-icon_1_9_68",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-loading-spinner_1_9_68_3.cjs",[[1,"tttx-tag_1_9_68",{"text":[1],"color":[1],"textColor":[1,"text-color"],"hasIcon":[4,"has-icon"],"icon":[1],"iconColor":[1,"icon-color"],"iconSize":[2,"icon-size"]}],[2,"tttx-standalone-input_1_9_68",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}],[1,"tttx-loading-spinner_1_9_68",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}]]],["tttx-select-box_1_9_68.cjs",[[1,"tttx-select-box_1_9_68",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"useExternalFiltering":[4,"use-external-filtering"],"useExternalPaginatedFiltering":[4,"use-external-paginated-filtering"],"isAllExternalDataLoaded":[4,"is-all-external-data-loaded"],"isLoading":[4,"is-loading"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"clearable":[4],"showErrorMsg":[4,"show-error-msg"],"showErrorBubble":[4,"show-error-bubble"],"errorMsg":[1,"error-msg"],"open":[32],"selectedItem":[32],"searchTerm":[32],"loadingNextExternalPage":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-graph_1_9_68.cjs",[[1,"tttx-graph_1_9_68",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-filter_1_9_68_4.cjs",[[1,"tttx-filter_1_9_68",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]],[1,"tttx-list_1_9_68",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_68",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]],[1,"tttx-toolbar_1_9_68",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_68.cjs",[[1,"tttx-button_1_9_68",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
exports.setNonce = index.setNonce;
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"./components/molecules/tttx-tabs/tttx-tabs.js",
|
|
35
35
|
"./components/molecules/tttx-textarea/tttx-textarea.js",
|
|
36
36
|
"./components/molecules/tttx-toolbar/tttx-toolbar.js",
|
|
37
|
+
"./components/molecules/tttx-tooltip/tttx-tooltip.js",
|
|
37
38
|
"./components/molecules/tttx-tree-view/tttx-tree-view.js",
|
|
38
39
|
"./components/organisms/tttx-data-pattern/tttx-data-pattern.js"
|
|
39
40
|
],
|
|
@@ -20,9 +20,9 @@ export class TttxButton {
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
this._iconcolor = this.iconcolor;
|
|
23
|
-
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-
|
|
23
|
+
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_68", { icon: this.icon, color: this._iconcolor }))), !this.notext && (h("div", { class: "button-content" }, h("slot", null))), this.icon && this.iconposition === 'right' && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_68", { icon: this.icon, color: this._iconcolor }))))));
|
|
24
24
|
}
|
|
25
|
-
static get is() { return "tttx-
|
|
25
|
+
static get is() { return "tttx-button_1_9_68"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
27
27
|
static get originalStyleUrls() {
|
|
28
28
|
return {
|
|
@@ -4,85 +4,85 @@ export default {
|
|
|
4
4
|
};
|
|
5
5
|
const PrimaryButtons = () => `
|
|
6
6
|
<h2>Standard</h2>
|
|
7
|
-
<tttx-
|
|
7
|
+
<tttx-button_1_9_68 design="primary">Primary</tttx-button_1_9_68>
|
|
8
8
|
<hr />
|
|
9
9
|
<h2>Icon Right</h2>
|
|
10
|
-
<tttx-
|
|
10
|
+
<tttx-button_1_9_68 design="primary" icon="chevron_right" iconposition="right">Primary</tttx-button_1_9_68>
|
|
11
11
|
<hr />
|
|
12
12
|
<h2>Icon Left</h2>
|
|
13
|
-
<tttx-
|
|
13
|
+
<tttx-button_1_9_68 design="primary" icon="add">Primary</tttx-button_1_9_68>
|
|
14
14
|
<hr />
|
|
15
15
|
<h2>Icon Only</h2>
|
|
16
|
-
<tttx-
|
|
16
|
+
<tttx-button_1_9_68 design="primary" icon="more_vert" notext></tttx-button_1_9_68>
|
|
17
17
|
`;
|
|
18
18
|
export const Primary = PrimaryButtons.bind({});
|
|
19
19
|
const DefaultButtons = () => `
|
|
20
20
|
<h2>Standard</h2>
|
|
21
|
-
<tttx-
|
|
21
|
+
<tttx-button_1_9_68>Default</tttx-button_1_9_68>
|
|
22
22
|
<hr />
|
|
23
23
|
<h2>Icon Right</h2>
|
|
24
|
-
<tttx-
|
|
24
|
+
<tttx-button_1_9_68 icon="chevron_right" iconposition="right">Default</tttx-button_1_9_68>
|
|
25
25
|
<hr />
|
|
26
26
|
<h2>Icon Left</h2>
|
|
27
|
-
<tttx-
|
|
27
|
+
<tttx-button_1_9_68 icon="edit">Default</tttx-button_1_9_68>
|
|
28
28
|
<hr />
|
|
29
29
|
<h2>Icon Only</h2>
|
|
30
|
-
<tttx-
|
|
30
|
+
<tttx-button_1_9_68 icon="more_vert" notext></tttx-button_1_9_68>
|
|
31
31
|
`;
|
|
32
32
|
export const Default = DefaultButtons.bind({});
|
|
33
33
|
const BorderlessButtons = () => `
|
|
34
34
|
<h2>Standard</h2>
|
|
35
|
-
<tttx-
|
|
35
|
+
<tttx-button_1_9_68 design="borderless">Borderless</tttx-button_1_9_68>
|
|
36
36
|
<hr />
|
|
37
37
|
<h2>Icon Right</h2>
|
|
38
|
-
<tttx-
|
|
38
|
+
<tttx-button_1_9_68 design="borderless" icon="chevron_right" iconposition="right">Borderless</tttx-button_1_9_68>
|
|
39
39
|
<hr />
|
|
40
40
|
<h2>Icon Left</h2>
|
|
41
|
-
<tttx-
|
|
41
|
+
<tttx-button_1_9_68 design="borderless" icon="edit">Borderless</tttx-button_1_9_68>
|
|
42
42
|
<hr />
|
|
43
43
|
<h2>Icon Only</h2>
|
|
44
|
-
<tttx-
|
|
44
|
+
<tttx-button_1_9_68 design="borderless" icon="more_vert" notext></tttx-button_1_9_68>
|
|
45
45
|
`;
|
|
46
46
|
export const Borderless = BorderlessButtons.bind({});
|
|
47
47
|
const DangerButtons = () => `
|
|
48
48
|
<h2>Standard</h2>
|
|
49
|
-
<tttx-
|
|
49
|
+
<tttx-button_1_9_68 design="danger">Danger</tttx-button_1_9_68>
|
|
50
50
|
<hr />
|
|
51
51
|
<h2>Icon Right</h2>
|
|
52
|
-
<tttx-
|
|
52
|
+
<tttx-button_1_9_68 design="danger" icon="chevron_right" iconposition="right">Danger</tttx-button_1_9_68>
|
|
53
53
|
<hr />
|
|
54
54
|
<h2>Icon Left</h2>
|
|
55
|
-
<tttx-
|
|
55
|
+
<tttx-button_1_9_68 design="danger" icon="delete">Danger</tttx-button_1_9_68>
|
|
56
56
|
<hr />
|
|
57
57
|
<h2>Icon Only</h2>
|
|
58
|
-
<tttx-
|
|
58
|
+
<tttx-button_1_9_68 design="danger" icon="more_vert" notext></tttx-button_1_9_68>
|
|
59
59
|
`;
|
|
60
60
|
export const Danger = DangerButtons.bind({});
|
|
61
61
|
const DisabledButtons = () => `
|
|
62
62
|
<h2>Standard</h2>
|
|
63
|
-
<tttx-
|
|
63
|
+
<tttx-button_1_9_68 design="disabled">Disabled</tttx-button_1_9_68>
|
|
64
64
|
<hr />
|
|
65
65
|
<h2>Icon Right</h2>
|
|
66
|
-
<tttx-
|
|
66
|
+
<tttx-button_1_9_68 design="disabled" icon="chevron_right" iconposition="right">Disabled</tttx-button_1_9_68>
|
|
67
67
|
<hr />
|
|
68
68
|
<h2>Icon Left</h2>
|
|
69
|
-
<tttx-
|
|
69
|
+
<tttx-button_1_9_68 design="disabled" icon="edit">Disabled</tttx-button_1_9_68>
|
|
70
70
|
<hr />
|
|
71
71
|
<h2>Icon Only</h2>
|
|
72
|
-
<tttx-
|
|
72
|
+
<tttx-button_1_9_68 design="disabled" icon="more_vert" notext></tttx-button_1_9_68>
|
|
73
73
|
`;
|
|
74
74
|
export const Disabled = DisabledButtons.bind({});
|
|
75
75
|
const BlackoutButtons = () => `
|
|
76
76
|
<h2>Standard</h2>
|
|
77
|
-
<tttx-
|
|
77
|
+
<tttx-button_1_9_68 design="blackout">Blackout</tttx-button_1_9_68>
|
|
78
78
|
<hr />
|
|
79
79
|
<h2>Icon Right</h2>
|
|
80
|
-
<tttx-
|
|
80
|
+
<tttx-button_1_9_68 design="blackout" icon="chevron_right" iconposition="right">Blackout</tttx-button_1_9_68>
|
|
81
81
|
<hr />
|
|
82
82
|
<h2>Icon Left</h2>
|
|
83
|
-
<tttx-
|
|
83
|
+
<tttx-button_1_9_68 design="blackout" icon="edit">Blackout</tttx-button_1_9_68>
|
|
84
84
|
<hr />
|
|
85
85
|
<h2>Icon Only</h2>
|
|
86
|
-
<tttx-
|
|
86
|
+
<tttx-button_1_9_68 design="blackout" icon="more_vert" notext></tttx-button_1_9_68>
|
|
87
87
|
`;
|
|
88
88
|
export const Blackout = BlackoutButtons.bind({});
|
|
@@ -3,9 +3,7 @@ export class TttxButton {
|
|
|
3
3
|
constructor() {
|
|
4
4
|
this.calculateDropdownDirection = () => {
|
|
5
5
|
const rect = this.host.getBoundingClientRect();
|
|
6
|
-
// Find dropdown element if already rendered
|
|
7
6
|
const dropdownEl = this.host.querySelector('.dropdown-list');
|
|
8
|
-
// Measure real size, fallback if not available yet
|
|
9
7
|
const dropdownWidth = dropdownEl ? dropdownEl.offsetWidth : 260;
|
|
10
8
|
const spaceRight = window.innerWidth - rect.right;
|
|
11
9
|
const spaceLeft = rect.left;
|
|
@@ -16,7 +14,7 @@ export class TttxButton {
|
|
|
16
14
|
this.dropdownDirection = 'left';
|
|
17
15
|
}
|
|
18
16
|
else {
|
|
19
|
-
this.dropdownDirection = 'left';
|
|
17
|
+
this.dropdownDirection = 'left';
|
|
20
18
|
}
|
|
21
19
|
};
|
|
22
20
|
this.toggleDropdown = () => {
|
|
@@ -27,9 +25,9 @@ export class TttxButton {
|
|
|
27
25
|
this.dropdownOpen = !this.dropdownOpen;
|
|
28
26
|
}
|
|
29
27
|
};
|
|
30
|
-
this.handleDropdownItemClick = (
|
|
28
|
+
this.handleDropdownItemClick = (index) => {
|
|
31
29
|
this.dropdownOpen = false;
|
|
32
|
-
this.
|
|
30
|
+
this.optionSelect.emit(index);
|
|
33
31
|
};
|
|
34
32
|
this.notext = false;
|
|
35
33
|
this.icon = undefined;
|
|
@@ -52,11 +50,23 @@ export class TttxButton {
|
|
|
52
50
|
}
|
|
53
51
|
get parsedOptions() {
|
|
54
52
|
if (Array.isArray(this.options)) {
|
|
55
|
-
return this.options.map(opt =>
|
|
53
|
+
return this.options.map(opt => typeof opt === 'string'
|
|
54
|
+
? { label: opt }
|
|
55
|
+
: {
|
|
56
|
+
id: opt.id,
|
|
57
|
+
label: opt.label,
|
|
58
|
+
icon: opt.icon,
|
|
59
|
+
});
|
|
56
60
|
}
|
|
57
61
|
try {
|
|
58
62
|
const parsed = JSON.parse(this.options);
|
|
59
|
-
return parsed.map((opt) =>
|
|
63
|
+
return parsed.map((opt) => typeof opt === 'string'
|
|
64
|
+
? { label: opt }
|
|
65
|
+
: {
|
|
66
|
+
id: opt.id,
|
|
67
|
+
label: opt.label,
|
|
68
|
+
icon: opt.icon,
|
|
69
|
+
});
|
|
60
70
|
}
|
|
61
71
|
catch (_a) {
|
|
62
72
|
return [];
|
|
@@ -83,7 +93,7 @@ export class TttxButton {
|
|
|
83
93
|
'light',
|
|
84
94
|
'success',
|
|
85
95
|
'warning',
|
|
86
|
-
'transparent'
|
|
96
|
+
'transparent',
|
|
87
97
|
];
|
|
88
98
|
const validSizes = ['S', 'M', 'L'];
|
|
89
99
|
if (!validDesigns.includes(this.design)) {
|
|
@@ -106,13 +116,13 @@ export class TttxButton {
|
|
|
106
116
|
}
|
|
107
117
|
renderButtonContent() {
|
|
108
118
|
var _a;
|
|
109
|
-
return (h("div", { class: "button-content" }, this.iconStart && (h("div", { class: "icon-left" }, h("tttx-
|
|
119
|
+
return (h("div", { class: "button-content" }, this.iconStart && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_68", { icon: this.iconStart, color: this.iconcolor, size: this.iconSize }))), !this.notext && (h("div", { class: "label-text" }, h("span", null, (_a = this.label) !== null && _a !== void 0 ? _a : h("slot", null)))), this.iconEnd && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_68", { icon: this.iconEnd, color: this.iconcolor, size: this.iconSize }))), this.type === 'dropdown' && (h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_68", { icon: "keyboard_arrow_down", color: this.iconcolor, size: this.iconSize })))));
|
|
110
120
|
}
|
|
111
121
|
renderDropdownList() {
|
|
112
122
|
if (this.type !== 'dropdown' || !this.dropdownOpen)
|
|
113
123
|
return null;
|
|
114
124
|
const dropdownClasses = `dropdown-list dropdown-${this.dropdownDirection}`;
|
|
115
|
-
return (h("ul", { class: dropdownClasses, role: "listbox" }, this.parsedOptions.map((item, index) => (h("li", { class: "dropdown-option", role: "option", tabindex: 0, key: index, onClick: () => this.handleDropdownItemClick(
|
|
125
|
+
return (h("ul", { class: dropdownClasses, role: "listbox" }, this.parsedOptions.map((item, index) => (h("li", { class: "dropdown-option", role: "option", tabindex: 0, key: index, onClick: () => this.handleDropdownItemClick(index) }, h("div", { class: "dropdown-item-content" }, item.icon && (h("tttx-icon_1_9_68", { icon: item.icon, color: "black", size: this.iconSize, class: "dropdown-item-icon" })), h("span", { class: "dropdown-item-label" }, item.label)))))));
|
|
116
126
|
}
|
|
117
127
|
render() {
|
|
118
128
|
const classes = [
|
|
@@ -122,13 +132,13 @@ export class TttxButton {
|
|
|
122
132
|
this.iconEnd ? 'icon-end' : '',
|
|
123
133
|
this.notext ? 'notext' : '',
|
|
124
134
|
this.type === 'dropdown' ? 'dropdown-button' : '',
|
|
125
|
-
`btn-size-${this.size.toLowerCase()}
|
|
135
|
+
`btn-size-${this.size.toLowerCase()}`,
|
|
126
136
|
]
|
|
127
137
|
.filter(Boolean)
|
|
128
138
|
.join(' ');
|
|
129
139
|
return (h(Host, null, h("div", { class: "button-wrapper" }, h("button", { class: classes, disabled: this.isDisabled, onClick: this.type === 'dropdown' ? this.toggleDropdown : undefined, "aria-haspopup": this.type === 'dropdown' ? 'listbox' : undefined, "aria-expanded": this.type === 'dropdown' ? String(this.dropdownOpen) : undefined }, this.renderButtonContent()), this.renderDropdownList())));
|
|
130
140
|
}
|
|
131
|
-
static get is() { return "tttx-button-
|
|
141
|
+
static get is() { return "tttx-button-v2_1_9_68"; }
|
|
132
142
|
static get encapsulation() { return "shadow"; }
|
|
133
143
|
static get originalStyleUrls() {
|
|
134
144
|
return {
|
|
@@ -339,8 +349,8 @@ export class TttxButton {
|
|
|
339
349
|
"type": "string",
|
|
340
350
|
"mutable": false,
|
|
341
351
|
"complexType": {
|
|
342
|
-
"original": "string | { label: string; icon?: string }[]",
|
|
343
|
-
"resolved": "string | { label: string; icon?: string; }[]",
|
|
352
|
+
"original": "string | { id?: string; label: string; icon?: string }[]",
|
|
353
|
+
"resolved": "string | { id?: string; label: string; icon?: string; }[]",
|
|
344
354
|
"references": {}
|
|
345
355
|
},
|
|
346
356
|
"required": false,
|
|
@@ -381,8 +391,8 @@ export class TttxButton {
|
|
|
381
391
|
}
|
|
382
392
|
static get events() {
|
|
383
393
|
return [{
|
|
384
|
-
"method": "
|
|
385
|
-
"name": "
|
|
394
|
+
"method": "optionSelect",
|
|
395
|
+
"name": "optionSelect",
|
|
386
396
|
"bubbles": true,
|
|
387
397
|
"cancelable": true,
|
|
388
398
|
"composed": true,
|
|
@@ -391,8 +401,8 @@ export class TttxButton {
|
|
|
391
401
|
"text": ""
|
|
392
402
|
},
|
|
393
403
|
"complexType": {
|
|
394
|
-
"original": "
|
|
395
|
-
"resolved": "
|
|
404
|
+
"original": "number",
|
|
405
|
+
"resolved": "number",
|
|
396
406
|
"references": {}
|
|
397
407
|
}
|
|
398
408
|
}];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
title: 'Atoms/Button v2',
|
|
3
|
-
component: 'tttx-button-
|
|
3
|
+
component: 'tttx-button-v2_1_9_68',
|
|
4
4
|
argTypes: {
|
|
5
5
|
showIconStart: {
|
|
6
6
|
control: 'boolean',
|
|
@@ -59,7 +59,7 @@ const renderButtons = (args) => {
|
|
|
59
59
|
if (args.type === 'dropdown') {
|
|
60
60
|
return `
|
|
61
61
|
<div style="width: 250px;">
|
|
62
|
-
<tttx-button-
|
|
62
|
+
<tttx-button-v2_1_9_68
|
|
63
63
|
design="${args.design}"
|
|
64
64
|
${getSizeAttr()}
|
|
65
65
|
type="dropdown"
|
|
@@ -69,7 +69,7 @@ const renderButtons = (args) => {
|
|
|
69
69
|
${getIconEndAttr()}
|
|
70
70
|
>
|
|
71
71
|
${label}
|
|
72
|
-
</tttx-button-
|
|
72
|
+
</tttx-button-v2_1_9_68>
|
|
73
73
|
</div>
|
|
74
74
|
`;
|
|
75
75
|
}
|
|
@@ -77,7 +77,7 @@ const renderButtons = (args) => {
|
|
|
77
77
|
// Standard Button
|
|
78
78
|
sections.push(`
|
|
79
79
|
<h2>Standard</h2>
|
|
80
|
-
<tttx-button-
|
|
80
|
+
<tttx-button-v2_1_9_68
|
|
81
81
|
design="${args.design}"
|
|
82
82
|
${getSizeAttr()}
|
|
83
83
|
${args.disabled ? 'disabled' : ''}
|
|
@@ -85,14 +85,14 @@ const renderButtons = (args) => {
|
|
|
85
85
|
style="${getCursorStyle()}"
|
|
86
86
|
>
|
|
87
87
|
${!args.notext ? label : ''}
|
|
88
|
-
</tttx-button-
|
|
88
|
+
</tttx-button-v2_1_9_68>
|
|
89
89
|
`);
|
|
90
90
|
// Icon Both Sides
|
|
91
91
|
if (args.showIconStart && args.iconStart && args.showIconEnd && args.iconEnd) {
|
|
92
92
|
sections.push(`
|
|
93
93
|
<hr />
|
|
94
94
|
<h2>Icons on Both Sides</h2>
|
|
95
|
-
<tttx-button-
|
|
95
|
+
<tttx-button-v2_1_9_68
|
|
96
96
|
design="${args.design}"
|
|
97
97
|
${getSizeAttr()}
|
|
98
98
|
${args.disabled ? 'disabled' : ''}
|
|
@@ -102,7 +102,7 @@ const renderButtons = (args) => {
|
|
|
102
102
|
style="${getCursorStyle()}"
|
|
103
103
|
>
|
|
104
104
|
${!args.notext ? label : ''}
|
|
105
|
-
</tttx-button-
|
|
105
|
+
</tttx-button-v2_1_9_68>
|
|
106
106
|
`);
|
|
107
107
|
}
|
|
108
108
|
else {
|
|
@@ -111,7 +111,7 @@ const renderButtons = (args) => {
|
|
|
111
111
|
sections.push(`
|
|
112
112
|
<hr />
|
|
113
113
|
<h2>Icon Left</h2>
|
|
114
|
-
<tttx-button-
|
|
114
|
+
<tttx-button-v2_1_9_68
|
|
115
115
|
design="${args.design}"
|
|
116
116
|
${getSizeAttr()}
|
|
117
117
|
${args.disabled ? 'disabled' : ''}
|
|
@@ -120,7 +120,7 @@ const renderButtons = (args) => {
|
|
|
120
120
|
style="${getCursorStyle()}"
|
|
121
121
|
>
|
|
122
122
|
${!args.notext ? label : ''}
|
|
123
|
-
</tttx-button-
|
|
123
|
+
</tttx-button-v2_1_9_68>
|
|
124
124
|
`);
|
|
125
125
|
}
|
|
126
126
|
// Icon End Only
|
|
@@ -128,7 +128,7 @@ const renderButtons = (args) => {
|
|
|
128
128
|
sections.push(`
|
|
129
129
|
<hr />
|
|
130
130
|
<h2>Icon Right</h2>
|
|
131
|
-
<tttx-button-
|
|
131
|
+
<tttx-button-v2_1_9_68
|
|
132
132
|
design="${args.design}"
|
|
133
133
|
${getSizeAttr()}
|
|
134
134
|
${args.disabled ? 'disabled' : ''}
|
|
@@ -137,7 +137,7 @@ const renderButtons = (args) => {
|
|
|
137
137
|
style="${getCursorStyle()}"
|
|
138
138
|
>
|
|
139
139
|
${!args.notext ? label : ''}
|
|
140
|
-
</tttx-button-
|
|
140
|
+
</tttx-button-v2_1_9_68>
|
|
141
141
|
`);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
@@ -146,14 +146,14 @@ const renderButtons = (args) => {
|
|
|
146
146
|
sections.push(`
|
|
147
147
|
<hr />
|
|
148
148
|
<h2>Icon Only</h2>
|
|
149
|
-
<tttx-button-
|
|
149
|
+
<tttx-button-v2_1_9_68
|
|
150
150
|
design="${args.design}"
|
|
151
151
|
${getSizeAttr()}
|
|
152
152
|
style="${getCursorStyle()}"
|
|
153
153
|
icon-start="${args.iconStart}"
|
|
154
154
|
notext
|
|
155
155
|
${args.disabled ? 'disabled' : ''}
|
|
156
|
-
></tttx-button-
|
|
156
|
+
></tttx-button-v2_1_9_68>
|
|
157
157
|
`);
|
|
158
158
|
}
|
|
159
159
|
return sections.join('\n');
|
|
@@ -203,7 +203,7 @@ export const DropdownOnRightEdge = (args) => {
|
|
|
203
203
|
return `
|
|
204
204
|
<div style="display: flex; justify-content: flex-end;">
|
|
205
205
|
<div>
|
|
206
|
-
<tttx-button-
|
|
206
|
+
<tttx-button-v2_1_9_68
|
|
207
207
|
design="${args.design}"
|
|
208
208
|
${getSizeAttr(args)}
|
|
209
209
|
type="dropdown"
|
|
@@ -213,7 +213,7 @@ export const DropdownOnRightEdge = (args) => {
|
|
|
213
213
|
${getIconEndAttr(args)}
|
|
214
214
|
>
|
|
215
215
|
${!args.notext ? label : ''}
|
|
216
|
-
</tttx-button-
|
|
216
|
+
</tttx-button-v2_1_9_68>
|
|
217
217
|
</div>
|
|
218
218
|
</div>
|
|
219
219
|
`;
|