@cas-smartdesign/app-banner 0.2.4

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.
@@ -0,0 +1,12 @@
1
+ <svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="0.5" y="0.5" width="51" height="51" rx="5.5" fill="#E2001A"/>
3
+ <g clip-path="url(#clip0_2324_10889)">
4
+ <path d="M26 6C14.9583 6 6 14.9583 6 26C6 37.0417 14.9583 46 26 46C37.0417 46 46 37.0417 46 26C46 14.9583 37.05 6 26 6ZM29.4083 9.43333C29.5167 10.05 29.6 10.7667 29.6667 11.5167C29.3 11.5083 28.9583 11.5333 28.625 11.6C27.9333 10.9417 27.2333 10.3083 26.4833 9.725C27.05 9.55833 27.6417 9.45 28.2833 9.40833C28.6417 9.39167 29.025 9.40833 29.4 9.43333H29.4083ZM37.7917 13.6C38.7167 13.6 39.6 13.6333 40.4583 13.6917C42.55 16.1417 44.025 19.1333 44.6583 22.4167C42.6833 20.375 40.5333 18.625 38.2417 17.1667C38.3167 16.8167 38.375 16.45 38.375 16.075C38.375 15.225 38.1667 14.3917 37.8 13.6H37.7917ZM39.0417 12.35C38.3917 12.3333 37.7167 12.3083 37.0333 12.325C36.5083 11.6 35.8333 10.9417 35.05 10.375C35.3583 10.15 35.6583 9.975 35.9333 9.81667C37.1167 10.5417 38.2083 11.4 39.2 12.3667C39.1417 12.3667 39.0917 12.3583 39.0333 12.3583L39.0417 12.35ZM30.6833 9.61667C31.5083 9.79167 32.2917 10.0583 33 10.425C32.4917 10.8583 31.9667 11.3417 31.425 11.8667C31.2667 11.8083 31.1083 11.7417 30.9333 11.7C30.8667 10.9667 30.7833 10.2667 30.6833 9.625V9.61667ZM26.125 15.3667C26.3 15.8667 26.5917 16.325 27 16.725C26.3917 17.4667 25.7833 18.2333 25.1833 19.0417H25.1583C24.2167 18.325 23.475 17.45 23.025 16.4917C23.05 16.4833 23.075 16.475 23.1 16.4667C24.1 16.0417 25.1083 15.6917 26.125 15.3667ZM25.575 20.6583C26.8083 21.325 28.2333 21.8 29.7417 21.9583H29.7917C29.7 23.7 29.575 25.4917 29.375 27.3C29.225 28.6167 29.0333 29.9333 28.825 31.2333C26.5417 30.975 24.3083 30.3167 22.2667 29.3583C21.7167 29.1 21.175 28.825 20.65 28.525C21.3417 27.2 22.1 25.8917 22.8917 24.6167C23.7417 23.2417 24.6583 21.9333 25.575 20.6583ZM29.7417 20.8417C28.45 20.7 27.2417 20.325 26.2 19.75C26.8 18.95 27.4 18.1917 28 17.45C28.5667 17.7583 29.2083 17.975 29.9083 18.0583C29.9 18.9667 29.8833 19.8833 29.8417 20.8417H29.7417ZM31.175 18.0333C31.575 17.975 31.9417 17.8583 32.275 17.7C32.8417 18.5167 33.3917 19.35 33.8833 20.2417C33.0667 20.6083 32.1417 20.85 31.125 20.8917C31.1667 19.9083 31.175 18.9667 31.175 18.0333ZM32.7583 12.6417C32.6917 12.5833 32.6167 12.5333 32.5417 12.475C33.0833 11.9667 33.6083 11.5083 34.1083 11.1C34.65 11.4833 35.1333 11.925 35.5417 12.4C34.6333 12.45 33.7 12.525 32.7583 12.6417ZM29.9333 12.7667C31.4917 12.9333 32.8083 14.025 32.8083 15.15C32.8083 16.2083 31.5833 16.975 30.0667 16.8167C28.5083 16.65 27.1917 15.5583 27.1917 14.4333C27.1917 13.475 28.2 12.75 29.5333 12.75C29.6667 12.75 29.8 12.75 29.9333 12.775V12.7667ZM25.975 14.1083C24.85 14.4583 23.7333 14.8417 22.6167 15.3167C22.55 15 22.5167 14.7 22.5167 14.3833C22.5167 13.9083 22.5917 13.45 22.725 13.0333C23.8583 13.15 24.9833 13.3417 26.1 13.5667C26.0333 13.7417 25.9917 13.925 25.975 14.1167V14.1083ZM24.4917 19.9833C23.575 21.2583 22.6667 22.5833 21.8083 23.9667C21.025 25.2333 20.2667 26.525 19.5667 27.85C17.375 26.4167 15.5 24.6 14.075 22.5417C16.4167 20.1833 19.0583 18.3833 21.8333 17.05C22.425 18.1667 23.35 19.175 24.4917 19.9917V19.9833ZM20.0917 29.6417C20.625 29.95 21.1667 30.2417 21.7333 30.5C23.875 31.5 26.2 32.1833 28.6083 32.45C28.1083 35.2917 27.4917 38.0083 26.7083 40.3667C26.6333 40.6 26.5583 40.8167 26.475 41.0417C23.0083 40.5583 19.8083 39.4333 16.9667 37.9417C17.6167 35.25 18.7167 32.425 20.0917 29.6333V29.6417ZM27.9 40.7583C28.725 38.2917 29.35 35.475 29.85 32.5583C32.3833 32.6917 34.9833 32.3667 37.5333 31.5167C37.9083 34.2667 37.9667 37.1833 37.6667 40.2417C34.225 41.2333 30.8833 41.4917 27.7417 41.2083C27.7917 41.0583 27.85 40.9167 27.9 40.7667V40.7583ZM30.0833 31.3083C30.2833 30.025 30.4583 28.7333 30.6 27.425C30.8 25.5917 30.95 23.7583 31.0417 21.9833C32.275 21.9667 33.425 21.7667 34.425 21.3583C35.7833 24.075 36.7833 27.0667 37.3417 30.2917C34.925 31.125 32.4833 31.4333 30.075 31.3083H30.0833ZM34.9 19.6667C34.3917 18.75 33.825 17.875 33.2417 17.025C33.4833 16.775 33.6833 16.5 33.8167 16.1917C34.7583 16.6417 35.6917 17.125 36.5917 17.6583C36.25 18.45 35.65 19.1333 34.9 19.6667ZM34.0083 14.8917C33.975 14.5167 33.8833 14.1583 33.7083 13.8167C34.6 13.725 35.475 13.65 36.325 13.6167C36.7 14.35 36.925 15.1083 36.925 15.9083C36.925 16.0667 36.9167 16.225 36.9 16.375C35.9583 15.825 34.9833 15.3417 34.0083 14.8833V14.8917ZM33.9083 9.66667C32.8667 9.1 31.6917 8.65833 30.4417 8.44167C30.3667 8.09167 30.275 7.775 30.1833 7.475C31.7667 7.83333 33.275 8.39167 34.6833 9.125C34.4333 9.29167 34.1667 9.46667 33.9083 9.66667ZM27.3333 12.0833C27.1333 12.2083 26.95 12.3417 26.7833 12.5C25.625 12.2417 24.4583 12.025 23.2833 11.8833C23.7333 11.2333 24.3667 10.6833 25.1333 10.2667C25.9 10.8333 26.625 11.45 27.3333 12.0833ZM21.75 11.725C20.8167 11.65 19.875 11.5917 18.9333 11.5917C16.9667 11.5917 15 11.7583 13.0583 12.0667C15.2667 10.0167 17.9583 8.48333 20.95 7.66667C21.9917 8.20833 23.0167 8.79167 23.9917 9.45C23.025 10.0333 22.25 10.8083 21.75 11.7167V11.725ZM18.9333 12.8167C19.7083 12.8167 20.5 12.8417 21.275 12.8917C21.1667 13.3167 21.0917 13.7583 21.0917 14.2167C21.0917 14.775 21.1917 15.3167 21.35 15.8583C18.5083 17.225 15.775 19.0833 13.3583 21.4833C13.0917 21.0333 12.85 20.5667 12.6333 20.1C11.7417 18.2167 11.2167 16.1917 11.1583 14.1C11.2917 13.9333 11.425 13.775 11.5667 13.6167C13.9917 13.1 16.4583 12.8167 18.9333 12.8167ZM13.15 23.4667C14.6833 25.6167 16.6833 27.4833 18.9833 28.9583C17.5917 31.725 16.45 34.55 15.7583 37.2917C15.4083 37.0833 15.0583 36.8833 14.7167 36.6667C12.125 35.0167 9.96667 33.0583 8.30833 31.1167C9.625 28.1083 11.2583 25.5667 13.15 23.4583V23.4667ZM16.6667 39.225C19.4583 40.65 22.6083 41.7167 25.9917 42.2167C25.5833 43.225 25.1417 44.1417 24.675 44.9417C21.625 44.7333 18.775 43.8083 16.2917 42.3333C16.3333 41.325 16.4667 40.2917 16.6667 39.2167V39.225ZM27.3167 42.4C30.2417 42.6917 33.325 42.525 36.5083 41.7917C33.5333 43.7833 29.9667 44.9583 26.1333 44.9917C26.5583 44.1917 26.9583 43.3417 27.325 42.4H27.3167ZM35.4667 20.7833C36.4833 20.1667 37.3 19.3667 37.7833 18.3833C40.3583 20.05 42.7583 22.1 44.9 24.55C44.925 24.8667 44.9417 25.1833 44.95 25.5083C42.9083 27.4667 40.725 28.9 38.4917 29.8417C37.9 26.575 36.8583 23.5417 35.475 20.775L35.4667 20.7833ZM28.8083 7.20833C28.9333 7.525 29.0667 7.88333 29.175 8.31667C27.7583 8.24167 26.4417 8.44167 25.2917 8.86667C24.4917 8.3 23.65 7.775 22.8 7.275C23.8417 7.1 24.9083 7 26 7C26.9583 7 27.8917 7.075 28.8083 7.20833ZM10.075 15.6583C10.2917 17.4 10.7833 19.0833 11.525 20.6583C11.8083 21.2583 12.1333 21.8583 12.4917 22.425C10.55 24.5417 8.825 27.05 7.44167 30.025C7.15833 28.725 7.00833 27.375 7.00833 25.9917C7.00833 22.1833 8.14167 18.6333 10.0833 15.65L10.075 15.6583ZM8.33333 32.975C9.91667 34.6583 11.825 36.2917 14.075 37.7167C14.5417 38.0083 15.0167 38.3 15.5083 38.575C15.3 39.575 15.1583 40.5667 15.0833 41.5333C12.075 39.4083 9.70833 36.4417 8.33333 32.975ZM39.0333 39.8083C39.0333 39.8083 38.9917 39.825 38.9667 39.8333C39.225 36.7833 39.1333 33.85 38.7333 31.0833C40.8833 30.225 42.975 28.95 44.95 27.25C44.625 32.1833 42.4167 36.6083 39.0333 39.8083Z" fill="white"/>
5
+ </g>
6
+ <rect x="0.5" y="0.5" width="51" height="51" rx="5.5" stroke="#F3F3F3"/>
7
+ <defs>
8
+ <clipPath id="clip0_2324_10889">
9
+ <rect width="40" height="40" fill="white" transform="translate(6 6)"/>
10
+ </clipPath>
11
+ </defs>
12
+ </svg>
@@ -0,0 +1,25 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge" />
7
+ <style>
8
+ .markdown-body {
9
+ box-sizing: border-box;
10
+ min-width: 200px;
11
+ max-width: 980px;
12
+ margin: 0 auto !important;
13
+ padding-bottom: 45px;
14
+ }
15
+ </style>
16
+ <script type="module" crossorigin src="./doc.mjs"></script>
17
+ <link rel="stylesheet" crossorigin href="./doc.css">
18
+ </head>
19
+
20
+ <body>
21
+ <div class="markdown-body">
22
+ <div id="markdown-container"></div>
23
+ </div>
24
+ </body>
25
+ </html>
@@ -0,0 +1,14 @@
1
+ <svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="0.5" y="0.5" width="51" height="51" rx="5.5" fill="white"/>
3
+ <g clip-path="url(#clip0_2324_10888)">
4
+ <path d="M27.2078 23.6332C26.8652 22.7078 24.4318 23.4152 24.7521 24.2916C26.3092 28.5311 26.5316 32.6817 25.0013 36.9613C24.6939 37.9285 24.2978 38.8653 23.8179 39.7595C22.9816 41.2009 22.7458 40.5425 21.816 39.3147C20.4814 37.5574 19.6584 35.4176 18.702 33.438C18.2571 32.5483 16.7713 33.1622 16.3219 33.7094C14.4535 35.9782 13.7195 39.0477 12.4516 41.6635C12.1135 42.3531 11.7576 43.2695 11.2149 43.83C10.77 44.1637 10.5787 43.9679 10.5342 43.9057C10.5206 43.876 10.5042 43.8477 10.4853 43.8211C9.95147 43.007 9.92033 41.5345 9.83135 40.6003C9.1863 33.8562 10.8679 25.8486 15.3076 20.6081C16.2597 19.5004 13.893 19.4559 13.3146 20.141C8.3722 25.9821 5.574 36.2762 7.80722 43.8033C8.57684 46.3969 11.0236 46.6594 12.8564 44.7731C15.1386 42.4243 15.7703 39.021 17.1983 36.1205C18.9021 39.6394 22.0562 45.1424 25.2815 41.4989C26.883 39.6839 27.8884 35.9159 28.3155 33.6026C28.9472 30.1771 28.3956 26.8673 27.2078 23.6332Z" fill="#E2001A"/>
5
+ <path d="M43.6144 35.2574C41.533 36.7307 39.2228 37.8505 36.7769 38.5717C34.6682 39.1767 30.8379 40.6581 30.8735 37.4195C31.1178 37.5201 31.3823 37.562 31.6458 37.542C31.9092 37.5219 32.1643 37.4403 32.3905 37.3038C34.0587 36.1694 35.7581 34.7681 36.6434 32.8997C37.1328 31.8587 37.8623 29.8256 36.6879 28.9448C34.1967 27.0719 30.1395 32.0856 29.2942 33.865C28.102 36.3741 27.3813 41.1074 31.1805 41.3076C36.074 41.5656 41.3367 39.2078 45.2649 36.4719C46.6262 35.5155 44.6554 34.5323 43.6144 35.2574ZM33.6406 31.4272C33.7488 31.3478 33.8617 31.275 33.9787 31.2092C34.2423 31.0361 34.5345 30.9111 34.8417 30.8399H34.8684C35.0019 30.8933 34.9574 31.2448 34.6549 31.8809C34.4001 32.5274 34.0309 33.1226 33.5649 33.6381C32.856 34.4899 32.022 35.2294 31.0915 35.8313C31.4741 34.1764 32.3549 32.1523 33.6361 31.4183L33.6406 31.4272Z" fill="#E2001A"/>
6
+ <path d="M33.9802 17.7329C33.6984 17.5918 33.3759 17.2996 33.2153 17.0393L33.0988 16.8506L32.967 16.9638C32.6048 17.275 32.2319 17.4813 31.7998 17.6098C31.4516 17.7137 30.709 17.7519 30.2747 17.6886C29.1244 17.5209 28.3818 16.8632 28.1724 15.8264C28.0962 15.4489 28.1208 14.6868 28.2205 14.3445C28.6261 12.9512 30.0471 12.1913 32.2483 12.1903H32.7548V11.8707C32.7548 10.7673 32.4969 10.4357 31.6457 10.4446C30.97 10.4517 30.0836 10.7717 29.4201 11.248C29.2864 11.3441 29.165 11.4098 29.15 11.395C29.1349 11.3802 28.9352 11.0723 28.7056 10.7112L28.2882 10.0542L28.5523 9.89995C29.6145 9.27976 30.4778 8.98478 31.4715 8.90248C33.0763 8.76977 34.1333 9.33627 34.4672 10.5087C34.5376 10.7549 34.5385 10.783 34.523 12.222C34.4878 15.4859 34.4972 15.7767 34.652 16.0806C34.7188 16.2119 34.9814 16.467 35.1284 16.5429C35.1842 16.5718 35.2288 16.6063 35.2274 16.6187C35.2213 16.6745 34.3082 17.8316 34.2637 17.8403C34.2365 17.8455 34.1092 17.7976 33.9802 17.7329ZM31.6455 16.2252C31.9897 16.1056 32.3857 15.7971 32.5872 15.4927L32.6727 15.3633L32.6943 14.4596C32.706 13.9625 32.71 13.5498 32.7028 13.5423C32.6723 13.51 31.7937 13.543 31.5233 13.5864C31.0005 13.6708 30.6933 13.804 30.4705 14.0432C30.1554 14.3818 30.071 14.6331 30.0954 15.1607C30.1141 15.5846 30.1709 15.7633 30.3498 15.9664C30.5718 16.2184 30.8117 16.3092 31.212 16.2928C31.362 16.2867 31.5573 16.2562 31.6455 16.2252ZM43.926 17.6963C43.6688 17.6612 43.2801 17.5496 43.0995 17.4583C42.8268 17.3207 42.4875 16.9884 42.3642 16.7378C42.1799 16.3638 42.1766 16.2979 42.1752 13.2746V10.518H41.2103V9.13532H42.1646L42.185 8.42016C42.2038 7.7669 42.2523 7.1507 42.2875 7.11529C42.3079 7.09466 44.0438 6.69229 44.1118 6.69229C44.1547 6.69229 44.165 6.71105 44.1528 6.76498C44.1176 6.92138 44.0398 7.90689 44.0224 8.41852C44.0123 8.7156 43.9978 8.99862 43.9903 9.04739L43.9762 9.13579H44.9882C45.565 9.13579 46 9.14845 46 9.16486C46 9.18081 45.8863 9.48844 45.7472 9.8479L45.4945 10.5021L44.7165 10.5108L43.9385 10.5194L43.9502 13.0828C43.9631 15.9176 43.9584 15.8531 44.1706 16.0946C44.383 16.3366 44.9538 16.3633 45.4729 16.1556C45.5878 16.1096 45.6886 16.0791 45.6968 16.0876C45.7055 16.0963 45.766 16.3737 45.8316 16.7043C45.9681 17.3913 45.9916 17.3127 45.6042 17.4635C45.0555 17.6769 44.4259 17.7646 43.9265 17.6968L43.926 17.6963ZM9.92488 17.6553C9.12655 17.5576 8.3509 17.3236 7.63168 16.9636C7.36625 16.8306 7.11583 16.6958 7.0748 16.6642L7 16.6065L7.37681 15.8688C7.58432 15.4632 7.75783 15.126 7.76276 15.1197C7.76745 15.1133 7.89571 15.183 8.04741 15.2749C8.38647 15.4796 8.89693 15.7213 9.23434 15.8367C10.0264 16.1078 10.977 16.172 11.6495 15.9997C11.9808 15.9145 12.3475 15.7136 12.5625 15.4983C12.895 15.1661 13.0326 14.7867 13.0099 14.2666C12.9991 14.0214 12.9806 13.9384 12.895 13.7564C12.7168 13.3749 12.3627 13.0633 11.8633 12.8471C11.7278 12.7885 11.1962 12.6173 10.6815 12.4661C9.20104 12.0311 8.75178 11.8147 8.2078 11.2733C7.92525 10.9926 7.86546 10.9131 7.73579 10.6465C7.50249 10.1658 7.46942 9.99468 7.47177 9.28022C7.47341 8.75968 7.48349 8.63307 7.54211 8.4225C7.85022 7.31178 8.59445 6.53871 9.71947 6.16096C10.9622 5.74406 12.664 5.89272 13.9635 6.53191C14.3258 6.71011 14.8904 7.06535 14.8742 7.10497C14.8461 7.17391 14.0254 8.45838 14.009 8.45932C13.9982 8.46002 13.8683 8.38804 13.7194 8.29917C13.1145 7.9376 12.5902 7.71813 12.0664 7.60746C11.7177 7.5336 11.0175 7.53125 10.7251 7.60277C9.91948 7.79973 9.47609 8.35662 9.51759 9.11867C9.54033 9.53369 9.68641 9.78271 10.048 10.0228C10.3254 10.2069 10.6684 10.3377 11.6007 10.6146C12.6394 10.9232 12.8469 10.9968 13.2397 11.1943C14.1565 11.6555 14.7357 12.3087 14.9959 13.1768C15.1108 13.559 15.1408 14.3215 15.0576 14.7337C14.9275 15.3771 14.6463 15.9108 14.176 16.4067C13.5968 17.0173 12.88 17.3974 11.9362 17.5941C11.6799 17.6473 11.4696 17.6628 10.8771 17.6715C10.4705 17.6773 10.0414 17.6703 9.9237 17.6555L9.92488 17.6553ZM16.3913 14.0781C16.3913 11.8405 16.3791 10.5628 16.3561 10.3734C16.3261 10.1201 16.2307 9.7745 16.097 9.43404C16.0748 9.3773 16.0661 9.32149 16.0776 9.30977C16.0893 9.29805 16.4682 9.19863 16.9203 9.08842C17.5135 8.94398 17.7503 8.89849 17.7714 8.92429C17.8472 9.01526 17.9961 9.38293 18.0334 9.57074C18.0767 9.78881 18.1126 9.81929 18.2062 9.71565C18.4242 9.47461 19.1706 9.08068 19.6074 8.97611C19.9444 8.89545 20.4309 8.88935 20.7291 8.96204C21.268 9.09335 21.7688 9.45444 22.0849 9.93934L22.1365 10.0191L22.287 9.89057C22.8662 9.39746 23.3483 9.12242 23.8721 8.98713C24.1553 8.91397 24.2322 8.9074 24.6372 8.92007C25.0093 8.93179 25.1319 8.94914 25.3467 9.01855C25.7864 9.16158 26.1716 9.46171 26.4054 9.84485C26.5538 10.0873 26.6985 10.538 26.7402 10.8883C26.7627 11.0759 26.7749 12.2818 26.7749 14.3358V17.4942H24.9746V14.5445C24.9746 12.9226 24.9605 11.4663 24.9441 11.3087C24.8864 10.7619 24.7059 10.5509 24.2719 10.5232C23.7624 10.4908 23.2906 10.7248 22.7009 11.3012L22.4678 11.5293V17.4945H20.7022L20.6923 14.336C20.683 11.3739 20.6783 11.1664 20.6232 11.0011C20.5106 10.6639 20.252 10.5267 19.7884 10.5579C19.3598 10.5865 18.8951 10.8057 18.4092 11.2081L18.1921 11.3877V17.4945H16.3918L16.3913 14.0781ZM36.3787 13.9656C36.3681 10.5117 36.3665 10.4313 36.3004 10.1483C36.2628 9.98882 36.1887 9.73605 36.135 9.58622C36.0811 9.43615 36.0403 9.31094 36.0436 9.30789C36.0469 9.30461 36.4188 9.20613 36.8694 9.08912C37.3203 8.97189 37.7124 8.86872 37.7408 8.86051C37.8294 8.83354 37.971 9.20636 38.1054 9.82023C38.1251 9.9105 38.1253 9.9105 38.3628 9.67063C38.7567 9.27296 39.1788 9.02347 39.626 8.92382C39.9899 8.84292 40.6361 8.88583 40.8183 9.00284C40.8523 9.02464 40.8009 9.20402 40.5721 9.86267C40.4692 10.1602 40.3649 10.4572 40.2593 10.7537C40.2429 10.7954 40.2159 10.8069 40.1678 10.7935C39.7894 10.684 39.7345 10.6772 39.5174 10.7119C39.1915 10.764 38.9155 10.9089 38.6693 11.1584C38.5544 11.2749 38.4261 11.4402 38.3844 11.5256C38.2179 11.8679 38.2203 11.8163 38.2203 14.7539V17.4945H36.3899L36.3791 13.9663L36.3787 13.9656Z" fill="#E30917"/>
7
+ </g>
8
+ <rect x="0.5" y="0.5" width="51" height="51" rx="5.5" stroke="#F3F3F3"/>
9
+ <defs>
10
+ <clipPath id="clip0_2324_10888">
11
+ <rect width="39.0698" height="40" fill="white" transform="translate(7 6)"/>
12
+ </clipPath>
13
+ </defs>
14
+ </svg>
@@ -0,0 +1,192 @@
1
+ {
2
+ "@cypress/vite-dev-server@5.0.7": {
3
+ "licenses": "MIT",
4
+ "repository": "https://github.com/cypress-io/cypress",
5
+ "licenseUrl": "https://github.com/cypress-io/cypress/tree/develop/npm/vite-dev-server#readme"
6
+ },
7
+ "@rollup/plugin-node-resolve@15.2.3": {
8
+ "licenses": "MIT",
9
+ "repository": "https://github.com/rollup/plugins",
10
+ "licenseUrl": "https://github.com/rollup/plugins/raw/HEAD/LICENSE"
11
+ },
12
+ "@types/node@20.10.6": {
13
+ "licenses": "MIT",
14
+ "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
15
+ "licenseUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/raw/HEAD/LICENSE"
16
+ },
17
+ "@types/postcss-prefix-selector@1.16.3": {
18
+ "licenses": "MIT",
19
+ "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
20
+ "licenseUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/raw/HEAD/LICENSE"
21
+ },
22
+ "@typescript-eslint/eslint-plugin@6.17.0": {
23
+ "licenses": "MIT",
24
+ "repository": "https://github.com/typescript-eslint/typescript-eslint",
25
+ "licenseUrl": "https://github.com/typescript-eslint/typescript-eslint/raw/HEAD/LICENSE"
26
+ },
27
+ "@typescript-eslint/parser@6.17.0": {
28
+ "licenses": "BSD-2-Clause",
29
+ "repository": "https://github.com/typescript-eslint/typescript-eslint",
30
+ "licenseUrl": "https://github.com/typescript-eslint/typescript-eslint/raw/HEAD/LICENSE"
31
+ },
32
+ "@vitest/coverage-v8@1.1.1": {
33
+ "licenses": "MIT",
34
+ "repository": "https://github.com/vitest-dev/vitest",
35
+ "licenseUrl": "https://github.com/vitest-dev/vitest/raw/HEAD/LICENSE"
36
+ },
37
+ "@vitest/ui@1.1.1": {
38
+ "licenses": "MIT",
39
+ "repository": "https://github.com/vitest-dev/vitest",
40
+ "licenseUrl": "https://github.com/vitest-dev/vitest/raw/HEAD/LICENSE"
41
+ },
42
+ "axe-core@4.8.3": {
43
+ "licenses": "MPL-2.0",
44
+ "repository": "https://github.com/dequelabs/axe-core",
45
+ "licenseUrl": "https://github.com/dequelabs/axe-core/raw/HEAD/LICENSE"
46
+ },
47
+ "cypress-axe@1.5.0": {
48
+ "licenses": "MIT",
49
+ "repository": "https://github.com/component-driven/cypress-axe",
50
+ "licenseUrl": "https://github.com/component-driven/cypress-axe/raw/HEAD/License.md"
51
+ },
52
+ "cypress-real-events@1.13.0": {
53
+ "licenses": "MIT",
54
+ "repository": "https://github.com/dmtrKovalenko/cypress-real-events",
55
+ "licenseUrl": "https://github.com/dmtrKovalenko/cypress-real-events"
56
+ },
57
+ "cypress@13.6.2": {
58
+ "licenses": "MIT",
59
+ "repository": "https://github.com/cypress-io/cypress",
60
+ "licenseUrl": "https://cypress.io"
61
+ },
62
+ "esbuild@0.19.11": {
63
+ "licenses": "MIT",
64
+ "repository": "https://github.com/evanw/esbuild",
65
+ "licenseUrl": "https://github.com/evanw/esbuild/raw/HEAD/LICENSE.md"
66
+ },
67
+ "eslint-config-google@0.14.0": {
68
+ "licenses": "Apache-2.0",
69
+ "repository": "https://github.com/google/eslint-config-google",
70
+ "licenseUrl": "https://github.com/google/eslint-config-google/raw/HEAD/LICENSE"
71
+ },
72
+ "eslint-config-prettier@9.1.0": {
73
+ "licenses": "MIT",
74
+ "repository": "https://github.com/prettier/eslint-config-prettier",
75
+ "licenseUrl": "https://github.com/prettier/eslint-config-prettier/raw/HEAD/LICENSE"
76
+ },
77
+ "eslint@8.56.0": {
78
+ "licenses": "MIT",
79
+ "repository": "https://github.com/eslint/eslint",
80
+ "licenseUrl": "https://github.com/eslint/eslint/raw/HEAD/LICENSE"
81
+ },
82
+ "github-markdown-css@5.5.0": {
83
+ "licenses": "MIT",
84
+ "repository": "https://github.com/sindresorhus/github-markdown-css",
85
+ "licenseUrl": "https://github.com/sindresorhus/github-markdown-css/raw/HEAD/license"
86
+ },
87
+ "highlight.js@11.9.0": {
88
+ "licenses": "BSD-3-Clause",
89
+ "repository": "https://github.com/highlightjs/highlight.js",
90
+ "licenseUrl": "https://github.com/highlightjs/highlight.js/raw/HEAD/LICENSE"
91
+ },
92
+ "junit-report-builder@3.1.0": {
93
+ "licenses": "MIT",
94
+ "repository": "https://github.com/davidparsson/junit-report-builder",
95
+ "licenseUrl": "https://github.com/davidparsson/junit-report-builder/raw/HEAD/LICENSE"
96
+ },
97
+ "lint-staged@15.2.0": {
98
+ "licenses": "MIT",
99
+ "repository": "https://github.com/okonet/lint-staged",
100
+ "licenseUrl": "https://github.com/okonet/lint-staged/raw/HEAD/LICENSE"
101
+ },
102
+ "lit@2.8.0": {
103
+ "licenses": "BSD-3-Clause",
104
+ "repository": "https://github.com/lit/lit",
105
+ "licenseUrl": "https://github.com/lit/lit/raw/HEAD/LICENSE"
106
+ },
107
+ "marked@11.1.1": {
108
+ "licenses": "MIT",
109
+ "repository": "https://github.com/markedjs/marked",
110
+ "licenseUrl": "https://github.com/markedjs/marked/raw/HEAD/LICENSE.md"
111
+ },
112
+ "postcss-prefix-selector@1.16.0": {
113
+ "licenses": "MIT",
114
+ "repository": "https://github.com/RadValentin/postcss-prefix-selector",
115
+ "licenseUrl": "https://github.com/RadValentin/postcss-prefix-selector/raw/HEAD/LICENSE"
116
+ },
117
+ "postcss@8.4.32": {
118
+ "licenses": "MIT",
119
+ "repository": "https://github.com/postcss/postcss",
120
+ "licenseUrl": "https://github.com/postcss/postcss/raw/HEAD/LICENSE"
121
+ },
122
+ "prettier@3.1.1": {
123
+ "licenses": "MIT",
124
+ "repository": "https://github.com/prettier/prettier",
125
+ "licenseUrl": "https://github.com/prettier/prettier/raw/HEAD/LICENSE"
126
+ },
127
+ "resolve-pkg@2.0.0": {
128
+ "licenses": "MIT",
129
+ "repository": "https://github.com/sindresorhus/resolve-pkg",
130
+ "licenseUrl": "https://github.com/sindresorhus/resolve-pkg/raw/HEAD/license"
131
+ },
132
+ "sass@1.69.6": {
133
+ "licenses": "MIT",
134
+ "repository": "https://github.com/sass/dart-sass",
135
+ "licenseUrl": "https://github.com/sass/dart-sass/raw/HEAD/LICENSE"
136
+ },
137
+ "stylelint-config-recommended-scss@14.0.0": {
138
+ "licenses": "MIT",
139
+ "repository": "https://github.com/stylelint-scss/stylelint-config-recommended-scss",
140
+ "licenseUrl": "https://github.com/stylelint-scss/stylelint-config-recommended-scss/raw/HEAD/LICENSE"
141
+ },
142
+ "stylelint-config-standard@36.0.0": {
143
+ "licenses": "MIT",
144
+ "repository": "https://github.com/stylelint/stylelint-config-standard",
145
+ "licenseUrl": "https://github.com/stylelint/stylelint-config-standard/raw/HEAD/LICENSE"
146
+ },
147
+ "stylelint-scss@6.0.0": {
148
+ "licenses": "MIT",
149
+ "repository": "https://github.com/stylelint-scss/stylelint-scss",
150
+ "licenseUrl": "https://github.com/stylelint-scss/stylelint-scss/raw/HEAD/LICENSE"
151
+ },
152
+ "stylelint@16.1.0": {
153
+ "licenses": "MIT",
154
+ "repository": "https://github.com/stylelint/stylelint",
155
+ "licenseUrl": "https://github.com/stylelint/stylelint/raw/HEAD/LICENSE"
156
+ },
157
+ "tsup@8.0.1": {
158
+ "licenses": "MIT",
159
+ "repository": "https://github.com/egoist/tsup",
160
+ "licenseUrl": "https://github.com/egoist/tsup/raw/HEAD/LICENSE"
161
+ },
162
+ "turbo@1.11.2": {
163
+ "licenses": "MPL-2.0",
164
+ "repository": "https://github.com/vercel/turbo",
165
+ "licenseUrl": "https://github.com/vercel/turbo/raw/HEAD/LICENSE"
166
+ },
167
+ "typescript@5.3.3": {
168
+ "licenses": "Apache-2.0",
169
+ "repository": "https://github.com/Microsoft/TypeScript",
170
+ "licenseUrl": "https://github.com/Microsoft/TypeScript/raw/HEAD/LICENSE.txt"
171
+ },
172
+ "vite-tsconfig-paths@4.2.3": {
173
+ "licenses": "MIT",
174
+ "repository": "https://github.com/aleclarson/vite-tsconfig-paths",
175
+ "licenseUrl": "https://github.com/aleclarson/vite-tsconfig-paths/raw/HEAD/LICENSE"
176
+ },
177
+ "vite@5.0.10": {
178
+ "licenses": "MIT",
179
+ "repository": "https://github.com/vitejs/vite",
180
+ "licenseUrl": "https://github.com/vitejs/vite/raw/HEAD/LICENSE.md"
181
+ },
182
+ "vitest@1.1.1": {
183
+ "licenses": "MIT",
184
+ "repository": "https://github.com/vitest-dev/vitest",
185
+ "licenseUrl": "https://github.com/vitest-dev/vitest/raw/HEAD/LICENSE.md"
186
+ },
187
+ "yargs@17.7.2": {
188
+ "licenses": "MIT",
189
+ "repository": "https://github.com/yargs/yargs",
190
+ "licenseUrl": "https://github.com/yargs/yargs/raw/HEAD/LICENSE"
191
+ }
192
+ }
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@cas-smartdesign/app-banner",
3
+ "version": "0.2.4",
4
+ "description": "A popover element that is shown when deeplinks to SmartDesign are opened on mobile devices. It contains a link to open the page in the mobile app instead of the system broswer of the mobile device.",
5
+ "main": "dist/app-banner-with-externals.js",
6
+ "module": "dist/app-banner.mjs",
7
+ "types": "dist/app-banner.d.ts",
8
+ "license": "SEE LICENSE IN LICENSE",
9
+ "dependencies": {
10
+ "lit": "^2.8.0",
11
+ "@cas-smartdesign/button": "^5.0.1"
12
+ },
13
+ "files": [
14
+ "dist",
15
+ "npm-third-party-licenses.json"
16
+ ],
17
+ "publishConfig": {
18
+ "registry": "https://registry.npmjs.org/",
19
+ "access": "public"
20
+ },
21
+ "devDependencies": {
22
+ "@cas-smartdesign/element-preview": "^0.2.1",
23
+ "@cas-smartdesign/license-generator": "^1.6.1"
24
+ },
25
+ "scripts": {
26
+ "version": "pnpm version",
27
+ "generate-declaration": "tsc -p tsconfig.types.json",
28
+ "build:no-license": "vite build && pnpm generate-declaration && vite build --mode documentation",
29
+ "build": "pnpm generate-license && pnpm build:no-license",
30
+ "dev": "vite",
31
+ "generate-license": "sd-license-generator --r ../../"
32
+ }
33
+ }
package/readme.md ADDED
@@ -0,0 +1,37 @@
1
+ # @cas-smartdesign/app-banner
2
+
3
+ An element that functions as an app banner and can be used to reference another page.
4
+
5
+ ## Usage Examples
6
+
7
+ - In the SmartWe tenant and login mobile page to link to the mobile App
8
+ - In the Cas GenisisWorld tenant and login mobile page to link to the mobile App
9
+
10
+ ## Implementation steps
11
+
12
+ 1. Complete the installation steps in the menu tab <b>Installation</b>
13
+ 2. Add the tag <b>&lt;sd-app-banner></b> with the parameters from the [Chapter Properties](#properties)
14
+ <br>
15
+ <pre>&lt;sd-app-banner
16
+ url=<< Your link to the application >>
17
+ message=<< Titel of your app banner >>
18
+ verticalAlignment=<< "top" or "bottom" or "" >>
19
+ icon=""<br>>&lt;/sd-app-banner></pre>
20
+
21
+ ## Properties
22
+
23
+ - `message`: string
24
+ - The message that is shown to the app-banner.
25
+ - `messageAppButton`: string
26
+ - The message that is used as a caption for open app button.
27
+ - `url`: string
28
+ - The URL shall be opened when the button is clicked.
29
+ - `icon`: string
30
+ - The path to an image that will be shown within the app-banner.
31
+ - `verticalAlignment`: string
32
+ - The option to set a fixed position for the app-banner:
33
+ - If you want to place it at the top, use "top"
34
+ - If you want to place it at the bottom, use "bottom"
35
+ - If this attribute's value is empty, you can apply your own CSS style. See in the second example.
36
+
37
+ ## Examples