globuswebcomponents 2.1.9 → 2.2.0

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 (232) hide show
  1. package/dist/cjs/gb-avatar-label-group_2.cjs.entry.js +1 -1
  2. package/dist/cjs/{gb-avatar_19.cjs.entry.js → gb-avatar_22.cjs.entry.js} +140 -7
  3. package/dist/cjs/gb-avatar_22.cjs.entry.js.map +1 -0
  4. package/dist/cjs/gb-stepper-vertical-icons-with-text.cjs.entry.js +1 -1
  5. package/dist/cjs/gb-tab-button-base.cjs.entry.js +3 -3
  6. package/dist/cjs/gb-table-cell.cjs.entry.js +1 -1
  7. package/dist/cjs/gb-table-header.cjs.entry.js +1 -1
  8. package/dist/cjs/gb-textarea-input-field.cjs.entry.js +4 -4
  9. package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
  10. package/dist/cjs/gb-toast.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
  12. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  13. package/dist/cjs/gb-token-field-compact.cjs.entry.js +1 -1
  14. package/dist/cjs/gb-token-field-compressed.cjs.entry.js +2 -2
  15. package/dist/cjs/gb-top-bar-item.cjs.entry.js +1 -1
  16. package/dist/cjs/gb-top-bar-sidemenu.cjs.entry.js +1 -1
  17. package/dist/cjs/gb-top-bar.cjs.entry.js +1 -1
  18. package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
  19. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
  20. package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +1 -1
  21. package/dist/cjs/globuscomponents.cjs.js +1 -1
  22. package/dist/cjs/loader.cjs.js +1 -1
  23. package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
  24. package/dist/collection/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.js +42 -629
  25. package/dist/collection/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.js.map +1 -1
  26. package/dist/collection/components/gb-stepper-vertical-icons-with-text/gb-stepper-vertical-icons-with-text.js +1 -1
  27. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  28. package/dist/collection/components/gb-table-cell/gb-table-cell.js +1 -1
  29. package/dist/collection/components/gb-table-header/gb-table-header.js +1 -1
  30. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  31. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  32. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  33. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  34. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +4 -4
  35. package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
  36. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  37. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  38. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  39. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  40. package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
  41. package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
  42. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  43. package/dist/collection/components/gb-top-bar/gb-top-bar.js +1 -1
  44. package/dist/collection/components/gb-top-bar-item/gb-top-bar-item.js +1 -1
  45. package/dist/collection/components/gb-top-bar-sidemenu/gb-top-bar-sidemenu.js +1 -1
  46. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
  47. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
  48. package/dist/collection/components/gb-wysiwyg-tooltip/gb-wysiwyg-tooltip.js +1 -1
  49. package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
  50. package/dist/components/gb-avatar-add-button.js +1 -1
  51. package/dist/components/gb-avatar-dropdown.js +3 -3
  52. package/dist/components/gb-avatar-group.js +2 -2
  53. package/dist/components/gb-collapse-button.js +1 -1
  54. package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
  55. package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
  56. package/dist/components/gb-detail-cell.js +1 -1
  57. package/dist/components/gb-file-upload-item-base.js +1 -1
  58. package/dist/components/gb-file-upload.js +3 -3
  59. package/dist/components/gb-help-tooltip.js +1 -1
  60. package/dist/components/gb-horizontal-tabs.js +1 -1
  61. package/dist/components/gb-icon-button-base.js +1 -1
  62. package/dist/components/gb-input-dropdown.js +1 -1
  63. package/dist/components/gb-input-field.js +1 -1
  64. package/dist/components/gb-pagination.js +8 -8
  65. package/dist/components/gb-progress-bar.js +1 -1
  66. package/dist/components/gb-sidebar.js +5 -5
  67. package/dist/components/gb-simple-side-bar-item.js +1 -1
  68. package/dist/components/gb-slider-control-handle.js +1 -1
  69. package/dist/components/gb-slider.js +2 -2
  70. package/dist/components/gb-stepper-horizontal-line-with-text.js +35 -44
  71. package/dist/components/gb-stepper-horizontal-line-with-text.js.map +1 -1
  72. package/dist/components/gb-stepper-vertical-icons-with-text.js +1 -1
  73. package/dist/components/gb-tab-button-base.js +1 -1
  74. package/dist/components/gb-table-cell.js +1 -1
  75. package/dist/components/gb-table-header.js +8 -8
  76. package/dist/components/gb-tag-checkbox.js +1 -1
  77. package/dist/components/gb-tag-close.js +1 -1
  78. package/dist/components/gb-tag-count.js +1 -1
  79. package/dist/components/gb-tag.js +1 -1
  80. package/dist/components/gb-textarea-input-field.js +8 -8
  81. package/dist/components/gb-theme-tab.js +1 -1
  82. package/dist/components/gb-toast-button.js +1 -1
  83. package/dist/components/gb-toast.js +2 -2
  84. package/dist/components/gb-toggle-base.js +1 -1
  85. package/dist/components/gb-toggle.js +2 -2
  86. package/dist/components/gb-token-field-compact.js +1 -1
  87. package/dist/components/gb-token-field-compressed.js +2 -2
  88. package/dist/components/gb-tooltip.js +1 -1
  89. package/dist/components/gb-top-bar-item.js +1 -1
  90. package/dist/components/gb-top-bar-sidemenu.js +3 -3
  91. package/dist/components/gb-top-bar.js +3 -3
  92. package/dist/components/gb-vertical-tabs.js +1 -1
  93. package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
  94. package/dist/components/gb-wysiwyg-tooltip.js +2 -2
  95. package/dist/components/{p-CjW83S_r.js → p-11tfQ7K9.js} +5 -5
  96. package/dist/components/{p-CjW83S_r.js.map → p-11tfQ7K9.js.map} +1 -1
  97. package/dist/components/{p-DnqNvsUO.js → p-2fWwpTIZ.js} +9 -9
  98. package/dist/components/{p-DnqNvsUO.js.map → p-2fWwpTIZ.js.map} +1 -1
  99. package/dist/components/{p-D77rlmnX.js → p-BAsQCXsV.js} +4 -4
  100. package/dist/components/{p-D77rlmnX.js.map → p-BAsQCXsV.js.map} +1 -1
  101. package/dist/components/{p-DjMFfmJf.js → p-BDQEubqB.js} +4 -4
  102. package/dist/components/{p-DjMFfmJf.js.map → p-BDQEubqB.js.map} +1 -1
  103. package/dist/components/{p-BNJ_vQWg.js → p-BDmK-s7W.js} +4 -4
  104. package/dist/components/{p-BNJ_vQWg.js.map → p-BDmK-s7W.js.map} +1 -1
  105. package/dist/components/{p-AF4yjZp5.js → p-BOb6Ege2.js} +3 -3
  106. package/dist/components/{p-AF4yjZp5.js.map → p-BOb6Ege2.js.map} +1 -1
  107. package/dist/components/{p-DVmvwI5x.js → p-BQBxVm81.js} +3 -3
  108. package/dist/components/{p-DVmvwI5x.js.map → p-BQBxVm81.js.map} +1 -1
  109. package/dist/components/{p-DKaKT_kt.js → p-BU0pk3Az.js} +3 -3
  110. package/dist/components/{p-DKaKT_kt.js.map → p-BU0pk3Az.js.map} +1 -1
  111. package/dist/components/{p-BZt0yCen.js → p-BUsyzLlY.js} +3 -3
  112. package/dist/components/{p-BZt0yCen.js.map → p-BUsyzLlY.js.map} +1 -1
  113. package/dist/components/{p-zDnwv5L8.js → p-BcJOIIC2.js} +3 -3
  114. package/dist/components/{p-zDnwv5L8.js.map → p-BcJOIIC2.js.map} +1 -1
  115. package/dist/components/{p-BOH2CTPW.js → p-BcTbUcgA.js} +3 -3
  116. package/dist/components/{p-BOH2CTPW.js.map → p-BcTbUcgA.js.map} +1 -1
  117. package/dist/components/{p-B0tiEBML.js → p-BjkAywCq.js} +3 -3
  118. package/dist/components/{p-B0tiEBML.js.map → p-BjkAywCq.js.map} +1 -1
  119. package/dist/components/{p-FAgeoWnI.js → p-ByV5GH4j.js} +3 -3
  120. package/dist/components/{p-FAgeoWnI.js.map → p-ByV5GH4j.js.map} +1 -1
  121. package/dist/components/{p-B2IgruVC.js → p-CArhc50k.js} +3 -3
  122. package/dist/components/{p-B2IgruVC.js.map → p-CArhc50k.js.map} +1 -1
  123. package/dist/components/{p-BFa_9mVP.js → p-CCwm6tfK.js} +5 -5
  124. package/dist/components/{p-BFa_9mVP.js.map → p-CCwm6tfK.js.map} +1 -1
  125. package/dist/components/{p-Cy8_rNDo.js → p-CKp_EcVC.js} +3 -3
  126. package/dist/components/{p-Cy8_rNDo.js.map → p-CKp_EcVC.js.map} +1 -1
  127. package/dist/components/{p-BiVAx8Yx.js → p-CyVM9ZUN.js} +8 -8
  128. package/dist/components/{p-BiVAx8Yx.js.map → p-CyVM9ZUN.js.map} +1 -1
  129. package/dist/components/{p-BrD9qtR9.js → p-DdUG60Ds.js} +6 -6
  130. package/dist/components/{p-BrD9qtR9.js.map → p-DdUG60Ds.js.map} +1 -1
  131. package/dist/components/{p-CHFa1WUc.js → p-U_-0G1aL.js} +3 -3
  132. package/dist/components/{p-CHFa1WUc.js.map → p-U_-0G1aL.js.map} +1 -1
  133. package/dist/components/{p-BG3Xx2AB.js → p-VMnF0OzT.js} +3 -3
  134. package/dist/components/{p-BG3Xx2AB.js.map → p-VMnF0OzT.js.map} +1 -1
  135. package/dist/components/{p-1YPHhZ3b.js → p-ZZkjHbmt.js} +3 -3
  136. package/dist/components/{p-1YPHhZ3b.js.map → p-ZZkjHbmt.js.map} +1 -1
  137. package/dist/components/{p--inzx1tg.js → p-gr2SW-QO.js} +3 -3
  138. package/dist/components/{p--inzx1tg.js.map → p-gr2SW-QO.js.map} +1 -1
  139. package/dist/components/{p-CcrCssCE.js → p-n7oT6sZz.js} +3 -3
  140. package/dist/components/{p-CcrCssCE.js.map → p-n7oT6sZz.js.map} +1 -1
  141. package/dist/components/{p-Chtb30hU.js → p-ofaIsmqV.js} +4 -4
  142. package/dist/components/{p-Chtb30hU.js.map → p-ofaIsmqV.js.map} +1 -1
  143. package/dist/components/test-input-tag.js +6 -6
  144. package/dist/docs.json +9 -820
  145. package/dist/esm/gb-avatar-label-group_2.entry.js +1 -1
  146. package/dist/esm/{gb-avatar_19.entry.js → gb-avatar_22.entry.js} +138 -8
  147. package/dist/esm/gb-avatar_22.entry.js.map +1 -0
  148. package/dist/esm/gb-stepper-vertical-icons-with-text.entry.js +1 -1
  149. package/dist/esm/gb-tab-button-base.entry.js +3 -3
  150. package/dist/esm/gb-table-cell.entry.js +1 -1
  151. package/dist/esm/gb-table-header.entry.js +1 -1
  152. package/dist/esm/gb-textarea-input-field.entry.js +4 -4
  153. package/dist/esm/gb-toast-button.entry.js +1 -1
  154. package/dist/esm/gb-toast.entry.js +1 -1
  155. package/dist/esm/gb-toggle-base.entry.js +2 -2
  156. package/dist/esm/gb-toggle.entry.js +1 -1
  157. package/dist/esm/gb-token-field-compact.entry.js +1 -1
  158. package/dist/esm/gb-token-field-compressed.entry.js +2 -2
  159. package/dist/esm/gb-top-bar-item.entry.js +1 -1
  160. package/dist/esm/gb-top-bar-sidemenu.entry.js +1 -1
  161. package/dist/esm/gb-top-bar.entry.js +1 -1
  162. package/dist/esm/gb-vertical-tabs.entry.js +1 -1
  163. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
  164. package/dist/esm/gb-wysiwyg-tooltip.entry.js +1 -1
  165. package/dist/esm/globuscomponents.js +1 -1
  166. package/dist/esm/loader.js +1 -1
  167. package/dist/esm/test-input-tag.entry.js +2 -2
  168. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  169. package/dist/globuscomponents/{p-1a286635.entry.js → p-06c1f98a.entry.js} +2 -2
  170. package/dist/globuscomponents/{p-5de5fcd7.entry.js → p-07106ba3.entry.js} +2 -2
  171. package/dist/globuscomponents/{p-51889dd0.entry.js → p-0804c201.entry.js} +2 -2
  172. package/dist/globuscomponents/{p-faa56456.entry.js → p-163b09b1.entry.js} +2 -2
  173. package/dist/globuscomponents/p-163b09b1.entry.js.map +1 -0
  174. package/dist/globuscomponents/{p-e5934152.entry.js → p-1cc15bcb.entry.js} +2 -2
  175. package/dist/globuscomponents/{p-0a292bce.entry.js → p-2b4b8d1c.entry.js} +2 -2
  176. package/dist/globuscomponents/{p-fe614d73.entry.js → p-3cc0ea9e.entry.js} +2 -2
  177. package/dist/globuscomponents/{p-50452901.entry.js → p-518caaa9.entry.js} +2 -2
  178. package/dist/globuscomponents/{p-1fa05507.entry.js → p-51edb6f1.entry.js} +2 -2
  179. package/dist/globuscomponents/{p-429fda4b.entry.js → p-5a07906a.entry.js} +2 -2
  180. package/dist/globuscomponents/{p-ff8ca78a.entry.js → p-5a30be16.entry.js} +2 -2
  181. package/dist/globuscomponents/{p-0cb13263.entry.js → p-61596c17.entry.js} +2 -2
  182. package/dist/globuscomponents/{p-faec4074.entry.js → p-7cf4d95d.entry.js} +2 -2
  183. package/dist/globuscomponents/{p-da0c9bd5.entry.js → p-7eeacf16.entry.js} +2 -2
  184. package/dist/globuscomponents/p-85ae2dac.entry.js +2 -0
  185. package/dist/globuscomponents/{p-33500c4a.entry.js → p-8aa75444.entry.js} +2 -2
  186. package/dist/globuscomponents/{p-e6ec7ef3.entry.js → p-e453561e.entry.js} +2 -2
  187. package/dist/globuscomponents/{p-f04013f2.entry.js → p-f00365a3.entry.js} +2 -2
  188. package/dist/globuscomponents/{p-bc40b66d.entry.js → p-f5caead1.entry.js} +2 -2
  189. package/dist/globuscomponents/{p-14acad66.entry.js → p-fd6ae061.entry.js} +2 -2
  190. package/dist/types/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.d.ts +6 -29
  191. package/dist/types/components.d.ts +2 -56
  192. package/package.json +1 -1
  193. package/dist/cjs/gb-avatar_19.cjs.entry.js.map +0 -1
  194. package/dist/cjs/gb-featured-icon.gb-step-base.entry.cjs.js.map +0 -1
  195. package/dist/cjs/gb-featured-icon_2.cjs.entry.js +0 -86
  196. package/dist/cjs/gb-featured-icon_2.cjs.entry.js.map +0 -1
  197. package/dist/cjs/gb-stepper-horizontal-line-with-text.cjs.entry.js +0 -48
  198. package/dist/cjs/gb-stepper-horizontal-line-with-text.cjs.entry.js.map +0 -1
  199. package/dist/cjs/gb-stepper-horizontal-line-with-text.entry.cjs.js.map +0 -1
  200. package/dist/esm/gb-avatar_19.entry.js.map +0 -1
  201. package/dist/esm/gb-featured-icon.gb-step-base.entry.js.map +0 -1
  202. package/dist/esm/gb-featured-icon_2.entry.js +0 -83
  203. package/dist/esm/gb-featured-icon_2.entry.js.map +0 -1
  204. package/dist/esm/gb-stepper-horizontal-line-with-text.entry.js +0 -46
  205. package/dist/esm/gb-stepper-horizontal-line-with-text.entry.js.map +0 -1
  206. package/dist/globuscomponents/gb-featured-icon.gb-step-base.entry.esm.js.map +0 -1
  207. package/dist/globuscomponents/gb-stepper-horizontal-line-with-text.entry.esm.js.map +0 -1
  208. package/dist/globuscomponents/p-4fd494d9.entry.js +0 -2
  209. package/dist/globuscomponents/p-74f9ff8c.entry.js +0 -2
  210. package/dist/globuscomponents/p-74f9ff8c.entry.js.map +0 -1
  211. package/dist/globuscomponents/p-87fc3e2d.entry.js +0 -2
  212. package/dist/globuscomponents/p-87fc3e2d.entry.js.map +0 -1
  213. package/dist/globuscomponents/p-faa56456.entry.js.map +0 -1
  214. /package/dist/globuscomponents/{p-1a286635.entry.js.map → p-06c1f98a.entry.js.map} +0 -0
  215. /package/dist/globuscomponents/{p-5de5fcd7.entry.js.map → p-07106ba3.entry.js.map} +0 -0
  216. /package/dist/globuscomponents/{p-51889dd0.entry.js.map → p-0804c201.entry.js.map} +0 -0
  217. /package/dist/globuscomponents/{p-e5934152.entry.js.map → p-1cc15bcb.entry.js.map} +0 -0
  218. /package/dist/globuscomponents/{p-0a292bce.entry.js.map → p-2b4b8d1c.entry.js.map} +0 -0
  219. /package/dist/globuscomponents/{p-fe614d73.entry.js.map → p-3cc0ea9e.entry.js.map} +0 -0
  220. /package/dist/globuscomponents/{p-50452901.entry.js.map → p-518caaa9.entry.js.map} +0 -0
  221. /package/dist/globuscomponents/{p-1fa05507.entry.js.map → p-51edb6f1.entry.js.map} +0 -0
  222. /package/dist/globuscomponents/{p-429fda4b.entry.js.map → p-5a07906a.entry.js.map} +0 -0
  223. /package/dist/globuscomponents/{p-ff8ca78a.entry.js.map → p-5a30be16.entry.js.map} +0 -0
  224. /package/dist/globuscomponents/{p-0cb13263.entry.js.map → p-61596c17.entry.js.map} +0 -0
  225. /package/dist/globuscomponents/{p-faec4074.entry.js.map → p-7cf4d95d.entry.js.map} +0 -0
  226. /package/dist/globuscomponents/{p-da0c9bd5.entry.js.map → p-7eeacf16.entry.js.map} +0 -0
  227. /package/dist/globuscomponents/{p-4fd494d9.entry.js.map → p-85ae2dac.entry.js.map} +0 -0
  228. /package/dist/globuscomponents/{p-33500c4a.entry.js.map → p-8aa75444.entry.js.map} +0 -0
  229. /package/dist/globuscomponents/{p-e6ec7ef3.entry.js.map → p-e453561e.entry.js.map} +0 -0
  230. /package/dist/globuscomponents/{p-f04013f2.entry.js.map → p-f00365a3.entry.js.map} +0 -0
  231. /package/dist/globuscomponents/{p-bc40b66d.entry.js.map → p-f5caead1.entry.js.map} +0 -0
  232. /package/dist/globuscomponents/{p-14acad66.entry.js.map → p-fd6ae061.entry.js.map} +0 -0
@@ -3,26 +3,36 @@ export class GbStepperHorizontalLineWithText {
3
3
  constructor() {
4
4
  this.showContent = false;
5
5
  this.showSupportingText = false;
6
- this.firstStepLabel = '';
7
- this.secondStepLabel = '';
8
- this.thirdStepLabel = '';
9
- this.fourthStepLabel = '';
10
- this.fifthStepLabel = '';
11
- this.sixthStepLabel = '';
12
- this.seventhStepLabel = '';
13
- this.firstStepSupportingText = '';
14
- this.secondStepSupportingText = '';
15
- this.thirdStepSupportingText = '';
16
- this.fourthStepSupportingText = '';
17
- this.fifthStepSupportingText = '';
18
- this.sixthStepSupportingText = '';
19
- this.seventhStepSupportingText = '';
6
+ this.steps = [
7
+ {
8
+ state: 'default',
9
+ status: 'complete',
10
+ label: 'First Step',
11
+ supportingText: 'Hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii',
12
+ },
13
+ {
14
+ state: 'default',
15
+ status: 'current',
16
+ label: 'First Step',
17
+ supportingText: 'Hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii',
18
+ },
19
+ ];
20
+ this.internalSteps = [...this.steps];
20
21
  this.width = window.innerWidth;
21
22
  this.handleResize = () => {
22
23
  this.width = window.innerWidth;
23
24
  this.updatePropBasedOnSize();
24
25
  };
25
26
  }
27
+ onStepsChanged(newSteps) {
28
+ // Optional: validate or transform steps
29
+ this.internalSteps = [...newSteps];
30
+ const currentStep = newSteps.find(s => s.status === 'current');
31
+ if (currentStep) {
32
+ this.internalState = currentStep.state;
33
+ this.internalStatus = currentStep.status;
34
+ }
35
+ }
26
36
  componentWillLoad() {
27
37
  this.updatePropBasedOnSize();
28
38
  window.addEventListener('resize', this.handleResize);
@@ -31,7 +41,7 @@ export class GbStepperHorizontalLineWithText {
31
41
  this.showSupportingText = this.width < 768 ? false : true;
32
42
  }
33
43
  render() {
34
- return (h("div", { key: '6c867cadfa6b5d77ae04cf60734cb15337546f0f', class: "text_with_line" }, h("gb-step-base", { key: '35fa9197e20955218eebbf2bcad87d53ce026c7e', 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 }), h("gb-step-base", { key: '45edd2730f14294b40f4acfd77917b09cf8b765b', 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 && (h("gb-step-base", { key: '075f47f42d8ee54f215057c3b0d6c21260b8b548', 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 && (h("gb-step-base", { key: 'b8c2fccddfeed6c8aaa087c2b08dd22bc29c2cde', 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 && (h("gb-step-base", { key: '4007654b8b8bc72098b3c288b88b397eec02e575', 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 && (h("gb-step-base", { key: 'c689ef396cb9d9f50d2b6410fe3881b2467783b0', 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 && (h("gb-step-base", { key: '91763e3db0daa01b2178e213d2b6409f82b469f2', 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 }))));
44
+ return (h("div", { key: '41cbaefb507a778a1f2839251a9316a37eeb7835', class: "text_with_line" }, this.steps.map(step => (h("gb-step-base", { size: this.size, type: "text_line", state: step.state, status: step.status, label: step.label, "supporting-text": step.supportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })))));
35
45
  }
36
46
  static get is() { return "gb-stepper-horizontal-line-with-text"; }
37
47
  static get encapsulation() { return "shadow"; }
@@ -137,167 +147,17 @@ export class GbStepperHorizontalLineWithText {
137
147
  "reflect": false,
138
148
  "defaultValue": "false"
139
149
  },
140
- "firstStepState": {
141
- "type": "string",
142
- "mutable": false,
143
- "complexType": {
144
- "original": "ProgressStepStates",
145
- "resolved": "\"default\" | \"destructive\"",
146
- "references": {
147
- "ProgressStepStates": {
148
- "location": "import",
149
- "path": "../../models/reusableModels",
150
- "id": "src/models/reusableModels.ts::ProgressStepStates"
151
- }
152
- }
153
- },
154
- "required": false,
155
- "optional": false,
156
- "docs": {
157
- "tags": [],
158
- "text": ""
159
- },
160
- "getter": false,
161
- "setter": false,
162
- "attribute": "first-step-state",
163
- "reflect": false
164
- },
165
- "secondStepState": {
166
- "type": "string",
167
- "mutable": false,
168
- "complexType": {
169
- "original": "ProgressStepStates",
170
- "resolved": "\"default\" | \"destructive\"",
171
- "references": {
172
- "ProgressStepStates": {
173
- "location": "import",
174
- "path": "../../models/reusableModels",
175
- "id": "src/models/reusableModels.ts::ProgressStepStates"
176
- }
177
- }
178
- },
179
- "required": false,
180
- "optional": false,
181
- "docs": {
182
- "tags": [],
183
- "text": ""
184
- },
185
- "getter": false,
186
- "setter": false,
187
- "attribute": "second-step-state",
188
- "reflect": false
189
- },
190
- "thirdStepState": {
191
- "type": "string",
192
- "mutable": false,
193
- "complexType": {
194
- "original": "ProgressStepStates",
195
- "resolved": "\"default\" | \"destructive\"",
196
- "references": {
197
- "ProgressStepStates": {
198
- "location": "import",
199
- "path": "../../models/reusableModels",
200
- "id": "src/models/reusableModels.ts::ProgressStepStates"
201
- }
202
- }
203
- },
204
- "required": false,
205
- "optional": false,
206
- "docs": {
207
- "tags": [],
208
- "text": ""
209
- },
210
- "getter": false,
211
- "setter": false,
212
- "attribute": "third-step-state",
213
- "reflect": false
214
- },
215
- "fourthStepState": {
216
- "type": "string",
217
- "mutable": false,
218
- "complexType": {
219
- "original": "ProgressStepStates",
220
- "resolved": "\"default\" | \"destructive\"",
221
- "references": {
222
- "ProgressStepStates": {
223
- "location": "import",
224
- "path": "../../models/reusableModels",
225
- "id": "src/models/reusableModels.ts::ProgressStepStates"
226
- }
227
- }
228
- },
229
- "required": false,
230
- "optional": false,
231
- "docs": {
232
- "tags": [],
233
- "text": ""
234
- },
235
- "getter": false,
236
- "setter": false,
237
- "attribute": "fourth-step-state",
238
- "reflect": false
239
- },
240
- "fifthStepState": {
241
- "type": "string",
242
- "mutable": false,
243
- "complexType": {
244
- "original": "ProgressStepStates",
245
- "resolved": "\"default\" | \"destructive\"",
246
- "references": {
247
- "ProgressStepStates": {
248
- "location": "import",
249
- "path": "../../models/reusableModels",
250
- "id": "src/models/reusableModels.ts::ProgressStepStates"
251
- }
252
- }
253
- },
254
- "required": false,
255
- "optional": false,
256
- "docs": {
257
- "tags": [],
258
- "text": ""
259
- },
260
- "getter": false,
261
- "setter": false,
262
- "attribute": "fifth-step-state",
263
- "reflect": false
264
- },
265
- "sixthStepState": {
266
- "type": "string",
267
- "mutable": false,
268
- "complexType": {
269
- "original": "ProgressStepStates",
270
- "resolved": "\"default\" | \"destructive\"",
271
- "references": {
272
- "ProgressStepStates": {
273
- "location": "import",
274
- "path": "../../models/reusableModels",
275
- "id": "src/models/reusableModels.ts::ProgressStepStates"
276
- }
277
- }
278
- },
279
- "required": false,
280
- "optional": false,
281
- "docs": {
282
- "tags": [],
283
- "text": ""
284
- },
285
- "getter": false,
286
- "setter": false,
287
- "attribute": "sixth-step-state",
288
- "reflect": false
289
- },
290
- "seventhStepState": {
291
- "type": "string",
150
+ "steps": {
151
+ "type": "unknown",
292
152
  "mutable": false,
293
153
  "complexType": {
294
- "original": "ProgressStepStates",
295
- "resolved": "\"default\" | \"destructive\"",
154
+ "original": "StepperType[]",
155
+ "resolved": "StepperType[]",
296
156
  "references": {
297
- "ProgressStepStates": {
157
+ "StepperType": {
298
158
  "location": "import",
299
159
  "path": "../../models/reusableModels",
300
- "id": "src/models/reusableModels.ts::ProgressStepStates"
160
+ "id": "src/models/reusableModels.ts::StepperType"
301
161
  }
302
162
  }
303
163
  },
@@ -309,470 +169,23 @@ export class GbStepperHorizontalLineWithText {
309
169
  },
310
170
  "getter": false,
311
171
  "setter": false,
312
- "attribute": "seventh-step-state",
313
- "reflect": false
314
- },
315
- "firstStepStatus": {
316
- "type": "string",
317
- "mutable": false,
318
- "complexType": {
319
- "original": "ProgressStepStatus",
320
- "resolved": "\"complete\" | \"current\" | \"incomplete\"",
321
- "references": {
322
- "ProgressStepStatus": {
323
- "location": "import",
324
- "path": "../../models/reusableModels",
325
- "id": "src/models/reusableModels.ts::ProgressStepStatus"
326
- }
327
- }
328
- },
329
- "required": false,
330
- "optional": false,
331
- "docs": {
332
- "tags": [],
333
- "text": ""
334
- },
335
- "getter": false,
336
- "setter": false,
337
- "attribute": "first-step-status",
338
- "reflect": false
339
- },
340
- "secondStepStatus": {
341
- "type": "string",
342
- "mutable": false,
343
- "complexType": {
344
- "original": "ProgressStepStatus",
345
- "resolved": "\"complete\" | \"current\" | \"incomplete\"",
346
- "references": {
347
- "ProgressStepStatus": {
348
- "location": "import",
349
- "path": "../../models/reusableModels",
350
- "id": "src/models/reusableModels.ts::ProgressStepStatus"
351
- }
352
- }
353
- },
354
- "required": false,
355
- "optional": false,
356
- "docs": {
357
- "tags": [],
358
- "text": ""
359
- },
360
- "getter": false,
361
- "setter": false,
362
- "attribute": "second-step-status",
363
- "reflect": false
364
- },
365
- "thirdStepStatus": {
366
- "type": "string",
367
- "mutable": false,
368
- "complexType": {
369
- "original": "ProgressStepStatus",
370
- "resolved": "\"complete\" | \"current\" | \"incomplete\"",
371
- "references": {
372
- "ProgressStepStatus": {
373
- "location": "import",
374
- "path": "../../models/reusableModels",
375
- "id": "src/models/reusableModels.ts::ProgressStepStatus"
376
- }
377
- }
378
- },
379
- "required": false,
380
- "optional": false,
381
- "docs": {
382
- "tags": [],
383
- "text": ""
384
- },
385
- "getter": false,
386
- "setter": false,
387
- "attribute": "third-step-status",
388
- "reflect": false
389
- },
390
- "fourthStepStatus": {
391
- "type": "string",
392
- "mutable": false,
393
- "complexType": {
394
- "original": "ProgressStepStatus",
395
- "resolved": "\"complete\" | \"current\" | \"incomplete\"",
396
- "references": {
397
- "ProgressStepStatus": {
398
- "location": "import",
399
- "path": "../../models/reusableModels",
400
- "id": "src/models/reusableModels.ts::ProgressStepStatus"
401
- }
402
- }
403
- },
404
- "required": false,
405
- "optional": false,
406
- "docs": {
407
- "tags": [],
408
- "text": ""
409
- },
410
- "getter": false,
411
- "setter": false,
412
- "attribute": "fourth-step-status",
413
- "reflect": false
414
- },
415
- "fifthStepStatus": {
416
- "type": "string",
417
- "mutable": false,
418
- "complexType": {
419
- "original": "ProgressStepStatus",
420
- "resolved": "\"complete\" | \"current\" | \"incomplete\"",
421
- "references": {
422
- "ProgressStepStatus": {
423
- "location": "import",
424
- "path": "../../models/reusableModels",
425
- "id": "src/models/reusableModels.ts::ProgressStepStatus"
426
- }
427
- }
428
- },
429
- "required": false,
430
- "optional": false,
431
- "docs": {
432
- "tags": [],
433
- "text": ""
434
- },
435
- "getter": false,
436
- "setter": false,
437
- "attribute": "fifth-step-status",
438
- "reflect": false
439
- },
440
- "sixthStepStatus": {
441
- "type": "string",
442
- "mutable": false,
443
- "complexType": {
444
- "original": "ProgressStepStatus",
445
- "resolved": "\"complete\" | \"current\" | \"incomplete\"",
446
- "references": {
447
- "ProgressStepStatus": {
448
- "location": "import",
449
- "path": "../../models/reusableModels",
450
- "id": "src/models/reusableModels.ts::ProgressStepStatus"
451
- }
452
- }
453
- },
454
- "required": false,
455
- "optional": false,
456
- "docs": {
457
- "tags": [],
458
- "text": ""
459
- },
460
- "getter": false,
461
- "setter": false,
462
- "attribute": "sixth-step-status",
463
- "reflect": false
464
- },
465
- "seventhStepStatus": {
466
- "type": "string",
467
- "mutable": false,
468
- "complexType": {
469
- "original": "ProgressStepStatus",
470
- "resolved": "\"complete\" | \"current\" | \"incomplete\"",
471
- "references": {
472
- "ProgressStepStatus": {
473
- "location": "import",
474
- "path": "../../models/reusableModels",
475
- "id": "src/models/reusableModels.ts::ProgressStepStatus"
476
- }
477
- }
478
- },
479
- "required": false,
480
- "optional": false,
481
- "docs": {
482
- "tags": [],
483
- "text": ""
484
- },
485
- "getter": false,
486
- "setter": false,
487
- "attribute": "seventh-step-status",
488
- "reflect": false
489
- },
490
- "firstStepLabel": {
491
- "type": "string",
492
- "mutable": false,
493
- "complexType": {
494
- "original": "string",
495
- "resolved": "string",
496
- "references": {}
497
- },
498
- "required": false,
499
- "optional": false,
500
- "docs": {
501
- "tags": [],
502
- "text": ""
503
- },
504
- "getter": false,
505
- "setter": false,
506
- "attribute": "first-step-label",
507
- "reflect": false,
508
- "defaultValue": "''"
509
- },
510
- "secondStepLabel": {
511
- "type": "string",
512
- "mutable": false,
513
- "complexType": {
514
- "original": "string",
515
- "resolved": "string",
516
- "references": {}
517
- },
518
- "required": false,
519
- "optional": false,
520
- "docs": {
521
- "tags": [],
522
- "text": ""
523
- },
524
- "getter": false,
525
- "setter": false,
526
- "attribute": "second-step-label",
527
- "reflect": false,
528
- "defaultValue": "''"
529
- },
530
- "thirdStepLabel": {
531
- "type": "string",
532
- "mutable": false,
533
- "complexType": {
534
- "original": "string",
535
- "resolved": "string",
536
- "references": {}
537
- },
538
- "required": false,
539
- "optional": false,
540
- "docs": {
541
- "tags": [],
542
- "text": ""
543
- },
544
- "getter": false,
545
- "setter": false,
546
- "attribute": "third-step-label",
547
- "reflect": false,
548
- "defaultValue": "''"
549
- },
550
- "fourthStepLabel": {
551
- "type": "string",
552
- "mutable": false,
553
- "complexType": {
554
- "original": "string",
555
- "resolved": "string",
556
- "references": {}
557
- },
558
- "required": false,
559
- "optional": false,
560
- "docs": {
561
- "tags": [],
562
- "text": ""
563
- },
564
- "getter": false,
565
- "setter": false,
566
- "attribute": "fourth-step-label",
567
- "reflect": false,
568
- "defaultValue": "''"
569
- },
570
- "fifthStepLabel": {
571
- "type": "string",
572
- "mutable": false,
573
- "complexType": {
574
- "original": "string",
575
- "resolved": "string",
576
- "references": {}
577
- },
578
- "required": false,
579
- "optional": false,
580
- "docs": {
581
- "tags": [],
582
- "text": ""
583
- },
584
- "getter": false,
585
- "setter": false,
586
- "attribute": "fifth-step-label",
587
- "reflect": false,
588
- "defaultValue": "''"
589
- },
590
- "sixthStepLabel": {
591
- "type": "string",
592
- "mutable": false,
593
- "complexType": {
594
- "original": "string",
595
- "resolved": "string",
596
- "references": {}
597
- },
598
- "required": false,
599
- "optional": false,
600
- "docs": {
601
- "tags": [],
602
- "text": ""
603
- },
604
- "getter": false,
605
- "setter": false,
606
- "attribute": "sixth-step-label",
607
- "reflect": false,
608
- "defaultValue": "''"
609
- },
610
- "seventhStepLabel": {
611
- "type": "string",
612
- "mutable": false,
613
- "complexType": {
614
- "original": "string",
615
- "resolved": "string",
616
- "references": {}
617
- },
618
- "required": false,
619
- "optional": false,
620
- "docs": {
621
- "tags": [],
622
- "text": ""
623
- },
624
- "getter": false,
625
- "setter": false,
626
- "attribute": "seventh-step-label",
627
- "reflect": false,
628
- "defaultValue": "''"
629
- },
630
- "firstStepSupportingText": {
631
- "type": "string",
632
- "mutable": false,
633
- "complexType": {
634
- "original": "string",
635
- "resolved": "string",
636
- "references": {}
637
- },
638
- "required": false,
639
- "optional": false,
640
- "docs": {
641
- "tags": [],
642
- "text": ""
643
- },
644
- "getter": false,
645
- "setter": false,
646
- "attribute": "first-step-supporting-text",
647
- "reflect": false,
648
- "defaultValue": "''"
649
- },
650
- "secondStepSupportingText": {
651
- "type": "string",
652
- "mutable": false,
653
- "complexType": {
654
- "original": "string",
655
- "resolved": "string",
656
- "references": {}
657
- },
658
- "required": false,
659
- "optional": false,
660
- "docs": {
661
- "tags": [],
662
- "text": ""
663
- },
664
- "getter": false,
665
- "setter": false,
666
- "attribute": "second-step-supporting-text",
667
- "reflect": false,
668
- "defaultValue": "''"
669
- },
670
- "thirdStepSupportingText": {
671
- "type": "string",
672
- "mutable": false,
673
- "complexType": {
674
- "original": "string",
675
- "resolved": "string",
676
- "references": {}
677
- },
678
- "required": false,
679
- "optional": false,
680
- "docs": {
681
- "tags": [],
682
- "text": ""
683
- },
684
- "getter": false,
685
- "setter": false,
686
- "attribute": "third-step-supporting-text",
687
- "reflect": false,
688
- "defaultValue": "''"
689
- },
690
- "fourthStepSupportingText": {
691
- "type": "string",
692
- "mutable": false,
693
- "complexType": {
694
- "original": "string",
695
- "resolved": "string",
696
- "references": {}
697
- },
698
- "required": false,
699
- "optional": false,
700
- "docs": {
701
- "tags": [],
702
- "text": ""
703
- },
704
- "getter": false,
705
- "setter": false,
706
- "attribute": "fourth-step-supporting-text",
707
- "reflect": false,
708
- "defaultValue": "''"
709
- },
710
- "fifthStepSupportingText": {
711
- "type": "string",
712
- "mutable": false,
713
- "complexType": {
714
- "original": "string",
715
- "resolved": "string",
716
- "references": {}
717
- },
718
- "required": false,
719
- "optional": false,
720
- "docs": {
721
- "tags": [],
722
- "text": ""
723
- },
724
- "getter": false,
725
- "setter": false,
726
- "attribute": "fifth-step-supporting-text",
727
- "reflect": false,
728
- "defaultValue": "''"
729
- },
730
- "sixthStepSupportingText": {
731
- "type": "string",
732
- "mutable": false,
733
- "complexType": {
734
- "original": "string",
735
- "resolved": "string",
736
- "references": {}
737
- },
738
- "required": false,
739
- "optional": false,
740
- "docs": {
741
- "tags": [],
742
- "text": ""
743
- },
744
- "getter": false,
745
- "setter": false,
746
- "attribute": "sixth-step-supporting-text",
747
- "reflect": false,
748
- "defaultValue": "''"
749
- },
750
- "seventhStepSupportingText": {
751
- "type": "string",
752
- "mutable": false,
753
- "complexType": {
754
- "original": "string",
755
- "resolved": "string",
756
- "references": {}
757
- },
758
- "required": false,
759
- "optional": false,
760
- "docs": {
761
- "tags": [],
762
- "text": ""
763
- },
764
- "getter": false,
765
- "setter": false,
766
- "attribute": "seventh-step-supporting-text",
767
- "reflect": false,
768
- "defaultValue": "''"
172
+ "defaultValue": "[\r\n {\r\n state: 'default',\r\n status: 'complete',\r\n label: 'First Step',\r\n supportingText: 'Hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii',\r\n },\r\n {\r\n state: 'default',\r\n status: 'current',\r\n label: 'First Step',\r\n supportingText: 'Hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii',\r\n },\r\n ]"
769
173
  }
770
174
  };
771
175
  }
772
176
  static get states() {
773
177
  return {
774
- "width": {}
178
+ "internalSteps": {},
179
+ "width": {},
180
+ "internalState": {},
181
+ "internalStatus": {}
775
182
  };
776
183
  }
184
+ static get watchers() {
185
+ return [{
186
+ "propName": "steps",
187
+ "methodName": "onStepsChanged"
188
+ }];
189
+ }
777
190
  }
778
191
  //# sourceMappingURL=gb-stepper-horizontal-line-with-text.js.map