@mhmo91/schmancy 0.5.18 → 0.5.20

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 (334) hide show
  1. package/ai/navigation-bar-item.md +259 -0
  2. package/ai/navigation-bar.md +163 -0
  3. package/dist/ai/navigation-bar-item.md +259 -0
  4. package/dist/ai/navigation-bar.md +163 -0
  5. package/dist/{animated-text-B3ShIBX3.cjs → animated-text-D1D0dI8T.cjs} +2 -2
  6. package/dist/{animated-text-B3ShIBX3.cjs.map → animated-text-D1D0dI8T.cjs.map} +1 -1
  7. package/dist/{animated-text-Bu95OxOB.js → animated-text-DS9AsLAy.js} +3 -3
  8. package/dist/{animated-text-Bu95OxOB.js.map → animated-text-DS9AsLAy.js.map} +1 -1
  9. package/dist/animated-text.cjs +1 -1
  10. package/dist/animated-text.js +1 -1
  11. package/dist/area.cjs +1 -1
  12. package/dist/{area.component-Uj8eYomX.js → area.component-5hv6c-dZ.js} +3 -3
  13. package/dist/{area.component-Uj8eYomX.js.map → area.component-5hv6c-dZ.js.map} +1 -1
  14. package/dist/{area.component-De95XHvt.cjs → area.component-DZFtLBMV.cjs} +2 -2
  15. package/dist/{area.component-De95XHvt.cjs.map → area.component-DZFtLBMV.cjs.map} +1 -1
  16. package/dist/area.js +1 -1
  17. package/dist/{autocomplete-CfICiUej.js → autocomplete-Bm_tnRns.js} +4 -4
  18. package/dist/{autocomplete-CfICiUej.js.map → autocomplete-Bm_tnRns.js.map} +1 -1
  19. package/dist/{autocomplete-S3tqpsfx.cjs → autocomplete-DpGmI06M.cjs} +2 -2
  20. package/dist/{autocomplete-S3tqpsfx.cjs.map → autocomplete-DpGmI06M.cjs.map} +1 -1
  21. package/dist/autocomplete.cjs +1 -1
  22. package/dist/autocomplete.js +1 -1
  23. package/dist/avatar-B0Q9R0jH.cjs +303 -0
  24. package/dist/avatar-B0Q9R0jH.cjs.map +1 -0
  25. package/dist/avatar-DVkOL5_x.js +895 -0
  26. package/dist/avatar-DVkOL5_x.js.map +1 -0
  27. package/dist/badge.cjs +1 -1
  28. package/dist/badge.js +1 -1
  29. package/dist/{boat-X1OG5F2J.js → boat-DDBc--4N.js} +2 -2
  30. package/dist/{boat-X1OG5F2J.js.map → boat-DDBc--4N.js.map} +1 -1
  31. package/dist/{boat-COig4aPk.cjs → boat-DpuxxF9v.cjs} +2 -2
  32. package/dist/{boat-COig4aPk.cjs.map → boat-DpuxxF9v.cjs.map} +1 -1
  33. package/dist/boat.cjs +1 -1
  34. package/dist/boat.js +1 -1
  35. package/dist/busy.cjs +1 -1
  36. package/dist/busy.js +1 -1
  37. package/dist/button.cjs +1 -1
  38. package/dist/button.js +1 -1
  39. package/dist/card.cjs +1 -1
  40. package/dist/card.js +1 -1
  41. package/dist/{checkbox-CQ_N8nVx.js → checkbox-ByAbf0mX.js} +2 -2
  42. package/dist/{checkbox-CQ_N8nVx.js.map → checkbox-ByAbf0mX.js.map} +1 -1
  43. package/dist/{checkbox-BKyJeBzr.cjs → checkbox-DA355aVd.cjs} +2 -2
  44. package/dist/{checkbox-BKyJeBzr.cjs.map → checkbox-DA355aVd.cjs.map} +1 -1
  45. package/dist/checkbox.cjs +1 -1
  46. package/dist/checkbox.js +1 -1
  47. package/dist/chips.cjs +1 -1
  48. package/dist/chips.js +2 -2
  49. package/dist/code-highlight.cjs +1 -1
  50. package/dist/code-highlight.js +1 -1
  51. package/dist/{code-preview-DRt2qNK4.js → code-preview-BEDuv4oc.js} +133 -123
  52. package/dist/{code-preview-DRt2qNK4.js.map → code-preview-BEDuv4oc.js.map} +1 -1
  53. package/dist/{code-preview-DdWQ9Huu.cjs → code-preview-DXvds6Ik.cjs} +67 -57
  54. package/dist/{code-preview-DdWQ9Huu.cjs.map → code-preview-DXvds6Ik.cjs.map} +1 -1
  55. package/dist/components.cjs +1 -1
  56. package/dist/components.js +1 -1
  57. package/dist/content-drawer.cjs +1 -1
  58. package/dist/content-drawer.js +1 -1
  59. package/dist/{date-range-_0PfGLTG.cjs → date-range-CO96uRfu.cjs} +2 -2
  60. package/dist/{date-range-_0PfGLTG.cjs.map → date-range-CO96uRfu.cjs.map} +1 -1
  61. package/dist/{date-range-W2AtcWsE.js → date-range-CWwzapvu.js} +3 -3
  62. package/dist/{date-range-W2AtcWsE.js.map → date-range-CWwzapvu.js.map} +1 -1
  63. package/dist/{date-range-inline-tDA37KYD.cjs → date-range-inline-Br8Pkm6Z.cjs} +2 -2
  64. package/dist/{date-range-inline-tDA37KYD.cjs.map → date-range-inline-Br8Pkm6Z.cjs.map} +1 -1
  65. package/dist/{date-range-inline-Cqu7nIGM.js → date-range-inline-DcRJrT7z.js} +3 -3
  66. package/dist/{date-range-inline-Cqu7nIGM.js.map → date-range-inline-DcRJrT7z.js.map} +1 -1
  67. package/dist/date-range-inline.cjs +1 -1
  68. package/dist/date-range-inline.js +1 -1
  69. package/dist/date-range.cjs +1 -1
  70. package/dist/date-range.js +1 -1
  71. package/dist/{delay-CXAQP1GR.js → delay-4p58-oPM.js} +2 -2
  72. package/dist/{delay-CXAQP1GR.js.map → delay-4p58-oPM.js.map} +1 -1
  73. package/dist/{delay-B_M7fPe5.cjs → delay-BU66nJyr.cjs} +2 -2
  74. package/dist/{delay-B_M7fPe5.cjs.map → delay-BU66nJyr.cjs.map} +1 -1
  75. package/dist/delay.cjs +1 -1
  76. package/dist/delay.js +1 -1
  77. package/dist/{details-CphTZvhk.js → details-COgnQWz1.js} +2 -2
  78. package/dist/{details-CphTZvhk.js.map → details-COgnQWz1.js.map} +1 -1
  79. package/dist/{details-Chfs-oHV.cjs → details-CoqpAwjh.cjs} +2 -2
  80. package/dist/{details-Chfs-oHV.cjs.map → details-CoqpAwjh.cjs.map} +1 -1
  81. package/dist/details.cjs +1 -1
  82. package/dist/details.js +1 -1
  83. package/dist/{dialog-content-Cm8VekL4.cjs → dialog-content-CJUcyFT1.cjs} +2 -2
  84. package/dist/{dialog-content-Cm8VekL4.cjs.map → dialog-content-CJUcyFT1.cjs.map} +1 -1
  85. package/dist/{dialog-content-h_Oz2PDz.js → dialog-content-naA5eL6T.js} +3 -3
  86. package/dist/{dialog-content-h_Oz2PDz.js.map → dialog-content-naA5eL6T.js.map} +1 -1
  87. package/dist/dialog.cjs +1 -1
  88. package/dist/dialog.js +1 -1
  89. package/dist/{divider-DZZPRjp6.js → divider-DsNchzPn.js} +3 -3
  90. package/dist/{divider-DZZPRjp6.js.map → divider-DsNchzPn.js.map} +1 -1
  91. package/dist/{divider-CrP3muaP.cjs → divider-a2f7N3mc.cjs} +2 -2
  92. package/dist/{divider-CrP3muaP.cjs.map → divider-a2f7N3mc.cjs.map} +1 -1
  93. package/dist/divider.cjs +1 -1
  94. package/dist/divider.js +1 -1
  95. package/dist/{dropdown-content-CB1GBHlI.js → dropdown-content-CARJm72a.js} +3 -3
  96. package/dist/{dropdown-content-CB1GBHlI.js.map → dropdown-content-CARJm72a.js.map} +1 -1
  97. package/dist/{dropdown-content-A6ZdJyZz.cjs → dropdown-content-YiOmwoxH.cjs} +2 -2
  98. package/dist/{dropdown-content-A6ZdJyZz.cjs.map → dropdown-content-YiOmwoxH.cjs.map} +1 -1
  99. package/dist/dropdown.cjs +1 -1
  100. package/dist/dropdown.js +1 -1
  101. package/dist/{email-recipients-Wk64dWuZ.js → email-recipients-CM41HA4G.js} +5 -5
  102. package/dist/{email-recipients-Wk64dWuZ.js.map → email-recipients-CM41HA4G.js.map} +1 -1
  103. package/dist/{email-recipients-DbovFfyf.cjs → email-recipients-Dha5jYMG.cjs} +2 -2
  104. package/dist/{email-recipients-DbovFfyf.cjs.map → email-recipients-Dha5jYMG.cjs.map} +1 -1
  105. package/dist/extra.cjs +1 -1
  106. package/dist/extra.js +1 -1
  107. package/dist/{flex-BjEfo9Y7.js → flex-D-oS3wlY.js} +2 -2
  108. package/dist/{flex-BjEfo9Y7.js.map → flex-D-oS3wlY.js.map} +1 -1
  109. package/dist/{flex-B20VU8L_.cjs → flex-zqTHF06u.cjs} +2 -2
  110. package/dist/{flex-B20VU8L_.cjs.map → flex-zqTHF06u.cjs.map} +1 -1
  111. package/dist/{form-C02xoiR8.cjs → form-BSlt0E8v.cjs} +2 -2
  112. package/dist/{form-C02xoiR8.cjs.map → form-BSlt0E8v.cjs.map} +1 -1
  113. package/dist/{form-C1PF3LFP.js → form-DPAzy8Dn.js} +2 -2
  114. package/dist/{form-C1PF3LFP.js.map → form-DPAzy8Dn.js.map} +1 -1
  115. package/dist/form.cjs +1 -1
  116. package/dist/form.js +1 -1
  117. package/dist/{formField.mixin-Butk4H3G.js → formField.mixin-CVkUNhSX.js} +2 -2
  118. package/dist/{formField.mixin-Butk4H3G.js.map → formField.mixin-CVkUNhSX.js.map} +1 -1
  119. package/dist/{formField.mixin-pLRVCeUD.cjs → formField.mixin-R7Ddvq3q.cjs} +2 -2
  120. package/dist/{formField.mixin-pLRVCeUD.cjs.map → formField.mixin-R7Ddvq3q.cjs.map} +1 -1
  121. package/dist/{icon-CcNT1vvG.cjs → icon-Cm5BKSV4.cjs} +2 -2
  122. package/dist/{icon-CcNT1vvG.cjs.map → icon-Cm5BKSV4.cjs.map} +1 -1
  123. package/dist/{icon-BZUpikxQ.js → icon-ave1X5b9.js} +2 -2
  124. package/dist/{icon-BZUpikxQ.js.map → icon-ave1X5b9.js.map} +1 -1
  125. package/dist/{icon-button-C5YpXRdC.cjs → icon-button-BdB5el84.cjs} +2 -2
  126. package/dist/{icon-button-C5YpXRdC.cjs.map → icon-button-BdB5el84.cjs.map} +1 -1
  127. package/dist/{icon-button-7b5uVTan.js → icon-button-DiNXfJ8u.js} +3 -3
  128. package/dist/{icon-button-7b5uVTan.js.map → icon-button-DiNXfJ8u.js.map} +1 -1
  129. package/dist/icons.cjs +1 -1
  130. package/dist/icons.js +1 -1
  131. package/dist/index.cjs +1 -1
  132. package/dist/index.js +212 -210
  133. package/dist/{input-DhdHemYN.cjs → input-B6zwyDBC.cjs} +2 -2
  134. package/dist/{input-DhdHemYN.cjs.map → input-B6zwyDBC.cjs.map} +1 -1
  135. package/dist/{input-DC8Sf6IC.js → input-DPiDmsjt.js} +3 -3
  136. package/dist/{input-DC8Sf6IC.js.map → input-DPiDmsjt.js.map} +1 -1
  137. package/dist/{input-chip-CIk926sc.js → input-chip-C06GAnnC.js} +2 -2
  138. package/dist/{input-chip-CIk926sc.js.map → input-chip-C06GAnnC.js.map} +1 -1
  139. package/dist/{input-chip-BVeKi5rc.cjs → input-chip-CkWSf6nV.cjs} +2 -2
  140. package/dist/{input-chip-BVeKi5rc.cjs.map → input-chip-CkWSf6nV.cjs.map} +1 -1
  141. package/dist/input.cjs +1 -1
  142. package/dist/input.js +1 -1
  143. package/dist/layout.cjs +1 -1
  144. package/dist/layout.js +1 -1
  145. package/dist/{list-t7vG7o_O.cjs → list-BCDPk6mM.cjs} +2 -2
  146. package/dist/{list-t7vG7o_O.cjs.map → list-BCDPk6mM.cjs.map} +1 -1
  147. package/dist/{list-CGNZvRGe.js → list-vICZQxqV.js} +2 -2
  148. package/dist/{list-CGNZvRGe.js.map → list-vICZQxqV.js.map} +1 -1
  149. package/dist/list.cjs +1 -1
  150. package/dist/list.js +1 -1
  151. package/dist/{litElement.mixin-BJ_Q1yRD.cjs → litElement.mixin-DLJYzvsb.cjs} +2 -2
  152. package/dist/{litElement.mixin-BJ_Q1yRD.cjs.map → litElement.mixin-DLJYzvsb.cjs.map} +1 -1
  153. package/dist/{litElement.mixin-C_TdCsfa.js → litElement.mixin-jTGHsEfH.js} +2 -2
  154. package/dist/{litElement.mixin-C_TdCsfa.js.map → litElement.mixin-jTGHsEfH.js.map} +1 -1
  155. package/dist/mailbox.cjs +1 -1
  156. package/dist/mailbox.js +1 -1
  157. package/dist/{map-Bm3uVhWx.cjs → map-D6QG9Yzr.cjs} +2 -2
  158. package/dist/{map-Bm3uVhWx.cjs.map → map-D6QG9Yzr.cjs.map} +1 -1
  159. package/dist/{map-BiTqxS1F.js → map-DZt51SfS.js} +2 -2
  160. package/dist/{map-BiTqxS1F.js.map → map-DZt51SfS.js.map} +1 -1
  161. package/dist/map.cjs +1 -1
  162. package/dist/map.js +1 -1
  163. package/dist/{media-BKviPW_h.js → media-BUx20F5U.js} +2 -2
  164. package/dist/{media-BKviPW_h.js.map → media-BUx20F5U.js.map} +1 -1
  165. package/dist/{media-D1kp7fjX.cjs → media-CdPEYBLJ.cjs} +2 -2
  166. package/dist/{media-D1kp7fjX.cjs.map → media-CdPEYBLJ.cjs.map} +1 -1
  167. package/dist/{menu-Cjz7s37L.cjs → menu-2UwBHzr9.cjs} +2 -2
  168. package/dist/{menu-Cjz7s37L.cjs.map → menu-2UwBHzr9.cjs.map} +1 -1
  169. package/dist/{menu-BZzL9ILt.js → menu-CvWQC1In.js} +3 -3
  170. package/dist/{menu-BZzL9ILt.js.map → menu-CvWQC1In.js.map} +1 -1
  171. package/dist/menu.cjs +1 -1
  172. package/dist/menu.js +1 -1
  173. package/dist/nav-drawer.cjs +1 -1
  174. package/dist/nav-drawer.js +1 -1
  175. package/dist/navigation-bar.cjs +2 -0
  176. package/dist/navigation-bar.cjs.map +1 -0
  177. package/dist/navigation-bar.js +6 -0
  178. package/dist/navigation-bar.js.map +1 -0
  179. package/dist/{navigation-rail-item-D3uE3_58.js → navigation-rail-item-CIg6-B2G.js} +2 -2
  180. package/dist/{navigation-rail-item-D3uE3_58.js.map → navigation-rail-item-CIg6-B2G.js.map} +1 -1
  181. package/dist/{navigation-rail-item-B4IK1tid.cjs → navigation-rail-item-DA7eqAg3.cjs} +2 -2
  182. package/dist/{navigation-rail-item-B4IK1tid.cjs.map → navigation-rail-item-DA7eqAg3.cjs.map} +1 -1
  183. package/dist/navigation-rail.cjs +1 -1
  184. package/dist/navigation-rail.js +1 -1
  185. package/dist/{notification-service-ECIE9gmi.cjs → notification-service-BqvWCDoP.cjs} +2 -2
  186. package/dist/{notification-service-ECIE9gmi.cjs.map → notification-service-BqvWCDoP.cjs.map} +1 -1
  187. package/dist/{notification-service-CLOPRsR_.js → notification-service-eOCFErH1.js} +4 -4
  188. package/dist/{notification-service-CLOPRsR_.js.map → notification-service-eOCFErH1.js.map} +1 -1
  189. package/dist/notification.cjs +1 -1
  190. package/dist/notification.js +2 -2
  191. package/dist/{notify-nO72O0p5.cjs → notify-BaedZ1y9.cjs} +2 -2
  192. package/dist/{notify-nO72O0p5.cjs.map → notify-BaedZ1y9.cjs.map} +1 -1
  193. package/dist/{notify-Ujep-Wva.js → notify-COSA8XRV.js} +2 -2
  194. package/dist/{notify-Ujep-Wva.js.map → notify-COSA8XRV.js.map} +1 -1
  195. package/dist/{option-r8dBm4ca.cjs → option-CeXe-DCz.cjs} +2 -2
  196. package/dist/{option-r8dBm4ca.cjs.map → option-CeXe-DCz.cjs.map} +1 -1
  197. package/dist/{option-CRjbCpf-.js → option-CplQ_59U.js} +2 -2
  198. package/dist/{option-CRjbCpf-.js.map → option-CplQ_59U.js.map} +1 -1
  199. package/dist/option.cjs +1 -1
  200. package/dist/option.js +1 -1
  201. package/dist/{payment-card-form-BkWQ6H8v.js → payment-card-form-hVPgM3HO.js} +3 -3
  202. package/dist/{payment-card-form-BkWQ6H8v.js.map → payment-card-form-hVPgM3HO.js.map} +1 -1
  203. package/dist/{payment-card-form-C3rs3GJg.cjs → payment-card-form-wns1GAaC.cjs} +2 -2
  204. package/dist/{payment-card-form-C3rs3GJg.cjs.map → payment-card-form-wns1GAaC.cjs.map} +1 -1
  205. package/dist/{progress-C6sY_Q2O.cjs → progress-CM5lHuCR.cjs} +2 -2
  206. package/dist/{progress-C6sY_Q2O.cjs.map → progress-CM5lHuCR.cjs.map} +1 -1
  207. package/dist/{progress-T5BaCgVz.js → progress-X8hxleUC.js} +2 -2
  208. package/dist/{progress-T5BaCgVz.js.map → progress-X8hxleUC.js.map} +1 -1
  209. package/dist/progress.cjs +1 -1
  210. package/dist/progress.js +1 -1
  211. package/dist/{radio-button-BXZsXmyT.js → radio-button--uXczpjB.js} +3 -3
  212. package/dist/{radio-button-BXZsXmyT.js.map → radio-button--uXczpjB.js.map} +1 -1
  213. package/dist/{radio-button-C85DWct1.cjs → radio-button-D76Qubig.cjs} +2 -2
  214. package/dist/{radio-button-C85DWct1.cjs.map → radio-button-D76Qubig.cjs.map} +1 -1
  215. package/dist/radio-group.cjs +1 -1
  216. package/dist/radio-group.js +1 -1
  217. package/dist/{schmancy-steps-container-C18l7ZUJ.js → schmancy-steps-container-Csh_Ocoa.js} +2 -2
  218. package/dist/{schmancy-steps-container-C18l7ZUJ.js.map → schmancy-steps-container-Csh_Ocoa.js.map} +1 -1
  219. package/dist/{schmancy-steps-container-YzlY4UDL.cjs → schmancy-steps-container-Dc_hXgrm.cjs} +2 -2
  220. package/dist/{schmancy-steps-container-YzlY4UDL.cjs.map → schmancy-steps-container-Dc_hXgrm.cjs.map} +1 -1
  221. package/dist/{select-BgxZupg_.js → select-BrdNXtJK.js} +27 -21
  222. package/dist/select-BrdNXtJK.js.map +1 -0
  223. package/dist/select-DvjgcI2e.cjs +57 -0
  224. package/dist/select-DvjgcI2e.cjs.map +1 -0
  225. package/dist/select.cjs +1 -1
  226. package/dist/select.js +1 -1
  227. package/dist/{sheet-Dn2OyNPH.js → sheet-D6hxqRpX.js} +3 -3
  228. package/dist/{sheet-Dn2OyNPH.js.map → sheet-D6hxqRpX.js.map} +1 -1
  229. package/dist/{sheet-y9Uo1NQy.cjs → sheet-DrGvhM5D.cjs} +2 -2
  230. package/dist/{sheet-y9Uo1NQy.cjs.map → sheet-DrGvhM5D.cjs.map} +1 -1
  231. package/dist/sheet.cjs +1 -1
  232. package/dist/sheet.js +1 -1
  233. package/dist/{slider-CTsC1POO.cjs → slider-DNqgaGvI.cjs} +2 -2
  234. package/dist/{slider-CTsC1POO.cjs.map → slider-DNqgaGvI.cjs.map} +1 -1
  235. package/dist/{slider-HrSdi1w5.js → slider-ev-R3lWD.js} +3 -3
  236. package/dist/{slider-HrSdi1w5.js.map → slider-ev-R3lWD.js.map} +1 -1
  237. package/dist/slider.cjs +1 -1
  238. package/dist/slider.js +1 -1
  239. package/dist/{spinner-CwsNWGqj.js → spinner-0Be5YjKa.js} +2 -2
  240. package/dist/{spinner-CwsNWGqj.js.map → spinner-0Be5YjKa.js.map} +1 -1
  241. package/dist/{spinner-DguvYTr2.cjs → spinner-BBhBlm_F.cjs} +2 -2
  242. package/dist/{spinner-DguvYTr2.cjs.map → spinner-BBhBlm_F.cjs.map} +1 -1
  243. package/dist/steps.cjs +1 -1
  244. package/dist/steps.js +1 -1
  245. package/dist/{suggestion-chip-CocgJQgD.cjs → suggestion-chip-GLpIJvu3.cjs} +2 -2
  246. package/dist/{suggestion-chip-CocgJQgD.cjs.map → suggestion-chip-GLpIJvu3.cjs.map} +1 -1
  247. package/dist/{suggestion-chip-BcfuYhVu.js → suggestion-chip-WW3dScRF.js} +3 -3
  248. package/dist/{suggestion-chip-BcfuYhVu.js.map → suggestion-chip-WW3dScRF.js.map} +1 -1
  249. package/dist/{surface-14-wbhaX.cjs → surface-BaMQfpnN.cjs} +2 -2
  250. package/dist/{surface-14-wbhaX.cjs.map → surface-BaMQfpnN.cjs.map} +1 -1
  251. package/dist/{surface-BU2twRfK.js → surface-DmtBge0h.js} +2 -2
  252. package/dist/{surface-BU2twRfK.js.map → surface-DmtBge0h.js.map} +1 -1
  253. package/dist/surface.cjs +1 -1
  254. package/dist/surface.js +1 -1
  255. package/dist/{table-CUWzQ4jl.cjs → table-Bc86ZVfE.cjs} +2 -2
  256. package/dist/{table-CUWzQ4jl.cjs.map → table-Bc86ZVfE.cjs.map} +1 -1
  257. package/dist/{table-d_te1RgD.js → table-D00xx57f.js} +2 -2
  258. package/dist/{table-d_te1RgD.js.map → table-D00xx57f.js.map} +1 -1
  259. package/dist/table.cjs +1 -1
  260. package/dist/table.js +1 -1
  261. package/dist/{tabs-compatibility-Boc5CUVW.js → tabs-compatibility-BQqS_oQN.js} +2 -2
  262. package/dist/{tabs-compatibility-Boc5CUVW.js.map → tabs-compatibility-BQqS_oQN.js.map} +1 -1
  263. package/dist/{tabs-compatibility-DyZLNr4f.cjs → tabs-compatibility-Bo4Z38SO.cjs} +2 -2
  264. package/dist/{tabs-compatibility-DyZLNr4f.cjs.map → tabs-compatibility-Bo4Z38SO.cjs.map} +1 -1
  265. package/dist/tabs.cjs +1 -1
  266. package/dist/tabs.js +1 -1
  267. package/dist/tailwind.mixin-B_-9TcsC.cjs +2 -0
  268. package/dist/{tailwind.mixin-D2o72t31.cjs.map → tailwind.mixin-B_-9TcsC.cjs.map} +1 -1
  269. package/dist/tailwind.mixin-Dq8FD_xN.js +43 -0
  270. package/dist/{tailwind.mixin-nZk3QUQy.js.map → tailwind.mixin-Dq8FD_xN.js.map} +1 -1
  271. package/dist/teleport.cjs +1 -1
  272. package/dist/teleport.js +1 -1
  273. package/dist/{textarea-B0sYfSz6.js → textarea-DpSgcB0q.js} +2 -2
  274. package/dist/{textarea-B0sYfSz6.js.map → textarea-DpSgcB0q.js.map} +1 -1
  275. package/dist/{textarea-mrIBP74N.cjs → textarea-DvfusaL0.cjs} +2 -2
  276. package/dist/{textarea-mrIBP74N.cjs.map → textarea-DvfusaL0.cjs.map} +1 -1
  277. package/dist/textarea.cjs +1 -1
  278. package/dist/textarea.js +1 -1
  279. package/dist/{theme-button-CNJVyopz.js → theme-button-1dnUcGe5.js} +2 -2
  280. package/dist/{theme-button-CNJVyopz.js.map → theme-button-1dnUcGe5.js.map} +1 -1
  281. package/dist/{theme-button-DGb5LDjM.cjs → theme-button-Dj3aS2jG.cjs} +2 -2
  282. package/dist/{theme-button-DGb5LDjM.cjs.map → theme-button-Dj3aS2jG.cjs.map} +1 -1
  283. package/dist/theme-button.cjs +1 -1
  284. package/dist/theme-button.js +1 -1
  285. package/dist/theme.cjs +1 -1
  286. package/dist/{theme.component-BIrl0bms.cjs → theme.component-B2834R93.cjs} +2 -2
  287. package/dist/{theme.component-BIrl0bms.cjs.map → theme.component-B2834R93.cjs.map} +1 -1
  288. package/dist/{theme.component-X5en4kgs.js → theme.component-DwzieORm.js} +2 -2
  289. package/dist/{theme.component-X5en4kgs.js.map → theme.component-DwzieORm.js.map} +1 -1
  290. package/dist/theme.js +1 -1
  291. package/dist/{timezone-Bt3qA38o.cjs → timezone-CWEqsRA_.cjs} +2 -2
  292. package/dist/{timezone-Bt3qA38o.cjs.map → timezone-CWEqsRA_.cjs.map} +1 -1
  293. package/dist/{timezone-CjMKVlle.js → timezone-YbhVzZRq.js} +3 -3
  294. package/dist/{timezone-CjMKVlle.js.map → timezone-YbhVzZRq.js.map} +1 -1
  295. package/dist/{tooltip-B8YU69FO.cjs → tooltip-BZ2fruXd.cjs} +2 -2
  296. package/dist/{tooltip-B8YU69FO.cjs.map → tooltip-BZ2fruXd.cjs.map} +1 -1
  297. package/dist/{tooltip-BorRixOk.js → tooltip-DgLua_UV.js} +2 -2
  298. package/dist/{tooltip-BorRixOk.js.map → tooltip-DgLua_UV.js.map} +1 -1
  299. package/dist/tooltip.cjs +1 -1
  300. package/dist/tooltip.js +1 -1
  301. package/dist/{tree-DQi0dyBy.js → tree-Dg-mKO7n.js} +2 -2
  302. package/dist/{tree-DQi0dyBy.js.map → tree-Dg-mKO7n.js.map} +1 -1
  303. package/dist/{tree-jWKUZns-.cjs → tree-c9Fcsgxi.cjs} +2 -2
  304. package/dist/{tree-jWKUZns-.cjs.map → tree-c9Fcsgxi.cjs.map} +1 -1
  305. package/dist/tree.cjs +1 -1
  306. package/dist/tree.js +1 -1
  307. package/dist/{typewriter-GHGwLOWk.js → typewriter-Bgp3f7FN.js} +4 -4
  308. package/dist/{typewriter-GHGwLOWk.js.map → typewriter-Bgp3f7FN.js.map} +1 -1
  309. package/dist/{typewriter-BCVmjF7y.cjs → typewriter-FHkXxEdA.cjs} +2 -2
  310. package/dist/{typewriter-BCVmjF7y.cjs.map → typewriter-FHkXxEdA.cjs.map} +1 -1
  311. package/dist/typewriter.cjs +1 -1
  312. package/dist/typewriter.js +1 -1
  313. package/dist/{typography-DsKadWmR.js → typography-B2kH45Vn.js} +2 -2
  314. package/dist/{typography-DsKadWmR.js.map → typography-B2kH45Vn.js.map} +1 -1
  315. package/dist/{typography-BIHYyI6-.cjs → typography-CE_QuH1P.cjs} +2 -2
  316. package/dist/{typography-BIHYyI6-.cjs.map → typography-CE_QuH1P.cjs.map} +1 -1
  317. package/dist/typography.cjs +1 -1
  318. package/dist/typography.js +1 -1
  319. package/package.json +1 -1
  320. package/types/src/code-highlight/code-highlight.d.ts +1 -1
  321. package/types/src/index.d.ts +1 -0
  322. package/types/src/navigation-bar/index.d.ts +2 -0
  323. package/types/src/navigation-bar/navigation-bar-item.d.ts +94 -0
  324. package/types/src/navigation-bar/navigation-bar.d.ts +93 -0
  325. package/types/src/select/select.d.ts +2 -0
  326. package/dist/avatar-3C1rkJ1T.cjs +0 -157
  327. package/dist/avatar-3C1rkJ1T.cjs.map +0 -1
  328. package/dist/avatar-CxDF7O9q.js +0 -609
  329. package/dist/avatar-CxDF7O9q.js.map +0 -1
  330. package/dist/select-BgxZupg_.js.map +0 -1
  331. package/dist/select-Dve8bW-v.cjs +0 -57
  332. package/dist/select-Dve8bW-v.cjs.map +0 -1
  333. package/dist/tailwind.mixin-D2o72t31.cjs +0 -2
  334. package/dist/tailwind.mixin-nZk3QUQy.js +0 -43
@@ -1,609 +0,0 @@
1
- import { css as O, html as c, nothing as lt } from "lit";
2
- import { property as l, customElement as y, state as h, queryAssignedElements as ct, query as F } from "lit/decorators.js";
3
- import { Subject as Y, merge as G, fromEvent as g, startWith as bt, map as w, debounceTime as R, tap as E, distinctUntilChanged as K, takeUntil as m, from as st, of as U, Observable as ft, zip as rt, filter as ht, take as gt, timeout as wt, bufferTime as vt, concatMap as xt, interval as $t, throwIfEmpty as Ct } from "rxjs";
4
- import "./animated-text-Bu95OxOB.js";
5
- import { a as it, F as St, H as Dt } from "./area.component-Uj8eYomX.js";
6
- import "./autocomplete-CfICiUej.js";
7
- import "lit/directives/class-map.js";
8
- import "lit/directives/style-map.js";
9
- import { T as dt } from "./tailwind.mixin-nZk3QUQy.js";
10
- import { c as B, f as Et } from "./ripple-Cy-nvO8W.js";
11
- import "lit/directives/guard.js";
12
- import "./boat-X1OG5F2J.js";
13
- import "./spinner-CwsNWGqj.js";
14
- import "./icon-button-7b5uVTan.js";
15
- import "./media-BKviPW_h.js";
16
- import "./checkbox-CQ_N8nVx.js";
17
- import "./suggestion-chip-BcfuYhVu.js";
18
- import "./input-chip-CIk926sc.js";
19
- import "./code-preview-DRt2qNK4.js";
20
- import "./payment-card-form-BkWQ6H8v.js";
21
- import { SchmancyEvents as p } from "./types.js";
22
- import { n as P, e as W } from "./provide-tcktw8xB.js";
23
- import { $ as z } from "./litElement.mixin-C_TdCsfa.js";
24
- import { c as d } from "./consume-5D1qfVWM.js";
25
- import "./date-range-W2AtcWsE.js";
26
- import "./date-range-inline-Cqu7nIGM.js";
27
- import "./delay-CXAQP1GR.js";
28
- import "./details-CphTZvhk.js";
29
- import "./dialog-content-h_Oz2PDz.js";
30
- import "./dialog-service-CyQzm5qE.js";
31
- import "./divider-DZZPRjp6.js";
32
- import "./dropdown-content-CB1GBHlI.js";
33
- import "./timezone-CjMKVlle.js";
34
- import "./form-C1PF3LFP.js";
35
- import "./icon-BZUpikxQ.js";
36
- import "./input-DC8Sf6IC.js";
37
- import "./flex-BjEfo9Y7.js";
38
- import "./list-CGNZvRGe.js";
39
- import "./email-recipients-Wk64dWuZ.js";
40
- import "./map-BiTqxS1F.js";
41
- import "./menu-BZzL9ILt.js";
42
- import { when as L } from "lit/directives/when.js";
43
- import "./navigation-rail-item-D3uE3_58.js";
44
- import "./notification-service-CLOPRsR_.js";
45
- import "./option-CRjbCpf-.js";
46
- import "./progress-T5BaCgVz.js";
47
- import "./radio-button-BXZsXmyT.js";
48
- import "./index-CW6PhEkx.js";
49
- import "./select-BgxZupg_.js";
50
- import "./sheet-Dn2OyNPH.js";
51
- import { s as V } from "./sheet.service-lXqUf6n5.js";
52
- import "./slider-HrSdi1w5.js";
53
- import "./schmancy-steps-container-C18l7ZUJ.js";
54
- import "./context-object-u5gBaozZ.js";
55
- import { map as Ot, distinctUntilChanged as zt, take as kt } from "rxjs/operators";
56
- import "./surface-BU2twRfK.js";
57
- import "./table-d_te1RgD.js";
58
- import "./tabs-compatibility-Boc5CUVW.js";
59
- import "./textarea-B0sYfSz6.js";
60
- import "./theme.component-X5en4kgs.js";
61
- import "./theme-button-CNJVyopz.js";
62
- import "./tooltip-BorRixOk.js";
63
- import "./tree-DQi0dyBy.js";
64
- import "./typewriter-GHGwLOWk.js";
65
- import "./typography-DsKadWmR.js";
66
- import { S as o } from "./theme.interface-C5Kj6WjD.js";
67
- var Mt = Object.defineProperty, Wt = Object.getOwnPropertyDescriptor, D = (t, e, r, i) => {
68
- for (var n, s = i > 1 ? void 0 : i ? Wt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
69
- return i && s && Mt(e, r, s), s;
70
- };
71
- let $ = class extends dt(O`
72
- :host {
73
- display: inline-flex;
74
- }
75
-
76
- /* Enhanced pulse animation for better attention-getting */
77
- @keyframes elegant-pulse {
78
- 0%, 100% {
79
- opacity: 1;
80
- }
81
- 50% {
82
- opacity: 0.85;
83
- }
84
- }
85
-
86
- .animate-pulse {
87
- animation: elegant-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
88
- }
89
- `) {
90
- constructor() {
91
- super(...arguments), this.color = "primary", this.size = "md", this.shape = "pill", this.outlined = !1, this.icon = "", this.pulse = !1;
92
- }
93
- getSizeClasses() {
94
- switch (this.size) {
95
- case "xs":
96
- return "text-xs py-0.75 px-1.5 gap-0.5 leading-none";
97
- case "sm":
98
- return "text-xs py-1.5 px-2.5 gap-0.5 tracking-wide leading-none";
99
- case "lg":
100
- return "text-base py-2 px-4 gap-1 tracking-wide";
101
- default:
102
- return "text-sm py-1.5 px-3 gap-0.5";
103
- }
104
- }
105
- getShapeClasses() {
106
- switch (this.shape) {
107
- case "square":
108
- return "rounded";
109
- case "rounded":
110
- return "rounded-md";
111
- default:
112
- return "rounded-full";
113
- }
114
- }
115
- getIconSize() {
116
- switch (this.size) {
117
- case "xs":
118
- return "11px";
119
- case "sm":
120
- return "13px";
121
- case "lg":
122
- return "18px";
123
- default:
124
- return "15px";
125
- }
126
- }
127
- getExoticStyles() {
128
- const t = {};
129
- return this.size === "lg" && (t.letterSpacing = "0.03em", t.fontWeight = "500"), this.size === "sm" && (t.letterSpacing = "0.02em"), t;
130
- }
131
- getColorStyles() {
132
- return { primary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.primary.container} 92%, ${o.sys.color.primary.default} 8%)`, text: this.outlined ? o.sys.color.primary.default : o.sys.color.primary.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.primary.default} 90%, ${o.sys.color.surface.highest} 10%)` : void 0 }, secondary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.secondary.container} 95%, ${o.sys.color.secondary.default} 5%)`, text: this.outlined ? o.sys.color.secondary.default : o.sys.color.secondary.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.secondary.default} 85%, ${o.sys.color.surface.highest} 15%)` : void 0 }, tertiary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.tertiary.container} 94%, ${o.sys.color.tertiary.default} 6%)`, text: this.outlined ? o.sys.color.tertiary.default : o.sys.color.tertiary.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.tertiary.default} 88%, ${o.sys.color.surface.highest} 12%)` : void 0 }, success: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.success.container} 90%, ${o.sys.color.success.default} 10%)`, text: this.outlined ? o.sys.color.success.default : o.sys.color.success.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.success.default} 85%, ${o.sys.color.surface.bright} 15%)` : void 0 }, warning: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.tertiary.container} 85%, ${o.sys.color.tertiary.default} 15%)`, text: this.outlined ? o.sys.color.tertiary.default : o.sys.color.tertiary.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.tertiary.default} 90%, ${o.sys.color.surface.highest} 10%)` : void 0 }, error: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.error.container} 92%, ${o.sys.color.error.default} 8%)`, text: this.outlined ? o.sys.color.error.default : o.sys.color.error.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.error.default} 88%, ${o.sys.color.surface.bright} 12%)` : void 0 }, neutral: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.surface.high} 95%, ${o.sys.color.outline} 5%)`, text: this.outlined ? `color-mix(in srgb, ${o.sys.color.surface.on} 95%, ${o.sys.color.surface.default} 5%)` : o.sys.color.surface.on, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.outline} 85%, ${o.sys.color.surface.highest} 15%)` : void 0 } }[this.color];
133
- }
134
- render() {
135
- const t = this.getSizeClasses(), e = this.getShapeClasses(), r = this.getColorStyles(), i = this.getIconSize(), n = this.getExoticStyles(), s = { "inline-flex items-center justify-center font-medium": !0, "transition-all duration-200 ease-in-out": !0, [t]: !0, [e]: !0, "animate-pulse": this.pulse, "border border-solid": this.outlined, "shadow-sm": !this.outlined && this.size === "sm", shadow: !this.outlined && this.size === "md", "shadow-md": !this.outlined && this.size === "lg", "hover:brightness-95 hover:-translate-y-px": this.outlined, "hover:brightness-[0.98]": !this.outlined }, a = { borderColor: r.border, ...this.outlined ? { backdropFilter: "blur(4px)" } : {}, ...this.size !== "lg" || this.outlined ? {} : { boxShadow: "0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1)" }, ...n };
136
- return c`
137
- <div
138
- part="badge"
139
- class="${this.classMap(s)}"
140
- style="${this.styleMap(a)}"
141
- ${B({ bgColor: r.bg, color: r.text })}
142
- >
143
- <!-- Icon slot or named icon -->
144
- <slot name="icon">
145
- ${this.icon ? c`
146
- <div part="icon" class="flex-shrink-0 flex items-center justify-center leading-none">
147
- <schmancy-icon .size=${i} class="flex items-center justify-center">${this.icon}</schmancy-icon>
148
- </div>
149
- ` : ""}
150
- </slot>
151
-
152
- <!-- Content with proper spacing from icon -->
153
- <div part="content" class="flex items-center leading-none tracking-[0.01em] ${this.icon ? "ml-[0.38em]" : ""}">
154
- <slot></slot>
155
- </div>
156
- </div>
157
- `;
158
- }
159
- };
160
- D([l({ type: String, reflect: !0 })], $.prototype, "color", 2), D([l({ type: String, reflect: !0 })], $.prototype, "size", 2), D([l({ type: String, reflect: !0 })], $.prototype, "shape", 2), D([l({ type: Boolean, reflect: !0 })], $.prototype, "outlined", 2), D([l({ type: String })], $.prototype, "icon", 2), D([l({ type: Boolean, reflect: !0 })], $.prototype, "pulse", 2), $ = D([y("schmancy-badge")], $);
161
- let ot = class extends $ {
162
- };
163
- ot = D([y("sch-badge")], ot);
164
- const ls = new class {
165
- constructor() {
166
- this.$drawer = new Y(), this.lastComponent = null, this.$drawer.pipe().subscribe((t) => {
167
- t.action === "dismiss" ? t.ref.dispatchEvent(new CustomEvent(p.ContentDrawerToggle, { detail: { state: "close" }, bubbles: !0, composed: !0 })) : t.action === "render" ? (t.ref.dispatchEvent(new CustomEvent(p.ContentDrawerToggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })), t.ref.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: t.component, title: t.title }, bubbles: !0, composed: !0 }))) : t.action === "push" && this.handlePush(t.ref, t.component);
168
- });
169
- }
170
- dimiss(t) {
171
- this.$drawer.next({ action: "dismiss", ref: t });
172
- }
173
- render(t, e, r) {
174
- t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title: r });
175
- }
176
- async handlePush(t, e) {
177
- let r;
178
- if (typeof e == "string") r = document.createElement(e);
179
- else if (e instanceof HTMLElement) r = e;
180
- else {
181
- if (typeof e != "function") return;
182
- try {
183
- const i = await e();
184
- i && typeof i == "object" && "default" in i ? r = new i.default() : r = i instanceof HTMLElement ? i : new i();
185
- } catch {
186
- return;
187
- }
188
- }
189
- this.lastComponent === r && "requestUpdate" in r && r.requestUpdate(), this.lastComponent = r, t.dispatchEvent(new CustomEvent(p.ContentDrawerToggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })), t.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: r }, bubbles: !0, composed: !0 }));
190
- }
191
- push(t) {
192
- this.$drawer.next({ action: "push", ref: window, component: t });
193
- }
194
- }(), J = P("push"), pt = P("close"), mt = P(Math.floor(Math.random() * Date.now()).toString()), Q = P("100%"), Z = P({});
195
- var Pt = Object.defineProperty, jt = Object.getOwnPropertyDescriptor, k = (t, e, r, i) => {
196
- for (var n, s = i > 1 ? void 0 : i ? jt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
197
- return i && s && Pt(e, r, s), s;
198
- };
199
- let C = class extends z(O`
200
- :host {
201
- position: relative;
202
- inset: 0;
203
- display: block;
204
- overflow: hidden;
205
- }
206
- `) {
207
- constructor() {
208
- super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
209
- }
210
- firstUpdated() {
211
- G(g(window, "resize"), g(window, p.ContentDrawerResize)).pipe(bt(!0), w(() => this.clientWidth ? this.clientWidth : window.innerWidth), w((t) => t >= this.minWidth.main + this.minWidth.sheet), R(100), E(() => {
212
- this.maxHeight = window.innerHeight - this.getOffsetTop(this) - 32 + "px", this.style.setProperty("max-height", this.maxHeight);
213
- }), K(), m(this.disconnecting)).subscribe((t) => {
214
- t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
215
- }), g(window, p.ContentDrawerToggle).pipe(E((t) => {
216
- t.stopPropagation();
217
- }), w((t) => t.detail.state), m(this.disconnecting)).subscribe((t) => {
218
- this.open = t;
219
- }), g(window, "schmancy-content-drawer-render").pipe(E((t) => {
220
- t.stopPropagation();
221
- }), w((t) => t.detail), m(this.disconnecting)).subscribe(({ component: t, title: e }) => {
222
- this.mode === "push" ? (it.push({ area: this.schmancyContentDrawerID, component: "empty", historyStrategy: "silent" }), it.push({ area: this.schmancyContentDrawerID, component: t, historyStrategy: "silent" })) : (this.mode = "overlay") && V.open({ component: t, uid: this.schmancyContentDrawerID, title: e });
223
- });
224
- }
225
- getOffsetTop(t) {
226
- let e = 0;
227
- for (; t; ) e += t.offsetTop, t = t.offsetParent;
228
- return e;
229
- }
230
- render() {
231
- return this.mode && this.open ? c`
232
- <schmancy-grid
233
- cols=${this.mode === "overlay" ? "1fr" : "auto 1fr"}
234
- rows="1fr"
235
- flow="col"
236
- justify="stretch"
237
- align="stretch"
238
- >
239
- <slot></slot>
240
- </schmancy-grid>
241
- ` : lt;
242
- }
243
- };
244
- k([W({ context: Z })], C.prototype, "minWidth", 2), k([W({ context: pt }), l()], C.prototype, "open", 2), k([W({ context: J }), h()], C.prototype, "mode", 2), k([W({ context: mt })], C.prototype, "schmancyContentDrawerID", 2), k([W({ context: Q })], C.prototype, "maxHeight", 2), k([ct({ flatten: !0 })], C.prototype, "assignedElements", 2), C = k([y("schmancy-content-drawer")], C);
245
- var It = Object.defineProperty, Tt = Object.getOwnPropertyDescriptor, T = (t, e, r, i) => {
246
- for (var n, s = i > 1 ? void 0 : i ? Tt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
247
- return i && s && It(e, r, s), s;
248
- };
249
- let j = class extends z(O`
250
- :host {
251
- display: block;
252
- overflow: hidden;
253
- }
254
- `) {
255
- connectedCallback() {
256
- super.connectedCallback(), this.minWidth ? this.drawerMinWidth.main = this.minWidth : this.minWidth = this.drawerMinWidth.main;
257
- }
258
- update(t) {
259
- super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(p.ContentDrawerResize, { bubbles: !0, composed: !0 })));
260
- }
261
- render() {
262
- const t = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight };
263
- return c`
264
- <section class="relative inset-0 h-full">
265
- <schmancy-grid
266
- class="h-full relative overflow-scroll"
267
- cols="${this.mode === "push" ? "auto 1fr" : "1fr"}"
268
- rows="1fr"
269
- flow="col"
270
- align="stretch"
271
- justify="stretch"
272
- >
273
- <section style=${this.styleMap(t)}>
274
- <slot></slot>
275
- </section>
276
- </schmancy-grid>
277
- ${L(this.mode === "push", () => c` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
278
- </section>
279
- `;
280
- }
281
- };
282
- T([l({ type: Number })], j.prototype, "minWidth", 2), T([d({ context: Z, subscribe: !0 })], j.prototype, "drawerMinWidth", 2), T([d({ context: J, subscribe: !0 }), h()], j.prototype, "mode", 2), T([d({ context: Q, subscribe: !0 }), h()], j.prototype, "maxHeight", 2), j = T([y("schmancy-content-drawer-main")], j);
283
- var Nt = Object.defineProperty, _t = Object.getOwnPropertyDescriptor, v = (t, e, r, i) => {
284
- for (var n, s = i > 1 ? void 0 : i ? _t(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
285
- return i && s && Nt(e, r, s), s;
286
- };
287
- let u = class extends z(O`
288
- :host {
289
- overflow: scroll;
290
- }
291
- `) {
292
- connectedCallback() {
293
- super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
294
- }
295
- updated(t) {
296
- super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(p.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (V.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
297
- }
298
- open() {
299
- this.mode === "overlay" ? this.sheet.style.position = "fixed" : this.sheet.style.position = "relative", this.sheet.style.display = "block", this.sheet.animate([{ opacity: 0, transform: "translateX(100%)" }, { opacity: 1, transform: "translateX(0%)" }], { duration: 500, easing: "cubic-bezier(0.5, 0.01, 0.25, 1)" });
300
- }
301
- closeAll() {
302
- G(st(this.closeModalSheet()), st(this.closeSheet())).pipe(m(this.disconnecting)).subscribe();
303
- }
304
- closeModalSheet() {
305
- return U(!0).pipe(E(() => V.dismiss(this.schmancyContentDrawerID)));
306
- }
307
- closeSheet() {
308
- return new ft((t) => {
309
- this.sheet.animate([{ opacity: 1, transform: "translateX(0%)" }, { opacity: 1, transform: "translateX(100%)" }], { duration: 500, easing: "cubic-bezier(0.5, 0.01, 0.25, 1)" }).onfinish = () => {
310
- this.sheet.style.display = "none", t.next(), t.complete();
311
- };
312
- });
313
- }
314
- render() {
315
- const t = { block: this.mode === "push", "absolute z-50": this.mode === "overlay", "opacity-1": this.mode === "overlay" && this.state === "open" }, e = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight };
316
- return c`
317
- <section id="sheet" class="${this.classMap(t)}" style=${this.styleMap(e)}>
318
- <schmancy-area name="${this.schmancyContentDrawerID}">
319
- <slot name="placeholder"></slot>
320
- </schmancy-area>
321
- </section>
322
- `;
323
- }
324
- };
325
- v([l({ type: Number })], u.prototype, "minWidth", 2), v([d({ context: J, subscribe: !0 }), h()], u.prototype, "mode", 2), v([d({ context: pt, subscribe: !0 }), h()], u.prototype, "state", 2), v([d({ context: mt })], u.prototype, "schmancyContentDrawerID", 2), v([F("#sheet")], u.prototype, "sheet", 2), v([ct({ flatten: !0, slot: void 0 })], u.prototype, "defaultSlot", 2), v([d({ context: Z, subscribe: !0 })], u.prototype, "drawerMinWidth", 2), v([d({ context: Q, subscribe: !0 }), h()], u.prototype, "maxHeight", 2), u = v([y("schmancy-content-drawer-sheet")], u);
326
- const Xt = new class {
327
- constructor() {
328
- this.$drawer = new Y(), this.$drawer.pipe(R(10)).subscribe((t) => {
329
- t.state ? window.dispatchEvent(new CustomEvent(p.NavDrawer_toggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(p.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
330
- });
331
- }
332
- open(t) {
333
- this.$drawer.next({ self: t, state: !0 });
334
- }
335
- close(t) {
336
- this.$drawer.next({ self: t, state: !1 });
337
- }
338
- }(), cs = Xt, tt = P("push"), et = P("close");
339
- var Ht = Object.defineProperty, qt = Object.getOwnPropertyDescriptor, X = (t, e, r, i) => {
340
- for (var n, s = i > 1 ? void 0 : i ? qt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
341
- return i && s && Ht(e, r, s), s;
342
- };
343
- let N = class extends dt(O`
344
- :host {
345
- display: block;
346
- }
347
- `) {
348
- constructor() {
349
- super(...arguments), this.toggler = !0;
350
- }
351
- render() {
352
- const t = { "block left-3 z-50": this.sidebarMode === "overlay", hidden: this.sidebarMode === "push" }, e = { "block z-50": !0, "grid gap-2 items-center": !0, "grid-cols-[auto_1fr]": this.sidebarMode === "overlay" && this.toggler, "grid-cols-1": !(this.sidebarMode === "overlay" && this.toggler) };
353
- return c`
354
- <div class=${this.classMap(e)}>
355
- ${L(this.sidebarMode === "overlay" && this.toggler, () => c`<slot name="toggler">
356
- <div class="${this.classMap(t)}">
357
- <schmancy-icon-button
358
- @click=${() => {
359
- this.dispatchEvent(new CustomEvent(p.NavDrawer_toggle, { detail: { state: this.sidebarOpen === "open" ? "close" : "open" }, bubbles: !0, composed: !0 }));
360
- }}
361
- >
362
- ${L(this.sidebarOpen === "close", () => c`menu`, () => c`menu_open`)}
363
- </schmancy-icon-button>
364
- </div>
365
- </slot>`)}
366
-
367
- <slot> </slot>
368
- </div>
369
- `;
370
- }
371
- };
372
- X([d({ context: tt, subscribe: !0 }), h()], N.prototype, "sidebarMode", 2), X([d({ context: et, subscribe: !0 }), h()], N.prototype, "sidebarOpen", 2), X([l({ type: Boolean })], N.prototype, "toggler", 2), N = X([y("schmancy-nav-drawer-appbar")], N);
373
- var At = Object.getOwnPropertyDescriptor;
374
- let nt = class extends z(O`
375
- :host {
376
- display: block;
377
- position: relative;
378
- inset: 0;
379
- overflow-y: auto;
380
- }
381
- `) {
382
- connectedCallback() {
383
- super.connectedCallback(), g(this, "scroll").pipe(m(this.disconnecting)).subscribe((t) => {
384
- this.parentElement.dispatchEvent(new CustomEvent("scroll", { detail: t, bubbles: !0, composed: !0 }));
385
- });
386
- }
387
- render() {
388
- return c` <slot></slot> `;
389
- }
390
- };
391
- nt = ((t, e, r, i) => {
392
- for (var n, s = i > 1 ? void 0 : i ? At(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = n(s) || s);
393
- return s;
394
- })([y("schmancy-nav-drawer-content")], nt);
395
- var Rt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, I = (t, e, r, i) => {
396
- for (var n, s = i > 1 ? void 0 : i ? Ut(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
397
- return i && s && Rt(e, r, s), s;
398
- };
399
- let f = class extends z(O`
400
- :host {
401
- display: flex;
402
- flex-grow: 1;
403
- overflow: hidden;
404
- /* Initially hide the component until it’s ready */
405
- visibility: hidden;
406
- }
407
- /* Once the component is ready, remove the hidden style */
408
- :host([data-ready]) {
409
- visibility: visible;
410
- }
411
- `) {
412
- constructor() {
413
- super(...arguments), this.fullscreen = !1, this.breakpoint = "md", this._initialized = !1;
414
- }
415
- firstUpdated() {
416
- this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), g(window, "resize").pipe(w((t) => t.target.innerWidth), w((t) => t >= f.BREAKPOINTS[this.breakpoint]), K(), R(100), m(this.disconnecting)).subscribe((t) => {
417
- t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
418
- }), g(window, p.NavDrawer_toggle).pipe(E((t) => {
419
- t.stopPropagation();
420
- }), w((t) => t.detail.state), K(), m(this.disconnecting), R(10)).subscribe((t) => {
421
- this.mode === "push" && t === "close" || (this.open = t);
422
- });
423
- }
424
- updateState(t) {
425
- const e = t >= f.BREAKPOINTS[this.breakpoint];
426
- this.mode = e ? "push" : "overlay", this.open = e ? "open" : "close";
427
- }
428
- render() {
429
- return this._initialized ? c`
430
- <schmancy-grid
431
- cols=${this.fullscreen ? "1fr" : "auto 1fr"}
432
- rows="1fr"
433
- flow="col"
434
- justify="stretch"
435
- align="stretch"
436
- ${Et()}
437
- >
438
- <slot></slot>
439
- </schmancy-grid>
440
- ` : lt;
441
- }
442
- };
443
- f.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, I([l({ type: Boolean })], f.prototype, "fullscreen", 2), I([l({ type: String, attribute: "breakpoint" })], f.prototype, "breakpoint", 2), I([W({ context: tt }), h()], f.prototype, "mode", 2), I([W({ context: et }), l()], f.prototype, "open", 2), I([h()], f.prototype, "_initialized", 2), f = I([y("schmancy-nav-drawer")], f);
444
- var Bt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, M = (t, e, r, i) => {
445
- for (var n, s = i > 1 ? void 0 : i ? Ft(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
446
- return i && s && Bt(e, r, s), s;
447
- };
448
- const H = "cubic-bezier(0.5, 0.01, 0.25, 1)";
449
- let S = class extends z() {
450
- constructor() {
451
- super(...arguments), this.width = "220px", this._initialized = !1;
452
- }
453
- firstUpdated() {
454
- this.mode === "overlay" ? this.drawerState === "close" ? (this.nav.style.transform = "translateX(-100%)", this.overlay.style.display = "none") : this.drawerState === "open" && (this.nav.style.transform = "translateX(0)", this.overlay.style.display = "block", this.overlay.style.opacity = "0.4") : this.mode === "push" && (this.nav.style.transform = "translateX(0)", this.overlay.style.display = "none"), this._initialized = !0;
455
- }
456
- updated(t) {
457
- this._initialized && (t.has("drawerState") || t.has("mode")) && (this.mode === "overlay" ? this.drawerState === "open" ? this.nav.style.transform !== "translateX(0)" && (this.openOverlay(), this.showNavDrawer()) : this.drawerState === "close" && this.nav.style.transform !== "translateX(-100%)" && (this.hideNavDrawer(), this.closeOverlay()) : this.mode === "push" && (this.nav.style.transform !== "translateX(0)" && this.showNavDrawer(), this.overlay.style.display !== "none" && this.closeOverlay()));
458
- }
459
- openOverlay() {
460
- this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: 0.4 }], { duration: 200, easing: H, fill: "forwards" });
461
- }
462
- closeOverlay() {
463
- this.overlay.animate([{ opacity: 0.4 }, { opacity: 0 }], { duration: 150, easing: H, fill: "forwards" }).onfinish = () => {
464
- this.overlay.style.display = "none";
465
- };
466
- }
467
- showNavDrawer() {
468
- this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], { duration: 200, easing: H, fill: "forwards" }).onfinish = () => {
469
- this.nav.style.transform = "translateX(0)";
470
- };
471
- }
472
- hideNavDrawer() {
473
- this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], { duration: 200, easing: H, fill: "forwards" }).onfinish = () => {
474
- this.nav.style.transform = "translateX(-100%)";
475
- };
476
- }
477
- handleOverlayClick() {
478
- window.dispatchEvent(new CustomEvent(p.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
479
- }
480
- render() {
481
- const t = { "p-2 max-w-[360px] w-fit h-full overflow-auto": !0, block: this.mode === "push", "fixed inset-0 z-50": this.mode === "overlay" }, e = { width: this.width };
482
- return c`
483
- <nav
484
- style=${this.styleMap(e)}
485
- class="${this.classMap({ ...t })}"
486
- ${B({ bgColor: o.sys.color.surface.container })}
487
- >
488
- <slot></slot>
489
- </nav>
490
- <div
491
- id="overlay"
492
- ${B({ bgColor: o.sys.color.scrim })}
493
- @click=${this.handleOverlayClick}
494
- class="${this.classMap({ "fixed inset-0 z-49 hidden": !0 })}"
495
- ></div>
496
- `;
497
- }
498
- };
499
- M([d({ context: tt, subscribe: !0 }), h()], S.prototype, "mode", 2), M([d({ context: et, subscribe: !0 }), h()], S.prototype, "drawerState", 2), M([F("#overlay")], S.prototype, "overlay", 2), M([F("nav")], S.prototype, "nav", 2), M([l({ type: String })], S.prototype, "width", 2), M([h()], S.prototype, "_initialized", 2), S = M([y("schmancy-nav-drawer-navbar")], S);
500
- const yt = "whereAreYouRicky", ut = "hereMorty", q = new class {
501
- constructor() {
502
- this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new Y(), this.find = (t) => rt([g(window, ut).pipe(ht((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), w((e) => e.detail.component), gt(1)), U(t).pipe(E(() => {
503
- window.dispatchEvent(new CustomEvent(yt, { detail: { id: t.id, callerID: t.uuid } }));
504
- }))]).pipe(w(([e]) => e), wt(0)), this.flip = (t) => {
505
- const { from: e, to: r } = t, i = r.element.style.zIndex;
506
- r.element.style.transformOrigin = "top left", r.element.style.setProperty("visibility", "visible"), r.element.style.zIndex = "1000";
507
- const n = [{ transform: `translate(${e.rect.left - r.rect.left}px, ${e.rect.top - r.rect.top}px) scale(${e.rect.width / r.rect.width}, ${e.rect.height / r.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
508
- r.element.animate(n, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
509
- r.element.style.zIndex = i, r.element.style.transformOrigin = "";
510
- };
511
- }, this.flipRequests.pipe(vt(1), w((t) => t.map(({ from: e, to: r, host: i }, n) => ({ from: e, to: r, host: i, i: n }))), xt((t) => rt(t.map((e) => U(this.flip(e)))))).subscribe();
512
- }
513
- }();
514
- function at(t) {
515
- return $t(50).pipe(Ot(() => t.getBoundingClientRect()), zt((e, r) => e.width === r.width && e.height === r.height && e.top === r.top && e.right === r.right && e.bottom === r.bottom && e.left === r.left), kt(1));
516
- }
517
- var Kt = Object.defineProperty, Lt = Object.getOwnPropertyDescriptor, A = (t, e, r, i) => {
518
- for (var n, s = i > 1 ? void 0 : i ? Lt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
519
- return i && s && Kt(e, r, s), s;
520
- };
521
- let _ = class extends z(O``) {
522
- constructor() {
523
- super(...arguments), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
524
- }
525
- get _slottedChildren() {
526
- return this.shadowRoot.querySelector("slot").assignedElements({ flatten: !0 });
527
- }
528
- connectedCallback() {
529
- if (this.id === void 0) throw new Error("id is required");
530
- super.connectedCallback(), G(g(window, St).pipe(E({ next: () => {
531
- this.dispatchEvent(new CustomEvent(Dt, { detail: { component: this }, bubbles: !0, composed: !0 }));
532
- } })), g(window, yt).pipe(E({ next: (t) => {
533
- t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(ut, { detail: { component: this }, bubbles: !0, composed: !0 }));
534
- } }))).pipe(m(this.disconnecting)).subscribe();
535
- }
536
- async firstUpdated() {
537
- U(q.activeTeleportations.get(this.id)).pipe(ht((t) => !!t), m(this.disconnecting), Ct()).subscribe({ next: (t) => {
538
- this.style.setProperty("visibility", "hidden"), at(this).pipe(m(this.disconnecting)).subscribe({ next: (e) => {
539
- q.activeTeleportations.set(this.id, e), q.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
540
- } });
541
- }, error: () => {
542
- this.style.setProperty("visibility", "visible"), at(this).pipe(m(this.disconnecting)).subscribe({ next: (t) => {
543
- q.activeTeleportations.set(this.id, t);
544
- } });
545
- }, complete: () => {
546
- } });
547
- }
548
- render() {
549
- return c`<slot></slot>`;
550
- }
551
- };
552
- A([l({ type: Number, reflect: !0 })], _.prototype, "uuid", 2), A([l({ type: String })], _.prototype, "id", 2), A([l({ type: Number })], _.prototype, "delay", 2), _ = A([y("schmancy-teleport")], _);
553
- var Vt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, x = (t, e, r, i) => {
554
- for (var n, s = i > 1 ? void 0 : i ? Yt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
555
- return i && s && Vt(e, r, s), s;
556
- };
557
- let b = class extends z() {
558
- constructor() {
559
- super(...arguments), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
560
- }
561
- render() {
562
- let t;
563
- t = this.src ? c`<img class="w-full h-full object-cover" src="${this.src}" alt="Avatar" />` : this.initials ? c`<span class="text-center font-medium">${this.initials.substring(0, 2).toUpperCase()}</span>` : this.icon ? c`<schmancy-icon>${this.icon}</schmancy-icon>` : c`<schmancy-icon>person</schmancy-icon>`;
564
- const e = { "relative flex items-center justify-center overflow-hidden": !0, [{ xs: "w-6 h-6 text-xs", sm: "w-8 h-8 text-sm", md: "w-10 h-10 text-base", lg: "w-12 h-12 text-lg", xl: "w-16 h-16 text-xl" }[this.size]]: !0, [{ circle: "rounded-full", square: "rounded-md" }[this.shape]]: !0, "border-2 border-surface-container": this.bordered }, r = this.getColorAttributes();
565
- return c`
566
- <div class="${this.classMap(e)}" ${r}>
567
- ${t} ${this.status !== "none" ? this.renderStatusIndicator() : ""}
568
- </div>
569
- `;
570
- }
571
- getColorAttributes() {
572
- const t = { primary: { bgColor: o.sys.color.primary.container, color: o.sys.color.primary.onContainer }, secondary: { bgColor: o.sys.color.secondary.container, color: o.sys.color.secondary.onContainer }, tertiary: { bgColor: o.sys.color.tertiary.container, color: o.sys.color.tertiary.onContainer }, success: { bgColor: o.sys.color.success.container, color: o.sys.color.success.onContainer }, error: { bgColor: o.sys.color.error.container, color: o.sys.color.error.onContainer }, neutral: { bgColor: o.sys.color.surface.container, color: o.sys.color.surface.on } };
573
- return B(t[this.color]);
574
- }
575
- renderStatusIndicator() {
576
- const t = { online: o.sys.color.success.default, offline: o.sys.color.surface.onVariant, busy: o.sys.color.error.default, away: o.sys.color.tertiary.default }, e = { "absolute bottom-0 right-0 rounded-full border-2 border-surface-default": !0, [{ xs: "w-1.5 h-1.5", sm: "w-2 h-2", md: "w-2.5 h-2.5", lg: "w-3 h-3", xl: "w-4 h-4" }[this.size]]: !0 };
577
- return c`
578
- <div class="${this.classMap(e)}" style="background-color: ${t[this.status]};"></div>
579
- `;
580
- }
581
- };
582
- x([l({ type: String })], b.prototype, "initials", 2), x([l({ type: String })], b.prototype, "src", 2), x([l({ type: String })], b.prototype, "icon", 2), x([l({ type: String })], b.prototype, "size", 2), x([l({ type: String })], b.prototype, "color", 2), x([l({ type: String })], b.prototype, "shape", 2), x([l({ type: Boolean })], b.prototype, "bordered", 2), x([l({ type: String })], b.prototype, "status", 2), b = x([y("schmancy-avatar")], b);
583
- export {
584
- cs as $,
585
- ut as H,
586
- $ as S,
587
- yt as W,
588
- ot as a,
589
- J as b,
590
- pt as c,
591
- mt as d,
592
- Q as e,
593
- Z as f,
594
- C as g,
595
- j as h,
596
- u as i,
597
- Xt as j,
598
- N as k,
599
- nt as l,
600
- tt as m,
601
- et as n,
602
- f as o,
603
- S as p,
604
- _ as q,
605
- b as r,
606
- ls as s,
607
- q as t
608
- };
609
- //# sourceMappingURL=avatar-CxDF7O9q.js.map