@fattureincloud/fic-design-system 0.19.4 → 0.19.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (184) hide show
  1. package/dist/assets/index-0788b002.css +626 -0
  2. package/dist/assets/index.esm-7d789d8e.css +626 -0
  3. package/dist/common/components/Label.d.ts +3 -0
  4. package/dist/common/types/label.d.ts +12 -0
  5. package/dist/common/utils/label.d.ts +5 -0
  6. package/dist/components/accordion-new/Accordion.d.ts +12 -0
  7. package/dist/components/accordion-new/accordion-new.stories.d.ts +4 -0
  8. package/dist/components/accordion-new/components/AccordionIcon.d.ts +3 -0
  9. package/dist/components/accordion-new/components/AccordionItem.d.ts +3 -0
  10. package/dist/components/accordion-new/components/styled.d.ts +8 -0
  11. package/dist/components/accordion-new/index.d.ts +3 -0
  12. package/dist/components/accordion-new/types.d.ts +58 -0
  13. package/dist/components/accordion-new/utils.d.ts +10 -0
  14. package/dist/components/accordions/accordions.d.ts +9 -0
  15. package/dist/components/accordions/accordions.stories.d.ts +8 -0
  16. package/dist/components/accordions/components/styledAccordionWrapper.d.ts +1 -0
  17. package/dist/components/accordions/index.d.ts +1 -0
  18. package/dist/components/accordions/types.d.ts +19 -0
  19. package/dist/components/banner/utils.d.ts +8 -0
  20. package/dist/components/carousel/components/common/styled.d.ts +2 -0
  21. package/dist/components/chart/components/styled.d.ts +13 -0
  22. package/dist/components/chart/stories/styled.d.ts +2 -20
  23. package/dist/components/checkbox/Checkbox.d.ts +15 -0
  24. package/dist/components/checkbox/checkbox.stories.d.ts +1 -0
  25. package/dist/components/checkbox/checkboxPalette.d.ts +16 -0
  26. package/dist/components/checkbox/components/Input.d.ts +9 -0
  27. package/dist/components/checkbox/components/Label.d.ts +8 -0
  28. package/dist/components/checkbox/hooks/useCheckboxValue.d.ts +11 -0
  29. package/dist/components/checkbox/index.d.ts +4 -0
  30. package/dist/components/checkbox/types.d.ts +19 -0
  31. package/dist/components/checkbox/utils.d.ts +24 -0
  32. package/dist/components/chips/chips.d.ts +7 -0
  33. package/dist/components/chips/chips.stories.d.ts +6 -0
  34. package/dist/components/chips/components/styledChipWrapper.d.ts +4 -0
  35. package/dist/components/chips/index.d.ts +2 -0
  36. package/dist/components/chips/types.d.ts +11 -0
  37. package/dist/components/drawer/types.d.ts +14 -0
  38. package/dist/components/form/checkbox/components/Input.d.ts +9 -0
  39. package/dist/components/form/checkbox/components/Label.d.ts +8 -0
  40. package/dist/components/form/datepicker/StyledDatePicker.d.ts +1 -0
  41. package/dist/components/form/datepicker/components/MonthPicker.d.ts +5 -0
  42. package/dist/components/form/fileUploader/fileTypes.d.ts +3 -0
  43. package/dist/components/form/fileUploader/hooks/useIcon.d.ts +4 -0
  44. package/dist/components/form/fileUploader/hooks/useTexts.d.ts +3 -0
  45. package/dist/components/form/select/components/Placeholder.d.ts +4 -0
  46. package/dist/components/form/select/components/types.d.ts +10 -0
  47. package/dist/components/groupRadioButton/index.d.ts +23 -0
  48. package/dist/components/groupRadioButton/radio-group.stories.d.ts +6 -0
  49. package/dist/components/inlineMessages/components/styledInlineMessageWrapper.d.ts +8 -0
  50. package/dist/components/inlineMessages/index.d.ts +2 -0
  51. package/dist/components/inlineMessages/inlineMessages.d.ts +4 -0
  52. package/dist/components/inlineMessages/inlineMessages.stories.d.ts +7 -0
  53. package/dist/components/inlineMessages/types.d.ts +29 -0
  54. package/dist/components/inputText/components/icons.d.ts +8 -0
  55. package/dist/components/inputText/components/inputContainer.d.ts +1 -0
  56. package/dist/components/inputText/components/messages.d.ts +2 -0
  57. package/dist/components/inputText/components/wrapperTextArea.d.ts +1 -0
  58. package/dist/components/inputText/icons.d.ts +9 -0
  59. package/dist/components/inputText/index.d.ts +3 -0
  60. package/dist/components/inputText/inputText.stories.d.ts +1 -0
  61. package/dist/components/inputText/inputTextStyledWrapper.d.ts +2 -0
  62. package/dist/components/inputText/sideText.d.ts +6 -0
  63. package/dist/components/inputText/typings/enums.d.ts +17 -0
  64. package/dist/components/inputText/typings/inputText.d.ts +43 -0
  65. package/dist/components/inputText/utils.d.ts +8 -0
  66. package/dist/components/newTable/components/action/favorite/Favorite.d.ts +13 -0
  67. package/dist/components/newTable/components/action/favorite/index.d.ts +1 -0
  68. package/dist/components/newTable/components/action/favorite/styled.d.ts +3 -0
  69. package/dist/components/pagination/paginationStyledWrapper.d.ts +1 -0
  70. package/dist/components/progressbar/components/styledProgressbarWrapper.d.ts +2 -0
  71. package/dist/components/radioButton/components/label.d.ts +2 -0
  72. package/dist/components/radioButton/components/radio.d.ts +2 -0
  73. package/dist/components/radioButton/index.d.ts +2 -0
  74. package/dist/components/radioButton/radio.stories.d.ts +6 -0
  75. package/dist/components/radioButton/typings/radioButton.d.ts +21 -0
  76. package/dist/components/select/hooks/constants.d.ts +4613 -0
  77. package/dist/components/select/hooks/useCustomSelectStyle.d.ts +4 -0
  78. package/dist/components/select/index.d.ts +4 -0
  79. package/dist/components/select/select.stories.d.ts +1 -0
  80. package/dist/components/select/typings/select.d.ts +22 -0
  81. package/dist/components/stepBar/components/singleStep.d.ts +3 -0
  82. package/dist/components/stepBar/components/styledStepBarWrapper.d.ts +2 -0
  83. package/dist/components/stepBar/index.d.ts +2 -0
  84. package/dist/components/stepBar/stepBar.d.ts +7 -0
  85. package/dist/components/stepBar/stepBar.stories.d.ts +1 -0
  86. package/dist/components/stepBar/types.d.ts +15 -0
  87. package/dist/components/table/components/EmptyState.d.ts +7 -0
  88. package/dist/components/table/components/SelectedRowsCount.d.ts +7 -0
  89. package/dist/components/table/components/actionLink.d.ts +3 -0
  90. package/dist/components/table/components/actions/ActionsCell.d.ts +10 -0
  91. package/dist/components/table/components/actions/DropdownActions.d.ts +10 -0
  92. package/dist/components/table/components/actions/PrimaryAction.d.ts +12 -0
  93. package/dist/components/table/components/actions/actionsContainer.d.ts +1 -0
  94. package/dist/components/table/components/actions/actionsPopUp.d.ts +12 -0
  95. package/dist/components/table/components/actions/actionsPopUpButton.d.ts +8 -0
  96. package/dist/components/table/components/actions/actionsPopUpUnderlay.d.ts +3 -0
  97. package/dist/components/table/components/checkboxes/Cell.d.ts +5 -0
  98. package/dist/components/table/components/checkboxes/Header.d.ts +5 -0
  99. package/dist/components/table/components/checkboxes/useHeaderCheckboxProps.d.ts +12 -0
  100. package/dist/components/table/components/components/headDesktop.d.ts +15 -0
  101. package/dist/components/table/components/components/listMobile.d.ts +15 -0
  102. package/dist/components/table/components/components/rowDesktop.d.ts +18 -0
  103. package/dist/components/table/components/customizationModal/customizationsModal.d.ts +10 -0
  104. package/dist/components/table/components/customizationModal/index.d.ts +2 -0
  105. package/dist/components/table/components/customizationModal/styledWrapper.d.ts +3 -0
  106. package/dist/components/table/components/customizationModal/useDnd.d.ts +8 -0
  107. package/dist/components/table/components/customizationModal/utils.d.ts +6 -0
  108. package/dist/components/table/components/emptySet.d.ts +10 -0
  109. package/dist/components/table/components/linearBackground.d.ts +1 -0
  110. package/dist/components/table/components/loadingCell/LoadingCell.d.ts +8 -0
  111. package/dist/components/table/components/loadingContent.d.ts +7 -0
  112. package/dist/components/table/components/pagination/PageButton.d.ts +10 -0
  113. package/dist/components/table/components/pagination/PaginationButtons.d.ts +10 -0
  114. package/dist/components/table/components/pagination/utils.d.ts +14 -0
  115. package/dist/components/table/components/pagination.d.ts +8 -0
  116. package/dist/components/table/components/sortIcon.d.ts +2 -0
  117. package/dist/components/table/components/styledWrapper.d.ts +3 -0
  118. package/dist/components/table/components/tableBody/TableBody.d.ts +17 -0
  119. package/dist/components/table/components/tableBody/TableBodyTr.d.ts +8 -0
  120. package/dist/components/table/components/tableHeader/SortIndicator.d.ts +7 -0
  121. package/dist/components/table/components/tableHeader/TableHeader.d.ts +12 -0
  122. package/dist/components/table/components/tableParts/TableTd.d.ts +8 -0
  123. package/dist/components/table/components/tableParts/TableTh.d.ts +4 -0
  124. package/dist/components/table/components/tableParts/styled.d.ts +17 -0
  125. package/dist/components/table/components/unstyledTable.d.ts +11 -0
  126. package/dist/components/table/constants.d.ts +2 -0
  127. package/dist/components/table/hooks/useCheckboxesComponents.d.ts +4 -0
  128. package/dist/components/table/hooks/useRowsSelection.d.ts +4 -0
  129. package/dist/components/table/hooks/useTableHooks.d.ts +6 -0
  130. package/dist/components/table/hooks/useTableValues.d.ts +14 -0
  131. package/dist/components/table/index.d.ts +7 -0
  132. package/dist/components/table/stories/columns.d.ts +3 -0
  133. package/dist/components/table/stories/components/CustomPerson.d.ts +7 -0
  134. package/dist/components/table/stories/components/Role.d.ts +8 -0
  135. package/dist/components/table/stories/components/types.d.ts +14 -0
  136. package/dist/components/table/stories/data.d.ts +2 -0
  137. package/dist/components/table/table.d.ts +57 -0
  138. package/dist/components/table/table.stories.d.ts +6 -0
  139. package/dist/components/table/tablePalette.d.ts +33 -0
  140. package/dist/components/table/types.d.ts +28 -0
  141. package/dist/components/table/typings/main.d.ts +92 -0
  142. package/dist/components/table/utils/configPersistency.d.ts +14 -0
  143. package/dist/components/table/utils.d.ts +16 -0
  144. package/dist/components/tableV3/components/cell/styled.d.ts +1 -1
  145. package/dist/components/tableV3/components/settings/Settings.d.ts +1 -2
  146. package/dist/components/textButton/TextButton.d.ts +12 -0
  147. package/dist/components/textButton/index.d.ts +2 -0
  148. package/dist/components/textButton/textButton.stories.d.ts +1 -0
  149. package/dist/components/tip/components/styledTip.d.ts +4 -0
  150. package/dist/components/toast/ToastContainer.d.ts +9 -0
  151. package/dist/components/toast/typings/toast.d.ts +32 -0
  152. package/dist/components/tooltips/components/message.d.ts +12 -0
  153. package/dist/components/tooltips/components/styledTooltipWrapper.d.ts +1 -0
  154. package/dist/components/tooltips/index.d.ts +2 -0
  155. package/dist/components/tooltips/tooltips.d.ts +15 -0
  156. package/dist/components/tooltips/tooltips.stories.d.ts +1 -0
  157. package/dist/components/tooltips/types.d.ts +25 -0
  158. package/dist/components/verticalTab/VerticalTab.d.ts +4 -0
  159. package/dist/components/verticalTab/components/VerticalTabSelector/VerticalTabSelector.d.ts +13 -0
  160. package/dist/components/verticalTab/components/VerticalTabSelector/index.d.ts +5 -0
  161. package/dist/components/verticalTab/components/VerticalTabSelector/styled.d.ts +11 -0
  162. package/dist/components/verticalTab/components/VerticalTabSelector/types.d.ts +37 -0
  163. package/dist/components/verticalTab/components/VerticalTabSelector/verticalTabSelector.stories.d.ts +5 -0
  164. package/dist/components/verticalTab/components/VerticalTabSelector/verticalTabSelectorPalette.d.ts +3 -0
  165. package/dist/components/verticalTab/index.d.ts +2 -0
  166. package/dist/components/verticalTab/styled.d.ts +6 -0
  167. package/dist/components/verticalTab/types.d.ts +6 -0
  168. package/dist/components/verticalTab/verticalTab.stories.d.ts +8 -0
  169. package/dist/index.esm.js +1 -1
  170. package/dist/index.esm.js.map +1 -1
  171. package/dist/index.js +1 -1
  172. package/dist/index.js.map +1 -1
  173. package/dist/styles/elevations.d.ts +7 -0
  174. package/dist/utils/FICNumbers.d.ts +11 -0
  175. package/package.json +11 -10
  176. package/dist/components/inlineMessage/const.d.ts +0 -2
  177. /package/dist/components/floatingBadge/{FloatingBadge.d.ts → floatingBadge.d.ts} +0 -0
  178. /package/dist/components/floatingBadge/{WithBadge.d.ts → withBadge.d.ts} +0 -0
  179. /package/dist/components/progressbar/{ProgressBar.d.ts → progressbar.d.ts} +0 -0
  180. /package/dist/components/progressbar/{progressBar.stories.d.ts → progressbar.stories.d.ts} +0 -0
  181. /package/dist/components/tip/{ShortcutTip.d.ts → shortcutTip.d.ts} +0 -0
  182. /package/dist/components/tip/{Tip.d.ts → tip.d.ts} +0 -0
  183. /package/dist/components/toast/components/{ToastContent.d.ts → toastContent.d.ts} +0 -0
  184. /package/dist/components/toast/{Toast.d.ts → toast.d.ts} +0 -0
@@ -0,0 +1,626 @@
1
+ :root {
2
+ --toastify-color-light: #fff;
3
+ --toastify-color-dark: #121212;
4
+ --toastify-color-info: #3498db;
5
+ --toastify-color-success: #07bc0c;
6
+ --toastify-color-warning: #f1c40f;
7
+ --toastify-color-error: #e74c3c;
8
+ --toastify-color-transparent: rgba(255, 255, 255, 0.7);
9
+ --toastify-icon-color-info: var(--toastify-color-info);
10
+ --toastify-icon-color-success: var(--toastify-color-success);
11
+ --toastify-icon-color-warning: var(--toastify-color-warning);
12
+ --toastify-icon-color-error: var(--toastify-color-error);
13
+ --toastify-toast-width: 320px;
14
+ --toastify-toast-background: #fff;
15
+ --toastify-toast-min-height: 64px;
16
+ --toastify-toast-max-height: 800px;
17
+ --toastify-font-family: sans-serif;
18
+ --toastify-z-index: 9999;
19
+ --toastify-text-color-light: #757575;
20
+ --toastify-text-color-dark: #fff;
21
+ --toastify-text-color-info: #fff;
22
+ --toastify-text-color-success: #fff;
23
+ --toastify-text-color-warning: #fff;
24
+ --toastify-text-color-error: #fff;
25
+ --toastify-spinner-color: #616161;
26
+ --toastify-spinner-color-empty-area: #e0e0e0;
27
+ --toastify-color-progress-light: linear-gradient(
28
+ to right,
29
+ #4cd964,
30
+ #5ac8fa,
31
+ #007aff,
32
+ #34aadc,
33
+ #5856d6,
34
+ #ff2d55
35
+ );
36
+ --toastify-color-progress-dark: #bb86fc;
37
+ --toastify-color-progress-info: var(--toastify-color-info);
38
+ --toastify-color-progress-success: var(--toastify-color-success);
39
+ --toastify-color-progress-warning: var(--toastify-color-warning);
40
+ --toastify-color-progress-error: var(--toastify-color-error);
41
+ }
42
+
43
+ .Toastify__toast-container {
44
+ z-index: var(--toastify-z-index);
45
+ -webkit-transform: translate3d(0, 0, var(--toastify-z-index) px);
46
+ position: fixed;
47
+ padding: 4px;
48
+ width: var(--toastify-toast-width);
49
+ box-sizing: border-box;
50
+ color: #fff;
51
+ }
52
+ .Toastify__toast-container--top-left {
53
+ top: 1em;
54
+ left: 1em;
55
+ }
56
+ .Toastify__toast-container--top-center {
57
+ top: 1em;
58
+ left: 50%;
59
+ transform: translateX(-50%);
60
+ }
61
+ .Toastify__toast-container--top-right {
62
+ top: 1em;
63
+ right: 1em;
64
+ }
65
+ .Toastify__toast-container--bottom-left {
66
+ bottom: 1em;
67
+ left: 1em;
68
+ }
69
+ .Toastify__toast-container--bottom-center {
70
+ bottom: 1em;
71
+ left: 50%;
72
+ transform: translateX(-50%);
73
+ }
74
+ .Toastify__toast-container--bottom-right {
75
+ bottom: 1em;
76
+ right: 1em;
77
+ }
78
+
79
+ @media only screen and (max-width : 480px) {
80
+ .Toastify__toast-container {
81
+ width: 100vw;
82
+ padding: 0;
83
+ left: 0;
84
+ margin: 0;
85
+ }
86
+ .Toastify__toast-container--top-left, .Toastify__toast-container--top-center, .Toastify__toast-container--top-right {
87
+ top: 0;
88
+ transform: translateX(0);
89
+ }
90
+ .Toastify__toast-container--bottom-left, .Toastify__toast-container--bottom-center, .Toastify__toast-container--bottom-right {
91
+ bottom: 0;
92
+ transform: translateX(0);
93
+ }
94
+ .Toastify__toast-container--rtl {
95
+ right: 0;
96
+ left: initial;
97
+ }
98
+ }
99
+ .Toastify__toast {
100
+ position: relative;
101
+ min-height: var(--toastify-toast-min-height);
102
+ box-sizing: border-box;
103
+ margin-bottom: 1rem;
104
+ padding: 8px;
105
+ border-radius: 4px;
106
+ box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05);
107
+ display: -ms-flexbox;
108
+ display: flex;
109
+ -ms-flex-pack: justify;
110
+ justify-content: space-between;
111
+ max-height: var(--toastify-toast-max-height);
112
+ overflow: hidden;
113
+ font-family: var(--toastify-font-family);
114
+ cursor: pointer;
115
+ direction: ltr;
116
+ }
117
+ .Toastify__toast--rtl {
118
+ direction: rtl;
119
+ }
120
+ .Toastify__toast-body {
121
+ margin: auto 0;
122
+ -ms-flex: 1 1 auto;
123
+ flex: 1 1 auto;
124
+ padding: 6px;
125
+ display: -ms-flexbox;
126
+ display: flex;
127
+ -ms-flex-align: center;
128
+ align-items: center;
129
+ }
130
+ .Toastify__toast-body > div:last-child {
131
+ -ms-flex: 1;
132
+ flex: 1;
133
+ }
134
+ .Toastify__toast-icon {
135
+ -webkit-margin-end: 10px;
136
+ margin-inline-end: 10px;
137
+ width: 20px;
138
+ -ms-flex-negative: 0;
139
+ flex-shrink: 0;
140
+ display: -ms-flexbox;
141
+ display: flex;
142
+ }
143
+
144
+ .Toastify--animate {
145
+ animation-fill-mode: both;
146
+ animation-duration: 0.7s;
147
+ }
148
+
149
+ .Toastify--animate-icon {
150
+ animation-fill-mode: both;
151
+ animation-duration: 0.3s;
152
+ }
153
+
154
+ @media only screen and (max-width : 480px) {
155
+ .Toastify__toast {
156
+ margin-bottom: 0;
157
+ border-radius: 0;
158
+ }
159
+ }
160
+ .f {
161
+ --y: calc(var(--len) - var(--nth));
162
+ position: absolute;
163
+ bottom: 0;
164
+ right: 0;
165
+ width: 100%;
166
+ transform: translate3d(0, calc(var(--y) * -40%), 0) scale(calc(1 - 0.05 * var(--y)));
167
+ transition: all 0.3s;
168
+ min-height: 80px;
169
+ }
170
+
171
+ .Toastify__toast-theme--dark {
172
+ background: var(--toastify-color-dark);
173
+ color: var(--toastify-text-color-dark);
174
+ }
175
+ .Toastify__toast-theme--light {
176
+ background: var(--toastify-color-light);
177
+ color: var(--toastify-text-color-light);
178
+ }
179
+ .Toastify__toast-theme--colored.Toastify__toast--default {
180
+ background: var(--toastify-color-light);
181
+ color: var(--toastify-text-color-light);
182
+ }
183
+ .Toastify__toast-theme--colored.Toastify__toast--info {
184
+ color: var(--toastify-text-color-info);
185
+ background: var(--toastify-color-info);
186
+ }
187
+ .Toastify__toast-theme--colored.Toastify__toast--success {
188
+ color: var(--toastify-text-color-success);
189
+ background: var(--toastify-color-success);
190
+ }
191
+ .Toastify__toast-theme--colored.Toastify__toast--warning {
192
+ color: var(--toastify-text-color-warning);
193
+ background: var(--toastify-color-warning);
194
+ }
195
+ .Toastify__toast-theme--colored.Toastify__toast--error {
196
+ color: var(--toastify-text-color-error);
197
+ background: var(--toastify-color-error);
198
+ }
199
+
200
+ .Toastify__progress-bar-theme--light {
201
+ background: var(--toastify-color-progress-light);
202
+ }
203
+ .Toastify__progress-bar-theme--dark {
204
+ background: var(--toastify-color-progress-dark);
205
+ }
206
+ .Toastify__progress-bar--info {
207
+ background: var(--toastify-color-progress-info);
208
+ }
209
+ .Toastify__progress-bar--success {
210
+ background: var(--toastify-color-progress-success);
211
+ }
212
+ .Toastify__progress-bar--warning {
213
+ background: var(--toastify-color-progress-warning);
214
+ }
215
+ .Toastify__progress-bar--error {
216
+ background: var(--toastify-color-progress-error);
217
+ }
218
+ .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 {
219
+ background: var(--toastify-color-transparent);
220
+ }
221
+
222
+ .Toastify__close-button {
223
+ color: #fff;
224
+ background: transparent;
225
+ outline: none;
226
+ border: none;
227
+ padding: 0;
228
+ cursor: pointer;
229
+ opacity: 0.7;
230
+ transition: 0.3s ease;
231
+ -ms-flex-item-align: start;
232
+ align-self: flex-start;
233
+ }
234
+ .Toastify__close-button--light {
235
+ color: #000;
236
+ opacity: 0.3;
237
+ }
238
+ .Toastify__close-button > svg {
239
+ fill: currentColor;
240
+ height: 16px;
241
+ width: 14px;
242
+ }
243
+ .Toastify__close-button:hover, .Toastify__close-button:focus {
244
+ opacity: 1;
245
+ }
246
+
247
+ @keyframes Toastify__trackProgress {
248
+ 0% {
249
+ transform: scaleX(1);
250
+ }
251
+ 100% {
252
+ transform: scaleX(0);
253
+ }
254
+ }
255
+ .Toastify__progress-bar {
256
+ position: absolute;
257
+ bottom: 0;
258
+ left: 0;
259
+ width: 100%;
260
+ height: 5px;
261
+ z-index: var(--toastify-z-index);
262
+ opacity: 0.7;
263
+ transform-origin: left;
264
+ }
265
+ .Toastify__progress-bar--animated {
266
+ animation: Toastify__trackProgress linear 1 forwards;
267
+ }
268
+ .Toastify__progress-bar--controlled {
269
+ transition: transform 0.2s;
270
+ }
271
+ .Toastify__progress-bar--rtl {
272
+ right: 0;
273
+ left: initial;
274
+ transform-origin: right;
275
+ }
276
+
277
+ .Toastify__spinner {
278
+ width: 20px;
279
+ height: 20px;
280
+ box-sizing: border-box;
281
+ border: 2px solid;
282
+ border-radius: 100%;
283
+ border-color: var(--toastify-spinner-color-empty-area);
284
+ border-right-color: var(--toastify-spinner-color);
285
+ animation: Toastify__spin 0.65s linear infinite;
286
+ }
287
+
288
+ @keyframes Toastify__bounceInRight {
289
+ from, 60%, 75%, 90%, to {
290
+ animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
291
+ }
292
+ from {
293
+ opacity: 0;
294
+ transform: translate3d(3000px, 0, 0);
295
+ }
296
+ 60% {
297
+ opacity: 1;
298
+ transform: translate3d(-25px, 0, 0);
299
+ }
300
+ 75% {
301
+ transform: translate3d(10px, 0, 0);
302
+ }
303
+ 90% {
304
+ transform: translate3d(-5px, 0, 0);
305
+ }
306
+ to {
307
+ transform: none;
308
+ }
309
+ }
310
+ @keyframes Toastify__bounceOutRight {
311
+ 20% {
312
+ opacity: 1;
313
+ transform: translate3d(-20px, 0, 0);
314
+ }
315
+ to {
316
+ opacity: 0;
317
+ transform: translate3d(2000px, 0, 0);
318
+ }
319
+ }
320
+ @keyframes Toastify__bounceInLeft {
321
+ from, 60%, 75%, 90%, to {
322
+ animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
323
+ }
324
+ 0% {
325
+ opacity: 0;
326
+ transform: translate3d(-3000px, 0, 0);
327
+ }
328
+ 60% {
329
+ opacity: 1;
330
+ transform: translate3d(25px, 0, 0);
331
+ }
332
+ 75% {
333
+ transform: translate3d(-10px, 0, 0);
334
+ }
335
+ 90% {
336
+ transform: translate3d(5px, 0, 0);
337
+ }
338
+ to {
339
+ transform: none;
340
+ }
341
+ }
342
+ @keyframes Toastify__bounceOutLeft {
343
+ 20% {
344
+ opacity: 1;
345
+ transform: translate3d(20px, 0, 0);
346
+ }
347
+ to {
348
+ opacity: 0;
349
+ transform: translate3d(-2000px, 0, 0);
350
+ }
351
+ }
352
+ @keyframes Toastify__bounceInUp {
353
+ from, 60%, 75%, 90%, to {
354
+ animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
355
+ }
356
+ from {
357
+ opacity: 0;
358
+ transform: translate3d(0, 3000px, 0);
359
+ }
360
+ 60% {
361
+ opacity: 1;
362
+ transform: translate3d(0, -20px, 0);
363
+ }
364
+ 75% {
365
+ transform: translate3d(0, 10px, 0);
366
+ }
367
+ 90% {
368
+ transform: translate3d(0, -5px, 0);
369
+ }
370
+ to {
371
+ transform: translate3d(0, 0, 0);
372
+ }
373
+ }
374
+ @keyframes Toastify__bounceOutUp {
375
+ 20% {
376
+ transform: translate3d(0, -10px, 0);
377
+ }
378
+ 40%, 45% {
379
+ opacity: 1;
380
+ transform: translate3d(0, 20px, 0);
381
+ }
382
+ to {
383
+ opacity: 0;
384
+ transform: translate3d(0, -2000px, 0);
385
+ }
386
+ }
387
+ @keyframes Toastify__bounceInDown {
388
+ from, 60%, 75%, 90%, to {
389
+ animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
390
+ }
391
+ 0% {
392
+ opacity: 0;
393
+ transform: translate3d(0, -3000px, 0);
394
+ }
395
+ 60% {
396
+ opacity: 1;
397
+ transform: translate3d(0, 25px, 0);
398
+ }
399
+ 75% {
400
+ transform: translate3d(0, -10px, 0);
401
+ }
402
+ 90% {
403
+ transform: translate3d(0, 5px, 0);
404
+ }
405
+ to {
406
+ transform: none;
407
+ }
408
+ }
409
+ @keyframes Toastify__bounceOutDown {
410
+ 20% {
411
+ transform: translate3d(0, 10px, 0);
412
+ }
413
+ 40%, 45% {
414
+ opacity: 1;
415
+ transform: translate3d(0, -20px, 0);
416
+ }
417
+ to {
418
+ opacity: 0;
419
+ transform: translate3d(0, 2000px, 0);
420
+ }
421
+ }
422
+ .Toastify__bounce-enter--top-left, .Toastify__bounce-enter--bottom-left {
423
+ animation-name: Toastify__bounceInLeft;
424
+ }
425
+ .Toastify__bounce-enter--top-right, .Toastify__bounce-enter--bottom-right {
426
+ animation-name: Toastify__bounceInRight;
427
+ }
428
+ .Toastify__bounce-enter--top-center {
429
+ animation-name: Toastify__bounceInDown;
430
+ }
431
+ .Toastify__bounce-enter--bottom-center {
432
+ animation-name: Toastify__bounceInUp;
433
+ }
434
+
435
+ .Toastify__bounce-exit--top-left, .Toastify__bounce-exit--bottom-left {
436
+ animation-name: Toastify__bounceOutLeft;
437
+ }
438
+ .Toastify__bounce-exit--top-right, .Toastify__bounce-exit--bottom-right {
439
+ animation-name: Toastify__bounceOutRight;
440
+ }
441
+ .Toastify__bounce-exit--top-center {
442
+ animation-name: Toastify__bounceOutUp;
443
+ }
444
+ .Toastify__bounce-exit--bottom-center {
445
+ animation-name: Toastify__bounceOutDown;
446
+ }
447
+
448
+ @keyframes Toastify__zoomIn {
449
+ from {
450
+ opacity: 0;
451
+ transform: scale3d(0.3, 0.3, 0.3);
452
+ }
453
+ 50% {
454
+ opacity: 1;
455
+ }
456
+ }
457
+ @keyframes Toastify__zoomOut {
458
+ from {
459
+ opacity: 1;
460
+ }
461
+ 50% {
462
+ opacity: 0;
463
+ transform: scale3d(0.3, 0.3, 0.3);
464
+ }
465
+ to {
466
+ opacity: 0;
467
+ }
468
+ }
469
+ .Toastify__zoom-enter {
470
+ animation-name: Toastify__zoomIn;
471
+ }
472
+
473
+ .Toastify__zoom-exit {
474
+ animation-name: Toastify__zoomOut;
475
+ }
476
+
477
+ @keyframes Toastify__flipIn {
478
+ from {
479
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
480
+ animation-timing-function: ease-in;
481
+ opacity: 0;
482
+ }
483
+ 40% {
484
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
485
+ animation-timing-function: ease-in;
486
+ }
487
+ 60% {
488
+ transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
489
+ opacity: 1;
490
+ }
491
+ 80% {
492
+ transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
493
+ }
494
+ to {
495
+ transform: perspective(400px);
496
+ }
497
+ }
498
+ @keyframes Toastify__flipOut {
499
+ from {
500
+ transform: perspective(400px);
501
+ }
502
+ 30% {
503
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
504
+ opacity: 1;
505
+ }
506
+ to {
507
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
508
+ opacity: 0;
509
+ }
510
+ }
511
+ .Toastify__flip-enter {
512
+ animation-name: Toastify__flipIn;
513
+ }
514
+
515
+ .Toastify__flip-exit {
516
+ animation-name: Toastify__flipOut;
517
+ }
518
+
519
+ @keyframes Toastify__slideInRight {
520
+ from {
521
+ transform: translate3d(110%, 0, 0);
522
+ visibility: visible;
523
+ }
524
+ to {
525
+ transform: translate3d(0, 0, 0);
526
+ }
527
+ }
528
+ @keyframes Toastify__slideInLeft {
529
+ from {
530
+ transform: translate3d(-110%, 0, 0);
531
+ visibility: visible;
532
+ }
533
+ to {
534
+ transform: translate3d(0, 0, 0);
535
+ }
536
+ }
537
+ @keyframes Toastify__slideInUp {
538
+ from {
539
+ transform: translate3d(0, 110%, 0);
540
+ visibility: visible;
541
+ }
542
+ to {
543
+ transform: translate3d(0, 0, 0);
544
+ }
545
+ }
546
+ @keyframes Toastify__slideInDown {
547
+ from {
548
+ transform: translate3d(0, -110%, 0);
549
+ visibility: visible;
550
+ }
551
+ to {
552
+ transform: translate3d(0, 0, 0);
553
+ }
554
+ }
555
+ @keyframes Toastify__slideOutRight {
556
+ from {
557
+ transform: translate3d(0, 0, 0);
558
+ }
559
+ to {
560
+ visibility: hidden;
561
+ transform: translate3d(110%, 0, 0);
562
+ }
563
+ }
564
+ @keyframes Toastify__slideOutLeft {
565
+ from {
566
+ transform: translate3d(0, 0, 0);
567
+ }
568
+ to {
569
+ visibility: hidden;
570
+ transform: translate3d(-110%, 0, 0);
571
+ }
572
+ }
573
+ @keyframes Toastify__slideOutDown {
574
+ from {
575
+ transform: translate3d(0, 0, 0);
576
+ }
577
+ to {
578
+ visibility: hidden;
579
+ transform: translate3d(0, 500px, 0);
580
+ }
581
+ }
582
+ @keyframes Toastify__slideOutUp {
583
+ from {
584
+ transform: translate3d(0, 0, 0);
585
+ }
586
+ to {
587
+ visibility: hidden;
588
+ transform: translate3d(0, -500px, 0);
589
+ }
590
+ }
591
+ .Toastify__slide-enter--top-left, .Toastify__slide-enter--bottom-left {
592
+ animation-name: Toastify__slideInLeft;
593
+ }
594
+ .Toastify__slide-enter--top-right, .Toastify__slide-enter--bottom-right {
595
+ animation-name: Toastify__slideInRight;
596
+ }
597
+ .Toastify__slide-enter--top-center {
598
+ animation-name: Toastify__slideInDown;
599
+ }
600
+ .Toastify__slide-enter--bottom-center {
601
+ animation-name: Toastify__slideInUp;
602
+ }
603
+
604
+ .Toastify__slide-exit--top-left, .Toastify__slide-exit--bottom-left {
605
+ animation-name: Toastify__slideOutLeft;
606
+ }
607
+ .Toastify__slide-exit--top-right, .Toastify__slide-exit--bottom-right {
608
+ animation-name: Toastify__slideOutRight;
609
+ }
610
+ .Toastify__slide-exit--top-center {
611
+ animation-name: Toastify__slideOutUp;
612
+ }
613
+ .Toastify__slide-exit--bottom-center {
614
+ animation-name: Toastify__slideOutDown;
615
+ }
616
+
617
+ @keyframes Toastify__spin {
618
+ from {
619
+ transform: rotate(0deg);
620
+ }
621
+ to {
622
+ transform: rotate(360deg);
623
+ }
624
+ }
625
+
626
+ /*# sourceMappingURL=ReactToastify.css.map */
@@ -0,0 +1,3 @@
1
+ import { LabelProps, MappedLabelProps } from '../types/label';
2
+ declare const Label: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, MappedLabelProps & LabelProps, keyof MappedLabelProps>;
3
+ export default Label;
@@ -0,0 +1,12 @@
1
+ import { paletteColor } from '../../styles/types';
2
+ export interface LabelProps {
3
+ large?: boolean;
4
+ disabled?: boolean;
5
+ hasError: boolean;
6
+ }
7
+ export interface MappedLabelProps {
8
+ fontSize: string;
9
+ cursor: string;
10
+ color: paletteColor;
11
+ opacity: number;
12
+ }
@@ -0,0 +1,5 @@
1
+ import { DefaultTheme } from 'styled-components';
2
+ import { LabelProps, MappedLabelProps } from '../types/label';
3
+ export declare const getLabelStyle: ({ disabled, large, theme, hasError, }: LabelProps & {
4
+ theme: DefaultTheme;
5
+ }) => MappedLabelProps;
@@ -0,0 +1,12 @@
1
+ import { AccordionProps } from './types';
2
+ /**
3
+ * Component props
4
+ * @param {boolean} multipleOpen Allows to open multiple accordion items at the same time
5
+ * @param {AnimatedIcon} leftIcon Left icon on the header of the accorion
6
+ * @param {AnimatedIcon} rightIcon Right icon on the header of the accordion
7
+ * @param {ReactChild} divider Component used to divide accordion items
8
+ * @param {ItemListProps} items List of the accordion items
9
+ * @param {object} style Styles for header and content of each accordion item
10
+ */
11
+ declare const AccordionNew: ({ divider, items, leftIcon, multipleOpen, rightIcon, style }: AccordionProps) => JSX.Element;
12
+ export default AccordionNew;
@@ -0,0 +1,4 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { AccordionProps } from './types';
3
+ declare const AccordionNewStories: Meta<AccordionProps>;
4
+ export default AccordionNewStories;
@@ -0,0 +1,3 @@
1
+ import { AccordionIconProps } from '../types';
2
+ declare const AccordionIcon: ({ iconProps: { animation, changeColor, ...otherIconProps }, open, }: AccordionIconProps) => JSX.Element;
3
+ export default AccordionIcon;
@@ -0,0 +1,3 @@
1
+ import { AccordionItemProps } from '../types';
2
+ declare const AccordionItem: ({ content, header, index, leftIcon, open, rightIcon, style, toggleOpen, }: AccordionItemProps) => JSX.Element;
3
+ export default AccordionItem;
@@ -0,0 +1,8 @@
1
+ import { IconContainerProps, MappedProps } from '../types';
2
+ export declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const HeaderContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4
+ leftPad: boolean;
5
+ rightPad: boolean;
6
+ }, never>;
7
+ export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
+ export declare const IconContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, MappedProps & IconContainerProps, keyof MappedProps>;
@@ -0,0 +1,3 @@
1
+ import AccordionNew from './Accordion';
2
+ import { AccordionProps, AnimatedIcon, Animations, ItemListProps, rotate45, rotate90, rotate180 } from './types';
3
+ export { AccordionNew, AccordionProps, Animations, AnimatedIcon, ItemListProps, rotate45, rotate90, rotate180 };