@3t-transform/threeteeui 1.9.44 → 1.9.45
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_45.cjs.entry.js +61 -0
- package/dist/cjs/{tttx-button_1_9_44.cjs.entry.js → tttx-button_1_9_45.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_44.cjs.entry.js → tttx-checkbox-group-caption_1_9_45.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_44.cjs.entry.js → tttx-checkbox-group-heading_1_9_45.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_44.cjs.entry.js → tttx-checkbox-group_1_9_45.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_44.cjs.entry.js → tttx-checkbox_1_9_45.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_44.cjs.entry.js → tttx-comments_1_9_45.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-data-pattern_1_9_44.cjs.entry.js → tttx-data-pattern_1_9_45.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_44.cjs.entry.js → tttx-datacard_1_9_45.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-dialog-box_1_9_44.cjs.entry.js → tttx-dialog-box_1_9_45.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_44.cjs.entry.js → tttx-dialog_1_9_45.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_44.cjs.entry.js → tttx-expander_1_9_45.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_44_4.cjs.entry.js → tttx-filter_1_9_45_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_44.cjs.entry.js → tttx-form_1_9_45.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_44.cjs.entry.js → tttx-graph_1_9_45.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_44.cjs.entry.js → tttx-icon_1_9_45.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_44.cjs.entry.js → tttx-keyvalue-block_1_9_45.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_44_3.cjs.entry.js → tttx-loading-spinner_1_9_45_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_44.cjs.entry.js → tttx-multiselect-box_1_9_45.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_44.cjs.entry.js → tttx-percentage-bar_1_9_45.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_44.cjs.entry.js → tttx-qrcode_1_9_45.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_44.cjs.entry.js → tttx-select-box_1_9_45.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_44.cjs.entry.js → tttx-skeleton_loader_1_9_45.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_44.cjs.entry.js → tttx-table_1_9_45.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_44.cjs.entry.js → tttx-tabs_1_9_45.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-textarea_1_9_44.cjs.entry.js → tttx-textarea_1_9_45.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_44.cjs.entry.js → tttx-toggle_1_9_45.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_44.cjs.entry.js → tttx-tree-view_1_9_45.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 +20 -20
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +2 -2
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +1 -1
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.css +109 -0
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +213 -0
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +62 -0
- 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 +2 -2
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +8 -8
- 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 +33 -32
- package/dist/components/index.js +33 -32
- package/dist/components/tttx-action-dropdown_1_9_45.d.ts +11 -0
- package/dist/components/tttx-action-dropdown_1_9_45.js +90 -0
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-button_1_9_44.d.ts → tttx-button_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_44.js → tttx-button_1_9_45.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_44.js → tttx-checkbox-group-caption_1_9_45.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_44.js → tttx-checkbox-group-heading_1_9_45.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_44.js → tttx-checkbox-group_1_9_45.js} +5 -5
- package/dist/components/{tttx-datacard_1_9_44.d.ts → tttx-checkbox_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_44.js → tttx-checkbox_1_9_45.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_44.d.ts → tttx-comments_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_9_44.js → tttx-comments_1_9_45.js} +7 -7
- package/dist/components/tttx-data-pattern_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_44.js → tttx-data-pattern_1_9_45.js} +16 -16
- package/dist/components/{tttx-comments_1_9_44.d.ts → tttx-datacard_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_9_44.js → tttx-datacard_1_9_45.js} +10 -10
- package/dist/components/tttx-dialog-box_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_44.js → tttx-dialog-box_1_9_45.js} +9 -9
- package/dist/components/{tttx-dialog_1_9_44.d.ts → tttx-dialog_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_44.js → tttx-dialog_1_9_45.js} +8 -8
- package/dist/components/tttx-expander_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_44.js → tttx-expander_1_9_45.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-filter_1_9_44.d.ts → tttx-filter_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_44.js → tttx-filter_1_9_45.js} +2 -2
- package/dist/components/{tttx-tabs_1_9_44.d.ts → tttx-form_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_44.js → tttx-form_1_9_45.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_44.d.ts → tttx-graph_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_44.js → tttx-graph_1_9_45.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-icon_1_9_44.d.ts → tttx-icon_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_44.js → tttx-icon_1_9_45.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_44.js → tttx-keyvalue-block_1_9_45.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-list_1_9_44.d.ts → tttx-list_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_44.js → tttx-list_1_9_45.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_44.js → tttx-loading-spinner_1_9_45.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_44.js → tttx-multiselect-box_1_9_45.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_44.js → tttx-percentage-bar_1_9_45.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_44.d.ts → tttx-qrcode_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_44.js → tttx-qrcode_1_9_45.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_44.js → tttx-select-box_1_9_45.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_44.js → tttx-skeleton_loader_1_9_45.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_44.js → tttx-sorter_1_9_45.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_44.js → tttx-standalone-input_1_9_45.js} +2 -2
- package/dist/components/{tttx-table_1_9_44.d.ts → tttx-table_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_44.js → tttx-table_1_9_45.js} +5 -5
- package/dist/components/{tttx-form_1_9_44.d.ts → tttx-tabs_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_44.js → tttx-tabs_1_9_45.js} +9 -9
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_44.d.ts → tttx-tag_1_9_45.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_44.js → tttx-tag_1_9_45.js} +2 -2
- package/dist/components/tttx-textarea_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_44.js → tttx-textarea_1_9_45.js} +6 -6
- package/dist/components/tttx-toggle_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_44.js → tttx-toggle_1_9_45.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_44.js → tttx-toolbar_1_9_45.js} +2 -2
- package/dist/components/tttx-tree-view_1_9_45.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_44.js → tttx-tree-view_1_9_45.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tttx-action-dropdown_1_9_45.entry.js +57 -0
- package/dist/esm/{tttx-button_1_9_44.entry.js → tttx-button_1_9_45.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-caption_1_9_44.entry.js → tttx-checkbox-group-caption_1_9_45.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_44.entry.js → tttx-checkbox-group-heading_1_9_45.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_44.entry.js → tttx-checkbox-group_1_9_45.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_44.entry.js → tttx-checkbox_1_9_45.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_44.entry.js → tttx-comments_1_9_45.entry.js} +2 -2
- package/dist/esm/{tttx-data-pattern_1_9_44.entry.js → tttx-data-pattern_1_9_45.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_44.entry.js → tttx-datacard_1_9_45.entry.js} +4 -4
- package/dist/esm/{tttx-dialog-box_1_9_44.entry.js → tttx-dialog-box_1_9_45.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_44.entry.js → tttx-dialog_1_9_45.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_44.entry.js → tttx-expander_1_9_45.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_44_4.entry.js → tttx-filter_1_9_45_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_44.entry.js → tttx-form_1_9_45.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_44.entry.js → tttx-graph_1_9_45.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_44.entry.js → tttx-icon_1_9_45.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_44.entry.js → tttx-keyvalue-block_1_9_45.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_44_3.entry.js → tttx-loading-spinner_1_9_45_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_44.entry.js → tttx-multiselect-box_1_9_45.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_44.entry.js → tttx-percentage-bar_1_9_45.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_44.entry.js → tttx-qrcode_1_9_45.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_44.entry.js → tttx-select-box_1_9_45.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_44.entry.js → tttx-skeleton_loader_1_9_45.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_44.entry.js → tttx-table_1_9_45.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_44.entry.js → tttx-tabs_1_9_45.entry.js} +4 -4
- package/dist/esm/{tttx-textarea_1_9_44.entry.js → tttx-textarea_1_9_45.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_44.entry.js → tttx-toggle_1_9_45.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_44.entry.js → tttx-tree-view_1_9_45.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-1d8210d3.entry.js +1 -1
- package/dist/tttx/p-21bb99dd.entry.js +1 -1
- package/dist/tttx/p-22150380.entry.js +1 -1
- package/dist/tttx/p-222b7f89.entry.js +1 -1
- package/dist/tttx/p-295a5c16.entry.js +1 -1
- package/dist/tttx/p-354fc8d4.entry.js +1 -1
- package/dist/tttx/p-4560cb86.entry.js +1 -1
- package/dist/tttx/p-49bae603.entry.js +1 -1
- package/dist/tttx/p-555885cc.entry.js +1 -1
- package/dist/tttx/p-61df30c5.entry.js +1 -1
- package/dist/tttx/p-6343251b.entry.js +1 -1
- package/dist/tttx/p-652aaf6c.entry.js +1 -1
- package/dist/tttx/p-65da8c2a.entry.js +1 -1
- package/dist/tttx/p-71372d3a.entry.js +1 -1
- package/dist/tttx/p-7ff42357.entry.js +1 -1
- package/dist/tttx/p-80c3103a.entry.js +1 -1
- package/dist/tttx/p-8aeb43df.entry.js +1 -0
- package/dist/tttx/p-9262d276.entry.js +1 -1
- package/dist/tttx/p-9426547c.entry.js +1 -1
- package/dist/tttx/p-9896a083.entry.js +1 -1
- package/dist/tttx/p-98bee16c.entry.js +1 -1
- package/dist/tttx/p-b294f733.entry.js +1 -1
- package/dist/tttx/p-e23f0843.entry.js +1 -1
- package/dist/tttx/p-e28e5118.entry.js +1 -1
- package/dist/tttx/p-e4b36835.entry.js +1 -1
- package/dist/tttx/p-e5319b51.entry.js +1 -1
- package/dist/tttx/p-e5f97b02.entry.js +1 -1
- package/dist/tttx/p-e8b9acb8.entry.js +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/molecules/tttx-action-dropdown/interfaces.d.ts +8 -0
- package/dist/types/components/molecules/tttx-action-dropdown/tttx-action-dropdown.d.ts +21 -0
- package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
- package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
- package/dist/types/components.d.ts +409 -379
- package/package.json +1 -1
- package/dist/components/tttx-checkbox-group-caption_1_9_44.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_44.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_44.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_44.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_44.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_44.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_44.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_44.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_44.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_44.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_44.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_44.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_44.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_44.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_44.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_44.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_44.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_44.d.ts +0 -11
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
title: 'atoms/Percentage Bar',
|
|
3
3
|
component: 'tttx-percentage-bar',
|
|
4
4
|
};
|
|
5
|
-
const TemplatePercentageBar = ({ percentage, thresholds }) => `<tttx-percentage-
|
|
5
|
+
const TemplatePercentageBar = ({ percentage, thresholds }) => `<tttx-percentage-bar_1_9_45 percentage='${percentage}' thresholds='${JSON.stringify(thresholds)}'></tttx-percentage-bar_1_9_45>`;
|
|
6
6
|
export const PercentageBar = TemplatePercentageBar.bind({});
|
|
7
7
|
PercentageBar.args = {
|
|
8
8
|
percentage: 20,
|
|
@@ -21,13 +21,13 @@ PercentageBar.args = {
|
|
|
21
21
|
},
|
|
22
22
|
],
|
|
23
23
|
};
|
|
24
|
-
const TemplatePercentageBarWithoutThresholds = ({ percentage, color }) => `<tttx-percentage-
|
|
24
|
+
const TemplatePercentageBarWithoutThresholds = ({ percentage, color }) => `<tttx-percentage-bar_1_9_45 percentage='${percentage}' color='${color}'></tttx-percentage-bar_1_9_45>`;
|
|
25
25
|
export const PercentageBarWithoutThresholds = TemplatePercentageBarWithoutThresholds.bind({});
|
|
26
26
|
PercentageBarWithoutThresholds.args = {
|
|
27
27
|
percentage: 20,
|
|
28
28
|
color: '#397a4c',
|
|
29
29
|
};
|
|
30
|
-
const TemplatePercentageBarWithoutMinimum = ({ percentage, color, min }) => `<tttx-percentage-
|
|
30
|
+
const TemplatePercentageBarWithoutMinimum = ({ percentage, color, min }) => `<tttx-percentage-bar_1_9_45 percentage='${percentage}' color='${color}' min='${min}'></tttx-percentage-bar_1_9_45>`;
|
|
31
31
|
export const PercentageBarWithoutMinimum = TemplatePercentageBarWithoutMinimum.bind({});
|
|
32
32
|
PercentageBarWithoutMinimum.args = {
|
|
33
33
|
percentage: 0,
|
|
@@ -37,7 +37,7 @@ PercentageBarWithoutMinimum.args = {
|
|
|
37
37
|
const TemplatePercentageBarLabeled = ({ percentage, color, labelid }) => `
|
|
38
38
|
<label id="someLabel">
|
|
39
39
|
${percentage}%
|
|
40
|
-
<tttx-percentage-
|
|
40
|
+
<tttx-percentage-bar_1_9_45 style='width: 100px;' percentage='${percentage}' color='${color}' labelid='${labelid}'></tttx-percentage-bar_1_9_45>
|
|
41
41
|
</label>
|
|
42
42
|
`;
|
|
43
43
|
export const PercentageBarLabeled = TemplatePercentageBarLabeled.bind({});
|
|
@@ -47,7 +47,7 @@ PercentageBarLabeled.args = {
|
|
|
47
47
|
labelid: 'someLabel',
|
|
48
48
|
};
|
|
49
49
|
const TemplatePercentageBarLabeledInline = ({ percentage, color, labelid }) => `
|
|
50
|
-
<label id="someLabel" style='display: flex;'>${percentage}% <tttx-percentage-
|
|
50
|
+
<label id="someLabel" style='display: flex;'>${percentage}% <tttx-percentage-bar_1_9_45 style='width: 100px;' percentage='${percentage}' color='${color}' labelid='${labelid}'></tttx-percentage-bar_1_9_45>
|
|
51
51
|
</label>
|
|
52
52
|
`;
|
|
53
53
|
export const PercentageBarLabeledInline = TemplatePercentageBarLabeledInline.bind({});
|
|
@@ -25,7 +25,7 @@ export class TttxQrCode {
|
|
|
25
25
|
render() {
|
|
26
26
|
return h("div", { id: "qrcode" });
|
|
27
27
|
}
|
|
28
|
-
static get is() { return "tttx-
|
|
28
|
+
static get is() { return "tttx-qrcode_1_9_45"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
30
30
|
static get originalStyleUrls() {
|
|
31
31
|
return {
|
|
@@ -14,7 +14,7 @@ export default {
|
|
|
14
14
|
export const basicQRCode = args => {
|
|
15
15
|
const url = args.url;
|
|
16
16
|
const size = args.size;
|
|
17
|
-
return `<tttx-
|
|
17
|
+
return `<tttx-qrcode_1_9_45 link='${url}' size='${size}'></tttx-qrcode_1_9_45>`;
|
|
18
18
|
};
|
|
19
19
|
basicQRCode.args = {
|
|
20
20
|
url: 'https://example.com',
|
|
@@ -26,7 +26,7 @@ export class TttxSkeletonLoader {
|
|
|
26
26
|
const skeletons = Array.from({ length: this.count });
|
|
27
27
|
return (h(Host, null, h("div", { class: `skeleton-wrapper ${this.direction} ${this.customClass}`, style: { gap: this.gap, width: '100%' } }, skeletons.map((_, index) => (h("div", { key: index, class: `skeleton ${this.animation} ${this.variant}`, style: skeletonStyle }))))));
|
|
28
28
|
}
|
|
29
|
-
static get is() { return "tttx-
|
|
29
|
+
static get is() { return "tttx-skeleton_loader_1_9_45"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
31
31
|
static get originalStyleUrls() {
|
|
32
32
|
return {
|
|
@@ -11,9 +11,9 @@ export class TttxTag {
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
return (h(Host, null, h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, this.hasIcon &&
|
|
14
|
-
h("tttx-
|
|
14
|
+
h("tttx-icon_1_9_45", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), h("span", null, this.text))));
|
|
15
15
|
}
|
|
16
|
-
static get is() { return "tttx-
|
|
16
|
+
static get is() { return "tttx-tag_1_9_45"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
19
19
|
return {
|
|
@@ -33,7 +33,7 @@ export default {
|
|
|
33
33
|
},
|
|
34
34
|
};
|
|
35
35
|
const Template = ({ text, color, textColor, hasIcon, icon, iconColor, iconSize }) => {
|
|
36
|
-
return `<tttx-
|
|
36
|
+
return `<tttx-tag_1_9_45 text="${text}" color="${color}" text-color="${textColor}" has-icon=${hasIcon} icon="${icon}" icon-color="${iconColor}" icon-size="${iconSize}"></tttx-tag_1_9_45>`;
|
|
37
37
|
};
|
|
38
38
|
export const tag = Template.bind({});
|
|
39
39
|
tag.args = {
|
|
@@ -46,18 +46,18 @@ tag.args = {
|
|
|
46
46
|
};
|
|
47
47
|
const tagTemplates = () => `
|
|
48
48
|
<h2>Default</h2>
|
|
49
|
-
<tttx-
|
|
49
|
+
<tttx-tag_1_9_45 text="Default" color="#d5d5d5" has-icon=true icon="check_circle" icon-color="#397A4C"></tttx-tag_1_9_45>
|
|
50
50
|
<hr />
|
|
51
51
|
<h2>Critical</h2>
|
|
52
|
-
<tttx-
|
|
52
|
+
<tttx-tag_1_9_45 text="Critical" color="#f2bebe" has-icon=true icon="check_circle" icon-color="#397A4C"></tttx-tag_1_9_45>
|
|
53
53
|
<hr />
|
|
54
54
|
<h2>Warning</h2>
|
|
55
|
-
<tttx-
|
|
55
|
+
<tttx-tag_1_9_45 text="Warning" color="#f9e1be" has-icon=true icon="check_circle" icon-color="#397A4C"></tttx-tag_1_9_45>
|
|
56
56
|
<hr />
|
|
57
57
|
<h2>Success</h2>
|
|
58
|
-
<tttx-
|
|
58
|
+
<tttx-tag_1_9_45 text="Success" color="#e4ebc9" has-icon=true icon="check_circle" icon-color="#397A4C"></tttx-tag_1_9_45>
|
|
59
59
|
<hr />
|
|
60
60
|
<h2>Info</h2>
|
|
61
|
-
<tttx-
|
|
61
|
+
<tttx-tag_1_9_45 text="Info" color="#c2daee" has-icon=true icon="check_circle" icon-color="#397A4C"></tttx-tag_1_9_45>
|
|
62
62
|
`;
|
|
63
63
|
export const tags = tagTemplates.bind({});
|
|
@@ -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_45"; }
|
|
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_45 id="off" title="Off by default"></tttx-toggle_1_9_45></div>
|
|
7
|
+
<div><div>On by default</div><tttx-toggle_1_9_45 id="on" initialstate="true" title="True by default"></tttx-toggle_1_9_45></div>
|
|
8
8
|
<script>
|
|
9
9
|
off.addEventListener('toggleSwitchEvent', (ev) => { console.log(ev) });
|
|
10
10
|
on.addEventListener('toggleSwitchEvent', (ev) => { console.log(ev) });
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
.material-symbols-rounded {
|
|
2
|
+
font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.action-dropdown-container {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
position: relative;
|
|
9
|
+
border: 1px solid #d5d5d5;
|
|
10
|
+
border-radius: 4px;
|
|
11
|
+
font-weight: 400;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
width: 220px;
|
|
15
|
+
}
|
|
16
|
+
@media (max-width: 475px) {
|
|
17
|
+
.action-dropdown-container {
|
|
18
|
+
width: 120px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.action-dropdown-container .action-button {
|
|
22
|
+
display: flex;
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
align-items: center;
|
|
25
|
+
background-color: white;
|
|
26
|
+
border: none;
|
|
27
|
+
border-radius: 4px;
|
|
28
|
+
height: 36px;
|
|
29
|
+
padding: 0 8px 0 12px;
|
|
30
|
+
width: 100%;
|
|
31
|
+
}
|
|
32
|
+
@media (max-width: 475px) {
|
|
33
|
+
.action-dropdown-container .action-button {
|
|
34
|
+
padding: 0 6px 0 8px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.action-dropdown-container .action-button .button-content {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
gap: 8px;
|
|
41
|
+
}
|
|
42
|
+
.action-dropdown-container .action-button .button-content .action-text {
|
|
43
|
+
font-size: 16px;
|
|
44
|
+
color: #212121;
|
|
45
|
+
font-weight: 500;
|
|
46
|
+
}
|
|
47
|
+
.action-dropdown-container .action-button .dropdown-arrow {
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
margin-left: auto;
|
|
51
|
+
}
|
|
52
|
+
.action-dropdown-container .action-button .dropdown-arrow .hydrated {
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
}
|
|
56
|
+
.action-dropdown-container .action-button .hydrated {
|
|
57
|
+
display: flex;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
align-items: center;
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
}
|
|
62
|
+
.action-dropdown-container .action-button .material-symbols-rounded {
|
|
63
|
+
color: #212121;
|
|
64
|
+
}
|
|
65
|
+
.action-dropdown-container .action-button:hover {
|
|
66
|
+
background-color: #f0f0f0;
|
|
67
|
+
}
|
|
68
|
+
.action-dropdown-container .action-button:active {
|
|
69
|
+
background-color: #e3e3e3;
|
|
70
|
+
}
|
|
71
|
+
.action-dropdown-container .dropdown-options-list {
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: 36px;
|
|
74
|
+
left: 0;
|
|
75
|
+
z-index: 1;
|
|
76
|
+
width: 220px;
|
|
77
|
+
line-height: 21px;
|
|
78
|
+
font-size: 16px;
|
|
79
|
+
border-radius: 4px;
|
|
80
|
+
padding-top: 8px;
|
|
81
|
+
padding-bottom: 7px;
|
|
82
|
+
box-shadow: 0px 1px 5px #1111114D;
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
background-color: white;
|
|
85
|
+
border: 1px solid #d5d5d5;
|
|
86
|
+
}
|
|
87
|
+
@media (max-width: 475px) {
|
|
88
|
+
.action-dropdown-container .dropdown-options-list {
|
|
89
|
+
width: 220px;
|
|
90
|
+
padding-top: 8px;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
.action-dropdown-container .dropdown-options-list .dropdown-option {
|
|
94
|
+
padding: 8px 16px;
|
|
95
|
+
font-size: 16px;
|
|
96
|
+
line-height: 21px;
|
|
97
|
+
cursor: pointer;
|
|
98
|
+
}
|
|
99
|
+
.action-dropdown-container .dropdown-options-list .dropdown-option:hover, .action-dropdown-container .dropdown-options-list .dropdown-option:focus {
|
|
100
|
+
background-color: #ebfbfc;
|
|
101
|
+
}
|
|
102
|
+
.action-dropdown-container.--expanded {
|
|
103
|
+
border-color: #1579c6;
|
|
104
|
+
}
|
|
105
|
+
@media (max-width: 475px) {
|
|
106
|
+
.action-dropdown-container.--expanded {
|
|
107
|
+
border-color: #1579c6;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2
|
+
import { h, Host } from '@stencil/core';
|
|
3
|
+
export class TttxActionDropdown {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.actionKey = undefined;
|
|
6
|
+
this.icon = 'download';
|
|
7
|
+
this.fieldOptionsData = null;
|
|
8
|
+
this.defaultOption = 'ACTION';
|
|
9
|
+
this.isIconVisible = true;
|
|
10
|
+
this.selectedField = 'ACTION';
|
|
11
|
+
this.dropdownExpand = false;
|
|
12
|
+
this.dropdownOptions = undefined;
|
|
13
|
+
}
|
|
14
|
+
componentWillLoad() {
|
|
15
|
+
this.selectedField = this.defaultOption || 'ACTION';
|
|
16
|
+
}
|
|
17
|
+
handleCloseActionDropdown() {
|
|
18
|
+
this.dropdownExpand = false;
|
|
19
|
+
}
|
|
20
|
+
emitActionEvent(actionField) {
|
|
21
|
+
this.actionDropdownChangeEvent.emit({
|
|
22
|
+
actionKey: this.actionKey,
|
|
23
|
+
actionField: actionField,
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
onActionClick(event) {
|
|
27
|
+
event.preventDefault();
|
|
28
|
+
this.dropdownExpand = !this.dropdownExpand;
|
|
29
|
+
this.toggleActionDropdown.emit(this.dropdownExpand);
|
|
30
|
+
}
|
|
31
|
+
onDropdownSelected(event) {
|
|
32
|
+
this.dropdownExpand = false;
|
|
33
|
+
const target = event.target;
|
|
34
|
+
const selectedActionType = target.innerHTML;
|
|
35
|
+
this.emitActionEvent(selectedActionType);
|
|
36
|
+
this.toggleActionDropdown.emit(this.dropdownExpand);
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
const parsedFieldOptionsData = typeof this.fieldOptionsData === 'string' ? JSON.parse(this.fieldOptionsData) : this.fieldOptionsData;
|
|
40
|
+
if (!this.fieldOptionsData)
|
|
41
|
+
return;
|
|
42
|
+
const actionKey = `action-dropdown__${this.actionKey}`;
|
|
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-icon_1_9_45", { icon: this.icon, color: "black" })), h("span", { class: "action-text" }, this.selectedField)), h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_45", { icon: chevronIcon, color: "black" }))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.actionOptions.map(option => {
|
|
45
|
+
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
46
|
+
}))))));
|
|
47
|
+
}
|
|
48
|
+
static get is() { return "tttx-action-dropdown_1_9_45"; }
|
|
49
|
+
static get encapsulation() { return "shadow"; }
|
|
50
|
+
static get originalStyleUrls() {
|
|
51
|
+
return {
|
|
52
|
+
"$": ["tttx-action-dropdown.scss"]
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
static get styleUrls() {
|
|
56
|
+
return {
|
|
57
|
+
"$": ["tttx-action-dropdown.css"]
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
static get properties() {
|
|
61
|
+
return {
|
|
62
|
+
"actionKey": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"mutable": false,
|
|
65
|
+
"complexType": {
|
|
66
|
+
"original": "string",
|
|
67
|
+
"resolved": "string",
|
|
68
|
+
"references": {}
|
|
69
|
+
},
|
|
70
|
+
"required": false,
|
|
71
|
+
"optional": false,
|
|
72
|
+
"docs": {
|
|
73
|
+
"tags": [],
|
|
74
|
+
"text": ""
|
|
75
|
+
},
|
|
76
|
+
"attribute": "action-key",
|
|
77
|
+
"reflect": false
|
|
78
|
+
},
|
|
79
|
+
"icon": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"mutable": false,
|
|
82
|
+
"complexType": {
|
|
83
|
+
"original": "string",
|
|
84
|
+
"resolved": "string",
|
|
85
|
+
"references": {}
|
|
86
|
+
},
|
|
87
|
+
"required": false,
|
|
88
|
+
"optional": false,
|
|
89
|
+
"docs": {
|
|
90
|
+
"tags": [],
|
|
91
|
+
"text": ""
|
|
92
|
+
},
|
|
93
|
+
"attribute": "icon",
|
|
94
|
+
"reflect": false,
|
|
95
|
+
"defaultValue": "'download'"
|
|
96
|
+
},
|
|
97
|
+
"fieldOptionsData": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"mutable": false,
|
|
100
|
+
"complexType": {
|
|
101
|
+
"original": "string | ActionDropdownData",
|
|
102
|
+
"resolved": "ActionDropdownData | string",
|
|
103
|
+
"references": {
|
|
104
|
+
"ActionDropdownData": {
|
|
105
|
+
"location": "import",
|
|
106
|
+
"path": "./interfaces"
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"required": false,
|
|
111
|
+
"optional": false,
|
|
112
|
+
"docs": {
|
|
113
|
+
"tags": [],
|
|
114
|
+
"text": ""
|
|
115
|
+
},
|
|
116
|
+
"attribute": "field-options-data",
|
|
117
|
+
"reflect": false,
|
|
118
|
+
"defaultValue": "null"
|
|
119
|
+
},
|
|
120
|
+
"defaultOption": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"mutable": false,
|
|
123
|
+
"complexType": {
|
|
124
|
+
"original": "string",
|
|
125
|
+
"resolved": "string",
|
|
126
|
+
"references": {}
|
|
127
|
+
},
|
|
128
|
+
"required": false,
|
|
129
|
+
"optional": false,
|
|
130
|
+
"docs": {
|
|
131
|
+
"tags": [],
|
|
132
|
+
"text": ""
|
|
133
|
+
},
|
|
134
|
+
"attribute": "default-option",
|
|
135
|
+
"reflect": false,
|
|
136
|
+
"defaultValue": "'ACTION'"
|
|
137
|
+
},
|
|
138
|
+
"isIconVisible": {
|
|
139
|
+
"type": "boolean",
|
|
140
|
+
"mutable": false,
|
|
141
|
+
"complexType": {
|
|
142
|
+
"original": "boolean",
|
|
143
|
+
"resolved": "boolean",
|
|
144
|
+
"references": {}
|
|
145
|
+
},
|
|
146
|
+
"required": false,
|
|
147
|
+
"optional": false,
|
|
148
|
+
"docs": {
|
|
149
|
+
"tags": [],
|
|
150
|
+
"text": ""
|
|
151
|
+
},
|
|
152
|
+
"attribute": "is-icon-visible",
|
|
153
|
+
"reflect": false,
|
|
154
|
+
"defaultValue": "true"
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
static get states() {
|
|
159
|
+
return {
|
|
160
|
+
"selectedField": {},
|
|
161
|
+
"dropdownExpand": {},
|
|
162
|
+
"dropdownOptions": {}
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
static get events() {
|
|
166
|
+
return [{
|
|
167
|
+
"method": "actionDropdownChangeEvent",
|
|
168
|
+
"name": "actionDropdownChangeEvent",
|
|
169
|
+
"bubbles": true,
|
|
170
|
+
"cancelable": true,
|
|
171
|
+
"composed": true,
|
|
172
|
+
"docs": {
|
|
173
|
+
"tags": [],
|
|
174
|
+
"text": ""
|
|
175
|
+
},
|
|
176
|
+
"complexType": {
|
|
177
|
+
"original": "ActionDropdownChangeEvent",
|
|
178
|
+
"resolved": "ActionDropdownChangeEvent",
|
|
179
|
+
"references": {
|
|
180
|
+
"ActionDropdownChangeEvent": {
|
|
181
|
+
"location": "import",
|
|
182
|
+
"path": "./interfaces"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}, {
|
|
187
|
+
"method": "toggleActionDropdown",
|
|
188
|
+
"name": "toggleActionDropdown",
|
|
189
|
+
"bubbles": true,
|
|
190
|
+
"cancelable": true,
|
|
191
|
+
"composed": true,
|
|
192
|
+
"docs": {
|
|
193
|
+
"tags": [],
|
|
194
|
+
"text": ""
|
|
195
|
+
},
|
|
196
|
+
"complexType": {
|
|
197
|
+
"original": "boolean",
|
|
198
|
+
"resolved": "boolean",
|
|
199
|
+
"references": {}
|
|
200
|
+
}
|
|
201
|
+
}];
|
|
202
|
+
}
|
|
203
|
+
static get elementRef() { return "el"; }
|
|
204
|
+
static get listeners() {
|
|
205
|
+
return [{
|
|
206
|
+
"name": "closeActionDropdown",
|
|
207
|
+
"method": "handleCloseActionDropdown",
|
|
208
|
+
"target": undefined,
|
|
209
|
+
"capture": false,
|
|
210
|
+
"passive": false
|
|
211
|
+
}];
|
|
212
|
+
}
|
|
213
|
+
}
|
package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { withActions } from '@storybook/addon-actions/decorator';
|
|
2
|
+
export default {
|
|
3
|
+
title: 'molecules/Action Dropdown',
|
|
4
|
+
component: 'tttx-action-dropdown',
|
|
5
|
+
argTypes: {
|
|
6
|
+
fieldOptionsData: {
|
|
7
|
+
control: { type: 'object' },
|
|
8
|
+
},
|
|
9
|
+
actionKey: {
|
|
10
|
+
control: { type: 'text' },
|
|
11
|
+
},
|
|
12
|
+
icon: {
|
|
13
|
+
control: { type: 'text' },
|
|
14
|
+
},
|
|
15
|
+
isIconVisible: {
|
|
16
|
+
control: { type: 'boolean' },
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
parameters: {
|
|
20
|
+
actions: {
|
|
21
|
+
handles: ['actionDropdownChangeEvent'],
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
decorators: [withActions],
|
|
25
|
+
};
|
|
26
|
+
const TemplateActionDropdown = ({ fieldOptionsData, actionKey, icon, isIconVisible }) => {
|
|
27
|
+
return `
|
|
28
|
+
<div style='width: 250px;'>
|
|
29
|
+
<tttx-action-dropdown_1_9_45
|
|
30
|
+
field-options-data='${JSON.stringify(fieldOptionsData)}'
|
|
31
|
+
action-key='${actionKey}'
|
|
32
|
+
icon='${icon}'
|
|
33
|
+
is-icon-visible='${isIconVisible}'/>
|
|
34
|
+
</div>
|
|
35
|
+
`;
|
|
36
|
+
};
|
|
37
|
+
const fieldOptionsData = {
|
|
38
|
+
actionOptions: [{ optionLabel: 'Export as PDF' }, { optionLabel: 'Export as Excel' }, { optionLabel: 'Export as CSV' },],
|
|
39
|
+
};
|
|
40
|
+
export const BasicActionDropdown = TemplateActionDropdown.bind({});
|
|
41
|
+
BasicActionDropdown.args = {
|
|
42
|
+
fieldOptionsData: fieldOptionsData,
|
|
43
|
+
actionKey: 'BasicAction',
|
|
44
|
+
icon: 'download',
|
|
45
|
+
isIconVisible: true,
|
|
46
|
+
};
|
|
47
|
+
export const ActionDropdownWithoutIcon = TemplateActionDropdown.bind({});
|
|
48
|
+
ActionDropdownWithoutIcon.args = {
|
|
49
|
+
fieldOptionsData: fieldOptionsData,
|
|
50
|
+
actionKey: 'NoArrowAction',
|
|
51
|
+
icon: 'download',
|
|
52
|
+
isIconVisible: false,
|
|
53
|
+
};
|
|
54
|
+
export const DocumentActionDropdown = TemplateActionDropdown.bind({});
|
|
55
|
+
DocumentActionDropdown.args = {
|
|
56
|
+
fieldOptionsData: {
|
|
57
|
+
actionOptions: [{ optionLabel: 'Word Document' }, { optionLabel: 'PowerPoint' }, { optionLabel: 'Text File' }],
|
|
58
|
+
},
|
|
59
|
+
actionKey: 'DocumentAction',
|
|
60
|
+
icon: 'description',
|
|
61
|
+
isIconVisible: true,
|
|
62
|
+
};
|
|
@@ -3,7 +3,7 @@ export class TttxCheckboxGroupCaption {
|
|
|
3
3
|
render() {
|
|
4
4
|
return (h(Host, null, h("div", { class: 'tttx-checkbox-group__caption' }, h("slot", null))));
|
|
5
5
|
}
|
|
6
|
-
static get is() { return "tttx-checkbox-group-
|
|
6
|
+
static get is() { return "tttx-checkbox-group-caption_1_9_45"; }
|
|
7
7
|
static get originalStyleUrls() {
|
|
8
8
|
return {
|
|
9
9
|
"$": ["../tttx-checkbox-group.scss"]
|
|
@@ -3,7 +3,7 @@ export class TttxCheckboxGroupHeading {
|
|
|
3
3
|
render() {
|
|
4
4
|
return (h(Host, null, h("div", { class: 'tttx-checkbox-group__heading' }, h("slot", null))));
|
|
5
5
|
}
|
|
6
|
-
static get is() { return "tttx-checkbox-group-
|
|
6
|
+
static get is() { return "tttx-checkbox-group-heading_1_9_45"; }
|
|
7
7
|
static get originalStyleUrls() {
|
|
8
8
|
return {
|
|
9
9
|
"$": ["../tttx-checkbox-group.scss"]
|
|
@@ -3,7 +3,7 @@ export class TttxCheckboxGroup {
|
|
|
3
3
|
render() {
|
|
4
4
|
return (h(Host, null, h("div", { class: 'tttx-checkbox-group' }, h("slot", null))));
|
|
5
5
|
}
|
|
6
|
-
static get is() { return "tttx-checkbox-
|
|
6
|
+
static get is() { return "tttx-checkbox-group_1_9_45"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
8
8
|
static get originalStyleUrls() {
|
|
9
9
|
return {
|
package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js
CHANGED
|
@@ -10,38 +10,38 @@ export default {
|
|
|
10
10
|
};
|
|
11
11
|
const CheckboxGroupTemplate = ({ heading, checkboxData, captionTop, captionBottom }) => {
|
|
12
12
|
return `
|
|
13
|
-
<tttx-checkbox-
|
|
13
|
+
<tttx-checkbox-group_1_9_45 >
|
|
14
14
|
${heading ? `
|
|
15
|
-
<tttx-checkbox-group-
|
|
15
|
+
<tttx-checkbox-group-heading_1_9_45>
|
|
16
16
|
${heading}
|
|
17
|
-
</tttx-checkbox-group-
|
|
17
|
+
</tttx-checkbox-group-heading_1_9_45>
|
|
18
18
|
` : ''}
|
|
19
19
|
|
|
20
20
|
${captionTop ? `
|
|
21
|
-
<tttx-checkbox-group-
|
|
21
|
+
<tttx-checkbox-group-caption_1_9_45>
|
|
22
22
|
${captionTop}
|
|
23
|
-
</tttx-checkbox-group-
|
|
23
|
+
</tttx-checkbox-group-caption_1_9_45>
|
|
24
24
|
` : ''}
|
|
25
25
|
|
|
26
26
|
${checkboxData.map(checkboxInfo => {
|
|
27
27
|
const { label, checked, inline, indeterminate } = checkboxInfo;
|
|
28
28
|
return `
|
|
29
|
-
<tttx-
|
|
29
|
+
<tttx-checkbox_1_9_45
|
|
30
30
|
checkbox-id="checkbox"
|
|
31
31
|
label="${label}"
|
|
32
32
|
${inline && 'inline'}
|
|
33
33
|
${indeterminate && 'indeterminate'}
|
|
34
34
|
${checked && 'checked'}
|
|
35
35
|
>
|
|
36
|
-
</tttx-
|
|
36
|
+
</tttx-checkbox_1_9_45> `;
|
|
37
37
|
}).join('')}
|
|
38
38
|
|
|
39
39
|
${captionBottom ? `
|
|
40
|
-
<tttx-checkbox-group-
|
|
40
|
+
<tttx-checkbox-group-caption_1_9_45>
|
|
41
41
|
${captionBottom}
|
|
42
|
-
</tttx-checkbox-group-
|
|
42
|
+
</tttx-checkbox-group-caption_1_9_45>
|
|
43
43
|
` : ''}
|
|
44
|
-
</tttx-checkbox-
|
|
44
|
+
</tttx-checkbox-group_1_9_45>
|
|
45
45
|
`;
|
|
46
46
|
};
|
|
47
47
|
export const singleCheckbox = CheckboxGroupTemplate.bind({});
|
|
@@ -106,9 +106,9 @@ export class TttxComments {
|
|
|
106
106
|
this.blurChanged.emit(target.value);
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h(Host, null, h("article", { id: "comment-container" }, h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, h("form", { onSubmit: this.onFormSubmit.bind(this) }, h("fieldset", null, h("textarea", { name: "commentText", required: true, maxlength: `${this.messageLimit}`, placeholder: this.placeholder, onInput: (e) => this.onCommentFieldChange(e), style: { '--textarea-max-height': `${this.inputBoxHeight}px` }, class: "comment-textarea", value: this.value, onBlur: this.handleBlur.bind(this) })), this.showError && (h("span", { class: 'errorBubble visible' }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), h("fieldset", null, !this.disableFile && (h("button", { id: "attach-file", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-
|
|
109
|
+
return (h(Host, null, h("article", { id: "comment-container" }, h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, h("form", { onSubmit: this.onFormSubmit.bind(this) }, h("fieldset", null, h("textarea", { name: "commentText", required: true, maxlength: `${this.messageLimit}`, placeholder: this.placeholder, onInput: (e) => this.onCommentFieldChange(e), style: { '--textarea-max-height': `${this.inputBoxHeight}px` }, class: "comment-textarea", value: this.value, onBlur: this.handleBlur.bind(this) })), this.showError && (h("span", { class: 'errorBubble visible' }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), h("fieldset", null, !this.disableFile && (h("button", { id: "attach-file", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-icon_1_9_45", { color: "black", icon: "attach_file" }))), h("input", { type: "submit", value: this.saveButtonText })))))));
|
|
110
110
|
}
|
|
111
|
-
static get is() { return "tttx-
|
|
111
|
+
static get is() { return "tttx-comments_1_9_45"; }
|
|
112
112
|
static get encapsulation() { return "shadow"; }
|
|
113
113
|
static get originalStyleUrls() {
|
|
114
114
|
return {
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
};
|
|
7
7
|
const Default = ({ currentUser, comments }) => `
|
|
8
8
|
<section style="width: 300px; display: inline-block; height: calc(100vh - 50px)">
|
|
9
|
-
<tttx-
|
|
9
|
+
<tttx-comments_1_9_45 currentuser="${currentUser}" comments='${JSON.stringify(comments)}'></tttx-comments_1_9_45>
|
|
10
10
|
</section>
|
|
11
11
|
`;
|
|
12
12
|
export const DefaultComments = Default.bind({});
|
|
@@ -36,7 +36,7 @@ export class TttxDialog {
|
|
|
36
36
|
renderHeader() {
|
|
37
37
|
const iconEnabled = typeof this.type !== 'undefined';
|
|
38
38
|
const { iconName, iconColor } = this.headerIconDetails(iconEnabled);
|
|
39
|
-
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-
|
|
39
|
+
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-icon_1_9_45", { class: "icon", icon: iconName, color: iconColor }), h("h3", { class: "title", title: this.header }, this.header), this.closeEnabled && (h("tttx-button_1_9_45", { class: "align-right close-button", design: "borderless-circle", icon: "close", color: "black", notext: true, onClick: () => this.onCloseClickHandler() }))));
|
|
40
40
|
}
|
|
41
41
|
body() {
|
|
42
42
|
return (h("div", { class: `body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, h("span", { class: "body-content" }, h("slot", null))));
|
|
@@ -60,7 +60,7 @@ export class TttxDialog {
|
|
|
60
60
|
render() {
|
|
61
61
|
return (h("dialog", { ref: el => (this.dialog = el), class: `dialog-box ${this.allowOverflow ? 'overflow-visible' : ''} ${this.elementSize}` }, h("div", { class: "contents" }, this.renderHeader(), this.body(), this.footer())));
|
|
62
62
|
}
|
|
63
|
-
static get is() { return "tttx-
|
|
63
|
+
static get is() { return "tttx-dialog_1_9_45"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
65
65
|
static get originalStyleUrls() {
|
|
66
66
|
return {
|