q2-tecton-elements 1.16.3 → 1.17.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 (179) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
  3. package/dist/cjs/q2-badge_2.cjs.entry.js +9 -3
  4. package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
  5. package/dist/cjs/q2-calendar.cjs.entry.js +1041 -1131
  6. package/dist/cjs/q2-card.cjs.entry.js +1 -1
  7. package/dist/cjs/q2-carousel-pane.cjs.entry.js +1 -1
  8. package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
  9. package/dist/cjs/q2-chart-donut.cjs.entry.js +21 -3
  10. package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
  11. package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
  12. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  13. package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
  14. package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
  15. package/dist/cjs/q2-icon.cjs.entry.js +1 -1
  16. package/dist/cjs/q2-loc.cjs.entry.js +1 -1
  17. package/dist/cjs/q2-message.cjs.entry.js +1 -1
  18. package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
  19. package/dist/cjs/q2-option-list.cjs.entry.js +1 -1
  20. package/dist/cjs/q2-option.cjs.entry.js +1 -1
  21. package/dist/cjs/q2-pagination.cjs.entry.js +1 -1
  22. package/dist/cjs/q2-pill.cjs.entry.js +1 -1
  23. package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
  24. package/dist/cjs/q2-radio.cjs.entry.js +1 -1
  25. package/dist/cjs/q2-section.cjs.entry.js +54 -80
  26. package/dist/cjs/q2-select.cjs.entry.js +1 -1
  27. package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
  28. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +1 -1
  29. package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
  30. package/dist/cjs/q2-tab-container.cjs.entry.js +1 -1
  31. package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
  32. package/dist/cjs/q2-tag.cjs.entry.js +1 -1
  33. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  34. package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
  35. package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
  36. package/dist/cjs/tecton-tab-pane.cjs.entry.js +1 -1
  37. package/dist/collection/collection-manifest.json +1 -1
  38. package/dist/collection/components/q2-avatar/styles.css +1 -0
  39. package/dist/collection/components/q2-badge/styles.css +1 -0
  40. package/dist/collection/components/q2-btn/styles.css +1 -0
  41. package/dist/collection/components/q2-calendar/helpers.js +3 -3
  42. package/dist/collection/components/q2-calendar/index.js +11 -4
  43. package/dist/collection/components/q2-calendar/styles.css +1 -0
  44. package/dist/collection/components/q2-card/styles.css +1 -0
  45. package/dist/collection/components/q2-carousel/styles.css +1 -0
  46. package/dist/collection/components/q2-carousel-pane/styles.css +1 -0
  47. package/dist/collection/components/q2-chart-donut/index.js +47 -5
  48. package/dist/collection/components/q2-chart-donut/styles.css +1 -0
  49. package/dist/collection/components/q2-checkbox/styles.css +1 -0
  50. package/dist/collection/components/q2-checkbox-group/styles.css +1 -0
  51. package/dist/collection/components/q2-dropdown/styles.css +1 -0
  52. package/dist/collection/components/q2-dropdown-item/styles.css +1 -0
  53. package/dist/collection/components/q2-editable-field/styles.css +1 -0
  54. package/dist/collection/components/q2-icon/styles.css +1 -0
  55. package/dist/collection/components/q2-input/index.js +7 -1
  56. package/dist/collection/components/q2-input/styles.css +1 -0
  57. package/dist/collection/components/q2-loading/styles.css +1 -0
  58. package/dist/collection/components/q2-loc/styles.css +1 -0
  59. package/dist/collection/components/q2-message/styles.css +1 -0
  60. package/dist/collection/components/q2-optgroup/styles.css +1 -0
  61. package/dist/collection/components/q2-option/styles.css +1 -0
  62. package/dist/collection/components/q2-option-list/styles.css +1 -0
  63. package/dist/collection/components/q2-pagination/styles.css +1 -0
  64. package/dist/collection/components/q2-pill/styles.css +1 -0
  65. package/dist/collection/components/q2-radio/styles.css +1 -0
  66. package/dist/collection/components/q2-radio-group/index.js +1 -1
  67. package/dist/collection/components/q2-radio-group/styles.css +4 -0
  68. package/dist/collection/components/q2-section/index.js +63 -89
  69. package/dist/collection/components/q2-section/styles.css +39 -55
  70. package/dist/collection/components/q2-select/styles.css +1 -0
  71. package/dist/collection/components/q2-stepper/styles.css +1 -0
  72. package/dist/collection/components/q2-stepper-pane/styles.css +1 -0
  73. package/dist/collection/components/q2-stepper-vertical/styles.css +1 -0
  74. package/dist/collection/components/q2-tab-container/styles.css +1 -0
  75. package/dist/collection/components/q2-tab-pane/styles.css +1 -0
  76. package/dist/collection/components/q2-tag/styles.css +1 -0
  77. package/dist/collection/components/q2-textarea/styles.css +1 -0
  78. package/dist/collection/components/q2-tooltip/styles.css +1 -0
  79. package/dist/collection/components/tecton-tab-pane/styles.css +1 -0
  80. package/dist/esm/loader.js +1 -1
  81. package/dist/esm/q2-avatar.entry.js +1 -1
  82. package/dist/esm/q2-badge_2.entry.js +9 -3
  83. package/dist/esm/q2-btn_2.entry.js +2 -2
  84. package/dist/esm/q2-calendar.entry.js +1041 -1131
  85. package/dist/esm/q2-card.entry.js +1 -1
  86. package/dist/esm/q2-carousel-pane.entry.js +1 -1
  87. package/dist/esm/q2-carousel.entry.js +1 -1
  88. package/dist/esm/q2-chart-donut.entry.js +21 -3
  89. package/dist/esm/q2-checkbox-group.entry.js +1 -1
  90. package/dist/esm/q2-checkbox.entry.js +1 -1
  91. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  92. package/dist/esm/q2-dropdown.entry.js +1 -1
  93. package/dist/esm/q2-editable-field.entry.js +1 -1
  94. package/dist/esm/q2-icon.entry.js +1 -1
  95. package/dist/esm/q2-loc.entry.js +1 -1
  96. package/dist/esm/q2-message.entry.js +1 -1
  97. package/dist/esm/q2-optgroup.entry.js +1 -1
  98. package/dist/esm/q2-option-list.entry.js +1 -1
  99. package/dist/esm/q2-option.entry.js +1 -1
  100. package/dist/esm/q2-pagination.entry.js +1 -1
  101. package/dist/esm/q2-pill.entry.js +1 -1
  102. package/dist/esm/q2-radio-group.entry.js +2 -2
  103. package/dist/esm/q2-radio.entry.js +1 -1
  104. package/dist/esm/q2-section.entry.js +55 -81
  105. package/dist/esm/q2-select.entry.js +1 -1
  106. package/dist/esm/q2-stepper-pane.entry.js +1 -1
  107. package/dist/esm/q2-stepper-vertical.entry.js +1 -1
  108. package/dist/esm/q2-stepper.entry.js +1 -1
  109. package/dist/esm/q2-tab-container.entry.js +1 -1
  110. package/dist/esm/q2-tab-pane.entry.js +1 -1
  111. package/dist/esm/q2-tag.entry.js +1 -1
  112. package/dist/esm/q2-tecton-elements.js +1 -1
  113. package/dist/esm/q2-textarea.entry.js +1 -1
  114. package/dist/esm/q2-tooltip.entry.js +1 -1
  115. package/dist/esm/tecton-tab-pane.entry.js +1 -1
  116. package/dist/q2-tecton-elements/p-06865cf5.entry.js +1 -0
  117. package/dist/q2-tecton-elements/p-0d849ed4.entry.js +1 -0
  118. package/dist/q2-tecton-elements/p-2a217895.entry.js +1 -0
  119. package/dist/q2-tecton-elements/p-2b94ae62.entry.js +1 -0
  120. package/dist/q2-tecton-elements/p-2faed36b.entry.js +1 -0
  121. package/dist/q2-tecton-elements/{p-f617c54a.entry.js → p-30a4fdfb.entry.js} +1 -1
  122. package/dist/q2-tecton-elements/p-30f81b22.entry.js +1 -0
  123. package/dist/q2-tecton-elements/{p-677faf2c.entry.js → p-31070ab8.entry.js} +1 -1
  124. package/dist/q2-tecton-elements/p-318758d4.entry.js +1 -0
  125. package/dist/q2-tecton-elements/p-41c22a16.entry.js +1 -0
  126. package/dist/q2-tecton-elements/p-445e7c45.entry.js +1 -0
  127. package/dist/q2-tecton-elements/p-44bdaf52.entry.js +1 -0
  128. package/dist/q2-tecton-elements/{p-60a7a11e.entry.js → p-4c53713d.entry.js} +1 -1
  129. package/dist/q2-tecton-elements/{p-b6c45ef6.entry.js → p-4da9b6b6.entry.js} +1 -1
  130. package/dist/q2-tecton-elements/p-5acb7ec6.entry.js +1 -0
  131. package/dist/q2-tecton-elements/p-64605d17.entry.js +1 -0
  132. package/dist/q2-tecton-elements/p-64ca8c59.entry.js +1 -0
  133. package/dist/q2-tecton-elements/{p-0e9c7220.entry.js → p-654fcd6b.entry.js} +1 -1
  134. package/dist/q2-tecton-elements/{p-b7dc4e93.entry.js → p-661c2092.entry.js} +1 -1
  135. package/dist/q2-tecton-elements/p-732dafd0.entry.js +1 -0
  136. package/dist/q2-tecton-elements/p-815c8a7d.entry.js +1 -0
  137. package/dist/q2-tecton-elements/{p-822d3d6c.entry.js → p-824a1d7c.entry.js} +1 -1
  138. package/dist/q2-tecton-elements/{p-4b48fde6.entry.js → p-8543a0e1.entry.js} +1 -1
  139. package/dist/q2-tecton-elements/p-916fd90b.entry.js +1 -0
  140. package/dist/q2-tecton-elements/p-94b3c534.entry.js +1 -0
  141. package/dist/q2-tecton-elements/p-a45c6b65.entry.js +1 -0
  142. package/dist/q2-tecton-elements/p-a659d112.entry.js +1 -0
  143. package/dist/q2-tecton-elements/{p-879aa7ac.entry.js → p-b4b8f85c.entry.js} +3 -3
  144. package/dist/q2-tecton-elements/{p-92e9f290.entry.js → p-b595b415.entry.js} +1 -1
  145. package/dist/q2-tecton-elements/{p-5270b0ff.entry.js → p-cde0cdff.entry.js} +1 -1
  146. package/dist/q2-tecton-elements/{p-dd3f64a7.entry.js → p-d3e4cc5d.entry.js} +1 -1
  147. package/dist/q2-tecton-elements/p-d781e2d9.entry.js +1 -0
  148. package/dist/q2-tecton-elements/{p-dd792081.entry.js → p-d8d9e8eb.entry.js} +1 -1
  149. package/dist/q2-tecton-elements/p-fbf23146.entry.js +1 -0
  150. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  151. package/dist/test/helpers.js +2 -2
  152. package/dist/types/components/q2-chart-donut/index.d.ts +12 -21
  153. package/dist/types/components/q2-input/index.d.ts +1 -0
  154. package/dist/types/components/q2-section/index.d.ts +11 -18
  155. package/dist/types/components.d.ts +5 -2
  156. package/dist/types/workspace/workspace/{tecton-production_release_1.16.x → Tecton_tecton-production_master}/packages/q2-tecton-elements/.stencil/test/elements/q2-tag-test.d.ts +0 -0
  157. package/dist/types/workspace/workspace/{tecton-production_release_1.16.x → Tecton_tecton-production_master}/packages/q2-tecton-elements/.stencil/test/helpers.d.ts +0 -0
  158. package/package.json +2 -2
  159. package/dist/q2-tecton-elements/p-0a8b8d14.entry.js +0 -1
  160. package/dist/q2-tecton-elements/p-0b5fbbe8.entry.js +0 -1
  161. package/dist/q2-tecton-elements/p-0d00030f.entry.js +0 -1
  162. package/dist/q2-tecton-elements/p-1b0f826e.entry.js +0 -1
  163. package/dist/q2-tecton-elements/p-1c430c2a.entry.js +0 -1
  164. package/dist/q2-tecton-elements/p-2d2008fd.entry.js +0 -1
  165. package/dist/q2-tecton-elements/p-34f99830.entry.js +0 -1
  166. package/dist/q2-tecton-elements/p-35bde69c.entry.js +0 -1
  167. package/dist/q2-tecton-elements/p-376988ef.entry.js +0 -1
  168. package/dist/q2-tecton-elements/p-49612230.entry.js +0 -1
  169. package/dist/q2-tecton-elements/p-4ec2cb69.entry.js +0 -1
  170. package/dist/q2-tecton-elements/p-5e990654.entry.js +0 -1
  171. package/dist/q2-tecton-elements/p-6e10db80.entry.js +0 -1
  172. package/dist/q2-tecton-elements/p-6f884c60.entry.js +0 -1
  173. package/dist/q2-tecton-elements/p-8584c6bc.entry.js +0 -1
  174. package/dist/q2-tecton-elements/p-87766054.entry.js +0 -1
  175. package/dist/q2-tecton-elements/p-c59d601e.entry.js +0 -1
  176. package/dist/q2-tecton-elements/p-d040bf99.entry.js +0 -1
  177. package/dist/q2-tecton-elements/p-d79386c6.entry.js +0 -1
  178. package/dist/q2-tecton-elements/p-ef2f68b2.entry.js +0 -1
  179. package/dist/q2-tecton-elements/p-f66adef0.entry.js +0 -1
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-0128397d.js');
6
6
 
7
- const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-global-focus, 0 0 0 2px #33b4ff)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:inline-block}.tooltipped{--comp-background:var(--tct-tooltip-background-color, var(--t-tooltip-background-color, var(--t-top-a3, rgba(13, 13, 13, 0.85))));--comp-offset-default:calc(var(--app-scale-1x, 5px) * -1);--comp-offset:var(--tct-tooltip-offset, var(--t-tooltip-offset, var(--comp-offset-default)));--comp-position:var(--tct-tooltip-position, var(--t-tooltip-position, var(--app-scale-1x, 5px)));--comp-body-offset-default:calc(var(--app-scale-3x, 15px) * -1);--comp-body-offset:var(--tct-tooltip-body-offset, var(--t-tooltip-body-offset, var(--comp-body-offset-default)));--comp-duration:var(--tct-tooltip-animation-duration, var(--t-tooltip-animation-duration, var(--app-duration-1, 0.2s)));--comp-visible-duration:var(--tct-tooltip-animation-visible-duration, var(--t-tooltip-animation-visible-duration, 2s));position:relative}@keyframes tooltippedFade{from{opacity:0}to{opacity:1}}.tooltipped:before{position:absolute;z-index:1000001;width:0;height:0;color:var(--comp-background);pointer-events:none;content:\"\";border:var(--tct-tooltip-arrow-size, var(--t-tooltip-arrow-size, var(--app-scale-1x, 5px))) solid transparent}.tooltipped:after{--comp-padding:var(--app-scale-1x, 5px) 8px;position:absolute;z-index:1000000;padding:var(--tct-tooltip-padding, var(--t-tooltip-padding, var(--comp-padding)));font-weight:600;font-size:12px;line-height:1.5;color:var(--tct-tooltip-color, var(--t-tooltip-color, var(--app-white, #ffffff)));text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:var(--comp-background);border-radius:3px}.tooltipped[label][stencil-hydrated]:after{content:attr(label)}.tooltipped:before,.tooltipped:after{display:inline-block;visibility:hidden;opacity:0;transition:all var(--comp-duration) ease-in-out 0s}.tooltipped:hover:before,.tooltipped:hover:after,.tooltipped:active:before,.tooltipped:active:after,.tooltipped:focus:before,.tooltipped:focus:after,.tooltipped:focus-within:before,.tooltipped:focus-within:after{text-decoration:none;visibility:visible;opacity:1}.tooltipped:hover:before,.tooltipped:hover:after,.tooltipped:active:before,.tooltipped:active:after{transition:all var(--comp-duration) ease-in-out}.tooltipped:hover:before,.tooltipped:hover:after{transition-delay:1s}.tooltipped:focus:before,.tooltipped:focus:after,.tooltipped:focus-within:before,.tooltipped:focus-within:after{animation-timing-function:ease-in-out;animation-fill-mode:forwards;animation-name:tooltippedFade, tooltippedFade;animation-direction:normal, reverse;animation-duration:var(--comp-duration);animation-delay:0ms, calc(var(--comp-visible-duration) + var(--comp-duration))}.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):hover:before,.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):hover:after,.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):active:before,.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):active:after,.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):focus:before,.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):focus:after,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:hover:before,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:hover:after,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:active:before,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:active:after,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:focus:before,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:focus:after,.tooltipped:not([stencil-hydrated]):not([aria-label]):hover:before,.tooltipped:not([stencil-hydrated]):not([aria-label]):hover:after,.tooltipped:not([stencil-hydrated]):not([aria-label]):active:before,.tooltipped:not([stencil-hydrated]):not([aria-label]):active:after,.tooltipped:not([stencil-hydrated]):not([aria-label]):focus:before,.tooltipped:not([stencil-hydrated]):not([aria-label]):focus:after{display:none}.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):focus-within:before,.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):focus-within:after,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:focus-within:before,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:focus-within:after,.tooltipped:not([stencil-hydrated]):not([aria-label]):focus-within:before,.tooltipped:not([stencil-hydrated]):not([aria-label]):focus-within:after{display:none}.tooltipped-multiline:after{width:max-content;max-width:var(--tct-tooltip-max-width, var(--t-tooltip-max-width, 200px));word-break:break-word;word-wrap:normal;white-space:pre-line;border-collapse:separate;text-align:left}.tooltipped-multiline.tooltipped-s:after,.tooltipped-multiline.tooltipped-n:after{right:auto;left:50%;transform:translateX(-50%)}.tooltipped-multiline.tooltipped-w:after,.tooltipped-multiline.tooltipped-e:after{right:100%}.tooltipped-multiline:hover:after,.tooltipped-multiline:active:after,.tooltipped-multiline:focus:after{display:table-cell}.tooltipped-multiline:focus-within:after{display:table-cell}.tooltipped-sticky:before,.tooltipped-sticky:after{display:inline-block}.tooltipped-sticky.tooltipped-multiline:after{display:table-cell}.tooltipped-s:after,.tooltipped-se:after,.tooltipped-sw:after{top:100%;right:50%;margin-top:var(--comp-position)}.tooltipped-s:before,.tooltipped-se:before,.tooltipped-sw:before{top:auto;right:50%;bottom:var(--comp-offset);margin-right:var(--comp-offset);border-bottom-color:var(--comp-background)}.tooltipped-se:after{right:auto;left:50%;margin-left:var(--comp-body-offset)}.tooltipped-sw:after{margin-right:var(--comp-body-offset)}.tooltipped-n:after,.tooltipped-ne:after,.tooltipped-nw:after{right:50%;bottom:100%;margin-bottom:var(--comp-position)}.tooltipped-n:before,.tooltipped-ne:before,.tooltipped-nw:before{top:var(--comp-offset);right:50%;bottom:auto;margin-right:var(--comp-offset);border-top-color:var(--comp-background)}.tooltipped-ne:after{right:auto;left:50%;margin-left:var(--comp-body-offset)}.tooltipped-nw:after{margin-right:var(--comp-body-offset)}.tooltipped-s:after,.tooltipped-n:after{transform:translateX(50%)}.tooltipped-w:after{right:100%;bottom:50%;margin-right:var(--comp-position);transform:translateY(50%)}.tooltipped-w:before{top:50%;bottom:50%;left:var(--comp-offset);margin-top:var(--comp-offset);border-left-color:var(--comp-background)}.tooltipped-e:after{bottom:50%;left:100%;margin-left:var(--comp-position);transform:translateY(50%)}.tooltipped-e:before{top:50%;right:var(--comp-offset);bottom:50%;margin-top:var(--comp-offset);border-right-color:var(--comp-background)}.phone .tooltipped:not(.tooltip-popover):hover:before,.phone .tooltipped:not(.tooltip-popover):hover:after,.phone .tooltipped:not(.tooltip-popover):active:before,.phone .tooltipped:not(.tooltip-popover):active:after,.phone .tooltipped:not(.tooltip-popover):focus:before,.phone .tooltipped:not(.tooltip-popover):focus:after,.phone .tooltipped:not(.tooltip-popover):focus-within:before,.phone .tooltipped:not(.tooltip-popover):focus-within:after,.tablet .tooltipped:not(.tooltip-popover):hover:before,.tablet .tooltipped:not(.tooltip-popover):hover:after,.tablet .tooltipped:not(.tooltip-popover):active:before,.tablet .tooltipped:not(.tooltip-popover):active:after,.tablet .tooltipped:not(.tooltip-popover):focus:before,.tablet .tooltipped:not(.tooltip-popover):focus:after,.tablet .tooltipped:not(.tooltip-popover):focus-within:before,.tablet .tooltipped:not(.tooltip-popover):focus-within:after{display:none}.q2-tooltip-container{display:inline-block;transition:all var(--comp-duration) ease-in-out 0s}.q2-tooltip-container.block{display:block}.q2-tooltip-container.persistent.tooltipped:before,.q2-tooltip-container.persistent.tooltipped:after{visibility:visible;opacity:1}";
7
+ const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-global-focus, 0 0 0 2px #33b4ff)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:inline-block}.tooltipped{--comp-background:var(--tct-tooltip-background-color, var(--t-tooltip-background-color, var(--t-top-a3, rgba(13, 13, 13, 0.85))));--comp-offset-default:calc(var(--app-scale-1x, 5px) * -1);--comp-offset:var(--tct-tooltip-offset, var(--t-tooltip-offset, var(--comp-offset-default)));--comp-position:var(--tct-tooltip-position, var(--t-tooltip-position, var(--app-scale-1x, 5px)));--comp-body-offset-default:calc(var(--app-scale-3x, 15px) * -1);--comp-body-offset:var(--tct-tooltip-body-offset, var(--t-tooltip-body-offset, var(--comp-body-offset-default)));--comp-duration:var(--tct-tooltip-animation-duration, var(--t-tooltip-animation-duration, var(--app-duration-1, 0.2s)));--comp-visible-duration:var(--tct-tooltip-animation-visible-duration, var(--t-tooltip-animation-visible-duration, 2s));position:relative}@keyframes tooltippedFade{from{opacity:0}to{opacity:1}}.tooltipped:before{position:absolute;z-index:1000001;width:0;height:0;color:var(--comp-background);pointer-events:none;content:\"\";border:var(--tct-tooltip-arrow-size, var(--t-tooltip-arrow-size, var(--app-scale-1x, 5px))) solid transparent}.tooltipped:after{--comp-padding:var(--app-scale-1x, 5px) 8px;position:absolute;z-index:1000000;padding:var(--tct-tooltip-padding, var(--t-tooltip-padding, var(--comp-padding)));font-weight:600;font-size:12px;line-height:1.5;color:var(--tct-tooltip-color, var(--t-tooltip-color, var(--app-white, #ffffff)));text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:var(--comp-background);border-radius:3px}.tooltipped[label][stencil-hydrated]:after{content:attr(label)}.tooltipped:before,.tooltipped:after{display:inline-block;visibility:hidden;opacity:0;transition:all var(--comp-duration) ease-in-out 0s}.tooltipped:hover:before,.tooltipped:hover:after,.tooltipped:active:before,.tooltipped:active:after,.tooltipped:focus:before,.tooltipped:focus:after,.tooltipped:focus-within:before,.tooltipped:focus-within:after{text-decoration:none;visibility:visible;opacity:1}.tooltipped:hover:before,.tooltipped:hover:after,.tooltipped:active:before,.tooltipped:active:after{transition:all var(--comp-duration) ease-in-out}.tooltipped:hover:before,.tooltipped:hover:after{transition-delay:1s}.tooltipped:focus:before,.tooltipped:focus:after,.tooltipped:focus-within:before,.tooltipped:focus-within:after{animation-timing-function:ease-in-out;animation-fill-mode:forwards;animation-name:tooltippedFade, tooltippedFade;animation-direction:normal, reverse;animation-duration:var(--comp-duration);animation-delay:0ms, calc(var(--comp-visible-duration) + var(--comp-duration))}.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):hover:before,.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):hover:after,.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):active:before,.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):active:after,.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):focus:before,.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):focus:after,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:hover:before,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:hover:after,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:active:before,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:active:after,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:focus:before,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:focus:after,.tooltipped:not([stencil-hydrated]):not([aria-label]):hover:before,.tooltipped:not([stencil-hydrated]):not([aria-label]):hover:after,.tooltipped:not([stencil-hydrated]):not([aria-label]):active:before,.tooltipped:not([stencil-hydrated]):not([aria-label]):active:after,.tooltipped:not([stencil-hydrated]):not([aria-label]):focus:before,.tooltipped:not([stencil-hydrated]):not([aria-label]):focus:after{display:none}.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):focus-within:before,.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):focus-within:after,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:focus-within:before,.tooltipped:not([stencil-hydrated])[aria-label=\"\"]:focus-within:after,.tooltipped:not([stencil-hydrated]):not([aria-label]):focus-within:before,.tooltipped:not([stencil-hydrated]):not([aria-label]):focus-within:after{display:none}.tooltipped-multiline:after{width:max-content;max-width:var(--tct-tooltip-max-width, var(--t-tooltip-max-width, 200px));word-break:break-word;word-wrap:normal;white-space:pre-line;border-collapse:separate;text-align:left}.tooltipped-multiline.tooltipped-s:after,.tooltipped-multiline.tooltipped-n:after{right:auto;left:50%;transform:translateX(-50%)}.tooltipped-multiline.tooltipped-w:after,.tooltipped-multiline.tooltipped-e:after{right:100%}.tooltipped-multiline:hover:after,.tooltipped-multiline:active:after,.tooltipped-multiline:focus:after{display:table-cell}.tooltipped-multiline:focus-within:after{display:table-cell}.tooltipped-sticky:before,.tooltipped-sticky:after{display:inline-block}.tooltipped-sticky.tooltipped-multiline:after{display:table-cell}.tooltipped-s:after,.tooltipped-se:after,.tooltipped-sw:after{top:100%;right:50%;margin-top:var(--comp-position)}.tooltipped-s:before,.tooltipped-se:before,.tooltipped-sw:before{top:auto;right:50%;bottom:var(--comp-offset);margin-right:var(--comp-offset);border-bottom-color:var(--comp-background)}.tooltipped-se:after{right:auto;left:50%;margin-left:var(--comp-body-offset)}.tooltipped-sw:after{margin-right:var(--comp-body-offset)}.tooltipped-n:after,.tooltipped-ne:after,.tooltipped-nw:after{right:50%;bottom:100%;margin-bottom:var(--comp-position)}.tooltipped-n:before,.tooltipped-ne:before,.tooltipped-nw:before{top:var(--comp-offset);right:50%;bottom:auto;margin-right:var(--comp-offset);border-top-color:var(--comp-background)}.tooltipped-ne:after{right:auto;left:50%;margin-left:var(--comp-body-offset)}.tooltipped-nw:after{margin-right:var(--comp-body-offset)}.tooltipped-s:after,.tooltipped-n:after{transform:translateX(50%)}.tooltipped-w:after{right:100%;bottom:50%;margin-right:var(--comp-position);transform:translateY(50%)}.tooltipped-w:before{top:50%;bottom:50%;left:var(--comp-offset);margin-top:var(--comp-offset);border-left-color:var(--comp-background)}.tooltipped-e:after{bottom:50%;left:100%;margin-left:var(--comp-position);transform:translateY(50%)}.tooltipped-e:before{top:50%;right:var(--comp-offset);bottom:50%;margin-top:var(--comp-offset);border-right-color:var(--comp-background)}.phone .tooltipped:not(.tooltip-popover):hover:before,.phone .tooltipped:not(.tooltip-popover):hover:after,.phone .tooltipped:not(.tooltip-popover):active:before,.phone .tooltipped:not(.tooltip-popover):active:after,.phone .tooltipped:not(.tooltip-popover):focus:before,.phone .tooltipped:not(.tooltip-popover):focus:after,.phone .tooltipped:not(.tooltip-popover):focus-within:before,.phone .tooltipped:not(.tooltip-popover):focus-within:after,.tablet .tooltipped:not(.tooltip-popover):hover:before,.tablet .tooltipped:not(.tooltip-popover):hover:after,.tablet .tooltipped:not(.tooltip-popover):active:before,.tablet .tooltipped:not(.tooltip-popover):active:after,.tablet .tooltipped:not(.tooltip-popover):focus:before,.tablet .tooltipped:not(.tooltip-popover):focus:after,.tablet .tooltipped:not(.tooltip-popover):focus-within:before,.tablet .tooltipped:not(.tooltip-popover):focus-within:after{display:none}.q2-tooltip-container{display:inline-block;transition:all var(--comp-duration) ease-in-out 0s}.q2-tooltip-container.block{display:block}.q2-tooltip-container.persistent.tooltipped:before,.q2-tooltip-container.persistent.tooltipped:after{visibility:visible;opacity:1}";
8
8
 
9
9
  const Q2Tooltip = class {
10
10
  constructor(hostRef) {
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-0128397d.js');
6
6
 
7
- const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-global-focus, 0 0 0 2px #33b4ff)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.tab-pane[aria-hidden=true]{display:none}.tab-pane:focus{outline:none;box-shadow:none}.loading-wrapper{height:44px;width:100%;align-items:center;justify-content:center}.loading-wrapper:not([hidden]){display:flex}iframe{width:100%;height:auto;overflow-y:hidden;border:none}iframe:not([hidden]){display:inline-block}.slot-wrapper:focus{outline:none;box-shadow:var(--const-global-focus)}";
7
+ const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-global-focus, 0 0 0 2px #33b4ff)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.tab-pane[aria-hidden=true]{display:none}.tab-pane:focus{outline:none;box-shadow:none}.loading-wrapper{height:44px;width:100%;align-items:center;justify-content:center}.loading-wrapper:not([hidden]){display:flex}iframe{width:100%;height:auto;overflow-y:hidden;border:none}iframe:not([hidden]){display:inline-block}.slot-wrapper:focus{outline:none;box-shadow:var(--const-global-focus)}";
8
8
 
9
9
  const TectonTabPane = class {
10
10
  constructor(hostRef) {
@@ -5,6 +5,7 @@
5
5
  "./components/q2-carousel/index.js",
6
6
  "./components/q2-checkbox/index.js",
7
7
  "./components/q2-dropdown/index.js",
8
+ "./components/q2-chart-donut/index.js",
8
9
  "./components/q2-option-list/index.js",
9
10
  "./components/q2-stepper-pane/index.js",
10
11
  "./components/q2-dropdown-item/index.js",
@@ -19,7 +20,6 @@
19
20
  "./components/q2-badge/index.js",
20
21
  "./components/q2-card/index.js",
21
22
  "./components/q2-carousel-pane/index.js",
22
- "./components/q2-chart-donut/index.js",
23
23
  "./components/q2-checkbox-group/index.js",
24
24
  "./components/q2-icon/index.js",
25
25
  "./components/q2-loading/skeleton/q2-loading-element/index.js",
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -88,7 +88,8 @@ export function stringToDate(date) {
88
88
  }
89
89
  export function removeTimezoneOffset(date) {
90
90
  const timeZoneOffset = date.getTimezoneOffset();
91
- return setMinutes(date, timeZoneOffset);
91
+ // Minutes compensation for some timezones like India, Central Australia and etc use GMT+5:30, GMT+9:30
92
+ return setMinutes(date, timeZoneOffset + Math.abs(timeZoneOffset % 60));
92
93
  }
93
94
  export function stringArrayToDate(dateArray) {
94
95
  if (!Array.isArray(dateArray) || dateArray.length === 0) {
@@ -97,9 +98,8 @@ export function stringArrayToDate(dateArray) {
97
98
  return dateArray.map(date => stringToDate(date));
98
99
  }
99
100
  export function setupMonthYear(value = new Date()) {
100
- const monthIndex = Number(value.toISOString().split('-')[1]) - 1;
101
101
  return {
102
- monthIndex,
102
+ monthIndex: value.getMonth(),
103
103
  selectedYear: value.getFullYear(),
104
104
  };
105
105
  }
@@ -161,10 +161,17 @@ export class Q2Calendar {
161
161
  (_a = this.btnPrevMonth) === null || _a === void 0 ? void 0 : _a.dispatchEvent(new FocusEvent('focus'));
162
162
  };
163
163
  this.goToMonthYear = (monthIndex, year) => {
164
- const newYear = removeTimezoneOffset(new Date(year, monthIndex));
164
+ if (monthIndex < 0) {
165
+ monthIndex = 11;
166
+ year--;
167
+ }
168
+ else if (monthIndex > 11) {
169
+ monthIndex = 0;
170
+ year++;
171
+ }
165
172
  this.selectedMonthYear = {
166
- monthIndex: newYear.getMonth(),
167
- selectedYear: newYear.getFullYear(),
173
+ monthIndex,
174
+ selectedYear: year,
168
175
  };
169
176
  this.dateList = this.buildDateList(this.selectedMonthYear);
170
177
  this.scheduledAfterRender.push(() => this.checkActiveCellForBlankness());
@@ -488,7 +495,7 @@ export class Q2Calendar {
488
495
  }
489
496
  generateDateFromDay(day) {
490
497
  const { monthIndex, selectedYear } = this.selectedMonthYear;
491
- return removeTimezoneOffset(new Date(selectedYear, monthIndex, day));
498
+ return new Date(selectedYear, monthIndex, day);
492
499
  }
493
500
  activateDay(date) {
494
501
  this.goToMonthYear(date.getMonth(), date.getFullYear());
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -10,6 +10,7 @@ export class Q2ChartDonut {
10
10
  constructor() {
11
11
  this.innerRadius = '70%';
12
12
  this.outerRadius = '85%';
13
+ this.minSliceSize = '2.5%';
13
14
  this.selectedOffset = 10;
14
15
  this.hoverScaleSize = 5;
15
16
  this.data = [];
@@ -187,6 +188,18 @@ export class Q2ChartDonut {
187
188
  }, 0);
188
189
  });
189
190
  }
191
+ cleanData(data) {
192
+ const { minSliceSize } = this;
193
+ const minSize = parseFloat(minSliceSize || '2.5%') / 100;
194
+ const total = data.reduce((acc, cur) => acc + cur.value, 0);
195
+ const minValue = total * minSize;
196
+ const newData = data.map(item => {
197
+ if (item.value < minValue)
198
+ return Object.assign(Object.assign({}, item), { value: minValue });
199
+ return item;
200
+ });
201
+ return newData;
202
+ }
190
203
  updateChart(chart) {
191
204
  return chart.setOption({
192
205
  tooltip: {
@@ -224,7 +237,7 @@ export class Q2ChartDonut {
224
237
  color: 'inherit',
225
238
  },
226
239
  },
227
- data: this.data,
240
+ data: this.cleanData(this.data),
228
241
  },
229
242
  ],
230
243
  });
@@ -312,7 +325,11 @@ export class Q2ChartDonut {
312
325
  : null;
313
326
  return (h("div", { class: "center-card-container", style: { width: `calc(${this.innerRadius} - 10%)` } },
314
327
  h(TagName, Object.assign({ class: "center-card", "test-id": "centerCard" }, props),
315
- icon && (h("q2-icon", { type: icon, style: color && { color } })),
328
+ icon && (h("q2-icon", { type: icon, style: color && {
329
+ '--tct-icon-stroke-primary': color,
330
+ '--tct-icon-stroke-secondary': color,
331
+ color,
332
+ } })),
316
333
  name && h("div", { class: "name" }, name),
317
334
  value && h("div", { class: "value" }, displayValue))));
318
335
  }
@@ -418,6 +435,24 @@ export class Q2ChartDonut {
418
435
  "reflect": false,
419
436
  "defaultValue": "'85%'"
420
437
  },
438
+ "minSliceSize": {
439
+ "type": "string",
440
+ "mutable": false,
441
+ "complexType": {
442
+ "original": "string",
443
+ "resolved": "string",
444
+ "references": {}
445
+ },
446
+ "required": false,
447
+ "optional": false,
448
+ "docs": {
449
+ "tags": [],
450
+ "text": ""
451
+ },
452
+ "attribute": "min-slice-size",
453
+ "reflect": false,
454
+ "defaultValue": "'2.5%'"
455
+ },
421
456
  "selectedOffset": {
422
457
  "type": "number",
423
458
  "mutable": false,
@@ -492,9 +527,13 @@ export class Q2ChartDonut {
492
527
  "type": "unknown",
493
528
  "mutable": false,
494
529
  "complexType": {
495
- "original": "{ id: string; value: number; name: string; icon?: string; color?: string }[]",
496
- "resolved": "{ id: string; value: number; name: string; icon?: string; color?: string; }[]",
497
- "references": {}
530
+ "original": "IChartData[]",
531
+ "resolved": "IChartData[]",
532
+ "references": {
533
+ "IChartData": {
534
+ "location": "local"
535
+ }
536
+ }
498
537
  },
499
538
  "required": false,
500
539
  "optional": false,
@@ -606,6 +645,9 @@ export class Q2ChartDonut {
606
645
  }, {
607
646
  "propName": "outerRadius",
608
647
  "methodName": "propsUpdates"
648
+ }, {
649
+ "propName": "minSliceSize",
650
+ "methodName": "propsUpdates"
609
651
  }, {
610
652
  "propName": "hoverScaleSize",
611
653
  "methodName": "propsUpdates"
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -204,6 +204,12 @@ export class Q2Input {
204
204
  return (this.type && inputTypeMap[this.type]) || 'text';
205
205
  }
206
206
  }
207
+ get computedAutocomplete() {
208
+ // force off for currenty type
209
+ if (this.type === 'currency')
210
+ return 'transaction-amount';
211
+ return this.autocomplete || 'off';
212
+ }
207
213
  get computedIconLeft() {
208
214
  if (this.formattedValueObject.prefix) {
209
215
  return;
@@ -326,7 +332,7 @@ export class Q2Input {
326
332
  return (h(Fragment, null,
327
333
  hasCustomDisplaySlot && (h("div", { class: "custom-display-container" },
328
334
  h("slot", { name: "custom-display" }))),
329
- h("input", { class: inputClasses.join(' '), id: this.inputId, type: this.computedType, size: this.formattedValueObject.prefix ? 10 : undefined, max: this.max, min: this.min, step: this.step, "aria-current": this.current || undefined, "aria-describedby": this.inputDescribedBy, "aria-required": `${!this.optional}`, "aria-invalid": `${this.hasError}`, "aria-controls": (this.ariaControls && `${this.ariaControls}`) || undefined, "aria-owns": (this.ariaOwns && `${this.ariaOwns}`) || undefined, "aria-haspopup": (this.ariaHaspopup && `${this.ariaHaspopup}`) || undefined, "aria-expanded": (!!this.ariaExpanded && `${!!this.ariaExpanded}`) || undefined, "aria-activedescendant": this.ariaActivedescendant && `${this.ariaActivedescendant}`, "aria-label": this.hideLabel && this.label ? loc(this.label) : undefined, autocomplete: this.autocomplete ? this.autocomplete : 'off', autocapitalize: this.autocapitalize === 'on' ? 'on' : 'off', autocorrect: this.autocorrect === 'on' ? 'on' : 'off', placeholder: (this.placeholder && loc(this.placeholder)) || undefined, role: (this.role && `${this.role}`) || undefined, "test-id": "inputField", readonly: !!this.readonly, disabled: !!this.disabled, onFocus: this.onInputFocus, onBlur: this.onInputBlur, onKeyDown: this.onInputKeydown, onInput: this.onInputInput, onPaste: this.onInputPaste })));
335
+ h("input", { class: inputClasses.join(' '), id: this.inputId, type: this.computedType, size: this.formattedValueObject.prefix ? 10 : undefined, max: this.max, min: this.min, step: this.step, "aria-current": this.current || undefined, "aria-describedby": this.inputDescribedBy, "aria-required": `${!this.optional}`, "aria-invalid": `${this.hasError}`, "aria-controls": (this.ariaControls && `${this.ariaControls}`) || undefined, "aria-owns": (this.ariaOwns && `${this.ariaOwns}`) || undefined, "aria-haspopup": (this.ariaHaspopup && `${this.ariaHaspopup}`) || undefined, "aria-expanded": (!!this.ariaExpanded && `${!!this.ariaExpanded}`) || undefined, "aria-activedescendant": this.ariaActivedescendant && `${this.ariaActivedescendant}`, "aria-label": this.hideLabel && this.label ? loc(this.label) : undefined, autocomplete: this.computedAutocomplete, autocapitalize: this.autocapitalize === 'on' ? 'on' : 'off', autocorrect: this.autocorrect === 'on' ? 'on' : 'off', placeholder: (this.placeholder && loc(this.placeholder)) || undefined, role: (this.role && `${this.role}`) || undefined, "test-id": "inputField", readonly: !!this.readonly, disabled: !!this.disabled, onFocus: this.onInputFocus, onBlur: this.onInputBlur, onKeyDown: this.onInputKeydown, onInput: this.onInputInput, onPaste: this.onInputPaste })));
330
336
  }
331
337
  /* tslint:enable:cyclomatic-complexity */
332
338
  pseudoInputDOM() {
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -122,7 +122,7 @@ export class Q2RadioGroup {
122
122
  showLabelRow && (h("div", { class: "label-row" },
123
123
  showLabel && h("div", { class: "group-legend" }, this.labelDOM()),
124
124
  hasError && (h("q2-icon", { type: "error", "test-id": "iconError" })))),
125
- h("fieldset", { onChange: this.onInnerRadioChange, "aria-required": `${!this.optional}`, "aria-readonly": `${this.readonly}` },
125
+ h("fieldset", { onChange: this.onInnerRadioChange, "aria-required": `${!this.optional}`, "aria-readonly": `${this.readonly}`, "aria-invalid": `${this.hasError}` },
126
126
  showLabel && h("legend", { class: "sr" }, this.labelDOM()),
127
127
  this.inputDom())));
128
128
  }
@@ -24,6 +24,7 @@ textarea,
24
24
  button {
25
25
  font-family: inherit;
26
26
  font-size: inherit;
27
+ font-stretch: inherit;
27
28
  }
28
29
 
29
30
  :host(.sr),
@@ -120,6 +121,9 @@ fieldset {
120
121
  :host([has-error]) .options-container {
121
122
  border-color: var(--tct-input-error-border-color, var(--const-stoplight-alert, #c30000));
122
123
  }
124
+ :host([has-error=false]) .options-container {
125
+ border-color: transparent;
126
+ }
123
127
 
124
128
  .tile-container.left {
125
129
  justify-content: start;