@3t-transform/threeteeui 1.9.71 → 1.9.72
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_71.cjs.entry.js → tttx-action-dropdown_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_71.cjs.entry.js → tttx-button-v2_1_9_72.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-button_1_9_71.cjs.entry.js → tttx-button_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_71.cjs.entry.js → tttx-chart_1_9_72.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_71.cjs.entry.js → tttx-checkbox-group-caption_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_71.cjs.entry.js → tttx-checkbox-group-heading_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_71.cjs.entry.js → tttx-checkbox-group_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_71.cjs.entry.js → tttx-checkbox_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_71.cjs.entry.js → tttx-comments_1_9_72.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-data-pattern_1_9_71.cjs.entry.js → tttx-data-pattern_1_9_72.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_71.cjs.entry.js → tttx-datacard_1_9_72.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_71.cjs.entry.js → tttx-dialog-box_1_9_72.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_71.cjs.entry.js → tttx-dialog_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_71.cjs.entry.js → tttx-expander_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_71_4.cjs.entry.js → tttx-filter_1_9_72_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_71.cjs.entry.js → tttx-form_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_71.cjs.entry.js → tttx-graph_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_71.cjs.entry.js → tttx-icon_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_71.cjs.entry.js → tttx-keyvalue-block_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_71_3.cjs.entry.js → tttx-loading-spinner_1_9_72_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_71.cjs.entry.js → tttx-multiselect-box_1_9_72.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_71.cjs.entry.js → tttx-percentage-bar_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_71.cjs.entry.js → tttx-qrcode_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-range-slider_1_9_71.cjs.entry.js → tttx-range-slider_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-select-box_1_9_71.cjs.entry.js → tttx-select-box_1_9_72.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_71.cjs.entry.js → tttx-skeleton_loader_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_71.cjs.entry.js → tttx-table_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_71.cjs.entry.js → tttx-tabs_1_9_72.cjs.entry.js} +5 -5
- package/dist/cjs/tttx-tag-v2_1_9_72.cjs.entry.js +82 -0
- package/dist/cjs/{tttx-textarea_1_9_71.cjs.entry.js → tttx-textarea_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_71.cjs.entry.js → tttx-toggle_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tooltip_1_9_71.cjs.entry.js → tttx-tooltip_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_71.cjs.entry.js → tttx-tree-view_1_9_72.cjs.entry.js} +3 -3
- package/dist/cjs/tttx.cjs.js +1 -1
- 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 +3 -3
- 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-tag-v2/tttx-tag-v2.css +250 -0
- package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.js +281 -0
- package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.stories.js +84 -0
- 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-range-slider/tttx-range-slider.js +2 -2
- package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.stories.js +3 -3
- 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 +4 -4
- 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.js +1 -1
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tootip.stories.js +2 -2
- 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 +38 -37
- package/dist/components/index.js +38 -37
- package/dist/components/tttx-action-dropdown_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_71.js → tttx-action-dropdown_1_9_72.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_71.d.ts → tttx-button-v2_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_71.js → tttx-button-v2_1_9_72.js} +9 -9
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_71.d.ts → tttx-button_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_71.js → tttx-button_1_9_72.js} +2 -2
- package/dist/components/{tttx-table_1_9_71.d.ts → tttx-chart_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_71.js → tttx-chart_1_9_72.js} +10 -10
- package/dist/components/tttx-checkbox-group-caption_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_71.js → tttx-checkbox-group-caption_1_9_72.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_71.js → tttx-checkbox-group-heading_1_9_72.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_71.js → tttx-checkbox-group_1_9_72.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_71.d.ts → tttx-checkbox_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_71.js → tttx-checkbox_1_9_72.js} +7 -7
- package/dist/components/tttx-comments_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_71.js → tttx-comments_1_9_72.js} +9 -9
- package/dist/components/tttx-data-pattern_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_71.js → tttx-data-pattern_1_9_72.js} +16 -16
- package/dist/components/tttx-datacard_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_71.js → tttx-datacard_1_9_72.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_71.js → tttx-dialog-box_1_9_72.js} +9 -9
- package/dist/components/{tttx-filter_1_9_71.d.ts → tttx-dialog_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_71.js → tttx-dialog_1_9_72.js} +8 -8
- package/dist/components/tttx-expander_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_71.js → tttx-expander_1_9_72.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-button_1_9_71.d.ts → tttx-filter_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_71.js → tttx-filter_1_9_72.js} +2 -2
- package/dist/components/{tttx-form_1_9_71.d.ts → tttx-form_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_71.js → tttx-form_1_9_72.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_71.d.ts → tttx-graph_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_71.js → tttx-graph_1_9_72.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_9_71.d.ts → tttx-icon_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_71.js → tttx-icon_1_9_72.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_71.js → tttx-keyvalue-block_1_9_72.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-icon_1_9_71.d.ts → tttx-list_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_71.js → tttx-list_1_9_72.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_71.js → tttx-loading-spinner_1_9_72.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_71.js → tttx-multiselect-box_1_9_72.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_71.js → tttx-percentage-bar_1_9_72.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_71.d.ts → tttx-qrcode_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_71.js → tttx-qrcode_1_9_72.js} +5 -5
- package/dist/components/tttx-range-slider_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-range-slider_1_9_71.js → tttx-range-slider_1_9_72.js} +6 -6
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_71.js → tttx-select-box_1_9_72.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_71.js → tttx-skeleton_loader_1_9_72.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_71.js → tttx-sorter_1_9_72.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_71.js → tttx-standalone-input_1_9_72.js} +2 -2
- package/dist/components/{tttx-chart_1_9_71.d.ts → tttx-table_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_71.js → tttx-table_1_9_72.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_71.d.ts → tttx-tabs_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_71.js → tttx-tabs_1_9_72.js} +10 -10
- package/dist/components/tttx-tag-v2_1_9_72.d.ts +11 -0
- package/dist/components/tttx-tag-v2_1_9_72.js +114 -0
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_71.d.ts → tttx-tag_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_71.js → tttx-tag_1_9_72.js} +2 -2
- package/dist/components/tttx-textarea_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_71.js → tttx-textarea_1_9_72.js} +6 -6
- package/dist/components/tttx-toggle_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_71.js → tttx-toggle_1_9_72.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_71.js → tttx-toolbar_1_9_72.js} +2 -2
- package/dist/components/tttx-tooltip_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-tooltip_1_9_71.js → tttx-tooltip_1_9_72.js} +5 -5
- package/dist/components/tttx-tree-view_1_9_72.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_71.js → tttx-tree-view_1_9_72.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_71.entry.js → tttx-action-dropdown_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_71.entry.js → tttx-button-v2_1_9_72.entry.js} +4 -4
- package/dist/esm/{tttx-button_1_9_71.entry.js → tttx-button_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_71.entry.js → tttx-chart_1_9_72.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_71.entry.js → tttx-checkbox-group-caption_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_71.entry.js → tttx-checkbox-group-heading_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_71.entry.js → tttx-checkbox-group_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_71.entry.js → tttx-checkbox_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_71.entry.js → tttx-comments_1_9_72.entry.js} +4 -4
- package/dist/esm/{tttx-data-pattern_1_9_71.entry.js → tttx-data-pattern_1_9_72.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_71.entry.js → tttx-datacard_1_9_72.entry.js} +4 -4
- package/dist/esm/tttx-date-range-picker.entry.js +1 -1
- package/dist/esm/{tttx-dialog-box_1_9_71.entry.js → tttx-dialog-box_1_9_72.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_71.entry.js → tttx-dialog_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_71.entry.js → tttx-expander_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_71_4.entry.js → tttx-filter_1_9_72_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_71.entry.js → tttx-form_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_71.entry.js → tttx-graph_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_71.entry.js → tttx-icon_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_71.entry.js → tttx-keyvalue-block_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_71_3.entry.js → tttx-loading-spinner_1_9_72_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_71.entry.js → tttx-multiselect-box_1_9_72.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_71.entry.js → tttx-percentage-bar_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_71.entry.js → tttx-qrcode_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-range-slider_1_9_71.entry.js → tttx-range-slider_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-select-box_1_9_71.entry.js → tttx-select-box_1_9_72.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_71.entry.js → tttx-skeleton_loader_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_71.entry.js → tttx-table_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_71.entry.js → tttx-tabs_1_9_72.entry.js} +5 -5
- package/dist/esm/tttx-tag-v2_1_9_72.entry.js +78 -0
- package/dist/esm/{tttx-textarea_1_9_71.entry.js → tttx-textarea_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_71.entry.js → tttx-toggle_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-tooltip_1_9_71.entry.js → tttx-tooltip_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_71.entry.js → tttx-tree-view_1_9_72.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-13272658.entry.js +1 -1
- package/dist/tttx/p-1f75b5d3.entry.js +1 -1
- package/dist/tttx/p-32cf4137.entry.js +1 -1
- package/dist/tttx/p-36edf716.entry.js +1 -1
- package/dist/tttx/p-384f7c70.entry.js +1 -0
- package/dist/tttx/p-47fadd24.entry.js +1 -1
- package/dist/tttx/p-4c63f7da.entry.js +1 -1
- package/dist/tttx/p-4ddf7946.entry.js +1 -1
- package/dist/tttx/p-5765b7da.entry.js +1 -1
- package/dist/tttx/p-5b7c20ff.entry.js +1 -1
- package/dist/tttx/p-5e14d6aa.entry.js +1 -1
- package/dist/tttx/p-620b18f6.entry.js +1 -1
- package/dist/tttx/p-66340f2f.entry.js +1 -1
- package/dist/tttx/p-71bb2f21.entry.js +1 -1
- package/dist/tttx/p-74a8c484.entry.js +1 -1
- package/dist/tttx/p-789defe0.entry.js +1 -1
- package/dist/tttx/p-86cdb616.entry.js +1 -1
- package/dist/tttx/p-8beccdc9.entry.js +1 -1
- package/dist/tttx/p-969a4944.entry.js +1 -1
- package/dist/tttx/p-a2979a57.entry.js +1 -1
- package/dist/tttx/p-a50d9105.entry.js +1 -1
- package/dist/tttx/p-a8526f90.entry.js +1 -1
- package/dist/tttx/p-b1a24af0.entry.js +1 -0
- package/dist/tttx/p-b2a0053a.entry.js +1 -1
- package/dist/tttx/p-b4fe2853.entry.js +1 -1
- package/dist/tttx/{p-18fce688.entry.js → p-b69ae246.entry.js} +1 -1
- package/dist/tttx/p-b97e0e3c.entry.js +1 -1
- package/dist/tttx/p-c33f9022.entry.js +1 -1
- package/dist/tttx/p-ca58259a.entry.js +1 -1
- package/dist/tttx/p-d1ee41dd.entry.js +1 -1
- package/dist/tttx/p-ee41fe8f.entry.js +1 -1
- package/dist/tttx/p-f30833e3.entry.js +1 -1
- package/dist/tttx/p-f69b4685.entry.js +1 -1
- package/dist/tttx/p-ff7edd81.entry.js +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/atoms/tttx-tag-v2/tttx-tag-v2.d.ts +15 -0
- package/dist/types/components/atoms/tttx-tag-v2/tttx-tag-v2.stories.d.ts +48 -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-tabs/interfaces.d.ts +1 -0
- package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
- package/dist/types/components.d.ts +475 -440
- package/package.json +2 -2
- package/dist/components/tttx-action-dropdown_1_9_71.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_71.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_71.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_71.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_71.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_71.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_71.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_71.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_71.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_71.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_71.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_71.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_71.d.ts +0 -11
- package/dist/components/tttx-range-slider_1_9_71.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_71.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_71.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_71.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_71.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_71.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_71.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_71.d.ts +0 -11
- package/dist/components/tttx-tooltip_1_9_71.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_71.d.ts +0 -11
- package/dist/tttx/p-8392774e.entry.js +0 -1
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$2 } from './tttx-icon.js';
|
|
3
|
+
|
|
4
|
+
const tttxTagV2Css = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}button{cursor:pointer}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:500}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.blackout{background:#363636;border:1px solid #363636;color:white}.blackout:active{background:#212121;border:1px solid #212121}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.blackout:hover{background:#212121;border:1px solid #212121}}:host{display:inline-block}.tag{display:inline-flex;align-items:center;padding:8px 12px;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:400;width:max-content;border-radius:var(--sds-size-radius-200, 8px);font-family:Roboto}.tag.S{font-size:12px;height:20px;padding:4px;border:var(--sds-size-stroke-border, 1px) solid #E5E5E5;border-radius:var(--sds-size-radius-100, 4px)}.tag.M{font-size:16px;height:32px;padding:8px;border:1px solid #E5E5E5;border-radius:8px;font-weight:400}.tag.M span{margin-left:8px;margin-right:8px}.tag.brand{background-color:#1479c6;color:#FFFFFF}.tag.danger{background-color:#DC2626;color:#FFFFFF}.tag.success{background-color:#16A34A;color:#FFFFFF}.tag.warning{background-color:#FACC15;color:#58310E}.tag.neutral{background-color:#E5E5E5;color:#737373}.tag.primary{background-color:#1479c6;color:#FFFFFF}.tag.secondary{background-color:#b9d5ed;color:#1479c6}.tag_icon{padding-top:4px}.tag span{margin-left:4px;margin-right:4px}.icon{height:18px;width:18px;font-weight:400}";
|
|
5
|
+
|
|
6
|
+
const TttxTagV2 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
11
|
+
this.text = undefined;
|
|
12
|
+
this.color = undefined;
|
|
13
|
+
this.textColor = undefined;
|
|
14
|
+
this.iconStart = 'star';
|
|
15
|
+
this.iconEnd = 'close';
|
|
16
|
+
this.iconSize = 16;
|
|
17
|
+
this.state = 'neutral';
|
|
18
|
+
this.size = 'M';
|
|
19
|
+
this.variant = undefined;
|
|
20
|
+
this.hasStartIcon = true;
|
|
21
|
+
this.hasEndIcon = true;
|
|
22
|
+
}
|
|
23
|
+
getColors() {
|
|
24
|
+
// If both variant and state are given, state overrides variant
|
|
25
|
+
if (this.variant) {
|
|
26
|
+
let base;
|
|
27
|
+
switch (this.variant) {
|
|
28
|
+
case 'primary':
|
|
29
|
+
base = { bg: '#1479c6', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
30
|
+
break;
|
|
31
|
+
case 'secondary':
|
|
32
|
+
base = { bg: '#b9d5ed', text: '#1479c6', icon: '#1479c6' };
|
|
33
|
+
break;
|
|
34
|
+
}
|
|
35
|
+
if (this.state && this.state !== 'neutral') {
|
|
36
|
+
// apply state overrides
|
|
37
|
+
switch (this.state) {
|
|
38
|
+
case 'danger':
|
|
39
|
+
return { bg: '#DC2626', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
40
|
+
case 'success':
|
|
41
|
+
return { bg: '#16A34A', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
42
|
+
case 'warning':
|
|
43
|
+
return { bg: '#FACC15', text: '#58310E', icon: '#58310E' };
|
|
44
|
+
case 'brand':
|
|
45
|
+
return { bg: '#1479c6', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return base;
|
|
49
|
+
}
|
|
50
|
+
// fall back to custom color or state
|
|
51
|
+
if (this.color || this.textColor) {
|
|
52
|
+
return {
|
|
53
|
+
bg: this.color || '#E5E5E5',
|
|
54
|
+
text: this.textColor || '#737373',
|
|
55
|
+
icon: this.textColor || '#737373',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
// state only (no variant)
|
|
59
|
+
switch (this.state) {
|
|
60
|
+
case 'brand':
|
|
61
|
+
return { bg: '#197A68', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
62
|
+
case 'danger':
|
|
63
|
+
return { bg: '#DC2626', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
64
|
+
case 'success':
|
|
65
|
+
return { bg: '#16A34A', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
66
|
+
case 'warning':
|
|
67
|
+
return { bg: '#FACC15', text: '#58310E', icon: '#58310E' };
|
|
68
|
+
case 'neutral':
|
|
69
|
+
return { bg: '#E5E5E5', text: '#737373', icon: '#737373' };
|
|
70
|
+
default:
|
|
71
|
+
return { bg: '#E5E5E5', text: '#737373', icon: '#737373' };
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
render() {
|
|
75
|
+
const colors = this.getColors();
|
|
76
|
+
return (h(Host, null, h("div", { class: `tag ${this.state} ${this.size} ${this.variant || ''}`, style: { 'background-color': colors.bg, color: colors.text } }, this.hasStartIcon && this.iconStart && (h("tttx-icon_1_9_72", { role: "icon", class: "tag_icon", "aria-label": colors.text, icon: this.iconStart, color: colors.icon, size: this.size === 'S' ? 12 : 16 })), h("span", null, this.text), this.hasEndIcon && this.iconEnd && (h("tttx-icon_1_9_72", { role: "icon", class: "tag_icon", "aria-label": colors.text, icon: this.iconEnd, color: colors.icon, size: this.iconSize })))));
|
|
77
|
+
}
|
|
78
|
+
static get style() { return tttxTagV2Css; }
|
|
79
|
+
}, [1, "tttx-tag-v2_1_9_72", {
|
|
80
|
+
"text": [1],
|
|
81
|
+
"color": [1],
|
|
82
|
+
"textColor": [1, "text-color"],
|
|
83
|
+
"iconStart": [1, "icon-start"],
|
|
84
|
+
"iconEnd": [1, "icon-end"],
|
|
85
|
+
"iconSize": [2, "icon-size"],
|
|
86
|
+
"state": [1],
|
|
87
|
+
"size": [1],
|
|
88
|
+
"variant": [1],
|
|
89
|
+
"hasStartIcon": [4, "has-start-icon"],
|
|
90
|
+
"hasEndIcon": [4, "has-end-icon"]
|
|
91
|
+
}]);
|
|
92
|
+
function defineCustomElement$1() {
|
|
93
|
+
if (typeof customElements === "undefined") {
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
const components = ["tttx-tag-v2_1_9_72", "tttx-icon_1_9_72"];
|
|
97
|
+
components.forEach(tagName => { switch (tagName) {
|
|
98
|
+
case "tttx-tag-v2_1_9_72":
|
|
99
|
+
if (!customElements.get(tagName)) {
|
|
100
|
+
customElements.define(tagName, TttxTagV2);
|
|
101
|
+
}
|
|
102
|
+
break;
|
|
103
|
+
case "tttx-icon_1_9_72":
|
|
104
|
+
if (!customElements.get(tagName)) {
|
|
105
|
+
defineCustomElement$2();
|
|
106
|
+
}
|
|
107
|
+
break;
|
|
108
|
+
} });
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
const TttxTagV2_1_9_72 = TttxTagV2;
|
|
112
|
+
const defineCustomElement = defineCustomElement$1;
|
|
113
|
+
|
|
114
|
+
export { TttxTagV2_1_9_72, 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_72", { 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_72", {
|
|
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_72", "tttx-icon_1_9_72"];
|
|
38
38
|
components.forEach(tagName => { switch (tagName) {
|
|
39
|
-
case "tttx-
|
|
39
|
+
case "tttx-tag_1_9_72":
|
|
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_72":
|
|
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_72 extends Components.TttxTag_1_9_72, HTMLElement {}
|
|
4
|
+
export const TttxTag_1_9_72: {
|
|
5
|
+
prototype: TttxTag_1_9_72;
|
|
6
|
+
new (): TttxTag_1_9_72;
|
|
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_72 = TttxTag;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxTag_1_9_72, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTextarea_1_9_72 extends Components.TttxTextarea_1_9_72, HTMLElement {}
|
|
4
|
+
export const TttxTextarea_1_9_72: {
|
|
5
|
+
prototype: TttxTextarea_1_9_72;
|
|
6
|
+
new (): TttxTextarea_1_9_72;
|
|
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_72{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_72-h{display:block}label.sc-tttx-textarea_1_9_72{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_72 .textarea-container.sc-tttx-textarea_1_9_72{position:relative}label.sc-tttx-textarea_1_9_72 .textarea-container.sc-tttx-textarea_1_9_72 textarea.sc-tttx-textarea_1_9_72{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_72 .textarea-container.sc-tttx-textarea_1_9_72 textarea.no-label.sc-tttx-textarea_1_9_72{margin-top:0}label.sc-tttx-textarea_1_9_72 .textarea-container.sc-tttx-textarea_1_9_72 textarea.sc-tttx-textarea_1_9_72~.errorBubble.sc-tttx-textarea_1_9_72{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_72 .textarea-container.sc-tttx-textarea_1_9_72 textarea.sc-tttx-textarea_1_9_72~.errorBubble.sc-tttx-textarea_1_9_72:not(.visible){display:none}label.sc-tttx-textarea_1_9_72 .textarea-container.sc-tttx-textarea_1_9_72 textarea.sc-tttx-textarea_1_9_72~.errorBubble.sc-tttx-textarea_1_9_72 span.sc-tttx-textarea_1_9_72{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_72 .textarea-container.sc-tttx-textarea_1_9_72 textarea.sc-tttx-textarea_1_9_72:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_72 .textarea-container.sc-tttx-textarea_1_9_72 textarea.sc-tttx-textarea_1_9_72:focus-visible{outline:none}label.sc-tttx-textarea_1_9_72 .secondarylabel.sc-tttx-textarea_1_9_72{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_72 .optional.sc-tttx-textarea_1_9_72{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_72", {
|
|
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_72"];
|
|
78
78
|
components.forEach(tagName => { switch (tagName) {
|
|
79
|
-
case "tttx-
|
|
79
|
+
case "tttx-textarea_1_9_72":
|
|
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_72 = TttxTextarea;
|
|
88
88
|
const defineCustomElement = defineCustomElement$1;
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { TttxTextarea_1_9_72, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxToggle_1_9_72 extends Components.TttxToggle_1_9_72, HTMLElement {}
|
|
4
|
+
export const TttxToggle_1_9_72: {
|
|
5
|
+
prototype: TttxToggle_1_9_72;
|
|
6
|
+
new (): TttxToggle_1_9_72;
|
|
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_72", {
|
|
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_72"];
|
|
45
45
|
components.forEach(tagName => { switch (tagName) {
|
|
46
|
-
case "tttx-
|
|
46
|
+
case "tttx-toggle_1_9_72":
|
|
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_72 = TttxToggle;
|
|
55
55
|
const defineCustomElement = defineCustomElement$1;
|
|
56
56
|
|
|
57
|
-
export {
|
|
57
|
+
export { TttxToggle_1_9_72, 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_72", {
|
|
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_72"];
|
|
40
40
|
components.forEach(tagName => { switch (tagName) {
|
|
41
|
-
case "tttx-
|
|
41
|
+
case "tttx-toolbar_1_9_72":
|
|
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_72 extends Components.TttxToolbar_1_9_72, HTMLElement {}
|
|
4
|
+
export const TttxToolbar_1_9_72: {
|
|
5
|
+
prototype: TttxToolbar_1_9_72;
|
|
6
|
+
new (): TttxToolbar_1_9_72;
|
|
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_72 = TttxToolbar;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxToolbar_1_9_72, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTooltip_1_9_72 extends Components.TttxTooltip_1_9_72, HTMLElement {}
|
|
4
|
+
export const TttxTooltip_1_9_72: {
|
|
5
|
+
prototype: TttxTooltip_1_9_72;
|
|
6
|
+
new (): TttxTooltip_1_9_72;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -54,7 +54,7 @@ const TttxTooltip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
54
54
|
}
|
|
55
55
|
get el() { return this; }
|
|
56
56
|
static get style() { return tttxTooltipCss; }
|
|
57
|
-
}, [1, "tttx-
|
|
57
|
+
}, [1, "tttx-tooltip_1_9_72", {
|
|
58
58
|
"text": [1],
|
|
59
59
|
"placement": [1],
|
|
60
60
|
"trigger": [16],
|
|
@@ -67,9 +67,9 @@ function defineCustomElement$1() {
|
|
|
67
67
|
if (typeof customElements === "undefined") {
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
70
|
-
const components = ["tttx-
|
|
70
|
+
const components = ["tttx-tooltip_1_9_72"];
|
|
71
71
|
components.forEach(tagName => { switch (tagName) {
|
|
72
|
-
case "tttx-
|
|
72
|
+
case "tttx-tooltip_1_9_72":
|
|
73
73
|
if (!customElements.get(tagName)) {
|
|
74
74
|
customElements.define(tagName, TttxTooltip);
|
|
75
75
|
}
|
|
@@ -77,7 +77,7 @@ function defineCustomElement$1() {
|
|
|
77
77
|
} });
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
const
|
|
80
|
+
const TttxTooltip_1_9_72 = TttxTooltip;
|
|
81
81
|
const defineCustomElement = defineCustomElement$1;
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { TttxTooltip_1_9_72, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTreeView_1_9_72 extends Components.TttxTreeView_1_9_72, HTMLElement {}
|
|
4
|
+
export const TttxTreeView_1_9_72: {
|
|
5
|
+
prototype: TttxTreeView_1_9_72;
|
|
6
|
+
new (): TttxTreeView_1_9_72;
|
|
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_72", { 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_72", { 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_72", { 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_72", {
|
|
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_72", "tttx-button_1_9_72", "tttx-icon_1_9_72"];
|
|
213
213
|
components.forEach(tagName => { switch (tagName) {
|
|
214
|
-
case "tttx-tree-
|
|
214
|
+
case "tttx-tree-view_1_9_72":
|
|
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_72":
|
|
220
220
|
if (!customElements.get(tagName)) {
|
|
221
221
|
defineCustomElement$3();
|
|
222
222
|
}
|
|
223
223
|
break;
|
|
224
|
-
case "tttx-
|
|
224
|
+
case "tttx-icon_1_9_72":
|
|
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_72 = TttxTreeView;
|
|
233
233
|
const defineCustomElement = defineCustomElement$1;
|
|
234
234
|
|
|
235
|
-
export {
|
|
235
|
+
export { TttxTreeView_1_9_72, 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-pattern_1_9_71",[[1,"tttx-data-pattern_1_9_71",{"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_71",[[1,"tttx-form_1_9_71",{"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_71",[[1,"tttx-multiselect-box_1_9_71",{"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_71",[[1,"tttx-chart_1_9_71",{"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_71",[[1,"tttx-datacard_1_9_71",{"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_71",[[1,"tttx-dialog-box_1_9_71",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_71",[[1,"tttx-dialog_1_9_71",{"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_71",[[1,"tttx-tree-view_1_9_71",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_71",[[1,"tttx-action-dropdown_1_9_71",{"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_71",[[1,"tttx-button-v2_1_9_71",{"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_71",[[0,"tttx-checkbox_1_9_71",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_71",[[1,"tttx-comments_1_9_71",{"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_71",[[1,"tttx-expander_1_9_71",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_71",[[2,"tttx-tabs_1_9_71",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_71",[[4,"tttx-checkbox-group-caption_1_9_71"]]],["tttx-checkbox-group-heading_1_9_71",[[4,"tttx-checkbox-group-heading_1_9_71"]]],["tttx-checkbox-group_1_9_71",[[1,"tttx-checkbox-group_1_9_71"]]],["tttx-keyvalue-block_1_9_71",[[1,"tttx-keyvalue-block_1_9_71",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_71",[[2,"tttx-percentage-bar_1_9_71",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_71",[[1,"tttx-qrcode_1_9_71",{"link":[1025],"size":[1026]}]]],["tttx-range-slider_1_9_71",[[1,"tttx-range-slider_1_9_71",{"minimum":[2],"maximum":[2],"sliderMode":[1,"slider-mode"],"showFields":[4,"show-fields"],"lowerValue":[32],"upperValue":[32]},[[0,"setSliderValues","onSetSliderValues"]]]]],["tttx-skeleton_loader_1_9_71",[[1,"tttx-skeleton_loader_1_9_71",{"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_71",[[1,"tttx-table_1_9_71",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_71",[[2,"tttx-textarea_1_9_71",{"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_71",[[1,"tttx-toggle_1_9_71",{"initialstate":[8],"_state":[32]}]]],["tttx-tooltip_1_9_71",[[1,"tttx-tooltip_1_9_71",{"text":[1],"placement":[1],"trigger":[16],"delay":[2],"disabled":[4],"ariaLabel":[1,"aria-label"],"visible":[32]}]]],["tttx-icon_1_9_71",[[1,"tttx-icon_1_9_71",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-button_1_9_71",[[1,"tttx-button_1_9_71",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]],["tttx-loading-spinner_1_9_71_3",[[1,"tttx-tag_1_9_71",{"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_71",{"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_71",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}]]],["tttx-select-box_1_9_71",[[1,"tttx-select-box_1_9_71",{"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_71",[[1,"tttx-graph_1_9_71",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-filter_1_9_71_4",[[1,"tttx-filter_1_9_71",{"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_71",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_71",{"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_71",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]]], options);
|
|
14
|
+
return bootstrapLazy(JSON.parse("[[\"tttx-data-pattern_1_9_72\",[[1,\"tttx-data-pattern_1_9_72\",{\"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_72\",[[1,\"tttx-form_1_9_72\",{\"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_72\",[[1,\"tttx-multiselect-box_1_9_72\",{\"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_72\",[[1,\"tttx-chart_1_9_72\",{\"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_72\",[[1,\"tttx-datacard_1_9_72\",{\"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_72\",[[1,\"tttx-dialog-box_1_9_72\",{\"data\":[1025],\"size\":[1],\"open\":[1028],\"allowOverflow\":[4,\"allow-overflow\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-dialog_1_9_72\",[[1,\"tttx-dialog_1_9_72\",{\"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_72\",[[1,\"tttx-tree-view_1_9_72\",{\"data\":[1040],\"treeData\":[32]}]]],[\"tttx-action-dropdown_1_9_72\",[[1,\"tttx-action-dropdown_1_9_72\",{\"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_72\",[[1,\"tttx-button-v2_1_9_72\",{\"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_72\",[[0,\"tttx-checkbox_1_9_72\",{\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"inline\":[4],\"indeterminate\":[4],\"checked\":[4]}]]],[\"tttx-comments_1_9_72\",[[1,\"tttx-comments_1_9_72\",{\"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_72\",[[1,\"tttx-expander_1_9_72\",{\"name\":[1],\"open\":[4],\"lefticon\":[1],\"lefticoncolor\":[1],\"isExpanded\":[32]}]]],[\"tttx-tabs_1_9_72\",[[2,\"tttx-tabs_1_9_72\",{\"tabsName\":[1,\"tabs-name\"],\"navigation\":[4],\"wide\":[4],\"tabs\":[1],\"_tabs\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"tttx-tag-v2_1_9_72\",[[1,\"tttx-tag-v2_1_9_72\",{\"text\":[1],\"color\":[1],\"textColor\":[1,\"text-color\"],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"iconSize\":[2,\"icon-size\"],\"state\":[1],\"size\":[1],\"variant\":[1],\"hasStartIcon\":[4,\"has-start-icon\"],\"hasEndIcon\":[4,\"has-end-icon\"]}]]],[\"tttx-checkbox-group-caption_1_9_72\",[[4,\"tttx-checkbox-group-caption_1_9_72\"]]],[\"tttx-checkbox-group-heading_1_9_72\",[[4,\"tttx-checkbox-group-heading_1_9_72\"]]],[\"tttx-checkbox-group_1_9_72\",[[1,\"tttx-checkbox-group_1_9_72\"]]],[\"tttx-keyvalue-block_1_9_72\",[[1,\"tttx-keyvalue-block_1_9_72\",{\"keyvalues\":[1],\"horizontal\":[4],\"spacedout\":[4],\"_elements\":[32]}]]],[\"tttx-percentage-bar_1_9_72\",[[2,\"tttx-percentage-bar_1_9_72\",{\"percentage\":[8],\"thresholds\":[1],\"color\":[1],\"min\":[1],\"labelid\":[1],\"_percentage\":[32],\"_ranges\":[32],\"_min\":[32]}]]],[\"tttx-qrcode_1_9_72\",[[1,\"tttx-qrcode_1_9_72\",{\"link\":[1025],\"size\":[1026]}]]],[\"tttx-range-slider_1_9_72\",[[1,\"tttx-range-slider_1_9_72\",{\"minimum\":[2],\"maximum\":[2],\"sliderMode\":[1,\"slider-mode\"],\"showFields\":[4,\"show-fields\"],\"lowerValue\":[32],\"upperValue\":[32]},[[0,\"setSliderValues\",\"onSetSliderValues\"]]]]],[\"tttx-skeleton_loader_1_9_72\",[[1,\"tttx-skeleton_loader_1_9_72\",{\"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_72\",[[1,\"tttx-table_1_9_72\",{\"headers\":[16],\"data\":[8],\"selectable\":[4],\"loading\":[4],\"selected\":[2],\"draggableHeaders\":[4,\"draggable-headers\"],\"draggedHeaderIndex\":[32]}]]],[\"tttx-textarea_1_9_72\",[[2,\"tttx-textarea_1_9_72\",{\"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_72\",[[1,\"tttx-toggle_1_9_72\",{\"initialstate\":[8],\"_state\":[32]}]]],[\"tttx-tooltip_1_9_72\",[[1,\"tttx-tooltip_1_9_72\",{\"text\":[1],\"placement\":[1],\"trigger\":[16],\"delay\":[2],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"visible\":[32]}]]],[\"tttx-select-box_1_9_72\",[[1,\"tttx-select-box_1_9_72\",{\"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_72\",[[1,\"tttx-graph_1_9_72\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[1,\"chart-data\"],\"chartText\":[1,\"chart-text\"],\"chartConfig\":[32],\"formattedData\":[32]}]]],[\"tttx-icon_1_9_72\",[[1,\"tttx-icon_1_9_72\",{\"icon\":[1],\"color\":[1],\"size\":[1026]}]]],[\"tttx-filter_1_9_72_4\",[[1,\"tttx-filter_1_9_72\",{\"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_72\",{\"data\":[1025],\"name\":[1],\"_data\":[32]}],[1,\"tttx-sorter_1_9_72\",{\"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_72\",{\"border\":[4],\"viewSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-button_1_9_72\",[[1,\"tttx-button_1_9_72\",{\"notext\":[4],\"icon\":[1],\"iconposition\":[1],\"iconcolor\":[1025],\"design\":[1]}]]],[\"tttx-loading-spinner_1_9_72_3\",[[1,\"tttx-tag_1_9_72\",{\"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_72\",{\"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_72\",{\"loadingMessage\":[4,\"loading-message\"],\"size\":[1],\"color\":[1],\"message\":[1],\"customMessageSchema\":[16],\"timeElapsed\":[32]}]]]]"), options);
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|
package/dist/esm/{tttx-action-dropdown_1_9_71.entry.js → tttx-action-dropdown_1_9_72.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_72", { icon: this.icon, color: "black" })), h("span", { class: "action-text" }, this.selectedField)), h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_72", { 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_72 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9f3e16ad.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;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-
|
|
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_72{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) {
|
|
@@ -121,13 +121,13 @@ const TttxButton = class {
|
|
|
121
121
|
}
|
|
122
122
|
renderButtonContent() {
|
|
123
123
|
var _a;
|
|
124
|
-
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_72", { 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_72", { icon: this.iconEnd, color: this.iconcolor, size: this.iconSize }))), this.type === 'dropdown' && (h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_72", { icon: "keyboard_arrow_down", color: this.iconcolor, size: this.iconSize })))));
|
|
125
125
|
}
|
|
126
126
|
renderDropdownList() {
|
|
127
127
|
if (this.type !== 'dropdown' || !this.dropdownOpen)
|
|
128
128
|
return null;
|
|
129
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-
|
|
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_72", { icon: item.icon, color: "black", size: this.iconSize, class: "dropdown-item-icon" })), h("span", { class: "dropdown-item-label" }, item.label)))))));
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
133
|
const classes = [
|
|
@@ -147,4 +147,4 @@ const TttxButton = class {
|
|
|
147
147
|
};
|
|
148
148
|
TttxButton.style = tttxButtonV2Css;
|
|
149
149
|
|
|
150
|
-
export { TttxButton as
|
|
150
|
+
export { TttxButton as tttx_button_v2_1_9_72 };
|
|
@@ -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_72", { 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_72", { 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_72 };
|