scu-web-components 0.0.18 → 0.0.19

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 (406) hide show
  1. package/dist/chunks/chunk.26QZNZ5O.js +4 -0
  2. package/dist/chunks/chunk.26QZNZ5O.js.map +7 -0
  3. package/dist/chunks/chunk.26WRWOQA.js +4 -0
  4. package/dist/chunks/chunk.26WRWOQA.js.map +7 -0
  5. package/dist/chunks/chunk.2ZQRUE2N.js +17 -0
  6. package/dist/chunks/chunk.2ZQRUE2N.js.map +7 -0
  7. package/dist/chunks/chunk.3FFYP5F6.js +248 -0
  8. package/dist/chunks/chunk.3FFYP5F6.js.map +7 -0
  9. package/dist/chunks/chunk.3FUJNI5Z.js +2 -0
  10. package/dist/chunks/chunk.3FUJNI5Z.js.map +7 -0
  11. package/dist/chunks/chunk.3NUJRAYB.js +2 -0
  12. package/dist/chunks/chunk.3NUJRAYB.js.map +7 -0
  13. package/dist/chunks/chunk.3WCRGMXB.js +4 -0
  14. package/dist/chunks/chunk.3WCRGMXB.js.map +7 -0
  15. package/dist/chunks/chunk.4423HWYS.js +4 -0
  16. package/dist/chunks/chunk.4423HWYS.js.map +7 -0
  17. package/dist/chunks/chunk.44PEDOFG.js +47 -0
  18. package/dist/chunks/chunk.44PEDOFG.js.map +7 -0
  19. package/dist/chunks/chunk.45CT3CWK.js +2 -0
  20. package/dist/chunks/chunk.45CT3CWK.js.map +7 -0
  21. package/dist/chunks/chunk.4OGOBQMX.js +10 -0
  22. package/dist/chunks/chunk.4OGOBQMX.js.map +7 -0
  23. package/dist/chunks/chunk.4POTYAFQ.js +4 -0
  24. package/dist/chunks/chunk.4POTYAFQ.js.map +7 -0
  25. package/dist/chunks/chunk.4PPBRFQ5.js +2 -0
  26. package/dist/chunks/chunk.4PPBRFQ5.js.map +7 -0
  27. package/dist/chunks/chunk.4TZQ4623.js +256 -0
  28. package/dist/chunks/chunk.4TZQ4623.js.map +7 -0
  29. package/dist/chunks/chunk.4YWFC7TN.js +250 -0
  30. package/dist/chunks/chunk.4YWFC7TN.js.map +7 -0
  31. package/dist/chunks/chunk.5BLZH7SW.js +2 -0
  32. package/dist/chunks/chunk.5BLZH7SW.js.map +7 -0
  33. package/dist/chunks/chunk.5MKWHHCQ.js +256 -0
  34. package/dist/chunks/chunk.5MKWHHCQ.js.map +7 -0
  35. package/dist/chunks/chunk.5SYXTJPM.js +2 -0
  36. package/dist/chunks/chunk.5SYXTJPM.js.map +7 -0
  37. package/dist/chunks/chunk.5VSS26HX.js +2 -0
  38. package/dist/chunks/chunk.5VSS26HX.js.map +7 -0
  39. package/dist/chunks/chunk.6AN4WDRE.js +17 -0
  40. package/dist/chunks/chunk.6AN4WDRE.js.map +7 -0
  41. package/dist/chunks/chunk.6IAOEKJZ.js +60 -0
  42. package/dist/chunks/chunk.6IAOEKJZ.js.map +7 -0
  43. package/dist/chunks/chunk.6ZMSNT4Z.js +2 -0
  44. package/dist/chunks/chunk.6ZMSNT4Z.js.map +7 -0
  45. package/dist/chunks/chunk.7CMHOC33.js +2 -0
  46. package/dist/chunks/chunk.7CMHOC33.js.map +7 -0
  47. package/dist/chunks/chunk.7D3TCHIR.js +2 -0
  48. package/dist/chunks/chunk.7D3TCHIR.js.map +7 -0
  49. package/dist/chunks/chunk.7G24U4HI.js +2 -0
  50. package/dist/chunks/chunk.7G24U4HI.js.map +7 -0
  51. package/dist/chunks/chunk.7O5N2TU4.js +17 -0
  52. package/dist/chunks/chunk.7O5N2TU4.js.map +7 -0
  53. package/dist/chunks/chunk.7TWMMEDH.js +2 -0
  54. package/dist/chunks/chunk.7TWMMEDH.js.map +7 -0
  55. package/dist/chunks/chunk.7WYU7AYQ.js +2 -0
  56. package/dist/chunks/chunk.7WYU7AYQ.js.map +7 -0
  57. package/dist/chunks/chunk.7XMEWVE5.js +4 -0
  58. package/dist/chunks/chunk.7XMEWVE5.js.map +7 -0
  59. package/dist/chunks/chunk.A4GHKA4H.js +2 -0
  60. package/dist/chunks/chunk.A4GHKA4H.js.map +7 -0
  61. package/dist/chunks/chunk.A6K5LW2R.js +17 -0
  62. package/dist/chunks/chunk.A6K5LW2R.js.map +7 -0
  63. package/dist/chunks/chunk.AAMAYL7H.js +2 -0
  64. package/dist/chunks/chunk.AAMAYL7H.js.map +7 -0
  65. package/dist/chunks/chunk.AAY3CIZJ.js +2 -0
  66. package/dist/chunks/chunk.AAY3CIZJ.js.map +7 -0
  67. package/dist/chunks/chunk.AOLFTV24.js +4 -0
  68. package/dist/chunks/chunk.AOLFTV24.js.map +7 -0
  69. package/dist/chunks/chunk.ASVXYRFS.js +2 -0
  70. package/dist/chunks/chunk.ASVXYRFS.js.map +7 -0
  71. package/dist/chunks/chunk.B336YZWI.js +2 -0
  72. package/dist/chunks/chunk.B336YZWI.js.map +7 -0
  73. package/dist/chunks/chunk.B3VO7MVW.js +2 -0
  74. package/dist/chunks/chunk.B3VO7MVW.js.map +7 -0
  75. package/dist/chunks/chunk.BD2AX4ZS.js +60 -0
  76. package/dist/chunks/chunk.BD2AX4ZS.js.map +7 -0
  77. package/dist/chunks/chunk.C6XDQDFO.js +2 -0
  78. package/dist/chunks/chunk.C6XDQDFO.js.map +7 -0
  79. package/dist/chunks/chunk.CW2EH5PY.js +17 -0
  80. package/dist/chunks/chunk.CW2EH5PY.js.map +7 -0
  81. package/dist/chunks/chunk.DBZIPHLZ.js +17 -0
  82. package/dist/chunks/chunk.DBZIPHLZ.js.map +7 -0
  83. package/dist/chunks/chunk.DCW26NNA.js +249 -0
  84. package/dist/chunks/chunk.DCW26NNA.js.map +7 -0
  85. package/dist/chunks/chunk.DR5FIJJG.js +2 -0
  86. package/dist/chunks/chunk.DR5FIJJG.js.map +7 -0
  87. package/dist/chunks/chunk.DVKR3IU2.js +47 -0
  88. package/dist/chunks/chunk.DVKR3IU2.js.map +7 -0
  89. package/dist/chunks/chunk.E7OOLSB7.js +29 -0
  90. package/dist/chunks/chunk.E7OOLSB7.js.map +7 -0
  91. package/dist/chunks/chunk.ECQUGXB4.js +182 -0
  92. package/dist/chunks/chunk.ECQUGXB4.js.map +7 -0
  93. package/dist/chunks/chunk.EE4C22LR.js +2 -0
  94. package/dist/chunks/chunk.EE4C22LR.js.map +7 -0
  95. package/dist/chunks/chunk.EE7FYIJC.js +4 -0
  96. package/dist/chunks/chunk.EE7FYIJC.js.map +7 -0
  97. package/dist/chunks/chunk.EWWWRWE5.js +2 -0
  98. package/dist/chunks/chunk.EWWWRWE5.js.map +7 -0
  99. package/dist/chunks/chunk.F5FUIRKL.js +2 -0
  100. package/dist/chunks/chunk.F5FUIRKL.js.map +7 -0
  101. package/dist/chunks/chunk.FDNVN6JM.js +2 -0
  102. package/dist/chunks/chunk.FDNVN6JM.js.map +7 -0
  103. package/dist/chunks/chunk.FFOXCUJR.js +4 -0
  104. package/dist/chunks/chunk.FFOXCUJR.js.map +7 -0
  105. package/dist/chunks/chunk.FGXWF4KS.js +117 -0
  106. package/dist/chunks/chunk.FGXWF4KS.js.map +7 -0
  107. package/dist/chunks/chunk.FKI5D2PU.js +4 -0
  108. package/dist/chunks/chunk.FKI5D2PU.js.map +7 -0
  109. package/dist/chunks/chunk.FVDELYDN.js +17 -0
  110. package/dist/chunks/chunk.FVDELYDN.js.map +7 -0
  111. package/dist/chunks/chunk.GAUGNKEW.js +255 -0
  112. package/dist/chunks/chunk.GAUGNKEW.js.map +7 -0
  113. package/dist/chunks/chunk.GEHNDSAW.js +4 -0
  114. package/dist/chunks/chunk.GEHNDSAW.js.map +7 -0
  115. package/dist/chunks/chunk.GIA75VWA.js +2 -0
  116. package/dist/chunks/chunk.GIA75VWA.js.map +7 -0
  117. package/dist/chunks/chunk.GLLPHPHR.js +2 -0
  118. package/dist/chunks/chunk.GLLPHPHR.js.map +7 -0
  119. package/dist/chunks/chunk.GT2ISAKW.js +2 -0
  120. package/dist/chunks/chunk.GT2ISAKW.js.map +7 -0
  121. package/dist/chunks/chunk.H5P26UZX.js +182 -0
  122. package/dist/chunks/chunk.H5P26UZX.js.map +7 -0
  123. package/dist/chunks/chunk.HCMPRDIX.js +35 -0
  124. package/dist/chunks/chunk.HCMPRDIX.js.map +7 -0
  125. package/dist/chunks/chunk.HG3WXTUJ.js +255 -0
  126. package/dist/chunks/chunk.HG3WXTUJ.js.map +7 -0
  127. package/dist/chunks/chunk.HI65WFA7.js +17 -0
  128. package/dist/chunks/chunk.HI65WFA7.js.map +7 -0
  129. package/dist/chunks/chunk.HVX5PATU.js +2 -0
  130. package/dist/chunks/chunk.HVX5PATU.js.map +7 -0
  131. package/dist/chunks/chunk.HZEZWYYK.js +251 -0
  132. package/dist/chunks/chunk.HZEZWYYK.js.map +7 -0
  133. package/dist/chunks/chunk.HZNLLTV2.js +4 -0
  134. package/dist/chunks/chunk.HZNLLTV2.js.map +7 -0
  135. package/dist/chunks/chunk.I2BMU7RU.js +2 -0
  136. package/dist/chunks/chunk.I2BMU7RU.js.map +7 -0
  137. package/dist/chunks/chunk.I5TL5VOW.js +17 -0
  138. package/dist/chunks/chunk.I5TL5VOW.js.map +7 -0
  139. package/dist/chunks/chunk.IDOYH5TU.js +17 -0
  140. package/dist/chunks/chunk.IDOYH5TU.js.map +7 -0
  141. package/dist/chunks/chunk.IHFJTW5Q.js +2 -0
  142. package/dist/chunks/chunk.IHFJTW5Q.js.map +7 -0
  143. package/dist/chunks/chunk.IHZY23BP.js +209 -0
  144. package/dist/chunks/chunk.IHZY23BP.js.map +7 -0
  145. package/dist/chunks/chunk.INCQI4KW.js +2 -0
  146. package/dist/chunks/chunk.INCQI4KW.js.map +7 -0
  147. package/dist/chunks/chunk.IQAACKV5.js +256 -0
  148. package/dist/chunks/chunk.IQAACKV5.js.map +7 -0
  149. package/dist/chunks/chunk.IVLESGJX.js +29 -0
  150. package/dist/chunks/chunk.IVLESGJX.js.map +7 -0
  151. package/dist/chunks/chunk.IZGP4HPP.js +4 -0
  152. package/dist/chunks/chunk.IZGP4HPP.js.map +7 -0
  153. package/dist/chunks/chunk.J65POK2P.js +2 -0
  154. package/dist/chunks/chunk.J65POK2P.js.map +7 -0
  155. package/dist/chunks/chunk.J6R7RO2U.js +2 -0
  156. package/dist/chunks/chunk.J6R7RO2U.js.map +7 -0
  157. package/dist/chunks/chunk.JBVTDHFY.js +2 -0
  158. package/dist/chunks/chunk.JBVTDHFY.js.map +7 -0
  159. package/dist/chunks/chunk.JD2FO4DX.js +2 -0
  160. package/dist/chunks/chunk.JD2FO4DX.js.map +7 -0
  161. package/dist/chunks/chunk.JS44GQOP.js +2 -0
  162. package/dist/chunks/chunk.JS44GQOP.js.map +7 -0
  163. package/dist/chunks/chunk.JXZBJNSK.js +209 -0
  164. package/dist/chunks/chunk.JXZBJNSK.js.map +7 -0
  165. package/dist/chunks/chunk.KC6RPMFV.js +17 -0
  166. package/dist/chunks/chunk.KC6RPMFV.js.map +7 -0
  167. package/dist/chunks/chunk.KOU54RPJ.js +47 -0
  168. package/dist/chunks/chunk.KOU54RPJ.js.map +7 -0
  169. package/dist/chunks/chunk.L55FJW5G.js +32 -0
  170. package/dist/chunks/chunk.L55FJW5G.js.map +7 -0
  171. package/dist/chunks/chunk.LG6JLUDB.js +17 -0
  172. package/dist/chunks/chunk.LG6JLUDB.js.map +7 -0
  173. package/dist/chunks/chunk.LJ7I7HM6.js +47 -0
  174. package/dist/chunks/chunk.LJ7I7HM6.js.map +7 -0
  175. package/dist/chunks/chunk.LMSOPPYG.js +2 -0
  176. package/dist/chunks/chunk.LMSOPPYG.js.map +7 -0
  177. package/dist/chunks/chunk.LWBFEJU4.js +4 -0
  178. package/dist/chunks/chunk.LWBFEJU4.js.map +7 -0
  179. package/dist/chunks/chunk.LX7JT2FJ.js +17 -0
  180. package/dist/chunks/chunk.LX7JT2FJ.js.map +7 -0
  181. package/dist/chunks/chunk.ME4SPAUY.js +256 -0
  182. package/dist/chunks/chunk.ME4SPAUY.js.map +7 -0
  183. package/dist/chunks/chunk.MKOFAM43.js +2 -0
  184. package/dist/chunks/chunk.MKOFAM43.js.map +7 -0
  185. package/dist/chunks/chunk.MVHRFH3Q.js +255 -0
  186. package/dist/chunks/chunk.MVHRFH3Q.js.map +7 -0
  187. package/dist/chunks/chunk.MX7S5VR4.js +251 -0
  188. package/dist/chunks/chunk.MX7S5VR4.js.map +7 -0
  189. package/dist/chunks/chunk.N555DYI6.js +17 -0
  190. package/dist/chunks/chunk.N555DYI6.js.map +7 -0
  191. package/dist/chunks/chunk.N5W423VY.js +256 -0
  192. package/dist/chunks/chunk.N5W423VY.js.map +7 -0
  193. package/dist/chunks/chunk.NNOHWTGC.js +2 -0
  194. package/dist/chunks/chunk.NNOHWTGC.js.map +7 -0
  195. package/dist/chunks/chunk.O3Y6GORP.js +2 -0
  196. package/dist/chunks/chunk.O3Y6GORP.js.map +7 -0
  197. package/dist/chunks/chunk.OAKR4LII.js +255 -0
  198. package/dist/chunks/chunk.OAKR4LII.js.map +7 -0
  199. package/dist/chunks/chunk.OGVSQMPM.js +4 -0
  200. package/dist/chunks/chunk.OGVSQMPM.js.map +7 -0
  201. package/dist/chunks/chunk.OR2X7ZV4.js +2 -0
  202. package/dist/chunks/chunk.OR2X7ZV4.js.map +7 -0
  203. package/dist/chunks/chunk.OTUFWUCU.js +2 -0
  204. package/dist/chunks/chunk.OTUFWUCU.js.map +7 -0
  205. package/dist/chunks/chunk.OXJR2CBC.js +32 -0
  206. package/dist/chunks/chunk.OXJR2CBC.js.map +7 -0
  207. package/dist/chunks/chunk.P5FMOBOO.js +2 -0
  208. package/dist/chunks/chunk.P5FMOBOO.js.map +7 -0
  209. package/dist/chunks/chunk.PBORG7EO.js +2 -0
  210. package/dist/chunks/chunk.PBORG7EO.js.map +7 -0
  211. package/dist/chunks/chunk.PDBSEP6W.js +2 -0
  212. package/dist/chunks/chunk.PDBSEP6W.js.map +7 -0
  213. package/dist/chunks/chunk.PK4Q3DYP.js +4 -0
  214. package/dist/chunks/chunk.PK4Q3DYP.js.map +7 -0
  215. package/dist/chunks/chunk.PS7Q3LJC.js +2 -0
  216. package/dist/chunks/chunk.PS7Q3LJC.js.map +7 -0
  217. package/dist/chunks/chunk.QI5GOA2N.js +10 -0
  218. package/dist/chunks/chunk.QI5GOA2N.js.map +7 -0
  219. package/dist/chunks/chunk.QQNZKGOC.js +4 -0
  220. package/dist/chunks/chunk.QQNZKGOC.js.map +7 -0
  221. package/dist/chunks/chunk.QUSS6OGG.js +2 -0
  222. package/dist/chunks/chunk.QUSS6OGG.js.map +7 -0
  223. package/dist/chunks/chunk.RFWTH2X2.js +4 -0
  224. package/dist/chunks/chunk.RFWTH2X2.js.map +7 -0
  225. package/dist/chunks/chunk.RG3JWB2W.js +17 -0
  226. package/dist/chunks/chunk.RG3JWB2W.js.map +7 -0
  227. package/dist/chunks/chunk.RH4QX322.js +2 -0
  228. package/dist/chunks/chunk.RH4QX322.js.map +7 -0
  229. package/dist/chunks/chunk.SFYYUOOR.js +2 -0
  230. package/dist/chunks/chunk.SFYYUOOR.js.map +7 -0
  231. package/dist/chunks/chunk.SHF6DFZ5.js +2 -0
  232. package/dist/chunks/chunk.SHF6DFZ5.js.map +7 -0
  233. package/dist/chunks/chunk.SIYIAYTY.js +2 -0
  234. package/dist/chunks/chunk.SIYIAYTY.js.map +7 -0
  235. package/dist/chunks/chunk.SKTWESGB.js +2 -0
  236. package/dist/chunks/chunk.SKTWESGB.js.map +7 -0
  237. package/dist/chunks/chunk.SWVUU5TM.js +251 -0
  238. package/dist/chunks/chunk.SWVUU5TM.js.map +7 -0
  239. package/dist/chunks/chunk.SZIVOS7R.js +4 -0
  240. package/dist/chunks/chunk.SZIVOS7R.js.map +7 -0
  241. package/dist/chunks/chunk.T3QMCSC3.js +2 -0
  242. package/dist/chunks/chunk.T3QMCSC3.js.map +7 -0
  243. package/dist/chunks/chunk.T7LP6FL7.js +2 -0
  244. package/dist/chunks/chunk.T7LP6FL7.js.map +7 -0
  245. package/dist/chunks/chunk.TIXJLUFP.js +17 -0
  246. package/dist/chunks/chunk.TIXJLUFP.js.map +7 -0
  247. package/dist/chunks/chunk.TP45YUJS.js +60 -0
  248. package/dist/chunks/chunk.TP45YUJS.js.map +7 -0
  249. package/dist/chunks/chunk.U3CLEKJ5.js +2 -0
  250. package/dist/chunks/chunk.U3CLEKJ5.js.map +7 -0
  251. package/dist/chunks/chunk.U3ETAM2U.js +2 -0
  252. package/dist/chunks/chunk.U3ETAM2U.js.map +7 -0
  253. package/dist/chunks/chunk.U7C6BSJT.js +2 -0
  254. package/dist/chunks/chunk.U7C6BSJT.js.map +7 -0
  255. package/dist/chunks/chunk.UDWCK6HZ.js +36 -0
  256. package/dist/chunks/chunk.UDWCK6HZ.js.map +7 -0
  257. package/dist/chunks/chunk.UL277WY4.js +57 -0
  258. package/dist/chunks/chunk.UL277WY4.js.map +7 -0
  259. package/dist/chunks/chunk.UWHB7HW2.js +2 -0
  260. package/dist/chunks/chunk.UWHB7HW2.js.map +7 -0
  261. package/dist/chunks/chunk.UYRFYRSK.js +58 -0
  262. package/dist/chunks/chunk.UYRFYRSK.js.map +7 -0
  263. package/dist/chunks/chunk.VDNCQRUC.js +2 -0
  264. package/dist/chunks/chunk.VDNCQRUC.js.map +7 -0
  265. package/dist/chunks/chunk.VHBU7HMM.js +4 -0
  266. package/dist/chunks/chunk.VHBU7HMM.js.map +7 -0
  267. package/dist/chunks/chunk.VOL6A33A.js +2 -0
  268. package/dist/chunks/chunk.VOL6A33A.js.map +7 -0
  269. package/dist/chunks/chunk.VPWCM77I.js +36 -0
  270. package/dist/chunks/chunk.VPWCM77I.js.map +7 -0
  271. package/dist/chunks/chunk.VYQRBSTB.js +2 -0
  272. package/dist/chunks/chunk.VYQRBSTB.js.map +7 -0
  273. package/dist/chunks/chunk.WP3OF6QA.js +17 -0
  274. package/dist/chunks/chunk.WP3OF6QA.js.map +7 -0
  275. package/dist/chunks/chunk.WR6BJRYZ.js +251 -0
  276. package/dist/chunks/chunk.WR6BJRYZ.js.map +7 -0
  277. package/dist/chunks/chunk.XICCWDLO.js +35 -0
  278. package/dist/chunks/chunk.XICCWDLO.js.map +7 -0
  279. package/dist/chunks/chunk.XRCS7XVU.js +2 -0
  280. package/dist/chunks/chunk.XRCS7XVU.js.map +7 -0
  281. package/dist/chunks/chunk.XS2ZLG5N.js +255 -0
  282. package/dist/chunks/chunk.XS2ZLG5N.js.map +7 -0
  283. package/dist/chunks/chunk.XU5GJZL2.js +4 -0
  284. package/dist/chunks/chunk.XU5GJZL2.js.map +7 -0
  285. package/dist/chunks/chunk.XWIMOG3R.js +17 -0
  286. package/dist/chunks/chunk.XWIMOG3R.js.map +7 -0
  287. package/dist/chunks/chunk.XXCA25XG.js +117 -0
  288. package/dist/chunks/chunk.XXCA25XG.js.map +7 -0
  289. package/dist/chunks/chunk.Y6CNGJBQ.js +248 -0
  290. package/dist/chunks/chunk.Y6CNGJBQ.js.map +7 -0
  291. package/dist/chunks/chunk.YCMHZ3MB.js +258 -0
  292. package/dist/chunks/chunk.YCMHZ3MB.js.map +7 -0
  293. package/dist/chunks/chunk.YYEBOYAK.js +4 -0
  294. package/dist/chunks/chunk.YYEBOYAK.js.map +7 -0
  295. package/dist/chunks/chunk.Z6HS5QBM.js +2 -0
  296. package/dist/chunks/chunk.Z6HS5QBM.js.map +7 -0
  297. package/dist/chunks/chunk.ZFJ4UAEF.js +256 -0
  298. package/dist/chunks/chunk.ZFJ4UAEF.js.map +7 -0
  299. package/dist/chunks/chunk.ZQRAOUTM.js +2 -0
  300. package/dist/chunks/chunk.ZQRAOUTM.js.map +7 -0
  301. package/dist/custom-elements.json +1048 -1902
  302. package/dist/docs/components/ScwAlert.json +0 -26
  303. package/dist/docs/components/ScwButton.json +0 -26
  304. package/dist/docs/components/ScwCard.json +6 -32
  305. package/dist/docs/components/ScwCenterComponent.json +0 -26
  306. package/dist/docs/components/ScwComponent.json +0 -18
  307. package/dist/docs/components/ScwElementComponent.json +0 -26
  308. package/dist/docs/components/ScwFlexHComponent.json +0 -26
  309. package/dist/docs/components/ScwFlexVComponent.json +0 -26
  310. package/dist/docs/components/ScwFloatComponent.json +0 -26
  311. package/dist/docs/components/ScwForm.json +0 -26
  312. package/dist/docs/components/ScwFormComponent.json +0 -26
  313. package/dist/docs/components/ScwHeading.json +1 -27
  314. package/dist/docs/components/ScwIcon.json +0 -26
  315. package/dist/docs/components/ScwImage.json +4 -34
  316. package/dist/docs/components/ScwInput.json +0 -26
  317. package/dist/docs/components/ScwInputField.json +0 -26
  318. package/dist/docs/components/ScwInputLayout.json +0 -26
  319. package/dist/docs/components/ScwLayoutComponent.json +0 -26
  320. package/dist/docs/components/ScwLink.json +0 -26
  321. package/dist/docs/components/ScwLinkBase.json +0 -26
  322. package/dist/docs/components/ScwMenu.json +0 -26
  323. package/dist/docs/components/ScwMenuItem.json +0 -26
  324. package/dist/docs/components/ScwPageAlert.json +0 -26
  325. package/dist/docs/components/ScwPaneComponent.json +0 -26
  326. package/dist/docs/components/ScwResponsive.json +0 -26
  327. package/dist/docs/components/ScwSelect.json +0 -26
  328. package/dist/docs/components/ScwSingleInput.json +0 -26
  329. package/dist/docs/components/ScwSingleInputLayout.json +0 -26
  330. package/dist/docs/components/ScwStackComponent.json +0 -26
  331. package/dist/docs/components/ScwTest.json +0 -26
  332. package/dist/docs/components/ScwTextarea.json +0 -26
  333. package/dist/docs/components/ScwValidate.json +0 -26
  334. package/dist/docs/components/ScwValidation.json +0 -26
  335. package/dist/docs/components/manifest.json +65 -65
  336. package/dist/docs/config.json +1 -1
  337. package/dist/scw-alert/ScwAlert.js +1 -1
  338. package/dist/scw-alert/scw-alert.js +1 -1
  339. package/dist/scw-button/ScwButton.js +1 -1
  340. package/dist/scw-button/scw-button.js +1 -1
  341. package/dist/scw-card/ScwCard.js +1 -1
  342. package/dist/scw-card/scw-card.js +1 -1
  343. package/dist/scw-center-component/ScwCenterComponent.js +1 -1
  344. package/dist/scw-center-component/scw-center-component.js +1 -1
  345. package/dist/scw-component/ScwComponent.js +1 -1
  346. package/dist/scw-component/scw-component.js +1 -1
  347. package/dist/scw-components.js +1 -1
  348. package/dist/scw-element-component/scw-element-component.js +1 -1
  349. package/dist/scw-element-component/scw-element-component.js.map +1 -1
  350. package/dist/scw-flex-h-component/scw-flex-h-component.js +1 -1
  351. package/dist/scw-flex-h-component/scw-flex-h-component.js.map +1 -1
  352. package/dist/scw-flex-v-component/scw-flex-v-component.js +1 -1
  353. package/dist/scw-flex-v-component/scw-flex-v-component.js.map +1 -1
  354. package/dist/scw-float-component/scw-float-component.js +1 -1
  355. package/dist/scw-float-component/scw-float-component.js.map +1 -1
  356. package/dist/scw-form/scw-form.js +1 -1
  357. package/dist/scw-form/scw-form.js.map +1 -1
  358. package/dist/scw-form-component/scw-form-component.js +1 -1
  359. package/dist/scw-heading/ScwHeading.js +1 -1
  360. package/dist/scw-heading/scw-heading.js +1 -1
  361. package/dist/scw-icon/ScwIcon.js +1 -1
  362. package/dist/scw-icon/scw-icon.js +1 -1
  363. package/dist/scw-image/ScwImage.js +1 -1
  364. package/dist/scw-image/scw-image.js +1 -1
  365. package/dist/scw-input/scw-input.js +1 -1
  366. package/dist/scw-input/scw-input.js.map +1 -1
  367. package/dist/scw-input-field/scw-input-field.js +1 -1
  368. package/dist/scw-input-field/scw-input-field.js.map +1 -1
  369. package/dist/scw-input-layout/scw-input-layout.js +1 -1
  370. package/dist/scw-input-layout/scw-input-layout.js.map +1 -1
  371. package/dist/scw-layout-component/scw-layout-component.js +1 -1
  372. package/dist/scw-link/ScwLink.js +1 -1
  373. package/dist/scw-link/scw-link.js +1 -1
  374. package/dist/scw-link-base/ScwLinkBase.js +1 -1
  375. package/dist/scw-link-base/scw-link-base.js +1 -1
  376. package/dist/scw-menu/ScwMenu.js +1 -1
  377. package/dist/scw-menu/scw-menu.js +1 -1
  378. package/dist/scw-menu-item/ScwMenuItem.js +1 -1
  379. package/dist/scw-menu-item/scw-menu-item.js +1 -1
  380. package/dist/scw-page-alert/scw-page-alert.js +1 -1
  381. package/dist/scw-page-alert/scw-page-alert.js.map +1 -1
  382. package/dist/scw-pane-component/scw-pane-component.js +1 -1
  383. package/dist/scw-pane-component/scw-pane-component.js.map +1 -1
  384. package/dist/scw-responsive/scw-responsive.js +1 -1
  385. package/dist/scw-responsive/scw-responsive.js.map +1 -1
  386. package/dist/scw-select/scw-select.js +1 -1
  387. package/dist/scw-select/scw-select.js.map +1 -1
  388. package/dist/scw-single-input/scw-single-input.js +1 -1
  389. package/dist/scw-single-input/scw-single-input.js.map +1 -1
  390. package/dist/scw-single-input-layout/scw-single-input-layout.js +1 -1
  391. package/dist/scw-stack-component/scw-stack-component.js +1 -1
  392. package/dist/scw-stack-component/scw-stack-component.js.map +1 -1
  393. package/dist/scw-test/ScwTest.js +1 -1
  394. package/dist/scw-test/scw-test.js +1 -1
  395. package/dist/scw-test/scw-test.js.map +1 -1
  396. package/dist/scw-textarea/scw-textarea.js +1 -1
  397. package/dist/scw-textarea/scw-textarea.js.map +1 -1
  398. package/dist/scw-validate/scw-validate.js +1 -1
  399. package/dist/scw-validate/scw-validate.js.map +1 -1
  400. package/dist/scw-validation/scw-validation.js +1 -1
  401. package/dist/scw-validation/scw-validation.js.map +1 -1
  402. package/dist/scw.js +1 -1
  403. package/dist/utils/suffix.js +1 -1
  404. package/dist/utils/themes/enums.js +1 -1
  405. package/dist/utils/themes/enums.js.map +3 -3
  406. package/package.json +1 -1
@@ -0,0 +1,249 @@
1
+ import{a as n,b as i}from"./chunk.RGGLFZST.js";import{a as g}from"./chunk.T3QMCSC3.js";import{c}from"./chunk.O2JPQSNG.js";import{a as r,b as a,c as s,e as l}from"./chunk.6ITKITRF.js";import{a as d}from"./chunk.UM2EZXNH.js";import{g as o}from"./chunk.5YJY6NT6.js";var h=r`
2
+ :host {
3
+ /* scw element */
4
+ position: relative;
5
+ box-sizing: border-box;
6
+ --margin-right: initial;
7
+ --margin-bottom: initial;
8
+ --gap-h-int: initial;
9
+ --gap-v-int: initial;
10
+ margin-right: var(--margin-right, var(--gap-h-int, initial));
11
+ margin-bottom: var(--margin-bottom, var(--gap-v-int, initial));
12
+ display: block;
13
+ }
14
+
15
+ :host([warning]) {
16
+ outline: 2px solid red !important;
17
+ }
18
+
19
+ :host([size=medium]) {
20
+ display: block;
21
+ background-color: rgba(0, 0, 0, 0);
22
+ display: flex;
23
+ flex-flow: column nowrap;
24
+ justify-content: flex-start;
25
+ align-items: flex-start;
26
+ padding-left: 0px;
27
+ padding-right: 0px;
28
+ padding-top: 0px;
29
+ padding-bottom: 0px;
30
+ /*.image-box {
31
+ width: 100%;
32
+ padding-bottom: 38.8888888889%;
33
+ position: relative;
34
+ }*/
35
+ /*.image {
36
+ @include size-medium-image-mixins.box;
37
+
38
+ position: absolute;
39
+ inset: 0;
40
+ background-position: center;
41
+ background-size: cover;
42
+ }*/
43
+ /*.action {
44
+ @include size-medium-action-mixins.box;
45
+ @include size-medium-action-mixins.sizing;
46
+ }*/
47
+ }
48
+ :host([size=medium]) > *:not(:last-child) {
49
+ margin-bottom: calc(var(--scw-spacing-1) * 0.8);
50
+ --margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );
51
+ }
52
+ :host([size=medium]) .description {
53
+ text-align: LEFT;
54
+ font: var(--scw-type-text-font);
55
+ color: var(--scw-color-grey-02);
56
+ align-self: stretch;
57
+ }
58
+
59
+ :host([size=small]) {
60
+ display: block;
61
+ background-color: rgba(0, 0, 0, 0);
62
+ display: flex;
63
+ flex-flow: column nowrap;
64
+ justify-content: flex-start;
65
+ align-items: flex-start;
66
+ padding-left: 0px;
67
+ padding-right: 0px;
68
+ padding-top: 0px;
69
+ padding-bottom: 0px;
70
+ /*.image-box {
71
+ width: 100%;
72
+ padding-bottom: 88.9473684211%;
73
+ position: relative;
74
+ }*/
75
+ /*.image {
76
+ @include size-small-image-mixins.box;
77
+
78
+ position: absolute;
79
+ inset: 0;
80
+ background-position: center;
81
+ background-size: cover;
82
+ }*/
83
+ }
84
+ :host([size=small]) > *:not(:last-child) {
85
+ margin-bottom: calc(var(--scw-spacing-1) * 0.8);
86
+ --margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );
87
+ }
88
+ :host([size=small]) .description {
89
+ display: none;
90
+ }
91
+ :host([size=small]) .action {
92
+ display: none;
93
+ }
94
+
95
+ :host .super-heading.mortgage {
96
+ text-align: LEFT;
97
+ font: var(--scw-type-text-bold-condensed-font);
98
+ color: var(--scw-color-04, var(--scw-color-mortgage-04));
99
+ align-self: stretch;
100
+ }
101
+ :host .super-heading.savings {
102
+ text-align: LEFT;
103
+ font: var(--scw-type-text-bold-condensed-font);
104
+ color: var(--scw-color-04, var(--scw-color-savings-04));
105
+ align-self: stretch;
106
+ }
107
+ :host .super-heading.student {
108
+ text-align: LEFT;
109
+ font: var(--scw-type-text-bold-condensed-font);
110
+ color: var(--scw-color-04, var(--scw-color-student-04));
111
+ align-self: stretch;
112
+ }
113
+ :host .super-heading.investments {
114
+ text-align: LEFT;
115
+ font: var(--scw-type-text-bold-condensed-font);
116
+ color: var(--scw-color-04, var(--scw-color-investments-04));
117
+ align-self: stretch;
118
+ }
119
+ :host .super-heading.checking {
120
+ text-align: LEFT;
121
+ font: var(--scw-type-text-bold-condensed-font);
122
+ color: var(--scw-color-04, var(--scw-color-checking-04));
123
+ align-self: stretch;
124
+ }
125
+ :host .super-heading.credit-cards {
126
+ text-align: LEFT;
127
+ font: var(--scw-type-text-bold-condensed-font);
128
+ color: var(--scw-color-04, var(--scw-color-credit-cards-04));
129
+ align-self: stretch;
130
+ }
131
+
132
+ :host {
133
+ display: block;
134
+ background-color: var(--scw-color, rgba(0, 0, 0, 0));
135
+ display: flex;
136
+ flex-flow: column nowrap;
137
+ justify-content: flex-start;
138
+ align-items: flex-start;
139
+ padding-left: 0px;
140
+ padding-right: 0px;
141
+ padding-top: 0px;
142
+ padding-bottom: 0px;
143
+ /*.image {
144
+ @include default-image-mixins.box;
145
+
146
+ position: absolute;
147
+ inset: 0;
148
+ background-position: center;
149
+ background-size: cover;
150
+ }*/
151
+ }
152
+ :host > *:not(:last-child) {
153
+ margin-bottom: calc(var(--scw-spacing-1) * 0.8);
154
+ --margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );
155
+ }
156
+ :host .image-box {
157
+ background-color: var(--scw-color-09, var(--scw-color-grey-09));
158
+ border-radius: 10px 10px 10px 10px;
159
+ align-self: stretch;
160
+ flex: 1;
161
+ }
162
+ :host .heading {
163
+ background-color: var(--scw-color, rgba(0, 0, 0, 0));
164
+ align-self: stretch;
165
+ }
166
+ :host .super-heading {
167
+ text-align: LEFT;
168
+ font: var(--scw-type-text-bold-condensed-font);
169
+ color: var(--scw-color-03, var(--scw-color-primary-03));
170
+ align-self: stretch;
171
+ }
172
+ :host .description {
173
+ text-align: LEFT;
174
+ font: var(--scw-type-text-06-font);
175
+ color: var(--scw-color-02, var(--scw-color-grey-02));
176
+ align-self: stretch;
177
+ }
178
+ :host .action {
179
+ width: 83px;
180
+ height: 32px;
181
+ }
182
+
183
+ :host([action=none]) {
184
+ pointer-events: none;
185
+ }
186
+
187
+ :host([action=whole]) {
188
+ pointer-events: all;
189
+ }
190
+
191
+ :host([action=whole]:hover) {
192
+ cursor: pointer;
193
+ }
194
+
195
+ :host([action=whole]:focus-visible) {
196
+ outline: none;
197
+ box-shadow: var(--scw-effect-focus-shadow);
198
+ border-radius: 10px 10px 4px 4px;
199
+ }
200
+
201
+ :host([action=link]) {
202
+ pointer-events: none;
203
+ }
204
+ :host([action=link]) scw-link {
205
+ pointer-events: all;
206
+ }`;var e=class extends c{constructor(){super();this.size="large";this.action="none";this.element="card",this.clickHandler=this.clickHandler.bind(this);let t=g();this.headerNodeName=n(`scw-${"heading"}${t}`),this.imageNodeName=n(`scw-${"image"}${t}`),this.linkNodeName=n(`scw-${"link"}${t}`)}static get styles(){return[super.styles,h]}parseAndValidateLightDom(){d(this),super.parseAndValidateLightDom()}clickHandler(t){t.stopPropagation(),this.click()}warn(t){this._heading=`error: ${t}`,l.prototype.warn.call(this,t)}renderImage(){if((this.src||this.srcset)&&this.alt){let t="100:4";return this.size==="medium"?t="414:163":this.size==="small"&&(t="1:1"),i`
207
+ <${this.imageNodeName}
208
+ class="image-box"
209
+ style="height: 200px;"
210
+ src="${this.src}"
211
+ srcset="${this.srcset}"
212
+ aria-label="${this.alt}"
213
+ aspect-ratio-off="${t}"
214
+ object-fit="cover">
215
+ </${this.imageNodeName}>
216
+ `}}renderHeading(){return i`
217
+ <${this.headerNodeName}
218
+ dynamic class="heading">
219
+ <h1>${this._heading}</h1>
220
+ </${this.headerNodeName}>`}renderButton(){return this.action==="link"?i`
221
+ <${this.linkNodeName}
222
+ color="${this.color}"
223
+ aria-label="${this._linkLabel?this._linkLabel:"no label"}"
224
+ @click="${this.clickHandler}">
225
+ </${this.linkNodeName}>`:null}renderBody(){return i`
226
+ ${this.renderImage()}
227
+ ${this._superHeading?i`
228
+ <div class="super-heading ${this.color}">
229
+ ${this._superHeading}
230
+ </div>`:""}
231
+ <${this.headerNodeName}
232
+ dynamic class="heading">
233
+ ${this.size==="large"?i`
234
+ <h1>${this._heading}</h1>
235
+ `:""}
236
+ ${this.size==="medium"?i`
237
+ <h2>${this._heading}</h2>
238
+ `:""}
239
+ ${this.size==="small"?i`
240
+ <h3>${this._heading}</h3>
241
+ `:""}
242
+ </${this.headerNodeName}>
243
+ ${this._description?i`
244
+ <div class="description">
245
+ ${this._description}
246
+ </div>`:""}`}render(){return this.action==="whole"?this.renderBody():i`
247
+ ${this.renderBody()}
248
+ ${this.renderButton()}`}};o([s()],e.prototype,"src",2),o([s()],e.prototype,"srcset",2),o([s()],e.prototype,"alt",2),o([s()],e.prototype,"_heading",2),o([s()],e.prototype,"_superHeading",2),o([s()],e.prototype,"_description",2),o([s()],e.prototype,"_linkLabel",2),o([a({type:String,reflect:!0})],e.prototype,"size",2),o([a({type:String,reflect:!0})],e.prototype,"action",2);export{e as a};
249
+ //# sourceMappingURL=chunk.DCW26NNA.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["sass-plugin-0:/Users/scottrouse/Workspace/scu-design-system-mono/scu-web-components/src/scw-card/scss/scw-card.scss", "../../src/scw-card/ScwCard.ts"],
4
+ "sourcesContent": ["import {css} from \"lit-element/lit-element.js\";\nexport default css`\n:host {\n /* scw element */\n position: relative;\n box-sizing: border-box;\n --margin-right: initial;\n --margin-bottom: initial;\n --gap-h-int: initial;\n --gap-v-int: initial;\n margin-right: var(--margin-right, var(--gap-h-int, initial));\n margin-bottom: var(--margin-bottom, var(--gap-v-int, initial));\n display: block;\n}\n\n:host([warning]) {\n outline: 2px solid red !important;\n}\n\n:host([size=medium]) {\n display: block;\n background-color: rgba(0, 0, 0, 0);\n display: flex;\n flex-flow: column nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n /*.image-box {\n width: 100%;\n padding-bottom: 38.8888888889%;\n position: relative;\n }*/\n /*.image {\n @include size-medium-image-mixins.box;\n\n position: absolute;\n inset: 0;\n background-position: center;\n background-size: cover;\n }*/\n /*.action {\n @include size-medium-action-mixins.box;\n @include size-medium-action-mixins.sizing;\n }*/\n}\n:host([size=medium]) > *:not(:last-child) {\n margin-bottom: calc(var(--scw-spacing-1) * 0.8);\n --margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );\n}\n:host([size=medium]) .description {\n text-align: LEFT;\n font: var(--scw-type-text-font);\n color: var(--scw-color-grey-02);\n align-self: stretch;\n}\n\n:host([size=small]) {\n display: block;\n background-color: rgba(0, 0, 0, 0);\n display: flex;\n flex-flow: column nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n /*.image-box {\n width: 100%;\n padding-bottom: 88.9473684211%;\n position: relative;\n }*/\n /*.image {\n @include size-small-image-mixins.box;\n\n position: absolute;\n inset: 0;\n background-position: center;\n background-size: cover;\n }*/\n}\n:host([size=small]) > *:not(:last-child) {\n margin-bottom: calc(var(--scw-spacing-1) * 0.8);\n --margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );\n}\n:host([size=small]) .description {\n display: none;\n}\n:host([size=small]) .action {\n display: none;\n}\n\n:host .super-heading.mortgage {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-mortgage-04));\n align-self: stretch;\n}\n:host .super-heading.savings {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-savings-04));\n align-self: stretch;\n}\n:host .super-heading.student {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-student-04));\n align-self: stretch;\n}\n:host .super-heading.investments {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-investments-04));\n align-self: stretch;\n}\n:host .super-heading.checking {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-checking-04));\n align-self: stretch;\n}\n:host .super-heading.credit-cards {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-04, var(--scw-color-credit-cards-04));\n align-self: stretch;\n}\n\n:host {\n display: block;\n background-color: var(--scw-color, rgba(0, 0, 0, 0));\n display: flex;\n flex-flow: column nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n /*.image {\n @include default-image-mixins.box;\n\n position: absolute;\n inset: 0;\n background-position: center;\n background-size: cover;\n }*/\n}\n:host > *:not(:last-child) {\n margin-bottom: calc(var(--scw-spacing-1) * 0.8);\n --margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );\n}\n:host .image-box {\n background-color: var(--scw-color-09, var(--scw-color-grey-09));\n border-radius: 10px 10px 10px 10px;\n align-self: stretch;\n flex: 1;\n}\n:host .heading {\n background-color: var(--scw-color, rgba(0, 0, 0, 0));\n align-self: stretch;\n}\n:host .super-heading {\n text-align: LEFT;\n font: var(--scw-type-text-bold-condensed-font);\n color: var(--scw-color-03, var(--scw-color-primary-03));\n align-self: stretch;\n}\n:host .description {\n text-align: LEFT;\n font: var(--scw-type-text-06-font);\n color: var(--scw-color-02, var(--scw-color-grey-02));\n align-self: stretch;\n}\n:host .action {\n width: 83px;\n height: 32px;\n}\n\n:host([action=none]) {\n pointer-events: none;\n}\n\n:host([action=whole]) {\n pointer-events: all;\n}\n\n:host([action=whole]:hover) {\n cursor: pointer;\n}\n\n:host([action=whole]:focus-visible) {\n outline: none;\n box-shadow: var(--scw-effect-focus-shadow);\n border-radius: 10px 10px 4px 4px;\n}\n\n:host([action=link]) {\n pointer-events: none;\n}\n:host([action=link]) scw-link {\n pointer-events: all;\n}`;\n", "import {property, state} from 'lit/decorators.js';\nimport {html} from 'lit/static-html.js';// import {html} from 'lit';\nimport {unsafeStatic} from 'lit/static-html.js';// USE DIFFERENT 'html'!!!!\nimport styles from './scss/scw-card.scss';\nimport ScwComponent from '../scw-component/ScwComponent';\nimport {ScwCardSizes, ScwCardActions} from './scw-card-enums';\nimport parseLightDomCard from './scw-card-light-dom';\nimport ScwLinkBase from '../scw-link-base/ScwLinkBase';\nimport {Components} from '../utils/enums/Components';\nimport getSuffix from '../utils/suffix';\n\n/**\n * ScwCard a first LitElement web component\n * @class\n * @tag scw-card\n *\n * @slot [default=\"<img src alt /><h1, h2, h3 /><sup /><p />\"]\n The parts of scw-card are configured via nested html elements.\n img defines the image, heading the main heading, sup the category heading,\n and p the descriptive text. Only headings is required (with src, srcset,\n and alt attributes).\n * @slot [default=\"<img src alt /><h1, h2, h3 /><sup /><p /><a />\"]\n Adding an anchor will show a link.\n * @slot [default=\"<a><img src alt /><h1, h2, h3 /><sup /><p /></a>\"]\n Wrapping the entire content in an anchor will make it interactive\n */\nexport default class ScwCard extends ScwLinkBase {\n /**\n * styles\n */\n static get styles() {\n return [\n super.styles,\n styles,\n ];\n }\n\n // ============== ScwCard ====================================================\n /** (ScwCard) The src of the image within the card */\n @state() src: string | undefined;\n\n /** (ScwCard) The srcset of the image within the card */\n @state() srcset: string | undefined;\n\n /** (ScwCard) Alternative description of the image. */\n @state() alt: string | undefined;\n\n /** (ScwCard) Main title or header of the card (determined by\n * <h1, h2, h3> content) */\n @state() _heading: string | undefined;\n\n /** (ScwCard) Super title, describing a category or area pertaining to title\n * (determined by <sup> content) */\n @state() _superHeading: string | undefined;\n\n /** (ScwCard) Fuller description of what the card is about (determined by\n * <p> content) */\n @state() _description: string | undefined;\n\n /** (ScwCard) Label on the link */\n @state() _linkLabel : string | undefined;\n\n // ----------- END STATES ----------------------------------------------------\n /** (ScwCard) Readonly - Size of the card. This\n * is determined by the nested html content (h1 = large,\n * h2 = medium, h3 = small). */\n @property({type: String, reflect: true})\n size: ScwCardSizes = ScwCardSizes.large;\n\n /** (ScwCard) Readonly - The type of action (whole card, link, or none).\n * This is determined by the use of an anchor tag. */\n @property({type: String, reflect: true})\n action: ScwCardActions = ScwCardActions.none;\n\n /** scw-header with versioning suffix */\n headerNodeName : any;\n\n /** scw-image with versioning suffix */\n imageNodeName : any;\n\n /** scw-link with versioning suffix */\n linkNodeName : any;\n\n /**\n * Constructor\n */\n constructor() {\n super();\n this.element = Components.card;\n this.clickHandler = this.clickHandler.bind(this);\n\n const suffix = getSuffix();\n this.headerNodeName = unsafeStatic(`scw-${Components.heading}${suffix}`);\n this.imageNodeName = unsafeStatic(`scw-${Components.image}${suffix}`);\n this.linkNodeName = unsafeStatic(`scw-${Components.link}${suffix}`);\n }\n\n /** parseAndValidateLightDom, just adding local parsing and validation */\n parseAndValidateLightDom() {\n parseLightDomCard(this);\n super.parseAndValidateLightDom();\n }\n\n /**\n * Handle click event from link so it doesn't trigger twice\n * @param {Event} evt\n */\n clickHandler(evt : Event) {\n evt.stopPropagation();\n this.click();\n }\n\n /**\n * change the main heading to be the error.\n * @param {string} message describing warning\n */\n warn( message: string ) {\n this._heading = `error: ${message}`;\n ScwComponent.prototype.warn.call(this, message );\n }\n\n /**\n * Render image area\n * @return {object} component DOM\n */\n renderImage() {\n if (\n ( this.src || this.srcset ) &&\n this.alt ) {\n // ultimately this is simpliest way to do this (versus CSS...)\n // it is NOT connected to Figma proportions as a consequence.\n let aspectRatio = '100:4';// '636:350';\n if (this.size === ScwCardSizes.medium ) {\n aspectRatio = '414:163';\n } else if (this.size === ScwCardSizes.small) {\n aspectRatio = '1:1';\n }\n\n return html`\n <${this.imageNodeName}\n class=\"image-box\"\n style=\"height: 200px;\"\n src=\"${this.src}\"\n srcset=\"${this.srcset}\"\n aria-label=\"${this.alt}\"\n aspect-ratio-off=\"${aspectRatio}\"\n object-fit=\"cover\">\n </${this.imageNodeName}>\n `;\n }\n }\n\n /**\n * Render heading area\n * @return {object} component DOM\n */\n renderHeading() {\n return html`\n <${this.headerNodeName}\n dynamic class=\"heading\">\n <h1>${this._heading}</h1>\n </${this.headerNodeName}>`;\n }\n\n /**\n * Render link area\n * @return {object} component DOM\n */\n renderButton() {\n if ( this.action === ScwCardActions.link) {\n return html`\n <${this.linkNodeName}\n color=\"${this.color}\"\n aria-label=\"${this._linkLabel ? this._linkLabel : 'no label'}\" \n @click=\"${this.clickHandler}\">\n </${this.linkNodeName}>`;\n }\n return null;\n }\n\n /**\n * render body\n * @return {object} component DOM\n */\n renderBody() : object {\n return html`\n ${this.renderImage()}\n ${this._superHeading ?\n html`\n <div class=\"super-heading ${this.color}\">\n ${this._superHeading}\n </div>` : ''\n }\n <${this.headerNodeName}\n dynamic class=\"heading\">\n ${(this.size === ScwCardSizes.large) ? html`\n <h1>${this._heading}</h1>\n ` : ''}\n ${(this.size === ScwCardSizes.medium) ? html`\n <h2>${this._heading}</h2>\n ` : ''}\n ${(this.size === ScwCardSizes.small) ? html`\n <h3>${this._heading}</h3>\n ` : ''}\n </${this.headerNodeName}>\n ${this._description ?\n html`\n <div class=\"description\">\n ${this._description}\n </div>` : ''\n }`;\n }\n\n /**\n * render\n * @return {object} component DOM\n */\n render() : object {\n if (this.action === ScwCardActions.whole) {\n return this.renderBody();\n } else {\n return html`\n ${this.renderBody()}\n ${this.renderButton()}`;\n };\n }\n}\n"],
5
+ "mappings": "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",
6
+ "names": []
7
+ }
@@ -0,0 +1,2 @@
1
+ import{a as c}from"./chunk.YCMHZ3MB.js";customElements.define("scw-card",c);
2
+ //# sourceMappingURL=chunk.DR5FIJJG.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/scw-card/scw-card.ts"],
4
+ "sourcesContent": ["import ScwCard from './ScwCard';\ncustomElements.define('scw-card', ScwCard );\n"],
5
+ "mappings": "wCACA,eAAe,OAAO,WAAY,CAAQ",
6
+ "names": []
7
+ }
@@ -0,0 +1,47 @@
1
+ import{a as l}from"./chunk.O3SA7BGC.js";import{a as m}from"./chunk.XYQXIJM3.js";import{c as b}from"./chunk.O2JPQSNG.js";import{a as d,b as s,c as n}from"./chunk.6ITKITRF.js";import{a as p}from"./chunk.WO7EIYQ3.js";import{b as c}from"./chunk.ZZQE6TG6.js";import{a as r}from"./chunk.ZS4C3T6Z.js";import{g as i}from"./chunk.5YJY6NT6.js";var g=d`
2
+ :host {
3
+ /* scw element */
4
+ position: relative;
5
+ box-sizing: border-box;
6
+ --margin-right: initial;
7
+ --margin-bottom: initial;
8
+ --gap-h-int: initial;
9
+ --gap-v-int: initial;
10
+ margin-right: var(--margin-right, var(--gap-h-int, initial));
11
+ margin-bottom: var(--margin-bottom, var(--gap-v-int, initial));
12
+ display: block;
13
+ }
14
+
15
+ :host([warning]) {
16
+ outline: 2px solid red !important;
17
+ }
18
+
19
+ :host .scw-link-base {
20
+ display: block;
21
+ overflow: hidden;
22
+ position: relative;
23
+ width: 100%;
24
+ height: 100%;
25
+ }
26
+ :host .scw-link-base img {
27
+ display: block;
28
+ position: absolute;
29
+ }`;var t=class extends b{constructor(){super();this.noLazyLoading=!1;this.resizeBreakpoints=`${"sm"}, ${"md"}, ${"lg"}`;this._isIntersecting=!1;this._hasIntersected=!1;this._resizeBreakpoints=[];this.element="image"}static get styles(){return[super.styles,g]}firstUpdated(e){super.firstUpdated(e),this._resizeHandler=this._resizeHandler.bind(this),this._intersectionHandler=this._intersectionHandler.bind(this),this.noLazyLoading?this._hasIntersected=!0:l.registerCallback(this,this._intersectionHandler),this.establishResizeBreakpoints()}parseAndValidateLightDom(){super.parseAndValidateLightDom(),m(this)}disconnectedCallback(){super.disconnectedCallback(),this._lightDomMutationObserver&&this._lightDomMutationObserver.disconnect(),l.unregisterCallback(this,this._intersectionHandler),p.removeBreakpointListener(this._resizeBreakpoints,this._resizeHandler)}establishResizeBreakpoints(){if(this.srcset){let e=this.resizeBreakpoints.split(","),o=c();this._resizeBreakpoints=[],e.map(h=>{let a=o[h.trim()];a&&this._resizeBreakpoints.push(a)}),p.addBreakpointListener(this._resizeBreakpoints,this._resizeHandler),this._resizeHandler()}}_resizeHandler(){this._imageSize=this.clientWidth}_intersectionHandler(e){this._isIntersecting=e,this._hasIntersected=this._hasIntersected?!0:e}renderContainerCss(){if(this.aspectRatio){let e=this.aspectRatio.split(":"),o=parseFloat(e[0]);return`
30
+ display: block;
31
+ padding-bottom: ${parseFloat(e[1])/o*100}%;
32
+ height: 0;`}return""}renderImgCss(){return this.objectFit||this.objectPosition?`
33
+ position: absolute;
34
+ top: 0; left: 0;
35
+ width: 100%; height: 100%;
36
+ object-fit: ${this.objectFit?this.objectFit:"contain"};
37
+ object-position: ${this.objectPosition?this.objectPosition:"center"}`:""}renderContent(){return this._hasIntersected?this._imageSize&&this.srcset?r`
38
+ <img
39
+ style="${this.renderImgCss()}"
40
+ srcset="${this.srcset}"
41
+ sizes="${this._imageSize}px"
42
+ alt="${this.ariaLabel}" />`:r`
43
+ <img
44
+ style="${this.renderImgCss()}"
45
+ src="${this.src?this.src:!1}"
46
+ alt="${this.ariaLabel}" />`:r``}render(){return this.renderLink(this.renderContent(),this.renderContainerCss())}};i([s({type:String,attribute:"aspect-ratio"})],t.prototype,"aspectRatio",2),i([s({type:String,attribute:"object-fit"})],t.prototype,"objectFit",2),i([s({type:String,attribute:"object-position"})],t.prototype,"objectPosition",2),i([s({type:String})],t.prototype,"srcset",2),i([s({type:String})],t.prototype,"src",2),i([s({type:Boolean,attribute:"no-lazy-loading"})],t.prototype,"noLazyLoading",2),i([s({type:String,attribute:"resize-breakpoints"})],t.prototype,"resizeBreakpoints",2),i([n()],t.prototype,"_imageSize",2),i([n()],t.prototype,"_isIntersecting",2),i([n()],t.prototype,"_hasIntersected",2);export{t as a};
47
+ //# sourceMappingURL=chunk.DVKR3IU2.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["sass-plugin-0:/Users/scottrouse/Workspace/scu-design-system-mono/scu-web-components/src/scw-image/scss/scw-image.scss", "../../src/scw-image/ScwImage.ts"],
4
+ "sourcesContent": ["import {css} from \"lit-element/lit-element.js\";\nexport default css`\n:host {\n /* scw element */\n position: relative;\n box-sizing: border-box;\n --margin-right: initial;\n --margin-bottom: initial;\n --gap-h-int: initial;\n --gap-v-int: initial;\n margin-right: var(--margin-right, var(--gap-h-int, initial));\n margin-bottom: var(--margin-bottom, var(--gap-v-int, initial));\n display: block;\n}\n\n:host([warning]) {\n outline: 2px solid red !important;\n}\n\n:host .scw-link-base {\n display: block;\n overflow: hidden;\n position: relative;\n width: 100%;\n height: 100%;\n}\n:host .scw-link-base img {\n display: block;\n position: absolute;\n}`;\n", "import {html} from 'lit';\nimport {property, state} from 'lit/decorators.js';\nimport styles from './scss/scw-image.scss';\nimport {Components} from '../utils/enums/Components';\n// import resizeSingleton from '../utils/observers/resizeObserverSingleton';\nimport mediaQueryListSingleton\n from '../utils/observers/mediaQueryListSingleton';\nimport intersectionObserverSingleton\n from '../utils/observers/intersectionObserverSingleton';\nimport ScwLinkBase from '../scw-link-base/ScwLinkBase';\nimport validate from './scw-image-validate';\nimport {BreakpointNames, Breakpoint} from '../utils/responsive/BreakpointTypes';\n// import ResponsiveElement from '../utils/responsive/ResponsiveElement';\nimport {breakpointLookup} from '../utils/responsive/breakpoints';\n\n/**\n * ScwImage\n * @class\n * @tag scw-image\n *\n * @slot [default=\"<img src alt />\"]\n Base image to display. This is generally a LQIP (Low Quality Image\n Placeholder)\n * @slot [default=\"<a href target><source /><img src alt /></a>\"]\n (OPTIONAL) anchor (for SEO) will determine the label, href, and target in\n addition to size and label.\n */\nexport default class ScwImage extends ScwLinkBase {\n /**\n * styles\n */\n static get styles() {\n return [\n super.styles,\n styles,\n ];\n }\n\n // ============== ScwImage =================================================\n /** (ScwImage) Width:Height ratio */\n @property({type: String, attribute: 'aspect-ratio'})\n aspectRatio: string | undefined;// = '2:1';\n\n /** (ScwImage) Object Fit CSS */\n @property({type: String, attribute: 'object-fit'})\n objectFit: string | undefined;// = 'contain';\n\n /** (ScwImage) Object Position CSS */\n @property({type: String, attribute: 'object-position'})\n objectPosition: string | undefined;// = 'center';\n\n /** (ScwImage) srcset of image */\n @property({type: String})\n srcset: string | undefined;\n\n /** (ScwImage) src of image */\n @property({type: String})\n src: string | undefined;// NOTE: \"#\" don't work in chrome w/ inline imgs\n\n /** (ScwImage) turn off lazy loading */\n @property({type: Boolean, attribute: 'no-lazy-loading'})\n noLazyLoading: boolean = false;\n\n /** (ScwImage) establishes when (via the name of the breakpoint)\n * the image figures out it's sizing for srcset */\n @property({type: String, attribute: 'resize-breakpoints'})\n resizeBreakpoints: string = `${\n BreakpointNames.breakpointSM}, ${\n BreakpointNames.breakpointMD}, ${\n BreakpointNames.breakpointLG}`;\n\n // ====== STATES =============================================================\n /** (ScwImage) the image size derived from resize observer */\n @state()\n _imageSize : number | undefined;\n\n /** (ScwImage) determines whether element is intersecting */\n @state()\n _isIntersecting : boolean = false;\n\n /** (ScwImage) determines whether element has intersected once */\n @state()\n _hasIntersected : boolean = false;\n\n _resizeBreakpoints: Breakpoint[] = [];\n\n /** Constructor */\n constructor() {\n super();\n this.element = Components.image;\n }\n\n /**\n * first updated\n * @param {Map<string | number | symbol, unknown>} changedProps\n */\n firstUpdated(changedProps: Map<string | number | symbol, unknown>) {\n super.firstUpdated(changedProps);\n this._resizeHandler = this._resizeHandler.bind(this);\n this._intersectionHandler = this._intersectionHandler.bind(this);\n if (!this.noLazyLoading) {\n intersectionObserverSingleton.registerCallback(\n this, this._intersectionHandler,\n );\n } else {\n // resizeSingleton.registerCallback(this, this._resizeHandler);\n this._hasIntersected = true;\n }\n\n this.establishResizeBreakpoints();\n }\n\n /** parseAndValidateLightDom, just adding local parsing and validation */\n parseAndValidateLightDom() {\n super.parseAndValidateLightDom();\n validate( this );\n }\n\n /**\n * disconnect from dom\n */\n disconnectedCallback() {\n super.disconnectedCallback();\n if (this._lightDomMutationObserver) {\n this._lightDomMutationObserver.disconnect();\n }\n intersectionObserverSingleton.unregisterCallback(\n this, this._intersectionHandler,\n );\n mediaQueryListSingleton.removeBreakpointListener(\n this._resizeBreakpoints,\n this._resizeHandler,\n );\n }\n\n /**\n * Establish Resize Breakpoints\n */\n establishResizeBreakpoints() {\n if (this.srcset) {\n const resizeBreakpointsArr = this.resizeBreakpoints.split(',');\n const bpLookup = breakpointLookup();\n this._resizeBreakpoints = [];\n resizeBreakpointsArr.map((bp) => {\n const bpObj = bpLookup[bp.trim()];\n if (bpObj) {\n this._resizeBreakpoints.push(bpObj);\n }\n });\n mediaQueryListSingleton.addBreakpointListener(\n this._resizeBreakpoints,\n this._resizeHandler,\n );\n this._resizeHandler();// need a first _imageSize\n }\n }\n\n /**\n * handle resize events\n */\n _resizeHandler() {\n this._imageSize = this.clientWidth;\n }\n\n /**\n * handle resize events\n * @param {boolean} intersecting\n * @param {number} ratio\n */\n _intersectionHandler(intersecting: boolean) {// }, ratio: number) {\n this._isIntersecting = intersecting;\n // images only render once...\n this._hasIntersected = this._hasIntersected ? true : intersecting;\n }\n\n /**\n * Translate aspect ration string to a number (percent)\n * @return {string}\n */\n renderContainerCss() {\n if ( this.aspectRatio) {\n const aspectRatioArr = this.aspectRatio.split(':');\n const w = parseFloat(aspectRatioArr[0]);\n const h = parseFloat(aspectRatioArr[1]);\n const percent = (h / w) * 100;\n return `\n display: block;\n padding-bottom: ${percent}%;\n height: 0;`;\n }\n return ``;\n }\n\n /**\n * Css for image\n * @return {string}\n */\n renderImgCss() : string {\n if ( this.objectFit || this.objectPosition ) { // this.aspectRatio ) {\n return `\n position: absolute;\n top: 0; left: 0;\n width: 100%; height: 100%;\n object-fit: ${this.objectFit ? this.objectFit : 'contain'};\n object-position: ${this.objectPosition ?\n this.objectPosition : 'center'}`;\n } else {\n return ``;\n }\n }\n\n /**\n * render\n * @return {object} component DOM\n */\n renderContent(): object {\n if (this._hasIntersected) {\n if (this._imageSize && this.srcset) {\n return html`\n <img\n style=\"${this.renderImgCss()}\"\n srcset=\"${this.srcset}\"\n sizes=\"${this._imageSize}px\"\n alt=\"${this.ariaLabel}\" />`;\n } else {\n return html`\n <img\n style=\"${this.renderImgCss()}\"\n src=\"${this.src ? this.src : false}\"\n alt=\"${this.ariaLabel}\" />`;\n }\n } else {\n return html``;\n }\n }\n\n /**\n * render\n * @return {object} component DOM\n */\n render(): object {\n return this.renderLink(\n this.renderContent(),\n this.renderContainerCss(),\n );\n }\n}\n"],
5
+ "mappings": "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",
6
+ "names": []
7
+ }
@@ -0,0 +1,29 @@
1
+ import{c as a}from"./chunk.L55FJW5G.js";import{a as s,b as e}from"./chunk.XICCWDLO.js";import{a as o}from"./chunk.ZS4C3T6Z.js";import{g as t}from"./chunk.5YJY6NT6.js";var i=s`
2
+ :host {
3
+ display: block;
4
+ }
5
+ :host .scw-link-base {
6
+ display: block;
7
+ background-color: var(--scw-color-error-light);
8
+ padding-left: var(--scw-spacing-2);
9
+ padding-right: var(--scw-spacing-2);
10
+ padding-top: var(--scw-spacing-1);
11
+ padding-bottom: var(--scw-spacing-1);
12
+ text-align: center;
13
+ }
14
+ :host .message {
15
+ text-align: CENTER;
16
+ font: var(--scw-type-text-bold-font);
17
+ color: var(--scw-color-dark, var(--scw-color-error-dark));
18
+ flex: 1;
19
+ }
20
+ :host .description {
21
+ text-align: CENTER;
22
+ font: var(--scw-type-text-font);
23
+ color: var(--scw-color-dark, var(--scw-color-error-dark));
24
+ flex: 1;
25
+ }`;var r=class extends a{constructor(){super();this.description="";this.element="alert"}static get styles(){return[super.styles,i]}render(){return this.renderLink(o`
26
+ <span class="message">${this.ariaLabel}</span>
27
+ <span class="description">${this.description}</span>
28
+ `)}};t([e({type:String})],r.prototype,"description",2);export{r as a};
29
+ //# sourceMappingURL=chunk.E7OOLSB7.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["sass-plugin-0:/Users/scottrouse/Workspace/scu-design-system-mono/scu-web-components/src/scw-alert/scss/scw-alert.scss", "../../src/scw-alert/ScwAlert.ts"],
4
+ "sourcesContent": ["import {css} from \"lit-element/lit-element.js\";\nexport default css`\n:host {\n display: block;\n}\n:host .scw-link-base {\n display: block;\n background-color: var(--scw-color-error-light);\n padding-left: var(--scw-spacing-2);\n padding-right: var(--scw-spacing-2);\n padding-top: var(--scw-spacing-1);\n padding-bottom: var(--scw-spacing-1);\n text-align: center;\n}\n:host .message {\n text-align: CENTER;\n font: var(--scw-type-text-bold-font);\n color: var(--scw-color-dark, var(--scw-color-error-dark));\n flex: 1;\n}\n:host .description {\n text-align: CENTER;\n font: var(--scw-type-text-font);\n color: var(--scw-color-dark, var(--scw-color-error-dark));\n flex: 1;\n}`;\n", "import {html} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport styles from './scss/scw-alert.scss';\nimport ScwLinkBase from '../scw-link-base/ScwLinkBase';\nimport {Components} from '../utils/enums/Components';\n\n/**\n * ScwAlert a first LitElement web component\n * @class\n * @tag scw-alert\n *\n */\nexport default class ScwAlert extends ScwLinkBase {\n /**\n * styles\n */\n static get styles() {\n return [\n super.styles,\n styles,\n ];\n }\n\n /**\n * Constructor\n */\n constructor() {\n super();\n this.element = Components.alert;\n }\n\n /** Secondary message */\n @property({type: String})\n description: string = '';\n\n /**\n * render\n * @return {object} component DOM\n */\n render() : object {\n return this.renderLink(\n html`\n <span class=\"message\">${this.ariaLabel}</span>\n <span class=\"description\">${this.description}</span>\n `,\n );\n }\n}\n"],
5
+ "mappings": "uKACA,GAAO,GAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;GCWf,mBAAsC,EAAY,CAchD,aAAc,CACZ,MAAM,EAMN,iBAAsB,GALtB,KAAK,QAAU,OACjB,WAbY,SAAS,CACnB,MAAO,CACL,MAAM,OACN,CACF,CACF,CAkBA,QAAkB,CAChB,MAAO,MAAK,WACV;AAAA,gCAC0B,KAAK;AAAA,oCACD,KAAK;AAAA,OAErC,CACF,CACF,EAdI,GADF,AAAC,EAAS,CAAC,KAAM,MAAM,CAAC,GACtB,AArBJ,EAqBI",
6
+ "names": []
7
+ }
@@ -0,0 +1,182 @@
1
+ import{a as n}from"./chunk.2VW3SHYK.js";import{a,b as o,e as s}from"./chunk.XICCWDLO.js";import{a as r}from"./chunk.ZS4C3T6Z.js";import{g as t}from"./chunk.5YJY6NT6.js";var l=a`
2
+ :host {
3
+ background-color: white;
4
+ display: flex;
5
+ flex-flow: column nowrap;
6
+ justify-content: flex-start;
7
+ align-items: flex-start;
8
+ padding-left: 0px;
9
+ padding-right: 0px;
10
+ padding-top: 0px;
11
+ padding-bottom: 0px;
12
+ }
13
+ :host > *:not(:last-child) {
14
+ margin-bottom: calc(var(--scw-spacing-1) * 0.6);
15
+ --margin-bottom: calc( var( --scw-spacing-1 ) * 0.6 );
16
+ }
17
+ :host .input-field-single {
18
+ flex: 1;
19
+ }
20
+ :host .input-feedback {
21
+ background-color: rgba(0, 0, 0, 0);
22
+ align-self: stretch;
23
+ text-align: LEFT;
24
+ font: var(--scw-type-text-04-font);
25
+ color: var(--scw-color, var(--scw-color-error));
26
+ }
27
+
28
+ .input-field {
29
+ background-color: rgba(0, 0, 0, 0);
30
+ display: flex;
31
+ flex-flow: row nowrap;
32
+ justify-content: flex-start;
33
+ align-items: center;
34
+ padding-left: 0px;
35
+ padding-right: 0px;
36
+ padding-top: 0px;
37
+ padding-bottom: 0px;
38
+ align-self: stretch;
39
+ padding: 0;
40
+ }
41
+ .input-field > *:not(:last-child) {
42
+ margin-right: 0px;
43
+ --margin-right: 0px;
44
+ }
45
+ .input-field .left-icon {
46
+ background-color: var(--scw-color-grey-095);
47
+ border-radius: 4px 0px 0px 4px;
48
+ align-self: stretch;
49
+ display: flex;
50
+ flex-flow: row nowrap;
51
+ justify-content: center;
52
+ align-items: center;
53
+ padding-left: 0px;
54
+ padding-right: 0px;
55
+ padding-top: 0px;
56
+ padding-bottom: 0px;
57
+ }
58
+ .input-field .left-icon > *:not(:last-child) {
59
+ margin-right: var(--scw-spacing-1);
60
+ --margin-right: var( --scw-spacing-1 );
61
+ }
62
+ .input-field .left-icon .icon {
63
+ background-color: rgba(0, 0, 0, 0);
64
+ }
65
+ .input-field .input-text {
66
+ background-color: rgba(0, 0, 0, 0);
67
+ flex: 1;
68
+ }
69
+ .input-field .right-icon-2 {
70
+ align-self: center;
71
+ }
72
+ .input-field .right-icon {
73
+ align-self: center;
74
+ }
75
+ .input-field .right-action {
76
+ background-color: var(--scw-color-03, var(--scw-color-primary-03));
77
+ border-radius: 0px 4px 4px 0px;
78
+ align-self: stretch;
79
+ display: flex;
80
+ flex-flow: row nowrap;
81
+ justify-content: flex-start;
82
+ align-items: center;
83
+ padding-left: calc(var(--scw-spacing-1) * 0.4);
84
+ padding-right: calc(var(--scw-spacing-1) * 0.4);
85
+ padding-top: 0px;
86
+ padding-bottom: 0px;
87
+ border-radius: 0;
88
+ }
89
+ .input-field .right-action > *:not(:last-child) {
90
+ margin-right: var(--scw-spacing-1);
91
+ --margin-right: var( --scw-spacing-1 );
92
+ }
93
+
94
+ :host .input-field {
95
+ background-color: var(--scw-color-grey-10);
96
+ border-radius: 6px 6px 6px 6px;
97
+ border-width: 2px;
98
+ border-style: solid;
99
+ border-color: var(--scw-color-03, var(--scw-color-primary-03));
100
+ align-self: stretch;
101
+ }
102
+
103
+ :host([aria-disabled]) .input-field {
104
+ background-color: var(--scw-color-grey-092);
105
+ border-radius: 6px 6px 6px 6px;
106
+ border-width: 2px;
107
+ border-style: solid;
108
+ border-color: var(--scw-color-grey-08);
109
+ align-self: stretch;
110
+ }
111
+
112
+ :host([invalid]) .input-field {
113
+ background-color: var(--scw-color-grey-10);
114
+ border-radius: 6px 6px 6px 6px;
115
+ border-width: 2px;
116
+ border-style: solid;
117
+ border-color: var(--scw-color, var(--scw-color-error));
118
+ align-self: stretch;
119
+ }
120
+
121
+ :host([focused]) .input-field {
122
+ background-color: var(--scw-color-grey-10);
123
+ border-radius: 6px 6px 6px 6px;
124
+ border-width: 2px;
125
+ border-style: solid;
126
+ border-color: var(--scw-color-03, var(--scw-color-primary-03));
127
+ box-shadow: var(--scw-effect-focus-shadow);
128
+ align-self: stretch;
129
+ }
130
+
131
+ ::slotted(*) {
132
+ width: 100%;
133
+ }`;var d=(e=>(e.rightIcon="right-icon",e.right2Icon="right-2-icon",e.rightAction="right-action",e))(d||{}),i=class extends s{constructor(){super();this.hideFeedback=!1;this.element="single-input-layout"}static get styles(){return[super.styles,l]}_right2ClickHandler(c){c.stopPropagation(),n("scw-action",this,{action:"right-2-icon"})}_rightClickHandler(c){c.stopPropagation(),n("scw-action",this,{action:"right-icon"})}_rightActionClickHandler(c){c.stopPropagation(),n("scw-action",this,{action:"right-action"})}render(){return r`
134
+ <div class="input-field">
135
+ ${this.leftActionIcon?r`
136
+ <div class="left-icon">
137
+ <scw-icon
138
+ class="icon"
139
+ .icon="${this.leftActionIcon}"
140
+ size="30">
141
+ </scw-icon>
142
+ </div>`:""}
143
+ <div class="input-field-single">
144
+ <slot></slot>
145
+ </div>
146
+ ${this.right2Icon?r`
147
+ <scw-icon
148
+ class="right-icon-2"
149
+ .icon="${this.right2Icon}"
150
+ size="30"
151
+ aria-label="Clear Input"
152
+ link
153
+ @click=${this._right2ClickHandler}>
154
+ </scw-icon>`:""}
155
+ ${this.rightIcon?r`
156
+ <scw-icon
157
+ class="right-icon"
158
+ .icon="${this.rightIcon}"
159
+ size="30"
160
+ aria-label="Show Password"
161
+ link
162
+ @click=${this._rightClickHandler}>
163
+ </scw-icon>`:""}
164
+ ${this.rightActionIcon?r`
165
+ <div class="right-action">
166
+ <scw-icon
167
+ class="icon-right-action"
168
+ .icon="${this.rightActionIcon}"
169
+ color="white"
170
+ size="30"
171
+ aria-label="Submit Search"
172
+ link
173
+ @click=${this._rightActionClickHandler}>
174
+ </scw-icon>
175
+ </div>`:""}
176
+ </div>
177
+ ${this.hideFeedback?"":r`
178
+ <div class="input-feedback">
179
+ ${this.feedback}&nbsp;
180
+ </div>`}
181
+ `}};t([o({type:String})],i.prototype,"feedback",2),t([o({type:String,attribute:"hide-feedback"})],i.prototype,"hideFeedback",2),t([o({type:String,attribute:"left-action-icon"})],i.prototype,"leftActionIcon",2),t([o({type:String,attribute:"right-action-icon"})],i.prototype,"rightActionIcon",2),t([o({type:String,attribute:"right-icon"})],i.prototype,"rightIcon",2),t([o({type:String,attribute:"right-2-icon"})],i.prototype,"right2Icon",2);export{d as a,i as b};
182
+ //# sourceMappingURL=chunk.ECQUGXB4.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["sass-plugin-0:/Users/scottrouse/Workspace/scu-design-system-mono/scu-web-components/src/scw-single-input-layout/scss/scw-single-input-layout.scss", "../../src/scw-single-input-layout/scw-single-input-layout.ts"],
4
+ "sourcesContent": ["import {css} from \"lit-element/lit-element.js\";\nexport default css`\n:host {\n background-color: white;\n display: flex;\n flex-flow: column nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n}\n:host > *:not(:last-child) {\n margin-bottom: calc(var(--scw-spacing-1) * 0.6);\n --margin-bottom: calc( var( --scw-spacing-1 ) * 0.6 );\n}\n:host .input-field-single {\n flex: 1;\n}\n:host .input-feedback {\n background-color: rgba(0, 0, 0, 0);\n align-self: stretch;\n text-align: LEFT;\n font: var(--scw-type-text-04-font);\n color: var(--scw-color, var(--scw-color-error));\n}\n\n.input-field {\n background-color: rgba(0, 0, 0, 0);\n display: flex;\n flex-flow: row nowrap;\n justify-content: flex-start;\n align-items: center;\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n align-self: stretch;\n padding: 0;\n}\n.input-field > *:not(:last-child) {\n margin-right: 0px;\n --margin-right: 0px;\n}\n.input-field .left-icon {\n background-color: var(--scw-color-grey-095);\n border-radius: 4px 0px 0px 4px;\n align-self: stretch;\n display: flex;\n flex-flow: row nowrap;\n justify-content: center;\n align-items: center;\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n}\n.input-field .left-icon > *:not(:last-child) {\n margin-right: var(--scw-spacing-1);\n --margin-right: var( --scw-spacing-1 );\n}\n.input-field .left-icon .icon {\n background-color: rgba(0, 0, 0, 0);\n}\n.input-field .input-text {\n background-color: rgba(0, 0, 0, 0);\n flex: 1;\n}\n.input-field .right-icon-2 {\n align-self: center;\n}\n.input-field .right-icon {\n align-self: center;\n}\n.input-field .right-action {\n background-color: var(--scw-color-03, var(--scw-color-primary-03));\n border-radius: 0px 4px 4px 0px;\n align-self: stretch;\n display: flex;\n flex-flow: row nowrap;\n justify-content: flex-start;\n align-items: center;\n padding-left: calc(var(--scw-spacing-1) * 0.4);\n padding-right: calc(var(--scw-spacing-1) * 0.4);\n padding-top: 0px;\n padding-bottom: 0px;\n border-radius: 0;\n}\n.input-field .right-action > *:not(:last-child) {\n margin-right: var(--scw-spacing-1);\n --margin-right: var( --scw-spacing-1 );\n}\n\n:host .input-field {\n background-color: var(--scw-color-grey-10);\n border-radius: 6px 6px 6px 6px;\n border-width: 2px;\n border-style: solid;\n border-color: var(--scw-color-03, var(--scw-color-primary-03));\n align-self: stretch;\n}\n\n:host([aria-disabled]) .input-field {\n background-color: var(--scw-color-grey-092);\n border-radius: 6px 6px 6px 6px;\n border-width: 2px;\n border-style: solid;\n border-color: var(--scw-color-grey-08);\n align-self: stretch;\n}\n\n:host([invalid]) .input-field {\n background-color: var(--scw-color-grey-10);\n border-radius: 6px 6px 6px 6px;\n border-width: 2px;\n border-style: solid;\n border-color: var(--scw-color, var(--scw-color-error));\n align-self: stretch;\n}\n\n:host([focused]) .input-field {\n background-color: var(--scw-color-grey-10);\n border-radius: 6px 6px 6px 6px;\n border-width: 2px;\n border-style: solid;\n border-color: var(--scw-color-03, var(--scw-color-primary-03));\n box-shadow: var(--scw-effect-focus-shadow);\n align-self: stretch;\n}\n\n::slotted(*) {\n width: 100%;\n}`;\n", "import {html} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport ScwComponent from '../scw-component/ScwComponent';\nimport {Components} from '../utils/enums/Components';\nimport styles from './scss/scw-single-input-layout.scss';\nimport {emit, ScwEvents} from '../utils/events/event';\n\n\nexport enum ScwSingleInputLayoutActions {\n rightIcon = 'right-icon',\n right2Icon = 'right-2-icon',\n rightAction = 'right-action'\n}\n\n/**\n * ScwSingleInputLayout\n * @class\n * @tag scw-single-input-layout\n * @status new\n * @since 0.0.5\n *\n * @event scw-action - This fires when one of the various icons or submit\n * button is clicked. detail is {action:\n * 'right-icon'|'right-2-icon'|'right-action'}\n */\nexport default class ScwSingleInputLayout extends ScwComponent {\n /**\n * styles\n */\n static get styles() {\n return [\n super.styles,\n styles,\n ];\n }\n\n /** constructor */\n constructor() {\n super();\n this.element = Components.singleInputLayout;\n }\n\n // ============== ScwSingleInputLayout =======================================\n /** (ScwSingleInputLayout) the text to use for feedback */\n @property({type: String})\n feedback: string | undefined;\n\n /** (ScwSingleInputLayout) hides the feedback label */\n @property({type: String, attribute: 'hide-feedback'})\n hideFeedback: boolean = false;\n\n /** (ScwSingleInputLayout) shows left action section and determines what icon\n * is used within the left action. */\n @property({type: String, attribute: 'left-action-icon'})\n leftActionIcon: string | undefined;\n\n /** (ScwSingleInputLayout) shows right action section and determines what icon\n * is used within the right action. */\n @property({type: String, attribute: 'right-action-icon'})\n rightActionIcon: string | undefined;\n\n /** (ScwSingleInputLayout) shows first right icon and determines the icon\n * svg. */\n @property({type: String, attribute: 'right-icon'})\n rightIcon: string | undefined;\n\n /** (ScwSingleInputLayout) shows second right icon and determines the icon\n * svg. */\n @property({type: String, attribute: 'right-2-icon'})\n right2Icon: string | undefined;\n\n /**\n * Handle click from right 2 icon.\n * @param {Event} evt\n */\n _right2ClickHandler(evt : Event) {\n evt.stopPropagation();\n emit(\n ScwEvents.action, this,\n {action: ScwSingleInputLayoutActions.right2Icon},\n );\n }\n\n /**\n * Handle click from right icon.\n * @param {Event} evt\n */\n _rightClickHandler(evt : Event) {\n evt.stopPropagation();\n emit(\n ScwEvents.action, this,\n {action: ScwSingleInputLayoutActions.rightIcon},\n );\n }\n\n /**\n * Handle click from right action icon.\n * @param {Event} evt\n */\n _rightActionClickHandler(evt : Event) {\n evt.stopPropagation();\n emit(\n ScwEvents.action, this,\n {action: ScwSingleInputLayoutActions.rightAction},\n );\n }\n\n /**\n * render\n * @return {object} component DOM\n */\n render(): object {\n return html`\n <div class=\"input-field\">\n ${this.leftActionIcon ?\n html`\n <div class=\"left-icon\">\n <scw-icon\n class=\"icon\"\n .icon=\"${this.leftActionIcon}\"\n size=\"30\">\n </scw-icon>\n </div>` : ''}\n <div class=\"input-field-single\">\n <slot></slot>\n </div>\n ${this.right2Icon ?\n html`\n <scw-icon\n class=\"right-icon-2\"\n .icon=\"${this.right2Icon}\"\n size=\"30\"\n aria-label=\"Clear Input\"\n link\n @click=${this._right2ClickHandler}>\n </scw-icon>` : '' }\n ${this.rightIcon ?\n html`\n <scw-icon\n class=\"right-icon\"\n .icon=\"${this.rightIcon}\"\n size=\"30\"\n aria-label=\"Show Password\"\n link\n @click=${this._rightClickHandler}>\n </scw-icon>` : '' }\n ${this.rightActionIcon ?\n html`\n <div class=\"right-action\">\n <scw-icon\n class=\"icon-right-action\"\n .icon=\"${this.rightActionIcon}\"\n color=\"white\"\n size=\"30\"\n aria-label=\"Submit Search\"\n link\n @click=${this._rightActionClickHandler}>\n </scw-icon>\n </div>` : '' }\n </div>\n ${!this.hideFeedback ?\n html`\n <div class=\"input-feedback\">\n ${this.feedback}&nbsp;\n </div>` : ''}\n `;\n }\n}\n\n"],
5
+ "mappings": "yKACA,GAAO,GAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;GCOR,GAAK,GAAL,CAAK,GACV,aAAY,aACZ,aAAa,eACb,cAAc,eAHJ,WAiBZ,eAAkD,EAAa,CAY7D,aAAc,CACZ,MAAM,EAWP,kBAAwB,GAVvB,KAAK,QAAU,qBACjB,WAXY,SAAS,CACnB,MAAO,CACL,MAAM,OACN,CACF,CACF,CAyCA,oBAAoB,EAAa,CAC/B,EAAI,gBAAgB,EACpB,EACE,aAAkB,KAClB,CAAC,OAAQ,cAAsC,CACjD,CACF,CAMA,mBAAmB,EAAa,CAC9B,EAAI,gBAAgB,EACpB,EACE,aAAkB,KAClB,CAAC,OAAQ,YAAqC,CAChD,CACF,CAMA,yBAAyB,EAAa,CACpC,EAAI,gBAAgB,EACpB,EACE,aAAkB,KAClB,CAAC,OAAQ,cAAuC,CAClD,CACF,CAMA,QAAiB,CACf,MAAO;AAAA;AAAA,UAED,KAAK,eACX;AAAA;AAAA;AAAA;AAAA,yBAIqB,KAAK;AAAA;AAAA;AAAA,oBAGR;AAAA;AAAA;AAAA;AAAA,UAIZ,KAAK,WACX;AAAA;AAAA;AAAA,uBAGmB,KAAK;AAAA;AAAA;AAAA;AAAA,uBAIL,KAAK;AAAA,yBACD;AAAA,UACjB,KAAK,UACX;AAAA;AAAA;AAAA,uBAGmB,KAAK;AAAA;AAAA;AAAA;AAAA,uBAIL,KAAK;AAAA,yBACD;AAAA,UACjB,KAAK,gBACX;AAAA;AAAA;AAAA;AAAA,yBAIqB,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA,yBAKL,KAAK;AAAA;AAAA,oBAER;AAAA;AAAA,QAEd,AAAC,KAAK,aAIM,GAHhB;AAAA;AAAA,cAEU,KAAK;AAAA;AAAA,KAGjB,CACF,EA1HI,GADF,AAAC,EAAS,CAAC,KAAM,MAAM,CAAC,GACtB,AApBJ,EAoBI,wBAID,GADD,AAAC,EAAS,CAAC,KAAM,OAAQ,UAAW,eAAe,CAAC,GACnD,AAxBH,EAwBG,4BAKC,GADF,AAAC,EAAS,CAAC,KAAM,OAAQ,UAAW,kBAAkB,CAAC,GACrD,AA7BJ,EA6BI,8BAKD,GADD,AAAC,EAAS,CAAC,KAAM,OAAQ,UAAW,mBAAmB,CAAC,GACvD,AAlCH,EAkCG,+BAKA,GADD,AAAC,EAAS,CAAC,KAAM,OAAQ,UAAW,YAAY,CAAC,GAChD,AAvCH,EAuCG,yBAKC,GADF,AAAC,EAAS,CAAC,KAAM,OAAQ,UAAW,cAAc,CAAC,GACjD,AA5CJ,EA4CI",
6
+ "names": []
7
+ }
@@ -0,0 +1,2 @@
1
+ import{b as f}from"./chunk.TIXJLUFP.js";function t(i="-"){return f&&f.suffix?`${i}${f.suffix}`:""}export{t as a};
2
+ //# sourceMappingURL=chunk.EE4C22LR.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/suffix.ts"],
4
+ "sourcesContent": ["import {config} from '../scw';\n\n/**\n * Pulls suffix from global design system config with some formatting options\n * @param {string} connector\n * @return {string}\n */\nexport default function getSuffix(connector: string = '-') {\n return config ? config.suffix ? `${connector}${config.suffix}` : '' : '';\n}\n\n"],
5
+ "mappings": "wCAOe,WAAmB,EAAoB,IAAK,CACzD,MAAO,IAAS,EAAO,OAAS,GAAG,IAAY,EAAO,SAAgB,EACxE",
6
+ "names": []
7
+ }
@@ -0,0 +1,4 @@
1
+ import{e as r}from"./chunk.HCMPRDIX.js";import{a as e}from"./chunk.ZS4C3T6Z.js";var t=class extends r{constructor(){super(),this.element="center-component",this.setAttribute("scw-center-initial",""),this.responsive=!0}render(){return e`
2
+ <slot></slot>
3
+ `}};export{t as a};
4
+ //# sourceMappingURL=chunk.EE7FYIJC.js.map