@3t-transform/threeteeui 1.9.70 → 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_70.cjs.entry.js → tttx-action-dropdown_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_70.cjs.entry.js → tttx-button-v2_1_9_72.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-button_1_9_70.cjs.entry.js → tttx-button_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_70.cjs.entry.js → tttx-chart_1_9_72.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_70.cjs.entry.js → tttx-checkbox-group-caption_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_70.cjs.entry.js → tttx-checkbox-group-heading_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_70.cjs.entry.js → tttx-checkbox-group_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_70.cjs.entry.js → tttx-checkbox_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_70.cjs.entry.js → tttx-comments_1_9_72.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-data-pattern_1_9_70.cjs.entry.js → tttx-data-pattern_1_9_72.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_70.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_70.cjs.entry.js → tttx-dialog-box_1_9_72.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_70.cjs.entry.js → tttx-dialog_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_70.cjs.entry.js → tttx-expander_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_70_4.cjs.entry.js → tttx-filter_1_9_72_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_70.cjs.entry.js → tttx-form_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_70.cjs.entry.js → tttx-graph_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_70.cjs.entry.js → tttx-icon_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_70.cjs.entry.js → tttx-keyvalue-block_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_70_3.cjs.entry.js → tttx-loading-spinner_1_9_72_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_70.cjs.entry.js → tttx-multiselect-box_1_9_72.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_70.cjs.entry.js → tttx-percentage-bar_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_70.cjs.entry.js → tttx-qrcode_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-range-slider.cjs.entry.js → tttx-range-slider_1_9_72.cjs.entry.js} +31 -3
- package/dist/cjs/{tttx-select-box_1_9_70.cjs.entry.js → tttx-select-box_1_9_72.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_70.cjs.entry.js → tttx-skeleton_loader_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_70.cjs.entry.js → tttx-table_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_70.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_70.cjs.entry.js → tttx-textarea_1_9_72.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_70.cjs.entry.js → tttx-toggle_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tooltip_1_9_70.cjs.entry.js → tttx-tooltip_1_9_72.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_70.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.css +7 -10
- package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.js +39 -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_70.js → tttx-action-dropdown_1_9_72.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_70.d.ts → tttx-button-v2_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_70.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_70.d.ts → tttx-button_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_70.js → tttx-button_1_9_72.js} +2 -2
- package/dist/components/{tttx-table_1_9_70.d.ts → tttx-chart_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_70.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_70.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_70.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_70.js → tttx-checkbox-group_1_9_72.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_70.d.ts → tttx-checkbox_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_70.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_70.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_70.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_70.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_70.js → tttx-dialog-box_1_9_72.js} +9 -9
- package/dist/components/{tttx-filter_1_9_70.d.ts → tttx-dialog_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_70.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_70.js → tttx-expander_1_9_72.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-button_1_9_70.d.ts → tttx-filter_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_70.js → tttx-filter_1_9_72.js} +2 -2
- package/dist/components/{tttx-form_1_9_70.d.ts → tttx-form_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_70.js → tttx-form_1_9_72.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_70.d.ts → tttx-graph_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_70.js → tttx-graph_1_9_72.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_9_70.d.ts → tttx-icon_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_70.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_70.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_70.d.ts → tttx-list_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_70.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_70.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_70.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_70.js → tttx-percentage-bar_1_9_72.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_70.d.ts → tttx-qrcode_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_70.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.js → tttx-range-slider_1_9_72.js} +38 -10
- 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_70.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_70.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_70.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_70.js → tttx-standalone-input_1_9_72.js} +2 -2
- package/dist/components/{tttx-chart_1_9_70.d.ts → tttx-table_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_70.js → tttx-table_1_9_72.js} +5 -5
- package/dist/components/{tttx-range-slider.d.ts → tttx-tabs_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_70.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_70.d.ts → tttx-tag_1_9_72.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_70.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_70.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_70.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_70.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_70.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_70.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_70.entry.js → tttx-action-dropdown_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_70.entry.js → tttx-button-v2_1_9_72.entry.js} +4 -4
- package/dist/esm/{tttx-button_1_9_70.entry.js → tttx-button_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_70.entry.js → tttx-chart_1_9_72.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_70.entry.js → tttx-checkbox-group-caption_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_70.entry.js → tttx-checkbox-group-heading_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_70.entry.js → tttx-checkbox-group_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_70.entry.js → tttx-checkbox_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_70.entry.js → tttx-comments_1_9_72.entry.js} +4 -4
- package/dist/esm/{tttx-data-pattern_1_9_70.entry.js → tttx-data-pattern_1_9_72.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_70.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_70.entry.js → tttx-dialog-box_1_9_72.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_70.entry.js → tttx-dialog_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_70.entry.js → tttx-expander_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_70_4.entry.js → tttx-filter_1_9_72_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_70.entry.js → tttx-form_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_70.entry.js → tttx-graph_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_70.entry.js → tttx-icon_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_70.entry.js → tttx-keyvalue-block_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_70_3.entry.js → tttx-loading-spinner_1_9_72_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_70.entry.js → tttx-multiselect-box_1_9_72.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_70.entry.js → tttx-percentage-bar_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_70.entry.js → tttx-qrcode_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-range-slider.entry.js → tttx-range-slider_1_9_72.entry.js} +31 -3
- package/dist/esm/{tttx-select-box_1_9_70.entry.js → tttx-select-box_1_9_72.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_70.entry.js → tttx-skeleton_loader_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_70.entry.js → tttx-table_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_70.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_70.entry.js → tttx-textarea_1_9_72.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_70.entry.js → tttx-toggle_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-tooltip_1_9_70.entry.js → tttx-tooltip_1_9_72.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_70.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-b69ae246.entry.js +1 -0
- 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-range-slider/tttx-range-slider.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-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_70.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_70.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_70.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_70.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_70.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_70.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_70.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_70.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_70.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_70.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_70.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_70.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_70.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_70.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_70.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_70.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_70.d.ts +0 -11
- package/dist/components/tttx-tabs_1_9_70.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_70.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_70.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_70.d.ts +0 -11
- package/dist/components/tttx-tooltip_1_9_70.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_70.d.ts +0 -11
- package/dist/tttx/p-8392774e.entry.js +0 -1
- package/dist/tttx/p-a6aa113c.entry.js +0 -1
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
.material-symbols-rounded {
|
|
2
|
+
font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
button {
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.button {
|
|
10
|
+
font-family: Roboto, serif;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
height: 36px;
|
|
13
|
+
min-width: 36px;
|
|
14
|
+
padding: 0;
|
|
15
|
+
margin: 0;
|
|
16
|
+
background: transparent;
|
|
17
|
+
color: #212121;
|
|
18
|
+
border: 1px solid #c8c8c8;
|
|
19
|
+
border-radius: 4px;
|
|
20
|
+
text-transform: uppercase;
|
|
21
|
+
display: flex;
|
|
22
|
+
justify-content: left;
|
|
23
|
+
align-items: center;
|
|
24
|
+
font-size: 14px;
|
|
25
|
+
font-weight: 500;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.button-content {
|
|
29
|
+
display: block;
|
|
30
|
+
padding: 0 16px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.icon-left,
|
|
34
|
+
.icon-right {
|
|
35
|
+
margin-top: 4px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.iconleft {
|
|
39
|
+
padding-left: 8px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.iconleft .button-content {
|
|
43
|
+
padding-left: 4px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.iconright {
|
|
47
|
+
padding-right: 8px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.iconright .button-content {
|
|
51
|
+
padding-right: 4px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.notext {
|
|
55
|
+
padding: 0 6px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.button:active {
|
|
59
|
+
background: rgba(17, 17, 17, 0.2);
|
|
60
|
+
border: 1px solid #d5d5d5;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.blackout {
|
|
64
|
+
background: #363636;
|
|
65
|
+
border: 1px solid #363636;
|
|
66
|
+
color: white;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.blackout:active {
|
|
70
|
+
background: #212121;
|
|
71
|
+
border: 1px solid #212121;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.primary {
|
|
75
|
+
background: #1479c6;
|
|
76
|
+
border: 1px solid #1479c6;
|
|
77
|
+
color: white;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.primary:active {
|
|
81
|
+
background: #1464a2;
|
|
82
|
+
border: 1px solid #1464a2;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.borderless {
|
|
86
|
+
background: transparent;
|
|
87
|
+
border: none;
|
|
88
|
+
color: #212121;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.borderless:active {
|
|
92
|
+
background: rgba(17, 17, 17, 0.2);
|
|
93
|
+
border: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.borderless-circle {
|
|
97
|
+
background: transparent;
|
|
98
|
+
border: none;
|
|
99
|
+
color: #212121;
|
|
100
|
+
border-radius: 50%;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.borderless-circle:active {
|
|
104
|
+
border: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.borderless-circle:focus {
|
|
108
|
+
border-color: transparent;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.danger {
|
|
112
|
+
background: #dc0000;
|
|
113
|
+
border: 1px solid #dc0000;
|
|
114
|
+
color: white;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.danger:active {
|
|
118
|
+
background: #b00000;
|
|
119
|
+
border: 1px solid #b00000;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.disabled {
|
|
123
|
+
background: #aeaeae;
|
|
124
|
+
border: none;
|
|
125
|
+
color: #4c4c4c;
|
|
126
|
+
cursor: not-allowed;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.disabled:active {
|
|
130
|
+
background: #aeaeae;
|
|
131
|
+
border: none;
|
|
132
|
+
color: #4c4c4c;
|
|
133
|
+
cursor: not-allowed;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@media (hover: hover) {
|
|
137
|
+
.button:hover {
|
|
138
|
+
background: rgba(17, 17, 17, 0.1);
|
|
139
|
+
border: 1px solid #d5d5d5;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.primary:hover {
|
|
143
|
+
background: #146eb3;
|
|
144
|
+
border: 1px solid #146eb3;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.borderless:hover {
|
|
148
|
+
background: rgba(17, 17, 17, 0.1);
|
|
149
|
+
border: none;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.borderless-circle:hover {
|
|
153
|
+
background: rgba(17, 17, 17, 0.1);
|
|
154
|
+
border: none;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.danger:hover {
|
|
158
|
+
background: #c60000;
|
|
159
|
+
border: 1px solid #c60000;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.disabled:hover {
|
|
163
|
+
background: #aeaeae;
|
|
164
|
+
border: none;
|
|
165
|
+
color: #4c4c4c;
|
|
166
|
+
cursor: not-allowed;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.blackout:hover {
|
|
170
|
+
background: #212121;
|
|
171
|
+
border: 1px solid #212121;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
:host {
|
|
175
|
+
display: inline-block;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.tag {
|
|
179
|
+
display: inline-flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
padding: 8px 12px;
|
|
182
|
+
font-family: "Roboto", sans-serif;
|
|
183
|
+
font-size: 14px;
|
|
184
|
+
font-weight: 400;
|
|
185
|
+
width: max-content;
|
|
186
|
+
border-radius: var(--sds-size-radius-200, 8px);
|
|
187
|
+
font-family: Roboto;
|
|
188
|
+
}
|
|
189
|
+
.tag.S {
|
|
190
|
+
font-size: 12px;
|
|
191
|
+
height: 20px;
|
|
192
|
+
padding: 4px;
|
|
193
|
+
border: var(--sds-size-stroke-border, 1px) solid #E5E5E5;
|
|
194
|
+
border-radius: var(--sds-size-radius-100, 4px);
|
|
195
|
+
}
|
|
196
|
+
.tag.M {
|
|
197
|
+
font-size: 16px;
|
|
198
|
+
height: 32px;
|
|
199
|
+
padding: 8px;
|
|
200
|
+
border: 1px solid #E5E5E5;
|
|
201
|
+
border-radius: 8px;
|
|
202
|
+
font-weight: 400;
|
|
203
|
+
}
|
|
204
|
+
.tag.M span {
|
|
205
|
+
margin-left: 8px;
|
|
206
|
+
margin-right: 8px;
|
|
207
|
+
}
|
|
208
|
+
.tag.brand {
|
|
209
|
+
background-color: #1479c6;
|
|
210
|
+
color: #FFFFFF;
|
|
211
|
+
}
|
|
212
|
+
.tag.danger {
|
|
213
|
+
background-color: #DC2626;
|
|
214
|
+
color: #FFFFFF;
|
|
215
|
+
}
|
|
216
|
+
.tag.success {
|
|
217
|
+
background-color: #16A34A;
|
|
218
|
+
color: #FFFFFF;
|
|
219
|
+
}
|
|
220
|
+
.tag.warning {
|
|
221
|
+
background-color: #FACC15;
|
|
222
|
+
color: #58310E;
|
|
223
|
+
}
|
|
224
|
+
.tag.neutral {
|
|
225
|
+
background-color: #E5E5E5;
|
|
226
|
+
color: #737373;
|
|
227
|
+
}
|
|
228
|
+
.tag.primary {
|
|
229
|
+
background-color: #1479c6;
|
|
230
|
+
color: #FFFFFF;
|
|
231
|
+
}
|
|
232
|
+
.tag.secondary {
|
|
233
|
+
background-color: #b9d5ed;
|
|
234
|
+
color: #1479c6;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.tag_icon {
|
|
238
|
+
padding-top: 4px;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.tag span {
|
|
242
|
+
margin-left: 4px;
|
|
243
|
+
margin-right: 4px;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.icon {
|
|
247
|
+
height: 18px;
|
|
248
|
+
width: 18px;
|
|
249
|
+
font-weight: 400;
|
|
250
|
+
}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { Host, h } from '@stencil/core';
|
|
2
|
+
export class TttxTagV2 {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.text = undefined;
|
|
5
|
+
this.color = undefined;
|
|
6
|
+
this.textColor = undefined;
|
|
7
|
+
this.iconStart = 'star';
|
|
8
|
+
this.iconEnd = 'close';
|
|
9
|
+
this.iconSize = 16;
|
|
10
|
+
this.state = 'neutral';
|
|
11
|
+
this.size = 'M';
|
|
12
|
+
this.variant = undefined;
|
|
13
|
+
this.hasStartIcon = true;
|
|
14
|
+
this.hasEndIcon = true;
|
|
15
|
+
}
|
|
16
|
+
getColors() {
|
|
17
|
+
// If both variant and state are given, state overrides variant
|
|
18
|
+
if (this.variant) {
|
|
19
|
+
let base;
|
|
20
|
+
switch (this.variant) {
|
|
21
|
+
case 'primary':
|
|
22
|
+
base = { bg: '#1479c6', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
23
|
+
break;
|
|
24
|
+
case 'secondary':
|
|
25
|
+
base = { bg: '#b9d5ed', text: '#1479c6', icon: '#1479c6' };
|
|
26
|
+
break;
|
|
27
|
+
}
|
|
28
|
+
if (this.state && this.state !== 'neutral') {
|
|
29
|
+
// apply state overrides
|
|
30
|
+
switch (this.state) {
|
|
31
|
+
case 'danger':
|
|
32
|
+
return { bg: '#DC2626', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
33
|
+
case 'success':
|
|
34
|
+
return { bg: '#16A34A', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
35
|
+
case 'warning':
|
|
36
|
+
return { bg: '#FACC15', text: '#58310E', icon: '#58310E' };
|
|
37
|
+
case 'brand':
|
|
38
|
+
return { bg: '#1479c6', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return base;
|
|
42
|
+
}
|
|
43
|
+
// fall back to custom color or state
|
|
44
|
+
if (this.color || this.textColor) {
|
|
45
|
+
return {
|
|
46
|
+
bg: this.color || '#E5E5E5',
|
|
47
|
+
text: this.textColor || '#737373',
|
|
48
|
+
icon: this.textColor || '#737373',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
// state only (no variant)
|
|
52
|
+
switch (this.state) {
|
|
53
|
+
case 'brand':
|
|
54
|
+
return { bg: '#197A68', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
55
|
+
case 'danger':
|
|
56
|
+
return { bg: '#DC2626', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
57
|
+
case 'success':
|
|
58
|
+
return { bg: '#16A34A', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
59
|
+
case 'warning':
|
|
60
|
+
return { bg: '#FACC15', text: '#58310E', icon: '#58310E' };
|
|
61
|
+
case 'neutral':
|
|
62
|
+
return { bg: '#E5E5E5', text: '#737373', icon: '#737373' };
|
|
63
|
+
default:
|
|
64
|
+
return { bg: '#E5E5E5', text: '#737373', icon: '#737373' };
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
render() {
|
|
68
|
+
const colors = this.getColors();
|
|
69
|
+
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 })))));
|
|
70
|
+
}
|
|
71
|
+
static get is() { return "tttx-tag-v2_1_9_72"; }
|
|
72
|
+
static get encapsulation() { return "shadow"; }
|
|
73
|
+
static get originalStyleUrls() {
|
|
74
|
+
return {
|
|
75
|
+
"$": ["tttx-tag-v2.scss"]
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
static get styleUrls() {
|
|
79
|
+
return {
|
|
80
|
+
"$": ["tttx-tag-v2.css"]
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
static get properties() {
|
|
84
|
+
return {
|
|
85
|
+
"text": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"mutable": false,
|
|
88
|
+
"complexType": {
|
|
89
|
+
"original": "string",
|
|
90
|
+
"resolved": "string",
|
|
91
|
+
"references": {}
|
|
92
|
+
},
|
|
93
|
+
"required": false,
|
|
94
|
+
"optional": false,
|
|
95
|
+
"docs": {
|
|
96
|
+
"tags": [],
|
|
97
|
+
"text": ""
|
|
98
|
+
},
|
|
99
|
+
"attribute": "text",
|
|
100
|
+
"reflect": false
|
|
101
|
+
},
|
|
102
|
+
"color": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"mutable": false,
|
|
105
|
+
"complexType": {
|
|
106
|
+
"original": "string",
|
|
107
|
+
"resolved": "string",
|
|
108
|
+
"references": {}
|
|
109
|
+
},
|
|
110
|
+
"required": false,
|
|
111
|
+
"optional": true,
|
|
112
|
+
"docs": {
|
|
113
|
+
"tags": [],
|
|
114
|
+
"text": ""
|
|
115
|
+
},
|
|
116
|
+
"attribute": "color",
|
|
117
|
+
"reflect": false
|
|
118
|
+
},
|
|
119
|
+
"textColor": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"mutable": false,
|
|
122
|
+
"complexType": {
|
|
123
|
+
"original": "string",
|
|
124
|
+
"resolved": "string",
|
|
125
|
+
"references": {}
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"optional": true,
|
|
129
|
+
"docs": {
|
|
130
|
+
"tags": [],
|
|
131
|
+
"text": ""
|
|
132
|
+
},
|
|
133
|
+
"attribute": "text-color",
|
|
134
|
+
"reflect": false
|
|
135
|
+
},
|
|
136
|
+
"iconStart": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"mutable": false,
|
|
139
|
+
"complexType": {
|
|
140
|
+
"original": "string",
|
|
141
|
+
"resolved": "string",
|
|
142
|
+
"references": {}
|
|
143
|
+
},
|
|
144
|
+
"required": false,
|
|
145
|
+
"optional": true,
|
|
146
|
+
"docs": {
|
|
147
|
+
"tags": [],
|
|
148
|
+
"text": ""
|
|
149
|
+
},
|
|
150
|
+
"attribute": "icon-start",
|
|
151
|
+
"reflect": false,
|
|
152
|
+
"defaultValue": "'star'"
|
|
153
|
+
},
|
|
154
|
+
"iconEnd": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"mutable": false,
|
|
157
|
+
"complexType": {
|
|
158
|
+
"original": "string",
|
|
159
|
+
"resolved": "string",
|
|
160
|
+
"references": {}
|
|
161
|
+
},
|
|
162
|
+
"required": false,
|
|
163
|
+
"optional": true,
|
|
164
|
+
"docs": {
|
|
165
|
+
"tags": [],
|
|
166
|
+
"text": ""
|
|
167
|
+
},
|
|
168
|
+
"attribute": "icon-end",
|
|
169
|
+
"reflect": false,
|
|
170
|
+
"defaultValue": "'close'"
|
|
171
|
+
},
|
|
172
|
+
"iconSize": {
|
|
173
|
+
"type": "number",
|
|
174
|
+
"mutable": false,
|
|
175
|
+
"complexType": {
|
|
176
|
+
"original": "number",
|
|
177
|
+
"resolved": "number",
|
|
178
|
+
"references": {}
|
|
179
|
+
},
|
|
180
|
+
"required": false,
|
|
181
|
+
"optional": false,
|
|
182
|
+
"docs": {
|
|
183
|
+
"tags": [],
|
|
184
|
+
"text": ""
|
|
185
|
+
},
|
|
186
|
+
"attribute": "icon-size",
|
|
187
|
+
"reflect": false,
|
|
188
|
+
"defaultValue": "16"
|
|
189
|
+
},
|
|
190
|
+
"state": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"mutable": false,
|
|
193
|
+
"complexType": {
|
|
194
|
+
"original": "'brand' | 'danger' | 'success' | 'warning' | 'neutral'",
|
|
195
|
+
"resolved": "\"brand\" | \"danger\" | \"neutral\" | \"success\" | \"warning\"",
|
|
196
|
+
"references": {}
|
|
197
|
+
},
|
|
198
|
+
"required": false,
|
|
199
|
+
"optional": false,
|
|
200
|
+
"docs": {
|
|
201
|
+
"tags": [],
|
|
202
|
+
"text": ""
|
|
203
|
+
},
|
|
204
|
+
"attribute": "state",
|
|
205
|
+
"reflect": false,
|
|
206
|
+
"defaultValue": "'neutral'"
|
|
207
|
+
},
|
|
208
|
+
"size": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"mutable": false,
|
|
211
|
+
"complexType": {
|
|
212
|
+
"original": "'S' | 'M'",
|
|
213
|
+
"resolved": "\"M\" | \"S\"",
|
|
214
|
+
"references": {}
|
|
215
|
+
},
|
|
216
|
+
"required": false,
|
|
217
|
+
"optional": false,
|
|
218
|
+
"docs": {
|
|
219
|
+
"tags": [],
|
|
220
|
+
"text": ""
|
|
221
|
+
},
|
|
222
|
+
"attribute": "size",
|
|
223
|
+
"reflect": false,
|
|
224
|
+
"defaultValue": "'M'"
|
|
225
|
+
},
|
|
226
|
+
"variant": {
|
|
227
|
+
"type": "string",
|
|
228
|
+
"mutable": false,
|
|
229
|
+
"complexType": {
|
|
230
|
+
"original": "'primary' | 'secondary'",
|
|
231
|
+
"resolved": "\"primary\" | \"secondary\"",
|
|
232
|
+
"references": {}
|
|
233
|
+
},
|
|
234
|
+
"required": false,
|
|
235
|
+
"optional": true,
|
|
236
|
+
"docs": {
|
|
237
|
+
"tags": [],
|
|
238
|
+
"text": ""
|
|
239
|
+
},
|
|
240
|
+
"attribute": "variant",
|
|
241
|
+
"reflect": false
|
|
242
|
+
},
|
|
243
|
+
"hasStartIcon": {
|
|
244
|
+
"type": "boolean",
|
|
245
|
+
"mutable": false,
|
|
246
|
+
"complexType": {
|
|
247
|
+
"original": "boolean",
|
|
248
|
+
"resolved": "boolean",
|
|
249
|
+
"references": {}
|
|
250
|
+
},
|
|
251
|
+
"required": false,
|
|
252
|
+
"optional": false,
|
|
253
|
+
"docs": {
|
|
254
|
+
"tags": [],
|
|
255
|
+
"text": ""
|
|
256
|
+
},
|
|
257
|
+
"attribute": "has-start-icon",
|
|
258
|
+
"reflect": false,
|
|
259
|
+
"defaultValue": "true"
|
|
260
|
+
},
|
|
261
|
+
"hasEndIcon": {
|
|
262
|
+
"type": "boolean",
|
|
263
|
+
"mutable": false,
|
|
264
|
+
"complexType": {
|
|
265
|
+
"original": "boolean",
|
|
266
|
+
"resolved": "boolean",
|
|
267
|
+
"references": {}
|
|
268
|
+
},
|
|
269
|
+
"required": false,
|
|
270
|
+
"optional": false,
|
|
271
|
+
"docs": {
|
|
272
|
+
"tags": [],
|
|
273
|
+
"text": ""
|
|
274
|
+
},
|
|
275
|
+
"attribute": "has-end-icon",
|
|
276
|
+
"reflect": false,
|
|
277
|
+
"defaultValue": "true"
|
|
278
|
+
}
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'Atoms/TagV2',
|
|
3
|
+
component: 'tttx-tag-v2_1_9_72',
|
|
4
|
+
argTypes: {
|
|
5
|
+
text: { control: 'text' },
|
|
6
|
+
variant: {
|
|
7
|
+
control: 'select',
|
|
8
|
+
options: ['primary', 'secondary'],
|
|
9
|
+
},
|
|
10
|
+
state: {
|
|
11
|
+
control: 'select',
|
|
12
|
+
options: ['brand', 'danger', 'success', 'warning', 'neutral'],
|
|
13
|
+
},
|
|
14
|
+
size: { control: 'radio', options: ['S', 'M'] },
|
|
15
|
+
color: { control: 'color' },
|
|
16
|
+
textColor: { control: 'color' },
|
|
17
|
+
iconStart: { control: 'text' },
|
|
18
|
+
iconEnd: { control: 'text' },
|
|
19
|
+
hasStartIcon: { control: 'boolean' },
|
|
20
|
+
hasEndIcon: { control: 'boolean' }
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
const Template = (args) => {
|
|
24
|
+
const attrs = Object.entries(args)
|
|
25
|
+
.filter(([_, v]) => v !== undefined && v !== '')
|
|
26
|
+
.map(([k, v]) => {
|
|
27
|
+
const attr = k.replace(/[A-Z]/g, (m) => '-' + m.toLowerCase()); // camelCase → kebab-case
|
|
28
|
+
return `${attr}="${v}"`;
|
|
29
|
+
})
|
|
30
|
+
.join(' ');
|
|
31
|
+
return `<tttx-tag-v2_1_9_72 ${attrs}></tttx-tag-v2_1_9_72>`;
|
|
32
|
+
};
|
|
33
|
+
export const Default = Template.bind({});
|
|
34
|
+
Default.args = {
|
|
35
|
+
text: 'Default Tag',
|
|
36
|
+
state: 'neutral',
|
|
37
|
+
size: 'M',
|
|
38
|
+
iconStart: 'star',
|
|
39
|
+
iconEnd: 'close',
|
|
40
|
+
hasStartIcon: true,
|
|
41
|
+
hasEndIcon: true,
|
|
42
|
+
};
|
|
43
|
+
export const Primary = Template.bind({});
|
|
44
|
+
Primary.args = {
|
|
45
|
+
text: 'Primary Tag',
|
|
46
|
+
variant: 'primary',
|
|
47
|
+
size: 'M',
|
|
48
|
+
};
|
|
49
|
+
export const Secondary = Template.bind({});
|
|
50
|
+
Secondary.args = {
|
|
51
|
+
text: 'Secondary Tag',
|
|
52
|
+
variant: 'secondary',
|
|
53
|
+
size: 'M',
|
|
54
|
+
};
|
|
55
|
+
export const Brand = Template.bind({});
|
|
56
|
+
Brand.args = {
|
|
57
|
+
text: 'Brand Tag',
|
|
58
|
+
state: 'brand',
|
|
59
|
+
size: 'M',
|
|
60
|
+
};
|
|
61
|
+
export const Danger = Template.bind({});
|
|
62
|
+
Danger.args = {
|
|
63
|
+
text: 'Danger Tag',
|
|
64
|
+
state: 'danger',
|
|
65
|
+
size: 'M',
|
|
66
|
+
};
|
|
67
|
+
export const Success = Template.bind({});
|
|
68
|
+
Success.args = {
|
|
69
|
+
text: 'Success Tag',
|
|
70
|
+
state: 'success',
|
|
71
|
+
size: 'M',
|
|
72
|
+
};
|
|
73
|
+
export const Warning = Template.bind({});
|
|
74
|
+
Warning.args = {
|
|
75
|
+
text: 'Warning Tag',
|
|
76
|
+
state: 'warning',
|
|
77
|
+
size: 'M',
|
|
78
|
+
};
|
|
79
|
+
export const Neutral = Template.bind({});
|
|
80
|
+
Neutral.args = {
|
|
81
|
+
text: 'Neutral Tag',
|
|
82
|
+
state: 'neutral',
|
|
83
|
+
size: 'M',
|
|
84
|
+
};
|
|
@@ -25,7 +25,7 @@ export class TttxToggle {
|
|
|
25
25
|
}
|
|
26
26
|
return (h("div", { id: 'toggle-switch' }, checkbox, h("div", { id: 'toggle-body' })));
|
|
27
27
|
}
|
|
28
|
-
static get is() { return "tttx-
|
|
28
|
+
static get is() { return "tttx-toggle_1_9_72"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
30
30
|
static get originalStyleUrls() {
|
|
31
31
|
return {
|
|
@@ -3,8 +3,8 @@ export default {
|
|
|
3
3
|
component: 'tttx-toggle',
|
|
4
4
|
};
|
|
5
5
|
const DefaultStory = () => `
|
|
6
|
-
<div><div>Off by default</div><tttx-
|
|
7
|
-
<div><div>On by default</div><tttx-
|
|
6
|
+
<div><div>Off by default</div><tttx-toggle_1_9_72 id="off" title="Off by default"></tttx-toggle_1_9_72></div>
|
|
7
|
+
<div><div>On by default</div><tttx-toggle_1_9_72 id="on" initialstate="true" title="True by default"></tttx-toggle_1_9_72></div>
|
|
8
8
|
<script>
|
|
9
9
|
off.addEventListener('toggleSwitchEvent', (ev) => { console.log(ev) });
|
|
10
10
|
on.addEventListener('toggleSwitchEvent', (ev) => { console.log(ev) });
|
|
@@ -41,11 +41,11 @@ export class TttxActionDropdown {
|
|
|
41
41
|
return;
|
|
42
42
|
const actionKey = `action-dropdown__${this.actionKey}`;
|
|
43
43
|
const chevronIcon = this.dropdownExpand ? 'keyboard_arrow_up' : 'keyboard_arrow_down';
|
|
44
|
-
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-
|
|
44
|
+
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 => {
|
|
45
45
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
46
46
|
}))))));
|
|
47
47
|
}
|
|
48
|
-
static get is() { return "tttx-action-
|
|
48
|
+
static get is() { return "tttx-action-dropdown_1_9_72"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
50
50
|
static get originalStyleUrls() {
|
|
51
51
|
return {
|
package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js
CHANGED
|
@@ -26,7 +26,7 @@ export default {
|
|
|
26
26
|
const TemplateActionDropdown = ({ fieldOptionsData, actionKey, icon, isIconVisible }) => {
|
|
27
27
|
return `
|
|
28
28
|
<div style='width: 250px;'>
|
|
29
|
-
<tttx-action-
|
|
29
|
+
<tttx-action-dropdown_1_9_72
|
|
30
30
|
field-options-data='${JSON.stringify(fieldOptionsData)}'
|
|
31
31
|
action-key='${actionKey}'
|
|
32
32
|
icon='${icon}'
|
|
@@ -211,13 +211,13 @@ export class TttxChart {
|
|
|
211
211
|
return this.commonContent('ssid_chart', 'No data available', 'There is currently no data available to show performance trends.', '#111');
|
|
212
212
|
}
|
|
213
213
|
commonContent(iconName, heading, message, iconColor, showActions = false) {
|
|
214
|
-
return (h("div", { class: "error-content" }, h("tttx-
|
|
214
|
+
return (h("div", { class: "error-content" }, h("tttx-icon_1_9_72", { icon: iconName, color: iconColor, size: 48 }), h("span", { class: 'error-heading' }, heading), h("span", { class: 'error-message' }, message), showActions && h("div", { class: "error-actions" }, h("tttx-button_1_9_72", { class: 'support-btn', icon: "help", design: "primary", onClick: () => this.renderChart() }, "Contact support"))));
|
|
215
215
|
}
|
|
216
216
|
render() {
|
|
217
217
|
var _a, _b, _c;
|
|
218
|
-
return (h("div", { class: "chart-wrapper", style: { width: this.width, height: this.height } }, this.loading && h("div", { class: "chart-loading" }, h("tttx-loading-
|
|
218
|
+
return (h("div", { class: "chart-wrapper", style: { width: this.width, height: this.height } }, this.loading && h("div", { class: "chart-loading" }, h("tttx-loading-spinner_1_9_72", { size: 'large', color: '#2b9ab7' })), this.error && this.getErrorContent(), !this.loading && !this.error && (!this.chartData || !((_a = this.chartData.datasets) === null || _a === void 0 ? void 0 : _a.length)) && (this.getNoDataContent()), !this.loading && !this.error && ((_c = (_b = this.chartData) === null || _b === void 0 ? void 0 : _b.datasets) === null || _c === void 0 ? void 0 : _c.length) > 0 && (h("canvas", { ref: el => (this.canvasEl = el), "aria-label": "Chart canvas", role: "img" })), this.exportable && !this.loading && !this.error && (h("div", { class: "export-buttons" }, this.showPngSvgExport && h("tttx-button_1_9_72", { class: 'export-png', design: "primary", onClick: () => this.exportChart('png') }, "Export PNG"), this.showPngSvgExport && h("tttx-button_1_9_72", { class: 'export-svg', design: "primary", onClick: () => this.exportChart('svg') }, "Export SVG"), h("tttx-button_1_9_72", { class: 'export-csv', design: "primary", onClick: () => this.exportCSV.emit({ name: this.chartType }) }, "Export CSV")))));
|
|
219
219
|
}
|
|
220
|
-
static get is() { return "tttx-
|
|
220
|
+
static get is() { return "tttx-chart_1_9_72"; }
|
|
221
221
|
static get encapsulation() { return "shadow"; }
|
|
222
222
|
static get originalStyleUrls() {
|
|
223
223
|
return {
|