@3t-transform/threeteeui 0.2.71 → 0.2.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.
Files changed (45) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/tttx-dialog-box.cjs.entry.js +5 -4
  3. package/dist/cjs/tttx-select-box.cjs.entry.js +3 -4
  4. package/dist/cjs/tttx-tabs.cjs.entry.js +97 -0
  5. package/dist/cjs/tttx.cjs.js +1 -1
  6. package/dist/collection/collection-manifest.json +1 -0
  7. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.css +8 -1
  8. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +22 -3
  9. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.css +5 -2
  10. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +2 -3
  11. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +1 -0
  12. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.css +46 -0
  13. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +237 -0
  14. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +91 -0
  15. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +45 -0
  16. package/dist/components/index.d.ts +1 -0
  17. package/dist/components/index.js +1 -0
  18. package/dist/components/tttx-dialog-box.js +6 -4
  19. package/dist/components/tttx-select-box.js +3 -4
  20. package/dist/components/tttx-tabs.d.ts +11 -0
  21. package/dist/components/tttx-tabs.js +121 -0
  22. package/dist/esm/loader.js +1 -1
  23. package/dist/esm/tttx-dialog-box.entry.js +5 -4
  24. package/dist/esm/tttx-select-box.entry.js +3 -4
  25. package/dist/esm/tttx-tabs.entry.js +93 -0
  26. package/dist/esm/tttx.js +1 -1
  27. package/dist/tttx/p-67c342d7.entry.js +1 -0
  28. package/dist/tttx/p-d9444b12.entry.js +1 -0
  29. package/dist/tttx/p-f34bface.entry.js +1 -0
  30. package/dist/tttx/tttx.esm.js +1 -1
  31. package/dist/types/components/atoms/tttx-qrcode/tttx-qrcode.d.ts +1 -1
  32. package/dist/types/components/molecules/tttx-dialog-box/tttx-dialog-box.d.ts +1 -0
  33. package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +1 -2
  34. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -2
  35. package/dist/types/components/molecules/tttx-tabs/interfaces.d.ts +8 -0
  36. package/dist/types/components/molecules/tttx-tabs/tttx-tabs.d.ts +23 -0
  37. package/dist/types/components/molecules/tttx-tabs/tttx-tabs.stories.d.ts +13 -0
  38. package/dist/types/components/molecules/tttx-tree-view/helper/helper.d.ts +2 -2
  39. package/dist/types/components/molecules/tttx-tree-view/tttx-tree-view.stories.d.ts +2 -0
  40. package/dist/types/components.d.ts +31 -0
  41. package/package.json +17 -14
  42. package/dist/collection/docs/gettingstarted-developer.stories.js +0 -9
  43. package/dist/tttx/p-27bc0666.entry.js +0 -1
  44. package/dist/tttx/p-d77e74fd.entry.js +0 -1
  45. package/dist/types/docs/gettingstarted-developer.stories.d.ts +0 -5
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["tttx-dialog-box.cjs",[[1,"tttx-dialog-box",{"data":[1025],"size":[1],"open":[1028],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-select-box.cjs",[[1,"tttx-select-box",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"open":[32],"selectedItem":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-tree-view.cjs",[[1,"tttx-tree-view",{"data":[1040],"treeData":[32]}]]],["tttx-filter.cjs",[[1,"tttx-filter",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]]]],["tttx-list.cjs",[[1,"tttx-list",{"data":[1025],"name":[1],"_data":[32]}]]],["tttx-sorter.cjs",[[1,"tttx-sorter",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]]]],["tttx-form.cjs",[[1,"tttx-form",{"formschema":[1032],"data":[1032],"submit":[64]}]]],["tttx-keyvalue-block.cjs",[[1,"tttx-keyvalue-block",{"keyvalues":[8],"horizontal":[4]}]]],["tttx-loading-spinner.cjs",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-qrcode.cjs",[[1,"tttx-qrcode",{"link":[1025],"size":[1026]}]]],["tttx-tag.cjs",[[1,"tttx-tag",{"text":[1],"color":[1]}]]],["tttx-toolbar.cjs",[[1,"tttx-toolbar",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-icon.cjs",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]],["tttx-standalone-input.cjs",[[2,"tttx-standalone-input",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-button.cjs",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
17
+ return index.bootstrapLazy([["tttx-dialog-box.cjs",[[1,"tttx-dialog-box",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-select-box.cjs",[[1,"tttx-select-box",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"open":[32],"selectedItem":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-tree-view.cjs",[[1,"tttx-tree-view",{"data":[1040],"treeData":[32]}]]],["tttx-filter.cjs",[[1,"tttx-filter",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]]]],["tttx-list.cjs",[[1,"tttx-list",{"data":[1025],"name":[1],"_data":[32]}]]],["tttx-sorter.cjs",[[1,"tttx-sorter",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]]]],["tttx-tabs.cjs",[[2,"tttx-tabs",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-form.cjs",[[1,"tttx-form",{"formschema":[1032],"data":[1032],"submit":[64]}]]],["tttx-keyvalue-block.cjs",[[1,"tttx-keyvalue-block",{"keyvalues":[8],"horizontal":[4]}]]],["tttx-loading-spinner.cjs",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-qrcode.cjs",[[1,"tttx-qrcode",{"link":[1025],"size":[1026]}]]],["tttx-tag.cjs",[[1,"tttx-tag",{"text":[1],"color":[1]}]]],["tttx-toolbar.cjs",[[1,"tttx-toolbar",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-icon.cjs",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]],["tttx-standalone-input.cjs",[[2,"tttx-standalone-input",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-button.cjs",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
18
18
  });
19
19
  };
20
20
 
@@ -6,7 +6,7 @@ const index = require('./index-4cfa8e25.js');
6
6
  const domsanitiser_options = require('./domsanitiser.options-1dfa7205.js');
7
7
  require('./_commonjsHelpers-537d719a.js');
8
8
 
9
- const tttxDialogBoxCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded{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}h3{margin-block-start:0em;margin-block-end:0em}.dialog-box{background-color:#ffffff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0px 1px 5px #1111114d;padding:0}dialog::backdrop{background-color:#75757580}.dialog-box.small{width:400px;min-height:200px}.dialog-box.regular{width:600px;min-height:200px}.dialog-box.large{width:900px;min-height:200px}.dialog-box.mobile{max-width:424px;width:calc(100vw - 20px)}.dialog-box-clickable{cursor:pointer}.contents{display:flex;flex-direction:column;min-height:inherit}.dialog-box-padding{padding:8px 16px}.dialog-box-align-right{margin-left:auto;display:flex}.dialog-box-header-box{border-bottom:1px solid #d5d5d5;display:flex;flex-direction:row;height:36px}.dialog-box-header{display:flex;align-items:center;width:100%}.dialog-box-title{font-size:18;font-weight:500;font-family:\"Roboto\", serif}.dialog-box-icon{padding-right:8px;width:24px;height:24px}.dialog-box-icon-close{margin-left:auto;padding-top:3px;width:24px;height:24px}.dialog-box-content{font-size:16;font-weight:400;font-family:\"Roboto\", serif}.dialog-box-body{overflow:hidden;text-overflow:ellipsis}.dialog-box-body-box{padding:16px}.dialog-box-footer-box{display:flex;flex-direction:row;margin-top:auto;border-top:1px solid #d5d5d5;height:36px}.dialog-box-footer{display:flex;align-items:center;width:100%}.dialog-box-spacing-button{margin-right:8px}.dialog-box-header-box.info{border-bottom:1px solid #1479c6}.dialog-box-header-box.success{border-bottom:1px solid #a2bb31}.dialog-box-header-box.warning{border-bottom:1px solid #f59500}.dialog-box-header-box.critical{border-bottom:1px solid #dc0000}";
9
+ const tttxDialogBoxCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded{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}h3{margin-block-start:0em;margin-block-end:0em}.dialog-box{background-color:#ffffff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0px 1px 5px #1111114d;padding:0}.overflow-visible{overflow:visible}.overflow-hidden{overflow:hidden}dialog::backdrop{background-color:#75757580}.dialog-box.small{width:400px;min-height:200px}.dialog-box.regular{width:600px;min-height:200px}.dialog-box.large{width:900px;min-height:200px}.dialog-box.mobile{max-width:424px;width:calc(100vw - 20px)}.dialog-box-clickable{cursor:pointer}.contents{display:flex;flex-direction:column;min-height:inherit}.dialog-box-padding{padding:8px 16px}.dialog-box-align-right{margin-left:auto;display:flex}.dialog-box-header-box{border-bottom:1px solid #d5d5d5;display:flex;flex-direction:row;height:36px}.dialog-box-header{display:flex;align-items:center;width:100%}.dialog-box-title{font-size:18;font-weight:500;font-family:\"Roboto\", serif}.dialog-box-icon{padding-right:8px;width:24px;height:24px}.dialog-box-icon-close{margin-left:auto;padding-top:3px;width:24px;height:24px}.dialog-box-content{font-size:16;font-weight:400;font-family:\"Roboto\", serif}.dialog-box-body{text-overflow:ellipsis}.dialog-box-body-box{padding:16px}.dialog-box-footer-box{display:flex;flex-direction:row;margin-top:auto;border-top:1px solid #d5d5d5;height:36px}.dialog-box-footer{display:flex;align-items:center;width:100%}.dialog-box-spacing-button{margin-right:8px}.dialog-box-header-box.info{border-bottom:1px solid #1479c6}.dialog-box-header-box.success{border-bottom:1px solid #a2bb31}.dialog-box-header-box.warning{border-bottom:1px solid #f59500}.dialog-box-header-box.critical{border-bottom:1px solid #dc0000}";
10
10
 
11
11
  const TttxDialogBox = class {
12
12
  constructor(hostRef) {
@@ -16,6 +16,7 @@ const TttxDialogBox = class {
16
16
  this.data = undefined;
17
17
  this.size = 'regular';
18
18
  this.open = false;
19
+ this.allowOverflow = false;
19
20
  this.elementSize = undefined;
20
21
  }
21
22
  handleResize() {
@@ -58,10 +59,10 @@ const TttxDialogBox = class {
58
59
  renderContent(content) {
59
60
  if (content.isCustomHtml) {
60
61
  const cleanHTML = domsanitiser_options.purify.sanitize(content.customHtml, domsanitiser_options.domSanitiserOptions);
61
- return (index.h("div", { class: "dialog-box-body" }, index.h("div", { innerHTML: cleanHTML })));
62
+ return (index.h("div", { class: `dialog-box-body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, index.h("div", { innerHTML: cleanHTML })));
62
63
  }
63
64
  else {
64
- return (index.h("div", { class: "dialog-box-body" }, index.h("span", { class: "dialog-box-content" }, content.contentText)));
65
+ return (index.h("div", { class: `dialog-box-body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, index.h("span", { class: "dialog-box-content" }, content.contentText)));
65
66
  }
66
67
  }
67
68
  renderFooter(footer) {
@@ -89,7 +90,7 @@ const TttxDialogBox = class {
89
90
  else {
90
91
  this._data = this.data;
91
92
  }
92
- return (index.h("dialog", { class: `dialog-box ${this.elementSize}` }, index.h("div", { class: "contents" }, index.h("div", { class: `dialog-box-padding dialog-box-header-box ${this._data.type || ''}` }, this.renderHeader(this._data.header)), index.h("div", { class: "dialog-box-padding dialog-box-body-box" }, this.renderContent(this._data.body)), index.h("div", { class: "dialog-box-padding dialog-box-footer-box" }, this.renderFooter(this._data.footer)))));
93
+ return (index.h("dialog", { class: `dialog-box ${this.allowOverflow ? 'overflow-visible' : ''} ${this.elementSize}` }, index.h("div", { class: "contents" }, index.h("div", { class: `dialog-box-padding dialog-box-header-box ${this._data.type || ''}` }, this.renderHeader(this._data.header)), index.h("div", { class: "dialog-box-padding dialog-box-body-box" }, this.renderContent(this._data.body)), index.h("div", { class: "dialog-box-padding dialog-box-footer-box" }, this.renderFooter(this._data.footer)))));
93
94
  }
94
95
  get el() { return index.getElement(this); }
95
96
  };
@@ -6,7 +6,7 @@ const index = require('./index-4cfa8e25.js');
6
6
  const domsanitiser_options = require('./domsanitiser.options-1dfa7205.js');
7
7
  require('./_commonjsHelpers-537d719a.js');
8
8
 
9
- const tttxSelectBoxCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:flex;gap:4px}.label{font-size:16px;font-style:normal;font-weight:500;line-height:normal}:host(.inline) .label{padding-top:8px}:host(.block){flex-direction:column}.dropdown-container{position:relative;display:flex;flex-direction:column;width:100%}.dropdown-container:focus-visible{outline:none}.dropdown-container:focus .dropdown-selector{border:1px solid #1479c6}.dropdown-selector,.dropdown-body{display:flex;border-radius:4px;background-color:white}.dropdown-selector{align-items:center;gap:8px;padding:8px 8px 8px 16px;cursor:pointer;border:1px solid #d5d5d5}.dropdown-selector-chevron{margin-left:auto;height:24px}.dropdown-body{display:flex;position:fixed;z-index:1000;flex-direction:column;top:inherit;margin-top:45px;box-shadow:0px 1px 5px #1111114D;padding-bottom:8px;border:1px solid #d5d5d5}.dropdown-body.search{max-height:410px}.dropdown-options-list{display:flex;flex-direction:column;overflow-y:auto;max-height:368px}.dropdown-option{padding:8px 8px 8px 16px;cursor:pointer}.dropdown-option:hover{background-color:#1111110d}.dropdown-option:active,.dropdown-option.selected{background-color:#ebfbfc}.placeholder{color:#9e9e9e}.searchbox{padding:8px 16px 0 16px}.searchbox tttx-standalone-input{margin-top:-4px}.hidden{display:none}";
9
+ const tttxSelectBoxCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:flex;gap:4px}.label{font-size:16px;font-style:normal;font-weight:500;line-height:normal}:host(.inline) .label{padding-top:8px}:host(.block){flex-direction:column}.dropdown-container{position:relative;display:flex;flex-direction:column;width:100%}.dropdown-container:focus-visible{outline:none}.dropdown-container:focus .dropdown-selector{border:1px solid #1479c6}.dropdown-selector,.dropdown-body{display:flex;border-radius:4px;background-color:white}.dropdown-selector{align-items:center;gap:8px;padding:8px 8px 8px 16px;cursor:pointer;border:1px solid #d5d5d5}.dropdown-selector-chevron{margin-left:auto;height:24px}.dropdown-selector-chevron>tttx-icon{cursor:pointer}.dropdown-body{display:flex;position:absolute;flex-direction:column;top:inherit;margin-top:45px;box-shadow:0px 1px 5px #1111114D;padding-bottom:8px;border:1px solid #d5d5d5}.dropdown-body.search{max-height:410px}.dropdown-options-list{display:flex;flex-direction:column;overflow-y:auto;max-height:368px}.dropdown-option{padding:8px 8px 8px 16px;cursor:pointer}.dropdown-option:hover{background-color:#1111110d}.dropdown-option:active,.dropdown-option.selected{background-color:#ebfbfc}.placeholder{color:#9e9e9e}.searchbox{padding:8px 16px 0 16px}.searchbox tttx-standalone-input{margin-top:-4px}.hidden{display:none}";
10
10
 
11
11
  const TttxSelectBox = class {
12
12
  constructor(hostRef) {
@@ -38,11 +38,10 @@ const TttxSelectBox = class {
38
38
  this.open = false;
39
39
  this.toggleOpen.emit(false);
40
40
  }
41
- onDropdownClicked(event) {
41
+ onDropdownClicked() {
42
42
  this.open = !this.open;
43
43
  this.searchTerm = '';
44
44
  this.toggleOpen.emit(this.open);
45
- this.dropDownWidth = event.target.offsetWidth;
46
45
  }
47
46
  onItemSelected(option) {
48
47
  this.selectedItem = option;
@@ -76,7 +75,7 @@ const TttxSelectBox = class {
76
75
  return;
77
76
  const parsedOptionsData = typeof this.optionsData === 'string' ? JSON.parse(this.optionsData) : this.optionsData;
78
77
  const chevronIcon = this.open ? 'expand_less' : 'expand_more';
79
- 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", onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), index.h("div", { class: "dropdown-selector-chevron" }, index.h("tttx-icon", { icon: chevronIcon, color: "black" }))), this.open && (index.h("div", { class: "dropdown-body", style: { 'width': `${this.dropDownWidth}px` } }, this.searchEnabled &&
78
+ 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", onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), index.h("div", { class: "dropdown-selector-chevron" }, index.h("tttx-icon", { icon: chevronIcon, color: "black" }))), this.open && (index.h("div", { class: "dropdown-body", style: { 'width': `${this.el.offsetWidth}px` } }, this.searchEnabled &&
80
79
  /* istanbul ignore next */
81
80
  index.h("div", { class: "searchbox" }, index.h("tttx-standalone-input", { type: "text", label: "", required: true, showerrorbubble: false, iconleft: 'search', onInput: this.handleSearchInput.bind(this) })), index.h("div", { class: "dropdown-options-list" }, parsedOptionsData.map((option) => {
82
81
  return this.dropdownOption(option);
@@ -0,0 +1,97 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-4cfa8e25.js');
6
+ const domsanitiser_options = require('./domsanitiser.options-1dfa7205.js');
7
+ require('./_commonjsHelpers-537d719a.js');
8
+
9
+ const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs-h{display:block}.tab-bar.sc-tttx-tabs{display:flex;height:52px}.tab-bar.sc-tttx-tabs>.left-navigation.sc-tttx-tabs,.tab-bar.sc-tttx-tabs>.right-navigation.sc-tttx-tabs{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs>.left-navigation.sc-tttx-tabs>*.sc-tttx-tabs,.tab-bar.sc-tttx-tabs>.right-navigation.sc-tttx-tabs>*.sc-tttx-tabs{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs>.tabs-container.sc-tttx-tabs{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs>.tabs-container.wide.sc-tttx-tabs{flex-grow:1}.tab-bar.sc-tttx-tabs>.tabs-container.sc-tttx-tabs>*[role=tab].sc-tttx-tabs{padding:18px 16px;line-height:16px;font-size:14px;font-weight:500;text-transform:uppercase;user-select:none;color:#757575;cursor:pointer}.tab-bar.sc-tttx-tabs>.tabs-container.sc-tttx-tabs>*[role=tab].sc-tttx-tabs:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs>.tabs-container.sc-tttx-tabs>*[role=tab][aria-selected].sc-tttx-tabs{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
10
+
11
+ const TttxTabs = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.tabClick = index.createEvent(this, "tabClick", 7);
15
+ this.leftNavigation = index.createEvent(this, "leftNavigation", 7);
16
+ this.rightNavigation = index.createEvent(this, "rightNavigation", 7);
17
+ this.tabFocus = 0;
18
+ this.tabsName = undefined;
19
+ this.navigation = undefined;
20
+ this.wide = undefined;
21
+ this.tabs = undefined;
22
+ this._tabs = undefined;
23
+ }
24
+ onDataChange() {
25
+ if (!this.tabs) {
26
+ return;
27
+ }
28
+ if (typeof this.tabs === 'string') {
29
+ this._tabs = JSON.parse(this.tabs);
30
+ }
31
+ else {
32
+ this._tabs = [...this.tabs];
33
+ }
34
+ this.tabFocus = this._tabs.findIndex(tab => tab.tabIndex !== -1);
35
+ }
36
+ componentWillLoad() {
37
+ // dynamic constructor: any props can be added later
38
+ this.onDataChange();
39
+ }
40
+ handleTabClick(tab) {
41
+ this.tabClick.emit({ tabId: tab.id });
42
+ }
43
+ handleLeftNavigation() {
44
+ this.leftNavigation.emit();
45
+ }
46
+ handleRightNavigation() {
47
+ this.rightNavigation.emit();
48
+ }
49
+ handleKeyDown(event) {
50
+ const orientation = this.tabList.getAttribute('aria-orientation'); // horizontal by default
51
+ const previous = orientation && orientation === 'vertical' ? 'ArrowUp' : 'ArrowLeft';
52
+ const next = orientation && orientation === 'vertical' ? 'ArrowDown' : 'ArrowRight';
53
+ if (event.key === previous || event.key === next) {
54
+ // Make the previous tab deselectable
55
+ this._tabs[this.tabFocus].tabIndex = -1;
56
+ if (event.key === previous) {
57
+ this.tabFocus--;
58
+ // If we're at the start, move to the end
59
+ if (this.tabFocus < 0) {
60
+ this.tabFocus = this._tabs.length - 1;
61
+ }
62
+ }
63
+ else if (event.key === next) {
64
+ this.tabFocus++;
65
+ // If we're at the end, go to the start
66
+ if (this.tabFocus >= this._tabs.length) {
67
+ this.tabFocus = 0;
68
+ }
69
+ }
70
+ // Make the next tab selectable
71
+ this._tabs[this.tabFocus].tabIndex = 0;
72
+ this.tabList.querySelectorAll('[role="tab"]')[this.tabFocus].focus();
73
+ this._tabs = [...this._tabs];
74
+ }
75
+ else if (event.code === 'Space' || event.code === 'Enter') {
76
+ this.tabClick.emit({ tabId: this._tabs[this.tabFocus].id });
77
+ }
78
+ }
79
+ render() {
80
+ if (!this.tabs || this.tabs.length == 0) {
81
+ return;
82
+ }
83
+ 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", { icon: "navigate_before", color: "black" }))), index.h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(tab => {
84
+ return (index.h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
85
+ this.handleTabClick(tab);
86
+ } }, tab.tabName));
87
+ })), this.navigation && (index.h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, index.h("tttx-icon", { icon: "navigate_next", color: "black" })))), this._tabs.map(tab => {
88
+ return (index.h("article", { key: tab.id, id: tab.controls, role: "tabpanel", tabindex: "0", "aria-labelledby": tab.id, "aria-expanded": tab.selected, innerHTML: domsanitiser_options.purify.sanitize(tab.pageContent, domsanitiser_options.domSanitiserOptions), hidden: !tab.selected }));
89
+ }))));
90
+ }
91
+ static get watchers() { return {
92
+ "tabs": ["onDataChange"]
93
+ }; }
94
+ };
95
+ TttxTabs.style = tttxTabsCss;
96
+
97
+ exports.tttx_tabs = TttxTabs;
@@ -17,7 +17,7 @@ const patchBrowser = () => {
17
17
  };
18
18
 
19
19
  patchBrowser().then(options => {
20
- return index.bootstrapLazy([["tttx-dialog-box.cjs",[[1,"tttx-dialog-box",{"data":[1025],"size":[1],"open":[1028],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-select-box.cjs",[[1,"tttx-select-box",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"open":[32],"selectedItem":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-tree-view.cjs",[[1,"tttx-tree-view",{"data":[1040],"treeData":[32]}]]],["tttx-filter.cjs",[[1,"tttx-filter",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]]]],["tttx-list.cjs",[[1,"tttx-list",{"data":[1025],"name":[1],"_data":[32]}]]],["tttx-sorter.cjs",[[1,"tttx-sorter",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]]]],["tttx-form.cjs",[[1,"tttx-form",{"formschema":[1032],"data":[1032],"submit":[64]}]]],["tttx-keyvalue-block.cjs",[[1,"tttx-keyvalue-block",{"keyvalues":[8],"horizontal":[4]}]]],["tttx-loading-spinner.cjs",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-qrcode.cjs",[[1,"tttx-qrcode",{"link":[1025],"size":[1026]}]]],["tttx-tag.cjs",[[1,"tttx-tag",{"text":[1],"color":[1]}]]],["tttx-toolbar.cjs",[[1,"tttx-toolbar",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-icon.cjs",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]],["tttx-standalone-input.cjs",[[2,"tttx-standalone-input",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-button.cjs",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
20
+ return index.bootstrapLazy([["tttx-dialog-box.cjs",[[1,"tttx-dialog-box",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-select-box.cjs",[[1,"tttx-select-box",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"open":[32],"selectedItem":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-tree-view.cjs",[[1,"tttx-tree-view",{"data":[1040],"treeData":[32]}]]],["tttx-filter.cjs",[[1,"tttx-filter",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]]]],["tttx-list.cjs",[[1,"tttx-list",{"data":[1025],"name":[1],"_data":[32]}]]],["tttx-sorter.cjs",[[1,"tttx-sorter",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]]]],["tttx-tabs.cjs",[[2,"tttx-tabs",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-form.cjs",[[1,"tttx-form",{"formschema":[1032],"data":[1032],"submit":[64]}]]],["tttx-keyvalue-block.cjs",[[1,"tttx-keyvalue-block",{"keyvalues":[8],"horizontal":[4]}]]],["tttx-loading-spinner.cjs",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-qrcode.cjs",[[1,"tttx-qrcode",{"link":[1025],"size":[1026]}]]],["tttx-tag.cjs",[[1,"tttx-tag",{"text":[1],"color":[1]}]]],["tttx-toolbar.cjs",[[1,"tttx-toolbar",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-icon.cjs",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]],["tttx-standalone-input.cjs",[[2,"tttx-standalone-input",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-button.cjs",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
21
21
  });
22
22
 
23
23
  exports.setNonce = index.setNonce;
@@ -13,6 +13,7 @@
13
13
  "./components/molecules/tttx-list/tttx-list.js",
14
14
  "./components/molecules/tttx-select-box/tttx-select-box.js",
15
15
  "./components/molecules/tttx-sorter/tttx-sorter.js",
16
+ "./components/molecules/tttx-tabs/tttx-tabs.js",
16
17
  "./components/molecules/tttx-toolbar/tttx-toolbar.js",
17
18
  "./components/molecules/tttx-tree-view/tttx-tree-view.js"
18
19
  ],
@@ -32,6 +32,14 @@ h3 {
32
32
  padding: 0;
33
33
  }
34
34
 
35
+ .overflow-visible {
36
+ overflow: visible;
37
+ }
38
+
39
+ .overflow-hidden {
40
+ overflow: hidden;
41
+ }
42
+
35
43
  dialog::backdrop {
36
44
  background-color: #75757580;
37
45
  }
@@ -114,7 +122,6 @@ dialog::backdrop {
114
122
  }
115
123
 
116
124
  .dialog-box-body {
117
- overflow: hidden;
118
125
  text-overflow: ellipsis;
119
126
  }
120
127
 
@@ -7,6 +7,7 @@ export class TttxDialogBox {
7
7
  this.data = undefined;
8
8
  this.size = 'regular';
9
9
  this.open = false;
10
+ this.allowOverflow = false;
10
11
  this.elementSize = undefined;
11
12
  }
12
13
  handleResize() {
@@ -49,10 +50,10 @@ export class TttxDialogBox {
49
50
  renderContent(content) {
50
51
  if (content.isCustomHtml) {
51
52
  const cleanHTML = DOMPurify.sanitize(content.customHtml, domSanitiserOptions);
52
- return (h("div", { class: "dialog-box-body" }, h("div", { innerHTML: cleanHTML })));
53
+ return (h("div", { class: `dialog-box-body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, h("div", { innerHTML: cleanHTML })));
53
54
  }
54
55
  else {
55
- return (h("div", { class: "dialog-box-body" }, h("span", { class: "dialog-box-content" }, content.contentText)));
56
+ return (h("div", { class: `dialog-box-body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, h("span", { class: "dialog-box-content" }, content.contentText)));
56
57
  }
57
58
  }
58
59
  renderFooter(footer) {
@@ -80,7 +81,7 @@ export class TttxDialogBox {
80
81
  else {
81
82
  this._data = this.data;
82
83
  }
83
- return (h("dialog", { class: `dialog-box ${this.elementSize}` }, h("div", { class: "contents" }, h("div", { class: `dialog-box-padding dialog-box-header-box ${this._data.type || ''}` }, this.renderHeader(this._data.header)), h("div", { class: "dialog-box-padding dialog-box-body-box" }, this.renderContent(this._data.body)), h("div", { class: "dialog-box-padding dialog-box-footer-box" }, this.renderFooter(this._data.footer)))));
84
+ return (h("dialog", { class: `dialog-box ${this.allowOverflow ? 'overflow-visible' : ''} ${this.elementSize}` }, h("div", { class: "contents" }, h("div", { class: `dialog-box-padding dialog-box-header-box ${this._data.type || ''}` }, this.renderHeader(this._data.header)), h("div", { class: "dialog-box-padding dialog-box-body-box" }, this.renderContent(this._data.body)), h("div", { class: "dialog-box-padding dialog-box-footer-box" }, this.renderFooter(this._data.footer)))));
84
85
  }
85
86
  static get is() { return "tttx-dialog-box"; }
86
87
  static get encapsulation() { return "shadow"; }
@@ -153,6 +154,24 @@ export class TttxDialogBox {
153
154
  "attribute": "open",
154
155
  "reflect": false,
155
156
  "defaultValue": "false"
157
+ },
158
+ "allowOverflow": {
159
+ "type": "boolean",
160
+ "mutable": false,
161
+ "complexType": {
162
+ "original": "boolean",
163
+ "resolved": "boolean",
164
+ "references": {}
165
+ },
166
+ "required": false,
167
+ "optional": false,
168
+ "docs": {
169
+ "tags": [],
170
+ "text": ""
171
+ },
172
+ "attribute": "allow-overflow",
173
+ "reflect": false,
174
+ "defaultValue": "false"
156
175
  }
157
176
  };
158
177
  }
@@ -54,10 +54,13 @@
54
54
  height: 24px;
55
55
  }
56
56
 
57
+ .dropdown-selector-chevron > tttx-icon {
58
+ cursor: pointer;
59
+ }
60
+
57
61
  .dropdown-body {
58
62
  display: flex;
59
- position: fixed;
60
- z-index: 1000;
63
+ position: absolute;
61
64
  flex-direction: column;
62
65
  top: inherit;
63
66
  margin-top: 45px;
@@ -29,11 +29,10 @@ export class TttxSelectBox {
29
29
  this.open = false;
30
30
  this.toggleOpen.emit(false);
31
31
  }
32
- onDropdownClicked(event) {
32
+ onDropdownClicked() {
33
33
  this.open = !this.open;
34
34
  this.searchTerm = '';
35
35
  this.toggleOpen.emit(this.open);
36
- this.dropDownWidth = event.target.offsetWidth;
37
36
  }
38
37
  onItemSelected(option) {
39
38
  this.selectedItem = option;
@@ -67,7 +66,7 @@ export class TttxSelectBox {
67
66
  return;
68
67
  const parsedOptionsData = typeof this.optionsData === 'string' ? JSON.parse(this.optionsData) : this.optionsData;
69
68
  const chevronIcon = this.open ? 'expand_less' : 'expand_more';
70
- return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon", { icon: chevronIcon, color: "black" }))), this.open && (h("div", { class: "dropdown-body", style: { 'width': `${this.dropDownWidth}px` } }, this.searchEnabled &&
69
+ return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon", { icon: chevronIcon, color: "black" }))), this.open && (h("div", { class: "dropdown-body", style: { 'width': `${this.el.offsetWidth}px` } }, this.searchEnabled &&
71
70
  /* istanbul ignore next */
72
71
  h("div", { class: "searchbox" }, h("tttx-standalone-input", { type: "text", label: "", required: true, showerrorbubble: false, iconleft: 'search', onInput: this.handleSearchInput.bind(this) })), h("div", { class: "dropdown-options-list" }, parsedOptionsData.map((option) => {
73
72
  return this.dropdownOption(option);
@@ -76,6 +76,7 @@ const TttxDialogBoxStory = ({ data }) => `
76
76
  <button onclick="openDialog()">Open</button>
77
77
  <tttx-dialog-box
78
78
  id='dialogBox'
79
+ allow-overflow='true'
79
80
  ></tttx-dialog-box>
80
81
  <script>
81
82
  if(!dialogBox) {
@@ -0,0 +1,46 @@
1
+ .material-symbols-rounded {
2
+ font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
3
+ }
4
+
5
+ :host {
6
+ display: block;
7
+ }
8
+
9
+ .tab-bar {
10
+ display: flex;
11
+ height: 52px;
12
+ }
13
+ .tab-bar > .left-navigation, .tab-bar > .right-navigation {
14
+ padding: 14px 8px;
15
+ cursor: pointer;
16
+ }
17
+ .tab-bar > .left-navigation > *, .tab-bar > .right-navigation > * {
18
+ height: 24px;
19
+ width: 24px;
20
+ cursor: pointer;
21
+ }
22
+ .tab-bar > .tabs-container {
23
+ display: flex;
24
+ border-bottom: 1px solid #d5d5d5;
25
+ }
26
+ .tab-bar > .tabs-container.wide {
27
+ flex-grow: 1;
28
+ }
29
+ .tab-bar > .tabs-container > *[role=tab] {
30
+ padding: 18px 16px;
31
+ line-height: 16px;
32
+ font-size: 14px;
33
+ font-weight: 500;
34
+ text-transform: uppercase;
35
+ user-select: none;
36
+ color: #757575;
37
+ cursor: pointer;
38
+ }
39
+ .tab-bar > .tabs-container > *[role=tab]:hover {
40
+ background-color: rgba(17, 17, 17, 0.05);
41
+ }
42
+ .tab-bar > .tabs-container > *[role=tab][aria-selected] {
43
+ color: #212121;
44
+ cursor: default;
45
+ border-bottom: 3px solid #1579c6;
46
+ }