1mpacto-react-ui 0.2.0-beta.9 → 1.0.1

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 (214) hide show
  1. package/dist/assets/_colors.scss +80 -0
  2. package/dist/assets/_mixins.scss +32 -5
  3. package/dist/assets/_typography.scss +582 -0
  4. package/dist/assets/colors.css +40 -0
  5. package/dist/assets/core.css +1 -1
  6. package/dist/assets/fontfamily.css +1 -1
  7. package/dist/assets/fonts/PlusJakartaSans-Italic.ttf +0 -0
  8. package/dist/assets/fonts/PlusJakartaSans.ttf +0 -0
  9. package/dist/assets/style.css +1 -1
  10. package/dist/assets/toast.css +98 -194
  11. package/dist/assets/typography.css +96 -0
  12. package/dist/index.cjs +120 -117
  13. package/dist/index.d.ts +1 -0
  14. package/dist/index.mjs +27703 -27059
  15. package/dist/package.json.d.ts +46 -47
  16. package/dist/src/components/Alert/index.d.ts +1 -0
  17. package/dist/src/components/Badges/Badges.config.d.ts +57 -0
  18. package/dist/src/components/Badges/Badges.d.ts +1 -0
  19. package/dist/src/components/Badges/Badges.stories.d.ts +117 -2
  20. package/dist/src/components/Breadcrumbs/Breadcrumbs.config.d.ts +113 -0
  21. package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +2 -1
  22. package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +221 -6
  23. package/dist/src/components/Button/Button.config.d.ts +70 -0
  24. package/dist/src/components/Button/Button.d.ts +1 -0
  25. package/dist/src/components/Button/Button.stories.d.ts +129 -4
  26. package/dist/src/components/ButtonIcon/ButtonIcon.config.d.ts +53 -0
  27. package/dist/src/components/ButtonIcon/ButtonIcon.d.ts +1 -0
  28. package/dist/src/components/ButtonIcon/ButtonIcon.stories.d.ts +123 -4
  29. package/dist/src/components/ButtonPopover/ButtonPopover.d.ts +1 -0
  30. package/dist/src/components/ButtonPopover/ButtonPopover.stories.d.ts +258 -2
  31. package/dist/src/components/Calendar/Calendar.d.ts +3 -1
  32. package/dist/src/components/Calendar/Calendar.stories.d.ts +283 -2
  33. package/dist/src/components/Calendar/CalendarButton.d.ts +1 -0
  34. package/dist/src/components/Calendar/CalendarCell.d.ts +1 -0
  35. package/dist/src/components/Calendar/CalendarMonth.d.ts +1 -0
  36. package/dist/src/components/Calendar/CalendarRange.d.ts +1 -0
  37. package/dist/src/components/Calendar/CalendarYear.d.ts +1 -0
  38. package/dist/src/components/Chart/DoughnutChart.d.ts +1 -0
  39. package/dist/src/components/Chart/GradientBarChart.d.ts +1 -0
  40. package/dist/src/components/Chart/GradientBarChart.stories.d.ts +71 -4
  41. package/dist/src/components/Chart/GradientLineChart.d.ts +1 -0
  42. package/dist/src/components/Chart/GradientLineChart.stories.d.ts +82 -4
  43. package/dist/src/components/Chart/LineChart.d.ts +1 -0
  44. package/dist/src/components/Chart/LineChart.stories.d.ts +35 -2
  45. package/dist/src/components/Chips/Chips.config.d.ts +35 -0
  46. package/dist/src/components/Chips/Chips.d.ts +1 -0
  47. package/dist/src/components/Chips/Chips.stories.d.ts +137 -2
  48. package/dist/src/components/Collapse/Collapse.d.ts +1 -0
  49. package/dist/src/components/Collapse/Collapse.stories.d.ts +89 -2
  50. package/dist/src/components/Collapse/CollapseV2.d.ts +1 -0
  51. package/dist/src/components/Collapse/CollapseV2.stories.d.ts +59 -2
  52. package/dist/src/components/Colors/Colors.stories.d.ts +2 -1
  53. package/dist/src/components/DatePicker/DatePicker.d.ts +1 -0
  54. package/dist/src/components/DatePicker/DatePicker.stories.d.ts +221 -2
  55. package/dist/src/components/DatePicker/DateRangePicker.d.ts +1 -0
  56. package/dist/src/components/DatePicker/FilterDate.d.ts +2 -1
  57. package/dist/src/components/DatePicker/FilterDate.stories.d.ts +232 -3
  58. package/dist/src/components/DatePicker/MonthYearPicker.d.ts +1 -0
  59. package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +198 -2
  60. package/dist/src/components/ErrorMessage/ErrorMessage.config.d.ts +8 -0
  61. package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +1 -0
  62. package/dist/src/components/ErrorMessage/ErrorMessage.stories.d.ts +39 -2
  63. package/dist/src/components/FilterContainer/FilterContainer.d.ts +1 -0
  64. package/dist/src/components/FilterContainer/FilterContainer.stories.d.ts +165 -0
  65. package/dist/src/components/Input/InputFloatingInner.config.d.ts +9 -0
  66. package/dist/src/components/Input/InputFloatingInner.d.ts +1 -0
  67. package/dist/src/components/Input/InputFloatingInner.stories.d.ts +177 -6
  68. package/dist/src/components/Input/InputInnerLabel.config.d.ts +8 -0
  69. package/dist/src/components/Input/InputInnerLabel.d.ts +5 -0
  70. package/dist/src/components/Input/InputInnerLabel.stories.d.ts +205 -0
  71. package/dist/src/components/Input/InputNative.config.d.ts +9 -0
  72. package/dist/src/components/Input/InputNative.d.ts +1 -0
  73. package/dist/src/components/Input/InputNative.stories.d.ts +149 -5
  74. package/dist/src/components/Input/InputReguler.config.d.ts +9 -0
  75. package/dist/src/components/Input/InputReguler.d.ts +1 -0
  76. package/dist/src/components/Input/InputReguler.stories.d.ts +177 -6
  77. package/dist/src/components/Modal/ModalDialog.config.d.ts +9 -0
  78. package/dist/src/components/Modal/ModalDialog.d.ts +1 -0
  79. package/dist/src/components/Modal/ModalDialog.stories.d.ts +121 -2
  80. package/dist/src/components/NumberFormat/NumberFormat.d.ts +1 -0
  81. package/dist/src/components/NumberFormat/NumberFormat.stories.d.ts +373 -18
  82. package/dist/src/components/Pagination/Pagination.config.d.ts +5 -0
  83. package/dist/src/components/Pagination/Pagination.d.ts +2 -1
  84. package/dist/src/components/Pagination/Pagination.stories.d.ts +200 -3
  85. package/dist/src/components/Popover/Popover.d.ts +1 -0
  86. package/dist/src/components/Popover/Popover.stories.d.ts +216 -7
  87. package/dist/src/components/PortalComponent/PortalComponent.d.ts +1 -0
  88. package/dist/src/components/PortalComponent/PortalComponent.stories.d.ts +61 -0
  89. package/dist/src/components/RadioCheckbox/CheckboxTable.d.ts +1 -0
  90. package/dist/src/components/RadioCheckbox/RadioCheckbox.config.d.ts +41 -0
  91. package/dist/src/components/RadioCheckbox/RadioCheckbox.d.ts +1 -0
  92. package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +230 -8
  93. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +25 -0
  94. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.d.ts +1 -0
  95. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.stories.d.ts +196 -4
  96. package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.config.d.ts +26 -0
  97. package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.d.ts +2 -1
  98. package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.stories.d.ts +5 -4
  99. package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +5 -1
  100. package/dist/src/components/Sidebar/ItemSidebar.config.d.ts +34 -0
  101. package/dist/src/components/Sidebar/ItemSidebar.d.ts +1 -0
  102. package/dist/src/components/Sidebar/Sidebar.config.d.ts +16 -0
  103. package/dist/src/components/Sidebar/Sidebar.d.ts +2 -1
  104. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +6 -5
  105. package/dist/src/components/Step/Step.d.ts +1 -0
  106. package/dist/src/components/Step/Step.stories.d.ts +135 -2
  107. package/dist/src/components/Step/StepIndicator.d.ts +1 -0
  108. package/dist/src/components/Step/StepIndicator.stories.d.ts +148 -2
  109. package/dist/src/components/Switch/Switch.config.d.ts +26 -0
  110. package/dist/src/components/Switch/Switch.d.ts +1 -0
  111. package/dist/src/components/Switch/Switch.stories.d.ts +128 -2
  112. package/dist/src/components/Table/Table.config.d.ts +5 -0
  113. package/dist/src/components/Table/Table.d.ts +3 -3
  114. package/dist/src/components/Table/Table.stories.d.ts +71 -52
  115. package/dist/src/components/Table/TableSubMobile.d.ts +4 -0
  116. package/dist/src/components/Tabs/TabPanel.d.ts +1 -0
  117. package/dist/src/components/Tabs/Tabs.config.d.ts +31 -0
  118. package/dist/src/components/Tabs/Tabs.d.ts +2 -1
  119. package/dist/src/components/Tabs/Tabs.stories.d.ts +220 -3
  120. package/dist/src/components/TextEditor/TextEditor.d.ts +1 -0
  121. package/dist/src/components/TextEditor/TextEditor.stories.d.ts +59 -10
  122. package/dist/src/components/Textarea/Textarea.config.d.ts +31 -0
  123. package/dist/src/components/Textarea/Textarea.d.ts +1 -0
  124. package/dist/src/components/Textarea/Textarea.stories.d.ts +250 -3
  125. package/dist/src/components/Textarea/TextareaFloatingInner.config.d.ts +6 -0
  126. package/dist/src/components/Textarea/TextareaFloatingInner.d.ts +1 -0
  127. package/dist/src/components/Textarea/TextareaFloatingInner.stories.d.ts +260 -3
  128. package/dist/src/components/Textarea/TextareaInnerLabel.config.d.ts +7 -0
  129. package/dist/src/components/Textarea/TextareaInnerLabel.d.ts +5 -0
  130. package/dist/src/components/Textarea/TextareaInnerLabel.stories.d.ts +259 -0
  131. package/dist/src/components/TimeRange/TimeRange.d.ts +4 -0
  132. package/dist/src/components/TimeRange/TimeRange.stories.d.ts +186 -0
  133. package/dist/src/components/Timeline/Timeline.d.ts +1 -0
  134. package/dist/src/components/Timeline/Timeline.stories.d.ts +40 -2
  135. package/dist/src/components/Tooltip/Tooltip.d.ts +1 -0
  136. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +159 -2
  137. package/dist/src/components/TruncateComponent/TruncateComponent.d.ts +1 -0
  138. package/dist/src/components/TruncateComponent/TruncateComponent.stories.d.ts +106 -2
  139. package/dist/src/components/Typography/Typography.stories.d.ts +2 -1
  140. package/dist/src/components/Upload/UploadFile.d.ts +1 -0
  141. package/dist/src/components/Upload/UploadFile.stories.d.ts +127 -2
  142. package/dist/src/components/Upload/UploadImage.d.ts +2 -1
  143. package/dist/src/components/Upload/UploadImage.stories.d.ts +145 -3
  144. package/dist/src/components/Upload/UploadMultipleFile.d.ts +2 -1
  145. package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +190 -3
  146. package/dist/src/components/Virtualization/ListVirtualization.d.ts +1 -0
  147. package/dist/src/components/Virtualization/ListVirtualization.stories.d.ts +279 -2
  148. package/dist/src/components/Virtualization/TableVirtualization.d.ts +1 -0
  149. package/dist/src/components/Virtualization/TableVirtualization.stories.d.ts +296 -2
  150. package/dist/src/components/index.d.ts +15 -8
  151. package/dist/src/components/screens/Screens.stories.d.ts +14 -0
  152. package/dist/src/config/bigNumber/index.d.ts +1 -0
  153. package/dist/src/config/components/borderRadius.d.ts +1 -0
  154. package/dist/src/config/components/font.d.ts +7 -0
  155. package/dist/src/config/components/gap.d.ts +1 -0
  156. package/dist/src/config/components/tinymce.d.ts +1 -0
  157. package/dist/src/config/components/typography.d.ts +3 -49
  158. package/dist/src/config/tailwind/index.d.ts +3 -1
  159. package/dist/src/config/tailwind/nativeScreen.d.ts +3 -0
  160. package/dist/src/config/tailwind/typography.d.ts +1 -0
  161. package/dist/src/hooks/index.d.ts +6 -3
  162. package/dist/src/hooks/useAsyncDebounce.d.ts +9 -0
  163. package/dist/src/hooks/useCombinedResizeObserver.d.ts +67 -0
  164. package/dist/src/hooks/useCountdown.d.ts +67 -3
  165. package/dist/src/hooks/useDeepCompareEffect.d.ts +14 -0
  166. package/dist/src/hooks/useElementOrWindowMediaQuery.d.ts +9 -0
  167. package/dist/src/hooks/useEventListener.d.ts +28 -0
  168. package/dist/src/hooks/useMasonry.d.ts +80 -0
  169. package/dist/src/hooks/useMergeRefs.d.ts +27 -0
  170. package/dist/src/hooks/useOtpInput.d.ts +200 -0
  171. package/dist/src/hooks/useStateRef.d.ts +9 -0
  172. package/dist/src/interfaces/components/Alert/index.d.ts +9 -0
  173. package/dist/src/interfaces/components/Badges/index.d.ts +31 -1
  174. package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +86 -2
  175. package/dist/src/interfaces/components/Button/index.d.ts +47 -2
  176. package/dist/src/interfaces/components/ButtonIcon/index.d.ts +37 -0
  177. package/dist/src/interfaces/components/ButtonPopover/index.d.ts +79 -0
  178. package/dist/src/interfaces/components/Calendar/index.d.ts +385 -3
  179. package/dist/src/interfaces/components/Chart/index.d.ts +461 -0
  180. package/dist/src/interfaces/components/Checkbox/index.d.ts +13 -0
  181. package/dist/src/interfaces/components/Chips/index.d.ts +39 -1
  182. package/dist/src/interfaces/components/Collapse/index.d.ts +61 -0
  183. package/dist/src/interfaces/components/DatePicker/index.d.ts +278 -1
  184. package/dist/src/interfaces/components/ErrorMessage/index.d.ts +17 -1
  185. package/dist/src/interfaces/components/FilterContainer/index.d.ts +103 -0
  186. package/dist/src/interfaces/components/Input/index.d.ts +194 -0
  187. package/dist/src/interfaces/components/Modal/index.d.ts +46 -0
  188. package/dist/src/interfaces/components/NumberFormat/index.d.ts +26 -0
  189. package/dist/src/interfaces/components/Pagination/index.d.ts +84 -0
  190. package/dist/src/interfaces/components/Popover/index.d.ts +99 -1
  191. package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +60 -2
  192. package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +47 -1
  193. package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +197 -2
  194. package/dist/src/interfaces/components/Sidebar/index.d.ts +230 -1
  195. package/dist/src/interfaces/components/Step/index.d.ts +154 -0
  196. package/dist/src/interfaces/components/Switch/index.d.ts +54 -1
  197. package/dist/src/interfaces/components/Table/index.d.ts +403 -6
  198. package/dist/src/interfaces/components/Tabs/index.d.ts +131 -1
  199. package/dist/src/interfaces/components/TextEditor/index.d.ts +13 -0
  200. package/dist/src/interfaces/components/Textarea/index.d.ts +170 -0
  201. package/dist/src/interfaces/components/TimeRange/index.d.ts +129 -0
  202. package/dist/src/interfaces/components/Timeline/index.d.ts +37 -0
  203. package/dist/src/interfaces/components/Tooltip/index.d.ts +57 -0
  204. package/dist/src/interfaces/components/TruncateComponent/index.d.ts +34 -0
  205. package/dist/src/interfaces/components/UploadFile/index.d.ts +187 -0
  206. package/dist/src/interfaces/components/Virtualization/ListVirtualization.d.ts +139 -0
  207. package/dist/src/interfaces/components/Virtualization/TableVirtualization.d.ts +144 -0
  208. package/dist/src/main.d.ts +1 -0
  209. package/dist/src/utils/common.d.ts +5 -4
  210. package/dist/src/utils/constant.d.ts +1 -0
  211. package/dist/types-external/table.d.ts +3 -0
  212. package/package.json +46 -47
  213. package/dist/index.cjs.map +0 -1
  214. package/dist/index.mjs.map +0 -1
@@ -4,15 +4,12 @@
4
4
  --toastify-color-info: #3498db;
5
5
  --toastify-color-success: #07bc0c;
6
6
  --toastify-color-warning: #f1c40f;
7
- --toastify-color-error: hsl(6, 78%, 57%);
7
+ --toastify-color-error: #e74c3c;
8
8
  --toastify-color-transparent: rgba(255, 255, 255, 0.7);
9
-
10
9
  --toastify-icon-color-info: var(--toastify-color-info);
11
10
  --toastify-icon-color-success: var(--toastify-color-success);
12
11
  --toastify-icon-color-warning: var(--toastify-color-warning);
13
12
  --toastify-icon-color-error: var(--toastify-color-error);
14
-
15
- --toastify-container-width: fit-content;
16
13
  --toastify-toast-width: 320px;
17
14
  --toastify-toast-offset: 16px;
18
15
  --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
@@ -20,31 +17,33 @@
20
17
  --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
21
18
  --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
22
19
  --toastify-toast-background: #fff;
23
- --toastify-toast-padding: 14px;
24
20
  --toastify-toast-min-height: 64px;
25
21
  --toastify-toast-max-height: 800px;
26
22
  --toastify-toast-bd-radius: 6px;
27
- --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
28
23
  --toastify-font-family: sans-serif;
29
24
  --toastify-z-index: 9999;
30
25
  --toastify-text-color-light: #757575;
31
26
  --toastify-text-color-dark: #fff;
32
-
33
- /* Used only for colored theme */
34
27
  --toastify-text-color-info: #fff;
35
28
  --toastify-text-color-success: #fff;
36
29
  --toastify-text-color-warning: #fff;
37
30
  --toastify-text-color-error: #fff;
38
-
39
31
  --toastify-spinner-color: #616161;
40
32
  --toastify-spinner-color-empty-area: #e0e0e0;
41
- --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
33
+ --toastify-color-progress-light: linear-gradient(
34
+ to right,
35
+ #4cd964,
36
+ #5ac8fa,
37
+ #007aff,
38
+ #34aadc,
39
+ #5856d6,
40
+ #ff2d55
41
+ );
42
42
  --toastify-color-progress-dark: #bb86fc;
43
43
  --toastify-color-progress-info: var(--toastify-color-info);
44
44
  --toastify-color-progress-success: var(--toastify-color-success);
45
45
  --toastify-color-progress-warning: var(--toastify-color-warning);
46
46
  --toastify-color-progress-error: var(--toastify-color-error);
47
- /* used to control the opacity of the progress trail */
48
47
  --toastify-color-progress-bgo: 0.2;
49
48
  }
50
49
 
@@ -52,13 +51,11 @@
52
51
  z-index: var(--toastify-z-index);
53
52
  -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
54
53
  position: fixed;
55
- width: var(--toastify-container-width);
54
+ padding: 4px;
55
+ width: var(--toastify-toast-width);
56
56
  box-sizing: border-box;
57
57
  color: #fff;
58
- display: flex;
59
- flex-direction: column;
60
58
  }
61
-
62
59
  .Toastify__toast-container--top-left {
63
60
  top: var(--toastify-toast-top);
64
61
  left: var(--toastify-toast-left);
@@ -67,12 +64,10 @@
67
64
  top: var(--toastify-toast-top);
68
65
  left: 50%;
69
66
  transform: translateX(-50%);
70
- align-items: center;
71
67
  }
72
68
  .Toastify__toast-container--top-right {
73
69
  top: var(--toastify-toast-top);
74
70
  right: var(--toastify-toast-right);
75
- align-items: end;
76
71
  }
77
72
  .Toastify__toast-container--bottom-left {
78
73
  bottom: var(--toastify-toast-bottom);
@@ -82,51 +77,24 @@
82
77
  bottom: var(--toastify-toast-bottom);
83
78
  left: 50%;
84
79
  transform: translateX(-50%);
85
- align-items: center;
86
80
  }
87
81
  .Toastify__toast-container--bottom-right {
88
82
  bottom: var(--toastify-toast-bottom);
89
83
  right: var(--toastify-toast-right);
90
- align-items: end;
91
- }
92
-
93
- .Toastify__toast {
94
- --y: 0;
95
- position: relative;
96
- touch-action: none;
97
- width: var(--toastify-toast-width);
98
- min-height: var(--toastify-toast-min-height);
99
- box-sizing: border-box;
100
- margin-bottom: 1rem;
101
- padding: var(--toastify-toast-padding);
102
- border-radius: var(--toastify-toast-bd-radius);
103
- box-shadow: var(--toastify-toast-shadow);
104
- max-height: var(--toastify-toast-max-height);
105
- font-family: var(--toastify-font-family);
106
- /* webkit only issue #791 */
107
- z-index: 0;
108
- /* inner swag */
109
- display: flex;
110
- flex: 1 auto;
111
- align-items: center;
112
- word-break: break-word;
113
84
  }
114
85
 
115
- @media only screen and (max-width: 480px) {
86
+ @media only screen and (max-width : 480px) {
116
87
  .Toastify__toast-container {
117
88
  width: 100vw;
89
+ padding: 0;
118
90
  left: env(safe-area-inset-left);
119
91
  margin: 0;
120
92
  }
121
- .Toastify__toast-container--top-left,
122
- .Toastify__toast-container--top-center,
123
- .Toastify__toast-container--top-right {
93
+ .Toastify__toast-container--top-left, .Toastify__toast-container--top-center, .Toastify__toast-container--top-right {
124
94
  top: env(safe-area-inset-top);
125
95
  transform: translateX(0);
126
96
  }
127
- .Toastify__toast-container--bottom-left,
128
- .Toastify__toast-container--bottom-center,
129
- .Toastify__toast-container--bottom-right {
97
+ .Toastify__toast-container--bottom-left, .Toastify__toast-container--bottom-center, .Toastify__toast-container--bottom-right {
130
98
  bottom: env(safe-area-inset-bottom);
131
99
  transform: translateX(0);
132
100
  }
@@ -134,64 +102,67 @@
134
102
  right: env(safe-area-inset-right);
135
103
  left: initial;
136
104
  }
137
- .Toastify__toast {
138
- --toastify-toast-width: 100%;
139
- margin-bottom: 0;
140
- border-radius: 0;
141
- }
142
105
  }
143
-
144
- .Toastify__toast-container[data-stacked='true'] {
145
- width: var(--toastify-toast-width);
106
+ .Toastify__toast {
107
+ --y: 0;
108
+ position: relative;
109
+ -ms-touch-action: none;
110
+ touch-action: none;
111
+ min-height: var(--toastify-toast-min-height);
112
+ box-sizing: border-box;
113
+ margin-bottom: 1rem;
114
+ padding: 8px;
115
+ border-radius: var(--toastify-toast-bd-radius);
116
+ box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
117
+ display: -ms-flexbox;
118
+ display: flex;
119
+ -ms-flex-pack: justify;
120
+ justify-content: space-between;
121
+ max-height: var(--toastify-toast-max-height);
122
+ font-family: var(--toastify-font-family);
123
+ cursor: default;
124
+ direction: ltr;
125
+ /* webkit only issue #791 */
126
+ z-index: 0;
127
+ overflow: hidden;
146
128
  }
147
-
148
129
  .Toastify__toast--stacked {
149
130
  position: absolute;
150
131
  width: 100%;
151
132
  transform: translate3d(0, var(--y), 0) scale(var(--s));
152
133
  transition: transform 0.3s;
153
134
  }
154
-
155
- .Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,
156
- .Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
135
+ .Toastify__toast--stacked[data-collapsed] .Toastify__toast-body, .Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
157
136
  transition: opacity 0.1s;
158
137
  }
159
-
160
- .Toastify__toast--stacked[data-collapsed='false'] {
138
+ .Toastify__toast--stacked[data-collapsed=false] {
161
139
  overflow: visible;
162
140
  }
163
-
164
- .Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * {
141
+ .Toastify__toast--stacked[data-collapsed=true]:not(:last-child) > * {
165
142
  opacity: 0;
166
143
  }
167
-
168
144
  .Toastify__toast--stacked:after {
169
- content: '';
145
+ content: "";
170
146
  position: absolute;
171
147
  left: 0;
172
148
  right: 0;
173
149
  height: calc(var(--g) * 1px);
174
150
  bottom: 100%;
175
151
  }
176
-
177
- .Toastify__toast--stacked[data-pos='top'] {
152
+ .Toastify__toast--stacked[data-pos=top] {
178
153
  top: 0;
179
154
  }
180
-
181
- .Toastify__toast--stacked[data-pos='bot'] {
155
+ .Toastify__toast--stacked[data-pos=bot] {
182
156
  bottom: 0;
183
157
  }
184
-
185
- .Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before {
158
+ .Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before {
186
159
  transform-origin: top;
187
160
  }
188
-
189
- .Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before {
161
+ .Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before {
190
162
  transform-origin: bottom;
191
163
  }
192
-
193
164
  .Toastify__toast--stacked:before {
194
- content: '';
165
+ content: "";
195
166
  position: absolute;
196
167
  left: 0;
197
168
  right: 0;
@@ -200,19 +171,34 @@
200
171
  transform: scaleY(3);
201
172
  z-index: -1;
202
173
  }
203
-
204
174
  .Toastify__toast--rtl {
205
175
  direction: rtl;
206
176
  }
207
-
208
177
  .Toastify__toast--close-on-click {
209
178
  cursor: pointer;
210
179
  }
211
-
180
+ .Toastify__toast-body {
181
+ margin: auto 0;
182
+ -ms-flex: 1 1 auto;
183
+ flex: 1 1 auto;
184
+ padding: 6px;
185
+ display: -ms-flexbox;
186
+ display: flex;
187
+ -ms-flex-align: center;
188
+ align-items: center;
189
+ }
190
+ .Toastify__toast-body > div:last-child {
191
+ word-break: break-word;
192
+ -ms-flex: 1;
193
+ flex: 1;
194
+ }
212
195
  .Toastify__toast-icon {
213
- margin-inline-end: 10px;
214
- width: 22px;
215
- flex-shrink: 0;
196
+ -webkit-margin-end: 10px;
197
+ margin-inline-end: 10px;
198
+ width: 20px;
199
+ -ms-flex-negative: 0;
200
+ flex-shrink: 0;
201
+ display: -ms-flexbox;
216
202
  display: flex;
217
203
  }
218
204
 
@@ -226,36 +212,36 @@
226
212
  animation-duration: 0.3s;
227
213
  }
228
214
 
215
+ @media only screen and (max-width : 480px) {
216
+ .Toastify__toast {
217
+ margin-bottom: 0;
218
+ border-radius: 0;
219
+ }
220
+ }
229
221
  .Toastify__toast-theme--dark {
230
222
  background: var(--toastify-color-dark);
231
223
  color: var(--toastify-text-color-dark);
232
224
  }
233
-
234
225
  .Toastify__toast-theme--light {
235
226
  background: var(--toastify-color-light);
236
227
  color: var(--toastify-text-color-light);
237
228
  }
238
-
239
229
  .Toastify__toast-theme--colored.Toastify__toast--default {
240
230
  background: var(--toastify-color-light);
241
231
  color: var(--toastify-text-color-light);
242
232
  }
243
-
244
233
  .Toastify__toast-theme--colored.Toastify__toast--info {
245
234
  color: var(--toastify-text-color-info);
246
235
  background: var(--toastify-color-info);
247
236
  }
248
-
249
237
  .Toastify__toast-theme--colored.Toastify__toast--success {
250
238
  color: var(--toastify-text-color-success);
251
239
  background: var(--toastify-color-success);
252
240
  }
253
-
254
241
  .Toastify__toast-theme--colored.Toastify__toast--warning {
255
242
  color: var(--toastify-text-color-warning);
256
243
  background: var(--toastify-color-warning);
257
244
  }
258
-
259
245
  .Toastify__toast-theme--colored.Toastify__toast--error {
260
246
  color: var(--toastify-text-color-error);
261
247
  background: var(--toastify-color-error);
@@ -264,39 +250,27 @@
264
250
  .Toastify__progress-bar-theme--light {
265
251
  background: var(--toastify-color-progress-light);
266
252
  }
267
-
268
253
  .Toastify__progress-bar-theme--dark {
269
254
  background: var(--toastify-color-progress-dark);
270
255
  }
271
-
272
256
  .Toastify__progress-bar--info {
273
257
  background: var(--toastify-color-progress-info);
274
258
  }
275
-
276
259
  .Toastify__progress-bar--success {
277
260
  background: var(--toastify-color-progress-success);
278
261
  }
279
-
280
262
  .Toastify__progress-bar--warning {
281
263
  background: var(--toastify-color-progress-warning);
282
264
  }
283
-
284
265
  .Toastify__progress-bar--error {
285
266
  background: var(--toastify-color-progress-error);
286
267
  }
287
-
288
- .Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,
289
- .Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,
290
- .Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,
291
- .Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
268
+ .Toastify__progress-bar-theme--colored.Toastify__progress-bar--info, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--success, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
292
269
  background: var(--toastify-color-transparent);
293
270
  }
294
271
 
295
272
  .Toastify__close-button {
296
273
  color: #fff;
297
- position: absolute;
298
- top: 6px;
299
- right: 6px;
300
274
  background: transparent;
301
275
  outline: none;
302
276
  border: none;
@@ -304,27 +278,20 @@
304
278
  cursor: pointer;
305
279
  opacity: 0.7;
306
280
  transition: 0.3s ease;
281
+ -ms-flex-item-align: start;
282
+ align-self: flex-start;
307
283
  z-index: 1;
308
284
  }
309
-
310
- .Toastify__toast--rtl .Toastify__close-button {
311
- left: 6px;
312
- right: unset;
313
- }
314
-
315
285
  .Toastify__close-button--light {
316
286
  color: #000;
317
287
  opacity: 0.3;
318
288
  }
319
-
320
289
  .Toastify__close-button > svg {
321
290
  fill: currentColor;
322
291
  height: 16px;
323
292
  width: 14px;
324
293
  }
325
-
326
- .Toastify__close-button:hover,
327
- .Toastify__close-button:focus {
294
+ .Toastify__close-button:hover, .Toastify__close-button:focus {
328
295
  opacity: 1;
329
296
  }
330
297
 
@@ -336,48 +303,41 @@
336
303
  transform: scaleX(0);
337
304
  }
338
305
  }
339
-
340
306
  .Toastify__progress-bar {
341
307
  position: absolute;
342
308
  bottom: 0;
343
309
  left: 0;
344
310
  width: 100%;
345
311
  height: 100%;
346
- z-index: 1;
312
+ z-index: var(--toastify-z-index);
347
313
  opacity: 0.7;
348
314
  transform-origin: left;
315
+ border-bottom-left-radius: var(--toastify-toast-bd-radius);
349
316
  }
350
-
351
317
  .Toastify__progress-bar--animated {
352
318
  animation: Toastify__trackProgress linear 1 forwards;
353
319
  }
354
-
355
320
  .Toastify__progress-bar--controlled {
356
321
  transition: transform 0.2s;
357
322
  }
358
-
359
323
  .Toastify__progress-bar--rtl {
360
324
  right: 0;
361
325
  left: initial;
362
326
  transform-origin: right;
363
327
  border-bottom-left-radius: initial;
328
+ border-bottom-right-radius: var(--toastify-toast-bd-radius);
364
329
  }
365
-
366
330
  .Toastify__progress-bar--wrp {
367
331
  position: absolute;
368
- overflow: hidden;
369
332
  bottom: 0;
370
333
  left: 0;
371
334
  width: 100%;
372
335
  height: 5px;
373
336
  border-bottom-left-radius: var(--toastify-toast-bd-radius);
374
- border-bottom-right-radius: var(--toastify-toast-bd-radius);
375
337
  }
376
-
377
- .Toastify__progress-bar--wrp[data-hidden='true'] {
338
+ .Toastify__progress-bar--wrp[data-hidden=true] {
378
339
  opacity: 0;
379
340
  }
380
-
381
341
  .Toastify__progress-bar--bg {
382
342
  opacity: var(--toastify-color-progress-bgo);
383
343
  width: 100%;
@@ -396,11 +356,7 @@
396
356
  }
397
357
 
398
358
  @keyframes Toastify__bounceInRight {
399
- from,
400
- 60%,
401
- 75%,
402
- 90%,
403
- to {
359
+ from, 60%, 75%, 90%, to {
404
360
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
405
361
  }
406
362
  from {
@@ -421,7 +377,6 @@
421
377
  transform: none;
422
378
  }
423
379
  }
424
-
425
380
  @keyframes Toastify__bounceOutRight {
426
381
  20% {
427
382
  opacity: 1;
@@ -432,13 +387,8 @@
432
387
  transform: translate3d(2000px, var(--y), 0);
433
388
  }
434
389
  }
435
-
436
390
  @keyframes Toastify__bounceInLeft {
437
- from,
438
- 60%,
439
- 75%,
440
- 90%,
441
- to {
391
+ from, 60%, 75%, 90%, to {
442
392
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
443
393
  }
444
394
  0% {
@@ -459,7 +409,6 @@
459
409
  transform: none;
460
410
  }
461
411
  }
462
-
463
412
  @keyframes Toastify__bounceOutLeft {
464
413
  20% {
465
414
  opacity: 1;
@@ -470,13 +419,8 @@
470
419
  transform: translate3d(-2000px, var(--y), 0);
471
420
  }
472
421
  }
473
-
474
422
  @keyframes Toastify__bounceInUp {
475
- from,
476
- 60%,
477
- 75%,
478
- 90%,
479
- to {
423
+ from, 60%, 75%, 90%, to {
480
424
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
481
425
  }
482
426
  from {
@@ -497,13 +441,11 @@
497
441
  transform: translate3d(0, 0, 0);
498
442
  }
499
443
  }
500
-
501
444
  @keyframes Toastify__bounceOutUp {
502
445
  20% {
503
446
  transform: translate3d(0, calc(var(--y) - 10px), 0);
504
447
  }
505
- 40%,
506
- 45% {
448
+ 40%, 45% {
507
449
  opacity: 1;
508
450
  transform: translate3d(0, calc(var(--y) + 20px), 0);
509
451
  }
@@ -512,13 +454,8 @@
512
454
  transform: translate3d(0, -2000px, 0);
513
455
  }
514
456
  }
515
-
516
457
  @keyframes Toastify__bounceInDown {
517
- from,
518
- 60%,
519
- 75%,
520
- 90%,
521
- to {
458
+ from, 60%, 75%, 90%, to {
522
459
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
523
460
  }
524
461
  0% {
@@ -539,13 +476,11 @@
539
476
  transform: none;
540
477
  }
541
478
  }
542
-
543
479
  @keyframes Toastify__bounceOutDown {
544
480
  20% {
545
481
  transform: translate3d(0, calc(var(--y) - 10px), 0);
546
482
  }
547
- 40%,
548
- 45% {
483
+ 40%, 45% {
549
484
  opacity: 1;
550
485
  transform: translate3d(0, calc(var(--y) + 20px), 0);
551
486
  }
@@ -554,39 +489,28 @@
554
489
  transform: translate3d(0, 2000px, 0);
555
490
  }
556
491
  }
557
-
558
- .Toastify__bounce-enter--top-left,
559
- .Toastify__bounce-enter--bottom-left {
492
+ .Toastify__bounce-enter--top-left, .Toastify__bounce-enter--bottom-left {
560
493
  animation-name: Toastify__bounceInLeft;
561
494
  }
562
-
563
- .Toastify__bounce-enter--top-right,
564
- .Toastify__bounce-enter--bottom-right {
495
+ .Toastify__bounce-enter--top-right, .Toastify__bounce-enter--bottom-right {
565
496
  animation-name: Toastify__bounceInRight;
566
497
  }
567
-
568
498
  .Toastify__bounce-enter--top-center {
569
499
  animation-name: Toastify__bounceInDown;
570
500
  }
571
-
572
501
  .Toastify__bounce-enter--bottom-center {
573
502
  animation-name: Toastify__bounceInUp;
574
503
  }
575
504
 
576
- .Toastify__bounce-exit--top-left,
577
- .Toastify__bounce-exit--bottom-left {
505
+ .Toastify__bounce-exit--top-left, .Toastify__bounce-exit--bottom-left {
578
506
  animation-name: Toastify__bounceOutLeft;
579
507
  }
580
-
581
- .Toastify__bounce-exit--top-right,
582
- .Toastify__bounce-exit--bottom-right {
508
+ .Toastify__bounce-exit--top-right, .Toastify__bounce-exit--bottom-right {
583
509
  animation-name: Toastify__bounceOutRight;
584
510
  }
585
-
586
511
  .Toastify__bounce-exit--top-center {
587
512
  animation-name: Toastify__bounceOutUp;
588
513
  }
589
-
590
514
  .Toastify__bounce-exit--bottom-center {
591
515
  animation-name: Toastify__bounceOutDown;
592
516
  }
@@ -600,7 +524,6 @@
600
524
  opacity: 1;
601
525
  }
602
526
  }
603
-
604
527
  @keyframes Toastify__zoomOut {
605
528
  from {
606
529
  opacity: 1;
@@ -613,7 +536,6 @@
613
536
  opacity: 0;
614
537
  }
615
538
  }
616
-
617
539
  .Toastify__zoom-enter {
618
540
  animation-name: Toastify__zoomIn;
619
541
  }
@@ -643,7 +565,6 @@
643
565
  transform: perspective(400px);
644
566
  }
645
567
  }
646
-
647
568
  @keyframes Toastify__flipOut {
648
569
  from {
649
570
  transform: translate3d(0, var(--y), 0) perspective(400px);
@@ -657,7 +578,6 @@
657
578
  opacity: 0;
658
579
  }
659
580
  }
660
-
661
581
  .Toastify__flip-enter {
662
582
  animation-name: Toastify__flipIn;
663
583
  }
@@ -675,7 +595,6 @@
675
595
  transform: translate3d(0, var(--y), 0);
676
596
  }
677
597
  }
678
-
679
598
  @keyframes Toastify__slideInLeft {
680
599
  from {
681
600
  transform: translate3d(-110%, 0, 0);
@@ -685,7 +604,6 @@
685
604
  transform: translate3d(0, var(--y), 0);
686
605
  }
687
606
  }
688
-
689
607
  @keyframes Toastify__slideInUp {
690
608
  from {
691
609
  transform: translate3d(0, 110%, 0);
@@ -695,7 +613,6 @@
695
613
  transform: translate3d(0, var(--y), 0);
696
614
  }
697
615
  }
698
-
699
616
  @keyframes Toastify__slideInDown {
700
617
  from {
701
618
  transform: translate3d(0, -110%, 0);
@@ -705,7 +622,6 @@
705
622
  transform: translate3d(0, var(--y), 0);
706
623
  }
707
624
  }
708
-
709
625
  @keyframes Toastify__slideOutRight {
710
626
  from {
711
627
  transform: translate3d(0, var(--y), 0);
@@ -715,7 +631,6 @@
715
631
  transform: translate3d(110%, var(--y), 0);
716
632
  }
717
633
  }
718
-
719
634
  @keyframes Toastify__slideOutLeft {
720
635
  from {
721
636
  transform: translate3d(0, var(--y), 0);
@@ -725,7 +640,6 @@
725
640
  transform: translate3d(-110%, var(--y), 0);
726
641
  }
727
642
  }
728
-
729
643
  @keyframes Toastify__slideOutDown {
730
644
  from {
731
645
  transform: translate3d(0, var(--y), 0);
@@ -735,7 +649,6 @@
735
649
  transform: translate3d(0, 500px, 0);
736
650
  }
737
651
  }
738
-
739
652
  @keyframes Toastify__slideOutUp {
740
653
  from {
741
654
  transform: translate3d(0, var(--y), 0);
@@ -745,45 +658,34 @@
745
658
  transform: translate3d(0, -500px, 0);
746
659
  }
747
660
  }
748
-
749
- .Toastify__slide-enter--top-left,
750
- .Toastify__slide-enter--bottom-left {
661
+ .Toastify__slide-enter--top-left, .Toastify__slide-enter--bottom-left {
751
662
  animation-name: Toastify__slideInLeft;
752
663
  }
753
-
754
- .Toastify__slide-enter--top-right,
755
- .Toastify__slide-enter--bottom-right {
664
+ .Toastify__slide-enter--top-right, .Toastify__slide-enter--bottom-right {
756
665
  animation-name: Toastify__slideInRight;
757
666
  }
758
-
759
667
  .Toastify__slide-enter--top-center {
760
668
  animation-name: Toastify__slideInDown;
761
669
  }
762
-
763
670
  .Toastify__slide-enter--bottom-center {
764
671
  animation-name: Toastify__slideInUp;
765
672
  }
766
673
 
767
- .Toastify__slide-exit--top-left,
768
- .Toastify__slide-exit--bottom-left {
674
+ .Toastify__slide-exit--top-left, .Toastify__slide-exit--bottom-left {
769
675
  animation-name: Toastify__slideOutLeft;
770
676
  animation-timing-function: ease-in;
771
677
  animation-duration: 0.3s;
772
678
  }
773
-
774
- .Toastify__slide-exit--top-right,
775
- .Toastify__slide-exit--bottom-right {
679
+ .Toastify__slide-exit--top-right, .Toastify__slide-exit--bottom-right {
776
680
  animation-name: Toastify__slideOutRight;
777
681
  animation-timing-function: ease-in;
778
682
  animation-duration: 0.3s;
779
683
  }
780
-
781
684
  .Toastify__slide-exit--top-center {
782
685
  animation-name: Toastify__slideOutUp;
783
686
  animation-timing-function: ease-in;
784
687
  animation-duration: 0.3s;
785
688
  }
786
-
787
689
  .Toastify__slide-exit--bottom-center {
788
690
  animation-name: Toastify__slideOutDown;
789
691
  animation-timing-function: ease-in;
@@ -798,3 +700,5 @@
798
700
  transform: rotate(360deg);
799
701
  }
800
702
  }
703
+
704
+ /*# sourceMappingURL=ReactToastify.css.map */