globuswebcomponents 1.3.3 → 1.3.5

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 (29) hide show
  1. package/dist/cjs/gb-avatar_32.cjs.entry.js +15 -5
  2. package/dist/cjs/gb-avatar_32.cjs.entry.js.map +1 -1
  3. package/dist/cjs/globuscomponents.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/components/gb-detail-cell/gb-detail-cell.js +1 -3
  6. package/dist/collection/components/gb-detail-cell/gb-detail-cell.js.map +1 -1
  7. package/dist/collection/components/gb-header/gb-header.js +1 -1
  8. package/dist/collection/components/gb-header/gb-header.js.map +1 -1
  9. package/dist/collection/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.js +19 -2
  10. package/dist/collection/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.js.map +1 -1
  11. package/dist/components/gb-detail-cell.js +1 -3
  12. package/dist/components/gb-detail-cell.js.map +1 -1
  13. package/dist/components/gb-header.js +1 -1
  14. package/dist/components/gb-header.js.map +1 -1
  15. package/dist/components/gb-stepper-horizontal-line-with-text.js +16 -3
  16. package/dist/components/gb-stepper-horizontal-line-with-text.js.map +1 -1
  17. package/dist/docs.json +2 -2
  18. package/dist/esm/gb-avatar_32.entry.js +15 -5
  19. package/dist/esm/gb-avatar_32.entry.js.map +1 -1
  20. package/dist/esm/globuscomponents.js +1 -1
  21. package/dist/esm/loader.js +1 -1
  22. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  23. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  24. package/dist/globuscomponents/{p-264260d5.entry.js → p-6766111b.entry.js} +2 -2
  25. package/dist/globuscomponents/p-6766111b.entry.js.map +1 -0
  26. package/dist/types/components/gb-detail-cell/gb-detail-cell.d.ts +0 -1
  27. package/dist/types/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.d.ts +4 -0
  28. package/package.json +1 -1
  29. package/dist/globuscomponents/p-264260d5.entry.js.map +0 -1
@@ -654,7 +654,6 @@ const GbDetailCell = class {
654
654
  }
655
655
  updateCellStyle() {
656
656
  this.cellStyle = this.width < 768 ? 'compact' : 'standard';
657
- console.log(this.width);
658
657
  }
659
658
  onViewButtonClicked() {
660
659
  this.viewButtonClicked.emit();
@@ -689,9 +688,8 @@ const GbDetailCell = class {
689
688
  }
690
689
  }
691
690
  render() {
692
- return (index.h("div", { key: 'e104c5b01ec47ceec0b12e637676d0e6565da3e8', class: `detail_cell_div ${this.type} ${this.cellStyle}`, onMouseEnter: () => this.onShowCopyButton(), onMouseLeave: () => this.onHideCopyButton() }, this.type === 'information' && this.cellStyle === 'standard' && (index.h(index.Fragment, null, index.h("div", { key: '77bfe04fe341fdc83c31c4344df15482d5008124', class: "info_text_div" }, index.h("p", { key: '6e3ba16b8c515bda20b3063a16759818999ed163', class: "label text-sm-regular" }, this.label), index.h("p", { key: '5567e17d969d0301683ae8667c834dd9a60ba7e5', class: "detail text-md-medium", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, this.detail), this.showTooltip && (index.h("gb-tooltip", { key: '4d648cb2933ffb737fdc7f316f094153e7721e6e', "show-arrow": false, class: "information_text_tooltip" }, index.h("p", { key: 'c34136e6818a93eae0b776b4c5a9366584f651c4', slot: "label" }, this.detail)))), this.showStandardCopyButton && (index.h("gb-button", { key: '6db3c5f8bd18360342dde9cfd48ed9fb2f38a3c0', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/copy.svg", onClick: () => this.copyToClipboard() })), this.copied && (index.h("gb-tooltip", { key: '656487c4b126495fcd0c8f27ccaea87b4a7404ce', "show-arrow": false, class: "copied_tooltip" }, index.h("p", { key: 'cda58e3228139c9e9e4b4d61c56ccd43b1a4bd26', slot: "label" }, "Copied!"))))), this.type === 'document' && this.cellStyle === 'standard' && (index.h(index.Fragment, null, index.h("gb-file-type-icon", { key: 'bcd080fc61bccefb12358eaf36ea415c532d8036', "file-style": this.fileStyle, "file-type": this.fileType }), index.h("div", { key: 'd90736ad47474e4dfb87c5497eaa00b6814a1b29', class: "document_text_div" }, index.h("p", { key: 'ec45e08ab3db7715e5b1104c472ff4789bc9d02a', class: "label text-sm-regular" }, this.label), index.h("p", { key: '5ca48802a46d3a223ac28456cbce24a1a4f41625', class: "detail text-md-medium", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, this.detail), this.showTooltip && (index.h("gb-tooltip", { key: 'a41669292bbe61705bf75111f051016421c135bc', "show-arrow": false, class: "document_detail_tooltip" }, index.h("p", { key: '9aab554cbfa363ad462b892b396318f3a9aaab57', slot: "label" }, this.detail)))), !this.isDownloaded ? (index.h(index.Fragment, null, this.showActionButtons && (index.h(index.Fragment, null, this.showViewButton && (index.h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/view.svg", onClick: () => this.onViewButtonClicked() })), this.showDownloadButton && (index.h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/download-03.svg", onClick: () => this.onDownloadButtonClicked() })))))) : (index.h("gb-tooltip", { "show-arrow": false, class: "downloaded_tooltip" }, index.h("p", { slot: "label" }, "Downloaded!"))))), this.type === 'status' && this.cellStyle === 'standard' && (index.h("div", { key: '8bd65d8b975465784086303659fe400bda6fc0d0', class: "status_text_div" }, index.h("p", { key: 'a30d5a29d73609c872bf15a1f70fc4986a05b3e9', class: "label text-sm-regular" }, this.label), index.h("gb-badge", { key: '37a9866e60e9e727b5f7d70ac2eda75394fbeafa', size: "sm", type: this.badgeType, icon: "dot", color: this.badgeColor }, index.h("p", { key: '5080a957c924728fbc4f76d9c6f4e4b63a63c46c' }, this.badgeLabel)))), this.type === 'information' && this.cellStyle === 'compact' && (index.h("div", { key: 'b8c985f9778192dabd791c3cf1309e74f876bd9d', class: "compact_info_div" }, index.h("div", { key: 'd87202afdc46b32160433e9367e65b8911081758', class: "compact_info_text_div" }, index.h("div", { key: '0dfb4658f87e56f9eb8934ecfc32ac4c6683aa8b', class: "compact_label" }, index.h("p", { key: '53a88db33110370e9267d0b2a16b4eff9d66801c', class: "label text-sm-regular" }, this.label)), index.h("div", { key: '9a1f6ef7b3d5a6d8a32d0718ba1d8ab4d99f878f', class: "compact_detail" }, index.h("p", { key: '4920f6a2e3212c1363b3216fc22ff035109539fe', class: "detail_compact_text text-md-medium" }, this.detail), this.copied && (index.h("gb-tooltip", { key: '069794e42d783c7a805a8807f2594819db08c090', "show-arrow": false, class: "compact_copied_tooltip" }, index.h("p", { key: 'd24b15b3245de4ae76862a14300c72f069f45bc5', slot: "label" }, "Copied!")))), this.showCopyButton && (index.h("gb-button", { key: '494844ec5b577adf50f6511cbdca0160eeb7c386', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/copy.svg", onClick: () => this.copyToClipboard() }))))), this.type === 'document' && this.cellStyle === 'compact' && (index.h("div", { key: '0801e3d0337c326bcee70bce87d71cd7247d341e', class: "compact_doc_div" }, index.h("gb-file-type-icon", { key: '01372b72fab2d7bac884a55abff1ee88f4e18f33', "file-style": this.fileStyle, "file-type": this.fileType }), index.h("div", { key: '12f786e4848a7f003ef6ba4be6b1d83e902c28ed', class: "compact_doc_text_div" }, index.h("p", { key: '1d8ec881443027f351e5f173a3fa8f395e8a1eb2', class: "doc_label text-sm-regular" }, this.label), index.h("div", { key: '773804889ac8c6327269e7a0e5a9e65985c54826', class: "compact_doc_detail" }, index.h("p", { key: '843d735d5c0e4327bf41e4bd0bc51826215c3640', class: "detaill text-md-medium", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, this.detail)), this.isDownloaded && (index.h("gb-tooltip", { key: '3928a85caf0b61fcf9d8a180b6a6536861522dad', "show-arrow": false, class: "compact_downloaded_tooltip" }, index.h("p", { key: '0b552101f3176163c22113721f02518480bee1b7', slot: "label" }, "Downloaded!"))), this.showActionButtons && (index.h("div", { key: '2690140586575a4a9bed2217d5951be44d8628d5', class: "button_container" }, this.showViewButton && (index.h("gb-button", { key: 'f14847b9bca2bbb48311aca16910073412c2b0b5', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/view.svg", onClick: () => this.onViewButtonClicked() })), this.showDownloadButton && (index.h("gb-button", { key: '5fa362b1cd5edbc8965e939a6022248ab9837f82', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/download-03.svg", onClick: () => this.onDownloadButtonClicked() }))))))), this.type === 'status' && this.cellStyle === 'compact' && (index.h("div", { key: 'b2774b335b754b2d3e8468347ef72a918c63d3fb', class: "compact_status_div" }, index.h("div", { key: 'def90ba6931d63b5bd15a6bf7dc4e06f136d503a', class: "compact_status_text_div" }, index.h("div", { key: 'fd52ce65d0eb51b25e7d1634413b620e887f11a8', class: "compact_label" }, index.h("p", { key: 'e15821bbccb3e3bfb70a3d0d47c20c4a953d9a48', class: "label text-sm-regular" }, this.label)), index.h("gb-badge", { key: '19960219dd6579f7464c5036ad67050dc7e36b4e', size: "sm", type: this.badgeType, icon: "dot", color: this.badgeColor }, index.h("p", { key: 'b11968857355e4119662adb9072f37875ee8094b' }, this.badgeLabel)))))));
691
+ return (index.h("div", { key: '1553706466bc58168bdeb1b2c3354190b4400582', class: `detail_cell_div ${this.type} ${this.cellStyle}`, onMouseEnter: () => this.onShowCopyButton(), onMouseLeave: () => this.onHideCopyButton() }, this.type === 'information' && this.cellStyle === 'standard' && (index.h(index.Fragment, null, index.h("div", { key: '33ec965d64e941750629df4098fa2255f68b694d', class: "info_text_div" }, index.h("p", { key: 'd105ac2111148e1ba349f6c151de00f5fa589aa8', class: "label text-sm-regular" }, this.label), index.h("p", { key: '5154a8aaf7b156704c33fedeab091389a7d2c92b', class: "detail text-md-medium", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, this.detail), this.showTooltip && (index.h("gb-tooltip", { key: '0012a66f18e8aaa6d846f41e3508821abdbd49b1', "show-arrow": false, class: "information_text_tooltip" }, index.h("p", { key: '0440c79101b5fd0bb67fcd71ad70e50163648433', slot: "label" }, this.detail)))), this.showStandardCopyButton && (index.h("gb-button", { key: '6eb23ab566809271d7e7afeacbcf29a8c4388377', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/copy.svg", onClick: () => this.copyToClipboard() })), this.copied && (index.h("gb-tooltip", { key: '44007f77eec1ab7fbace55b3d597c9676f61ed7c', "show-arrow": false, class: "copied_tooltip" }, index.h("p", { key: '6e4cc647ada1184de14e9880a16129f0decbb225', slot: "label" }, "Copied!"))))), this.type === 'document' && this.cellStyle === 'standard' && (index.h(index.Fragment, null, index.h("gb-file-type-icon", { key: '4efcda0eebbff709bfecf0cad316b04e161c6d94', "file-style": this.fileStyle, "file-type": this.fileType }), index.h("div", { key: 'f56d825aedf3735e5b59a4db5a754a6e18ae20b4', class: "document_text_div" }, index.h("p", { key: 'aadaa8c53ceb2b22a9f27a4b5f29ef1d64976e88', class: "label text-sm-regular" }, this.label), index.h("p", { key: '537e7017288331c9c7ff1faffe5fdc4349031d1d', class: "detail text-md-medium", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, this.detail), this.showTooltip && (index.h("gb-tooltip", { key: 'f86120a65c36fe37a4a5cd7d068483ef32a49c35', "show-arrow": false, class: "document_detail_tooltip" }, index.h("p", { key: '79aec15ef8952a82c64c4481bf0e05e169a11308', slot: "label" }, this.detail)))), !this.isDownloaded ? (index.h(index.Fragment, null, this.showActionButtons && (index.h(index.Fragment, null, this.showViewButton && (index.h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/view.svg", onClick: () => this.onViewButtonClicked() })), this.showDownloadButton && (index.h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/download-03.svg", onClick: () => this.onDownloadButtonClicked() })))))) : (index.h("gb-tooltip", { "show-arrow": false, class: "downloaded_tooltip" }, index.h("p", { slot: "label" }, "Downloaded!"))))), this.type === 'status' && this.cellStyle === 'standard' && (index.h("div", { key: 'b72812e9b91b89b3109b23679ed9165d83fc72aa', class: "status_text_div" }, index.h("p", { key: 'efacd0f4722eceb1397578bf7dc4425d6301affe', class: "label text-sm-regular" }, this.label), index.h("gb-badge", { key: '4c0c31923a5e19e26f03c62c59ae8941c81f7618', size: "sm", type: this.badgeType, icon: "dot", color: this.badgeColor }, index.h("p", { key: '488ba92cacdadd8c65b120813ae6d2614fd95907' }, this.badgeLabel)))), this.type === 'information' && this.cellStyle === 'compact' && (index.h("div", { key: '329a16b35ca9a9654e4aaf19c8d28c92ce530028', class: "compact_info_div" }, index.h("div", { key: '59556b9b38ec304e53554d27439c4ca5b051cc1c', class: "compact_info_text_div" }, index.h("div", { key: '7ef56dd340a2bfdecc7a2311d2c2e034e2cda7ba', class: "compact_label" }, index.h("p", { key: 'c4700ad143d378011c3f438aeb0e2efd58e5a4bd', class: "label text-sm-regular" }, this.label)), index.h("div", { key: '99c42029ebb32a9bb810d69a054d6c178c70b110', class: "compact_detail" }, index.h("p", { key: '219d00fc805aa7261d8a05ab9e61ae9d43ebb2af', class: "detail_compact_text text-md-medium" }, this.detail), this.copied && (index.h("gb-tooltip", { key: '22f52674e947aebd410410e8dd65a69309bf48b0', "show-arrow": false, class: "compact_copied_tooltip" }, index.h("p", { key: '01ca5f47e44773234b401b7f8aa824773fbad278', slot: "label" }, "Copied!")))), this.showCopyButton && (index.h("gb-button", { key: '67cb677c6efae405f2eae95bbfb40c2b030e694d', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/copy.svg", onClick: () => this.copyToClipboard() }))))), this.type === 'document' && this.cellStyle === 'compact' && (index.h("div", { key: 'a9f6354505eb25bdf48ac4fd2c5de8d8eed7412d', class: "compact_doc_div" }, index.h("gb-file-type-icon", { key: '52aabff2a94cc4ec54ba26ca976dd94cb493f4d7', "file-style": this.fileStyle, "file-type": this.fileType }), index.h("div", { key: '736ee7ebe5df90bc6d97da150b83d294000d4746', class: "compact_doc_text_div" }, index.h("p", { key: '05eb2d050cacd70301cc6e69e86a940f8169351b', class: "doc_label text-sm-regular" }, this.label), index.h("div", { key: '66e5b2e793c12da061eefa562be8591f06b9738a', class: "compact_doc_detail" }, index.h("p", { key: 'f47ca81acccc056cef3de6792032051bdf810dd4', class: "detaill text-md-medium", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, this.detail)), this.isDownloaded && (index.h("gb-tooltip", { key: '7c594c9fe39f0ade8bb7f9d0fd6be02ea1f6a058', "show-arrow": false, class: "compact_downloaded_tooltip" }, index.h("p", { key: 'b53de10d9bd1e2e4b5b7979c1a484fa7385f130f', slot: "label" }, "Downloaded!"))), this.showActionButtons && (index.h("div", { key: '2952ff5ef85c62206c83d3695249086cb5b0462a', class: "button_container" }, this.showViewButton && (index.h("gb-button", { key: 'a4b5c88a33cfa8e9c9d2ec010c9c89ba4627e6eb', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/view.svg", onClick: () => this.onViewButtonClicked() })), this.showDownloadButton && (index.h("gb-button", { key: '1ac75d58d7579e90223bc46bf0b496dd14bd972a', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/download-03.svg", onClick: () => this.onDownloadButtonClicked() }))))))), this.type === 'status' && this.cellStyle === 'compact' && (index.h("div", { key: '4ed254c054d89cfd96193f54eac909a20ea7beab', class: "compact_status_div" }, index.h("div", { key: 'c30634c7d918b342cd9e9413cd69867b9ad579c3', class: "compact_status_text_div" }, index.h("div", { key: 'f19c4d39cbdc50bde2812a2b2a6f632661a126c9', class: "compact_label" }, index.h("p", { key: 'f708466e7bce39fef8a9f3eb2544467f5e2267a5', class: "label text-sm-regular" }, this.label)), index.h("gb-badge", { key: '5a7a92fe89d991da7923da89623fe5511486dc1f', size: "sm", type: this.badgeType, icon: "dot", color: this.badgeColor }, index.h("p", { key: '369e9413d0f0f818cc8293f2b46f61b9c2514318' }, this.badgeLabel)))))));
693
692
  }
694
- get el() { return index.getElement(this); }
695
693
  };
696
694
  GbDetailCell.style = GbDetailCellStyle0;
697
695
 
@@ -780,7 +778,7 @@ const GbHeader = class {
780
778
  const notificationIconSrc = index.getAssetPath(`assets/notification-03.svg`);
781
779
  const logo = index.getAssetPath(`assets/globus_bank_logo_blue.svg`);
782
780
  const iconLogo = index.getAssetPath(`assets/globus_bank_logo_white.svg`);
783
- return (index.h("div", { key: 'c871dff6d2b245ebdc0211623459fb1023c3d3f2', class: `header_div` }, index.h("div", { key: '61b783b3b8a6f516eb6ac8dc9629b0524c8810ea', class: "content" }, this.showLogo && (index.h(index.Fragment, null, index.h("div", { key: 'b2080d1eb2b77477d6ea48330a6e488d69f8266d', class: "logo" }, index.h("img", { key: 'bfc67cc9644271f00ae42ab3428c5b70bcb94026', src: logo, alt: "" })), index.h("div", { key: 'eafd4849545d1eedc266eb56ce5dae9d3615f376', class: "icon_logo" }, index.h("img", { key: '89ef52a2f64fe7124764dd28f60c78cf28d28de6', src: iconLogo, alt: "" })))), index.h("div", { key: '832a8f267c51f5003433db3345b92151cbea0bed', class: "inner_content" }, index.h("div", { key: 'a361327ea2e56c69565661b6bbf1920dc712eabf', class: `action` }, this.showHelp && index.h("gb-header-icon", { key: '6b1ff8fba5dba4bb84bcd1676d356638b7b27db6', state: reusableModels.StateEnum.Default, icon: helpIconSrc, onClick: () => this.onNavBarItemClicked('help') }), this.showNotification && (index.h("gb-header-icon", { key: '340c38a719e422cba0290fdb69d8afd82814ecf4', state: this.state, icon: notificationIconSrc, "show-indicator": this.showIndicator, onClick: () => this.onNavBarItemClicked('notification') }))), index.h("gb-avatar", { key: '8e60caeff9457717ff23e0f75576ec8bce7b44ff', size: "md", text: this.text, placeholder: this.placeholder, color: this.color, "show-border": this.showBorder, onClick: () => this.onNavBarItemClicked('avatar') }, this.text ? index.h("slot", { slot: "initials", name: "initials" }) : index.h("slot", { name: "image", slot: "image" }))))));
781
+ return (index.h("div", { key: 'c871dff6d2b245ebdc0211623459fb1023c3d3f2', class: `header_div` }, index.h("div", { key: '61b783b3b8a6f516eb6ac8dc9629b0524c8810ea', class: "content" }, this.showLogo && (index.h(index.Fragment, null, index.h("div", { key: '2ce1bc88f9dd3d05b98b8e6c194ff267a2d1747f', class: "logo", onClick: () => this.onNavBarItemClicked('logo') }, index.h("img", { key: '50bb4aa47e78bc4dc0e61c9eb3b9e95d683e5ec9', src: logo, alt: "" })), index.h("div", { key: 'a9a9ecfdd28d4e44e4d9046c0e57c13ad07fd762', class: "icon_logo", onClick: () => this.onNavBarItemClicked('logo') }, index.h("img", { key: '0e69e359f719a422ed3267158c9130b1956b126e', src: iconLogo, alt: "" })))), index.h("div", { key: '4b8011a3de7b2f7e6f0fd7a0be4727735d694f2f', class: "inner_content" }, index.h("div", { key: 'ac586242978e6fc7521d90b1d58de54ed5fe0d7e', class: `action` }, this.showHelp && index.h("gb-header-icon", { key: 'e6a28785ba274970291a9cd4f2fbeaafad3628ad', state: reusableModels.StateEnum.Default, icon: helpIconSrc, onClick: () => this.onNavBarItemClicked('help') }), this.showNotification && (index.h("gb-header-icon", { key: 'a7a8b857753a2af10e3959cb80d9b4752c29c79a', state: this.state, icon: notificationIconSrc, "show-indicator": this.showIndicator, onClick: () => this.onNavBarItemClicked('notification') }))), index.h("gb-avatar", { key: '91f39c66cb6564916bd1a7361cc26557a49bb13a', size: "md", text: this.text, placeholder: this.placeholder, color: this.color, "show-border": this.showBorder, onClick: () => this.onNavBarItemClicked('avatar') }, this.text ? index.h("slot", { slot: "initials", name: "initials" }) : index.h("slot", { name: "image", slot: "image" }))))));
784
782
  }
785
783
  get el() { return index.getElement(this); }
786
784
  };
@@ -1579,6 +1577,10 @@ const GbStepperHorizontalLineWithTextStyle0 = gbStepperHorizontalLineWithTextCss
1579
1577
  const GbStepperHorizontalLineWithText = class {
1580
1578
  constructor(hostRef) {
1581
1579
  index.registerInstance(this, hostRef);
1580
+ this.handleResize = () => {
1581
+ this.width = window.innerWidth;
1582
+ this.updatePropBasedOnSize();
1583
+ };
1582
1584
  this.size = undefined;
1583
1585
  this.breakpoint = undefined;
1584
1586
  this.showContent = false;
@@ -1611,9 +1613,17 @@ const GbStepperHorizontalLineWithText = class {
1611
1613
  this.fifthStepSupportingText = '';
1612
1614
  this.sixthStepSupportingText = '';
1613
1615
  this.seventhStepSupportingText = '';
1616
+ this.width = window.innerWidth;
1617
+ }
1618
+ componentWillLoad() {
1619
+ this.updatePropBasedOnSize();
1620
+ window.addEventListener('resize', this.handleResize);
1621
+ }
1622
+ updatePropBasedOnSize() {
1623
+ this.showSupportingText = this.width < 768 ? false : true;
1614
1624
  }
1615
1625
  render() {
1616
- return (index.h("div", { key: '621392cf06a84b250320fd17362706f082192a16', class: "text_with_line" }, index.h("gb-step-base", { key: '85c7b373bdf8eb31bf5743831d62d104d9707229', size: this.size, type: "text_line", state: this.firstStepState, status: this.firstStepStatus, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText }), index.h("gb-step-base", { key: 'fbffa619dd3e3e754bcccdebd54767c8c3aaf050', size: this.size, type: "text_line", state: this.secondStepState, status: this.secondStepStatus, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText }), this.thirdStepLabel && (index.h("gb-step-base", { key: 'caf10ccba9bc0ffba9b45aa8263c6babae8e99c0', size: this.size, type: "text_line", state: this.thirdStepState, status: this.thirdStepStatus, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.fourthStepLabel && (index.h("gb-step-base", { key: 'ad95242930df4239c849e951ca7d8d597c5a944d', size: this.size, type: "text_line", state: this.fourthStepState, status: this.fourthStepStatus, label: this.fourthStepLabel, "supporting-text": this.fourthStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.fifthStepLabel && (index.h("gb-step-base", { key: '011646c06a7409a8dc7a80b63d698907dbbf6f45', size: this.size, type: "text_line", state: this.fifthStepState, status: this.fifthStepStatus, label: this.fifthStepLabel, "supporting-text": this.fifthStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.sixthStepLabel && (index.h("gb-step-base", { key: '0ead260051b211464223011bdb73efcbb0862876', size: this.size, type: "text_line", state: this.sixthStepState, status: this.sixthStepStatus, label: this.sixthStepLabel, "supporting-text": this.sixthStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.seventhStepLabel && (index.h("gb-step-base", { key: '1943cf77014e2469b33e9b6e73dfff72edeac2e7', size: this.size, type: "text_line", state: this.seventhStepState, status: this.seventhStepStatus, label: this.seventhStepLabel, "supporting-text": this.seventhStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText }))));
1626
+ return (index.h("div", { key: 'd733e51f58b7729651bd3ccf8a02766b6021d382', class: "text_with_line" }, index.h("gb-step-base", { key: '48713ec89b1690dcdb0e3eaf51af3d08c97fc759', size: this.size, type: "text_line", state: this.firstStepState, status: this.firstStepStatus, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText }), index.h("gb-step-base", { key: 'e7f2d3b1b33930d7d7b52216735e0e2e4587abf2', size: this.size, type: "text_line", state: this.secondStepState, status: this.secondStepStatus, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText }), this.thirdStepLabel && (index.h("gb-step-base", { key: '557bdc0f8d3eb1d4bd2a3a2c045b194f51bb8693', size: this.size, type: "text_line", state: this.thirdStepState, status: this.thirdStepStatus, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.fourthStepLabel && (index.h("gb-step-base", { key: '2270971a094e7a8d75b1ec9bee100831f58a2831', size: this.size, type: "text_line", state: this.fourthStepState, status: this.fourthStepStatus, label: this.fourthStepLabel, "supporting-text": this.fourthStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.fifthStepLabel && (index.h("gb-step-base", { key: '5ea8c20066ab46d90e97298de20978f0e1738b8a', size: this.size, type: "text_line", state: this.fifthStepState, status: this.fifthStepStatus, label: this.fifthStepLabel, "supporting-text": this.fifthStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.sixthStepLabel && (index.h("gb-step-base", { key: 'bff5ddf0ad83573fa3a3bef9d97807a52056bf10', size: this.size, type: "text_line", state: this.sixthStepState, status: this.sixthStepStatus, label: this.sixthStepLabel, "supporting-text": this.sixthStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.seventhStepLabel && (index.h("gb-step-base", { key: 'c0dde41fe810d95aac96a4991917fd131e8e8c65', size: this.size, type: "text_line", state: this.seventhStepState, status: this.seventhStepStatus, label: this.seventhStepLabel, "supporting-text": this.seventhStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText }))));
1617
1627
  }
1618
1628
  };
1619
1629
  GbStepperHorizontalLineWithText.style = GbStepperHorizontalLineWithTextStyle0;