@3t-transform/threeteeui 1.9.71 → 1.9.73
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_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_71.cjs.entry.js → tttx-button-v2_1_9_73.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-button_1_9_71.cjs.entry.js → tttx-button_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_71.cjs.entry.js → tttx-chart_1_9_73.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_71.cjs.entry.js → tttx-checkbox-group-caption_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_71.cjs.entry.js → tttx-checkbox-group-heading_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_71.cjs.entry.js → tttx-checkbox-group_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_71.cjs.entry.js → tttx-checkbox_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_71.cjs.entry.js → tttx-comments_1_9_73.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-data-pattern_1_9_71.cjs.entry.js → tttx-data-pattern_1_9_73.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_71.cjs.entry.js → tttx-datacard_1_9_73.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_73.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_71.cjs.entry.js → tttx-dialog_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_71.cjs.entry.js → tttx-expander_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_71_4.cjs.entry.js → tttx-filter_1_9_73_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_71.cjs.entry.js → tttx-form_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_71.cjs.entry.js → tttx-graph_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_71.cjs.entry.js → tttx-icon_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_71.cjs.entry.js → tttx-keyvalue-block_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_71_3.cjs.entry.js → tttx-loading-spinner_1_9_73_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_71.cjs.entry.js → tttx-multiselect-box_1_9_73.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_71.cjs.entry.js → tttx-percentage-bar_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_71.cjs.entry.js → tttx-qrcode_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-range-slider_1_9_71.cjs.entry.js → tttx-range-slider_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-select-box_1_9_71.cjs.entry.js → tttx-select-box_1_9_73.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_71.cjs.entry.js → tttx-skeleton_loader_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_71.cjs.entry.js → tttx-table_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_71.cjs.entry.js → tttx-tabs_1_9_73.cjs.entry.js} +5 -5
- package/dist/cjs/tttx-tag-v2_1_9_73.cjs.entry.js +82 -0
- package/dist/cjs/{tttx-textarea_1_9_71.cjs.entry.js → tttx-textarea_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_71.cjs.entry.js → tttx-toggle_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tooltip_1_9_71.cjs.entry.js → tttx-tooltip_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/tttx-tree-view_1_9_73.cjs.entry.js +221 -0
- 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.css +129 -6
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +33 -19
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +446 -23
- 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_73.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_71.js → tttx-action-dropdown_1_9_73.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_71.d.ts → tttx-button-v2_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_71.js → tttx-button-v2_1_9_73.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_73.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_71.js → tttx-button_1_9_73.js} +2 -2
- package/dist/components/{tttx-table_1_9_71.d.ts → tttx-chart_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_71.js → tttx-chart_1_9_73.js} +10 -10
- package/dist/components/tttx-checkbox-group-caption_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_71.js → tttx-checkbox-group-caption_1_9_73.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_71.js → tttx-checkbox-group-heading_1_9_73.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_71.js → tttx-checkbox-group_1_9_73.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_71.d.ts → tttx-checkbox_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_71.js → tttx-checkbox_1_9_73.js} +7 -7
- package/dist/components/tttx-comments_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_71.js → tttx-comments_1_9_73.js} +9 -9
- package/dist/components/tttx-data-pattern_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_71.js → tttx-data-pattern_1_9_73.js} +16 -16
- package/dist/components/tttx-datacard_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_71.js → tttx-datacard_1_9_73.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_71.js → tttx-dialog-box_1_9_73.js} +9 -9
- package/dist/components/{tttx-filter_1_9_71.d.ts → tttx-dialog_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_71.js → tttx-dialog_1_9_73.js} +8 -8
- package/dist/components/tttx-expander_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_71.js → tttx-expander_1_9_73.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_73.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_71.js → tttx-filter_1_9_73.js} +2 -2
- package/dist/components/{tttx-form_1_9_71.d.ts → tttx-form_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_71.js → tttx-form_1_9_73.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_73.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_71.js → tttx-graph_1_9_73.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_73.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_71.js → tttx-icon_1_9_73.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_71.js → tttx-keyvalue-block_1_9_73.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_73.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_71.js → tttx-list_1_9_73.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_71.js → tttx-loading-spinner_1_9_73.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_71.js → tttx-multiselect-box_1_9_73.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_71.js → tttx-percentage-bar_1_9_73.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_71.d.ts → tttx-qrcode_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_71.js → tttx-qrcode_1_9_73.js} +5 -5
- package/dist/components/tttx-range-slider_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-range-slider_1_9_71.js → tttx-range-slider_1_9_73.js} +6 -6
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_71.js → tttx-select-box_1_9_73.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_71.js → tttx-skeleton_loader_1_9_73.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_71.js → tttx-sorter_1_9_73.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_71.js → tttx-standalone-input_1_9_73.js} +2 -2
- package/dist/components/{tttx-chart_1_9_71.d.ts → tttx-table_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_71.js → tttx-table_1_9_73.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_71.d.ts → tttx-tabs_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_71.js → tttx-tabs_1_9_73.js} +10 -10
- package/dist/components/tttx-tag-v2_1_9_73.d.ts +11 -0
- package/dist/components/tttx-tag-v2_1_9_73.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_73.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_71.js → tttx-tag_1_9_73.js} +2 -2
- package/dist/components/tttx-textarea_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_71.js → tttx-textarea_1_9_73.js} +6 -6
- package/dist/components/tttx-toggle_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_71.js → tttx-toggle_1_9_73.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_71.js → tttx-toolbar_1_9_73.js} +2 -2
- package/dist/components/tttx-tooltip_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-tooltip_1_9_71.js → tttx-tooltip_1_9_73.js} +5 -5
- package/dist/components/tttx-tree-view_1_9_73.d.ts +11 -0
- package/dist/components/tttx-tree-view_1_9_73.js +249 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_71.entry.js → tttx-action-dropdown_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_71.entry.js → tttx-button-v2_1_9_73.entry.js} +4 -4
- package/dist/esm/{tttx-button_1_9_71.entry.js → tttx-button_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_71.entry.js → tttx-chart_1_9_73.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_71.entry.js → tttx-checkbox-group-caption_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_71.entry.js → tttx-checkbox-group-heading_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_71.entry.js → tttx-checkbox-group_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_71.entry.js → tttx-checkbox_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_71.entry.js → tttx-comments_1_9_73.entry.js} +4 -4
- package/dist/esm/{tttx-data-pattern_1_9_71.entry.js → tttx-data-pattern_1_9_73.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_71.entry.js → tttx-datacard_1_9_73.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_73.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_71.entry.js → tttx-dialog_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_71.entry.js → tttx-expander_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_71_4.entry.js → tttx-filter_1_9_73_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_71.entry.js → tttx-form_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_71.entry.js → tttx-graph_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_71.entry.js → tttx-icon_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_71.entry.js → tttx-keyvalue-block_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_71_3.entry.js → tttx-loading-spinner_1_9_73_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_71.entry.js → tttx-multiselect-box_1_9_73.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_71.entry.js → tttx-percentage-bar_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_71.entry.js → tttx-qrcode_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-range-slider_1_9_71.entry.js → tttx-range-slider_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-select-box_1_9_71.entry.js → tttx-select-box_1_9_73.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_71.entry.js → tttx-skeleton_loader_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_71.entry.js → tttx-table_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_71.entry.js → tttx-tabs_1_9_73.entry.js} +5 -5
- package/dist/esm/tttx-tag-v2_1_9_73.entry.js +78 -0
- package/dist/esm/{tttx-textarea_1_9_71.entry.js → tttx-textarea_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_71.entry.js → tttx-toggle_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-tooltip_1_9_71.entry.js → tttx-tooltip_1_9_73.entry.js} +1 -1
- package/dist/esm/tttx-tree-view_1_9_73.entry.js +217 -0
- 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-59533ed7.entry.js +1 -0
- 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-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/molecules/tttx-tree-view/tttx-tree-view.d.ts +1 -1
- package/dist/types/components.d.ts +475 -440
- package/package.json +2 -2
- package/dist/cjs/tttx-tree-view_1_9_71.cjs.entry.js +0 -207
- 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/components/tttx-tree-view_1_9_71.js +0 -235
- package/dist/esm/tttx-tree-view_1_9_71.entry.js +0 -203
- package/dist/tttx/p-8392774e.entry.js +0 -1
- package/dist/tttx/p-d1ee41dd.entry.js +0 -1
|
@@ -71,7 +71,7 @@ const TttxLoadingSpinner = class {
|
|
|
71
71
|
};
|
|
72
72
|
TttxLoadingSpinner.style = tttxLoadingSpinnerCss;
|
|
73
73
|
|
|
74
|
-
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-
|
|
74
|
+
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_9_73{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_73{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_9_73{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_73 .optional.sc-tttx-standalone-input_1_9_73{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73{position:relative}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 .left-icons.sc-tttx-standalone-input_1_9_73,label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 .right-icons.sc-tttx-standalone-input_1_9_73{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 .left-icons.sc-tttx-standalone-input_1_9_73 tttx-icon.sc-tttx-standalone-input_1_9_73,label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 .right-icons.sc-tttx-standalone-input_1_9_73 tttx-icon.sc-tttx-standalone-input_1_9_73{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 .left-icons.sc-tttx-standalone-input_1_9_73{left:8px}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 .right-icons.sc-tttx-standalone-input_1_9_73{right:8px}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 input.sc-tttx-standalone-input_1_9_73,label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea.sc-tttx-standalone-input_1_9_73{color:#212121;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px;padding:0;padding-left:16px;padding-right:16px}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 input.has-input-icon.sc-tttx-standalone-input_1_9_73,label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea.has-input-icon.sc-tttx-standalone-input_1_9_73{padding-left:40px}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_73,label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_73{padding-left:72px}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 input.has-left-icon.sc-tttx-standalone-input_1_9_73,label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea.has-left-icon.sc-tttx-standalone-input_1_9_73{padding-left:40px}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 input.has-right-icon.sc-tttx-standalone-input_1_9_73,label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea.has-right-icon.sc-tttx-standalone-input_1_9_73{padding-right:40px}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 input.invalid.sc-tttx-standalone-input_1_9_73,label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea.invalid.sc-tttx-standalone-input_1_9_73{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 input.sc-tttx-standalone-input_1_9_73:not([type=submit]),label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea.sc-tttx-standalone-input_1_9_73:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 input[type=radio].sc-tttx-standalone-input_1_9_73,label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea[type=radio].sc-tttx-standalone-input_1_9_73{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 input[type=date].sc-tttx-standalone-input_1_9_73,label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea[type=date].sc-tttx-standalone-input_1_9_73{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 input[readonly].sc-tttx-standalone-input_1_9_73,label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea[readonly].sc-tttx-standalone-input_1_9_73{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 input.sc-tttx-standalone-input_1_9_73:focus,label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea.sc-tttx-standalone-input_1_9_73:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 input.sc-tttx-standalone-input_1_9_73:focus-visible,label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea.sc-tttx-standalone-input_1_9_73:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea.sc-tttx-standalone-input_1_9_73{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_73 .outer-container.sc-tttx-standalone-input_1_9_73 textarea.resize-none.sc-tttx-standalone-input_1_9_73{resize:none}label.sc-tttx-standalone-input_1_9_73 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_73{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_73 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_73 .left-icons.sc-tttx-standalone-input_1_9_73,label.sc-tttx-standalone-input_1_9_73 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_73 .right-icons.sc-tttx-standalone-input_1_9_73{margin-top:4px}label.sc-tttx-standalone-input_1_9_73 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_73{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_73 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_73{display:block}label.sc-tttx-standalone-input_1_9_73 .outer-container.inputInline.sc-tttx-standalone-input_1_9_73{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_73 .outer-container.inputInline.sc-tttx-standalone-input_1_9_73 input.sc-tttx-standalone-input_1_9_73{margin-top:0}label.sc-tttx-standalone-input_1_9_73 .secondarylabel.sc-tttx-standalone-input_1_9_73{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_73 .errorBubble.sc-tttx-standalone-input_1_9_73{position:relative;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-standalone-input_1_9_73 .errorBubble.sc-tttx-standalone-input_1_9_73:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_73 .errorBubble.sc-tttx-standalone-input_1_9_73 span.sc-tttx-standalone-input_1_9_73{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_73{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}.sc-tttx-standalone-input_1_9_73-h{display:block}";
|
|
75
75
|
|
|
76
76
|
const TttxInput = class {
|
|
77
77
|
constructor(hostRef) {
|
|
@@ -153,7 +153,7 @@ const TttxInput = class {
|
|
|
153
153
|
this.iconleft ? 'has-left-icon' : '',
|
|
154
154
|
this.iconright ? 'has-right-icon' : '',
|
|
155
155
|
].join(' ');
|
|
156
|
-
return (index.h(index.Host, null, index.h("label", null, this.label, !this.required ? index.h("span", { class: "optional" }, "\u00A0(optional)") : '', index.h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, index.h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (index.h("span", { class: "left-icons" }, this.inputicon && (index.h("tttx-
|
|
156
|
+
return (index.h(index.Host, null, index.h("label", null, this.label, !this.required ? index.h("span", { class: "optional" }, "\u00A0(optional)") : '', index.h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, index.h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (index.h("span", { class: "left-icons" }, this.inputicon && (index.h("tttx-icon_1_9_73", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (index.h("tttx-icon_1_9_73", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (index.h("span", { class: "right-icons" }, index.h("tttx-icon_1_9_73", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && index.h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (index.h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, index.h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
TttxInput.style = tttxStandaloneInputCss;
|
|
@@ -173,11 +173,11 @@ const TttxTag = class {
|
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
175
|
return (index.h(index.Host, null, index.h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, this.hasIcon &&
|
|
176
|
-
index.h("tttx-
|
|
176
|
+
index.h("tttx-icon_1_9_73", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), index.h("span", null, this.text))));
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
TttxTag.style = tttxTagCss;
|
|
180
180
|
|
|
181
|
-
exports.
|
|
182
|
-
exports.
|
|
183
|
-
exports.
|
|
181
|
+
exports.tttx_loading_spinner_1_9_73 = TttxLoadingSpinner;
|
|
182
|
+
exports.tttx_standalone_input_1_9_73 = TttxInput;
|
|
183
|
+
exports.tttx_tag_1_9_73 = TttxTag;
|
|
@@ -125,9 +125,9 @@ const TttxMultiselectBox = class {
|
|
|
125
125
|
}
|
|
126
126
|
// render priority options at the top of the dropdown list
|
|
127
127
|
return (index.h(index.Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
128
|
-
index.h(index.Fragment, null, index.h("tttx-
|
|
128
|
+
index.h(index.Fragment, null, index.h("tttx-tag_1_9_73", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
129
129
|
index.h(index.Fragment, null, usingPriority &&
|
|
130
|
-
index.h("tttx-
|
|
130
|
+
index.h("tttx-tag_1_9_73", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
131
131
|
}
|
|
132
132
|
dropdownOption(option) {
|
|
133
133
|
// This is tested in e2e tests
|
|
@@ -138,11 +138,11 @@ const TttxMultiselectBox = class {
|
|
|
138
138
|
const sanitisedHTML = domsanitiser_options.purify.sanitize(option.html, domsanitiser_options.domSanitiserOptions);
|
|
139
139
|
// This is tested in e2e tests
|
|
140
140
|
/* istanbul ignore next */
|
|
141
|
-
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-
|
|
141
|
+
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-icon_1_9_73", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), index.h("div", { innerHTML: sanitisedHTML })));
|
|
142
142
|
}
|
|
143
143
|
// This is tested in e2e tests
|
|
144
144
|
/* istanbul ignore next */
|
|
145
|
-
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-
|
|
145
|
+
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-icon_1_9_73", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), index.h("div", { class: "plaintext-option" }, option.label)));
|
|
146
146
|
}
|
|
147
147
|
// This is tested in e2e tests
|
|
148
148
|
/* istanbul ignore next */
|
|
@@ -172,9 +172,9 @@ const TttxMultiselectBox = class {
|
|
|
172
172
|
return;
|
|
173
173
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
174
174
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
175
|
-
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), index.h("div", { class: "dropdown-selector-chevron" }, index.h("tttx-
|
|
175
|
+
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), index.h("div", { class: "dropdown-selector-chevron" }, index.h("tttx-icon_1_9_73", { icon: chevronIcon, color: "black" }))), this.open && (index.h("div", { class: "dropdown-body-container" }, index.h("div", { class: "dropdown-body", style: Object.assign({}, this.bodyOffset) }, this.searchEnabled &&
|
|
176
176
|
/* istanbul ignore next */
|
|
177
|
-
index.h("div", { class: "searchbox" }, index.h("tttx-standalone-
|
|
177
|
+
index.h("div", { class: "searchbox" }, index.h("tttx-standalone-input_1_9_73", { type: "text", placeholder: 'Search', label: "", required: true, showerrorbubble: false, iconleft: 'search', onInput: this.handleSearchInput.bind(this), inline: true })), index.h("div", { class: "dropdown-options-list" }, this.isLoading ? (index.h("tttx-loading-spinner_1_9_73", { class: 'loading-style' })) : (this.renderDropdownOptions(this.unsavedSelectedItems))), index.h("div", { class: 'footer' }, index.h("tttx-button_1_9_73", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), index.h("tttx-button_1_9_73", { onClick: this.onCancel.bind(this) }, "Cancel"))))))));
|
|
178
178
|
}
|
|
179
179
|
get el() { return index.getElement(this); }
|
|
180
180
|
static get watchers() { return {
|
|
@@ -183,4 +183,4 @@ const TttxMultiselectBox = class {
|
|
|
183
183
|
};
|
|
184
184
|
TttxMultiselectBox.style = tttxMultiselectBoxCss;
|
|
185
185
|
|
|
186
|
-
exports.
|
|
186
|
+
exports.tttx_multiselect_box_1_9_73 = TttxMultiselectBox;
|
package/dist/cjs/{tttx-percentage-bar_1_9_71.cjs.entry.js → tttx-percentage-bar_1_9_73.cjs.entry.js}
RENAMED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-3fc38d11.js');
|
|
6
6
|
|
|
7
|
-
const tttxPercentageBarCss = ".sc-tttx-percentage-
|
|
7
|
+
const tttxPercentageBarCss = ".sc-tttx-percentage-bar_1_9_73-h{display:block}.progress.sc-tttx-percentage-bar_1_9_73{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_9_73 .bar.sc-tttx-percentage-bar_1_9_73{height:20px}";
|
|
8
8
|
|
|
9
9
|
const TttxPercentageBar = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -62,4 +62,4 @@ const TttxPercentageBar = class {
|
|
|
62
62
|
};
|
|
63
63
|
TttxPercentageBar.style = tttxPercentageBarCss;
|
|
64
64
|
|
|
65
|
-
exports.
|
|
65
|
+
exports.tttx_percentage_bar_1_9_73 = TttxPercentageBar;
|
package/dist/cjs/{tttx-range-slider_1_9_71.cjs.entry.js → tttx-range-slider_1_9_73.cjs.entry.js}
RENAMED
|
@@ -182,9 +182,9 @@ const TttxRangeSlider = class {
|
|
|
182
182
|
this.emitValuesUpdatedEvent();
|
|
183
183
|
}
|
|
184
184
|
render() {
|
|
185
|
-
return (index.h("div", { class: 'wrapper' }, this.sliderMode === 'single' && (index.h(
|
|
185
|
+
return (index.h("div", { class: 'wrapper' }, this.sliderMode === 'single' && (index.h("div", { class: 'slider-container' }, index.h("div", { class: 'slider-track', ref: el => (this.refSliderTrack = el) }), index.h("span", { ref: el => (this.refTooltipMin = el), class: 'slider-tooltip' }, this.upperValue), index.h("input", { type: 'range', min: this.minimum, max: this.maximum, value: this.upperValue, ref: el => (this.refSliderSingle = el), onInput: this.onSingleSliderChange.bind(this) }))), this.sliderMode === 'dual' && (index.h(index.Fragment, null, this.showFields && (index.h("div", { class: 'values' }, this.renderValueInput('min', this.minimum), index.h("span", { class: 'range-divider' }, " to "), this.renderValueInput('max', this.maximum))), index.h("div", { class: `slider-container${this.showFields ? ' slider-container-with-fields' : ''}` }, index.h("div", { class: 'slider-track', ref: el => (this.refSliderTrack = el) }), index.h("span", { ref: el => (this.refTooltipMin = el), class: 'slider-tooltip' }, this.lowerValue), index.h("span", { ref: el => (this.refTooltipMax = el), class: 'slider-tooltip slider-tooltip-upper' }, this.upperValue), index.h("input", { type: 'range', min: this.minimum, max: this.maximum, value: this.lowerValue, ref: el => (this.refSliderLower = el), onInput: () => this.onMinSliderChange() }), index.h("input", { type: 'range', min: this.minimum, max: this.maximum, value: this.upperValue, ref: el => (this.refSliderUpper = el), onInput: () => this.onMaxSliderChange() }))))));
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
188
|
TttxRangeSlider.style = tttxRangeSliderCss;
|
|
189
189
|
|
|
190
|
-
exports.
|
|
190
|
+
exports.tttx_range_slider_1_9_73 = TttxRangeSlider;
|
package/dist/cjs/{tttx-select-box_1_9_71.cjs.entry.js → tttx-select-box_1_9_73.cjs.entry.js}
RENAMED
|
@@ -108,7 +108,7 @@ const TttxSelectBox = class {
|
|
|
108
108
|
let title;
|
|
109
109
|
let subtitle;
|
|
110
110
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
111
|
-
const icon = index.h("tttx-
|
|
111
|
+
const icon = index.h("tttx-icon_1_9_73", { icon: chevronIcon, color: "black" });
|
|
112
112
|
let chevron = index.h("div", { class: "dropdown-selector-chevron" }, icon);
|
|
113
113
|
if (!this.selectedItem) {
|
|
114
114
|
title = index.h("div", { class: "placeholder" }, this.placeholder);
|
|
@@ -125,7 +125,7 @@ const TttxSelectBox = class {
|
|
|
125
125
|
chevron = index.h("div", { class: "dropdown-selector-chevron-offset" }, icon);
|
|
126
126
|
}
|
|
127
127
|
return (index.h(index.Fragment, null, index.h("div", { class: "left-wrapper" }, title, subtitle), this.clearable && !this.readOnly &&
|
|
128
|
-
index.h("tttx-
|
|
128
|
+
index.h("tttx-icon_1_9_73", { class: "input-icon", style: { paddingTop: '5px', cursor: 'pointer' }, icon: 'close_small', onClick: this.cleanSelectedItem.bind(this) }), chevron));
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
renderDropdownOptions(options) {
|
|
@@ -148,9 +148,9 @@ const TttxSelectBox = class {
|
|
|
148
148
|
}
|
|
149
149
|
// render priority options at the top of the dropdown list
|
|
150
150
|
return (index.h(index.Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
151
|
-
index.h(index.Fragment, null, index.h("tttx-
|
|
151
|
+
index.h(index.Fragment, null, index.h("tttx-tag_1_9_73", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
152
152
|
index.h(index.Fragment, null, usingPriority &&
|
|
153
|
-
index.h("tttx-
|
|
153
|
+
index.h("tttx-tag_1_9_73", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
154
154
|
}
|
|
155
155
|
dropdownOption(option) {
|
|
156
156
|
const selected = this.selectedItem && option.value === this.selectedItem.value;
|
|
@@ -237,7 +237,7 @@ const TttxSelectBox = class {
|
|
|
237
237
|
return;
|
|
238
238
|
const invalidClass = this.showErrorMsg ? 'invalid' : '';
|
|
239
239
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
240
|
-
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (index.h("div", { class: "dropdown-body-container" }, index.h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (index.h("div", { class: "searchbox" }, index.h("tttx-standalone-
|
|
240
|
+
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (index.h("div", { class: "dropdown-body-container" }, index.h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (index.h("div", { class: "searchbox" }, index.h("tttx-standalone-input_1_9_73", { type: "text", label: "", required: true, showerrorbubble: false, iconleft: "search", onInput: this.handleSearchInput.bind(this) }))), index.h("div", { class: "dropdown-options-list", onScroll: this.onSelectScroll.bind(this) }, !this.isLoading && (this.renderDropdownOptions(this._optionsData)), (this.isLoading || this.loadingNextExternalPage) && (index.h("tttx-loading-spinner_1_9_73", { class: 'loading-style' })))))), this.showErrorBubble && (index.h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, index.h("tttx-icon_1_9_73", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
|
|
241
241
|
}
|
|
242
242
|
get el() { return index.getElement(this); }
|
|
243
243
|
static get watchers() { return {
|
|
@@ -247,4 +247,4 @@ const TttxSelectBox = class {
|
|
|
247
247
|
};
|
|
248
248
|
TttxSelectBox.style = tttxSelectBoxCss;
|
|
249
249
|
|
|
250
|
-
exports.
|
|
250
|
+
exports.tttx_select_box_1_9_73 = TttxSelectBox;
|
|
@@ -6,7 +6,7 @@ const index = require('./index-3fc38d11.js');
|
|
|
6
6
|
const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
9
|
-
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-
|
|
9
|
+
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs_1_9_73{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_9_73-h{display:block}.tab-bar.sc-tttx-tabs_1_9_73{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_9_73>.left-navigation.sc-tttx-tabs_1_9_73,.tab-bar.sc-tttx-tabs_1_9_73>.right-navigation.sc-tttx-tabs_1_9_73{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_73>.left-navigation.sc-tttx-tabs_1_9_73>*.sc-tttx-tabs_1_9_73,.tab-bar.sc-tttx-tabs_1_9_73>.right-navigation.sc-tttx-tabs_1_9_73>*.sc-tttx-tabs_1_9_73{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_73>.tabs-container.sc-tttx-tabs_1_9_73{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_9_73>.tabs-container.wide.sc-tttx-tabs_1_9_73{flex-grow:1}.tab-bar.sc-tttx-tabs_1_9_73>.tabs-container.sc-tttx-tabs_1_9_73>*[role=tab].sc-tttx-tabs_1_9_73{padding:18px 16px;line-height:16.408px;font-size:14px;font-weight:500;text-transform:uppercase;user-select:none;color:#757575;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_73>.tabs-container.sc-tttx-tabs_1_9_73>*[role=tab].sc-tttx-tabs_1_9_73:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_9_73>.tabs-container.sc-tttx-tabs_1_9_73>*[role=tab][aria-selected].sc-tttx-tabs_1_9_73{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
|
|
10
10
|
|
|
11
11
|
const TttxTabs = class {
|
|
12
12
|
constructor(hostRef) {
|
|
@@ -82,8 +82,8 @@ const TttxTabs = class {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
generateTab(tab) {
|
|
85
|
-
var _a, _b;
|
|
86
|
-
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (index.h("tttx-
|
|
85
|
+
var _a, _b, _c;
|
|
86
|
+
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (index.h("tttx-icon_1_9_73", { style: { pointerEvents: 'none', marginTop: (_b = tab.marginTop) !== null && _b !== void 0 ? _b : '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_c = tab.tabIconSize) !== null && _c !== void 0 ? _c : 24 }));
|
|
87
87
|
return (index.h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
|
|
88
88
|
this.handleTabClick(tab);
|
|
89
89
|
} }, tabTitle));
|
|
@@ -102,7 +102,7 @@ const TttxTabs = class {
|
|
|
102
102
|
return;
|
|
103
103
|
}
|
|
104
104
|
const selectedTab = this._tabs.find(tab => tab.selected);
|
|
105
|
-
return (index.h(index.Host, null, index.h("div", null, index.h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (index.h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, index.h("tttx-
|
|
105
|
+
return (index.h(index.Host, null, index.h("div", null, index.h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (index.h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, index.h("tttx-icon_1_9_73", { icon: "navigate_before", color: "black" }))), index.h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(this.generateTab.bind(this))), this.navigation && (index.h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, index.h("tttx-icon_1_9_73", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
|
|
106
106
|
}
|
|
107
107
|
static get watchers() { return {
|
|
108
108
|
"tabs": ["onDataChange"]
|
|
@@ -110,4 +110,4 @@ const TttxTabs = class {
|
|
|
110
110
|
};
|
|
111
111
|
TttxTabs.style = tttxTabsCss;
|
|
112
112
|
|
|
113
|
-
exports.
|
|
113
|
+
exports.tttx_tabs_1_9_73 = TttxTabs;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-3fc38d11.js');
|
|
6
|
+
|
|
7
|
+
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}";
|
|
8
|
+
|
|
9
|
+
const TttxTagV2 = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.text = undefined;
|
|
13
|
+
this.color = undefined;
|
|
14
|
+
this.textColor = undefined;
|
|
15
|
+
this.iconStart = 'star';
|
|
16
|
+
this.iconEnd = 'close';
|
|
17
|
+
this.iconSize = 16;
|
|
18
|
+
this.state = 'neutral';
|
|
19
|
+
this.size = 'M';
|
|
20
|
+
this.variant = undefined;
|
|
21
|
+
this.hasStartIcon = true;
|
|
22
|
+
this.hasEndIcon = true;
|
|
23
|
+
}
|
|
24
|
+
getColors() {
|
|
25
|
+
// If both variant and state are given, state overrides variant
|
|
26
|
+
if (this.variant) {
|
|
27
|
+
let base;
|
|
28
|
+
switch (this.variant) {
|
|
29
|
+
case 'primary':
|
|
30
|
+
base = { bg: '#1479c6', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
31
|
+
break;
|
|
32
|
+
case 'secondary':
|
|
33
|
+
base = { bg: '#b9d5ed', text: '#1479c6', icon: '#1479c6' };
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
if (this.state && this.state !== 'neutral') {
|
|
37
|
+
// apply state overrides
|
|
38
|
+
switch (this.state) {
|
|
39
|
+
case 'danger':
|
|
40
|
+
return { bg: '#DC2626', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
41
|
+
case 'success':
|
|
42
|
+
return { bg: '#16A34A', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
43
|
+
case 'warning':
|
|
44
|
+
return { bg: '#FACC15', text: '#58310E', icon: '#58310E' };
|
|
45
|
+
case 'brand':
|
|
46
|
+
return { bg: '#1479c6', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return base;
|
|
50
|
+
}
|
|
51
|
+
// fall back to custom color or state
|
|
52
|
+
if (this.color || this.textColor) {
|
|
53
|
+
return {
|
|
54
|
+
bg: this.color || '#E5E5E5',
|
|
55
|
+
text: this.textColor || '#737373',
|
|
56
|
+
icon: this.textColor || '#737373',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
// state only (no variant)
|
|
60
|
+
switch (this.state) {
|
|
61
|
+
case 'brand':
|
|
62
|
+
return { bg: '#197A68', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
63
|
+
case 'danger':
|
|
64
|
+
return { bg: '#DC2626', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
65
|
+
case 'success':
|
|
66
|
+
return { bg: '#16A34A', text: '#FFFFFF', icon: '#FFFFFF' };
|
|
67
|
+
case 'warning':
|
|
68
|
+
return { bg: '#FACC15', text: '#58310E', icon: '#58310E' };
|
|
69
|
+
case 'neutral':
|
|
70
|
+
return { bg: '#E5E5E5', text: '#737373', icon: '#737373' };
|
|
71
|
+
default:
|
|
72
|
+
return { bg: '#E5E5E5', text: '#737373', icon: '#737373' };
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
render() {
|
|
76
|
+
const colors = this.getColors();
|
|
77
|
+
return (index.h(index.Host, null, index.h("div", { class: `tag ${this.state} ${this.size} ${this.variant || ''}`, style: { 'background-color': colors.bg, color: colors.text } }, this.hasStartIcon && this.iconStart && (index.h("tttx-icon_1_9_73", { role: "icon", class: "tag_icon", "aria-label": colors.text, icon: this.iconStart, color: colors.icon, size: this.size === 'S' ? 12 : 16 })), index.h("span", null, this.text), this.hasEndIcon && this.iconEnd && (index.h("tttx-icon_1_9_73", { role: "icon", class: "tag_icon", "aria-label": colors.text, icon: this.iconEnd, color: colors.icon, size: this.iconSize })))));
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
TttxTagV2.style = tttxTagV2Css;
|
|
81
|
+
|
|
82
|
+
exports.tttx_tag_v2_1_9_73 = TttxTagV2;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-3fc38d11.js');
|
|
6
6
|
|
|
7
|
-
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-
|
|
7
|
+
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_73{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_73-h{display:block}label.sc-tttx-textarea_1_9_73{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73{position:relative}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.sc-tttx-textarea_1_9_73{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_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.no-label.sc-tttx-textarea_1_9_73{margin-top:0}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.sc-tttx-textarea_1_9_73~.errorBubble.sc-tttx-textarea_1_9_73{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_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.sc-tttx-textarea_1_9_73~.errorBubble.sc-tttx-textarea_1_9_73:not(.visible){display:none}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.sc-tttx-textarea_1_9_73~.errorBubble.sc-tttx-textarea_1_9_73 span.sc-tttx-textarea_1_9_73{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.sc-tttx-textarea_1_9_73:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.sc-tttx-textarea_1_9_73:focus-visible{outline:none}label.sc-tttx-textarea_1_9_73 .secondarylabel.sc-tttx-textarea_1_9_73{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_73 .optional.sc-tttx-textarea_1_9_73{color:#757575;font-weight:normal}";
|
|
8
8
|
|
|
9
9
|
const TttxTextarea = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -56,4 +56,4 @@ const TttxTextarea = class {
|
|
|
56
56
|
};
|
|
57
57
|
TttxTextarea.style = tttxTextareaCss;
|
|
58
58
|
|
|
59
|
-
exports.
|
|
59
|
+
exports.tttx_textarea_1_9_73 = TttxTextarea;
|