legalesign-document-viewer 0.4.5 → 0.4.7

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 (385) hide show
  1. package/dist/cjs/{index-BpMnxZQ4.js → index-C4ibYtjE.js} +5 -5
  2. package/dist/cjs/{index-BpMnxZQ4.js.map → index-C4ibYtjE.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/ls-compose-manager.cjs.entry.js +3 -3
  5. package/dist/cjs/{ls-document-options_45.cjs.entry.js → ls-document-options_46.cjs.entry.js} +346 -205
  6. package/dist/cjs/ls-document-options_46.cjs.entry.js.map +1 -0
  7. package/dist/cjs/ls-document-viewer.cjs.js +2 -2
  8. package/dist/cjs/ls-field-properties-dropdown.cjs.entry.js +2 -2
  9. package/dist/cjs/ls-formfield.cjs.entry.js +4 -4
  10. package/dist/cjs/ls-number-input.ls-radio-input.ls-select-input.ls-text-input.ls-textarea-input.entry.cjs.js.map +1 -1
  11. package/dist/cjs/ls-number-input_5.cjs.entry.js +12 -12
  12. package/dist/cjs/ls-number-input_5.cjs.entry.js.map +1 -1
  13. package/dist/collection/collection-manifest.json +1 -0
  14. package/dist/collection/components/ls-compose-manager/ls-compose-manager.js +2 -2
  15. package/dist/collection/components/ls-document-options/ls-document-options.css +2 -2
  16. package/dist/collection/components/ls-document-options/ls-document-options.js +1 -1
  17. package/dist/collection/components/ls-document-options/ls-document-options.js.map +1 -1
  18. package/dist/collection/components/ls-document-viewer/editorCalculator.js +2 -0
  19. package/dist/collection/components/ls-document-viewer/editorCalculator.js.map +1 -1
  20. package/dist/collection/components/ls-document-viewer/ls-document-viewer.css +50 -15
  21. package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +32 -6
  22. package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -1
  23. package/dist/collection/components/ls-editor-field/ls-editor-field.css +16 -7
  24. package/dist/collection/components/ls-editor-field/ls-editor-field.js +116 -16
  25. package/dist/collection/components/ls-editor-field/ls-editor-field.js.map +1 -1
  26. package/dist/collection/components/ls-editor-table/ls-editor-table.js +1 -1
  27. package/dist/collection/components/ls-feature-column/ls-feature-column.js +6 -6
  28. package/dist/collection/components/ls-feature-column/ls-feature-column.js.map +1 -1
  29. package/dist/collection/components/ls-field-alignment/ls-field-alignment.css +1 -1
  30. package/dist/collection/components/ls-field-alignment/ls-field-alignment.js +2 -2
  31. package/dist/collection/components/ls-field-content/ls-field-content.css +1 -1
  32. package/dist/collection/components/ls-field-content/ls-field-content.js +2 -2
  33. package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.css +1 -1
  34. package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.js +1 -1
  35. package/dist/collection/components/ls-field-distribute/ls-field-distribute.css +2 -2
  36. package/dist/collection/components/ls-field-distribute/ls-field-distribute.js +5 -5
  37. package/dist/collection/components/ls-field-footer/ls-field-footer.js +1 -1
  38. package/dist/collection/components/ls-field-footer/ls-field-footer.js.map +1 -1
  39. package/dist/collection/components/ls-field-format/ls-field-format.css +1 -1
  40. package/dist/collection/components/ls-field-format/ls-field-format.js +11 -11
  41. package/dist/collection/components/ls-field-placement/ls-field-placement.css +1 -1
  42. package/dist/collection/components/ls-field-placement/ls-field-placement.js +1 -1
  43. package/dist/collection/components/ls-field-properties/ls-field-properties.css +1 -1
  44. package/dist/collection/components/ls-field-properties/ls-field-properties.js +1 -1
  45. package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.css +1 -1
  46. package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js +2 -2
  47. package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js.map +1 -1
  48. package/dist/collection/components/ls-field-properties-autosign/ls-field-properties-autosign.css +1 -1
  49. package/dist/collection/components/ls-field-properties-autosign/ls-field-properties-autosign.js +1 -1
  50. package/dist/collection/components/ls-field-properties-container/ls-field-properties-container.js +1 -1
  51. package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.css +1 -1
  52. package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.js +1 -1
  53. package/dist/collection/components/ls-field-properties-dropdown/ls-field-properties-dropdown.js +1 -1
  54. package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.css +1 -1
  55. package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.js +1 -1
  56. package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.css +1 -1
  57. package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.js +1 -1
  58. package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.css +1 -1
  59. package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.js +1 -1
  60. package/dist/collection/components/ls-field-properties-image/ls-field-properties-image.css +1 -1
  61. package/dist/collection/components/ls-field-properties-image/ls-field-properties-image.js +1 -1
  62. package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.css +1 -1
  63. package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js +3 -3
  64. package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js.map +1 -1
  65. package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.css +1 -1
  66. package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js +1 -1
  67. package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.css +1 -1
  68. package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js +1 -1
  69. package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.css +1 -1
  70. package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.js +1 -1
  71. package/dist/collection/components/ls-field-size/ls-field-size.css +2 -2
  72. package/dist/collection/components/ls-field-size/ls-field-size.js +1 -1
  73. package/dist/collection/components/ls-field-type-display/ls-field-type-display.js +3 -3
  74. package/dist/collection/components/ls-field-type-display/ls-field-type-display.js.map +1 -1
  75. package/dist/collection/components/ls-formfield/inputs/ls-number-input/ls-number-input.css +7 -7
  76. package/dist/collection/components/ls-formfield/inputs/ls-number-input/ls-number-input.js +1 -1
  77. package/dist/collection/components/ls-formfield/inputs/ls-radio-input/ls-radio-input.js +1 -1
  78. package/dist/collection/components/ls-formfield/inputs/ls-select-input/ls-select-input.css +9 -9
  79. package/dist/collection/components/ls-formfield/inputs/ls-select-input/ls-select-input.js +1 -1
  80. package/dist/collection/components/ls-formfield/inputs/ls-text-input/ls-text-input.css +9 -9
  81. package/dist/collection/components/ls-formfield/inputs/ls-text-input/ls-text-input.js +2 -2
  82. package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.css +9 -9
  83. package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.js +1 -1
  84. package/dist/collection/components/ls-formfield/ls-formfield.js +2 -2
  85. package/dist/collection/components/ls-helper-bar/ls-helper-bar.js +2 -2
  86. package/dist/collection/components/ls-icon/ls-icon.js +5 -5
  87. package/dist/collection/components/ls-icon/ls-icon.js.map +1 -1
  88. package/dist/collection/components/ls-input-wrapper/ls-input-wrapper.js +1 -1
  89. package/dist/collection/components/ls-keyboard-shortcuts/ls-keyboard-shortcuts.js +1 -1
  90. package/dist/collection/components/ls-page-loader/ls-page-loader.js +2 -2
  91. package/dist/collection/components/ls-participant-card/ls-participant-card.css +1 -1
  92. package/dist/collection/components/ls-participant-card/ls-participant-card.js +8 -8
  93. package/dist/collection/components/ls-participant-card/ls-participant-card.js.map +1 -1
  94. package/dist/collection/components/ls-participant-manager/ls-participant-manager.css +2 -2
  95. package/dist/collection/components/ls-participant-manager/ls-participant-manager.js +2 -2
  96. package/dist/collection/components/ls-participant-manager/ls-participant-manager.js.map +1 -1
  97. package/dist/collection/components/ls-participant-select/ls-participant-select.css +1 -1
  98. package/dist/collection/components/ls-participant-select/ls-participant-select.js +9 -9
  99. package/dist/collection/components/ls-participant-select/ls-participant-select.js.map +1 -1
  100. package/dist/collection/components/ls-props-section/ls-props-section.js +1 -1
  101. package/dist/collection/components/ls-recipient-card/ls-recipient-card.css +16 -1
  102. package/dist/collection/components/ls-recipient-card/ls-recipient-card.js +29 -5
  103. package/dist/collection/components/ls-recipient-card/ls-recipient-card.js.map +1 -1
  104. package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.css +1 -1
  105. package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.js +1 -1
  106. package/dist/collection/components/ls-statusbar/ls-statusbar.css +11 -11
  107. package/dist/collection/components/ls-statusbar/ls-statusbar.js +3 -3
  108. package/dist/collection/components/ls-title-input/ls-title-input.css +320 -0
  109. package/dist/collection/components/ls-title-input/ls-title-input.js +130 -0
  110. package/dist/collection/components/ls-title-input/ls-title-input.js.map +1 -0
  111. package/dist/collection/components/ls-toggle/ls-toggle.css +2 -2
  112. package/dist/collection/components/ls-toggle/ls-toggle.js +2 -2
  113. package/dist/collection/components/ls-toolbar/ls-toolbar.css +1 -1
  114. package/dist/collection/components/ls-toolbar/ls-toolbar.js +1 -1
  115. package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.css +1 -1
  116. package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js +3 -3
  117. package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js.map +1 -1
  118. package/dist/collection/components/ls-tooltip/ls-tooltip.js +1 -1
  119. package/dist/collection/components/ls-validation-manager/ls-validation-manager.css +2 -2
  120. package/dist/collection/components/ls-validation-manager/ls-validation-manager.js +2 -2
  121. package/dist/collection/components/ls-validation-tag/ls-validation-tag.css +16 -16
  122. package/dist/collection/components/ls-validation-tag/ls-validation-tag.js +25 -3
  123. package/dist/collection/components/ls-validation-tag/ls-validation-tag.js.map +1 -1
  124. package/dist/collection/types/ValidationError.js.map +1 -1
  125. package/dist/components/index.js +1 -1
  126. package/dist/components/ls-compose-manager.js +3 -3
  127. package/dist/components/ls-document-options.js +1 -1
  128. package/dist/components/ls-document-viewer.js +128 -97
  129. package/dist/components/ls-document-viewer.js.map +1 -1
  130. package/dist/components/ls-editor-field.js +1 -1
  131. package/dist/components/ls-editor-table.js +1 -1
  132. package/dist/components/ls-feature-column.js +1 -1
  133. package/dist/components/ls-field-alignment.js +1 -1
  134. package/dist/components/ls-field-content.js +1 -1
  135. package/dist/components/ls-field-dimensions.js +1 -1
  136. package/dist/components/ls-field-distribute.js +1 -1
  137. package/dist/components/ls-field-footer.js +1 -1
  138. package/dist/components/ls-field-format.js +1 -1
  139. package/dist/components/ls-field-placement.js +1 -1
  140. package/dist/components/ls-field-properties-advanced.js +1 -1
  141. package/dist/components/ls-field-properties-autosign.js +1 -1
  142. package/dist/components/ls-field-properties-container.js +1 -1
  143. package/dist/components/ls-field-properties-date.js +1 -1
  144. package/dist/components/ls-field-properties-dropdown.js +15 -15
  145. package/dist/components/ls-field-properties-email.js +1 -1
  146. package/dist/components/ls-field-properties-file.js +1 -1
  147. package/dist/components/ls-field-properties-general.js +1 -1
  148. package/dist/components/ls-field-properties-image.js +1 -1
  149. package/dist/components/ls-field-properties-multiple.js +1 -1
  150. package/dist/components/ls-field-properties-number.js +1 -1
  151. package/dist/components/ls-field-properties-signature.js +1 -1
  152. package/dist/components/ls-field-properties-text.js +1 -1
  153. package/dist/components/ls-field-properties.js +1 -1
  154. package/dist/components/ls-field-size.js +1 -1
  155. package/dist/components/ls-field-type-display.js +1 -1
  156. package/dist/components/ls-formfield.js +10 -10
  157. package/dist/components/ls-helper-bar.js +1 -1
  158. package/dist/components/ls-icon.js +1 -1
  159. package/dist/components/ls-input-wrapper.js +1 -1
  160. package/dist/components/ls-keyboard-shortcuts.js +1 -1
  161. package/dist/components/ls-number-input.js +1 -1
  162. package/dist/components/ls-page-loader.js +1 -1
  163. package/dist/components/ls-participant-card.js +1 -1
  164. package/dist/components/ls-participant-manager.js +1 -1
  165. package/dist/components/ls-participant-select.js +1 -1
  166. package/dist/components/ls-props-section.js +1 -1
  167. package/dist/components/ls-radio-input.js +1 -1
  168. package/dist/components/ls-recipient-card.js +1 -1
  169. package/dist/components/ls-recipient-manager.js +1 -1
  170. package/dist/components/ls-select-input.js +1 -1
  171. package/dist/components/ls-statusbar.js +1 -1
  172. package/dist/components/ls-text-input.js +1 -1
  173. package/dist/components/ls-textarea-input.js +1 -1
  174. package/dist/components/ls-title-input.d.ts +11 -0
  175. package/dist/components/ls-title-input.js +9 -0
  176. package/dist/components/ls-title-input.js.map +1 -0
  177. package/dist/components/ls-toggle.js +1 -1
  178. package/dist/components/ls-toolbar.js +1 -1
  179. package/dist/components/ls-toolbox-field.js +1 -1
  180. package/dist/components/ls-tooltip.js +1 -1
  181. package/dist/components/ls-validation-manager.js +1 -1
  182. package/dist/components/ls-validation-tag.js +1 -1
  183. package/dist/components/{p-COypjAnE.js → p-2R-Lmtr0.js} +10 -10
  184. package/dist/components/p-2R-Lmtr0.js.map +1 -0
  185. package/dist/components/p-4zazHXkZ.js +108 -0
  186. package/dist/components/p-4zazHXkZ.js.map +1 -0
  187. package/dist/components/{p-DZ_KhOns.js → p-6l08SdGl.js} +8 -8
  188. package/dist/components/{p-DZ_KhOns.js.map → p-6l08SdGl.js.map} +1 -1
  189. package/dist/components/{p-DMgdq7Zj.js → p-8ubyIwnl.js} +16 -16
  190. package/dist/components/p-8ubyIwnl.js.map +1 -0
  191. package/dist/components/{p-CtV1B-_5.js → p-95nSEls8.js} +7 -7
  192. package/dist/components/p-95nSEls8.js.map +1 -0
  193. package/dist/components/p-B28ZaK_Y.js +112 -0
  194. package/dist/components/p-B28ZaK_Y.js.map +1 -0
  195. package/dist/components/{p-DKx68i7a.js → p-B8NAATla.js} +25 -25
  196. package/dist/components/p-B8NAATla.js.map +1 -0
  197. package/dist/components/{p-BiOHci04.js → p-BArB45ep.js} +25 -25
  198. package/dist/components/p-BArB45ep.js.map +1 -0
  199. package/dist/components/p-BHTy08Q0.js +83 -0
  200. package/dist/components/p-BHTy08Q0.js.map +1 -0
  201. package/dist/components/{p-CaBVuofO.js → p-BSoZFh0I.js} +4 -4
  202. package/dist/components/{p-CaBVuofO.js.map → p-BSoZFh0I.js.map} +1 -1
  203. package/dist/components/{p-DmszHmWG.js → p-BXjDp97T.js} +31 -31
  204. package/dist/components/p-BXjDp97T.js.map +1 -0
  205. package/dist/components/p-BdTy5xDV.js +115 -0
  206. package/dist/components/p-BdTy5xDV.js.map +1 -0
  207. package/dist/components/{p-CEhCcP_A.js → p-BnGihP6t.js} +5 -5
  208. package/dist/components/p-BnGihP6t.js.map +1 -0
  209. package/dist/components/p-BzEEnXM3.js +99 -0
  210. package/dist/components/p-BzEEnXM3.js.map +1 -0
  211. package/dist/components/{p-CuyjSEEv.js → p-C0vy7fEN.js} +12 -12
  212. package/dist/components/{p-CuyjSEEv.js.map → p-C0vy7fEN.js.map} +1 -1
  213. package/dist/components/{p-DKcMRnoh.js → p-C3Qs4SL0.js} +4 -4
  214. package/dist/components/{p-DKcMRnoh.js.map → p-C3Qs4SL0.js.map} +1 -1
  215. package/dist/components/{p-D-yItxA4.js → p-CB2IouRT.js} +4 -4
  216. package/dist/components/{p-D-yItxA4.js.map → p-CB2IouRT.js.map} +1 -1
  217. package/dist/components/{p-C8ZQeYj-.js → p-CB6w78IO.js} +68 -21
  218. package/dist/components/p-CB6w78IO.js.map +1 -0
  219. package/dist/components/p-CEARE5Dy.js +72 -0
  220. package/dist/components/p-CEARE5Dy.js.map +1 -0
  221. package/dist/components/{p-CrVSg3t4.js → p-CMrBTV-g.js} +7 -7
  222. package/dist/components/{p-CrVSg3t4.js.map → p-CMrBTV-g.js.map} +1 -1
  223. package/dist/components/p-COuOscFT.js +68 -0
  224. package/dist/components/p-COuOscFT.js.map +1 -0
  225. package/dist/components/{p-BIqQK9GI.js → p-CRf3zadK.js} +9 -9
  226. package/dist/components/p-CRf3zadK.js.map +1 -0
  227. package/dist/components/{p-B3axAGVs.js → p-CYeSt5Fo.js} +8 -8
  228. package/dist/components/p-CYeSt5Fo.js.map +1 -0
  229. package/dist/components/p-Ca9OGLvH.js +115 -0
  230. package/dist/components/p-Ca9OGLvH.js.map +1 -0
  231. package/dist/components/{p-Ji_SfsNu.js → p-CcmgTlbG.js} +6 -6
  232. package/dist/components/{p-Ji_SfsNu.js.map → p-CcmgTlbG.js.map} +1 -1
  233. package/dist/components/p-Ce_FwQKY.js +125 -0
  234. package/dist/components/p-Ce_FwQKY.js.map +1 -0
  235. package/dist/components/p-CnLhdSVD.js +115 -0
  236. package/dist/components/p-CnLhdSVD.js.map +1 -0
  237. package/dist/components/p-CpKruuk0.js +150 -0
  238. package/dist/components/p-CpKruuk0.js.map +1 -0
  239. package/dist/components/p-CqvHgqQi.js +201 -0
  240. package/dist/components/p-CqvHgqQi.js.map +1 -0
  241. package/dist/components/{p-DC0HL60H.js → p-CwVY532N.js} +4 -4
  242. package/dist/components/{p-DC0HL60H.js.map → p-CwVY532N.js.map} +1 -1
  243. package/dist/components/p-D0oqtZ7v.js +161 -0
  244. package/dist/components/p-D0oqtZ7v.js.map +1 -0
  245. package/dist/components/p-D5Lt75HV.js +103 -0
  246. package/dist/components/p-D5Lt75HV.js.map +1 -0
  247. package/dist/components/{p-DPVPaPb1.js → p-DMtkP3At.js} +4 -4
  248. package/dist/components/{p-DPVPaPb1.js.map → p-DMtkP3At.js.map} +1 -1
  249. package/dist/components/p-DNojPpNK.js +34 -0
  250. package/dist/components/p-DNojPpNK.js.map +1 -0
  251. package/dist/components/{p-B2TUFMT0.js → p-DVcM3j89.js} +8 -8
  252. package/dist/components/p-DVcM3j89.js.map +1 -0
  253. package/dist/components/p-DXAEPHmo.js +115 -0
  254. package/dist/components/p-DXAEPHmo.js.map +1 -0
  255. package/dist/components/{p-9pxwrFws.js → p-DYw5-WDF.js} +5 -5
  256. package/dist/components/{p-9pxwrFws.js.map → p-DYw5-WDF.js.map} +1 -1
  257. package/dist/components/p-DhQKM6mo.js +115 -0
  258. package/dist/components/p-DhQKM6mo.js.map +1 -0
  259. package/dist/components/p-DjunXuAM.js +115 -0
  260. package/dist/components/p-DjunXuAM.js.map +1 -0
  261. package/dist/components/{p-Cqxe6wZe.js → p-DpEeDtkU.js} +7 -7
  262. package/dist/components/{p-Cqxe6wZe.js.map → p-DpEeDtkU.js.map} +1 -1
  263. package/dist/components/{p-CdFJ_FQz.js → p-Dp_6qCVD.js} +19 -19
  264. package/dist/components/p-Dp_6qCVD.js.map +1 -0
  265. package/dist/components/p-Dt8uznTD.js +118 -0
  266. package/dist/components/p-Dt8uznTD.js.map +1 -0
  267. package/dist/components/{p-R3_FOlEq.js → p-DtfgidTY.js} +10 -10
  268. package/dist/components/p-DtfgidTY.js.map +1 -0
  269. package/dist/components/{p-raaSYxtA.js → p-DuLbniAl.js} +5 -5
  270. package/dist/components/{p-raaSYxtA.js.map → p-DuLbniAl.js.map} +1 -1
  271. package/dist/components/{p-NoKw4xu7.js → p-Myru1I0U.js} +5 -5
  272. package/dist/components/{p-NoKw4xu7.js.map → p-Myru1I0U.js.map} +1 -1
  273. package/dist/components/{p-BUfnTaTZ.js → p-SymuFFwR.js} +10 -10
  274. package/dist/components/p-SymuFFwR.js.map +1 -0
  275. package/dist/components/p-bm-gsw1C.js +77 -0
  276. package/dist/components/p-bm-gsw1C.js.map +1 -0
  277. package/dist/components/p-hgs41zT_.js +103 -0
  278. package/dist/components/p-hgs41zT_.js.map +1 -0
  279. package/dist/components/{p-B-j9D08q.js → p-lCZRXn_O.js} +6 -6
  280. package/dist/components/{p-B-j9D08q.js.map → p-lCZRXn_O.js.map} +1 -1
  281. package/dist/components/p-mtgdqmoW.js +73 -0
  282. package/dist/components/p-mtgdqmoW.js.map +1 -0
  283. package/dist/components/{p-CTGwIImt.js → p-zhtYmA1Q.js} +6 -6
  284. package/dist/components/{p-CTGwIImt.js.map → p-zhtYmA1Q.js.map} +1 -1
  285. package/dist/esm/{index-BzcAlD18.js → index-o0lmYfXA.js} +5 -5
  286. package/dist/esm/{index-BzcAlD18.js.map → index-o0lmYfXA.js.map} +1 -1
  287. package/dist/esm/loader.js +3 -3
  288. package/dist/esm/ls-compose-manager.entry.js +3 -3
  289. package/dist/esm/{ls-document-options_45.entry.js → ls-document-options_46.entry.js} +346 -206
  290. package/dist/esm/ls-document-options_46.entry.js.map +1 -0
  291. package/dist/esm/ls-document-viewer.js +3 -3
  292. package/dist/esm/ls-field-properties-dropdown.entry.js +2 -2
  293. package/dist/esm/ls-formfield.entry.js +4 -4
  294. package/dist/esm/ls-number-input.ls-radio-input.ls-select-input.ls-text-input.ls-textarea-input.entry.js.map +1 -1
  295. package/dist/esm/ls-number-input_5.entry.js +12 -12
  296. package/dist/esm/ls-number-input_5.entry.js.map +1 -1
  297. package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -1
  298. package/dist/ls-document-viewer/ls-number-input.ls-radio-input.ls-select-input.ls-text-input.ls-textarea-input.entry.esm.js.map +1 -1
  299. package/dist/ls-document-viewer/p-0f4af1a9.entry.js +2 -0
  300. package/dist/ls-document-viewer/p-3ed8b266.entry.js +2 -0
  301. package/dist/ls-document-viewer/p-3ed8b266.entry.js.map +1 -0
  302. package/dist/ls-document-viewer/p-b1237a47.entry.js +2 -0
  303. package/dist/ls-document-viewer/p-d10c6f29.entry.js +4922 -0
  304. package/dist/ls-document-viewer/p-d10c6f29.entry.js.map +1 -0
  305. package/dist/ls-document-viewer/p-f8d4e7a2.entry.js +2 -0
  306. package/dist/ls-document-viewer/{p-fbb241f1.entry.js.map → p-f8d4e7a2.entry.js.map} +1 -1
  307. package/dist/ls-document-viewer/p-o0lmYfXA.js +3 -0
  308. package/dist/ls-document-viewer/{p-BzcAlD18.js.map → p-o0lmYfXA.js.map} +1 -1
  309. package/dist/types/components/ls-document-viewer/ls-document-viewer.d.ts +1 -0
  310. package/dist/types/components/ls-editor-field/ls-editor-field.d.ts +10 -0
  311. package/dist/types/components/ls-recipient-card/ls-recipient-card.d.ts +3 -0
  312. package/dist/types/components/ls-title-input/ls-title-input.d.ts +14 -0
  313. package/dist/types/components/ls-validation-tag/ls-validation-tag.d.ts +2 -0
  314. package/dist/types/components.d.ts +65 -2
  315. package/dist/types/types/ValidationError.d.ts +1 -2
  316. package/package.json +2 -2
  317. package/readme.md +9 -0
  318. package/dist/cjs/ls-document-options_45.cjs.entry.js.map +0 -1
  319. package/dist/components/p-B2TUFMT0.js.map +0 -1
  320. package/dist/components/p-B2etz1Ic.js +0 -115
  321. package/dist/components/p-B2etz1Ic.js.map +0 -1
  322. package/dist/components/p-B2ofj7BM.js +0 -127
  323. package/dist/components/p-B2ofj7BM.js.map +0 -1
  324. package/dist/components/p-B3axAGVs.js.map +0 -1
  325. package/dist/components/p-B7S9E2ci.js +0 -115
  326. package/dist/components/p-B7S9E2ci.js.map +0 -1
  327. package/dist/components/p-BIqQK9GI.js.map +0 -1
  328. package/dist/components/p-BNX_U6jC.js +0 -112
  329. package/dist/components/p-BNX_U6jC.js.map +0 -1
  330. package/dist/components/p-BUfnTaTZ.js.map +0 -1
  331. package/dist/components/p-BiOHci04.js.map +0 -1
  332. package/dist/components/p-BzY8ubZE.js +0 -103
  333. package/dist/components/p-BzY8ubZE.js.map +0 -1
  334. package/dist/components/p-BzxhEsKd.js +0 -115
  335. package/dist/components/p-BzxhEsKd.js.map +0 -1
  336. package/dist/components/p-C8ZQeYj-.js.map +0 -1
  337. package/dist/components/p-CCt1S0nA.js +0 -115
  338. package/dist/components/p-CCt1S0nA.js.map +0 -1
  339. package/dist/components/p-CEhCcP_A.js.map +0 -1
  340. package/dist/components/p-CNc1l7mG.js +0 -73
  341. package/dist/components/p-CNc1l7mG.js.map +0 -1
  342. package/dist/components/p-COypjAnE.js.map +0 -1
  343. package/dist/components/p-CdFJ_FQz.js.map +0 -1
  344. package/dist/components/p-CtV1B-_5.js.map +0 -1
  345. package/dist/components/p-D-U9fbV-.js +0 -118
  346. package/dist/components/p-D-U9fbV-.js.map +0 -1
  347. package/dist/components/p-DCZnqvsu.js +0 -83
  348. package/dist/components/p-DCZnqvsu.js.map +0 -1
  349. package/dist/components/p-DDNZkGBj.js +0 -115
  350. package/dist/components/p-DDNZkGBj.js.map +0 -1
  351. package/dist/components/p-DGuG1Bmj.js +0 -108
  352. package/dist/components/p-DGuG1Bmj.js.map +0 -1
  353. package/dist/components/p-DKx68i7a.js.map +0 -1
  354. package/dist/components/p-DMgdq7Zj.js.map +0 -1
  355. package/dist/components/p-DPtMBZYM.js +0 -103
  356. package/dist/components/p-DPtMBZYM.js.map +0 -1
  357. package/dist/components/p-DUBoFEsx.js +0 -99
  358. package/dist/components/p-DUBoFEsx.js.map +0 -1
  359. package/dist/components/p-DVtr8lsT.js +0 -34
  360. package/dist/components/p-DVtr8lsT.js.map +0 -1
  361. package/dist/components/p-DmszHmWG.js.map +0 -1
  362. package/dist/components/p-DyU3O3tg.js +0 -161
  363. package/dist/components/p-DyU3O3tg.js.map +0 -1
  364. package/dist/components/p-FjzffTyc.js +0 -201
  365. package/dist/components/p-FjzffTyc.js.map +0 -1
  366. package/dist/components/p-G8kF15oY.js +0 -67
  367. package/dist/components/p-G8kF15oY.js.map +0 -1
  368. package/dist/components/p-HB8K0xP0.js +0 -68
  369. package/dist/components/p-HB8K0xP0.js.map +0 -1
  370. package/dist/components/p-QEWyXsBw.js +0 -115
  371. package/dist/components/p-QEWyXsBw.js.map +0 -1
  372. package/dist/components/p-R3_FOlEq.js.map +0 -1
  373. package/dist/components/p-cwpKMDgH.js +0 -125
  374. package/dist/components/p-cwpKMDgH.js.map +0 -1
  375. package/dist/esm/ls-document-options_45.entry.js.map +0 -1
  376. package/dist/ls-document-viewer/p-06c34a72.entry.js +0 -4922
  377. package/dist/ls-document-viewer/p-06c34a72.entry.js.map +0 -1
  378. package/dist/ls-document-viewer/p-350754cb.entry.js +0 -2
  379. package/dist/ls-document-viewer/p-350754cb.entry.js.map +0 -1
  380. package/dist/ls-document-viewer/p-3a4da534.entry.js +0 -2
  381. package/dist/ls-document-viewer/p-3c5fa1d7.entry.js +0 -2
  382. package/dist/ls-document-viewer/p-BzcAlD18.js +0 -3
  383. package/dist/ls-document-viewer/p-fbb241f1.entry.js +0 -2
  384. /package/dist/ls-document-viewer/{p-3c5fa1d7.entry.js.map → p-0f4af1a9.entry.js.map} +0 -0
  385. /package/dist/ls-document-viewer/{p-3a4da534.entry.js.map → p-b1237a47.entry.js.map} +0 -0
@@ -50,7 +50,7 @@ a:hover {
50
50
 
51
51
  select {
52
52
  appearance: none;
53
- height: 36px;
53
+ height: 2.25rem;
54
54
  width: 100%;
55
55
  }
56
56
  .has-leading-icon {
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
2
2
  export class LsFieldPropertiesText {
3
3
  dataItem;
4
4
  render() {
5
- return (h(Host, { key: '4f61bffe1259f8672e4480ec7f4cd18ecf1a9a7c' }, h("ls-field-properties-container", { key: '614aad16a2a80dcca2a791d0ce1342667813b37d', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: '49dbe5e32d5a02afcb27165a60c759c89a5b2b50', class: 'field-set', slot: "content" }, h("ls-field-content", { key: 'cc7a0e20886e6561ca959d0f2e1f4ee49ac2e879', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: '58220b511bb05449ccee2f2e5c54a591c79b6ac8', dataItem: this.dataItem })), h("div", { key: '6de32144ed7ee7472f4b6f1778b4a424fcc09462', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '5a77d95dc87ab771d85bfb25b801fdabd4214565', dataItem: this.dataItem })), h("div", { key: '24e06038f5a910dea658c863e007770546802bf8', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: 'd786ff7dc7c61a3a82f266a692c09e44bb417e8a', dataItem: this.dataItem }))), h("ls-field-footer", { key: '31b5b36d2dbf01cb09700ffc3ffa9c224db61cd1', dataItem: this.dataItem })));
5
+ return (h(Host, { key: 'd98dcc06c9bd451991818629afbc2fff1d6c8fff' }, h("ls-field-properties-container", { key: 'a9f6c081272cf74cd4be29c78769422161dba816', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: '5c625ed9ae36342832779428938c2de7a7aa7163', class: 'field-set', slot: "content" }, h("ls-field-content", { key: 'd11bd76deb30a0aa93766167fe81adf8428ad4c3', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: 'f6c373b50a2742321af5e464ccaad5154a0a8cb4', dataItem: this.dataItem })), h("div", { key: '61f7e8aec05f9ee370eeda26eb169ae96c23bdc6', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: '1a261f3e557bd7d69cff9980a864fb1e90ac07ba', dataItem: this.dataItem })), h("div", { key: '535ba971134ab505302a23932df23136a387bce5', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: '7e84324458a5410b9d4af72a982c87e46d075cbc', dataItem: this.dataItem }))), h("ls-field-footer", { key: 'e8b395dc2d6f049b8715870b602f3510a8e99b7f', dataItem: this.dataItem })));
6
6
  }
7
7
  static get is() { return "ls-field-properties-text"; }
8
8
  static get encapsulation() { return "shadow"; }
@@ -7,8 +7,8 @@
7
7
  }
8
8
 
9
9
  .ls-toolbar-numeric {
10
- width: 45px;
11
- max-height: 18px;
10
+ width: 2.813rem;
11
+ max-height: 1.25rem;
12
12
  margin: 0px;
13
13
  padding: 0px;
14
14
  }
@@ -19,7 +19,7 @@ export class LsFieldSize {
19
19
  attachAllTooltips(this.component.shadowRoot);
20
20
  }
21
21
  render() {
22
- return (h(Host, { key: '4a8c5b6091593c6658d52f332dc0180a9aa7c234' }, h("div", { key: 'c2235c25b8c994e86191ee4c0b60aac827a99304', class: 'ls-field-properties-section' }, h("div", { key: '342929332fd0df3c4316713564a8a33b3a9ba7f5', class: 'ls-field-properties-section-text' }, h("p", { key: '511b3d62008d18fcd867a724bf66c4222b5b31db', class: 'ls-field-properties-section-title' }, "Scale and Resize"), h("p", { key: '246c72ab2973d7de15b9ee60eb684221d2de8c09', class: 'ls-field-properties-section-description' }, "Multi-select fields and match their dimensions")), h("div", { key: '2f9956bd71a5195ca540f8e7c77d705c49b82eaa', class: 'button-group' }, h("button", { key: '5c66c06e562a38a15d1dba9a7a02d91facfcb79b', onClick: () => this.alter({ width: this.dataItem[0].width, height: this.dataItem[0].height }), "aria-label": "Make selected fields the same height and width as the first selected field.", "data-tooltip": "Make selected fields the same height and width as the first selected field" }, h("ls-icon", { key: '577fbb9f0309603f92c64c85dfd4bdebca26b08f', name: "field-scale" })), h("button", { key: '15f47dec9a4d8be2abd9cf49db82eed86efd6274', "aria-label": "Make selected fields the same width as the first selected field", onClick: () => this.alter({ width: this.dataItem[0].width }), "data-tooltip": "Make selected fields the same width as the first selected field" }, h("ls-icon", { key: 'd586958503eda47fbe1c1ffd37737fbafb936857', name: "field-match-width" })), h("button", { key: 'e94c585c27941e00c5801ffce2ea4124e84a5c2f', onClick: () => this.alter({ height: this.dataItem[0].height }), "aria-label": "Make selected fields the same height as the first selected field.", "data-tooltip": "Make selected fields the same height as the first selected field" }, h("ls-icon", { key: '3e1877707b12710e6d38fe7bd40bd653703e5d2e', name: "field-match-height" })))), h("slot", { key: '80290ec35de43ab1bb2f39ba303a6b4b1127a74a' }), h("ls-tooltip", { key: 'd7ae2421a26db540d0d440e9d987934601ab5257', id: "ls-tooltip-master" })));
22
+ return (h(Host, { key: '1cabd4d6ece5981e2e50933fa93d19b113cd6bca' }, h("div", { key: 'faabdbcb881e7724694750df2de7151d7a8990ac', class: 'ls-field-properties-section' }, h("div", { key: '14cd8bae67637aadb831dee0c2373e280dd26199', class: 'ls-field-properties-section-text' }, h("p", { key: '3a2f88d275b7b7932d7816d692ef768ac24d3774', class: 'ls-field-properties-section-title' }, "Scale and Resize"), h("p", { key: 'e88a8518e89b06f7b446b387fd063ccf15f23f86', class: 'ls-field-properties-section-description' }, "Multi-select fields and match their dimensions")), h("div", { key: 'e7bb74bd8e58ee30d14736a52925ea8a144dc54f', class: 'button-group' }, h("button", { key: 'ff0c8337a67047633e50e9f3133a9611dc005e2e', onClick: () => this.alter({ width: this.dataItem[0].width, height: this.dataItem[0].height }), "aria-label": "Make selected fields the same height and width as the first selected field.", "data-tooltip": "Make selected fields the same height and width as the first selected field" }, h("ls-icon", { key: 'c4618753082d4e2212a273fece998e8bd51f6688', name: "field-scale" })), h("button", { key: 'd88b13b511c417036b7cbac398bc8f1627cb6d26', "aria-label": "Make selected fields the same width as the first selected field", onClick: () => this.alter({ width: this.dataItem[0].width }), "data-tooltip": "Make selected fields the same width as the first selected field" }, h("ls-icon", { key: 'ee4cbf6e84d12685d3ef7516557d6ffe5214524c', name: "field-match-width" })), h("button", { key: 'a16e991225c105f124afc5c65960a8b8e595867e', onClick: () => this.alter({ height: this.dataItem[0].height }), "aria-label": "Make selected fields the same height as the first selected field.", "data-tooltip": "Make selected fields the same height as the first selected field" }, h("ls-icon", { key: 'cbc94846ea2c09a47800e0f7e073be43c8ed2230', name: "field-match-height" })))), h("slot", { key: 'cc0e771946fe9cbd33d19a0c0fee3e025fc4870d' }), h("ls-tooltip", { key: '9f8b2d85bc49f41b85a34b30763088f804e5e5df', id: "ls-tooltip-master" })));
23
23
  }
24
24
  static get is() { return "ls-field-size"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -7,14 +7,14 @@ export class LsFieldTypeDisplay {
7
7
  fieldType = 'signature';
8
8
  render() {
9
9
  const color = defaultRolePalette[this.assignee % 100];
10
- return (h(Host, { key: 'b96d23acd3d237cbdb28c0fd245a972c80b7fd25', class: 'ls-field-type-wrapper', style: {
10
+ return (h(Host, { key: 'e40b140dc43b54a9b5902db8ee47f713da12e723', class: 'ls-field-type-wrapper', style: {
11
11
  border: `1px dashed ${color.s30}`,
12
12
  background: color.s10,
13
- } }, h("div", { key: 'cdc499d6c1c686ad2691a74c248c6e222d68f6aa', class: 'ls-field-type-inner' }, h("div", { key: '79170b027981ad4a685fbb9d9632c4972e09dd6b', class: 'ls-field-type-icon', style: {
13
+ } }, h("div", { key: '3c16f1b3c1e5370986c266173f0792cae15e3345', class: 'ls-field-type-inner' }, h("div", { key: '268ac5892e08c2b253a722ebab1faeaffaa63db0', class: 'ls-field-type-icon', style: {
14
14
  border: `1px solid ${color.s60}`,
15
15
  color: color.s60,
16
16
  background: color.s10,
17
- } }, h("ls-icon", { key: 'e5673bce1895cbd07640580560517efd1fa89c4d', name: getFieldIcon(this.fieldType), size: "20" })), h("p", { key: '8bc1644f6a070c41d2f967d9eb8e535df3dd9bf3', class: 'ls-field-type-name' }, getFieldLabel(this.fieldType)))));
17
+ } }, h("ls-icon", { key: '9ec309d89e6405f0aff5ac94868166b932983331', name: getFieldIcon(this.fieldType), size: "1.25rem" })), h("p", { key: '0f64e64d628e4b9bd7ee2426237ef1dcfc5f4940', class: 'ls-field-type-name' }, getFieldLabel(this.fieldType)))));
18
18
  }
19
19
  static get is() { return "ls-field-type-display"; }
20
20
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"ls-field-type-display.js","sourceRoot":"","sources":["../../../src/components/ls-field-type-display/ls-field-type-display.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAOvE,MAAM,OAAO,kBAAkB;IACrB,QAAQ,CAAS;IACjB,SAAS,GAAW,WAAW,CAAC;IAExC,MAAM;QACJ,MAAM,KAAK,GAAG,kBAAkB,CAAC,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;QACtD,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE,uBAAuB,EAC9B,KAAK,EAAE;gBACL,MAAM,EAAE,cAAc,KAAK,CAAC,GAAG,EAAE;gBACjC,UAAU,EAAE,KAAK,CAAC,GAAG;aACtB;YAED,4DAAK,KAAK,EAAE,qBAAqB;gBAC/B,4DACE,KAAK,EAAE,oBAAoB,EAC3B,KAAK,EAAE;wBACL,MAAM,EAAE,aAAa,KAAK,CAAC,GAAG,EAAE;wBAChC,KAAK,EAAE,KAAK,CAAC,GAAG;wBAChB,UAAU,EAAE,KAAK,CAAC,GAAG;qBACtB;oBAED,gEAAS,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAC,IAAI,GAAG,CACrD;gBACN,0DAAG,KAAK,EAAE,oBAAoB,IAAG,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAK,CAC/D,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\nimport { defaultRolePalette } from '../ls-document-viewer/defaultPalette';\nimport { getFieldLabel } from '../ls-document-viewer/defaultFieldLabels';\nimport { getFieldIcon } from '../ls-document-viewer/defaultFieldIcons';\n\n@Component({\n tag: 'ls-field-type-display',\n styleUrl: 'ls-field-type-display.css',\n shadow: true,\n})\nexport class LsFieldTypeDisplay {\n @Prop() assignee: number;\n @Prop() fieldType: string = 'signature';\n\n render() {\n const color = defaultRolePalette[this.assignee % 100];\n return (\n <Host\n class={'ls-field-type-wrapper'}\n style={{\n border: `1px dashed ${color.s30}`,\n background: color.s10,\n }}\n >\n <div class={'ls-field-type-inner'}>\n <div\n class={'ls-field-type-icon'}\n style={{\n border: `1px solid ${color.s60}`,\n color: color.s60,\n background: color.s10,\n }}\n >\n <ls-icon name={getFieldIcon(this.fieldType)} size=\"20\" />\n </div>\n <p class={'ls-field-type-name'}>{getFieldLabel(this.fieldType)}</p>\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"ls-field-type-display.js","sourceRoot":"","sources":["../../../src/components/ls-field-type-display/ls-field-type-display.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAOvE,MAAM,OAAO,kBAAkB;IACrB,QAAQ,CAAS;IACjB,SAAS,GAAW,WAAW,CAAC;IAExC,MAAM;QACJ,MAAM,KAAK,GAAG,kBAAkB,CAAC,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;QACtD,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE,uBAAuB,EAC9B,KAAK,EAAE;gBACL,MAAM,EAAE,cAAc,KAAK,CAAC,GAAG,EAAE;gBACjC,UAAU,EAAE,KAAK,CAAC,GAAG;aACtB;YAED,4DAAK,KAAK,EAAE,qBAAqB;gBAC/B,4DACE,KAAK,EAAE,oBAAoB,EAC3B,KAAK,EAAE;wBACL,MAAM,EAAE,aAAa,KAAK,CAAC,GAAG,EAAE;wBAChC,KAAK,EAAE,KAAK,CAAC,GAAG;wBAChB,UAAU,EAAE,KAAK,CAAC,GAAG;qBACtB;oBAED,gEAAS,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAC,SAAS,GAAG,CAC1D;gBACN,0DAAG,KAAK,EAAE,oBAAoB,IAAG,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAK,CAC/D,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\nimport { defaultRolePalette } from '../ls-document-viewer/defaultPalette';\nimport { getFieldLabel } from '../ls-document-viewer/defaultFieldLabels';\nimport { getFieldIcon } from '../ls-document-viewer/defaultFieldIcons';\n\n@Component({\n tag: 'ls-field-type-display',\n styleUrl: 'ls-field-type-display.css',\n shadow: true,\n})\nexport class LsFieldTypeDisplay {\n @Prop() assignee: number;\n @Prop() fieldType: string = 'signature';\n\n render() {\n const color = defaultRolePalette[this.assignee % 100];\n return (\n <Host\n class={'ls-field-type-wrapper'}\n style={{\n border: `1px dashed ${color.s30}`,\n background: color.s10,\n }}\n >\n <div class={'ls-field-type-inner'}>\n <div\n class={'ls-field-type-icon'}\n style={{\n border: `1px solid ${color.s60}`,\n color: color.s60,\n background: color.s10,\n }}\n >\n <ls-icon name={getFieldIcon(this.fieldType)} size=\"1.25rem\" />\n </div>\n <p class={'ls-field-type-name'}>{getFieldLabel(this.fieldType)}</p>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -178,7 +178,7 @@ input:focus:not(:disabled) {
178
178
  .right-items {
179
179
  position: absolute;
180
180
  padding: 0.25rem;
181
- height: 36px;
181
+ height: 2.25rem;
182
182
  right: 0;
183
183
  top: 50%;
184
184
  transform: translateY(-50%);
@@ -198,8 +198,8 @@ input:focus:not(:disabled) {
198
198
 
199
199
  .button {
200
200
  display: flex;
201
- height: 28px;
202
- width: 28px;
201
+ height: 1.75rem;
202
+ width: 1.75rem;
203
203
  padding: 0.25rem;
204
204
  justify-content: center;
205
205
  align-items: center;
@@ -215,8 +215,8 @@ input:focus:not(:disabled) {
215
215
 
216
216
  .button-disabled {
217
217
  display: flex;
218
- height: 28px;
219
- width: 28px;
218
+ height: 1.75rem;
219
+ width: 1.75rem;
220
220
  padding: 0.25rem;
221
221
  justify-content: center;
222
222
  align-items: center;
@@ -255,8 +255,8 @@ input:focus:not(:disabled) {
255
255
 
256
256
  .button:focus {
257
257
  display: flex;
258
- height: 28px;
259
- width: 28px;
258
+ height: 1.75rem;
259
+ width: 1.75rem;
260
260
  padding: 0.25rem;
261
261
  justify-content: center;
262
262
  align-items: center;
@@ -34,7 +34,7 @@ export class LsNumberInput {
34
34
  ? 'invalid'
35
35
  : 'default', fieldIcon && 'icon-input', dirty && 'button-input', buttonIcon && 'button-input', buttonIcon && dirty && 'right-items-input');
36
36
  const plusMinusClass = clsx(disabled ? 'button-disabled' : 'button');
37
- return (h("host", { key: '3223f1b5c6ee85269516ffa345acd30bf507cea6', class: type === 'ls' && 'host' }, type === 'ls' && (h("button", { key: 'bf9c84bd74f40f8e4de7b74ffaae507a0d3278cb', class: plusMinusClass, onClick: () => handleMinus(), disabled: disabled }, h("ls-icon", { key: '2d698e76aa909ee6d44e6aee3dd7edbc93283544', id: 'buttonIcon', name: 'minus-sm' }))), h("div", { key: '344f3a64c0da8b072544b1bef65b1d9961921302', class: 'input-container' }, fieldIcon && (h("ls-icon", { key: '74e2c1aaff565cdfeec39ac2c1410a38e4a7ebb3', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), h("input", { key: 'b658f716bd7a26eceeeb3afbedef32a5ba344d96', type: 'number', class: inputClass, id: name, name: name, value: value, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled, onInput: (event) => handleChange(event) }), h("div", { key: '4675bf6bea3de2e6952b107bf208ee60fedd7666', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: 'afacf0c0780d60d7211aeb3c22dbc5c9a070cf5e', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && type !== 'ls' && (h("button", { key: '81db4646d078e20bf49c53420c4af351ad1c6403', class: 'button', onClick: buttonClick }, h("ls-icon", { key: '098621b5511e1aa0e3baf8d655aab0afbfa38dce', id: 'buttonIcon', name: buttonIcon }))))), type === 'ls' && (h("button", { key: 'c967580b4cbc4e7374e928d22a7fe869df5857f9', class: plusMinusClass, onClick: handlePlus, disabled: disabled }, h("ls-icon", { key: 'b212edc85ce547d05d4345a6b8ab2addd0e56ac0', id: 'buttonIcon', name: 'plus-sm' })))));
37
+ return (h("host", { key: '16b2658c62a3ea3de4f55ef91fd669677506e1fe', class: type === 'ls' && 'host' }, type === 'ls' && (h("button", { key: 'c1ac4489e1eae6a84a56bff53d22dc7a33d7d4a4', class: plusMinusClass, onClick: () => handleMinus(), disabled: disabled }, h("ls-icon", { key: '8db14a1fd8fad4907c73dd2a41a1e584ddd02914', id: 'buttonIcon', name: 'minus-sm' }))), h("div", { key: 'f612a83f625cb10b7e11249b281be587c92e783c', class: 'input-container' }, fieldIcon && (h("ls-icon", { key: 'e737ac19586a0a5bca2f1caaf18b1f68b25c9c03', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), h("input", { key: '2f8681769df8a8affc62f0744e198896eb893ffb', type: 'number', class: inputClass, id: name, name: name, value: value, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled, onInput: (event) => handleChange(event) }), h("div", { key: '3f175e8ed586f731c62d81b286cc3fa198ae8e4b', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: '451f88055782062684466fe084477eb675eaec62', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && type !== 'ls' && (h("button", { key: '0699154beaa0964a71b0e378c76853f8bd1832fc', class: 'button', onClick: buttonClick }, h("ls-icon", { key: 'edad9c88e963bba30a8f6e3ccd7dc5c9646828bb', id: 'buttonIcon', name: buttonIcon }))))), type === 'ls' && (h("button", { key: '2b263884f201f422652393f95e486e51a6e369fb', class: plusMinusClass, onClick: handlePlus, disabled: disabled }, h("ls-icon", { key: '57dcfe868a3865e0b9b5a9930596a8c758513723', id: 'buttonIcon', name: 'plus-sm' })))));
38
38
  }
39
39
  static get is() { return "ls-number-input"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,7 @@ export class LsRadioInput {
11
11
  render() {
12
12
  const { label, radioId, icon, name, disabled, checked, customStyle, } = this;
13
13
  const radioLabelClass = clsx('radioLabel', disabled && 'disabled', checked && 'checked');
14
- return (h("label", { key: '92e3bc9b5774de619922d43ef9c24ad7a43568c7', htmlFor: radioId, tabIndex: 0, class: radioLabelClass, style: customStyle }, h("input", { key: '3e89bd9b39c9f37c156f17d42108bc788091ebcf', type: 'radio', class: 'inputClass', id: radioId, name: name, value: label, disabled: disabled, tabIndex: 0, checked: checked }), h("div", { key: 'e3f1f7b06e8b81eee01d2ce4d674a7ff5c9c76a4', class: 'spanContainer' }, h("span", { key: '7170cb3702dbf2dc9bc07a67c4d91ebc9a8e30ea' }, icon && h("ls-icon", { key: '4de2c9271302dc11bdd6b35fd273b3c6a5b33b39', name: icon, size: "16" })), h("span", { key: '9ce53c08c5031725d09e2edb03660eac4aae9f16' }, label))));
14
+ return (h("label", { key: 'affba3f5b1b1c934f56a2cb7568dfee10639e842', htmlFor: radioId, tabIndex: 0, class: radioLabelClass, style: customStyle }, h("input", { key: '4287b9cd8a951be8c65ce0fb83580ed32fbee77a', type: 'radio', class: 'inputClass', id: radioId, name: name, value: label, disabled: disabled, tabIndex: 0, checked: checked }), h("div", { key: '7d80ac9ae37ad054e726fd75f52d3568c0f13a25', class: 'spanContainer' }, h("span", { key: '5d2fb9b0d694e03f38da46459b5bcbd97a4982cf' }, icon && h("ls-icon", { key: 'c618f79ac8f61cec3cde549a554190e085599091', name: icon, size: "16" })), h("span", { key: 'a4ab42377ba01f88819b12beacdace5ea6d393b7' }, label))));
15
15
  }
16
16
  static get is() { return "ls-radio-input"; }
17
17
  static get originalStyleUrls() {
@@ -137,7 +137,7 @@ select {
137
137
  .right-items {
138
138
  position: absolute;
139
139
  padding: 0.25rem;
140
- height: 36px;
140
+ height: 2.25rem;
141
141
  right: 0;
142
142
  top: 0;
143
143
  display: flex;
@@ -156,8 +156,8 @@ select {
156
156
 
157
157
  .button {
158
158
  display: flex;
159
- height: 28px;
160
- width: 28px;
159
+ height: 1.75rem;
160
+ width: 1.75rem;
161
161
  padding: 0.25rem;
162
162
  justify-content: center;
163
163
  align-items: center;
@@ -173,8 +173,8 @@ select {
173
173
 
174
174
  .button:hover {
175
175
  display: flex;
176
- height: 28px;
177
- width: 28px;
176
+ height: 1.75rem;
177
+ width: 1.75rem;
178
178
  padding: 0.25rem;
179
179
  justify-content: center;
180
180
  align-items: center;
@@ -190,8 +190,8 @@ select {
190
190
 
191
191
  .button:active {
192
192
  display: flex;
193
- height: 28px;
194
- width: 28px;
193
+ height: 1.75rem;
194
+ width: 1.75rem;
195
195
  padding: 0.25rem;
196
196
  justify-content: center;
197
197
  align-items: center;
@@ -207,8 +207,8 @@ select {
207
207
 
208
208
  .button:focus {
209
209
  display: flex;
210
- height: 28px;
211
- width: 28px;
210
+ height: 1.75rem;
211
+ width: 1.75rem;
212
212
  padding: 0.25rem;
213
213
  justify-content: center;
214
214
  align-items: center;
@@ -27,7 +27,7 @@ export class LsSelectInput {
27
27
  : displayOnly
28
28
  ? 'displayOnly'
29
29
  : 'default', fieldIcon && 'icon-input', dirty && 'button-input', buttonIcon && 'button-input', buttonIcon && dirty && 'right-items-input');
30
- return (h("host", { key: 'ad6571818f20395ecda1dbd22a574b999afa73ca', class: 'host' }, fieldIcon && (h("ls-icon", { key: 'a68a46e5237f98a621a546b4d8295a3594b73ffd', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), h("select", { key: 'd84a610ada56cb39fd0125184a9d5257b9127892', class: inputClass, id: name, name: name, "aria-label": aria, required: required, disabled: disabled }, h("slot", { key: '2a61c4932a822f0f813e20f6ef079569624ea3ad' })), h("div", { key: '7dddfb3625c9f1a0ed02dc5250e3db876299077d', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: '405f8a0bfc03565b843001e746059adc77e1558b', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon ? (h("button", { class: 'button', onClick: buttonClick }, h("ls-icon", { id: 'buttonIcon', name: buttonIcon }))) : (h("ls-icon", { id: disabled ? 'select-arrow-disabled' : 'select-arrow', name: 'chevron-down' })))));
30
+ return (h("host", { key: '9980f5312e7bdd61255e5684404c85351dd32b63', class: 'host' }, fieldIcon && (h("ls-icon", { key: 'ee10c135a53f825b16f134af7d5d24762ea0794a', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), h("select", { key: '95875345316282ded2d72eabe24ebcfe9e112947', class: inputClass, id: name, name: name, "aria-label": aria, required: required, disabled: disabled }, h("slot", { key: '352aae0b0c6ad7dae862021cf81584b89fe761e5' })), h("div", { key: '5ce9ec6d3edb7645be270874087c5b066996e8a6', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: '07ad8dc616954c148b044fd68e4518d583e14300', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon ? (h("button", { class: 'button', onClick: buttonClick }, h("ls-icon", { id: 'buttonIcon', name: buttonIcon }))) : (h("ls-icon", { id: disabled ? 'select-arrow-disabled' : 'select-arrow', name: 'chevron-down' })))));
31
31
  }
32
32
  static get is() { return "ls-select-input"; }
33
33
  static get originalStyleUrls() {
@@ -127,7 +127,7 @@
127
127
  .right-items {
128
128
  position: absolute;
129
129
  padding: 0.25rem;
130
- height: 36px;
130
+ height: 2.25rem;
131
131
  right: 0;
132
132
  top: 0;
133
133
  display: flex;
@@ -146,8 +146,8 @@
146
146
 
147
147
  .button {
148
148
  display: flex;
149
- height: 28px;
150
- width: 28px;
149
+ height: 1.75rem;
150
+ width: 1.75rem;
151
151
  padding: 0.25rem;
152
152
  justify-content: center;
153
153
  align-items: center;
@@ -163,8 +163,8 @@
163
163
 
164
164
  .button:hover {
165
165
  display: flex;
166
- height: 28px;
167
- width: 28px;
166
+ height: 1.75rem;
167
+ width: 1.75rem;
168
168
  padding: 0.25rem;
169
169
  justify-content: center;
170
170
  align-items: center;
@@ -180,8 +180,8 @@
180
180
 
181
181
  .button:active {
182
182
  display: flex;
183
- height: 28px;
184
- width: 28px;
183
+ height: 1.75rem;
184
+ width: 1.75rem;
185
185
  padding: 0.25rem;
186
186
  justify-content: center;
187
187
  align-items: center;
@@ -197,8 +197,8 @@
197
197
 
198
198
  .button:focus {
199
199
  display: flex;
200
- height: 28px;
201
- width: 28px;
200
+ height: 1.75rem;
201
+ width: 1.75rem;
202
202
  padding: 0.25rem;
203
203
  justify-content: center;
204
204
  align-items: center;
@@ -35,13 +35,13 @@ export class LsTextInput {
35
35
  : dirty && !valid
36
36
  ? 'invalid'
37
37
  : 'default', fieldIcon && 'icon-input', dirty && 'button-input', buttonIcon && 'button-input', buttonIcon && dirty && 'right-items-input');
38
- return (h(Host, { key: '5d0e39de960da7c05dd64f96360cfcd9133aa95e', class: 'host' }, fieldIcon && (h("ls-icon", { key: '148402cd6087ec414122a54d42ce460fa8fd63e4', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), type === 'password' ? (h("input", { type: showPassword && 'password', class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled, onChange: (e) => {
38
+ return (h(Host, { key: '065f2582758ce9cfeea52508bd051c49ac8f7a22', class: 'host' }, fieldIcon && (h("ls-icon", { key: 'b5e77210c848cff4c8c572fc2ad2b137e67670c1', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), type === 'password' ? (h("input", { type: showPassword && 'password', class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled, onChange: (e) => {
39
39
  this.changeHandler(e);
40
40
  } })) : type === 'displayonly' ? (h("input", { class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: true, onChange: (e) => {
41
41
  this.changeHandler(e);
42
42
  } })) : (h("input", { class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled, onChange: (e) => {
43
43
  this.changeHandler(e);
44
- } })), h("div", { key: 'e86d919029eed85799ae53542758356629dab343', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: 'c5a0d12e3c07c6708c936b985464b6ff7aff82d1', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && (h("button", { key: '7f852342bb7e9407c492b589422494dd088fd61f', class: 'button', onClick: buttonClick }, h("ls-icon", { key: '05d9fcdb971a2876a656ab9f68329899074de1ef', id: 'buttonIcon', name: buttonIcon }))), type === 'password' && !buttonIcon && (h("ls-icon-button", { key: '2694d48907b91951095d662e68215958ebe68d63', id: 'password-icon', icon: showPassword ? 'eye' : 'eye-off', onClick: handlePassword })))));
44
+ } })), h("div", { key: 'aa71635dc5ce7a3727559271dd57cead5d5f2c7b', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: '07561e3d44c33a945083f69cf1c1449257153ed5', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && (h("button", { key: '7fa27ddfe3e004c6c2232210bf0ab39664f7cc75', class: 'button', onClick: buttonClick }, h("ls-icon", { key: '2a07f650fdd786d01a7d88548ba07074da25fbc9', id: 'buttonIcon', name: buttonIcon }))), type === 'password' && !buttonIcon && (h("ls-icon-button", { key: '1b3fd40bf47799698ea65239eedc0123e01e6cda', id: 'password-icon', icon: showPassword ? 'eye' : 'eye-off', onClick: handlePassword })))));
45
45
  }
46
46
  static get is() { return "ls-text-input"; }
47
47
  static get encapsulation() { return "shadow"; }
@@ -118,7 +118,7 @@
118
118
  .right-items {
119
119
  position: absolute;
120
120
  padding: 0.25rem;
121
- height: 36px;
121
+ height: 2.25rem;
122
122
  right: 0;
123
123
  top: 0;
124
124
  display: flex;
@@ -137,8 +137,8 @@
137
137
 
138
138
  .button {
139
139
  display: flex;
140
- height: 28px;
141
- width: 28px;
140
+ height: 1.75rem;
141
+ width: 1.75rem;
142
142
  padding: 0.25rem;
143
143
  justify-content: center;
144
144
  align-items: center;
@@ -154,8 +154,8 @@
154
154
 
155
155
  .button:hover {
156
156
  display: flex;
157
- height: 28px;
158
- width: 28px;
157
+ height: 1.75rem;
158
+ width: 1.75rem;
159
159
  padding: 0.25rem;
160
160
  justify-content: center;
161
161
  align-items: center;
@@ -171,8 +171,8 @@
171
171
 
172
172
  .button:active {
173
173
  display: flex;
174
- height: 28px;
175
- width: 28px;
174
+ height: 1.75rem;
175
+ width: 1.75rem;
176
176
  padding: 0.25rem;
177
177
  justify-content: center;
178
178
  align-items: center;
@@ -190,8 +190,8 @@
190
190
 
191
191
  .button:focus {
192
192
  display: flex;
193
- height: 28px;
194
- width: 28px;
193
+ height: 1.75rem;
194
+ width: 1.75rem;
195
195
  padding: 0.25rem;
196
196
  justify-content: center;
197
197
  align-items: center;
@@ -26,7 +26,7 @@ export class LsTextareaInput {
26
26
  : displayOnly
27
27
  ? 'displayOnly'
28
28
  : 'default', fieldIcon && 'icon-input', dirty && 'button-input', buttonIcon && 'button-input', buttonIcon && dirty && 'right-items-input');
29
- return (h("host", { key: '4e65014b5d0e8df0a397042d501a6c26f250324d', class: 'host' }, fieldIcon && (h("ls-icon", { key: '5ba14d902bdcfaa3d6825ece9a848ae1d8531888', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), h("textarea", { key: 'e490afebd2e14ede73a904f890e8ebdd5f34dc53', class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled }), h("div", { key: 'b3139ce875b8e39d41931d9507b9e6007faaf94d', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: 'c0b3e669755f05961a199008385248c9a8e60f8e', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && (h("button", { key: '97011df16622fc8fe7ef0c9c458667ad5844a9a9', class: 'button', onClick: buttonClick }, h("ls-icon", { key: '7046d7ce171217f536f527309ec15e42ffdd87bb', id: 'buttonIcon', name: buttonIcon }))))));
29
+ return (h("host", { key: '9ae8b4df7f03ce8007522c161f373be320f802aa', class: 'host' }, fieldIcon && (h("ls-icon", { key: '6ee5150550cf1fcbe0ddf70e1100a424c4cbf799', id: disabled ? 'fieldIconDisabled' : 'fieldIcon', name: fieldIcon })), h("textarea", { key: '4db4ca2f5402d0081750eb05c24d384e6604915b', class: inputClass, id: name, name: name, value: value, maxlength: countMax, placeholder: placeholder, "aria-label": aria, required: required, disabled: disabled }), h("div", { key: 'bd8f98837ef04e4f47ea4cb6f14e7cf75d40e026', class: 'right-items' }, dirty && !disabled && (h("ls-icon", { key: '4b9fcca0baa77a2fc70ecfcda72e09fc60560005', id: valid ? 'validIcon' : 'invalidIcon', name: valid ? 'check-circle' : 'exclamation-circle' })), buttonIcon && (h("button", { key: '2bbf87b77cf0df42e620b8ee8990a15efdf29699', class: 'button', onClick: buttonClick }, h("ls-icon", { key: '53e406ede857fa2fbe2550ac448b5ebf81427a02', id: 'buttonIcon', name: buttonIcon }))))));
30
30
  }
31
31
  static get is() { return "ls-textarea-input"; }
32
32
  static get encapsulation() { return "shadow"; }
@@ -38,10 +38,10 @@ export class LsFormfield {
38
38
  render() {
39
39
  const { name, fieldId, label, as, value, placeholder, descriptionText, errorText, aria, infoTooltipText, disabled, extraLabel, valid, dirty, count, countMax, buttonClick, buttonIcon, fieldIcon, labelIcon, } = this;
40
40
  const countClass = value && value.toString().length > countMax ? 'formfield-count-error' : 'formfield-count';
41
- return (h("host", { key: 'abb10c40dccbc1df9073bb8135933b50c7addf3f', class: "formfield-host" }, label?.length > 1 || extraLabel !== 'none' && (h("div", { key: 'b8f8cec278fc8b3e224dd4d4cb2a7e3381f1fc53', class: "formfield-top-elements" }, h("div", { key: '090b6ce8001334d8ea27ee503bb80abdb4458765', class: "formfield-left-side" }, labelIcon && h("ls-icon", { key: 'ae0d3022a53947e3948deeb160b1922f9532f662', name: labelIcon }), h("label", { key: '63dfbcd3acfd52aa6f977755734071b320ffe717', htmlFor: name, class: "formfield-label" }, label), infoTooltipText && h("ls-icon", { key: '266a2155a80ccc3e51d5474896fc2250964dff1e', name: 'information-circle' })), extraLabel === 'optional' ? (h("ls-label", { text: "Optional", colour: "gray", type: "low" })) : extraLabel === 'required' ? (h("ls-label", { text: "Required", colour: "gray", type: "low" })) : (''))), as === 'text' ? (h("ls-text-input", { id: fieldId, name: name, value: value?.toString(), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon, onValueChange: (e) => { this.changeHandler(e.detail); } })) : as === 'select' ? (h("ls-select-input", { id: name, name: name, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon }, h("slot", null))) : as === 'radio' ? (h("ls-radio-input", { radioId: label, label: value?.toString(), icon: fieldIcon, name: name, disabled: disabled })) : as === 'textarea' ? (h("ls-textarea-input", { id: name, name: name, value: value?.toString(), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon })) : as === 'password' ? (h("ls-text-input", { type: "password", id: name, name: name, value: value?.toString(), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon })) : as === 'displayonly' ? (h("ls-text-input", { type: "displayonly", id: name, name: name, value: value?.toString(), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon })) : as === 'number' ? (h("ls-number-input", { type: "ls", id: name, name: name, value: Number(value), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon })) : (h("p", null, "placeholder")), errorText ||
41
+ return (h("host", { key: '7d9ce8f93eef332dc934dbb8b18c686a24b7bb7b', class: "formfield-host" }, label?.length > 1 || extraLabel !== 'none' && (h("div", { key: '83f6dc53d7ed4a97574788f5226f58c7dcdf7f76', class: "formfield-top-elements" }, h("div", { key: '61761e85e2d573f7361d990474dfc8fa168db633', class: "formfield-left-side" }, labelIcon && h("ls-icon", { key: 'f2c2d195abf5ecd11db30844f7a9a45f37a585b1', name: labelIcon }), h("label", { key: 'eb97be872ffcb60d4d161283af72882303471e76', htmlFor: name, class: "formfield-label" }, label), infoTooltipText && h("ls-icon", { key: '09065bb12b3df7e2daf4fd761b328f7b86fdb44e', name: 'information-circle' })), extraLabel === 'optional' ? (h("ls-label", { text: "Optional", colour: "gray", type: "low" })) : extraLabel === 'required' ? (h("ls-label", { text: "Required", colour: "gray", type: "low" })) : (''))), as === 'text' ? (h("ls-text-input", { id: fieldId, name: name, value: value?.toString(), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon, onValueChange: (e) => { this.changeHandler(e.detail); } })) : as === 'select' ? (h("ls-select-input", { id: name, name: name, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon }, h("slot", null))) : as === 'radio' ? (h("ls-radio-input", { radioId: label, label: value?.toString(), icon: fieldIcon, name: name, disabled: disabled })) : as === 'textarea' ? (h("ls-textarea-input", { id: name, name: name, value: value?.toString(), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon })) : as === 'password' ? (h("ls-text-input", { type: "password", id: name, name: name, value: value?.toString(), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon })) : as === 'displayonly' ? (h("ls-text-input", { type: "displayonly", id: name, name: name, value: value?.toString(), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon })) : as === 'number' ? (h("ls-number-input", { type: "ls", id: name, name: name, value: Number(value), countMax: countMax, placeholder: placeholder, "aria-label": aria, required: extraLabel === 'required', disabled: disabled, valid: valid, dirty: dirty, buttonIcon: buttonIcon, buttonClick: buttonClick, fieldIcon: fieldIcon })) : (h("p", null, "placeholder")), errorText ||
42
42
  count ||
43
43
  countMax ||
44
- (descriptionText && (h("div", { key: 'cc8ffdb0f955baab2627011dc3ce756d9f3fb755', class: "formfield-bottom-elements" }, errorText && !valid ? h("p", { class: "formfield-error-text" }, errorText) : descriptionText ? h("p", { class: "formfield-description-text" }, descriptionText) : '', count && (h("div", { key: 'b6d2515988fe6022fbc5dbf353650ad03fa06ed0', class: "formfield-count-container" }, h("p", { key: 'ac29508788d292a28e13a88f2dfd0f97bfc54120', class: countClass }, value?.toString()?.length), countMax > 0 && (h("div", { key: 'c6da1cc6b8e8970326344ccc37fc7055c36603c7', class: countClass }, h("p", { key: '68250a9de3633f0a9d0f64006016663d5e4f9414' }, "/"), h("p", { key: '4c541ba2dff8b2cdbc9b49830ed46e871cc2bd1f' }, countMax))))))))));
44
+ (descriptionText && (h("div", { key: '0729bf9725dd53684bf0475718955fbe6847ebcf', class: "formfield-bottom-elements" }, errorText && !valid ? h("p", { class: "formfield-error-text" }, errorText) : descriptionText ? h("p", { class: "formfield-description-text" }, descriptionText) : '', count && (h("div", { key: 'df740e5bc22bd24bbc496a00c02023a95fdf6b9a', class: "formfield-count-container" }, h("p", { key: '0bcd5b23f4ab2483cda330829feea022f2bb33fd', class: countClass }, value?.toString()?.length), countMax > 0 && (h("div", { key: '36280cff83fc6522a36778577f04bd9644e1f800', class: countClass }, h("p", { key: 'a1516c03a84710c101b92710cc9ea77ca8a5d45b' }, "/"), h("p", { key: '55b029ed794ce322b7e75a49776d74d21e6f57cf' }, countMax))))))))));
45
45
  }
46
46
  static get is() { return "ls-formfield"; }
47
47
  static get originalStyleUrls() {
@@ -8,11 +8,11 @@ export class LsHelperBar {
8
8
  attachAllTooltips(this.component.shadowRoot);
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '061822abff6f324af19fc264ca4ef838bb0bbe0a' }, h("div", { key: '76cc6c198cf588c9f25557094449edc9522d22f4', class: 'controls-bar', onMouseEnter: () => (this.expanded = true), onMouseLeave: () => (this.expanded = false) }, h("button", { key: '8b8d38b8625b4b4f072beb2c4eb31379d90d40be', style: !this.expanded ? { display: 'none' } : { display: 'block' }, id: "keyboard-btn", ref: el => {
11
+ return (h(Host, { key: '0ea5ddfbf8e09f857ce4bea741fab2f9661785c7' }, h("div", { key: 'a0d17c33fa0f6513ab6b22d3715bf31625e77fba', class: 'controls-bar', onMouseEnter: () => (this.expanded = true), onMouseLeave: () => (this.expanded = false) }, h("button", { key: 'd4d1405c68b9e96babb93e2044d7bf7b736444b3', style: !this.expanded ? { display: 'none' } : { display: 'block' }, id: "keyboard-btn", ref: el => {
12
12
  if (el) {
13
13
  this.shortcutsBtn = el;
14
14
  }
15
- } }, h("ls-keyboard-shortcuts", { key: '23c97b13dad7092a849dfe3093000e07d2f9ff7b', referenceElement: this.shortcutsBtn }), h("ls-icon", { key: '5a64cbe09d163178f2cfb613b4a9d871bc7661cd', name: "keyboard" })), h("button", { key: '3fd30dd762bf8bf3266d5be0cee8c41a4cedcdb1', style: !this.expanded ? { display: 'none' } : { display: 'block' }, "data-pendo": "launch-new-edit-tour" }, h("ls-icon", { key: '4173bf9e2c74a21e7bc02b09657c2f9fab638dc0', name: "map", "data-tooltip": "Take a Guided Tour", "data-tooltip-placement": "left" })), h("button", { key: 'd2960e5793c7a3a0ccac756ace603714fb650f56', style: !this.expanded ? { display: 'none' } : { display: 'block' }, onClick: () => window.open('https://legalesign.com/articles/', '_blank') }, h("ls-icon", { key: '0fe4f8204e9988d4149b0988f71c8d4cf18ec6cf', name: "book-open", "data-tooltip": "View Documentation \u2197", "data-tooltip-placement": "left" })), h("div", { key: 'd9fc9f72efa34d85d49292a22483dceefe70fcf5', class: "divider", style: !this.expanded ? { display: 'none' } : { display: 'block' } }), h("button", { key: '27469a568bd52b8720fd1f7f09eb1847aea7504f' }, h("ls-icon", { key: '59025902862e563da1cc9f45bdf5b822b00ab4c9', name: "question-mark-circle" }))), h("slot", { key: '4336509f3a61062d59d5f5a87ccfeb1021de2a9a' }), h("ls-tooltip", { key: '0d9025118f530702b32903c96bdd468b7907a211', id: "ls-tooltip-master" })));
15
+ } }, h("ls-keyboard-shortcuts", { key: 'dce4fffb30a3ed7115ee0816434552996794ad3a', referenceElement: this.shortcutsBtn }), h("ls-icon", { key: '04e31a96e6593b2fc73854619bbc80ef20fc4d26', name: "keyboard" })), h("button", { key: 'e0ff256398468065fb76fe273c1a4089af598dbf', style: !this.expanded ? { display: 'none' } : { display: 'block' }, "data-pendo": "launch-new-edit-tour" }, h("ls-icon", { key: '5ce37cfa92b2525a8d344fed6b8835930db1aeb0', name: "map", "data-tooltip": "Take a Guided Tour", "data-tooltip-placement": "left" })), h("button", { key: 'ab1cc9441815b58fc92d1688bf540a6ad9ea9349', style: !this.expanded ? { display: 'none' } : { display: 'block' }, onClick: () => window.open('https://legalesign.com/articles/', '_blank') }, h("ls-icon", { key: 'fdb1d13e35ff66d03c77bd15858910c4773b5105', name: "book-open", "data-tooltip": "View Documentation \u2197", "data-tooltip-placement": "left" })), h("div", { key: 'cfc76e9434590eb0c06055d89b219479e4b0fa8b', class: "divider", style: !this.expanded ? { display: 'none' } : { display: 'block' } }), h("button", { key: '430c37f8e0f4206a76f006c3f72c60c5e2b8a2dc' }, h("ls-icon", { key: 'c3e6c2bac0ec08c2cec5c0c5237cdb7b2ec740ef', name: "question-mark-circle" }))), h("slot", { key: '38c98e7e91042d1cddb4217e8f61c44d32f65a7a' }), h("ls-tooltip", { key: '8ddaf7d60cd84a206efb4c71240db45772bc8d70', id: "ls-tooltip-master" })));
16
16
  }
17
17
  static get is() { return "ls-helper-bar"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ export class LsIcon {
5
5
  name;
6
6
  solid = false;
7
7
  color = "#000000";
8
- size = "20";
8
+ size = "1.25rem";
9
9
  customStyle;
10
10
  // Added function to check that the Icon enum type has all the icons from the icons.ts file
11
11
  arraysAreIdentical(arr1, arr2) {
@@ -25,11 +25,11 @@ export class LsIcon {
25
25
  console.warn('Icons in src/components/ls-icon/icons.ts should be identical to the enum type in src/types/Icon.ts. Please add all icons to the enum type.');
26
26
  }
27
27
  render() {
28
- return (h("host", { key: 'cde74309a5d2874ef637402ef4263d7b498c74cc' }, icons
28
+ return (h("host", { key: 'bd029331162812961f4b1413bcedd4688cece878' }, icons
29
29
  ?.filter((icon) => icon.name === this.name)
30
30
  ?.map((icon) => (h("div", { key: icon?.name, class: 'iconContainer', style: {
31
- height: `${this.size}px`,
32
- width: `${this.size}px`,
31
+ height: `${this.size}`,
32
+ width: `${this.size}`,
33
33
  ...this.customStyle,
34
34
  } }, this.solid ? (h("div", { innerHTML: icon.svgSolid, style: { top: '0px' } })) : (h("div", { innerHTML: icon.svgOutline, style: { top: '0px' } })))))));
35
35
  }
@@ -120,7 +120,7 @@ export class LsIcon {
120
120
  "getter": false,
121
121
  "setter": false,
122
122
  "reflect": false,
123
- "defaultValue": "\"20\""
123
+ "defaultValue": "\"1.25rem\""
124
124
  },
125
125
  "customStyle": {
126
126
  "type": "unknown",
@@ -1 +1 @@
1
- {"version":3,"file":"ls-icon.js","sourceRoot":"","sources":["../../../src/components/ls-icon/ls-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAQ,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAM7D,MAAM,OAAO,MAAM;IACT,IAAI,CAAQ;IACZ,KAAK,GAAa,KAAK,CAAC;IACxB,KAAK,GAAY,SAAS,CAAC;IAC3B,IAAI,GAAY,IAAI,CAAC;IACrB,WAAW,CAA6B;IAEhD,2FAA2F;IACnF,kBAAkB,CAAC,IAAc,EAAE,IAAc;QACvD,MAAM,YAAY,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC/D,MAAM,YAAY,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAE/D,IAAI,YAAY,CAAC,MAAM,KAAK,YAAY,CAAC,MAAM,EAAE,CAAC;YAChD,OAAO,KAAK,CAAC;QACf,CAAC;QACD,MAAM,UAAU,GAAG,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC;QAC5C,MAAM,UAAU,GAAG,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC;QAE5C,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IACzE,CAAC;IACD,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC5C,gBAAgB;QACd,MAAM,YAAY,GAAG,IAAI,CAAC,kBAAkB,CAC1C,SAAS,EACT,IAAI,CAAC,iBAAiB,CACvB,CAAC;QACF,IAAI,CAAC,YAAY;YACf,OAAO,CAAC,IAAI,CACV,4IAA4I,CAC7I,CAAC;IACN,CAAC;IAED,MAAM;QACJ,OAAO,CACL,+DACG,KAAK;YACJ,EAAE,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;YAC3C,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACd,WACE,GAAG,EAAE,IAAI,EAAE,IAAI,EACf,KAAK,EAAC,eAAe,EACrB,KAAK,EAAE;gBACL,MAAM,EAAE,GAAG,IAAI,CAAC,IAAI,IAAI;gBACxB,KAAK,EAAE,GAAG,IAAI,CAAC,IAAI,IAAI;gBACvB,GAAG,IAAI,CAAC,WAAW;aAEpB,IAEA,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACZ,WAAK,SAAS,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,EAAC,GAAG,CACvD,CAAC,CAAC,CAAC,CACF,WAAK,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,EAAC,GAAI,CAC1D,CACG,CACP,CAAC,CACC,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { icons } from './icons';\nimport { Icon, IconEnum, iconNames } from '../../types/Icon';\n\n@Component({\n tag: 'ls-icon',\n shadow: true,\n})\nexport class LsIcon {\n @Prop() name?: Icon;\n @Prop() solid?: boolean = false;\n @Prop() color?: string = \"#000000\";\n @Prop() size?: string = \"20\";\n @Prop() customStyle?: { [key: string]: string };\n\n // Added function to check that the Icon enum type has all the icons from the icons.ts file\n private arraysAreIdentical(arr1: string[], arr2: string[]): boolean {\n const modifiedArr1 = arr1[0] === 'none' ? arr1.slice(1) : arr1;\n const modifiedArr2 = arr2[0] === 'none' ? arr2.slice(1) : arr2;\n\n if (modifiedArr1.length !== modifiedArr2.length) {\n return false;\n }\n const sortedArr1 = [...modifiedArr1].sort();\n const sortedArr2 = [...modifiedArr2].sort();\n\n return sortedArr1.every((value, index) => value === sortedArr2[index]);\n }\n iconNamesFromEnum = Object.values(IconEnum);\n componentDidLoad() {\n const areIdentical = this.arraysAreIdentical(\n iconNames,\n this.iconNamesFromEnum,\n );\n if (!areIdentical)\n console.warn(\n 'Icons in src/components/ls-icon/icons.ts should be identical to the enum type in src/types/Icon.ts. Please add all icons to the enum type.',\n );\n }\n\n render() {\n return (\n <host>\n {icons\n ?.filter((icon) => icon.name === this.name)\n ?.map((icon) => (\n <div\n key={icon?.name}\n class='iconContainer'\n style={{\n height: `${this.size}px`,\n width: `${this.size}px`,\n ...this.customStyle,\n \n }}\n >\n {this.solid ? (\n <div innerHTML={icon.svgSolid} style={{ top: '0px'}}/>\n ) : (\n <div innerHTML={icon.svgOutline} style={{ top: '0px'}} />\n )}\n </div>\n ))}\n </host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"ls-icon.js","sourceRoot":"","sources":["../../../src/components/ls-icon/ls-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAQ,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAM7D,MAAM,OAAO,MAAM;IACT,IAAI,CAAQ;IACZ,KAAK,GAAa,KAAK,CAAC;IACxB,KAAK,GAAY,SAAS,CAAC;IAC3B,IAAI,GAAY,SAAS,CAAC;IAC1B,WAAW,CAA6B;IAEhD,2FAA2F;IACnF,kBAAkB,CAAC,IAAc,EAAE,IAAc;QACvD,MAAM,YAAY,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC/D,MAAM,YAAY,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAE/D,IAAI,YAAY,CAAC,MAAM,KAAK,YAAY,CAAC,MAAM,EAAE,CAAC;YAChD,OAAO,KAAK,CAAC;QACf,CAAC;QACD,MAAM,UAAU,GAAG,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC;QAC5C,MAAM,UAAU,GAAG,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC;QAE5C,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IACzE,CAAC;IACD,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC5C,gBAAgB;QACd,MAAM,YAAY,GAAG,IAAI,CAAC,kBAAkB,CAC1C,SAAS,EACT,IAAI,CAAC,iBAAiB,CACvB,CAAC;QACF,IAAI,CAAC,YAAY;YACf,OAAO,CAAC,IAAI,CACV,4IAA4I,CAC7I,CAAC;IACN,CAAC;IAED,MAAM;QACJ,OAAO,CACL,+DACG,KAAK;YACJ,EAAE,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;YAC3C,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACd,WACE,GAAG,EAAE,IAAI,EAAE,IAAI,EACf,KAAK,EAAC,eAAe,EACrB,KAAK,EAAE;gBACL,MAAM,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE;gBACtB,KAAK,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE;gBACrB,GAAG,IAAI,CAAC,WAAW;aAEpB,IAEA,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACZ,WAAK,SAAS,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,EAAC,GAAG,CACvD,CAAC,CAAC,CAAC,CACF,WAAK,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,EAAC,GAAI,CAC1D,CACG,CACP,CAAC,CACC,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { icons } from './icons';\nimport { Icon, IconEnum, iconNames } from '../../types/Icon';\n\n@Component({\n tag: 'ls-icon',\n shadow: true,\n})\nexport class LsIcon {\n @Prop() name?: Icon;\n @Prop() solid?: boolean = false;\n @Prop() color?: string = \"#000000\";\n @Prop() size?: string = \"1.25rem\";\n @Prop() customStyle?: { [key: string]: string };\n\n // Added function to check that the Icon enum type has all the icons from the icons.ts file\n private arraysAreIdentical(arr1: string[], arr2: string[]): boolean {\n const modifiedArr1 = arr1[0] === 'none' ? arr1.slice(1) : arr1;\n const modifiedArr2 = arr2[0] === 'none' ? arr2.slice(1) : arr2;\n\n if (modifiedArr1.length !== modifiedArr2.length) {\n return false;\n }\n const sortedArr1 = [...modifiedArr1].sort();\n const sortedArr2 = [...modifiedArr2].sort();\n\n return sortedArr1.every((value, index) => value === sortedArr2[index]);\n }\n iconNamesFromEnum = Object.values(IconEnum);\n componentDidLoad() {\n const areIdentical = this.arraysAreIdentical(\n iconNames,\n this.iconNamesFromEnum,\n );\n if (!areIdentical)\n console.warn(\n 'Icons in src/components/ls-icon/icons.ts should be identical to the enum type in src/types/Icon.ts. Please add all icons to the enum type.',\n );\n }\n\n render() {\n return (\n <host>\n {icons\n ?.filter((icon) => icon.name === this.name)\n ?.map((icon) => (\n <div\n key={icon?.name}\n class='iconContainer'\n style={{\n height: `${this.size}`,\n width: `${this.size}`,\n ...this.customStyle,\n \n }}\n >\n {this.solid ? (\n <div innerHTML={icon.svgSolid} style={{ top: '0px'}}/>\n ) : (\n <div innerHTML={icon.svgOutline} style={{ top: '0px'}} />\n )}\n </div>\n ))}\n </host>\n );\n }\n}\n"]}
@@ -3,7 +3,7 @@ export class LsInputWrapper {
3
3
  leadingIcon;
4
4
  select = false;
5
5
  render() {
6
- return (h(Host, { key: '7750671f8dde3da2567df36c98dca70344b63ca4' }, h("ls-icon", { key: '20fe94a9a904f9872cdc106ad8b01432e9021211', id: "selectLeadingIcon", name: this.leadingIcon }), this.select && h("ls-icon", { key: '45e1dddd802766e2e9c6c744c956864d641be133', id: "selectorIcon", name: "selector" }), h("slot", { key: 'cf176ab0464b7f7b01160391327b741733887c12' })));
6
+ return (h(Host, { key: '80c79e120bd0d44c11cac3e8096715e59d21a793' }, h("ls-icon", { key: 'a8af28777cb9cea7294075df1714473b8310d98d', id: "selectLeadingIcon", name: this.leadingIcon }), this.select && h("ls-icon", { key: '0e68b967bcb36ea63a3bbd147c4af70916443c68', id: "selectorIcon", name: "selector" }), h("slot", { key: 'c547d8642431a3fc34e36c967bf9789e7b10921d' })));
7
7
  }
8
8
  static get is() { return "ls-input-wrapper"; }
9
9
  static get encapsulation() { return "shadow"; }