@haiilo/catalyst 10.11.1 → 10.13.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 (157) hide show
  1. package/dist/catalyst/catalyst.css +1 -1
  2. package/dist/catalyst/catalyst.esm.js +1 -1
  3. package/dist/catalyst/catalyst.esm.js.map +1 -1
  4. package/dist/catalyst/index.esm.js +1 -1
  5. package/dist/catalyst/index.esm.js.map +1 -1
  6. package/dist/catalyst/p-751d92ed.js +3 -0
  7. package/dist/catalyst/p-751d92ed.js.map +1 -0
  8. package/dist/catalyst/p-8f350146.entry.js +10 -0
  9. package/dist/catalyst/p-8f350146.entry.js.map +1 -0
  10. package/dist/catalyst/p-e1255160.js.map +1 -1
  11. package/dist/catalyst/p-f4873629.js +2 -0
  12. package/dist/catalyst/{p-2c8ac8cf.js.map → p-f4873629.js.map} +1 -1
  13. package/dist/catalyst/scss/core/_dialog.scss +1 -1
  14. package/dist/cjs/cat-alert_29.cjs.entry.js +584 -122
  15. package/dist/cjs/cat-alert_29.cjs.entry.js.map +1 -1
  16. package/dist/cjs/catalyst.cjs.js +10 -10
  17. package/dist/cjs/catalyst.cjs.js.map +1 -1
  18. package/dist/cjs/index-a45dd7c9.js +1383 -0
  19. package/dist/cjs/index-a45dd7c9.js.map +1 -0
  20. package/dist/cjs/index.cjs.js +1 -1
  21. package/dist/cjs/loader.cjs.js +2 -2
  22. package/dist/cjs/{of-f2844da8.js → of-5cd84f84.js} +22 -22
  23. package/dist/cjs/{of-f2844da8.js.map → of-5cd84f84.js.map} +1 -1
  24. package/dist/collection/collection-manifest.json +2 -2
  25. package/dist/collection/components/cat-alert/cat-alert.js +1 -1
  26. package/dist/collection/components/cat-alert/cat-alert.js.map +1 -1
  27. package/dist/collection/components/cat-avatar/cat-avatar.js +0 -4
  28. package/dist/collection/components/cat-avatar/cat-avatar.js.map +1 -1
  29. package/dist/collection/components/cat-badge/cat-badge.js +1 -1
  30. package/dist/collection/components/cat-button/cat-button.js +0 -4
  31. package/dist/collection/components/cat-button/cat-button.js.map +1 -1
  32. package/dist/collection/components/cat-button-group/cat-button-group.js +1 -1
  33. package/dist/collection/components/cat-card/cat-card.js +1 -1
  34. package/dist/collection/components/cat-checkbox/cat-checkbox.js +1 -9
  35. package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -1
  36. package/dist/collection/components/cat-date/cat-date.js +3 -3
  37. package/dist/collection/components/cat-date-inline/cat-date-inline.js +4 -12
  38. package/dist/collection/components/cat-date-inline/cat-date-inline.js.map +1 -1
  39. package/dist/collection/components/cat-datepicker/cat-datepicker.js +4 -4
  40. package/dist/collection/components/cat-datepicker/cat-datepicker.js.map +1 -1
  41. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js +2 -2
  42. package/dist/collection/components/cat-dropdown/cat-dropdown.js +22 -3
  43. package/dist/collection/components/cat-dropdown/cat-dropdown.js.map +1 -1
  44. package/dist/collection/components/cat-form-group/cat-form-group.js +1 -1
  45. package/dist/collection/components/cat-icon/cat-icon.js +1 -1
  46. package/dist/collection/components/cat-input/cat-input.js +4 -10
  47. package/dist/collection/components/cat-input/cat-input.js.map +1 -1
  48. package/dist/collection/components/cat-pagination/cat-pagination.js +2 -2
  49. package/dist/collection/components/cat-radio/cat-radio.js +1 -9
  50. package/dist/collection/components/cat-radio/cat-radio.js.map +1 -1
  51. package/dist/collection/components/cat-radio-group/cat-radio-group.js +1 -1
  52. package/dist/collection/components/cat-scrollable/cat-scrollable.js +3 -3
  53. package/dist/collection/components/cat-scrollable/cat-scrollable.js.map +1 -1
  54. package/dist/collection/components/cat-select/cat-select.js +6 -12
  55. package/dist/collection/components/cat-select/cat-select.js.map +1 -1
  56. package/dist/collection/components/cat-select-demo/cat-select-demo.js +1 -1
  57. package/dist/collection/components/cat-skeleton/cat-skeleton.js +1 -1
  58. package/dist/collection/components/cat-spinner/cat-spinner.js +2 -2
  59. package/dist/collection/components/cat-tab/cat-tab.js +1 -1
  60. package/dist/collection/components/cat-tabs/cat-tabs.js +1 -1
  61. package/dist/collection/components/cat-textarea/cat-textarea.js +3 -9
  62. package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -1
  63. package/dist/collection/components/cat-time/cat-time.js +3 -3
  64. package/dist/collection/components/cat-time/cat-time.js.map +1 -1
  65. package/dist/collection/components/cat-toggle/cat-toggle.js +1 -9
  66. package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -1
  67. package/dist/collection/components/cat-tooltip/cat-tooltip.js +3 -3
  68. package/dist/collection/scss/core/_dialog.scss +1 -1
  69. package/dist/components/cat-alert.js +1 -1
  70. package/dist/components/cat-alert.js.map +1 -1
  71. package/dist/components/cat-avatar2.js +0 -4
  72. package/dist/components/cat-avatar2.js.map +1 -1
  73. package/dist/components/cat-badge.js +1 -1
  74. package/dist/components/cat-button-group.js +1 -1
  75. package/dist/components/cat-button2.js +0 -4
  76. package/dist/components/cat-button2.js.map +1 -1
  77. package/dist/components/cat-card.js +1 -1
  78. package/dist/components/cat-checkbox2.js +1 -9
  79. package/dist/components/cat-checkbox2.js.map +1 -1
  80. package/dist/components/cat-date-inline2.js +4 -12
  81. package/dist/components/cat-date-inline2.js.map +1 -1
  82. package/dist/components/cat-date.js +2 -2
  83. package/dist/components/cat-datepicker-inline.js +2 -2
  84. package/dist/components/cat-datepicker.js +3 -3
  85. package/dist/components/cat-datepicker.js.map +1 -1
  86. package/dist/components/cat-dropdown2.js +4 -2
  87. package/dist/components/cat-dropdown2.js.map +1 -1
  88. package/dist/components/cat-form-group.js +1 -1
  89. package/dist/components/cat-icon-registry.js +21 -21
  90. package/dist/components/cat-icon2.js +1 -1
  91. package/dist/components/cat-input2.js +4 -10
  92. package/dist/components/cat-input2.js.map +1 -1
  93. package/dist/components/cat-pagination.js +2 -2
  94. package/dist/components/cat-radio-group.js +1 -1
  95. package/dist/components/cat-radio.js +1 -9
  96. package/dist/components/cat-radio.js.map +1 -1
  97. package/dist/components/cat-scrollable2.js +3 -3
  98. package/dist/components/cat-scrollable2.js.map +1 -1
  99. package/dist/components/cat-select-demo.js +1 -1
  100. package/dist/components/cat-select2.js +5 -11
  101. package/dist/components/cat-select2.js.map +1 -1
  102. package/dist/components/cat-skeleton2.js +1 -1
  103. package/dist/components/cat-spinner2.js +2 -2
  104. package/dist/components/cat-tab.js +1 -1
  105. package/dist/components/cat-tabs.js +1 -1
  106. package/dist/components/cat-textarea.js +3 -9
  107. package/dist/components/cat-textarea.js.map +1 -1
  108. package/dist/components/cat-time.js +2 -2
  109. package/dist/components/cat-time.js.map +1 -1
  110. package/dist/components/cat-toggle.js +1 -9
  111. package/dist/components/cat-toggle.js.map +1 -1
  112. package/dist/components/cat-tooltip.js +2 -2
  113. package/dist/components/floating-ui.dom.esm.js +531 -13
  114. package/dist/components/floating-ui.dom.esm.js.map +1 -1
  115. package/dist/esm/cat-alert_29.entry.js +584 -122
  116. package/dist/esm/cat-alert_29.entry.js.map +1 -1
  117. package/dist/esm/catalyst.js +11 -11
  118. package/dist/esm/catalyst.js.map +1 -1
  119. package/dist/esm/index-3059296e.js +1354 -0
  120. package/dist/esm/index-3059296e.js.map +1 -0
  121. package/dist/esm/index.js +2 -2
  122. package/dist/esm/loader.js +3 -3
  123. package/dist/esm/{of-53334b95.js → of-625babef.js} +22 -22
  124. package/dist/esm/{of-53334b95.js.map → of-625babef.js.map} +1 -1
  125. package/dist/types/components/cat-avatar/cat-avatar.d.ts +0 -1
  126. package/dist/types/components/cat-button/cat-button.d.ts +0 -1
  127. package/dist/types/components/cat-checkbox/cat-checkbox.d.ts +0 -1
  128. package/dist/types/components/cat-date-inline/cat-date-inline.d.ts +0 -1
  129. package/dist/types/components/cat-dropdown/cat-dropdown.d.ts +4 -0
  130. package/dist/types/components/cat-radio/cat-radio.d.ts +0 -1
  131. package/dist/types/components/cat-toggle/cat-toggle.d.ts +0 -1
  132. package/dist/types/components.d.ts +8 -0
  133. package/dist/types/stencil-public-runtime.d.ts +3 -8
  134. package/loader/cdn.js +1 -3
  135. package/loader/index.cjs.js +1 -3
  136. package/loader/index.es2017.js +1 -3
  137. package/loader/index.js +1 -3
  138. package/package.json +16 -16
  139. package/dist/catalyst/p-22f0435a.js +0 -3
  140. package/dist/catalyst/p-22f0435a.js.map +0 -1
  141. package/dist/catalyst/p-2c8ac8cf.js +0 -2
  142. package/dist/catalyst/p-7da486bb.entry.js +0 -10
  143. package/dist/catalyst/p-7da486bb.entry.js.map +0 -1
  144. package/dist/cjs/index-66a60071.js +0 -2081
  145. package/dist/cjs/index-66a60071.js.map +0 -1
  146. package/dist/collection/utils/assert.js +0 -9
  147. package/dist/collection/utils/assert.js.map +0 -1
  148. package/dist/components/assert.js +0 -13
  149. package/dist/components/assert.js.map +0 -1
  150. package/dist/esm/index-b7832dfc.js +0 -2052
  151. package/dist/esm/index-b7832dfc.js.map +0 -1
  152. package/dist/esm/polyfills/core-js.js +0 -11
  153. package/dist/esm/polyfills/dom.js +0 -79
  154. package/dist/esm/polyfills/es5-html-element.js +0 -1
  155. package/dist/esm/polyfills/index.js +0 -34
  156. package/dist/esm/polyfills/system.js +0 -6
  157. package/dist/types/utils/assert.d.ts +0 -1
@@ -1,46 +1,46 @@
1
1
  import { l as log } from './loglevel.js';
2
2
 
3
- const chevronDoubleLeft16 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.53 4.53a.75.75 0 0 0-1.06-1.06l-4 4a.75.75 0 0 0 0 1.06l4 4a.75.75 0 0 0 1.06-1.06L4.06 8l3.47-3.47Z"/><path d="M12.53 4.53a.75.75 0 0 0-1.06-1.06l-4 4a.75.75 0 0 0 0 1.06l4 4a.75.75 0 1 0 1.06-1.06L9.06 8l3.47-3.47Z"/></svg>`;
3
+ const chevronDoubleLeft16 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.53 4.53a.75.75 0 0 0-1.06-1.06l-4 4a.75.75 0 0 0 0 1.06l4 4a.75.75 0 0 0 1.06-1.06L4.06 8z"/><path d="M12.53 4.53a.75.75 0 0 0-1.06-1.06l-4 4a.75.75 0 0 0 0 1.06l4 4a.75.75 0 1 0 1.06-1.06L9.06 8z"/></svg>`;
4
4
 
5
- const chevronDoubleRight16 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.53 3.47a.75.75 0 0 0-1.06 1.06L6.94 8l-3.47 3.47a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4Z"/><path d="M9.53 3.47a.75.75 0 0 0-1.06 1.06L11.94 8l-3.47 3.47a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4Z"/></svg>`;
5
+ const chevronDoubleRight16 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.53 3.47a.75.75 0 0 0-1.06 1.06L6.94 8l-3.47 3.47a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06z"/><path d="M9.53 3.47a.75.75 0 0 0-1.06 1.06L11.94 8l-3.47 3.47a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06z"/></svg>`;
6
6
 
7
- const chevronLeft16 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M10.53 3.47a.75.75 0 0 1 0 1.06L7.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06l-4-4a.75.75 0 0 1 0-1.06l4-4a.75.75 0 0 1 1.06 0Z" clip-rule="evenodd"/></svg>`;
7
+ const chevronLeft16 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M10.53 3.47a.75.75 0 0 1 0 1.06L7.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06l-4-4a.75.75 0 0 1 0-1.06l4-4a.75.75 0 0 1 1.06 0" clip-rule="evenodd"/></svg>`;
8
8
 
9
- const chevronRight16 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M5.47 3.47a.75.75 0 0 1 1.06 0l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06-1.06L8.94 8 5.47 4.53a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd"/></svg>`;
9
+ const chevronRight16 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M5.47 3.47a.75.75 0 0 1 1.06 0l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06-1.06L8.94 8 5.47 4.53a.75.75 0 0 1 0-1.06" clip-rule="evenodd"/></svg>`;
10
10
 
11
- const cross16 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.53 3.47a.75.75 0 0 0-1.06 1.06L6.94 8l-3.47 3.47a.75.75 0 1 0 1.06 1.06L8 9.06l3.47 3.47a.75.75 0 1 0 1.06-1.06L9.06 8l3.47-3.47a.75.75 0 0 0-1.06-1.06L8 6.94 4.53 3.47Z"/></svg>`;
11
+ const cross16 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.53 3.47a.75.75 0 0 0-1.06 1.06L6.94 8l-3.47 3.47a.75.75 0 1 0 1.06 1.06L8 9.06l3.47 3.47a.75.75 0 1 0 1.06-1.06L9.06 8l3.47-3.47a.75.75 0 0 0-1.06-1.06L8 6.94z"/></svg>`;
12
12
 
13
- const alertCircleOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-.25-8a.75.75 0 0 0-1.5 0v4.5a.75.75 0 0 0 1.5 0V8Z"/><path fill-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM12 3.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5Z" clip-rule="evenodd"/></svg>`;
13
+ const alertCircleOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-.25-8a.75.75 0 0 0-1.5 0v4.5a.75.75 0 0 0 1.5 0z"/><path fill-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12M12 3.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5" clip-rule="evenodd"/></svg>`;
14
14
 
15
- const calendarOutlined = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="#000" fill-rule="evenodd" d="M17 2.25a.75.75 0 0 1 .75.75v.25H18A2.75 2.75 0 0 1 20.75 6v12A2.75 2.75 0 0 1 18 20.75H6A2.75 2.75 0 0 1 3.25 18V6A2.75 2.75 0 0 1 6 3.25h.25V3a.75.75 0 0 1 1.5 0v.25h8.5V3a.75.75 0 0 1 .75-.75ZM6 4.75c-.69 0-1.25.56-1.25 1.25v2.25h14.5V6c0-.69-.56-1.25-1.25-1.25H6Zm-1.25 5V18c0 .69.56 1.25 1.25 1.25h12c.69 0 1.25-.56 1.25-1.25V9.75H4.75Z" clip-rule="evenodd"/></svg>`;
15
+ const calendarOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M17 2.25a.75.75 0 0 1 .75.75v.25H18A2.75 2.75 0 0 1 20.75 6v12A2.75 2.75 0 0 1 18 20.75H6A2.75 2.75 0 0 1 3.25 18V6A2.75 2.75 0 0 1 6 3.25h.25V3a.75.75 0 0 1 1.5 0v.25h8.5V3a.75.75 0 0 1 .75-.75M6 4.75c-.69 0-1.25.56-1.25 1.25v2.25h14.5V6c0-.69-.56-1.25-1.25-1.25zm-1.25 5V18c0 .69.56 1.25 1.25 1.25h12c.69 0 1.25-.56 1.25-1.25V9.75z" clip-rule="evenodd"/></svg>`;
16
16
 
17
- const checkCircleFilled = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm4.768-12.36a1 1 0 1 0-1.536-1.28l-4.3 5.159-2.225-2.226a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.475-.067l5-6Z" clip-rule="evenodd"/></svg>`;
17
+ const checkCircleFilled = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m4.768-12.36a1 1 0 1 0-1.536-1.28l-4.3 5.159-2.225-2.226a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.475-.067z" clip-rule="evenodd"/></svg>`;
18
18
 
19
- const chevronDownOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M6.47 9.47a.75.75 0 0 1 1.06 0L12 13.94l4.47-4.47a.75.75 0 1 1 1.06 1.06l-5 5a.75.75 0 0 1-1.06 0l-5-5a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd"/></svg>`;
19
+ const chevronDownOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M6.47 9.47a.75.75 0 0 1 1.06 0L12 13.94l4.47-4.47a.75.75 0 1 1 1.06 1.06l-5 5a.75.75 0 0 1-1.06 0l-5-5a.75.75 0 0 1 0-1.06" clip-rule="evenodd"/></svg>`;
20
20
 
21
- const chevronLeftOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M14.53 6.47a.75.75 0 0 1 0 1.06L10.06 12l4.47 4.47a.75.75 0 1 1-1.06 1.06l-5-5a.75.75 0 0 1 0-1.06l5-5a.75.75 0 0 1 1.06 0Z" clip-rule="evenodd"/></svg>`;
21
+ const chevronLeftOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M14.53 6.47a.75.75 0 0 1 0 1.06L10.06 12l4.47 4.47a.75.75 0 1 1-1.06 1.06l-5-5a.75.75 0 0 1 0-1.06l5-5a.75.75 0 0 1 1.06 0" clip-rule="evenodd"/></svg>`;
22
22
 
23
- const chevronRightOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M9.47 6.47a.75.75 0 0 1 1.06 0l5 5a.75.75 0 0 1 0 1.06l-5 5a.75.75 0 1 1-1.06-1.06L13.94 12 9.47 7.53a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd"/></svg>`;
23
+ const chevronRightOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M9.47 6.47a.75.75 0 0 1 1.06 0l5 5a.75.75 0 0 1 0 1.06l-5 5a.75.75 0 1 1-1.06-1.06L13.94 12 9.47 7.53a.75.75 0 0 1 0-1.06" clip-rule="evenodd"/></svg>`;
24
24
 
25
- const clockFilled = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm1-15a1 1 0 1 0-2 0v5a1 1 0 0 0 1 1h5a1 1 0 1 0 0-2h-4V7Z" clip-rule="evenodd"/></svg>`;
25
+ const clockFilled = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m1-15a1 1 0 1 0-2 0v5a1 1 0 0 0 1 1h5a1 1 0 1 0 0-2h-4z" clip-rule="evenodd"/></svg>`;
26
26
 
27
- const clockOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.75 7a.75.75 0 0 0-1.5 0v5c0 .414.336.75.75.75h5a.75.75 0 0 0 0-1.5h-4.25V7Z"/><path fill-rule="evenodd" d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM3.75 12a8.25 8.25 0 1 1 16.5 0 8.25 8.25 0 0 1-16.5 0Z" clip-rule="evenodd"/></svg>`;
27
+ const clockOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.75 7a.75.75 0 0 0-1.5 0v5c0 .414.336.75.75.75h5a.75.75 0 0 0 0-1.5h-4.25z"/><path fill-rule="evenodd" d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25M3.75 12a8.25 8.25 0 1 1 16.5 0 8.25 8.25 0 0 1-16.5 0" clip-rule="evenodd"/></svg>`;
28
28
 
29
- const crossCircleFilled = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10ZM8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"/></svg>`;
29
+ const crossCircleFilled = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414" clip-rule="evenodd"/></svg>`;
30
30
 
31
- const crossCircleOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.47 8.47a.75.75 0 0 1 1.06 0L12 10.94l2.47-2.47a.75.75 0 1 1 1.06 1.06L13.06 12l2.47 2.47a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 0-1.06Z"/><path fill-rule="evenodd" d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM3.75 12a8.25 8.25 0 1 1 16.5 0 8.25 8.25 0 0 1-16.5 0Z" clip-rule="evenodd"/></svg>`;
31
+ const crossCircleOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.47 8.47a.75.75 0 0 1 1.06 0L12 10.94l2.47-2.47a.75.75 0 1 1 1.06 1.06L13.06 12l2.47 2.47a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 0-1.06"/><path fill-rule="evenodd" d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25M3.75 12a8.25 8.25 0 1 1 16.5 0 8.25 8.25 0 0 1-16.5 0" clip-rule="evenodd"/></svg>`;
32
32
 
33
- const crossOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.53 6.47a.75.75 0 0 0-1.06 1.06L10.94 12l-4.47 4.47a.75.75 0 1 0 1.06 1.06L12 13.06l4.47 4.47a.75.75 0 1 0 1.06-1.06L13.06 12l4.47-4.47a.75.75 0 0 0-1.06-1.06L12 10.94 7.53 6.47Z"/></svg>`;
33
+ const crossOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.53 6.47a.75.75 0 0 0-1.06 1.06L10.94 12l-4.47 4.47a.75.75 0 1 0 1.06 1.06L12 13.06l4.47 4.47a.75.75 0 1 0 1.06-1.06L13.06 12l4.47-4.47a.75.75 0 0 0-1.06-1.06L12 10.94z"/></svg>`;
34
34
 
35
- const dangerFilled = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 3.25c-.429 0-.85.113-1.22.328a2.5 2.5 0 0 0-.899.891L2.577 16.981a2.554 2.554 0 0 0-.007 2.491c.212.381.519.7.891.926a2.44 2.44 0 0 0 1.234.352h14.61a2.44 2.44 0 0 0 1.233-.352 2.5 2.5 0 0 0 .892-.926 2.553 2.553 0 0 0-.007-2.491L14.119 4.469a2.494 2.494 0 0 0-.899-.891A2.439 2.439 0 0 0 12 3.25ZM12 8a1 1 0 0 1 1 1v3.5a1 1 0 1 1-2 0V9a1 1 0 0 1 1-1Zm1 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" clip-rule="evenodd"/></svg>`;
35
+ const dangerFilled = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 3.25c-.429 0-.85.113-1.22.328a2.5 2.5 0 0 0-.899.891L2.577 16.981a2.55 2.55 0 0 0-.007 2.491c.212.381.519.7.891.926a2.44 2.44 0 0 0 1.234.352h14.61a2.44 2.44 0 0 0 1.233-.352 2.5 2.5 0 0 0 .892-.926 2.55 2.55 0 0 0-.007-2.491L14.119 4.469a2.5 2.5 0 0 0-.899-.891A2.44 2.44 0 0 0 12 3.25M12 8a1 1 0 0 1 1 1v3.5a1 1 0 1 1-2 0V9a1 1 0 0 1 1-1m1 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0" clip-rule="evenodd"/></svg>`;
36
36
 
37
- const eyeClosedOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4.608 7.948a.75.75 0 1 0-1.234.853 12.396 12.396 0 0 0 2.255 2.438l-2.574 2.574a.75.75 0 0 0 1.061 1.06l2.738-2.737c1.283.824 2.777 1.433 4.396 1.58V17a.75.75 0 0 0 1.5 0v-3.284c1.618-.148 3.11-.76 4.392-1.584l2.742 2.742a.75.75 0 0 0 1.06-1.06l-2.579-2.58a12.5 12.5 0 0 0 2.251-2.432.75.75 0 0 0-1.232-.855C17.965 9.99 15.144 12.25 12 12.25c-3.153 0-5.978-2.255-7.392-4.302Z"/></svg>`;
37
+ const eyeClosedOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4.608 7.948a.75.75 0 1 0-1.234.853 12.4 12.4 0 0 0 2.255 2.438l-2.574 2.574a.75.75 0 0 0 1.061 1.06l2.738-2.737c1.283.824 2.777 1.433 4.396 1.58V17a.75.75 0 0 0 1.5 0v-3.284c1.618-.148 3.11-.76 4.392-1.584l2.742 2.742a.75.75 0 0 0 1.06-1.06l-2.579-2.58a12.5 12.5 0 0 0 2.251-2.432.75.75 0 0 0-1.232-.855C17.965 9.99 15.144 12.25 12 12.25c-3.153 0-5.978-2.255-7.392-4.302"/></svg>`;
38
38
 
39
- const eyeOpenOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 8.25a3.75 3.75 0 1 0 0 7.5 3.75 3.75 0 0 0 0-7.5ZM9.75 12a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0Z" clip-rule="evenodd"/><path fill-rule="evenodd" d="M12 4.25c-2.735 0-5.158 1.37-6.872 2.948-.862.794-1.567 1.66-2.062 2.475-.479.79-.816 1.62-.816 2.327 0 .707.337 1.538.816 2.327.495.815 1.2 1.68 2.062 2.475C6.842 18.38 9.265 19.75 12 19.75c2.737 0 5.16-1.379 6.873-2.96.861-.795 1.566-1.662 2.06-2.475.479-.786.817-1.614.817-2.315 0-.7-.338-1.529-.817-2.315-.494-.813-1.199-1.68-2.06-2.475C17.16 5.629 14.737 4.25 12 4.25ZM3.75 12c0-.293.167-.837.598-1.548.416-.685 1.03-1.444 1.796-2.15C7.688 6.88 9.764 5.75 12 5.75c2.234 0 4.31 1.136 5.855 2.562.767.708 1.38 1.468 1.797 2.153.433.71.598 1.25.598 1.535 0 .285-.165.824-.598 1.535-.416.685-1.03 1.445-1.797 2.153-1.544 1.426-3.621 2.562-5.855 2.562-2.235 0-4.312-1.13-5.856-2.552-.767-.706-1.38-1.465-1.796-2.15-.431-.71-.598-1.255-.598-1.548Z" clip-rule="evenodd"/></svg>`;
39
+ const eyeOpenOutlined = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 8.25a3.75 3.75 0 1 0 0 7.5 3.75 3.75 0 0 0 0-7.5M9.75 12a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0" clip-rule="evenodd"/><path fill-rule="evenodd" d="M12 4.25c-2.735 0-5.158 1.37-6.872 2.948-.862.794-1.567 1.66-2.062 2.475-.479.79-.816 1.62-.816 2.327s.337 1.538.816 2.327c.495.815 1.2 1.68 2.062 2.475C6.842 18.38 9.265 19.75 12 19.75c2.737 0 5.16-1.379 6.873-2.96.861-.795 1.566-1.662 2.06-2.475.479-.786.817-1.614.817-2.315s-.338-1.529-.817-2.315c-.494-.813-1.199-1.68-2.06-2.475C17.16 5.629 14.737 4.25 12 4.25M3.75 12c0-.293.167-.837.598-1.548.416-.685 1.03-1.444 1.796-2.15C7.688 6.88 9.764 5.75 12 5.75c2.234 0 4.31 1.136 5.855 2.562.767.708 1.38 1.468 1.797 2.153.433.71.598 1.25.598 1.535s-.165.824-.598 1.535c-.416.685-1.03 1.445-1.797 2.153-1.544 1.426-3.621 2.562-5.855 2.562s-4.312-1.13-5.856-2.552c-.767-.706-1.38-1.465-1.796-2.15-.431-.71-.598-1.255-.598-1.548" clip-rule="evenodd"/></svg>`;
40
40
 
41
- const infoCircleFilled = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM13 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0 3.5a1 1 0 1 0-2 0V16a1 1 0 1 0 2 0v-4.5Z" clip-rule="evenodd"/></svg>`;
41
+ const infoCircleFilled = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12M13 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0m0 3.5a1 1 0 1 0-2 0V16a1 1 0 1 0 2 0z" clip-rule="evenodd"/></svg>`;
42
42
 
43
- const starCircleFilled = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-7.82-3.001L12 5 9.82 8.999l-4.477.838 3.129 3.31-.587 4.516L12 15.71l4.114 1.953-.586-4.517 3.13-3.31L14.18 9Z" clip-rule="evenodd"/></svg>`;
43
+ const starCircleFilled = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-7.82-3.001L12 5 9.82 8.999l-4.477.838 3.129 3.31-.587 4.516L12 15.71l4.114 1.953-.586-4.517 3.13-3.31z" clip-rule="evenodd"/></svg>`;
44
44
 
45
45
  class CatIconRegistry {
46
46
  constructor() {
@@ -15,7 +15,7 @@ const CatIcon = /*@__PURE__*/ proxyCustomElement(class CatIcon extends HTMLEleme
15
15
  this.a11yLabel = undefined;
16
16
  }
17
17
  render() {
18
- return (h("span", { key: 'c7d1fa22eb4854a8782b0afec24ad0cb57fff4fd', innerHTML: this.iconSrc || (this.icon ? catIconRegistry.getIcon(this.icon) : ''), "aria-label": this.a11yLabel, "aria-hidden": this.a11yLabel ? null : 'true', part: "icon", class: {
18
+ return (h("span", { key: '03076f9f5e7335d8c42b1802e78ad24afa459c2e', innerHTML: this.iconSrc || (this.icon ? catIconRegistry.getIcon(this.icon) : ''), "aria-label": this.a11yLabel, "aria-hidden": this.a11yLabel ? null : 'true', part: "icon", class: {
19
19
  icon: true,
20
20
  [`icon-${this.size}`]: this.size !== 'inline'
21
21
  } }));
@@ -1,5 +1,4 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { d as delayedAssertWarn } from './assert.js';
3
2
  import { c as coerceBoolean, a as coerceNumber } from './coerce.js';
4
3
  import { C as CatFormHint } from './cat-form-hint.js';
5
4
  import { c as catI18nRegistry } from './cat-i18n-registry.js';
@@ -1615,11 +1614,6 @@ const CatInput = /*@__PURE__*/ proxyCustomElement(class CatInput extends HTMLEle
1615
1614
  }
1616
1615
  componentWillRender() {
1617
1616
  this.onErrorsChanged(this.errors);
1618
- delayedAssertWarn(this, () => {
1619
- this.hasSlottedLabel = !!this.hostElement.querySelector('[slot="label"]');
1620
- this.hasSlottedHint = !!this.hostElement.querySelector('[slot="hint"]');
1621
- return !!this.label && !!this.hasSlottedLabel;
1622
- }, '[A11y] Missing ARIA label on input');
1623
1617
  }
1624
1618
  /**
1625
1619
  * Programmatically move focus to the input. Use this method instead of
@@ -1671,19 +1665,19 @@ const CatInput = /*@__PURE__*/ proxyCustomElement(class CatInput extends HTMLEle
1671
1665
  }
1672
1666
  }
1673
1667
  render() {
1674
- return (h("div", { key: 'bf148b681958c66189b6b27349bf1c52afc06d51', class: {
1668
+ return (h("div", { key: '76ad5d8b725b6b204ed4aad31bb9f11d05ad62fb', class: {
1675
1669
  'input-field': true,
1676
1670
  'input-horizontal': this.horizontal
1677
- } }, h("div", { key: '4c180a2e3ab780bb0283896e2229efb04a7e91fd', class: { 'label-container': true, hidden: this.labelHidden } }, (this.hasSlottedLabel || this.label) && (h("label", { htmlFor: this.id, part: "label" }, h("span", { class: "label-wrapper" }, (this.hasSlottedLabel && h("slot", { name: "label" })) || this.label, h("div", { class: "label-metadata" }, !this.required && (this.requiredMarker ?? 'optional').startsWith('optional') && (h("span", { class: "label-optional", "aria-hidden": "true" }, "(", catI18nRegistry.t('input.optional'), ")")), this.required && this.requiredMarker?.startsWith('required') && (h("span", { class: "label-optional", "aria-hidden": "true" }, "(", catI18nRegistry.t('input.required'), ")")), this.maxLength && (h("div", { class: "label-character-count", "aria-hidden": "true" }, this.value?.toString().length ?? 0, "/", this.maxLength))))))), h("div", { key: 'fef647ca2318937d25fa6ef45eb616a98e7b7400', class: "input-container" }, h("div", { key: '167a5c5ef453d565feccf2ffd3d4c2be7b1bbc6b', class: "input-outer-wrapper" }, h("div", { key: '7c127b6a6b7f47f1fc503f19b64b60f8b8abe1b0', class: {
1671
+ } }, h("div", { key: '8862cbdf26f7ea41437ee6cf9c42f547a2191c50', class: { 'label-container': true, hidden: this.labelHidden } }, (this.hasSlottedLabel || this.label) && (h("label", { key: '74baa9ff52220470797009105ac219b3e1056d3b', htmlFor: this.id, part: "label" }, h("span", { key: '876771638e7acbb10bcb5c2e2c35729c3632faf0', class: "label-wrapper" }, (this.hasSlottedLabel && h("slot", { key: '9133d0c6ea7b47976f216ffccd185d861448b95a', name: "label" })) || this.label, h("div", { key: 'c844e96edf30f93fdfc9d626a7afa970fdca169f', class: "label-metadata" }, !this.required && (this.requiredMarker ?? 'optional').startsWith('optional') && (h("span", { key: 'fb6bc86c31e732056954cc77454414576f816368', class: "label-optional", "aria-hidden": "true" }, "(", catI18nRegistry.t('input.optional'), ")")), this.required && this.requiredMarker?.startsWith('required') && (h("span", { key: 'cd7945347dca48a5d08c6936e435d08e9c3be832', class: "label-optional", "aria-hidden": "true" }, "(", catI18nRegistry.t('input.required'), ")")), this.maxLength && (h("div", { key: '7d58f0b5338d9182d8210560856bff03c8d1b9d5', class: "label-character-count", "aria-hidden": "true" }, this.value?.toString().length ?? 0, "/", this.maxLength))))))), h("div", { key: '0820cdb769758527ae0d0b4718c29b34c37b93d1', class: "input-container" }, h("div", { key: 'b6376f9644223f2115dfe9f5346f25f67fa94688', class: "input-outer-wrapper" }, h("div", { key: '174021266ea289a90b8fc2d65135fcbdce14b0b0', class: {
1678
1672
  'input-wrapper': true,
1679
1673
  'input-round': this.round,
1680
1674
  'input-readonly': this.readonly,
1681
1675
  'input-disabled': this.disabled,
1682
1676
  'input-invalid': this.invalid
1683
- }, onClick: () => this.input.focus() }, this.textPrefix && (h("span", { class: "text-prefix", part: "prefix" }, this.textPrefix)), this.icon && !this.iconRight && (h("cat-icon", { icon: this.icon, class: "icon-prefix", size: "l", onClick: () => this.doFocus() })), h("div", { key: '3a04efd1ecbaab9010e9e201354112d47edf12ab', class: "input-inner-wrapper" }, h("input", { key: '6f1b7e95344c3e2524e0e322cd263580d4751f2e', ...this.nativeAttributes, part: "input", ref: el => (this.input = el), id: this.id, class: {
1677
+ }, onClick: () => this.input.focus() }, this.textPrefix && (h("span", { key: 'ceeea12176047095802c81771c09f2b66c10a0a5', class: "text-prefix", part: "prefix" }, this.textPrefix)), this.icon && !this.iconRight && (h("cat-icon", { key: 'c9ffa0705e9a343c9f99558dc091be023f2e0294', icon: this.icon, class: "icon-prefix", size: "l", onClick: () => this.doFocus() })), h("div", { key: 'ca13e810597797073cadcac68f8701eaae85f816', class: "input-inner-wrapper" }, h("input", { key: '0dfc4adec512642452075f51065a598cd59c9b2f', ...this.nativeAttributes, part: "input", ref: el => (this.input = el), id: this.id, class: {
1684
1678
  'has-clearable': this.clearable && !this.disabled && !this.readonly && !!this.value,
1685
1679
  'has-toggle-password': this.togglePassword && !this.disabled && !this.readonly && !!this.value
1686
- }, autocomplete: this.autoComplete, disabled: this.disabled, max: this.max, maxlength: this.maxLength, min: this.min, minlength: this.minLength, name: this.name, placeholder: this.placeholder, readonly: this.readonly, required: this.required, type: this.isPasswordShown ? 'text' : this.type, value: this.value, onInput: this.onInput.bind(this), onFocus: this.onFocus.bind(this), onBlur: this.onBlur.bind(this), "aria-invalid": this.invalid ? 'true' : undefined, "aria-describedby": this.hasHint ? this.id + '-hint' : undefined }), this.clearable && !this.disabled && !this.readonly && this.value && (h("cat-button", { class: "clearable", icon: "$cat:input-close", "icon-only": "true", size: "s", variant: "text", "a11y-label": catI18nRegistry.t('input.clear'), onClick: this.clear.bind(this), "data-dropdown-no-close": true })), this.togglePassword && !this.disabled && !this.readonly && this.value && (h("cat-button", { class: "toggle-password", icon: this.isPasswordShown ? '$cat:input-password-hide' : '$cat:input-password-show', "icon-only": "true", size: "s", variant: "text", "a11y-label": catI18nRegistry.t(this.isPasswordShown ? 'input.hidePassword' : 'input.showPassword'), onClick: this.doTogglePassword.bind(this) }))), !this.invalid && this.icon && this.iconRight && (h("cat-icon", { icon: this.icon, class: "icon-suffix", size: "l", onClick: () => this.doFocus() })), this.invalid && (h("cat-icon", { icon: "$cat:input-error", class: "icon-suffix cat-text-danger", size: "l" })), this.textSuffix && (h("span", { class: "text-suffix", part: "suffix" }, this.textSuffix))), h("slot", { key: 'ded12cd59eba7a7c2c9ddb5058599c456305b9ec', name: "addon" })), this.hasHint && (h(CatFormHint, { id: this.id, hint: this.hint, slottedHint: this.hasSlottedHint && h("slot", { name: "hint" }), errorMap: this.errorMap })))));
1680
+ }, autocomplete: this.autoComplete, disabled: this.disabled, max: this.max, maxlength: this.maxLength, min: this.min, minlength: this.minLength, name: this.name, placeholder: this.placeholder, readonly: this.readonly, required: this.required, type: this.isPasswordShown ? 'text' : this.type, value: this.value, onInput: this.onInput.bind(this), onFocus: this.onFocus.bind(this), onBlur: this.onBlur.bind(this), "aria-invalid": this.invalid ? 'true' : undefined, "aria-describedby": this.hasHint ? this.id + '-hint' : undefined }), this.clearable && !this.disabled && !this.readonly && this.value && (h("cat-button", { key: 'b45dde66204e6bb5d040649fdaf37f8303c2ed29', class: "clearable", icon: "$cat:input-close", "icon-only": "true", size: "s", variant: "text", "a11y-label": catI18nRegistry.t('input.clear'), onClick: this.clear.bind(this), "data-dropdown-no-close": true })), this.togglePassword && !this.disabled && !this.readonly && this.value && (h("cat-button", { key: '3b230e4d2ad85481665ab54653f95b06c3a5d930', class: "toggle-password", icon: this.isPasswordShown ? '$cat:input-password-hide' : '$cat:input-password-show', "icon-only": "true", size: "s", variant: "text", "a11y-label": catI18nRegistry.t(this.isPasswordShown ? 'input.hidePassword' : 'input.showPassword'), onClick: this.doTogglePassword.bind(this) }))), !this.invalid && this.icon && this.iconRight && (h("cat-icon", { key: '33052e7fae76cd81908db4837fea2d5e01c2392e', icon: this.icon, class: "icon-suffix", size: "l", onClick: () => this.doFocus() })), this.invalid && (h("cat-icon", { key: 'c93e983876dc5249a21333d4fad945b2e549dde7', icon: "$cat:input-error", class: "icon-suffix cat-text-danger", size: "l" })), this.textSuffix && (h("span", { key: 'a77ecd9c4fcf230dc33ec69faf4e97b3dd5856f9', class: "text-suffix", part: "suffix" }, this.textSuffix))), h("slot", { key: 'd53d531ff9b28994c6e1b6df2a4423c757b288d8', name: "addon" })), this.hasHint && (h(CatFormHint, { key: '59b36e9b6b47f094f32a8a069a24fc706f974ebb', id: this.id, hint: this.hint, slottedHint: this.hasSlottedHint && h("slot", { name: "hint" }), errorMap: this.errorMap })))));
1687
1681
  }
1688
1682
  get hasHint() {
1689
1683
  return !!this.hint || !!this.hasSlottedHint || this.invalid;