superdesk-ui-framework 3.0.1-beta.6 → 3.0.1-beta.8

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 (71) hide show
  1. package/app/fonts/sd_icons.eot +0 -0
  2. package/app/fonts/sd_icons.svg +14 -7
  3. package/app/fonts/sd_icons.ttf +0 -0
  4. package/app/fonts/sd_icons.woff +0 -0
  5. package/app/styles/_icon-font.scss +7 -0
  6. package/app/styles/_sd-tag-input.scss +1 -0
  7. package/app/styles/components/_sd-grid-item.scss +30 -16
  8. package/app/styles/components/_sd-searchbar.scss +7 -0
  9. package/app/styles/design-tokens/_design-tokens-general.scss +1 -1
  10. package/app/styles/form-elements/_forms-general.scss +64 -5
  11. package/app/styles/form-elements/_inputs.scss +10 -0
  12. package/app/styles/grids/_grid-layout.scss +25 -1
  13. package/app/styles/layout/_basic-layout.scss +2 -2
  14. package/app/styles/layout/_editor.scss +4 -4
  15. package/app/styles/primereact/_pr-dropdown.scss +17 -1
  16. package/app-typescript/components/DurationInput.tsx +37 -4
  17. package/app-typescript/components/EmptyState.tsx +2 -1
  18. package/app-typescript/components/Form/FormRowNew.tsx +41 -0
  19. package/app-typescript/components/Form/index.tsx +1 -0
  20. package/app-typescript/components/Layouts/AuthoringContainer.tsx +2 -1
  21. package/app-typescript/components/LeftMenu.tsx +127 -122
  22. package/app-typescript/components/Lists/TableList.tsx +146 -142
  23. package/app-typescript/components/SearchBar.tsx +28 -9
  24. package/app-typescript/components/TimePicker.tsx +2 -0
  25. package/app-typescript/index.ts +1 -0
  26. package/dist/examples.bundle.css +273 -0
  27. package/dist/examples.bundle.js +28927 -28750
  28. package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +1 -1
  29. package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
  30. package/dist/playgrounds/react-playgrounds/TestGround.tsx +120 -14
  31. package/dist/react/LeftNavigations.tsx +71 -44
  32. package/dist/react/MultiSelect.tsx +1 -1
  33. package/dist/react/TableList.tsx +84 -82
  34. package/dist/react/TimePicker.tsx +6 -4
  35. package/dist/react/TreeSelect.tsx +1 -1
  36. package/dist/sd_icons.eot +0 -0
  37. package/dist/sd_icons.svg +14 -7
  38. package/dist/sd_icons.ttf +0 -0
  39. package/dist/sd_icons.woff +0 -0
  40. package/dist/superdesk-ui.bundle.css +976 -29
  41. package/dist/superdesk-ui.bundle.js +13975 -2089
  42. package/dist/vendor.bundle.js +23 -23
  43. package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +1 -1
  44. package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
  45. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +120 -14
  46. package/examples/pages/react/LeftNavigations.tsx +71 -44
  47. package/examples/pages/react/MultiSelect.tsx +1 -1
  48. package/examples/pages/react/TableList.tsx +84 -82
  49. package/examples/pages/react/TimePicker.tsx +6 -4
  50. package/examples/pages/react/TreeSelect.tsx +1 -1
  51. package/package.json +2 -1
  52. package/react/components/DurationInput.d.ts +2 -1
  53. package/react/components/DurationInput.js +36 -4
  54. package/react/components/EmptyState.d.ts +1 -0
  55. package/react/components/EmptyState.js +1 -1
  56. package/react/components/Form/FormRowNew.d.ts +12 -0
  57. package/react/components/Form/FormRowNew.js +67 -0
  58. package/react/components/Form/index.d.ts +1 -0
  59. package/react/components/Form/index.js +3 -1
  60. package/react/components/Layouts/AuthoringContainer.d.ts +1 -0
  61. package/react/components/Layouts/AuthoringContainer.js +1 -1
  62. package/react/components/LeftMenu.d.ts +3 -1
  63. package/react/components/LeftMenu.js +8 -1
  64. package/react/components/Lists/TableList.d.ts +42 -0
  65. package/react/components/Lists/TableList.js +145 -0
  66. package/react/components/SearchBar.d.ts +2 -1
  67. package/react/components/SearchBar.js +18 -2
  68. package/react/components/TimePicker.d.ts +1 -0
  69. package/react/components/TimePicker.js +1 -1
  70. package/react/index.d.ts +1 -0
  71. package/react/index.js +4 -1
Binary file
@@ -7,15 +7,15 @@
7
7
  <font-face units-per-em="1024" ascent="960" descent="-64" />
8
8
  <missing-glyph horiz-adv-x="1024" />
9
9
  <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
- <glyph unicode="&#xe600;" glyph-name="photo" d="M656 421.394c0-79.171-64.181-143.352-143.352-143.352s-143.352 64.181-143.352 143.352c0 79.171 64.181 143.352 143.352 143.352s143.352-64.181 143.352-143.352zM860 768h-140l-112 128h-192l-112-128h-140c-55.228 0-100-44.772-100-100v-504c0-55.228 44.772-100 100-100h696c55.228 0 100 44.772 100 100v504c0 55.228-44.772 100-100 100zM512 197.408c-123.64 0-223.986 100.346-223.986 223.986 0 123.642 100.346 223.988 223.986 223.988s223.986-100.346 223.986-223.988c0-123.64-100.346-223.986-223.986-223.986z" />
11
- <glyph unicode="&#xe601;" glyph-name="video" d="M768 576v192c0 31.318-32.682 64-64 64h-640c-31.318 0-64-32.682-64-64v-576c0-31.318 32.682-64 64-64h640c31.318 0 64 32.682 64 64v192l256-192v575.854l-256-191.854z" />
10
+ <glyph unicode="&#xe600;" glyph-name="photo" d="M608 896l112-128h140c55.228 0 100-44.772 100-100v-504c0-55.228-44.772-100-100-100h-696c-55.228 0-100 44.772-100 100v504c0 55.228 44.772 100 100 100h140l112 128zM512 645.382c-123.64 0-223.986-100.346-223.986-223.988 0-123.64 100.346-223.986 223.986-223.986s223.986 100.346 223.986 223.986c0 123.642-100.346 223.988-223.986 223.988zM512.648 564.746c79.118 0 143.352-64.234 143.352-143.352s-64.234-143.352-143.352-143.352-143.352 64.234-143.352 143.352 64.234 143.352 143.352 143.352z" />
11
+ <glyph unicode="&#xe601;" glyph-name="video" d="M768 544v160c0 35.346-28.654 64-64 64h-576c-35.346 0-64-28.654-64-64v-512c0-35.346 28.654-64 64-64h576c35.346 0 64 28.654 64 64v160l192-160v512z" />
12
12
  <glyph unicode="&#xe602;" glyph-name="map-marker" d="M512 896c-173.828 0-314.416-140.59-314.416-314.416 0-235.814 314.416-581.584 314.416-581.584s314.416 345.77 314.416 581.584c0 173.826-140.588 314.416-314.416 314.416zM512 469.292c-61.986 0-112.292 50.306-112.292 112.292s50.306 112.292 112.292 112.292 112.292-50.306 112.292-112.292-50.308-112.292-112.292-112.292z" />
13
13
  <glyph unicode="&#xe603;" glyph-name="slideshow" d="M64 617.91l-34-13.366c-11.238-4.506-19.029-15.308-19.029-27.93 0-3.953 0.764-7.727 2.153-11.184l-0.072 0.202 50.948-129.576v181.854zM931.498 576h-772.898c-16.9 0-30.6-13.7-30.6-30.6v0-578.8c0-16.9 13.7-30.6 30.6-30.6h772.896c16.9 0 30.6 13.7 30.6 30.6v0 578.8c0 16.899-13.699 30.599-30.598 30.6v0zM192 64l192 256 128-176 176 272 208-352h-704zM655.272 720l101.186-80h206.28l-101.8 258.926c-4.515 11.259-15.337 19.065-27.982 19.065-3.96 0-7.741-0.766-11.204-2.157l0.202 0.072-701.766-275.906h518.348z" />
14
- <glyph unicode="&#xe604;" glyph-name="text" d="M831.6 896h-639.2c-35.4 0-64.4-29-64.4-64.4v-703c0-35.4 29-64.4 64.4-64.4h639c35.4 0 64.4 29 64.4 64.4v703c0.2 35.4-28.8 64.4-64.2 64.4zM704 256h-384v64h384v-64zM704 384h-384v64h384v-64zM704 512h-384v64h384v-64zM704 640h-384v64h384v-64z" />
15
- <glyph unicode="&#xe605;" glyph-name="file" d="M896 576l-320 320h-320.666c-34.936-0.105-63.229-28.398-63.334-63.324v-769.342c0.105-34.936 28.398-63.229 63.324-63.334h577.342c34.936 0.105 63.229 28.398 63.334 63.324v512.676zM832 576h-256v256z" />
14
+ <glyph unicode="&#xe604;" glyph-name="text" d="M832 896h-640c-35.4 0-64-28.6-64-64v-768c0-35.4 28.6-64 64-64h640c35.4 0 64.001 28.6 64.001 64v768c0.199 35.4-28.601 64-64.001 64zM704 256h-384v64h384zM704 384h-384v64h384zM704 512h-384v64h384zM704 640h-384v64h384z" />
15
+ <glyph unicode="&#xe605;" glyph-name="file" d="M896 576l-320 320h-384c-34.706 0-64-29.294-64-64v-768c0-34.706 29.294-64 64-64h640c34.706 0 64 29.294 64 64zM832 576h-192c-35.346 0-64 28.654-64 64v192z" />
16
16
  <glyph unicode="&#xe606;" glyph-name="calender" d="M256 512h256v-256h-256zM896 832h-64v64h-128v-64h-384v64h-128v-64h-64c-43.316 0-64-20.684-64-64v-704c0-43.316 20.684-64 64-64h768c43.316 0 64 20.684 64 64v704c0 43.316-20.684 64-64 64zM896 64h-768v576h768v-576z" />
17
17
  <glyph unicode="&#xe607;" glyph-name="composite" d="M64 896h896v-192h-896zM128 640v-512c0-35.346 28.654-64 64-64h640c35.346 0 64 28.654 64 64v512h-768zM704 448h-384v128h384v-128z" />
18
- <glyph unicode="&#xe608;" glyph-name="audio" d="M0 640v-320h192l320-256v832l-320-256h-192zM710.152 478.396c0 94.98-54.734 176.544-134.152 216.252v-431.968c79.418 39.174 134.152 120.738 134.152 215.716zM576 949v-110.54c155.078-46.148 268.302-189.958 268.302-360.062s-113.224-313.916-268.302-360.064v-110.54c215.178 48.832 375.624 240.936 375.624 470.604s-160.446 421.77-375.624 470.602z" />
18
+ <glyph unicode="&#xe608;" glyph-name="audio" d="M0 640v-320h192l320-256v832l-320-256zM710.152 478.396c0 94.98-54.734 176.544-134.152 216.252v-431.968c79.418 39.174 134.152 120.738 134.152 215.716zM576 949v-110.54c155.078-46.148 268.302-189.958 268.302-360.062s-113.224-313.916-268.302-360.064v-110.54c215.178 48.832 375.624 240.936 375.624 470.604s-160.446 421.77-375.624 470.602z" />
19
19
  <glyph unicode="&#xe609;" glyph-name="stream" d="M832 768h-640c-35.346 0-64-28.654-64-64v-64c0-35.346 28.654-64 64-64h640c35.346 0 64 28.654 64 64v64c0 35.346-28.654 64-64 64zM256 640h-64v64h64v-64zM832 512h-640c-35.346 0-64-28.652-64-64v-64c0-35.348 28.654-64 64-64h640c35.346 0 64 28.652 64 64v64c0 35.348-28.654 64-64 64zM256 384h-64v64h64v-64zM832 256h-640c-35.346 0-64-28.652-64-64v-64c0-35.348 28.654-64 64-64h640c35.346 0 64 28.652 64 64v64c0 35.348-28.654 64-64 64zM256 128h-64v64h64v-64z" />
20
20
  <glyph unicode="&#xe60a;" glyph-name="ingest" d="M832 384v-256h-640v256h-128v-384h896v384zM770 512h-190v256h-132v-256h-192l256-256zM384 256h-128v-64h192zM768 192v64h-128l-64-64z" />
21
21
  <glyph unicode="&#xe60b;" glyph-name="archive" d="M960 768h-320v-320h128l-224-256-224 256h128v320h-320c-35.346 0-64-28.654-64-64v-192h64v-448c0-35.346 28.654-64 64-64h704c35.346 0 64 28.654 64 64v448h64v192c0 35.346-28.654 64-64 64z" />
@@ -47,7 +47,7 @@
47
47
  <glyph unicode="&#xe625;" glyph-name="upload" d="M544 704l-416-384h256v-384h320v384h256l-416 384zM960 832v128h-832v-128h832z" />
48
48
  <glyph unicode="&#xe626;" glyph-name="repeat" d="M511.408 119.25c-182.558 0-330.48 148.006-330.48 330.478s147.922 330.48 330.48 330.48c146.956 0 202.996-64.658 202.996-64.658l-122.404-139.55h304v336l-102.712-110.676c0 0-98.958 87.77-281.88 87.77-242.24 0-439.376-197.050-439.376-439.3 0-242.226 197.136-439.28 439.376-439.28 242.238 0.002 439.592 195.26 439.592 437.486h-103c0-182.538-154.044-328.75-336.592-328.75z" />
49
49
  <glyph unicode="&#xe627;" glyph-name="refresh" d="M180.95 448c-0.002 0.576-0.022 1.15-0.022 1.728 0 182.472 147.922 330.48 330.48 330.48 146.956 0 202.996-64.658 202.996-64.658l-122.404-139.55h304v336l-102.712-110.676c0 0-98.958 87.77-281.88 87.77-242.24 0-439.376-197.050-439.376-439.3 0-0.6 0.020-1.196 0.022-1.796h108.896zM843.050 448c0.002-0.576 0.022-1.15 0.022-1.728 0-182.472-147.922-330.48-330.48-330.48-146.956 0-202.996 64.658-202.996 64.658l122.404 139.55h-304v-336l102.712 110.676c0 0 98.958-87.77 281.88-87.77 242.24 0 439.376 197.050 439.376 439.3 0 0.6-0.020 1.196-0.022 1.796h-108.896z" />
50
- <glyph unicode="&#xe628;" glyph-name="list-alt" d="M836.694 896h-649.388c-32.754 0-59.306-26.552-59.306-59.306v-777.388c0-32.754 26.552-59.306 59.306-59.306v0h649.388c32.754 0 59.306 26.552 59.306 59.306v0 777.388c0 32.754-26.552 59.306-59.306 59.306v0zM320 256h-64v64h64v-64zM320 384h-64v64h64v-64zM320 512h-64v64h64v-64zM320 640h-64v64h64v-64zM768 256h-384v64h384v-64zM768 384h-384v64h384v-64zM768 512h-384v64h384v-64zM768 640h-384v64h384v-64z" />
50
+ <glyph unicode="&#xe628;" glyph-name="list-alt" d="M832 896h-640c-34.7 0-64-29.3-64-64v-768c0-32.7 29.3-64 64-64h640c34.7 0 64 29.3 64 64v768c0 34.7-29.3 64-64 64zM320 256h-64v64h64zM320 384h-64v64h64zM320 512h-64v64h64zM320 640h-64v64h64zM768 256h-384v64h384zM768 384h-384v64h384zM768 512h-384v64h384zM768 640h-384v64h384z" />
51
51
  <glyph unicode="&#xe629;" glyph-name="plus-large" d="M896 512h-320v320h-128v-320h-320v-128h320v-320h128v320h320z" />
52
52
  <glyph unicode="&#xe62a;" glyph-name="picture" d="M960 128.284v639.432c0 35.503-28.781 64.284-64.284 64.284v0h-767.432c-35.503 0-64.284-28.781-64.284-64.284v0-639.432c0-35.503 28.781-64.284 64.284-64.284v0h767.432c35.503 0 64.284 28.781 64.284 64.284v0zM336 432l128-144.556 176 272.556 256-368h-752z" />
53
53
  <glyph unicode="&#xe62b;" glyph-name="question-sign" d="M512 895.998c-247.424 0-448-200.578-448-448s200.576-448 448-448 448 200.578 448 448-200.576 448-448 448zM576 128h-128v128h128v-128zM512 320c-54.666 0-64 0-64 0v112c0 0 178.666-35.334 178.666 101.334 0 54.666-27.334 109.334-109.334 109.334-109.332-0.002-109.332-109.334-109.332-109.334h-109.334c0 0 0 218.666 218.666 218.666 109.334 0 218.668-54.666 218.668-218.666 0-136.668-87.334-213.334-224-213.334z" />
@@ -79,7 +79,7 @@
79
79
  <glyph unicode="&#xe645;" glyph-name="plus-small" d="M768 512h-192v192h-128v-192h-192v-128h192v-192h128v192h192z" />
80
80
  <glyph unicode="&#xe646;" glyph-name="minus-small" d="M256 512h512v-128h-512v128z" />
81
81
  <glyph unicode="&#xe647;" glyph-name="close-small" d="M835.672 203.3l-244.004 243.878 241.518 241.594-77.296 77.098-243.812-243.824-243.75 243.694-77.17-77.36 242.092-242.032-243.75-243.67 79.72-79.588 241.966 242.086 243.238-243.176z" />
82
- <glyph unicode="&#xe648;" glyph-name="post" d="M896 832h-768c-33 0-64-33-64-64v-704l192 192h640c32 0 64 30 64 64v448c0 31-30 64-64 64zM640 384h-384v64h384v-64zM768 512h-512v64h512v-64zM768 640h-512v64h512v-64z" />
82
+ <glyph unicode="&#xe648;" glyph-name="post" d="M896 832h-768c-33.3 0-64-28.7-64-64v-704l192 192h640c34.7 0 64 29.3 64 64v448c0 34.7-29.3 64-64 64zM640 384h-384v64h384zM768 512h-512v64h512zM768 640h-512v64h512z" />
83
83
  <glyph unicode="&#xe649;" glyph-name="external" d="M832 128l-640.588-0.586 0.588 640.586h192v128h-192.588c-70.714 0-127.412-57.336-127.412-127.414v-640.586c0-70.078 56.698-128 127.412-128h641.174c70.078 0 127.414 57.336 127.414 127.414v192.586h-127.412l-0.588-192zM512 896v-128h224l-424-424 96-96 424 424v-224l128-0.126v448.126z" />
84
84
  <glyph unicode="&#xe64a;" glyph-name="chevron-up-thin" d="M857.518 349.148l-345.204 354.852-338.98-358.16 74.562-70.562 265.484 280.518 270.562-278.214z" />
85
85
  <glyph unicode="&#xe64b;" glyph-name="chevron-down-thin" d="M167.282 630.128l345.204-354.85 338.98 358.16-74.562 70.562-265.484-280.52-270.562 278.216z" />
@@ -186,4 +186,11 @@
186
186
  <glyph unicode="&#xe6b0;" glyph-name="arrow_small" d="M320 320v-64h64l256 256v-192h128v384h-384v-128h192z" />
187
187
  <glyph unicode="&#xe6b1;" glyph-name="clean_all" d="M769.032 480c-0.594 25.87-1.032 52.57-1.032 80 0 48-35.818 80-80 80h-112l16 176c0 44.182-35.818 80-80 80s-80-35.818-80-80l16-176h-112c-44.182 0-80-32-80-80 0-12.182-0.824-41.216-4.972-80h518.004zM247.082 448c-16.21-116.3-61.060-289.664-183.082-384 8.212 0 112.528 0 220.346 0 48.088 48.254 71.068 91.66 96 159.25 0.452 1.226 2.272 0.86 2.25-0.446-1.38-76.748-25.394-132.882-39.074-158.802 61.704 0 125.992 0 182.998 0 21.324 28.882 34.74 62.266 46.144 95.41 0.37 1.074 1.77 0.564 1.686-0.582-3.252-44.010-7.996-74.162-12.97-94.828 10.592 0 20.838 0 30.62 0 193.734 0 184.006 155.668 177.84 384h-522.758z" />
188
188
  <glyph unicode="&#xe6b2;" glyph-name="broascast" d="M896 704h-293.786l210.586 210.586-44.8 45.414-256-256-256 256-45.414-45.414 211.2-210.586h-293.786c-70.4 0-128-56.986-128-128v-512c0-70.4 57.6-128 128-128h768c70.4 0 128 57.6 128 128v512c0 71.014-57.6 128-128 128zM128 64v512h768v-512zM704 320l-320-192v384z" />
189
+ <glyph unicode="&#xe6b3;" glyph-name="photo-cancel" d="M67.882 891.8l123.8-123.8h0.228l175.541-175.541-0.123-0.105 57.603-57.603c0.043 0.033 0.086 0.066 0.129 0.1l201.045-201.045-0.101-0.128 56.955-56.956c0.035 0.041 0.070 0.083 0.105 0.124l207.943-207.946-0.174-0.053 65.174-65.174-67.882-67.882-128.208 128.208h-595.918c-54.676 0-99.104 43.881-99.987 98.346l-0.013 1.654v504c0 25.557 9.588 48.875 25.363 66.554l-89.363 89.364zM608 896l112-128h140c54.676 0 99.104-43.881 99.987-98.346l0.013-1.654v-504c0-8.682-1.107-17.106-3.186-25.139l-227.618 227.619c4.434 17.573 6.79 35.97 6.79 54.914 0 123.642-100.346 223.988-223.986 223.988-18.944 0-37.342-2.356-54.916-6.79l-142.036 142.034 100.952 115.374zM288.014 421.394c0-123.64 100.346-223.986 223.986-223.986 33.528 0 65.344 7.379 93.91 20.601l-63.198 63.196c-9.696-2.072-19.753-3.163-30.063-3.163-79.118 0-143.352 64.234-143.352 143.352 0 10.31 1.091 20.368 3.163 30.063l-63.845 63.846c-13.221-28.566-20.6-60.381-20.6-93.91zM532.268 563.412c63.434-8.698 113.7-58.963 122.398-122.398z" />
190
+ <glyph unicode="&#xe6b4;" glyph-name="video-cancel" d="M67.882 891.8l123.796-123.796 0.23-0.002 764.1-764.328-67.882-67.882-192.21 192.21-567.916-0.002c-34.993 0-63.426 28.084-63.991 62.942l-0.009 1.058v512c0 15.615 5.592 29.924 14.884 41.034l-78.884 78.884zM327.672 768.002l376.328-0.002c34.993 0 63.426-28.084 63.991-62.942l0.009-1.058v-160l192 160v-512l-192 160v-24.324z" />
191
+ <glyph unicode="&#xe6b5;" glyph-name="text-cancel" d="M896 63.882l60.212-60.213-67.882-67.882-64.212 64.213h-632.118c-35.046 0-63.427 28.031-63.991 62.94l-0.009 1.060v632.118l-127.796 127.795 67.882 67.882 59.914-59.914v0.234l768-767.998zM832 896c35.046 0 63.623-28.031 63.998-62.94l0.003-1.060-0.001-632.118-192 192v56.118h-56.118l-64 64h120.118v64h-184.118l-64 64h248.118v64h-312.118l-192 192zM504.116 320.002l-184.116-0.002v-64h248.118zM376.118 448h-56.118v-64h120.118z" />
192
+ <glyph unicode="&#xe6b6;" glyph-name="file-cancel" d="M67.882 891.8l60.116-60.114 0.002 0.226 828.009-828.238-67.882-67.882-64.208 64.208h-631.918c-34.359 0-63.414 28.711-63.991 62.96l-0.009 1.040-0.002 631.92-127.998 127.998zM576 896l320-320v-376.324l-696.322 696.324zM576 832v-192c0-34.993 28.084-63.426 62.942-63.991l1.058-0.009h192z" />
193
+ <glyph unicode="&#xe6b7;" glyph-name="audio-cancel" d="M67.882 891.8l195.052-195.052 0.128 0.102 477.43-477.66c0.037 0.039 0.074 0.077 0.111 0.116l75.807-75.805-0.114-0.115 139.712-139.712-67.882-67.882-145.282 145.284c-48.898-33.743-104.339-58.713-164.049-72.639l-2.796-0.643v110.54c31.797 9.462 61.834 23.030 89.496 40.088l-153.496 153.496v-247.918l-320 256h-192v320h183.918l-183.918 183.918zM576 949c215.178-48.832 375.624-240.934 375.624-470.602 0-95.32-27.637-184.169-75.354-258.991l-78.258 78.258c29.502 53.629 46.29 115.232 46.29 180.733 0 168.403-110.971 311.035-263.662 358.648l-4.64 1.414zM576 694.648c79.418-39.708 134.152-121.272 134.152-216.252 0-27.892-4.72-54.628-13.4-79.473l-120.752 120.751zM512 896v-312.326l-173.516 173.514z" />
194
+ <glyph unicode="&#xe6b8;" glyph-name="list-alt-cancel" d="M67.882 891.8l60.116-60.116 0.002 0.228 128-128-0.002-0.228 63.684-63.684h0.23l64.088-64.088-0.002-0.228 63.684-63.684h0.23l64-64h-0.23l64-64h0.23l64-64h-0.23l64-64h0.23l192.088-192.088-0.004-0.226 60.012-60.012-67.882-67.882-64.208 64.208h-631.918c-34.353 0-63.413 30.677-63.991 63.019l-0.009 0.981-0.002 631.92-127.998 127.998zM832 896c34.353 0 63.413-28.717 63.991-62.961l0.009-1.039v-632.324l-184.324 184.324h56.324v64h-120.324l-63.998 64h184.322v64h-248.322l-64 64h312.322v64h-376.322l-192 192zM567.918 256l-64 64h-119.918v-64zM320 320h-64v-64h64zM439.918 384l-55.92 55.92 0.002-55.92zM320 448h-64v-64h64zM255.998 567.92l0.002-55.92h55.918z" />
195
+ <glyph unicode="&#xe6b9;" glyph-name="post-cancel" d="M67.882 891.8l59.8-59.8 0.228 0.002 128.090-128.092v-0.228l63.68-63.68h0.228l64-64h-0.228l64-64h0.228l64-64h-0.228l64-64h0.23l128-128h-0.23l252.328-252.328-67.882-67.882-320.21 320.21-311.916-0.002-192-192v695.918l-64 64zM896 832c34.353 0 63.413-28.717 63.991-62.961l0.009-1.039v-448c0-34.353-28.717-63.413-62.961-63.991l-1.039-0.009-56.326 0.002-256.002 256 184.328-0.002v64l-248.328 0.002-64 64 312.328-0.002v64l-376.328 0.002-128 128zM439.916 384.002l-64 64-119.916-0.002v-64zM311.916 512.002l-55.916 55.916v-55.918z" />
189
196
  </font></defs></svg>
Binary file
Binary file
@@ -285,6 +285,13 @@ $sd-icon-font: (
285
285
  arrow-small: "\e6b0",
286
286
  clear-all: "\e6b1",
287
287
  rundown: "\e6b2",
288
+ photo-cancel: "\e6b3",
289
+ video-cancel: "\e6b4",
290
+ text-cancel: "\e6b5",
291
+ file-cancel: "\e6b6",
292
+ audio-cancel: "\e6b7",
293
+ list-alt-cancel: "\e6b8",
294
+ post-cancel: "\e6b9",
288
295
  );
289
296
 
290
297
  @each $name, $value in $sd-icon-font {
@@ -509,6 +509,7 @@ tags-input,
509
509
  .tags-input__overlay-button {
510
510
  position: absolute;
511
511
  inset: 0;
512
+ width: 100%;
512
513
  }
513
514
 
514
515
  .tags-input__single-item {
@@ -74,9 +74,13 @@ $sd-grid-item-shadow-activated: 0 0 0 2px var(--sd-colour-interactive--
74
74
  display: flex;
75
75
  flex-direction: row;
76
76
  align-items: center;
77
- margin-inline-start: auto;
77
+ margin-inline-start: $sd-base-increment;
78
78
  justify-content: flex-end;
79
79
  visibility: hidden;
80
+ max-width: 0;
81
+ opacity: 0;
82
+ padding-inline-end: 0;
83
+ transition: all 0.2s ease;
80
84
  &--visible {
81
85
  visibility: visible;
82
86
  opacity: 0.5;
@@ -226,6 +230,10 @@ $sd-grid-item-shadow-activated: 0 0 0 2px var(--sd-colour-interactive--
226
230
  }
227
231
  .sd-grid-item__footer-actions {
228
232
  visibility: visible;
233
+ padding-inline-end: 0.4rem;
234
+ max-width: 32px;
235
+ margin-inline-start: auto;
236
+ opacity: 1;
229
237
  &--visible {
230
238
  opacity: 1;
231
239
  }
@@ -246,6 +254,16 @@ $sd-grid-item-shadow-activated: 0 0 0 2px var(--sd-colour-interactive--
246
254
  visibility: visible;
247
255
  }
248
256
  }
257
+ .sd-grid-item__footer-actions {
258
+ visibility: visible;
259
+ padding-inline-end: 0.4rem;
260
+ max-width: 32px;
261
+ margin-inline-start: auto;
262
+ opacity: 1;
263
+ &--visible {
264
+ opacity: 1;
265
+ }
266
+ }
249
267
  }
250
268
  &.sd-grid-item--overflow-v {
251
269
  overflow: visible;
@@ -402,42 +420,38 @@ $sd-grid-item-shadow-activated: 0 0 0 2px var(--sd-colour-interactive--
402
420
  display: flex;
403
421
  flex-direction: row;
404
422
  align-items: center;
405
- &--multi-l {
423
+ &--multi-l,
424
+ &--multi-r {
406
425
  flex-grow: 1;
407
426
  display: flex;
408
427
  flex-direction: row;
409
428
  align-items: center;
410
- padding-inline-start: 0.4rem;
429
+ gap: $sd-base-increment;
430
+ }
431
+ &--multi-l {
432
+ justify-content: flex-start;
411
433
  }
412
434
  &--multi-r {
413
- flex-grow: 1;
414
- display: flex;
415
- flex-direction: row;
416
- align-items: center;
417
435
  justify-content: flex-end;
418
- padding-inline-end: 0.4rem;
419
436
  }
420
437
  &--single-r {
421
438
  flex-grow: 0;
422
439
  }
440
+ &--left,
441
+ &--right {
442
+ gap: $sd-base-increment;
443
+ }
423
444
  &--left {
424
445
  margin-inline-end: auto;
425
446
  justify-content: flex-start;
426
- @include sd-padding('0-5');
427
- > * {
428
- margin: 0 0.4rem;
429
- }
447
+ padding-inline-start: $sd-base-increment;
430
448
  }
431
449
  &--right {
432
450
  margin-inline-start: auto;
433
451
  justify-content: flex-end;
434
- > * {
435
- margin: 0 0.4rem;
436
- }
437
452
  }
438
453
  }
439
454
  .sd-grid-item__footer-block-item {
440
- margin: 0 0.4rem;
441
455
  flex-shrink: 0;
442
456
  }
443
457
  time {
@@ -154,6 +154,13 @@
154
154
  }
155
155
  }
156
156
  }
157
+ .sd-searchbar__search-btn--active {
158
+ background-color: $sd-colour-interactive;
159
+ opacity: 1;
160
+ i {
161
+ color: $white;
162
+ }
163
+ }
157
164
  [dir="rtl"] {
158
165
  .sd-searchbar__search-btn {
159
166
  i.icon-chevron-right-thin {
@@ -28,7 +28,7 @@
28
28
  --width__container--x-large: 72rem;
29
29
  --width__container--xx-large: 80rem;
30
30
  --width__container--xxx-large: 120rem;
31
- --width__container--full: 100%;
31
+ --width__container--full: 100vw;
32
32
 
33
33
  // MODAL SIZES
34
34
  --width__modal--small: 40rem;
@@ -254,11 +254,8 @@
254
254
  color: var(--color-text);
255
255
  }
256
256
 
257
-
258
257
  /// ---------------------------- NEW FORM LAYOUT TEST---------------------------- ///
259
258
 
260
-
261
-
262
259
  .form__group-new {
263
260
  display: flex;
264
261
  flex-direction: row;
@@ -269,9 +266,71 @@
269
266
  flex: 1 1 0;
270
267
  min-width: 12rem;
271
268
  margin: 0;
269
+ align-self: flex-start;
272
270
  }
273
- .btn {
271
+ .btn,
272
+ .icn-btn {
274
273
  flex: 0 0 auto;
275
274
  margin-top: $form-label-height;
276
275
  }
277
- }
276
+ .sd-text {
277
+ min-height: $form-input-height;
278
+ margin-block-start: $form-label-height;
279
+ line-height: $form-input-height;
280
+ }
281
+ &--condensed {
282
+ gap: $sd-base-increment;
283
+ }
284
+ &--relaxed {
285
+ gap: $sd-base-increment * 3;
286
+ }
287
+ &--mb-0 {
288
+ margin-bottom: 0;
289
+ }
290
+ &--mb-1 {
291
+ margin-bottom: $sd-base-increment;
292
+ }
293
+ &--mb-2 {
294
+ margin-bottom: $sd-base-increment * 2;
295
+ }
296
+ &--mb-3 {
297
+ margin-bottom: $sd-base-increment * 3;
298
+ }
299
+ &--mb-4 {
300
+ margin-bottom: $sd-base-increment * 4;
301
+ }
302
+ &--inline-labels {
303
+ .btn,
304
+ .icn-btn,
305
+ .sd-text {
306
+ margin-top: 0;
307
+ }
308
+ }
309
+ &--inline-labels {
310
+ .btn,
311
+ .icn-btn,
312
+ .sd-text {
313
+ margin-top: 0;
314
+ }
315
+ }
316
+
317
+ }
318
+
319
+ .form__group-new__wrapper {
320
+ display: flex;
321
+ flex-direction: column;
322
+ width: 100%;
323
+ .form__group-new__label {
324
+ flex: 0 0 auto;
325
+ min-height: $form-label-height + 0.4rem;
326
+ display: inline-block;
327
+ font-size: 1.6rem;
328
+ margin: 0;
329
+ margin-bottom: $sd-base-increment * 1.5;
330
+ line-height: 1;
331
+ color: var(--color-label-text);
332
+ //text-transform: uppercase;
333
+ font-weight: 500;
334
+ letter-spacing: 0.02em;
335
+ }
336
+ }
@@ -985,6 +985,16 @@
985
985
  }
986
986
  }
987
987
 
988
+ .blink_me {
989
+ animation: blinker 1s linear infinite;
990
+ }
991
+
992
+ @keyframes blinker {
993
+ 50% {
994
+ opacity: 0;
995
+ }
996
+ }
997
+
988
998
  //&--boxed-style
989
999
 
990
1000
 
@@ -685,9 +685,33 @@ $planningEditor-width: 53rem;
685
685
  .side-panel__container {
686
686
  width: var(--width__container--medium);
687
687
  overflow-y: auto;
688
- &.side-panel__container--xx-large{
688
+ &.side-panel__container--xxx-small {
689
+ width: var(--width__container--xxx-small);
690
+ }
691
+ &.side-panel__container--xx-small {
692
+ width: var(--width__container--xx-small);
693
+ }
694
+ &.side-panel__container--x-small {
695
+ width: var(--width__container--x-small);
696
+ }
697
+ &.side-panel__container--small {
698
+ width: var(--width__container--small);
699
+ }
700
+ &.side-panel__container--large {
701
+ width: var(--width__container--large);
702
+ }
703
+ &.side-panel__container--x-large {
704
+ width: var(--width__container--x-large);
705
+ }
706
+ &.side-panel__container--xx-large {
689
707
  width: var(--width__container--xx-large);
690
708
  }
709
+ &.side-panel__container--xxx-large {
710
+ width: var(--width__container--xxx-large);
711
+ }
712
+ &.side-panel__container--full {
713
+ width: var(--width__container--full);
714
+ }
691
715
  .side-panel {
692
716
  opacity: 1;
693
717
  }
@@ -38,10 +38,10 @@
38
38
 
39
39
  .sd-page__sidebar {
40
40
  & + .sd-page__main-content {
41
- left: 200px;
41
+ left: 240px;
42
42
  }
43
43
  & + .sd-content-navigation-panel {
44
- left: 200px;
44
+ left: 240px;
45
45
  top: 0;
46
46
  bottom: 0;
47
47
  position: absolute;
@@ -82,7 +82,7 @@
82
82
  overflow: visible;
83
83
  .sidetabs-content-overlay__inner {
84
84
  opacity: 1;
85
- width: 320px;
85
+ width: auto;
86
86
  position: absolute;
87
87
  overflow: hidden;
88
88
  inset-inline-end: 0;
@@ -365,9 +365,9 @@
365
365
  overflow-y: auto;
366
366
  width: auto;
367
367
  min-width: 45vw;
368
- //min-width: 45%;
369
- //max-width: 1200px;
370
-
368
+ &.sd-editor__container--large {
369
+ min-width: 52vw;
370
+ }
371
371
  }
372
372
  }
373
373
 
@@ -1,7 +1,7 @@
1
1
  @import './../tag-labels';
2
2
  @import './../form-elements/checkbox';
3
3
 
4
- .p-dropdown, .p-multiselect {
4
+ .p-dropdown {
5
5
  @include pr-input-item-base;
6
6
  padding-block-start: 6px;
7
7
  padding-block-end: 6px;
@@ -10,6 +10,14 @@
10
10
  color: $sd-text;
11
11
  }
12
12
 
13
+ .p-multiselect {
14
+ @include pr-input-item-base;
15
+ height: auto !important;
16
+ min-height: 3.2rem !important;
17
+ color: $sd-text;
18
+ padding: 0.4rem;
19
+ }
20
+
13
21
  .p-dropdown-clear-icon,
14
22
  .p-multiselect-clear-icon {
15
23
  position: static;
@@ -69,13 +77,21 @@
69
77
  }
70
78
 
71
79
  .p-multiselect-label {
80
+ margin: 0;
81
+ padding: 0;
82
+ list-style-type: none;
72
83
  display: flex;
84
+ justify-content: flex-start;
73
85
  align-items: center;
86
+ flex-wrap: wrap;
87
+ padding-inline-start: 0.4rem;
88
+ gap: 0.4rem;
74
89
  }
75
90
 
76
91
  .p-multiselect-token {
77
92
  @extend .tag-label;
78
93
  cursor: default;
94
+ margin: 0 !important;
79
95
 
80
96
  .pi-times-circle {
81
97
  overflow: inherit;
@@ -25,6 +25,7 @@ interface IState {
25
25
  hours?: any;
26
26
  minutes?: any;
27
27
  seconds?: any;
28
+ blink?: string;
28
29
  }
29
30
 
30
31
  export class DurationInput extends React.PureComponent<IProps, IState> {
@@ -38,6 +39,7 @@ export class DurationInput extends React.PureComponent<IProps, IState> {
38
39
  hours: this.stateUpdate('hours', this.props.hours, this.props.minutes, this.props.seconds),
39
40
  minutes: this.stateUpdate('minutes', this.props.minutes, this.props.seconds),
40
41
  seconds: this.stateUpdate('seconds', this.props.seconds),
42
+ blink: '',
41
43
  };
42
44
 
43
45
  this.hourRef = React.createRef();
@@ -68,10 +70,11 @@ export class DurationInput extends React.PureComponent<IProps, IState> {
68
70
  return this.zeroPad(value);
69
71
  }
70
72
 
71
- componentDidUpdate(_: any, prevState: IState) {
73
+ componentDidUpdate(prevProps: any, prevState: IState) {
72
74
  if (!this.hourRef.current || !this.minuteRef.current || !this.secondRef.current ) {
73
75
  return;
74
76
  }
77
+
75
78
  if (this.state.hours !== prevState.hours) {
76
79
  if (Number(this.hourRef.current.value) > 99) {
77
80
  this.setState({
@@ -85,6 +88,10 @@ export class DurationInput extends React.PureComponent<IProps, IState> {
85
88
  hours: this.zeroPad(Number(this.state.hours) + 1),
86
89
  minutes: this.zeroPad(this.state.minutes % 60),
87
90
  });
91
+ this.setState({blink: 'hour'});
92
+ setTimeout(() => {
93
+ this.setState({blink: ''});
94
+ }, 500);
88
95
  }
89
96
  if (Number(this.minuteRef.current.value) < 0) {
90
97
  this.setState({
@@ -93,6 +100,10 @@ export class DurationInput extends React.PureComponent<IProps, IState> {
93
100
  : this.zeroPad(Number(this.state.hours)),
94
101
  minutes: 59,
95
102
  });
103
+ this.setState({blink: 'hour'});
104
+ setTimeout(() => {
105
+ this.setState({blink: ''});
106
+ }, 500);
96
107
  }
97
108
  }
98
109
  if (this.state.seconds !== prevState.seconds) {
@@ -101,14 +112,32 @@ export class DurationInput extends React.PureComponent<IProps, IState> {
101
112
  minutes: this.zeroPad(Number(this.state.minutes) + 1),
102
113
  seconds: this.zeroPad(this.state.seconds % 60),
103
114
  });
115
+ this.setState({blink: 'minute'});
116
+ setTimeout(() => {
117
+ this.setState({blink: ''});
118
+ }, 500);
104
119
  }
105
120
  if (Number(this.secondRef.current.value) < 0) {
106
121
  this.setState({
107
122
  minutes: this.zeroPad(Number(this.state.minutes) - 1),
108
123
  seconds: 59,
109
124
  });
125
+ this.setState({blink: 'minute'});
126
+ setTimeout(() => {
127
+ this.setState({blink: ''});
128
+ }, 500);
110
129
  }
111
130
  }
131
+
132
+ if ((this.props.hours !== prevProps.hours)
133
+ || (this.props.minutes !== prevProps.minutes)
134
+ || (this.props.seconds !== prevProps.seconds)) {
135
+ this.setState({
136
+ hours: this.stateUpdate('hours', this.props.hours, this.props.minutes, this.props.seconds),
137
+ minutes: this.stateUpdate('minutes', this.props.minutes, this.props.seconds),
138
+ seconds: this.stateUpdate('seconds', this.props.seconds),
139
+ });
140
+ }
112
141
  }
113
142
 
114
143
  valueUpdate() {
@@ -213,7 +242,11 @@ export class DurationInput extends React.PureComponent<IProps, IState> {
213
242
  handleChange(event: React.ChangeEvent<HTMLInputElement>, state: 'hours' | 'minutes' | 'seconds') {
214
243
  let stateClone: IState = {};
215
244
  if (event.target.value.length >= 2) {
216
- stateClone[state] = event.target.value.slice(0, 2);
245
+ if (event.target.selectionStart === 1 && event.target.selectionEnd === 1) {
246
+ stateClone[state] = event.target.value.slice(0, 1) + event.target.value.slice(2, 3);
247
+ } else {
248
+ stateClone[state] = event.target.value.slice(0, 2);
249
+ }
217
250
  } else {
218
251
  stateClone[state] = event.target.value;
219
252
  }
@@ -263,7 +296,7 @@ export class DurationInput extends React.PureComponent<IProps, IState> {
263
296
  tabindex={this.props.tabindex}>
264
297
  <div className={InputClasses}>
265
298
  <input
266
- className='duration-input'
299
+ className={`duration-input ${this.state.blink === 'hour' ? 'blink_me' : ''}`}
267
300
  type='text'
268
301
  id='hours'
269
302
  max={99}
@@ -283,7 +316,7 @@ export class DurationInput extends React.PureComponent<IProps, IState> {
283
316
  <span className='sd-input__suffix'>h</span>
284
317
 
285
318
  <input
286
- className='duration-input'
319
+ className={`duration-input ${this.state.blink === 'minute' ? 'blink_me' : ''}`}
287
320
  type='text'
288
321
  id='minutes'
289
322
  ref={this.minuteRef}
@@ -6,6 +6,7 @@ interface IProps {
6
6
  size?: 'small' | 'large';
7
7
  title: string;
8
8
  description?: string;
9
+ absolutePositioned?: boolean;
9
10
  }
10
11
 
11
12
  export class EmptyState extends React.PureComponent<IProps> {
@@ -18,7 +19,7 @@ export class EmptyState extends React.PureComponent<IProps> {
18
19
  let image = require(`../../app/img/empty_states/empty-state--${this.props.size ? this.props.size : 'small'}-${this.props.illustration ? this.props.illustration : '1'}.svg`);
19
20
 
20
21
  return (
21
- <div className='content-state--empty-container'>
22
+ <div className={'content-state--empty-container' + (this.props.absolutePositioned ? ' content-state__empty-container--absolute' : '')}>
22
23
  <div className='content-state__empty-info'>
23
24
  <figure className={classes}>
24
25
  <img src={image} alt={this.props.illustration} />
@@ -0,0 +1,41 @@
1
+ import * as React from 'react';
2
+ import classNames from 'classnames';
3
+
4
+ interface IProps {
5
+ children: React.ReactNode;
6
+ spaces?: 'default' | 'condensed' | 'relaxed'; // defaults to 'default'
7
+ marginBottom?: '0' | '1' | '2' | '3' | '4'; // multipliers of 8px (base increment); defaults to '2' (16px)
8
+ inlineLabels?: boolean; // defaults to 'false'
9
+ rowLabel?: string;
10
+ }
11
+
12
+ export class FormRowNew extends React.PureComponent<IProps> {
13
+ render() {
14
+ const classes = classNames('form__group-new', {
15
+ [`form__group-new--${this.props.spaces}`]: this.props.spaces,
16
+ [`form__group-new--mb-${this.props.marginBottom}`]: this.props.marginBottom,
17
+ 'form__group-new--inline-labels': this.props.inlineLabels,
18
+ 'form__group-new--has_row-label': this.props.rowLabel,
19
+ },
20
+ );
21
+
22
+ if (this.props.rowLabel) {
23
+ return (
24
+ <div className='form__group-new__wrapper'>
25
+ <label className='form__group-new__label' htmlFor="form__group-new__label">
26
+ {this.props.rowLabel}
27
+ </label>
28
+ <div className={classes}>
29
+ {this.props.children}
30
+ </div>
31
+ </div>
32
+ );
33
+ } else {
34
+ return (
35
+ <div className={classes}>
36
+ {this.props.children}
37
+ </div>
38
+ );
39
+ }
40
+ }
41
+ }
@@ -6,3 +6,4 @@ export { FormLabel } from './FormLabel';
6
6
  export { InputWrapper } from './InputWrapper';
7
7
  export { InputBase } from './InputBase';
8
8
  export { InputNew } from './InputNew';
9
+ export { FormRowNew } from './FormRowNew';
@@ -6,6 +6,7 @@ interface IProps {
6
6
  side?: 'left' | 'right';
7
7
  background?: 'transparent' | 'light' | 'grey' | 'dark';
8
8
  open?: boolean;
9
+ large?: boolean;
9
10
  }
10
11
 
11
12
  export class AuthoringContainer extends React.PureComponent<IProps> {
@@ -18,7 +19,7 @@ export class AuthoringContainer extends React.PureComponent<IProps> {
18
19
  });
19
20
  return (
20
21
  <div className={classes}>
21
- <div className='sd-editor__container'>
22
+ <div className={`sd-editor__container ${this.props.large ? 'sd-editor__container--large' : ''}`}>
22
23
  {this.props.children}
23
24
  </div>
24
25
  </div>