@expressms/smartapp-ui 0.0.8 → 1.0.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.
Files changed (84) hide show
  1. package/build/main/assets/icons/arrow-back.svg +1 -1
  2. package/build/main/assets/icons/cancel-cross.svg +1 -1
  3. package/build/main/assets/icons/check-mark.svg +1 -1
  4. package/build/main/assets/icons/close-stories.svg +4 -0
  5. package/build/main/assets/icons/close.svg +1 -1
  6. package/build/main/assets/icons/download.svg +2 -2
  7. package/build/main/assets/icons/error.svg +3 -3
  8. package/build/main/assets/icons/file.svg +1 -1
  9. package/build/main/assets/icons/logout.svg +2 -2
  10. package/build/main/assets/icons/order.svg +3 -3
  11. package/build/main/assets/icons/plus.svg +2 -2
  12. package/build/main/constants/constants.d.ts +13 -0
  13. package/build/main/constants/constants.js +14 -0
  14. package/build/main/constants/index.d.ts +1 -0
  15. package/build/main/constants/index.js +1 -0
  16. package/build/main/helpers/index.d.ts +1 -0
  17. package/build/main/helpers/index.js +3 -0
  18. package/build/main/styles/stories.module.scss +189 -105
  19. package/build/main/styles/styles.min.css +1 -85
  20. package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +1 -1
  21. package/build/main//321/201omponents/ActionModal/ActionModal.js +10 -7
  22. package/build/main//321/201omponents/ActionModal/types.d.ts +2 -1
  23. package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +2 -2
  24. package/build/main//321/201omponents/AttachedFile/AttachedFile.js +13 -8
  25. package/build/main//321/201omponents/AttachedFile/types.d.ts +4 -1
  26. package/build/main//321/201omponents/Avatar/Avatar.d.ts +2 -2
  27. package/build/main//321/201omponents/Avatar/Avatar.js +2 -2
  28. package/build/main//321/201omponents/Avatar/types.d.ts +2 -2
  29. package/build/main//321/201omponents/Button/Button.d.ts +1 -1
  30. package/build/main//321/201omponents/Button/Button.js +5 -4
  31. package/build/main//321/201omponents/Button/types.d.ts +10 -3
  32. package/build/main//321/201omponents/Button/types.js +11 -1
  33. package/build/main//321/201omponents/Calendar/Calendar.d.ts +2 -2
  34. package/build/main//321/201omponents/Calendar/Calendar.js +5 -7
  35. package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +1 -1
  36. package/build/main//321/201omponents/Checkbox/Checkbox.js +7 -4
  37. package/build/main//321/201omponents/Checkbox/types.d.ts +2 -1
  38. package/build/main//321/201omponents/Chips/Chips.d.ts +1 -1
  39. package/build/main//321/201omponents/Chips/Chips.js +8 -6
  40. package/build/main//321/201omponents/Chips/types.d.ts +1 -0
  41. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +1 -1
  42. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +6 -5
  43. package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +2 -2
  44. package/build/main//321/201omponents/CustomSelect/CustomSelect.js +4 -3
  45. package/build/main//321/201omponents/CustomSelect/types.d.ts +1 -1
  46. package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.d.ts +2 -2
  47. package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.js +16 -17
  48. package/build/main//321/201omponents/CustomSelectPriority/types.d.ts +1 -1
  49. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +2 -2
  50. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +16 -17
  51. package/build/main//321/201omponents/CustomSelectProfiles/types.d.ts +3 -2
  52. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +2 -2
  53. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +8 -7
  54. package/build/main//321/201omponents/DragAndDrop/types.d.ts +5 -2
  55. package/build/main//321/201omponents/Error/Error.d.ts +1 -1
  56. package/build/main//321/201omponents/Error/Error.js +6 -4
  57. package/build/main//321/201omponents/Error/types.d.ts +3 -0
  58. package/build/main//321/201omponents/Header/Header.d.ts +1 -1
  59. package/build/main//321/201omponents/Header/Header.js +8 -6
  60. package/build/main//321/201omponents/Input/Input.d.ts +2 -2
  61. package/build/main//321/201omponents/Input/Input.js +3 -3
  62. package/build/main//321/201omponents/Input/types.d.ts +1 -1
  63. package/build/main//321/201omponents/Loader/Loader.d.ts +1 -1
  64. package/build/main//321/201omponents/Loader/Loader.js +2 -2
  65. package/build/main//321/201omponents/Profile/Profile.d.ts +1 -1
  66. package/build/main//321/201omponents/Profile/Profile.js +11 -6
  67. package/build/main//321/201omponents/Profile/types.d.ts +3 -0
  68. package/build/main//321/201omponents/Stories/Stories.d.ts +4 -0
  69. package/build/main//321/201omponents/Stories/Stories.js +167 -0
  70. package/build/main//321/201omponents/Stories/index.d.ts +1 -0
  71. package/build/main//321/201omponents/Stories/index.js +1 -0
  72. package/build/main//321/201omponents/Stories/types.d.ts +34 -0
  73. package/build/main//321/201omponents/Stories/types.js +5 -0
  74. package/build/main//321/201omponents/Switcher/Switcher.d.ts +1 -1
  75. package/build/main//321/201omponents/Switcher/Switcher.js +4 -4
  76. package/build/main//321/201omponents/Switcher/types.d.ts +6 -4
  77. package/build/main//321/201omponents/Toggle/Toggle.d.ts +1 -1
  78. package/build/main//321/201omponents/Toggle/Toggle.js +4 -4
  79. package/build/main//321/201omponents/Toggle/types.d.ts +3 -3
  80. package/build/main//321/201omponents/index.d.ts +1 -0
  81. package/build/main//321/201omponents/index.js +1 -0
  82. package/package.json +15 -4
  83. package/build/main/assets/icons/calendar.svg +0 -4
  84. package/build/main/styles/aac6c83b0a358f7f0f6a.svg +0 -3
@@ -1,3 +1,3 @@
1
1
  <svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M7.76107 10.6464L6.90751 11.5H8.11462H19.2866C19.5628 11.5 19.7866 11.7239 19.7866 12C19.7866 12.2761 19.5628 12.5 19.2866 12.5H8.11462H6.90751L7.76107 13.3536L12.6401 18.2326C12.8353 18.4278 12.8353 18.7442 12.6401 18.9394C12.4449 19.1347 12.1284 19.1347 11.9332 18.9394L5.34728 12.3536C5.15202 12.1583 5.15202 11.8417 5.34728 11.6464L11.9332 5.06055C12.1284 4.86535 12.4449 4.86535 12.6401 5.06055C12.8353 5.25576 12.8353 5.57224 12.6401 5.76745L7.76107 10.6464Z" fill="currentColor" stroke="#currentColor"/>
2
+ <path d="M7.76107 10.6464L6.90751 11.5H8.11462H19.2866C19.5628 11.5 19.7866 11.7239 19.7866 12C19.7866 12.2761 19.5628 12.5 19.2866 12.5H8.11462H6.90751L7.76107 13.3536L12.6401 18.2326C12.8353 18.4278 12.8353 18.7442 12.6401 18.9394C12.4449 19.1347 12.1284 19.1347 11.9332 18.9394L5.34728 12.3536C5.15202 12.1583 5.15202 11.8417 5.34728 11.6464L11.9332 5.06055C12.1284 4.86535 12.4449 4.86535 12.6401 5.06055C12.8353 5.25576 12.8353 5.57224 12.6401 5.76745L7.76107 10.6464Z" fill="currentColor" stroke="currentColor"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
1
  <svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M12.5039 10.9393L12.8574 11.2929L13.211 10.9393L17.4536 6.6967C17.6489 6.50144 17.9654 6.50144 18.1607 6.6967C18.356 6.89196 18.356 7.20854 18.1607 7.40381L13.9181 11.6464L13.5645 12L13.9181 12.3536L18.1607 16.5962C18.356 16.7915 18.356 17.108 18.1607 17.3033C17.9654 17.4986 17.6489 17.4986 17.4536 17.3033L13.211 13.0607L12.8574 12.7071L12.5039 13.0607L8.26122 17.3033C8.06595 17.4986 7.74937 17.4986 7.55411 17.3033C7.35885 17.108 7.35885 16.7915 7.55411 16.5962L11.7967 12.3536L12.1503 12L11.7967 11.6464L7.55411 7.40381C7.35885 7.20854 7.35885 6.89196 7.55411 6.6967C7.74937 6.50144 8.06595 6.50144 8.26122 6.6967L12.5039 10.9393Z" stroke="#111111" stroke-opacity="0.3"/>
2
+ <path d="M12.5039 10.9393L12.8574 11.2929L13.211 10.9393L17.4536 6.6967C17.6489 6.50144 17.9654 6.50144 18.1607 6.6967C18.356 6.89196 18.356 7.20854 18.1607 7.40381L13.9181 11.6464L13.5645 12L13.9181 12.3536L18.1607 16.5962C18.356 16.7915 18.356 17.108 18.1607 17.3033C17.9654 17.4986 17.6489 17.4986 17.4536 17.3033L13.211 13.0607L12.8574 12.7071L12.5039 13.0607L8.26122 17.3033C8.06595 17.4986 7.74937 17.4986 7.55411 17.3033C7.35885 17.108 7.35885 16.7915 7.55411 16.5962L11.7967 12.3536L12.1503 12L11.7967 11.6464L7.55411 7.40381C7.35885 7.20854 7.35885 6.89196 7.55411 6.6967C7.74937 6.50144 8.06595 6.50144 8.26122 6.6967L12.5039 10.9393Z" stroke="currentColor" stroke-opacity="1"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
1
  <svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.42871 18C14.3993 18 18.4287 13.9706 18.4287 9C18.4287 4.02944 14.3993 0 9.42871 0C4.45815 0 0.428711 4.02944 0.428711 9C0.428711 13.9706 4.45815 18 9.42871 18ZM8.86036 12.3453L14.1358 7.07023C14.5264 6.67921 14.5264 6.04566 14.1356 5.65486C13.7449 5.26428 13.1112 5.26399 12.7203 5.65486L8.15288 10.2223L6.137 8.20643C5.7463 7.81571 5.11265 7.81571 4.72178 8.20658C4.33098 8.59738 4.33098 9.23115 4.72178 9.62187L7.44499 12.3453C7.83601 12.736 8.46971 12.736 8.86036 12.3453Z" fill="#4799E3"/>
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.42871 18C14.3993 18 18.4287 13.9706 18.4287 9C18.4287 4.02944 14.3993 0 9.42871 0C4.45815 0 0.428711 4.02944 0.428711 9C0.428711 13.9706 4.45815 18 9.42871 18ZM8.86036 12.3453L14.1358 7.07023C14.5264 6.67921 14.5264 6.04566 14.1356 5.65486C13.7449 5.26428 13.1112 5.26399 12.7203 5.65486L8.15288 10.2223L6.137 8.20643C5.7463 7.81571 5.11265 7.81571 4.72178 8.20658C4.33098 8.59738 4.33098 9.23115 4.72178 9.62187L7.44499 12.3453C7.83601 12.736 8.46971 12.736 8.86036 12.3453Z" fill="currentColor"/>
3
3
  </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="24" height="24" rx="12" fill="white"/>
3
+ <path d="M16.7782 7.22943C16.4824 6.93364 16.0045 6.93364 15.7088 7.22943L12 10.9306L8.29124 7.22184C7.99545 6.92605 7.51763 6.92605 7.22184 7.22184C6.92605 7.51763 6.92605 7.99545 7.22184 8.29124L10.9306 12L7.22184 15.7088C6.92605 16.0045 6.92605 16.4824 7.22184 16.7782C7.51763 17.0739 7.99545 17.0739 8.29124 16.7782L12 13.0694L15.7088 16.7782C16.0045 17.0739 16.4824 17.0739 16.7782 16.7782C17.0739 16.4824 17.0739 16.0045 16.7782 15.7088L13.0694 12L16.7782 8.29124C17.0664 8.00303 17.0664 7.51763 16.7782 7.22943Z" fill="#111111" fill-opacity="0.3"/>
4
+ </svg>
@@ -1,3 +1,3 @@
1
1
  <svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M11.79 10.9393L12.1435 11.2929L12.4971 10.9393L16.7397 6.6967C16.935 6.50144 17.2516 6.50144 17.4468 6.6967C17.6421 6.89196 17.6421 7.20854 17.4468 7.40381L13.2042 11.6464L12.8506 12L13.2042 12.3536L17.4468 16.5962C17.6421 16.7915 17.6421 17.108 17.4468 17.3033C17.2516 17.4986 16.935 17.4986 16.7397 17.3033L12.4971 13.0607L12.1435 12.7071L11.79 13.0607L7.54735 17.3033C7.35209 17.4986 7.0355 17.4986 6.84024 17.3033C6.64498 17.108 6.64498 16.7915 6.84024 16.5962L11.0829 12.3536L11.4364 12L11.0829 11.6464L6.84024 7.40381C6.64498 7.20854 6.64498 6.89196 6.84024 6.6967C7.0355 6.50144 7.35209 6.50144 7.54735 6.6967L11.79 10.9393Z" fill="#4799E3" stroke="#4799E3"/>
2
+ <path d="M11.79 10.9393L12.1435 11.2929L12.4971 10.9393L16.7397 6.6967C16.935 6.50144 17.2516 6.50144 17.4468 6.6967C17.6421 6.89196 17.6421 7.20854 17.4468 7.40381L13.2042 11.6464L12.8506 12L13.2042 12.3536L17.4468 16.5962C17.6421 16.7915 17.6421 17.108 17.4468 17.3033C17.2516 17.4986 16.935 17.4986 16.7397 17.3033L12.4971 13.0607L12.1435 12.7071L11.79 13.0607L7.54735 17.3033C7.35209 17.4986 7.0355 17.4986 6.84024 17.3033C6.64498 17.108 6.64498 16.7915 6.84024 16.5962L11.0829 12.3536L11.4364 12L11.0829 11.6464L6.84024 7.40381C6.64498 7.20854 6.64498 6.89196 6.84024 6.6967C7.0355 6.50144 7.35209 6.50144 7.54735 6.6967L11.79 10.9393Z" fill="currentColor" stroke="currentColor"/>
3
3
  </svg>
@@ -1,4 +1,4 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M4.5 19L4.5 19.5L5 19.5L19 19.5L19.5 19.5L19.5 19L19.5 13C19.5 12.7261 19.7261 12.5 20 12.5C20.2739 12.5 20.5 12.7261 20.5 13L20.5 19C20.5 19.8239 19.8239 20.5 19 20.5L5 20.5C4.17614 20.5 3.5 19.8239 3.5 19L3.5 13C3.5 12.7261 3.72614 12.5 4 12.5C4.27386 12.5 4.5 12.7261 4.5 13L4.5 19Z" fill="#4799E3" stroke="#4799E3"/>
3
- <path d="M12.35 14.8587L15.14 12.0687C15.46 11.7487 15.24 11.2087 14.79 11.2087L13 11.2087L13 4.20873C13 3.65873 12.55 3.20873 12 3.20873C11.45 3.20873 11 3.65873 11 4.20873L11 11.2087L9.20997 11.2087C8.75997 11.2087 8.53997 11.7487 8.85997 12.0587L11.65 14.8487C11.84 15.0487 12.16 15.0487 12.35 14.8587Z" fill="#4799E3"/>
2
+ <path d="M4.5 19L4.5 19.5L5 19.5L19 19.5L19.5 19.5L19.5 19L19.5 13C19.5 12.7261 19.7261 12.5 20 12.5C20.2739 12.5 20.5 12.7261 20.5 13L20.5 19C20.5 19.8239 19.8239 20.5 19 20.5L5 20.5C4.17614 20.5 3.5 19.8239 3.5 19L3.5 13C3.5 12.7261 3.72614 12.5 4 12.5C4.27386 12.5 4.5 12.7261 4.5 13L4.5 19Z" fill="currentColor" stroke="currentColor"/>
3
+ <path d="M12.35 14.8587L15.14 12.0687C15.46 11.7487 15.24 11.2087 14.79 11.2087L13 11.2087L13 4.20873C13 3.65873 12.55 3.20873 12 3.20873C11.45 3.20873 11 3.65873 11 4.20873L11 11.2087L9.20997 11.2087C8.75997 11.2087 8.53997 11.7487 8.85997 12.0587L11.65 14.8487C11.84 15.0487 12.16 15.0487 12.35 14.8587Z" fill="currentColor"/>
4
4
  </svg>
@@ -1,5 +1,5 @@
1
1
  <svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M11.0302 2.28309C11.4795 2.03014 11.9864 1.89725 12.502 1.89725C13.0176 1.89725 13.5245 2.03014 13.9738 2.28309C14.4231 2.53604 14.7996 2.90052 15.067 3.34136L15.0699 3.34611L23.5398 17.4861L23.548 17.4999C23.8099 17.9536 23.9485 18.4679 23.95 18.9917C23.9514 19.5155 23.8157 20.0306 23.5563 20.4857C23.2969 20.9408 22.9229 21.3201 22.4714 21.5857C22.0199 21.8514 21.5068 21.9942 20.983 21.9999L20.972 22.0001L4.02098 22C3.49718 21.9942 2.98402 21.8514 2.53255 21.5857C2.08107 21.3201 1.70703 20.9408 1.44762 20.4857C1.18822 20.0306 1.0525 19.5155 1.05397 18.9917C1.05543 18.4679 1.19404 17.9536 1.45598 17.4999L1.46411 17.4861L9.93411 3.34612L10.792 3.85998L9.93697 3.34136C10.2044 2.90052 10.5809 2.53604 11.0302 2.28309ZM11.6482 4.37663L3.18466 18.5058C3.09948 18.6556 3.05444 18.8249 3.05396 18.9973C3.05347 19.1719 3.09871 19.3436 3.18518 19.4953C3.27165 19.647 3.39633 19.7734 3.54682 19.862C3.69599 19.9498 3.86537 19.9973 4.03837 20H20.9656C21.1386 19.9973 21.308 19.9498 21.4571 19.862C21.6076 19.7734 21.7323 19.647 21.8188 19.4953C21.9052 19.3436 21.9505 19.1719 21.95 18.9973C21.9495 18.8249 21.9045 18.6557 21.8193 18.5059L13.357 4.37862C13.3566 4.37796 13.3562 4.37729 13.3558 4.37663C13.2667 4.23058 13.1417 4.1098 12.9926 4.02586C12.8428 3.94154 12.6738 3.89725 12.502 3.89725C12.3301 3.89725 12.1611 3.94154 12.0114 4.02586C11.8623 4.1098 11.7372 4.23058 11.6482 4.37663Z" fill="#111111" fill-opacity="0.3"/>
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M12.502 8C13.0542 8 13.502 8.44772 13.502 9V13C13.502 13.5523 13.0542 14 12.502 14C11.9497 14 11.502 13.5523 11.502 13V9C11.502 8.44772 11.9497 8 12.502 8Z" fill="#111111" fill-opacity="0.3"/>
4
- <path fill-rule="evenodd" clip-rule="evenodd" d="M11.502 17C11.502 16.4477 11.9497 16 12.502 16H12.512C13.0642 16 13.512 16.4477 13.512 17C13.512 17.5523 13.0642 18 12.512 18H12.502C11.9497 18 11.502 17.5523 11.502 17Z" fill="#111111" fill-opacity="0.3"/>
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11.0302 2.28309C11.4795 2.03014 11.9864 1.89725 12.502 1.89725C13.0176 1.89725 13.5245 2.03014 13.9738 2.28309C14.4231 2.53604 14.7996 2.90052 15.067 3.34136L15.0699 3.34611L23.5398 17.4861L23.548 17.4999C23.8099 17.9536 23.9485 18.4679 23.95 18.9917C23.9514 19.5155 23.8157 20.0306 23.5563 20.4857C23.2969 20.9408 22.9229 21.3201 22.4714 21.5857C22.0199 21.8514 21.5068 21.9942 20.983 21.9999L20.972 22.0001L4.02098 22C3.49718 21.9942 2.98402 21.8514 2.53255 21.5857C2.08107 21.3201 1.70703 20.9408 1.44762 20.4857C1.18822 20.0306 1.0525 19.5155 1.05397 18.9917C1.05543 18.4679 1.19404 17.9536 1.45598 17.4999L1.46411 17.4861L9.93411 3.34612L10.792 3.85998L9.93697 3.34136C10.2044 2.90052 10.5809 2.53604 11.0302 2.28309ZM11.6482 4.37663L3.18466 18.5058C3.09948 18.6556 3.05444 18.8249 3.05396 18.9973C3.05347 19.1719 3.09871 19.3436 3.18518 19.4953C3.27165 19.647 3.39633 19.7734 3.54682 19.862C3.69599 19.9498 3.86537 19.9973 4.03837 20H20.9656C21.1386 19.9973 21.308 19.9498 21.4571 19.862C21.6076 19.7734 21.7323 19.647 21.8188 19.4953C21.9052 19.3436 21.9505 19.1719 21.95 18.9973C21.9495 18.8249 21.9045 18.6557 21.8193 18.5059L13.357 4.37862C13.3566 4.37796 13.3562 4.37729 13.3558 4.37663C13.2667 4.23058 13.1417 4.1098 12.9926 4.02586C12.8428 3.94154 12.6738 3.89725 12.502 3.89725C12.3301 3.89725 12.1611 3.94154 12.0114 4.02586C11.8623 4.1098 11.7372 4.23058 11.6482 4.37663Z" fill="currentColor" fill-opacity="1"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12.502 8C13.0542 8 13.502 8.44772 13.502 9V13C13.502 13.5523 13.0542 14 12.502 14C11.9497 14 11.502 13.5523 11.502 13V9C11.502 8.44772 11.9497 8 12.502 8Z" fill="currentColor" fill-opacity="1"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11.502 17C11.502 16.4477 11.9497 16 12.502 16H12.512C13.0642 16 13.512 16.4477 13.512 17C13.512 17.5523 13.0642 18 12.512 18H12.502C11.9497 18 11.502 17.5523 11.502 17Z" fill="currentColor" fill-opacity="1"/>
5
5
  </svg>
@@ -1,3 +1,3 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M5 6.79994C5 5.94336 5.00078 5.36107 5.03755 4.91098C5.07337 4.47256 5.1383 4.24836 5.21799 4.09196C5.40973 3.71563 5.71569 3.40967 6.09202 3.21793C6.24842 3.13824 6.47262 3.07331 6.91104 3.03749C7.36113 3.00072 7.94342 2.99994 8.8 2.99994H13.3373C13.4683 2.99994 13.5336 3.00018 13.5811 3.00235C13.5824 3.00241 13.5836 3.00246 13.5847 3.00252C13.5856 3.00329 13.5865 3.00409 13.5874 3.00493C13.6225 3.03698 13.6689 3.08304 13.7615 3.17567L18.8243 8.23842C18.9169 8.33105 18.963 8.37745 18.995 8.41256C18.9958 8.41349 18.9966 8.41437 18.9974 8.41522C18.9975 8.41637 18.9975 8.41756 18.9976 8.41881C18.9998 8.4663 19 8.53168 19 8.66268V17.1999C19 18.0565 18.9992 18.6388 18.9624 19.0889C18.9266 19.5273 18.8617 19.7515 18.782 19.9079C18.5903 20.2843 18.2843 20.5902 17.908 20.782C17.7516 20.8616 17.5274 20.9266 17.089 20.9624C16.6389 20.9992 16.0566 20.9999 15.2 20.9999H8.8C7.94342 20.9999 7.36113 20.9992 6.91104 20.9624C6.47262 20.9266 6.24842 20.8616 6.09202 20.782C5.7157 20.5902 5.40973 20.2842 5.21799 19.9079C5.1383 19.7515 5.07337 19.5273 5.03755 19.0889C5.00078 18.6388 5 18.0565 5 17.1999V6.79994Z" stroke="#111111" stroke-opacity="0.3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
2
+ <path d="M5 6.79994C5 5.94336 5.00078 5.36107 5.03755 4.91098C5.07337 4.47256 5.1383 4.24836 5.21799 4.09196C5.40973 3.71563 5.71569 3.40967 6.09202 3.21793C6.24842 3.13824 6.47262 3.07331 6.91104 3.03749C7.36113 3.00072 7.94342 2.99994 8.8 2.99994H13.3373C13.4683 2.99994 13.5336 3.00018 13.5811 3.00235C13.5824 3.00241 13.5836 3.00246 13.5847 3.00252C13.5856 3.00329 13.5865 3.00409 13.5874 3.00493C13.6225 3.03698 13.6689 3.08304 13.7615 3.17567L18.8243 8.23842C18.9169 8.33105 18.963 8.37745 18.995 8.41256C18.9958 8.41349 18.9966 8.41437 18.9974 8.41522C18.9975 8.41637 18.9975 8.41756 18.9976 8.41881C18.9998 8.4663 19 8.53168 19 8.66268V17.1999C19 18.0565 18.9992 18.6388 18.9624 19.0889C18.9266 19.5273 18.8617 19.7515 18.782 19.9079C18.5903 20.2843 18.2843 20.5902 17.908 20.782C17.7516 20.8616 17.5274 20.9266 17.089 20.9624C16.6389 20.9992 16.0566 20.9999 15.2 20.9999H8.8C7.94342 20.9999 7.36113 20.9992 6.91104 20.9624C6.47262 20.9266 6.24842 20.8616 6.09202 20.782C5.7157 20.5902 5.40973 20.2842 5.21799 19.9079C5.1383 19.7515 5.07337 19.5273 5.03755 19.0889C5.00078 18.6388 5 18.0565 5 17.1999V6.79994Z" stroke="currentColor" stroke-opacity="1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
3
  </svg>
@@ -1,4 +1,4 @@
1
1
  <svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M5.57275 5H11.5728C12.1228 5 12.5728 4.55 12.5728 4C12.5728 3.45 12.1228 3 11.5728 3H5.57275C4.47275 3 3.57275 3.9 3.57275 5V19C3.57275 20.1 4.47275 21 5.57275 21H11.5728C12.1228 21 12.5728 20.55 12.5728 20C12.5728 19.45 12.1228 19 11.5728 19H5.57275V5Z" fill="#4799E3"/>
3
- <path d="M21.2228 11.65L18.4328 8.86C18.1128 8.54 17.5728 8.76 17.5728 9.21V11H10.5728C10.0228 11 9.57275 11.45 9.57275 12C9.57275 12.55 10.0228 13 10.5728 13H17.5728V14.79C17.5728 15.24 18.1128 15.46 18.4228 15.14L21.2128 12.35C21.4128 12.16 21.4128 11.84 21.2228 11.65Z" fill="#4799E3"/>
2
+ <path d="M5.57275 5H11.5728C12.1228 5 12.5728 4.55 12.5728 4C12.5728 3.45 12.1228 3 11.5728 3H5.57275C4.47275 3 3.57275 3.9 3.57275 5V19C3.57275 20.1 4.47275 21 5.57275 21H11.5728C12.1228 21 12.5728 20.55 12.5728 20C12.5728 19.45 12.1228 19 11.5728 19H5.57275V5Z" fill="currentColor"/>
3
+ <path d="M21.2228 11.65L18.4328 8.86C18.1128 8.54 17.5728 8.76 17.5728 9.21V11H10.5728C10.0228 11 9.57275 11.45 9.57275 12C9.57275 12.55 10.0228 13 10.5728 13H17.5728V14.79C17.5728 15.24 18.1128 15.46 18.4228 15.14L21.2128 12.35C21.4128 12.16 21.4128 11.84 21.2228 11.65Z" fill="currentColor"/>
4
4
  </svg>
@@ -1,6 +1,6 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g opacity="0.3">
3
- <line x1="6" y1="15" x2="18" y2="15" stroke="black" stroke-width="2" stroke-linecap="round"/>
4
- <line x1="6" y1="9" x2="18" y2="9" stroke="black" stroke-width="2" stroke-linecap="round"/>
2
+ <g opacity="1">
3
+ <line x1="6" y1="15" x2="18" y2="15" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
4
+ <line x1="6" y1="9" x2="18" y2="9" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
5
5
  </g>
6
6
  </svg>
@@ -1,4 +1,4 @@
1
1
  <svg width="45" height="44" viewBox="0 0 45 44" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <circle cx="22.5728" cy="22" r="19.5" fill="#4799E3" fill-opacity="0.05" stroke="#4799E3"/>
3
- <path d="M23.0728 21V21.5H23.5728H29.5728C29.8489 21.5 30.0728 21.7239 30.0728 22C30.0728 22.2761 29.8489 22.5 29.5728 22.5H23.5728H23.0728V23V29C23.0728 29.2761 22.8489 29.5 22.5728 29.5C22.2966 29.5 22.0728 29.2761 22.0728 29V23V22.5H21.5728H15.5728C15.2966 22.5 15.0728 22.2761 15.0728 22C15.0728 21.7239 15.2966 21.5 15.5728 21.5H21.5728H22.0728V21V15C22.0728 14.7239 22.2966 14.5 22.5728 14.5C22.8489 14.5 23.0728 14.7239 23.0728 15V21Z" stroke="#4799E3"/>
2
+ <circle cx="22.5728" cy="22" r="19.5" fill="currentColor" fill-opacity="1" stroke="strokeColor"/>
3
+ <path d="M23.0728 21V21.5H23.5728H29.5728C29.8489 21.5 30.0728 21.7239 30.0728 22C30.0728 22.2761 29.8489 22.5 29.5728 22.5H23.5728H23.0728V23V29C23.0728 29.2761 22.8489 29.5 22.5728 29.5C22.2966 29.5 22.0728 29.2761 22.0728 29V23V22.5H21.5728H15.5728C15.2966 22.5 15.0728 22.2761 15.0728 22C15.0728 21.7239 15.2966 21.5 15.5728 21.5H21.5728H22.0728V21V15C22.0728 14.7239 22.2966 14.5 22.5728 14.5C22.8489 14.5 23.0728 14.7239 23.0728 15V21Z" stroke="strokeColor"/>
4
4
  </svg>
@@ -0,0 +1,13 @@
1
+ export declare const DEFAULT_BLUE_LIGHT_ICON_COLOR = "#4799E30D";
2
+ export declare const DEFAULT_BLUE_ICON_COLOR = "#4799E3";
3
+ export declare const DEFAULT_RED_ICON_COLOR = "#EB5545";
4
+ export declare const DEFAULT_GRAY_ICON_COLOR = "#1111114D";
5
+ export declare const DEFAULT_BLACK_ICON_COLOR = "#111111";
6
+ export declare enum PLATFORM {
7
+ web = "web",
8
+ ios = "ios",
9
+ android = "android"
10
+ }
11
+ export declare const BUTTON_PADDING: number;
12
+ export declare const MAX_PADDING_FOR_IMAGE: number;
13
+ export declare const DEFAULT_FONT_FAMILY: string;
@@ -0,0 +1,14 @@
1
+ export var DEFAULT_BLUE_LIGHT_ICON_COLOR = '#4799E30D';
2
+ export var DEFAULT_BLUE_ICON_COLOR = '#4799E3';
3
+ export var DEFAULT_RED_ICON_COLOR = '#EB5545';
4
+ export var DEFAULT_GRAY_ICON_COLOR = '#1111114D';
5
+ export var DEFAULT_BLACK_ICON_COLOR = '#111111';
6
+ export var PLATFORM;
7
+ (function (PLATFORM) {
8
+ PLATFORM["web"] = "web";
9
+ PLATFORM["ios"] = "ios";
10
+ PLATFORM["android"] = "android";
11
+ })(PLATFORM || (PLATFORM = {}));
12
+ export var BUTTON_PADDING = 32;
13
+ export var MAX_PADDING_FOR_IMAGE = 200;
14
+ export var DEFAULT_FONT_FAMILY = 'Open Sans';
@@ -0,0 +1 @@
1
+ export * from './constants';
@@ -0,0 +1 @@
1
+ export * from './constants';
@@ -0,0 +1 @@
1
+ export declare const getIconColor: (iconColor: string | undefined, defaultIconColor: string) => string;
@@ -0,0 +1,3 @@
1
+ export var getIconColor = function (iconColor, defaultIconColor) {
2
+ return (iconColor && CSS.supports('color', iconColor)) ? iconColor : defaultIconColor;
3
+ };
@@ -1,30 +1,28 @@
1
+ @import '~animate.css/animate';
1
2
  @import 'react-datepicker/dist/react-datepicker';
2
3
 
3
4
  $color-black: rgba(17, 17, 17, 1);
4
5
  $color-dark-gray: rgba(17, 17, 17, 0.5);
5
6
  $color-darker-gray: rgba(17, 17, 17, 0.3);
7
+ $color-darker-gray-opacity: rgba(0, 0, 0, 0.2);
8
+ $color-darkest-gray-opacity: #CCC;
6
9
  $color-gray: rgba(17, 17, 17, 0.1);
10
+ $color-light-gray: rgba(239, 242, 244, 1);
7
11
  $color-lighter-gray: rgba(224, 228, 236, 1);
8
12
  $color-lighter-gray-opacity: rgba(224, 228, 236, 0.4);
9
- $color-light-gray: rgba(239, 242, 244, 1);
13
+ $color-lightest-gray: rgba(0, 0, 0, 0.05);
10
14
  $color-white: rgba(255, 255, 255, 1);
11
- $color-blue: rgba(71, 153, 227, 1);
12
- $color-orange: rgba(242, 160, 112, 1);
13
15
  $color-red: rgba(235, 85, 69, 1);
14
- $color-light-blue: rgba(71, 153, 227, 0.2);
16
+ $color-blue: rgba(71, 153, 227, 1);
17
+ $color-light-blue: #CDF4FF;
18
+ $color-lighter-blue: rgba(71, 153, 227, 0.2);
15
19
 
16
- /*
17
- body {
18
- width: 400px;
19
- padding: 0 !important;
20
- }
20
+ $border-color: rgba(85, 85, 85, 0.2);
21
21
 
22
- html {
23
- padding: 8px;
24
- width: 400px;
25
- margin: 0;
26
- }
27
- */
22
+ $popup-background: rgba(0, 0, 0, 0.3);
23
+
24
+ $box-shadow-color: rgba(0, 0, 0, 0.25);
25
+ $box-shadow-dark-color: rgb(0 0 0 / 60%);
28
26
 
29
27
  .smartapp-action-modal {
30
28
  &__content {
@@ -33,7 +31,7 @@ html {
33
31
  flex-direction: column;
34
32
  background-color: $color-white;
35
33
  padding: 24px;
36
- border: 1px solid rgba(85, 85, 85, 0.2);
34
+ border: 1px solid $border-color;
37
35
  border-radius: 3px;
38
36
  width: 320px;
39
37
 
@@ -68,7 +66,7 @@ html {
68
66
  .popup-content {
69
67
  width: 100%;
70
68
  height: 100%;
71
- background: rgba(0, 0, 0, 0.3);
69
+ background: $popup-background;
72
70
  display: flex;
73
71
  justify-content: center;
74
72
  align-items: center;
@@ -136,7 +134,7 @@ html {
136
134
  height: 40px;
137
135
  font-size: 18px;
138
136
  color: $color-white;
139
- background-color: #cdf4ff;
137
+ background-color: $color-light-blue;
140
138
  text-decoration: none;
141
139
  white-space: nowrap;
142
140
  font-weight: 500;
@@ -146,7 +144,7 @@ html {
146
144
 
147
145
  .smartapp-button {
148
146
  width: 100%;
149
- &__standart {
147
+ &__standard {
150
148
  cursor: pointer;
151
149
  padding: 12px 32px;
152
150
  border-radius: 8px;
@@ -219,7 +217,7 @@ html {
219
217
 
220
218
  // Голова
221
219
  &__header {
222
- background: #eff2f4 !important;
220
+ background: $color-light-gray !important;
223
221
  color: $color-dark-gray;
224
222
  padding: 0;
225
223
  border-bottom: 0;
@@ -261,7 +259,7 @@ html {
261
259
 
262
260
  // Дни, которые уже прошли
263
261
  &__day--disabled {
264
- color: #ccc !important;
262
+ color: $color-darkest-gray-opacity !important;
265
263
  }
266
264
 
267
265
  // Каждый день
@@ -320,7 +318,7 @@ html {
320
318
  align-items: center;
321
319
  cursor: pointer;
322
320
  padding: 12px 16px;
323
- border: 1px solid rgba(0, 0, 0, 0.05);
321
+ border: 1px solid $color-lightest-gray;
324
322
  border-radius: 8px;
325
323
  box-sizing: border-box;
326
324
  width: 100%;
@@ -333,82 +331,50 @@ html {
333
331
  }
334
332
 
335
333
  .smartapp-check-box {
336
- display: flex;
337
- align-items: center;
338
-
339
- &__container {
340
- display: flex;
341
- flex-direction: row;
342
-
343
- &__marker {
344
- margin-right: 18px;
345
- height: 24px;
346
- width: 24px;
347
- cursor: pointer;
348
- }
349
-
350
- &__marker-name {
351
- padding-top: 5px;
352
- }
353
-
354
- &__custom-check-box {
355
- z-index: -1;
356
- opacity: 0;
357
- position: absolute;
358
- }
334
+ &__custom-check-box {
335
+ z-index: -1;
336
+ opacity: 0;
337
+ position: absolute;
338
+ }
359
339
 
360
- .checkmark {
361
- display: inline-flex;
362
- align-items: center;
363
- user-select: none;
364
- margin: 0;
365
- }
340
+ .checkmark::before {
341
+ content: '';
342
+ display: inline-block;
343
+ width: 20px;
344
+ height: 20px;
345
+ background-color: $color-white;
346
+ border: 1px solid $color-gray;
347
+ border-radius: 50%;
348
+ cursor: pointer;
349
+ }
366
350
 
367
- .checkmark::before {
368
- cursor: pointer;
369
- content: '';
370
- display: inline-block;
371
- width: 20px;
372
- height: 20px;
373
- flex-shrink: 0;
374
- flex-grow: 0;
375
- font-size: 16px;
376
- line-height: 22px;
377
- background-color: $color-white;
378
- border: 1px solid $color-gray;
379
- border-radius: 50%;
380
- margin-right: 15px;
381
- background-repeat: no-repeat;
382
- background-position: center center;
383
- background-size: 60% 60%;
384
- }
351
+ /* стили при наведении курсора на радио */
352
+ &__custom-check-box:not(:disabled):not(:checked) + .checkmark:hover::before {
353
+ border-color: $color-gray;
354
+ }
385
355
 
386
- /* стили при наведении курсора на радио */
387
- &--custom-check-box:not(:disabled):not(:checked) + .checkmark:hover::before {
388
- border-color: $color-gray;
389
- }
356
+ /* стили для активной радиокнопки (при нажатии на неё) */
357
+ &__custom-check-box:not(:disabled):active + .checkmark::before {
358
+ background-color: $color-gray;
359
+ border-color: $color-gray;
360
+ }
390
361
 
391
- /* стили для активной радиокнопки (при нажатии на неё) */
392
- &--custom-check-box:not(:disabled):active + .checkmark::before {
393
- background-color: $color-gray;
394
- border-color: $color-gray;
395
- }
362
+ /* стили для радиокнопки, находящейся в фокусе и не находящейся в состоянии checked */
363
+ &__custom-check-box:focus:not(:checked) + .checkmark::before {
364
+ border-color: $color-gray;
365
+ background-size: 60% 60%;
366
+ }
396
367
 
397
- /* стили для радиокнопки, находящейся в фокусе и не находящейся в состоянии checked */
398
- &__custom-check-box:focus:not(:checked) + .checkmark::before {
399
- border-color: $color-gray;
400
- background-size: 60% 60%;
401
- }
368
+ /* стили для радиокнопки, находящейся в состоянии checked */
369
+ &__custom-check-box:checked + svg {
370
+ height: 22px;
371
+ width: 22px;
372
+ cursor: pointer;
373
+ }
402
374
 
403
- /* стили для радиокнопки, находящейся в состоянии checked */
404
- &__custom-check-box:checked + .checkmark::before {
405
- border: none;
406
- height: 22px;
407
- width: 22px;
408
- background-image: url('../assets/icons/check-mark.svg');
409
- background-size: 100% 100%;
410
- background-repeat: no-repeat;
411
- }
375
+ &__custom-check-box:disabled:not(:checked) + .checkmark::before,
376
+ &__custom-check-box:disabled:checked + svg {
377
+ cursor: default;
412
378
  }
413
379
  }
414
380
 
@@ -448,7 +414,7 @@ html {
448
414
  &__content {
449
415
  background-color: $color-white;
450
416
  padding: 24px;
451
- border: 1px solid rgba(85, 85, 85, 0.2);
417
+ border: 1px solid $border-color;
452
418
  border-radius: 3px;
453
419
  width: 320px;
454
420
 
@@ -482,7 +448,7 @@ html {
482
448
  .popup-content {
483
449
  width: 100%;
484
450
  height: 100%;
485
- background: rgba(0, 0, 0, 0.3);
451
+ background: $popup-background;
486
452
  display: flex;
487
453
  justify-content: center;
488
454
  align-items: center;
@@ -544,7 +510,7 @@ html {
544
510
  font-weight: 400;
545
511
  font-size: 12px;
546
512
  line-height: 16px;
547
- color: rgba(17, 17, 17, 0.5);
513
+ color: $color-dark-gray;
548
514
  }
549
515
  }
550
516
  }
@@ -569,7 +535,7 @@ html {
569
535
  font-weight: 400;
570
536
  font-size: 12px;
571
537
  line-height: 16px;
572
- color: rgba(17, 17, 17, 0.5);
538
+ color: $color-dark-gray;
573
539
  }
574
540
  }
575
541
 
@@ -643,7 +609,6 @@ html {
643
609
  display: flex;
644
610
  justify-content: center;
645
611
  flex-direction: column;
646
- max-width: 200px;
647
612
  background-color: $color-white;
648
613
 
649
614
  &__icon {
@@ -710,7 +675,7 @@ html {
710
675
 
711
676
  &__field {
712
677
  padding: 12px 16px;
713
- border: 1px solid rgba(0, 0, 0, 0.05);
678
+ border: 1px solid $color-lightest-gray;
714
679
  border-radius: 8px;
715
680
  font-weight: 400;
716
681
  font-size: 14px;
@@ -759,7 +724,7 @@ html {
759
724
  position: absolute;
760
725
  padding: 16px;
761
726
  box-sizing: border-box;
762
- box-shadow: 2px 2px 6px rgb(0 0 0 / 60%);
727
+ box-shadow: 2px 2px 6px $box-shadow-dark-color;
763
728
  max-width: 330px;
764
729
  top: 45px;
765
730
  background-color: $color-white;
@@ -780,7 +745,7 @@ html {
780
745
  height: 40px;
781
746
  font-size: 18px;
782
747
  color: $color-white;
783
- background-color: #cdf4ff;
748
+ background-color: $color-light-blue;
784
749
  text-decoration: none;
785
750
  white-space: nowrap;
786
751
  font-weight: 500;
@@ -845,14 +810,14 @@ html {
845
810
  .smartapp-switcher {
846
811
  &__instance {
847
812
  padding: 8px 16px;
848
- background: rgba(0, 0, 0, 0.05);
813
+ background: $color-lightest-gray;
849
814
  border-radius: 4px;
850
815
  border: 0;
851
816
  font-weight: 700;
852
817
  font-size: 12px;
853
818
  line-height: 16px;
854
819
  letter-spacing: -0.01em;
855
- color: rgba(0, 0, 0, 0.2);
820
+ color: $color-darker-gray-opacity;
856
821
  text-decoration: none;
857
822
  white-space: nowrap;
858
823
  box-sizing: border-box;
@@ -915,11 +880,11 @@ html {
915
880
  background: $color-lighter-gray;
916
881
  -webkit-transition: 0.2s;
917
882
  transition: 0.2s;
918
- box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
883
+ box-shadow: 0 2px 2px $box-shadow-color;
919
884
  }
920
885
 
921
886
  input:checked + .smartapp-slider {
922
- background: $color-light-blue;
887
+ background: $color-lighter-blue;
923
888
  }
924
889
 
925
890
  input:checked + .smartapp-slider:before {
@@ -927,7 +892,7 @@ input:checked + .smartapp-slider:before {
927
892
  -ms-transform: translateX(14px);
928
893
  transform: translateX(14px);
929
894
  background-color: $color-blue;
930
- box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
895
+ box-shadow: 0 2px 2px $box-shadow-color;
931
896
  }
932
897
 
933
898
  .smartapp-slider.round {
@@ -937,3 +902,122 @@ input:checked + .smartapp-slider:before {
937
902
  .smartapp-slider.round:before {
938
903
  border-radius: 50%;
939
904
  }
905
+
906
+ .smartapp-stories-content {
907
+ &::before {
908
+ content: "";
909
+ position: absolute;
910
+ width: 100%;
911
+ height: 100%;
912
+ background: var(--background);
913
+ background-image: var(--background);
914
+ background-size: cover;
915
+ -webkit-filter: brightness(0.8) blur(15px);
916
+ filter: brightness(0.8) blur(15px);
917
+ -webkit-transform: scale(1.1, 1.1);
918
+ transform: scale(1.1, 1.1);
919
+ }
920
+ }
921
+
922
+ .smartapp-stories {
923
+ height: 100%;
924
+ position: relative;
925
+
926
+ &__web {
927
+ width: 400px;
928
+ }
929
+
930
+ &__ios, &__android {
931
+ width: 100%;
932
+ }
933
+
934
+ &__story {
935
+ color: $color-white;
936
+ padding-top: var(--padding);
937
+
938
+ &--title {
939
+ font-size: 24px;
940
+ font-weight: 700;
941
+ line-height: 33px;
942
+ margin-bottom: 24px;
943
+ padding: 0 24px;
944
+ }
945
+
946
+ &--body {
947
+ font-size: 16px;
948
+ font-weight: 400;
949
+ line-height: 24px;
950
+ padding: 0 24px;
951
+ }
952
+
953
+ &--image {
954
+ display: flex;
955
+ justify-content: center;
956
+ margin-bottom: 32px;
957
+
958
+ img {
959
+ width: 100%;
960
+ }
961
+ }
962
+
963
+ &--button {
964
+ position: absolute;
965
+ bottom: 32px;
966
+ font-size: 14px;
967
+ font-weight: 600;
968
+ line-height: 19px;
969
+ text-align: center;
970
+ color: $color-black;
971
+ background: $color-white;
972
+ border-radius: 8px;
973
+ padding: 12px 32px;
974
+ cursor: pointer;
975
+ z-index: 1000;
976
+
977
+ &__web {
978
+ left: 24px;
979
+ right: 24px;
980
+ }
981
+
982
+ &__ios, &__android {
983
+ left: 16px;
984
+ right: 16px;
985
+ }
986
+ }
987
+ }
988
+
989
+ &__animate-right {
990
+ animation: slideInRight 0.5s;
991
+ }
992
+
993
+ &__animate-left {
994
+ animation: slideInLeft 0.5s;
995
+ }
996
+
997
+ &__icon {
998
+ position: absolute;
999
+ left: 16px;
1000
+ z-index: 1000;
1001
+ cursor: pointer;
1002
+
1003
+ &--web {
1004
+ top: 12px;
1005
+ }
1006
+
1007
+ &--ios {
1008
+ top: 11px;
1009
+ }
1010
+
1011
+ &--android {
1012
+ top: 16px;
1013
+ }
1014
+ }
1015
+ }
1016
+
1017
+ @media (min-width: 401px) {
1018
+ .smartapp-stories__web > div > div:first-child {
1019
+ max-width: calc(100% - 48px) !important;
1020
+ padding-left: 24px !important;
1021
+ padding-right: 24px !important;
1022
+ }
1023
+ }