@3t-transform/threeteeui 1.9.65 → 1.9.67
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/loader.cjs.js +1 -1
- package/dist/cjs/{tttx-action-dropdown_1_9_65.cjs.entry.js → tttx-action-dropdown_1_9_67.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_65.cjs.entry.js → tttx-button-v2_1_9_67.cjs.entry.js} +44 -11
- package/dist/cjs/{tttx-button_1_9_65.cjs.entry.js → tttx-button_1_9_67.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_65.cjs.entry.js → tttx-chart_1_9_67.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_65.cjs.entry.js → tttx-checkbox-group-caption_1_9_67.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_65.cjs.entry.js → tttx-checkbox-group-heading_1_9_67.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_65.cjs.entry.js → tttx-checkbox-group_1_9_67.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_65.cjs.entry.js → tttx-checkbox_1_9_67.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_65.cjs.entry.js → tttx-comments_1_9_67.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-data-pattern_1_9_65.cjs.entry.js → tttx-data-pattern_1_9_67.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_65.cjs.entry.js → tttx-datacard_1_9_67.cjs.entry.js} +4 -4
- package/dist/cjs/tttx-date-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/{tttx-dialog-box_1_9_65.cjs.entry.js → tttx-dialog-box_1_9_67.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_65.cjs.entry.js → tttx-dialog_1_9_67.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_65.cjs.entry.js → tttx-expander_1_9_67.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_65_4.cjs.entry.js → tttx-filter_1_9_67_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_65.cjs.entry.js → tttx-form_1_9_67.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_65.cjs.entry.js → tttx-graph_1_9_67.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_65.cjs.entry.js → tttx-icon_1_9_67.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_65.cjs.entry.js → tttx-keyvalue-block_1_9_67.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_65_3.cjs.entry.js → tttx-loading-spinner_1_9_67_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_65.cjs.entry.js → tttx-multiselect-box_1_9_67.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_65.cjs.entry.js → tttx-percentage-bar_1_9_67.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_65.cjs.entry.js → tttx-qrcode_1_9_67.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_65.cjs.entry.js → tttx-select-box_1_9_67.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_65.cjs.entry.js → tttx-skeleton_loader_1_9_67.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_65.cjs.entry.js → tttx-table_1_9_67.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_65.cjs.entry.js → tttx-tabs_1_9_67.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-textarea_1_9_65.cjs.entry.js → tttx-textarea_1_9_67.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_65.cjs.entry.js → tttx-toggle_1_9_67.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_65.cjs.entry.js → tttx-tree-view_1_9_67.cjs.entry.js} +3 -3
- package/dist/cjs/tttx.cjs.js +1 -1
- 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 +12 -2
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +50 -16
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.stories.js +37 -13
- 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.js +3 -3
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +4 -4
- 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-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/index.d.ts +35 -35
- package/dist/components/index.js +35 -35
- package/dist/components/tttx-action-dropdown_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_65.js → tttx-action-dropdown_1_9_67.js} +7 -7
- package/dist/components/{tttx-loading-spinner_1_9_65.d.ts → tttx-button-v2_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_65.js → tttx-button-v2_1_9_67.js} +51 -17
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_65.d.ts → tttx-button_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_65.js → tttx-button_1_9_67.js} +2 -2
- package/dist/components/{tttx-table_1_9_65.d.ts → tttx-chart_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_65.js → tttx-chart_1_9_67.js} +10 -10
- package/dist/components/tttx-checkbox-group-caption_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_65.js → tttx-checkbox-group-caption_1_9_67.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_65.js → tttx-checkbox-group-heading_1_9_67.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_65.js → tttx-checkbox-group_1_9_67.js} +5 -5
- package/dist/components/{tttx-checkbox_1_9_65.d.ts → tttx-checkbox_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_65.js → tttx-checkbox_1_9_67.js} +7 -7
- package/dist/components/{tttx-button-v2_1_9_65.d.ts → tttx-comments_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_9_65.js → tttx-comments_1_9_67.js} +9 -9
- package/dist/components/tttx-data-pattern_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_65.js → tttx-data-pattern_1_9_67.js} +16 -16
- package/dist/components/tttx-datacard_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_65.js → tttx-datacard_1_9_67.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_65.js → tttx-dialog-box_1_9_67.js} +9 -9
- package/dist/components/{tttx-filter_1_9_65.d.ts → tttx-dialog_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_65.js → tttx-dialog_1_9_67.js} +8 -8
- package/dist/components/tttx-expander_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_65.js → tttx-expander_1_9_67.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-button_1_9_65.d.ts → tttx-filter_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_65.js → tttx-filter_1_9_67.js} +2 -2
- package/dist/components/{tttx-form_1_9_65.d.ts → tttx-form_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_65.js → tttx-form_1_9_67.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_65.d.ts → tttx-graph_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_65.js → tttx-graph_1_9_67.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_9_65.d.ts → tttx-icon_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_65.js → tttx-icon_1_9_67.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_65.js → tttx-keyvalue-block_1_9_67.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-icon_1_9_65.d.ts → tttx-list_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_65.js → tttx-list_1_9_67.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_65.js → tttx-loading-spinner_1_9_67.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_65.js → tttx-multiselect-box_1_9_67.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_65.js → tttx-percentage-bar_1_9_67.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_65.d.ts → tttx-qrcode_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_65.js → tttx-qrcode_1_9_67.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_65.js → tttx-select-box_1_9_67.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_65.js → tttx-skeleton_loader_1_9_67.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_65.js → tttx-sorter_1_9_67.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_65.js → tttx-standalone-input_1_9_67.js} +2 -2
- package/dist/components/{tttx-chart_1_9_65.d.ts → tttx-table_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_65.js → tttx-table_1_9_67.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_65.d.ts → tttx-tabs_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_65.js → tttx-tabs_1_9_67.js} +9 -9
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_65.d.ts → tttx-tag_1_9_67.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_65.js → tttx-tag_1_9_67.js} +2 -2
- package/dist/components/tttx-textarea_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_65.js → tttx-textarea_1_9_67.js} +6 -6
- package/dist/components/tttx-toggle_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_65.js → tttx-toggle_1_9_67.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_65.js → tttx-toolbar_1_9_67.js} +2 -2
- package/dist/components/tttx-tree-view_1_9_67.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_65.js → tttx-tree-view_1_9_67.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_65.entry.js → tttx-action-dropdown_1_9_67.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_65.entry.js → tttx-button-v2_1_9_67.entry.js} +44 -11
- package/dist/esm/{tttx-button_1_9_65.entry.js → tttx-button_1_9_67.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_65.entry.js → tttx-chart_1_9_67.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_65.entry.js → tttx-checkbox-group-caption_1_9_67.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_65.entry.js → tttx-checkbox-group-heading_1_9_67.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_65.entry.js → tttx-checkbox-group_1_9_67.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_65.entry.js → tttx-checkbox_1_9_67.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_65.entry.js → tttx-comments_1_9_67.entry.js} +4 -4
- package/dist/esm/{tttx-data-pattern_1_9_65.entry.js → tttx-data-pattern_1_9_67.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_65.entry.js → tttx-datacard_1_9_67.entry.js} +4 -4
- package/dist/esm/tttx-date-range-picker.entry.js +1 -1
- package/dist/esm/{tttx-dialog-box_1_9_65.entry.js → tttx-dialog-box_1_9_67.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_65.entry.js → tttx-dialog_1_9_67.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_65.entry.js → tttx-expander_1_9_67.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_65_4.entry.js → tttx-filter_1_9_67_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_65.entry.js → tttx-form_1_9_67.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_65.entry.js → tttx-graph_1_9_67.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_65.entry.js → tttx-icon_1_9_67.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_65.entry.js → tttx-keyvalue-block_1_9_67.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_65_3.entry.js → tttx-loading-spinner_1_9_67_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_65.entry.js → tttx-multiselect-box_1_9_67.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_65.entry.js → tttx-percentage-bar_1_9_67.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_65.entry.js → tttx-qrcode_1_9_67.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_65.entry.js → tttx-select-box_1_9_67.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_65.entry.js → tttx-skeleton_loader_1_9_67.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_65.entry.js → tttx-table_1_9_67.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_65.entry.js → tttx-tabs_1_9_67.entry.js} +4 -4
- package/dist/esm/{tttx-textarea_1_9_65.entry.js → tttx-textarea_1_9_67.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_65.entry.js → tttx-toggle_1_9_67.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_65.entry.js → tttx-tree-view_1_9_67.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-04acb4f7.entry.js +1 -1
- package/dist/tttx/p-1b8af0a1.entry.js +1 -1
- package/dist/tttx/p-210a3640.entry.js +1 -1
- package/dist/tttx/p-28528c3a.entry.js +1 -1
- package/dist/tttx/p-28902955.entry.js +1 -1
- package/dist/tttx/p-2a6e57b3.entry.js +1 -1
- package/dist/tttx/p-46853736.entry.js +1 -1
- package/dist/tttx/p-46933761.entry.js +1 -1
- package/dist/tttx/p-46985553.entry.js +1 -1
- package/dist/tttx/p-478169f8.entry.js +1 -1
- package/dist/tttx/p-4bc84dcf.entry.js +1 -1
- package/dist/tttx/p-4e8dee24.entry.js +1 -1
- package/dist/tttx/p-655cebb7.entry.js +1 -1
- package/dist/tttx/p-6ae828ed.entry.js +1 -1
- package/dist/tttx/p-72aa3209.entry.js +1 -1
- package/dist/tttx/p-753a802a.entry.js +1 -1
- package/dist/tttx/p-79a18842.entry.js +1 -1
- package/dist/tttx/p-8db27f20.entry.js +1 -1
- package/dist/tttx/p-92b48e8e.entry.js +1 -1
- package/dist/tttx/p-95ea704b.entry.js +1 -1
- package/dist/tttx/p-964b5e1a.entry.js +1 -1
- package/dist/tttx/p-99cee169.entry.js +1 -1
- package/dist/tttx/p-a380f600.entry.js +1 -1
- package/dist/tttx/p-ce6a69bc.entry.js +1 -1
- package/dist/tttx/p-cfc7f861.entry.js +1 -1
- package/dist/tttx/p-d51f2e01.entry.js +1 -0
- package/dist/tttx/p-e0bd4daa.entry.js +1 -1
- package/dist/tttx/p-e7c92d26.entry.js +1 -1
- package/dist/tttx/p-e8d02dd3.entry.js +1 -1
- package/dist/tttx/p-eda88cd9.entry.js +1 -1
- package/dist/tttx/p-ffb09d64.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 +4 -1
- package/dist/types/components/atoms/tttx-button-v2/tttx-button-v2.stories.d.ts +4 -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.d.ts +421 -421
- package/package.json +1 -1
- package/dist/components/tttx-action-dropdown_1_9_65.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_65.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_65.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_65.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_65.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_65.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_65.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_65.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_65.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_65.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_65.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_65.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_65.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_65.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_65.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_65.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_65.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_65.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_65.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_65.d.ts +0 -11
- package/dist/tttx/p-093405a5.entry.js +0 -1
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './tttx-icon.js';
|
|
4
4
|
|
|
5
|
-
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-
|
|
5
|
+
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs_1_9_67{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_9_67-h{display:block}.tab-bar.sc-tttx-tabs_1_9_67{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_9_67>.left-navigation.sc-tttx-tabs_1_9_67,.tab-bar.sc-tttx-tabs_1_9_67>.right-navigation.sc-tttx-tabs_1_9_67{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_67>.left-navigation.sc-tttx-tabs_1_9_67>*.sc-tttx-tabs_1_9_67,.tab-bar.sc-tttx-tabs_1_9_67>.right-navigation.sc-tttx-tabs_1_9_67>*.sc-tttx-tabs_1_9_67{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_67>.tabs-container.sc-tttx-tabs_1_9_67{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_9_67>.tabs-container.wide.sc-tttx-tabs_1_9_67{flex-grow:1}.tab-bar.sc-tttx-tabs_1_9_67>.tabs-container.sc-tttx-tabs_1_9_67>*[role=tab].sc-tttx-tabs_1_9_67{padding:18px 16px;line-height:16.408px;font-size:14px;font-weight:500;text-transform:uppercase;user-select:none;color:#757575;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_67>.tabs-container.sc-tttx-tabs_1_9_67>*[role=tab].sc-tttx-tabs_1_9_67:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_9_67>.tabs-container.sc-tttx-tabs_1_9_67>*[role=tab][aria-selected].sc-tttx-tabs_1_9_67{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
|
|
6
6
|
|
|
7
7
|
const TttxTabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
8
|
constructor() {
|
|
@@ -80,7 +80,7 @@ const TttxTabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
80
80
|
}
|
|
81
81
|
generateTab(tab) {
|
|
82
82
|
var _a, _b;
|
|
83
|
-
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-
|
|
83
|
+
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-icon_1_9_67", { style: { pointerEvents: 'none', marginTop: '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_b = tab.tabIconSize) !== null && _b !== void 0 ? _b : 24 }));
|
|
84
84
|
return (h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
|
|
85
85
|
this.handleTabClick(tab);
|
|
86
86
|
} }, tabTitle));
|
|
@@ -99,13 +99,13 @@ const TttxTabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
101
101
|
const selectedTab = this._tabs.find(tab => tab.selected);
|
|
102
|
-
return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-
|
|
102
|
+
return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-icon_1_9_67", { icon: "navigate_before", color: "black" }))), h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(this.generateTab.bind(this))), this.navigation && (h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, h("tttx-icon_1_9_67", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
|
|
103
103
|
}
|
|
104
104
|
static get watchers() { return {
|
|
105
105
|
"tabs": ["onDataChange"]
|
|
106
106
|
}; }
|
|
107
107
|
static get style() { return tttxTabsCss; }
|
|
108
|
-
}, [2, "tttx-
|
|
108
|
+
}, [2, "tttx-tabs_1_9_67", {
|
|
109
109
|
"tabsName": [1, "tabs-name"],
|
|
110
110
|
"navigation": [4],
|
|
111
111
|
"wide": [4],
|
|
@@ -116,14 +116,14 @@ function defineCustomElement$1() {
|
|
|
116
116
|
if (typeof customElements === "undefined") {
|
|
117
117
|
return;
|
|
118
118
|
}
|
|
119
|
-
const components = ["tttx-
|
|
119
|
+
const components = ["tttx-tabs_1_9_67", "tttx-icon_1_9_67"];
|
|
120
120
|
components.forEach(tagName => { switch (tagName) {
|
|
121
|
-
case "tttx-
|
|
121
|
+
case "tttx-tabs_1_9_67":
|
|
122
122
|
if (!customElements.get(tagName)) {
|
|
123
123
|
customElements.define(tagName, TttxTabs);
|
|
124
124
|
}
|
|
125
125
|
break;
|
|
126
|
-
case "tttx-
|
|
126
|
+
case "tttx-icon_1_9_67":
|
|
127
127
|
if (!customElements.get(tagName)) {
|
|
128
128
|
defineCustomElement$2();
|
|
129
129
|
}
|
|
@@ -131,7 +131,7 @@ function defineCustomElement$1() {
|
|
|
131
131
|
} });
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
const
|
|
134
|
+
const TttxTabs_1_9_67 = TttxTabs;
|
|
135
135
|
const defineCustomElement = defineCustomElement$1;
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { TttxTabs_1_9_67, defineCustomElement };
|
|
@@ -18,10 +18,10 @@ const TttxTag = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
return (h(Host, null, h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, this.hasIcon &&
|
|
21
|
-
h("tttx-
|
|
21
|
+
h("tttx-icon_1_9_67", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), h("span", null, this.text))));
|
|
22
22
|
}
|
|
23
23
|
static get style() { return tttxTagCss; }
|
|
24
|
-
}, [1, "tttx-
|
|
24
|
+
}, [1, "tttx-tag_1_9_67", {
|
|
25
25
|
"text": [1],
|
|
26
26
|
"color": [1],
|
|
27
27
|
"textColor": [1, "text-color"],
|
|
@@ -34,14 +34,14 @@ function defineCustomElement() {
|
|
|
34
34
|
if (typeof customElements === "undefined") {
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
|
-
const components = ["tttx-
|
|
37
|
+
const components = ["tttx-tag_1_9_67", "tttx-icon_1_9_67"];
|
|
38
38
|
components.forEach(tagName => { switch (tagName) {
|
|
39
|
-
case "tttx-
|
|
39
|
+
case "tttx-tag_1_9_67":
|
|
40
40
|
if (!customElements.get(tagName)) {
|
|
41
41
|
customElements.define(tagName, TttxTag);
|
|
42
42
|
}
|
|
43
43
|
break;
|
|
44
|
-
case "tttx-
|
|
44
|
+
case "tttx-icon_1_9_67":
|
|
45
45
|
if (!customElements.get(tagName)) {
|
|
46
46
|
defineCustomElement$1();
|
|
47
47
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxTag_1_9_67 extends Components.TttxTag_1_9_67, HTMLElement {}
|
|
4
|
+
export const TttxTag_1_9_67: {
|
|
5
|
+
prototype: TttxTag_1_9_67;
|
|
6
|
+
new (): TttxTag_1_9_67;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxTag, d as defineCustomElement$1 } from './tttx-tag.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxTag_1_9_67 = TttxTag;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxTag_1_9_67, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTextarea_1_9_67 extends Components.TttxTextarea_1_9_67, HTMLElement {}
|
|
4
|
+
export const TttxTextarea_1_9_67: {
|
|
5
|
+
prototype: TttxTextarea_1_9_67;
|
|
6
|
+
new (): TttxTextarea_1_9_67;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-
|
|
3
|
+
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_67{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_67-h{display:block}label.sc-tttx-textarea_1_9_67{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_67 .textarea-container.sc-tttx-textarea_1_9_67{position:relative}label.sc-tttx-textarea_1_9_67 .textarea-container.sc-tttx-textarea_1_9_67 textarea.sc-tttx-textarea_1_9_67{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_67 .textarea-container.sc-tttx-textarea_1_9_67 textarea.no-label.sc-tttx-textarea_1_9_67{margin-top:0}label.sc-tttx-textarea_1_9_67 .textarea-container.sc-tttx-textarea_1_9_67 textarea.sc-tttx-textarea_1_9_67~.errorBubble.sc-tttx-textarea_1_9_67{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_67 .textarea-container.sc-tttx-textarea_1_9_67 textarea.sc-tttx-textarea_1_9_67~.errorBubble.sc-tttx-textarea_1_9_67:not(.visible){display:none}label.sc-tttx-textarea_1_9_67 .textarea-container.sc-tttx-textarea_1_9_67 textarea.sc-tttx-textarea_1_9_67~.errorBubble.sc-tttx-textarea_1_9_67 span.sc-tttx-textarea_1_9_67{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_67 .textarea-container.sc-tttx-textarea_1_9_67 textarea.sc-tttx-textarea_1_9_67:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_67 .textarea-container.sc-tttx-textarea_1_9_67 textarea.sc-tttx-textarea_1_9_67:focus-visible{outline:none}label.sc-tttx-textarea_1_9_67 .secondarylabel.sc-tttx-textarea_1_9_67{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_67 .optional.sc-tttx-textarea_1_9_67{color:#757575;font-weight:normal}";
|
|
4
4
|
|
|
5
5
|
const TttxTextarea = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -51,7 +51,7 @@ const TttxTextarea = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
51
51
|
return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: "textarea-container" }, h("textarea", { rows: this.rows, class: classNames, autofocus: this.textareaautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, disabled: this.disabled, maxlength: this.maxlength, name: this.name, placeholder: this.placeholder, readonly: this.readonly, required: this.required, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded validationicon" }, "warning"), " ", this.errormsg))))));
|
|
52
52
|
}
|
|
53
53
|
static get style() { return tttxTextareaCss; }
|
|
54
|
-
}, [2, "tttx-
|
|
54
|
+
}, [2, "tttx-textarea_1_9_67", {
|
|
55
55
|
"label": [1],
|
|
56
56
|
"secondarylabel": [1],
|
|
57
57
|
"showerrormsg": [4],
|
|
@@ -74,9 +74,9 @@ function defineCustomElement$1() {
|
|
|
74
74
|
if (typeof customElements === "undefined") {
|
|
75
75
|
return;
|
|
76
76
|
}
|
|
77
|
-
const components = ["tttx-
|
|
77
|
+
const components = ["tttx-textarea_1_9_67"];
|
|
78
78
|
components.forEach(tagName => { switch (tagName) {
|
|
79
|
-
case "tttx-
|
|
79
|
+
case "tttx-textarea_1_9_67":
|
|
80
80
|
if (!customElements.get(tagName)) {
|
|
81
81
|
customElements.define(tagName, TttxTextarea);
|
|
82
82
|
}
|
|
@@ -84,7 +84,7 @@ function defineCustomElement$1() {
|
|
|
84
84
|
} });
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
const
|
|
87
|
+
const TttxTextarea_1_9_67 = TttxTextarea;
|
|
88
88
|
const defineCustomElement = defineCustomElement$1;
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { TttxTextarea_1_9_67, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxToggle_1_9_67 extends Components.TttxToggle_1_9_67, HTMLElement {}
|
|
4
|
+
export const TttxToggle_1_9_67: {
|
|
5
|
+
prototype: TttxToggle_1_9_67;
|
|
6
|
+
new (): TttxToggle_1_9_67;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -33,7 +33,7 @@ const TttxToggle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
33
33
|
return (h("div", { id: 'toggle-switch' }, checkbox, h("div", { id: 'toggle-body' })));
|
|
34
34
|
}
|
|
35
35
|
static get style() { return tttxToggleCss; }
|
|
36
|
-
}, [1, "tttx-
|
|
36
|
+
}, [1, "tttx-toggle_1_9_67", {
|
|
37
37
|
"initialstate": [8],
|
|
38
38
|
"_state": [32]
|
|
39
39
|
}]);
|
|
@@ -41,9 +41,9 @@ function defineCustomElement$1() {
|
|
|
41
41
|
if (typeof customElements === "undefined") {
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
const components = ["tttx-
|
|
44
|
+
const components = ["tttx-toggle_1_9_67"];
|
|
45
45
|
components.forEach(tagName => { switch (tagName) {
|
|
46
|
-
case "tttx-
|
|
46
|
+
case "tttx-toggle_1_9_67":
|
|
47
47
|
if (!customElements.get(tagName)) {
|
|
48
48
|
customElements.define(tagName, TttxToggle);
|
|
49
49
|
}
|
|
@@ -51,7 +51,7 @@ function defineCustomElement$1() {
|
|
|
51
51
|
} });
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
const
|
|
54
|
+
const TttxToggle_1_9_67 = TttxToggle;
|
|
55
55
|
const defineCustomElement = defineCustomElement$1;
|
|
56
56
|
|
|
57
|
-
export {
|
|
57
|
+
export { TttxToggle_1_9_67, defineCustomElement };
|
|
@@ -28,7 +28,7 @@ const TttxToolbar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
28
28
|
return (h(Host, null, h("div", { class: `container ${this.border ? 'bordered' : ''} ${this.viewSize}` }, h("slot", { name: 'before' }), h("slot", { name: 'center' }), h("slot", { name: 'after' }))));
|
|
29
29
|
}
|
|
30
30
|
static get style() { return tttxToolbarCss; }
|
|
31
|
-
}, [1, "tttx-
|
|
31
|
+
}, [1, "tttx-toolbar_1_9_67", {
|
|
32
32
|
"border": [4],
|
|
33
33
|
"viewSize": [32]
|
|
34
34
|
}, [[9, "resize", "handleResize"]]]);
|
|
@@ -36,9 +36,9 @@ function defineCustomElement() {
|
|
|
36
36
|
if (typeof customElements === "undefined") {
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
|
-
const components = ["tttx-
|
|
39
|
+
const components = ["tttx-toolbar_1_9_67"];
|
|
40
40
|
components.forEach(tagName => { switch (tagName) {
|
|
41
|
-
case "tttx-
|
|
41
|
+
case "tttx-toolbar_1_9_67":
|
|
42
42
|
if (!customElements.get(tagName)) {
|
|
43
43
|
customElements.define(tagName, TttxToolbar);
|
|
44
44
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxToolbar_1_9_67 extends Components.TttxToolbar_1_9_67, HTMLElement {}
|
|
4
|
+
export const TttxToolbar_1_9_67: {
|
|
5
|
+
prototype: TttxToolbar_1_9_67;
|
|
6
|
+
new (): TttxToolbar_1_9_67;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxToolbar, d as defineCustomElement$1 } from './tttx-toolbar.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxToolbar_1_9_67 = TttxToolbar;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxToolbar_1_9_67, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTreeView_1_9_67 extends Components.TttxTreeView_1_9_67, HTMLElement {}
|
|
4
|
+
export const TttxTreeView_1_9_67: {
|
|
5
|
+
prototype: TttxTreeView_1_9_67;
|
|
6
|
+
new (): TttxTreeView_1_9_67;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -178,7 +178,7 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
178
178
|
if (node.hasHover) {
|
|
179
179
|
this.onClickHandler(event, node);
|
|
180
180
|
}
|
|
181
|
-
} }), h("tttx-
|
|
181
|
+
} }), h("tttx-button_1_9_67", { 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, parentId)), node.isOpen ? (h("li", null, h("ul", null, node.child.map((childNode, index) => {
|
|
182
182
|
return this.renderNode(childNode, index, node.id);
|
|
183
183
|
})))) : null));
|
|
184
184
|
}
|
|
@@ -191,7 +191,7 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
htmlcode(type, node, check_box, check_boxColor, index, parentId = undefined) {
|
|
194
|
-
const htmlcode = (h("div", { class: "inline-tree-item element" }, node.draggable && (h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index, parentId) })), node.hasCheckbox && (h("tttx-
|
|
194
|
+
const htmlcode = (h("div", { class: "inline-tree-item element" }, node.draggable && (h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index, parentId) })), node.hasCheckbox && (h("tttx-button_1_9_67", { design: "borderless-circle", notext: true, icon: check_box, iconcolor: check_boxColor, class: "padding-icon checkbox", onClick: event => this.handleCheckboxChange(node, event) })), !node.html && node.hasIcon && (h("tttx-icon_1_9_67", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && h("div", { class: type }, node.title), node.html && h("div", { class: type, innerHTML: purify.sanitize(node.html, domSanitiserOptions) })));
|
|
195
195
|
return htmlcode;
|
|
196
196
|
}
|
|
197
197
|
render() {
|
|
@@ -201,7 +201,7 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
201
201
|
}
|
|
202
202
|
get el() { return this; }
|
|
203
203
|
static get style() { return tttxTreeViewCss; }
|
|
204
|
-
}, [1, "tttx-tree-
|
|
204
|
+
}, [1, "tttx-tree-view_1_9_67", {
|
|
205
205
|
"data": [1040],
|
|
206
206
|
"treeData": [32]
|
|
207
207
|
}]);
|
|
@@ -209,19 +209,19 @@ function defineCustomElement$1() {
|
|
|
209
209
|
if (typeof customElements === "undefined") {
|
|
210
210
|
return;
|
|
211
211
|
}
|
|
212
|
-
const components = ["tttx-tree-
|
|
212
|
+
const components = ["tttx-tree-view_1_9_67", "tttx-button_1_9_67", "tttx-icon_1_9_67"];
|
|
213
213
|
components.forEach(tagName => { switch (tagName) {
|
|
214
|
-
case "tttx-tree-
|
|
214
|
+
case "tttx-tree-view_1_9_67":
|
|
215
215
|
if (!customElements.get(tagName)) {
|
|
216
216
|
customElements.define(tagName, TttxTreeView);
|
|
217
217
|
}
|
|
218
218
|
break;
|
|
219
|
-
case "tttx-
|
|
219
|
+
case "tttx-button_1_9_67":
|
|
220
220
|
if (!customElements.get(tagName)) {
|
|
221
221
|
defineCustomElement$3();
|
|
222
222
|
}
|
|
223
223
|
break;
|
|
224
|
-
case "tttx-
|
|
224
|
+
case "tttx-icon_1_9_67":
|
|
225
225
|
if (!customElements.get(tagName)) {
|
|
226
226
|
defineCustomElement$2();
|
|
227
227
|
}
|
|
@@ -229,7 +229,7 @@ function defineCustomElement$1() {
|
|
|
229
229
|
} });
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
-
const
|
|
232
|
+
const TttxTreeView_1_9_67 = TttxTreeView;
|
|
233
233
|
const defineCustomElement = defineCustomElement$1;
|
|
234
234
|
|
|
235
|
-
export {
|
|
235
|
+
export { TttxTreeView_1_9_67, defineCustomElement };
|
package/dist/esm/loader.js
CHANGED
|
@@ -11,7 +11,7 @@ const patchEsm = () => {
|
|
|
11
11
|
const defineCustomElements = (win, options) => {
|
|
12
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
13
|
return patchEsm().then(() => {
|
|
14
|
-
return bootstrapLazy([["tttx-data-
|
|
14
|
+
return bootstrapLazy([["tttx-data-pattern_1_9_67",[[1,"tttx-data-pattern_1_9_67",{"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_67",[[1,"tttx-form_1_9_67",{"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_67",[[1,"tttx-multiselect-box_1_9_67",{"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_67",[[1,"tttx-chart_1_9_67",{"chartType":[1,"chart-type"],"chartData":[16],"chartOptions":[16],"loading":[4],"error":[4],"fallbackText":[1,"fallback-text"],"width":[1],"height":[1],"exportable":[32],"chartInstance":[32],"showPngSvgExport":[32]}]]],["tttx-datacard_1_9_67",[[1,"tttx-datacard_1_9_67",{"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_67",[[1,"tttx-dialog-box_1_9_67",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_67",[[1,"tttx-dialog_1_9_67",{"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_67",[[1,"tttx-tree-view_1_9_67",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_67",[[1,"tttx-action-dropdown_1_9_67",{"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_67",[[1,"tttx-button-v2_1_9_67",{"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_67",[[0,"tttx-checkbox_1_9_67",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_67",[[1,"tttx-comments_1_9_67",{"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",[[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_67",[[1,"tttx-expander_1_9_67",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_67",[[2,"tttx-tabs_1_9_67",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_67",[[4,"tttx-checkbox-group-caption_1_9_67"]]],["tttx-checkbox-group-heading_1_9_67",[[4,"tttx-checkbox-group-heading_1_9_67"]]],["tttx-checkbox-group_1_9_67",[[1,"tttx-checkbox-group_1_9_67"]]],["tttx-keyvalue-block_1_9_67",[[1,"tttx-keyvalue-block_1_9_67",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_67",[[2,"tttx-percentage-bar_1_9_67",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_67",[[1,"tttx-qrcode_1_9_67",{"link":[1025],"size":[1026]}]]],["tttx-skeleton_loader_1_9_67",[[1,"tttx-skeleton_loader_1_9_67",{"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_67",[[1,"tttx-table_1_9_67",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_67",[[2,"tttx-textarea_1_9_67",{"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_67",[[1,"tttx-toggle_1_9_67",{"initialstate":[8],"_state":[32]}]]],["tttx-loading-spinner_1_9_67_3",[[1,"tttx-tag_1_9_67",{"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_67",{"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_67",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}]]],["tttx-select-box_1_9_67",[[1,"tttx-select-box_1_9_67",{"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_67",[[1,"tttx-graph_1_9_67",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-icon_1_9_67",[[1,"tttx-icon_1_9_67",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-filter_1_9_67_4",[[1,"tttx-filter_1_9_67",{"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_67",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_67",{"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_67",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_67",[[1,"tttx-button_1_9_67",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|
package/dist/esm/{tttx-action-dropdown_1_9_65.entry.js → tttx-action-dropdown_1_9_67.entry.js}
RENAMED
|
@@ -46,7 +46,7 @@ const TttxActionDropdown = class {
|
|
|
46
46
|
return;
|
|
47
47
|
const actionKey = `action-dropdown__${this.actionKey}`;
|
|
48
48
|
const chevronIcon = this.dropdownExpand ? 'keyboard_arrow_up' : 'keyboard_arrow_down';
|
|
49
|
-
return (h(Host, { id: actionKey }, h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, h("div", { class: "button-content" }, this.isIconVisible && (h("tttx-
|
|
49
|
+
return (h(Host, { id: actionKey }, h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, h("div", { class: "button-content" }, this.isIconVisible && (h("tttx-icon_1_9_67", { icon: this.icon, color: "black" })), h("span", { class: "action-text" }, this.selectedField)), h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_67", { icon: chevronIcon, color: "black" }))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.actionOptions.map(option => {
|
|
50
50
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
51
51
|
}))))));
|
|
52
52
|
}
|
|
@@ -54,4 +54,4 @@ const TttxActionDropdown = class {
|
|
|
54
54
|
};
|
|
55
55
|
TttxActionDropdown.style = tttxActionDropdownCss;
|
|
56
56
|
|
|
57
|
-
export { TttxActionDropdown as
|
|
57
|
+
export { TttxActionDropdown as tttx_action_dropdown_1_9_67 };
|
|
@@ -1,19 +1,38 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6b9af9c9.js';
|
|
2
2
|
|
|
3
|
-
const tttxButtonV2Css = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:inline-block}button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;white-space:nowrap;vertical-align:middle;font-weight:600;text-transform:none;cursor:pointer;background:transparent;min-width:96px;max-width:240px;box-sizing:border-box}button:disabled{cursor:not-allowed}button.notext{min-width:40px;max-width:40px;height:40px;padding:8px;aspect-ratio:1/1;justify-content:center;align-items:center;box-sizing:border-box}button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.label-text{display:inline-block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}button.button.btn-size-s{font-size:13px;padding:6px 10px;gap:4px;min-height:32px}button.button.btn-size-m{font-size:14px;padding:8px 12px;gap:4px;min-height:40px}button.button.btn-size-l{font-size:16px;padding:12px 24px;gap:8px;min-height:48px}button.btn-primary{background-color:#1479c6;border:1px solid #1479c6;color:#ffffff;transition:background-color 0.2s ease}button.btn-primary:hover:not(:disabled){background-color:#146eb3}button.btn-primary:active:not(:disabled){background-color:#115a8f}button.btn-primary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-secondary{background-color:#ffffff;color:#17272b;border:1px solid #D4D4D4;transition:background-color 0.2s ease}button.btn-secondary:hover:not(:disabled){background-color:#fafafa}button.btn-secondary:active:not(:disabled){background-color:#f5f5f5}button.btn-secondary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-danger{background-color:#dc2626;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #DC2626}button.btn-danger:hover:not(:disabled){background-color:#b91c1c}button.btn-danger:active:not(:disabled){background-color:#991b1b}button.btn-danger:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-success{background-color:#16a34a;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #16a34a}button.btn-success:hover:not(:disabled){background-color:#15803d}button.btn-success:active:not(:disabled){background-color:#166534}button.btn-success:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-warning{background-color:#eab308;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #eab308}button.btn-warning:hover:not(:disabled){background-color:#ca8a04}button.btn-warning:active:not(:disabled){background-color:#885544}button.btn-warning:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-light{background-color:#000000;color:#ffffff;border:1px solid #000000}button.btn-light:hover:not(:disabled){background-color:#222222}button.btn-light:active:not(:disabled){background-color:#1a1a1a}button.btn-transparent{background:transparent;border:1px solid transparent;box-shadow:none;color:#1479c6;border:1px solid transparent}button.btn-transparent:hover:not(:disabled){background:rgba(0, 0, 0, 0.04)}button.btn-transparent:disabled{opacity:0.4;pointer-events:none}button.icon-start .button-content,button.icon-end .button-content{gap:8px}button.icon-start .icon-left,button.icon-end .icon-right{display:flex;align-items:center;justify-content:center}button.icon-start.btn-size-s{padding-right:14px}button.icon-end.btn-size-s{padding-left:14px}button.icon-start.btn-size-m{padding-right:16px}button.icon-end.btn-size-m{padding-left:16px}button.icon-start.btn-size-l{padding-right:28px}button.icon-end.btn-size-l{padding-left:28px}.button-content{font-family:Roboto;display:inline-flex;align-items:center;justify-content:center;
|
|
3
|
+
const tttxButtonV2Css = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:inline-block}button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;white-space:nowrap;vertical-align:middle;font-weight:600;text-transform:none;cursor:pointer;background:transparent;min-width:96px;max-width:240px;box-sizing:border-box}button:disabled{cursor:not-allowed}button.notext{min-width:40px;max-width:40px;height:40px;padding:8px;aspect-ratio:1/1;justify-content:center;align-items:center;box-sizing:border-box}button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.label-text{display:inline-block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}button.button.btn-size-s{font-size:13px;padding:6px 10px;gap:4px;min-height:32px}button.button.btn-size-m{font-size:14px;padding:8px 12px;gap:4px;min-height:40px}button.button.btn-size-l{font-size:16px;padding:12px 24px;gap:8px;min-height:48px}button.btn-primary{background-color:#1479c6;border:1px solid #1479c6;color:#ffffff;transition:background-color 0.2s ease}button.btn-primary:hover:not(:disabled){background-color:#146eb3}button.btn-primary:active:not(:disabled){background-color:#115a8f}button.btn-primary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-secondary{background-color:#ffffff;color:#17272b;border:1px solid #D4D4D4;transition:background-color 0.2s ease}button.btn-secondary:hover:not(:disabled){background-color:#fafafa}button.btn-secondary:active:not(:disabled){background-color:#f5f5f5}button.btn-secondary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-danger{background-color:#dc2626;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #DC2626}button.btn-danger:hover:not(:disabled){background-color:#b91c1c}button.btn-danger:active:not(:disabled){background-color:#991b1b}button.btn-danger:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-success{background-color:#16a34a;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #16a34a}button.btn-success:hover:not(:disabled){background-color:#15803d}button.btn-success:active:not(:disabled){background-color:#166534}button.btn-success:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-warning{background-color:#eab308;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #eab308}button.btn-warning:hover:not(:disabled){background-color:#ca8a04}button.btn-warning:active:not(:disabled){background-color:#885544}button.btn-warning:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-light{background-color:#000000;color:#ffffff;border:1px solid #000000}button.btn-light:hover:not(:disabled){background-color:#222222}button.btn-light:active:not(:disabled){background-color:#1a1a1a}button.btn-transparent{background:transparent;border:1px solid transparent;box-shadow:none;color:#1479c6;border:1px solid transparent}button.btn-transparent:hover:not(:disabled){background:rgba(0, 0, 0, 0.04)}button.btn-transparent:disabled{opacity:0.4;pointer-events:none}button.icon-start .button-content,button.icon-end .button-content{gap:8px}button.icon-start .icon-left,button.icon-end .icon-right{display:flex;align-items:center;justify-content:center}button.icon-start.btn-size-s{padding-right:14px}button.icon-end.btn-size-s{padding-left:14px}button.icon-start.btn-size-m{padding-right:16px}button.icon-end.btn-size-m{padding-left:16px}button.icon-start.btn-size-l{padding-right:28px}button.icon-end.btn-size-l{padding-left:28px}.button-content{font-family:Roboto;display:inline-flex;align-items:center;justify-content:center;width:100%}.button-content:not(:has(.icon-left,.icon-right)){justify-content:center}button.notext .button-content{justify-content:center !important;align-items:center;width:100%;display:flex;gap:0}tttx-icon,tttx-icon_1_9_67{cursor:inherit;display:inline-flex;vertical-align:middle;font-size:16px}.button-wrapper{position:relative}.button-wrapper .dropdown-list{position:absolute;top:100%;left:0;list-style:none;z-index:1;width:260px;border-radius:8px;padding:4px;background-color:white;border:1px solid #d4d4d4;margin-top:8px}.button-wrapper .dropdown-list .dropdown-option{padding:8px;cursor:pointer;white-space:nowrap;font-family:Roboto;font-size:14px;font-weight:400;line-height:16px}.button-wrapper .dropdown-list .dropdown-option:hover,.button-wrapper .dropdown-list .dropdown-option:focus{background-color:#f5f5f5;border-radius:8px}.button-wrapper .dropdown-list.dropdown-left{left:auto;right:0;top:100%;list-style:none;z-index:1;width:260px;border-radius:8px;padding:4px;margin-top:8px}.button-wrapper .dropdown-button{border-radius:4px;width:100%;justify-content:space-between}.button-wrapper .dropdown-button:hover{background-color:#f0f0f0}.button-wrapper .dropdown-button:active{background-color:#e3e3e3}.button-wrapper .dropdown-button .dropdown-arrow{display:flex;align-items:center;margin-left:8px}.button-wrapper .dropdown-button .dropdown-arrow .hydrated{display:flex;align-items:center}.dropdown-item-content{display:flex;align-items:center;gap:8px}.dropdown-item-icon{display:flex;align-items:center;justify-content:center}";
|
|
4
4
|
|
|
5
5
|
const TttxButton = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
-
this.
|
|
8
|
+
this.optionSelect = createEvent(this, "optionSelect", 7);
|
|
9
|
+
this.calculateDropdownDirection = () => {
|
|
10
|
+
const rect = this.host.getBoundingClientRect();
|
|
11
|
+
const dropdownEl = this.host.querySelector('.dropdown-list');
|
|
12
|
+
const dropdownWidth = dropdownEl ? dropdownEl.offsetWidth : 260;
|
|
13
|
+
const spaceRight = window.innerWidth - rect.right;
|
|
14
|
+
const spaceLeft = rect.left;
|
|
15
|
+
if (spaceRight > dropdownWidth) {
|
|
16
|
+
this.dropdownDirection = 'right';
|
|
17
|
+
}
|
|
18
|
+
else if (spaceLeft > dropdownWidth) {
|
|
19
|
+
this.dropdownDirection = 'left';
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
this.dropdownDirection = 'left';
|
|
23
|
+
}
|
|
24
|
+
};
|
|
9
25
|
this.toggleDropdown = () => {
|
|
10
26
|
if (!this.isDisabled) {
|
|
27
|
+
if (!this.dropdownOpen) {
|
|
28
|
+
this.calculateDropdownDirection();
|
|
29
|
+
}
|
|
11
30
|
this.dropdownOpen = !this.dropdownOpen;
|
|
12
31
|
}
|
|
13
32
|
};
|
|
14
|
-
this.handleDropdownItemClick = (
|
|
33
|
+
this.handleDropdownItemClick = (index) => {
|
|
15
34
|
this.dropdownOpen = false;
|
|
16
|
-
this.
|
|
35
|
+
this.optionSelect.emit(index);
|
|
17
36
|
};
|
|
18
37
|
this.notext = false;
|
|
19
38
|
this.icon = undefined;
|
|
@@ -29,17 +48,30 @@ const TttxButton = class {
|
|
|
29
48
|
this.options = [];
|
|
30
49
|
this.size = 'M';
|
|
31
50
|
this.dropdownOpen = false;
|
|
51
|
+
this.dropdownDirection = 'left';
|
|
32
52
|
}
|
|
33
53
|
get isDisabled() {
|
|
34
54
|
return this.disabled || this.design === 'disabled';
|
|
35
55
|
}
|
|
36
56
|
get parsedOptions() {
|
|
37
57
|
if (Array.isArray(this.options)) {
|
|
38
|
-
return this.options.map(opt =>
|
|
58
|
+
return this.options.map(opt => typeof opt === 'string'
|
|
59
|
+
? { label: opt }
|
|
60
|
+
: {
|
|
61
|
+
id: opt.id,
|
|
62
|
+
label: opt.label,
|
|
63
|
+
icon: opt.icon,
|
|
64
|
+
});
|
|
39
65
|
}
|
|
40
66
|
try {
|
|
41
67
|
const parsed = JSON.parse(this.options);
|
|
42
|
-
return parsed.map((opt) =>
|
|
68
|
+
return parsed.map((opt) => typeof opt === 'string'
|
|
69
|
+
? { label: opt }
|
|
70
|
+
: {
|
|
71
|
+
id: opt.id,
|
|
72
|
+
label: opt.label,
|
|
73
|
+
icon: opt.icon,
|
|
74
|
+
});
|
|
43
75
|
}
|
|
44
76
|
catch (_a) {
|
|
45
77
|
return [];
|
|
@@ -66,7 +98,7 @@ const TttxButton = class {
|
|
|
66
98
|
'light',
|
|
67
99
|
'success',
|
|
68
100
|
'warning',
|
|
69
|
-
'transparent'
|
|
101
|
+
'transparent',
|
|
70
102
|
];
|
|
71
103
|
const validSizes = ['S', 'M', 'L'];
|
|
72
104
|
if (!validDesigns.includes(this.design)) {
|
|
@@ -89,12 +121,13 @@ const TttxButton = class {
|
|
|
89
121
|
}
|
|
90
122
|
renderButtonContent() {
|
|
91
123
|
var _a;
|
|
92
|
-
return (h("div", { class: "button-content" }, this.iconStart && (h("div", { class: "icon-left" }, h("tttx-
|
|
124
|
+
return (h("div", { class: "button-content" }, this.iconStart && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_67", { 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_67", { icon: this.iconEnd, color: this.iconcolor, size: this.iconSize }))), this.type === 'dropdown' && (h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_67", { icon: "keyboard_arrow_down", color: this.iconcolor, size: this.iconSize })))));
|
|
93
125
|
}
|
|
94
126
|
renderDropdownList() {
|
|
95
127
|
if (this.type !== 'dropdown' || !this.dropdownOpen)
|
|
96
128
|
return null;
|
|
97
|
-
|
|
129
|
+
const dropdownClasses = `dropdown-list dropdown-${this.dropdownDirection}`;
|
|
130
|
+
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_67", { icon: item.icon, color: "black", size: this.iconSize, class: "dropdown-item-icon" })), h("span", { class: "dropdown-item-label" }, item.label)))))));
|
|
98
131
|
}
|
|
99
132
|
render() {
|
|
100
133
|
const classes = [
|
|
@@ -104,7 +137,7 @@ const TttxButton = class {
|
|
|
104
137
|
this.iconEnd ? 'icon-end' : '',
|
|
105
138
|
this.notext ? 'notext' : '',
|
|
106
139
|
this.type === 'dropdown' ? 'dropdown-button' : '',
|
|
107
|
-
`btn-size-${this.size.toLowerCase()}
|
|
140
|
+
`btn-size-${this.size.toLowerCase()}`,
|
|
108
141
|
]
|
|
109
142
|
.filter(Boolean)
|
|
110
143
|
.join(' ');
|
|
@@ -114,4 +147,4 @@ const TttxButton = class {
|
|
|
114
147
|
};
|
|
115
148
|
TttxButton.style = tttxButtonV2Css;
|
|
116
149
|
|
|
117
|
-
export { TttxButton as
|
|
150
|
+
export { TttxButton as tttx_button_v2_1_9_67 };
|
|
@@ -24,9 +24,9 @@ const TttxButton = class {
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
this._iconcolor = this.iconcolor;
|
|
27
|
-
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-
|
|
27
|
+
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_67", { 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_67", { icon: this.icon, color: this._iconcolor }))))));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
TttxButton.style = tttxButtonCss;
|
|
31
31
|
|
|
32
|
-
export { TttxButton as
|
|
32
|
+
export { TttxButton as tttx_button_1_9_67 };
|