@nyaruka/temba-components 0.172.0 → 0.173.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/CHANGELOG.md +7 -0
- package/dist/static/svg/index.svg +1 -1
- package/dist/temba-components.js +501 -235
- package/dist/temba-components.js.map +1 -1
- package/package.json +1 -1
- package/src/Icons.ts +4 -1
- package/src/interfaces.ts +2 -0
- package/src/layout/HeaderBar.ts +28 -2
- package/src/layout/PageHeader.ts +14 -7
- package/src/list/ShortcutContentList.ts +347 -0
- package/src/styles/designTokens.ts +11 -0
- package/static/svg/index.svg +1 -1
- package/static/svg/work/traced/book-open-01.svg +1 -0
- package/static/svg/work/traced/layout-alt-03.svg +1 -0
- package/static/svg/work/used/book-open-01.svg +3 -0
- package/static/svg/work/used/layout-alt-03.svg +3 -0
- package/temba-modules.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.624 2.378 C 1.793 2.764,1.320 3.428,1.118 4.489 C 0.900 5.639,0.913 15.606,1.134 16.637 C 1.230 17.084,1.497 17.673,1.727 17.946 C 2.428 18.780,2.993 18.920,6.080 19.026 C 9.339 19.139,9.456 19.182,10.541 20.663 C 10.926 21.189,11.412 21.732,11.621 21.868 C 11.964 22.093,12.036 22.093,12.379 21.868 C 12.588 21.732,13.074 21.189,13.459 20.663 C 14.544 19.182,14.661 19.139,17.920 19.026 C 21.007 18.920,21.572 18.780,22.273 17.946 C 22.503 17.673,22.770 17.084,22.866 16.637 C 23.088 15.600,23.099 5.636,22.879 4.476 C 22.674 3.392,22.112 2.660,21.226 2.321 C 20.642 2.098,20.037 2.063,17.583 2.107 C 14.320 2.166,13.795 2.297,12.592 3.353 L 12.000 3.873 11.408 3.353 C 10.192 2.286,9.693 2.165,6.320 2.117 C 3.613 2.079,3.208 2.108,2.624 2.378 M9.363 4.361 C 9.974 4.679,10.486 5.232,10.734 5.840 C 10.871 6.176,10.952 8.086,11.004 12.196 L 11.077 18.073 10.099 17.584 C 9.151 17.111,9.035 17.093,6.360 17.007 C 4.210 16.938,3.538 16.865,3.320 16.675 C 3.063 16.450,3.040 15.947,3.040 10.464 L 3.040 4.498 3.400 4.235 C 3.709 4.009,4.123 3.982,6.323 4.043 C 8.216 4.095,9.010 4.178,9.363 4.361 M20.640 4.320 C 20.948 4.628,20.960 4.853,20.960 10.535 C 20.960 15.950,20.937 16.450,20.680 16.675 C 20.462 16.865,19.790 16.938,17.640 17.007 C 14.978 17.092,14.845 17.112,13.920 17.575 L 12.960 18.054 12.970 13.227 C 12.982 7.557,13.102 5.915,13.547 5.318 C 14.363 4.226,14.983 4.056,18.280 4.021 C 20.123 4.002,20.351 4.031,20.640 4.320 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.600 2.308 C 3.612 2.661,2.874 3.337,2.421 4.303 L 2.000 5.200 2.000 12.000 C 2.000 18.761,2.002 18.805,2.369 19.600 C 2.850 20.646,3.373 21.173,4.379 21.628 C 5.197 21.998,5.228 22.000,12.000 22.000 C 18.761 22.000,18.805 21.998,19.600 21.631 C 20.646 21.150,21.173 20.627,21.628 19.621 C 21.998 18.803,22.000 18.772,22.000 12.000 L 22.000 5.200 21.579 4.303 C 21.126 3.337,20.388 2.661,19.400 2.308 C 18.529 1.998,5.471 1.998,4.600 2.308 M19.000 4.286 C 19.646 4.654,19.871 5.207,19.960 6.639 L 20.045 8.000 12.023 8.000 L 4.000 8.000 4.004 7.080 C 4.012 5.220,4.414 4.411,5.461 4.156 C 5.757 4.084,8.844 4.037,12.320 4.052 C 17.133 4.073,18.726 4.129,19.000 4.286 M19.972 14.367 C 19.914 19.151,19.877 19.320,18.793 19.773 C 17.996 20.106,6.004 20.106,5.207 19.773 C 4.123 19.320,4.086 19.151,4.028 14.367 L 3.977 10.080 12.000 10.080 L 20.023 10.080 19.972 14.367 M5.769 12.425 C 5.415 12.875,5.447 13.323,5.863 13.760 C 6.058 13.965,6.956 14.000,12.000 14.000 C 17.044 14.000,17.942 13.965,18.137 13.760 C 18.553 13.323,18.585 12.875,18.231 12.425 L 17.897 12.000 12.000 12.000 L 6.103 12.000 5.769 12.425 M5.769 16.425 C 5.415 16.875,5.447 17.323,5.863 17.760 C 6.058 17.965,6.956 18.000,12.000 18.000 C 17.044 18.000,17.942 17.965,18.137 17.760 C 18.553 17.323,18.585 16.875,18.231 16.425 L 17.897 16.000 12.000 16.000 L 6.103 16.000 5.769 16.425 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 21L11.8999 20.8499C11.2053 19.808 10.858 19.287 10.3991 18.9098C9.99286 18.5759 9.52476 18.3254 9.02161 18.1726C8.45325 18 7.82711 18 6.57482 18H5.2C4.07989 18 3.51984 18 3.09202 17.782C2.71569 17.5903 2.40973 17.2843 2.21799 16.908C2 16.4802 2 15.9201 2 14.8V6.2C2 5.07989 2 4.51984 2.21799 4.09202C2.40973 3.71569 2.71569 3.40973 3.09202 3.21799C3.51984 3 4.07989 3 5.2 3H5.6C7.84021 3 8.96031 3 9.81596 3.43597C10.5686 3.81947 11.1805 4.43139 11.564 5.18404C12 6.03968 12 7.15979 12 9.4M12 21V9.4M12 21L12.1001 20.8499C12.7947 19.808 13.142 19.287 13.6009 18.9098C14.0071 18.5759 14.4752 18.3254 14.9784 18.1726C15.5467 18 16.1729 18 17.4252 18H18.8C19.9201 18 20.4802 18 20.908 17.782C21.2843 17.5903 21.5903 17.2843 21.782 16.908C22 16.4802 22 15.9201 22 14.8V6.2C22 5.07989 22 4.51984 21.782 4.09202C21.5903 3.71569 21.2843 3.40973 20.908 3.21799C20.4802 3 19.9201 3 18.8 3H18.4C16.1598 3 15.0397 3 14.184 3.43597C13.4314 3.81947 12.8195 4.43139 12.436 5.18404C12 6.03968 12 7.15979 12 9.4" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M17.5 17H6.5M17.5 13H6.5M3 9H21M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
package/temba-modules.ts
CHANGED
|
@@ -53,6 +53,7 @@ import { MsgList } from './src/list/MsgList';
|
|
|
53
53
|
import { ContactList } from './src/list/ContactList';
|
|
54
54
|
import { FlowList } from './src/list/FlowList';
|
|
55
55
|
import { CampaignList } from './src/list/CampaignList';
|
|
56
|
+
import { ShortcutContentList } from './src/list/ShortcutContentList';
|
|
56
57
|
import { FieldList } from './src/list/FieldList';
|
|
57
58
|
import { TriggerList } from './src/list/TriggerList';
|
|
58
59
|
import { BroadcastList } from './src/list/BroadcastList';
|
|
@@ -146,6 +147,7 @@ addCustomElement('temba-msg-list', MsgList);
|
|
|
146
147
|
addCustomElement('temba-contact-list', ContactList);
|
|
147
148
|
addCustomElement('temba-flow-list', FlowList);
|
|
148
149
|
addCustomElement('temba-campaign-list', CampaignList);
|
|
150
|
+
addCustomElement('temba-shortcut-list', ShortcutContentList);
|
|
149
151
|
addCustomElement('temba-field-list', FieldList);
|
|
150
152
|
addCustomElement('temba-trigger-list', TriggerList);
|
|
151
153
|
addCustomElement('temba-broadcast-list', BroadcastList);
|