@useinsider/ab-components 0.0.101 → 0.0.103-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ab-components.cjs.js +3 -3
- package/dist/ab-components.cjs.js.map +1 -1
- package/dist/ab-components.css +1 -1
- package/dist/ab-components.es.js +1034 -962
- package/dist/ab-components.es.js.map +1 -1
- package/dist/ab-components.iife.js +3 -3
- package/dist/ab-components.iife.js.map +1 -1
- package/dist/ab-components.umd.js +3 -3
- package/dist/ab-components.umd.js.map +1 -1
- package/dist/icons.svg +50 -0
- package/dist/index.d.ts +26 -4
- package/package.json +4 -4
package/dist/icons.svg
CHANGED
|
@@ -493,4 +493,54 @@
|
|
|
493
493
|
<symbol viewBox="0 0 40 40" fill="none" id="line-architect-test-journey">
|
|
494
494
|
<path d="M20.8998 11.2939C21.2916 10.902 21.9268 10.9021 22.3187 11.2939L28.7064 17.6806C29.0983 18.0725 29.0984 18.7085 28.7064 19.1005C28.3144 19.4924 27.6784 19.4924 27.2865 19.1005L26.5775 18.3905L16.9964 27.9706C15.6247 29.3424 13.4004 29.3424 12.0287 27.9706C10.6572 26.5988 10.657 24.3745 12.0287 23.0028L21.6097 13.4228L20.8998 12.7128C20.5081 12.3209 20.508 11.6858 20.8998 11.2939ZM15.8714 21.9999H20.1292L25.1576 16.9716L23.0287 14.8417L15.8714 21.9999Z" fill="currentColor"/>
|
|
495
495
|
</symbol>
|
|
496
|
+
<symbol width="169" height="142" viewBox="0 0 169 142" fill="none" id="no-personalization">
|
|
497
|
+
<path opacity="0.6" d="M102.48 124.356C96.2401 120.864 79.6839 113.564 72.1858 110.351C48.0591 100.166 20.3646 115.095 3.67531 82.7207C-9.67611 56.8211 16.4941 26.5654 31.9136 18.1383C55.2544 4.86109 117.344 -2.53759 141.412 34.5234C174.898 86.0878 144.748 115.444 134.952 123.992C125.156 132.54 110.281 128.721 102.48 124.356Z" fill="#DCDEE6"/>
|
|
498
|
+
<path opacity="0.7" d="M93.4483 129.603C88.0019 124.424 73.0125 112.655 66.1986 107.417C44.2313 90.7181 11.7099 98.2268 3.46534 61.293C-3.13028 31.7459 41.0349 7.97875 59.1733 3.68296C98.3997 -5.60716 146.885 8.88776 161.417 52.5031C180.518 109.833 148.056 132.776 135.656 138.707C121.76 145.353 100.256 136.076 93.4483 129.603Z" stroke="#91949F" stroke-width="2" stroke-linecap="round" stroke-dasharray="5 8"/>
|
|
499
|
+
<path d="M52.9695 18.7587C53.3025 17.9146 54.4971 17.9146 54.8301 18.7587L55.3244 20.0121C55.426 20.2698 55.63 20.4738 55.8877 20.5755L57.1411 21.0698C57.9852 21.4027 57.9852 22.5974 57.1411 22.9303L55.8878 23.4246C55.63 23.5262 55.426 23.7302 55.3244 23.988L54.8301 25.2413C54.4971 26.0855 53.3025 26.0855 52.9695 25.2413L52.4752 23.988C52.3736 23.7302 52.1696 23.5262 51.9119 23.4246L50.6585 22.9303C49.8144 22.5974 49.8144 21.4027 50.6585 21.0698L51.9119 20.5755C52.1696 20.4738 52.3736 20.2698 52.4752 20.0121L52.9695 18.7587Z" fill="white"/>
|
|
500
|
+
<path d="M148.58 10.0693L143.535 11.4648L144.933 6.41992L148.58 10.0693Z" stroke="#DCDEE6" stroke-width="2"/>
|
|
501
|
+
<path d="M47.4194 123.469L52.4644 124.865L51.0669 119.82L47.4194 123.469Z" stroke="#DCDEE6" stroke-width="2"/>
|
|
502
|
+
<circle cx="34.6498" cy="76.1054" r="1" stroke="white" stroke-width="1.95294"/>
|
|
503
|
+
<circle cx="142.1" cy="60.5" r="1.8" stroke="white" stroke-width="2"/>
|
|
504
|
+
<path d="M17.9694 50.2587C18.3024 49.4146 19.497 49.4146 19.83 50.2587L19.9283 50.5081C20.0299 50.7658 20.234 50.9698 20.4917 51.0714L20.741 51.1698C21.5851 51.5027 21.5851 52.6974 20.741 53.0303L20.4917 53.1286C20.234 53.2303 20.0299 53.4343 19.9283 53.692L19.83 53.9413C19.497 54.7855 18.3024 54.7855 17.9694 53.9413L17.8711 53.692C17.7695 53.4343 17.5655 53.2303 17.3077 53.1286L17.0584 53.0303C16.2143 52.6974 16.2143 51.5027 17.0584 51.1698L17.3077 51.0714C17.5655 50.9698 17.7695 50.7658 17.8711 50.5081L17.9694 50.2587Z" fill="white"/>
|
|
505
|
+
<path d="M155.87 88.0587C156.203 87.2146 157.397 87.2146 157.73 88.0587L158.026 88.8101C158.128 89.0678 158.332 89.2718 158.59 89.3734L159.341 89.6697C160.185 90.0027 160.185 91.1973 159.341 91.5303L158.59 91.8266C158.332 91.9282 158.128 92.1322 158.026 92.39L157.73 93.1413C157.397 93.9854 156.203 93.9854 155.87 93.1413L155.573 92.39C155.472 92.1322 155.268 91.9282 155.01 91.8266L154.259 91.5303C153.414 91.1973 153.414 90.0027 154.259 89.6697L155.01 89.3734C155.268 89.2718 155.472 89.0678 155.573 88.8101L155.87 88.0587Z" fill="#5D6980"/>
|
|
506
|
+
<rect x="67.5498" y="29.0001" width="64.4" height="89.6" rx="4" fill="#DCDEE6"/>
|
|
507
|
+
<rect x="65.1001" y="26.9001" width="64.4" height="89.6" rx="5" fill="white"/>
|
|
508
|
+
<rect x="72.1001" y="33.9001" width="40.6" height="12.6" rx="3" fill="#EFF2F4"/>
|
|
509
|
+
<rect x="72.7998" y="59.1001" width="36.4" height="19.6" rx="3" fill="#EFF2F4"/>
|
|
510
|
+
<rect x="102.9" y="88.5001" width="19.6" height="19.6" rx="4" fill="#EFF2F4"/>
|
|
511
|
+
<rect x="95.8994" y="40.2" width="12.6" height="40.6" rx="5" transform="rotate(90 95.8994 40.2)" fill="#DCDEE6"/>
|
|
512
|
+
<rect x="93.7993" y="38.1" width="12.6" height="40.6" rx="5" transform="rotate(90 93.7993 38.1)" fill="white"/>
|
|
513
|
+
<rect x="56.6992" y="40.9" width="34.3" height="2.1" rx="1.05" fill="#5D6980"/>
|
|
514
|
+
<rect x="56.6992" y="45.8" width="34.3" height="2.1" rx="1.05" fill="#5D6980"/>
|
|
515
|
+
<rect x="59.5" y="65.3999" width="36.4" height="19.6" rx="4" fill="#DCDEE6"/>
|
|
516
|
+
<rect x="57.3999" y="63.3" width="36.4" height="19.6" rx="4" fill="white"/>
|
|
517
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M69.7796 70.8683C70.5607 70.0871 71.8277 70.0871 72.6087 70.8683L76.6976 74.9581C77.4786 75.7393 78.7446 75.7392 79.5257 74.9581L81.4534 73.0304C82.2344 72.2495 83.5005 72.2496 84.2816 73.0304L87.2366 75.9855C88.4963 77.2454 87.604 79.3992 85.8226 79.3995H66.0775C64.2959 79.3993 63.4037 77.2454 64.6634 75.9855L69.7796 70.8683ZM79.0999 66.7999C80.0663 66.8001 80.8499 67.5835 80.8499 68.5499C80.8499 69.5163 80.0663 70.2998 79.0999 70.2999C78.1334 70.2999 77.35 69.5164 77.3499 68.5499C77.3499 67.5834 78.1334 66.7999 79.0999 66.7999Z" fill="#5D6980"/>
|
|
518
|
+
<rect x="118.3" y="101.1" width="24.5" height="24.5" rx="5" fill="#DCDEE6"/>
|
|
519
|
+
<rect x="116.2" y="99" width="24.5" height="24.5" rx="5" fill="white"/>
|
|
520
|
+
<path d="M116.2 118.6H140.7C140.7 121.306 138.506 123.5 135.8 123.5H121.1C118.394 123.5 116.2 121.306 116.2 118.6Z" fill="#EFF2F4"/>
|
|
521
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M125.306 105.526C125.625 105.225 126.142 105.225 126.461 105.526C126.78 105.826 126.78 106.314 126.461 106.614L123.772 109.15L126.461 111.686C126.78 111.986 126.78 112.474 126.461 112.775C126.143 113.075 125.625 113.075 125.306 112.775L122.04 109.694C121.886 109.55 121.8 109.354 121.8 109.15C121.8 108.945 121.886 108.75 122.04 108.606L125.306 105.526ZM130.439 105.526C130.758 105.225 131.275 105.225 131.594 105.526L134.861 108.606C135.014 108.75 135.1 108.945 135.1 109.15C135.1 109.354 135.014 109.55 134.861 109.694L131.594 112.775C131.275 113.075 130.758 113.075 130.439 112.775C130.12 112.474 130.12 111.986 130.439 111.686L133.128 109.15L130.439 106.614C130.12 106.314 130.12 105.826 130.439 105.526Z" fill="#5D6980"/>
|
|
522
|
+
<path d="M50.7731 52.5855C51.0517 51.8093 50.324 51.0485 49.5362 51.2924L44.7362 52.7781C43.7971 53.0687 43.7971 54.398 44.7362 54.6886L46.073 55.1024C46.3733 55.1953 46.6124 55.424 46.7186 55.7198L47.242 57.1781C47.559 58.061 48.8075 58.061 49.1244 57.1781L50.7731 52.5855Z" fill="#5D6980"/>
|
|
523
|
+
<path d="M115.523 125.386C115.802 124.609 115.074 123.849 114.286 124.092L109.486 125.578C108.547 125.869 108.547 127.198 109.486 127.489L110.823 127.902C111.123 127.995 111.362 128.224 111.469 128.52L111.992 129.978C112.309 130.861 113.558 130.861 113.874 129.978L115.523 125.386Z" fill="#5D6980"/>
|
|
524
|
+
</symbol>
|
|
525
|
+
<symbol width="161" height="140" viewBox="0 0 161 140" fill="none" id="no-search-result">
|
|
526
|
+
<path opacity="0.6" d="M35.1558 47.2682L74.1189 20.2281C122.25 -11.0776 140.21 3.27434 143.153 9.5815C145.31 14.2018 144.939 23.2085 140.21 27.4417C133.531 33.4182 127.839 46.515 138.392 77.8838C149.81 111.822 125.818 126.213 111.752 127.235C89.4662 130.382 47.1386 132.1 28.7729 104.87C10.4072 77.6399 17.6758 61.0164 35.1558 47.2682Z" fill="#DCDEE6"/>
|
|
527
|
+
<path opacity="0.7" d="M35.5983 47.3436L88.7246 23.1723C142.811 -2.6104 152.792 13.1815 155.367 19.3049C157.427 24.2036 155.365 33.6241 149.893 37.3527C142.166 42.6167 128.315 55.0783 134.98 88.9181C142.192 125.529 94.3392 135.165 79.6371 134.305C56.1352 134.52 30.0609 125.723 16.9256 97.6198C3.79024 69.5167 23.901 52.3927 35.5983 47.3436Z" stroke="#91949F" stroke-width="2" stroke-linecap="round" stroke-dasharray="5 8"/>
|
|
528
|
+
<path d="M27.9372 23.4121C28.2702 22.5679 29.4648 22.5679 29.7978 23.4121L30.0038 23.9345C30.1055 24.1923 30.3095 24.3963 30.5672 24.4979L31.0897 24.704C31.9338 25.0369 31.9338 26.2316 31.0897 26.5645L30.5672 26.7706C30.3095 26.8722 30.1055 27.0762 30.0038 27.3339L29.7978 27.8564C29.4648 28.7006 28.2702 28.7006 27.9372 27.8564L27.7312 27.3339C27.6295 27.0762 27.4255 26.8722 27.1678 26.7706L26.6453 26.5645C25.8012 26.2316 25.8012 25.0369 26.6453 24.704L27.1678 24.4979C27.4255 24.3963 27.6295 24.1923 27.7312 23.9345L27.9372 23.4121Z" fill="#5D6980"/>
|
|
529
|
+
<path d="M50.1792 107.081L46.9907 107.964L47.8735 104.775L50.1792 107.081Z" stroke="white" stroke-width="2"/>
|
|
530
|
+
<path d="M69.2716 5.31959L70.8389 2.65495L67.7464 2.68062L69.2716 5.31959Z" stroke="#DCDEE6" stroke-width="2"/>
|
|
531
|
+
<circle cx="6.61765" cy="113.326" r="1.61765" stroke="#5D6980" stroke-width="2"/>
|
|
532
|
+
<circle cx="30.5038" cy="76.6785" r="1" stroke="white" stroke-width="1.92648"/>
|
|
533
|
+
<circle cx="149.607" cy="62.9358" r="2.27206" stroke="#DCDEE6" stroke-width="2"/>
|
|
534
|
+
<path d="M144.75 124.846C145.083 124.002 146.278 124.002 146.611 124.846L147.187 126.307C147.288 126.565 147.492 126.769 147.75 126.871L149.211 127.447C150.055 127.78 150.055 128.974 149.211 129.307L147.75 129.884C147.492 129.985 147.288 130.189 147.187 130.447L146.611 131.908C146.278 132.752 145.083 132.752 144.75 131.908L144.174 130.447C144.072 130.189 143.868 129.985 143.61 129.884L142.149 129.307C141.305 128.974 141.305 127.78 142.149 127.447L143.61 126.871C143.868 126.769 144.072 126.565 144.174 126.307L144.75 124.846Z" fill="#DCDEE6"/>
|
|
535
|
+
<path d="M112.684 92.1254C113.017 91.2812 114.211 91.2812 114.544 92.1254L114.75 92.6479C114.852 92.9056 115.056 93.1096 115.314 93.2112L115.836 93.4173C116.68 93.7502 116.68 94.9449 115.836 95.2778L115.314 95.4839C115.056 95.5855 114.852 95.7895 114.75 96.0472L114.544 96.5697C114.211 97.4139 113.017 97.4139 112.684 96.5697L112.478 96.0472C112.376 95.7895 112.172 95.5855 111.914 95.4839L111.392 95.2778C110.548 94.9449 110.548 93.7502 111.392 93.4173L111.914 93.2112C112.172 93.1096 112.376 92.9056 112.478 92.6479L112.684 92.1254Z" fill="#5D6980"/>
|
|
536
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M105.01 30.446C105.754 29.7019 106.961 29.7019 107.705 30.446L111.324 34.0645L114.942 30.446C115.686 29.7019 116.893 29.7019 117.637 30.446C118.381 31.1902 118.381 32.3967 117.637 33.1408L114.018 36.7593L117.637 40.3777C118.381 41.1219 118.381 42.3284 117.637 43.0725C116.893 43.8166 115.686 43.8166 114.942 43.0725L111.324 39.4541L107.705 43.0725C106.961 43.8166 105.754 43.8166 105.01 43.0725C104.266 42.3284 104.266 41.1219 105.01 40.3777L108.629 36.7593L105.01 33.1408C104.266 32.3967 104.266 31.1902 105.01 30.446Z" fill="white"/>
|
|
537
|
+
<path d="M45.228 71.4434C45.228 55.1486 58.3818 41.9948 74.6766 41.9948C90.9715 41.9948 104.125 55.1486 104.125 71.4434C104.125 87.7382 90.9714 100.892 74.6766 100.892C58.3818 100.892 45.228 87.7382 45.228 71.4434Z" fill="#DCDEE6"/>
|
|
538
|
+
<path d="M113.598 133.413C112.565 136.989 108.684 139.13 105.108 138.097C103.226 137.554 101.749 136.311 100.812 134.613L86.365 105.561C85.8295 104.591 86.1557 103.462 87.1261 102.926L93.4335 99.446C94.404 98.9105 95.5331 99.2367 96.0686 100.207L112.887 128.109C113.879 129.619 114.088 131.719 113.598 133.413Z" fill="#5D6980"/>
|
|
539
|
+
<path d="M87.8573 102.475L92.6602 99.8246L88.6852 92.6203L83.8823 95.2703L87.8573 102.475Z" fill="white"/>
|
|
540
|
+
<path d="M43.2646 69.4801C43.2646 53.1853 56.4184 40.0316 72.7132 40.0316C89.0082 40.0316 102.162 53.1853 102.162 69.4801C102.162 85.7749 89.008 98.9287 72.7132 98.9287C56.4184 98.9287 43.2646 85.7749 43.2646 69.4801Z" fill="white"/>
|
|
541
|
+
<path opacity="0.6" d="M72.7132 93.039C85.7243 93.039 96.272 82.4913 96.272 69.4801C96.272 56.4689 85.7243 45.9213 72.7132 45.9213C59.702 45.9213 49.1543 56.4689 49.1543 69.4801C49.1543 82.4913 59.702 93.039 72.7132 93.039Z" fill="#DCDEE6"/>
|
|
542
|
+
<path opacity="0.6" fill-rule="evenodd" clip-rule="evenodd" d="M72.7138 45.9211C79.7177 45.9212 86.0064 48.9793 90.3215 53.8312C86.1608 50.1325 80.6816 47.8848 74.6766 47.8848C61.6656 47.8848 51.118 58.432 51.1177 71.443C51.1177 77.4475 53.3652 82.9268 57.0633 87.0874C52.212 82.7722 49.1546 76.4839 49.1546 69.4803C49.1546 56.4691 59.7026 45.9211 72.7138 45.9211Z" fill="#DCDEE6"/>
|
|
543
|
+
<path d="M96.4198 108.873L93.0736 102.809C92.8059 102.324 92.969 101.759 93.4542 101.491C93.9393 101.224 94.504 101.387 94.7716 101.872L98.1178 107.937C98.3855 108.422 98.2224 108.986 97.7373 109.254C97.3372 109.475 96.6509 109.292 96.4198 108.873Z" fill="white"/>
|
|
544
|
+
<path d="M72.7134 51.3072C72.7134 50.5011 73.3678 49.842 74.1717 49.9018C76.2506 50.0567 78.2947 50.5419 80.2264 51.342C82.6083 52.3286 84.7726 53.7748 86.5956 55.5978C88.4187 57.4208 89.8648 59.5851 90.8514 61.967C91.6515 63.8987 92.1367 65.9428 92.2916 68.0217C92.3515 68.8256 91.6923 69.48 90.8862 69.48C90.08 69.48 89.4332 68.8252 89.3628 68.0222C89.2144 66.327 88.8077 64.6615 88.1543 63.0841C87.3144 61.0564 86.0833 59.214 84.5314 57.662C82.9794 56.1101 81.137 54.879 79.1093 54.0391C77.5319 53.3857 75.8664 52.979 74.1712 52.8306C73.3682 52.7603 72.7134 52.1134 72.7134 51.3072Z" fill="white"/>
|
|
545
|
+
</symbol>
|
|
496
546
|
</svg>
|
package/dist/index.d.ts
CHANGED
|
@@ -205,7 +205,6 @@ position: "bottom" | "top";
|
|
|
205
205
|
align: "left" | "center" | "right" | "left-side" | "right-side";
|
|
206
206
|
positionStrategy: "fixed" | "absolute";
|
|
207
207
|
closeOnClickOutside: boolean;
|
|
208
|
-
elevated: boolean;
|
|
209
208
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
210
209
|
popoverRef: HTMLDivElement;
|
|
211
210
|
contentRef: HTMLDivElement;
|
|
@@ -442,7 +441,7 @@ selected: boolean;
|
|
|
442
441
|
|
|
443
442
|
declare interface ButtonProps {
|
|
444
443
|
variant: 'solid' | 'ghost' | 'text' | 'outline';
|
|
445
|
-
color: 'primary' | 'subtle-primary' | 'secondary' | 'neutral' | 'danger' | 'warning' | 'smart' | 'toolbar-primary' | 'toolbar-smart';
|
|
444
|
+
color: 'primary' | 'subtle-primary' | 'secondary' | 'neutral' | 'danger' | 'warning' | 'smart' | 'toolbar-primary' | 'toolbar-smart' | 'inverse';
|
|
446
445
|
size?: 'default' | 'small';
|
|
447
446
|
leftIconName?: AllIconNames;
|
|
448
447
|
rightIconName?: AllIconNames;
|
|
@@ -762,7 +761,7 @@ size: number | string;
|
|
|
762
761
|
*
|
|
763
762
|
* NOTE: This file was auto-generated from 'icons.svg'
|
|
764
763
|
*/
|
|
765
|
-
export declare type IconNames = 'icon-info-box-error' | 'icon-tooltip-info' | 'filled-info-circle' | 'filled-caution-circle' | 'filled-caution-triangle' | 'filled-caution-triangle-colored' | 'filled-error-box-colored' | 'line-plus-netural' | 'line-close-netural' | 'chip-close' | 'chip-close-16' | 'no-color' | 'line-search' | 'filled-dropdown-down' | 'dropdown-down-icon' | 'filled-text-bold' | 'filled-text-italic' | 'filled-text-underline' | 'filled-text-strikethrough' | 'line-caution-triangle' | 'filled-error-box' | 'filled-info-circle' | 'line-check-natural' | 'loading-circle' | 'icon-smart' | 'line-reset' | 'line-arrow-left' | 'line-arrow-up' | 'line-figma' | 'line-academy-02' | 'line-undo' | 'line-redo' | 'line-ai-message-reply-plus' | 'line-architect-segments-closed' | 'line-ai-stop-icon' | 'line-ai-send-icon' | 'line-smart-sirius-ai' | 'line-smart-ai' | 'line-minus-netural' | 'line-check-netural' | 'filled-caution-triangle' | 'line-tooltip' | 'filled-warning-badge' | 'line-help-circle' | 'gamification-icon' | 'popup-icon' | 'line-delete' | 'line-duplicate' | 'line-test-link' | 'text-color-icon' | 'corner-icon' | 'border-icon' | 'border-color' | 'fill-color-icon' | 'text-icon' | 'mixed-text-color-icon' | 'line-height-icon' | 'letter-spacing-icon' | 'filled-text-aligned-left' | 'filled-text-aligned-center' | 'filled-text-aligned-right' | 'filled-text-aligned-justified' | 'filled-aligned-bottom' | 'filled-aligned-middle' | 'filled-aligned-top' | 'button-actions' | 'border-none' | 'border-solid' | 'border-dashed' | 'border-dotted' | 'individual-borders' | 'border-left' | 'border-top' | 'border-right' | 'border-bottom' | 'corner-top-left' | 'corner-top-right' | 'corner-bottom-left' | 'corner-bottom-right' | 'corners-individual' | 'padding-horizontal' | 'padding-vertical' | 'padding-individual' | 'padding-left' | 'padding-right' | 'padding-bottom' | 'padding-top' | 'line-password' | 'line-left-to-bottom' | 'line-right-to-top' | 'line-horizontal' | 'line-vertical' | 'line-change' | 'feedback-helpful' | 'feedback-not-helpful' | 'feedback-helpful-selected' | 'feedback-not-helpful-selected' | 'line-code' | 'line-menu-experiment' | 'line-architect-ai-generate' | 'line-mobile-landscape' | 'line-history' | 'line-navigate' | 'line-edit-code' | 'line-refresh' | 'line-coupon' | 'line-external-link' | 'line-open-website' | 'line-empty-box' | 'line-no-search-result' | 'line-palette' | 'line-no-color-theme' | 'line-chevron-small-down' | 'line-spinner' | 'illustration-no-preview' | 'dynamic-content-icon' | 'list-item-arrow-right' | 'dropdown-arrow' | 'line-architect-test-journey';
|
|
764
|
+
export declare type IconNames = 'icon-info-box-error' | 'icon-tooltip-info' | 'filled-info-circle' | 'filled-caution-circle' | 'filled-caution-triangle' | 'filled-caution-triangle-colored' | 'filled-error-box-colored' | 'line-plus-netural' | 'line-close-netural' | 'chip-close' | 'chip-close-16' | 'no-color' | 'line-search' | 'filled-dropdown-down' | 'dropdown-down-icon' | 'filled-text-bold' | 'filled-text-italic' | 'filled-text-underline' | 'filled-text-strikethrough' | 'line-caution-triangle' | 'filled-error-box' | 'filled-info-circle' | 'line-check-natural' | 'loading-circle' | 'icon-smart' | 'line-reset' | 'line-arrow-left' | 'line-arrow-up' | 'line-figma' | 'line-academy-02' | 'line-undo' | 'line-redo' | 'line-ai-message-reply-plus' | 'line-architect-segments-closed' | 'line-ai-stop-icon' | 'line-ai-send-icon' | 'line-smart-sirius-ai' | 'line-smart-ai' | 'line-minus-netural' | 'line-check-netural' | 'filled-caution-triangle' | 'line-tooltip' | 'filled-warning-badge' | 'line-help-circle' | 'gamification-icon' | 'popup-icon' | 'line-delete' | 'line-duplicate' | 'line-test-link' | 'text-color-icon' | 'corner-icon' | 'border-icon' | 'border-color' | 'fill-color-icon' | 'text-icon' | 'mixed-text-color-icon' | 'line-height-icon' | 'letter-spacing-icon' | 'filled-text-aligned-left' | 'filled-text-aligned-center' | 'filled-text-aligned-right' | 'filled-text-aligned-justified' | 'filled-aligned-bottom' | 'filled-aligned-middle' | 'filled-aligned-top' | 'button-actions' | 'border-none' | 'border-solid' | 'border-dashed' | 'border-dotted' | 'individual-borders' | 'border-left' | 'border-top' | 'border-right' | 'border-bottom' | 'corner-top-left' | 'corner-top-right' | 'corner-bottom-left' | 'corner-bottom-right' | 'corners-individual' | 'padding-horizontal' | 'padding-vertical' | 'padding-individual' | 'padding-left' | 'padding-right' | 'padding-bottom' | 'padding-top' | 'line-password' | 'line-left-to-bottom' | 'line-right-to-top' | 'line-horizontal' | 'line-vertical' | 'line-change' | 'feedback-helpful' | 'feedback-not-helpful' | 'feedback-helpful-selected' | 'feedback-not-helpful-selected' | 'line-code' | 'line-menu-experiment' | 'line-architect-ai-generate' | 'line-mobile-landscape' | 'line-history' | 'line-navigate' | 'line-edit-code' | 'line-refresh' | 'line-coupon' | 'line-external-link' | 'line-open-website' | 'line-empty-box' | 'line-no-search-result' | 'line-palette' | 'line-no-color-theme' | 'line-chevron-small-down' | 'line-spinner' | 'illustration-no-preview' | 'dynamic-content-icon' | 'list-item-arrow-right' | 'dropdown-arrow' | 'line-architect-test-journey' | 'no-personalization' | 'no-search-result';
|
|
766
765
|
|
|
767
766
|
declare interface IconProps {
|
|
768
767
|
name: AllIconNames;
|
|
@@ -1105,7 +1104,6 @@ declare interface PopoverProps {
|
|
|
1105
1104
|
width?: number;
|
|
1106
1105
|
positionStrategy?: 'fixed' | 'absolute';
|
|
1107
1106
|
closeOnClickOutside?: boolean;
|
|
1108
|
-
elevated?: boolean;
|
|
1109
1107
|
}
|
|
1110
1108
|
|
|
1111
1109
|
declare interface Props {
|
|
@@ -1235,6 +1233,30 @@ autoGrow: boolean;
|
|
|
1235
1233
|
textareaRef: HTMLTextAreaElement;
|
|
1236
1234
|
}, HTMLDivElement>;
|
|
1237
1235
|
|
|
1236
|
+
export declare const Toast: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1237
|
+
"update:modelValue": (value: boolean) => any;
|
|
1238
|
+
dismiss: () => any;
|
|
1239
|
+
}, string, PublicProps, Readonly<ToastProps> & Readonly<{
|
|
1240
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1241
|
+
onDismiss?: (() => any) | undefined;
|
|
1242
|
+
}>, {
|
|
1243
|
+
variant: ToastVariant;
|
|
1244
|
+
icon: IconNames;
|
|
1245
|
+
duration: number;
|
|
1246
|
+
closeAriaLabel: string;
|
|
1247
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1248
|
+
|
|
1249
|
+
declare interface ToastProps {
|
|
1250
|
+
modelValue: boolean;
|
|
1251
|
+
text: string;
|
|
1252
|
+
variant?: ToastVariant;
|
|
1253
|
+
duration?: number;
|
|
1254
|
+
icon?: IconNames;
|
|
1255
|
+
closeAriaLabel?: string;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
export declare type ToastVariant = 'info' | 'error' | 'warning';
|
|
1259
|
+
|
|
1238
1260
|
export declare const Toggle: DefineComponent<ToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1239
1261
|
click: (checked: boolean) => any;
|
|
1240
1262
|
}, string, PublicProps, Readonly<ToggleProps> & Readonly<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/ab-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.103-beta.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"build-only": "vite build",
|
|
31
31
|
"type-check": "vue-tsc --build",
|
|
32
32
|
"pack:move": "npm pack --pack-destination ../design-editor-frontend",
|
|
33
|
-
"publish:sdb": "npm run build && npm pack && docker cp ./useinsider-ab-components-0.0.
|
|
34
|
-
"publish:def": "npm run build && npm run pack:move && cd ../design-editor-frontend && npm i ./useinsider-ab-components-0.0.
|
|
35
|
-
"publish:sdb:wookiee": "npm run build && npm pack && docker cp ./useinsider-ab-components-0.0.
|
|
33
|
+
"publish:sdb": "npm run build && npm pack && docker cp ./useinsider-ab-components-0.0.101.tgz skeleton_design_bundle:/var/skeleton-design-bundle/design-editor-modules/ && docker exec -it skeleton_design_bundle sh -c 'npm i /var/skeleton-design-bundle/design-editor-modules/useinsider-ab-components-0.0.101.tgz && npm run dev'",
|
|
34
|
+
"publish:def": "npm run build && npm run pack:move && cd ../design-editor-frontend && npm i ./useinsider-ab-components-0.0.101.tgz && npm run dev",
|
|
35
|
+
"publish:sdb:wookiee": "npm run build && npm pack && docker cp ./useinsider-ab-components-0.0.101.tgz skeleton-design-bundle:/var/skeleton-design-bundle/design-editor-modules/ && docker exec -it skeleton-design-bundle sh -c 'npm i /var/skeleton-design-bundle/design-editor-modules/useinsider-ab-components-0.0.101.tgz && npm run dev'",
|
|
36
36
|
"lint": "eslint . --fix",
|
|
37
37
|
"storybook": "storybook dev -p 6006",
|
|
38
38
|
"build-storybook": "storybook build"
|