@zealicsolutions/web-ui 0.3.9 → 0.3.11

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.
@@ -1,4 +1,4 @@
1
- import type { ComponentStory } from '@storybook/react';
1
+ import type { StoryFn } from '@storybook/react';
2
2
  import { TextButtonProps } from 'atoms/Buttons/TextButton';
3
3
  import { FC } from 'react';
4
4
  import { IconButton as IconButtonComponent } from './IconButton';
@@ -11,6 +11,6 @@ declare const _default: {
11
11
  }, never>;
12
12
  };
13
13
  export default _default;
14
- export declare const TouchableOpacity: ComponentStory<FC<TouchableOpacityProps>>;
15
- export declare const TextButton: ComponentStory<FC<TextButtonProps>>;
16
- export declare const IconButton: ComponentStory<typeof IconButtonComponent>;
14
+ export declare const TouchableOpacity: StoryFn<FC<TouchableOpacityProps>>;
15
+ export declare const TextButton: StoryFn<FC<TextButtonProps>>;
16
+ export declare const IconButton: StoryFn<typeof IconButtonComponent>;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ThemeColors } from 'theme';
3
3
  import { IconNames, TouchableOpacityProps } from 'atoms';
4
- import { Callback } from 'typescript';
4
+ import type { Callback } from 'typescript';
5
5
  export declare type IconButtonProps = {
6
6
  name: IconNames;
7
7
  size?: number;
@@ -5,31 +5,13 @@ import { CSSProperties } from 'styled-components';
5
5
  import type { AnyObject, Nullable, StrictUnion } from 'typescript';
6
6
  import { ContainerComponentProps } from './types';
7
7
  export declare type ActionTypes = 'link' | 'popup' | 'drawer' | 'download' | 'submit' | 'reset' | 'destroy';
8
- export declare type FileType = 'image' | 'video' | 'document' | 'audio';
9
- export declare type ContentStatus = 'in_use' | 'draft';
10
- export declare type FileMatrixMessageDTO = Readonly<Partial<{
11
- id: string;
12
- text: string;
13
- label: string;
14
- locationId: string;
15
- }>>;
16
- export declare type FileObjectDTO = Readonly<Partial<{
17
- id: string;
18
- name: string;
19
- fileType: FileType;
20
- description: string;
21
- originalName: string;
8
+ export declare type DownloadFile = {
22
9
  url: string;
23
- size: number;
24
- type: FileType;
25
- updatedAt: string;
26
- createdAt: string;
27
- status: ContentStatus;
28
- tags: FileMatrixMessageDTO[];
29
- }>> | null;
10
+ name: string;
11
+ };
30
12
  declare type LinkAction = Omit<LinkAttributes, 'attributeType'>;
31
13
  declare type PopupDrawerAction = ContainerComponentProps;
32
- declare type DownloadAction = FileObjectDTO;
14
+ declare type DownloadAction = DownloadFile;
33
15
  declare type SubmitAction = AnyObject;
34
16
  declare type CancelAction = AnyObject;
35
17
  declare type ResetAction = AnyObject;
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import type { StoryFn } from '@storybook/react';
3
- import { Button as ButtonComponent } from 'molecules/Button/Button';
3
+ import { Button as ButtonComponent } from 'molecules';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, ...props }: import("molecules/Button/Button").ButtonProps) => JSX.Element | null;
6
+ component: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, ...props }: import("molecules").ButtonProps) => JSX.Element | null;
7
7
  };
8
8
  export default _default;
9
9
  export declare const Button: StoryFn<typeof ButtonComponent>;
@@ -1,4 +1,4 @@
1
- import type { ComponentStory } from '@storybook/react';
1
+ import type { StoryFn } from '@storybook/react';
2
2
  import React from 'react';
3
3
  import { Drawer as DrawerComponent } from './Drawer';
4
4
  declare const _default: {
@@ -6,4 +6,4 @@ declare const _default: {
6
6
  component: ({ children, closeIconColor, ...props }: React.PropsWithChildren<import("./styles").DrawerProps>) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
- export declare const Drawer: ComponentStory<typeof DrawerComponent>;
9
+ export declare const Drawer: StoryFn<typeof DrawerComponent>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { StoryFn } from '@storybook/react';
2
+ import type { StoryFn } from '@storybook/react';
3
3
  import { Video as VideoComponent } from './Video';
4
4
  declare const _default: {
5
5
  title: string;
@@ -1,7 +1,7 @@
1
1
  import { ModalProps as MUIModalProps } from '@mui/material';
2
- import { KeyboardEvent, PropsWithChildren } from 'react';
2
+ import React, { KeyboardEvent, PropsWithChildren } from 'react';
3
3
  import { CSSProperties } from 'styled-components';
4
- import { Callback, OverrideStyles } from '../../typescript';
4
+ import type { Callback, OverrideStyles } from 'typescript';
5
5
  export declare type ZealUIModalProps = PropsWithChildren<Pick<MUIModalProps, 'open'>> & {
6
6
  padding?: number | string;
7
7
  wrapperStyles?: CSSProperties;
@@ -9,5 +9,12 @@ export declare type ZealUIModalProps = PropsWithChildren<Pick<MUIModalProps, 'op
9
9
  modalStyles?: CSSProperties;
10
10
  onClose?: Callback;
11
11
  };
12
- export declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, onClose, ...rest }: ZealUIModalProps) => JSX.Element;
12
+ export declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, ...rest }: ZealUIModalProps) => JSX.Element;
13
13
  export declare const ModalWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, OverrideStyles, never>;
14
+ export declare const IconWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
15
+ activeOpacity?: number | undefined;
16
+ withoutOpacityEffect?: boolean | undefined;
17
+ disabled?: boolean | undefined;
18
+ } & {
19
+ children?: React.ReactNode;
20
+ }, never>;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import type { StoryFn } from '@storybook/react';
3
+ import { ZealUIModal as ZealUIModalComponent } from './ZealUIModal';
4
+ declare const _default: {
5
+ title: string;
6
+ component: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, ...rest }: import("./ZealUIModal").ZealUIModalProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const ZealUIModal: StoryFn<typeof ZealUIModalComponent>;
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { ComponentStory } from '@storybook/react';
2
+ import type { StoryFn } from '@storybook/react';
3
3
  import { Consent as ConsentComponent } from './Consent';
4
4
  declare const _default: {
5
5
  title: string;
6
6
  component: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: import("./Consent").ConsentProps<T>) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
- export declare const Consent: ComponentStory<typeof ConsentComponent>;
9
+ export declare const Consent: StoryFn<typeof ConsentComponent>;
@@ -1,249 +1,3 @@
1
- @font-face {
2
- font-family: 'anticon';
3
- src: url('//at.alicdn.com/t/font_1434092639_4910953.eot');
4
- /* IE9*/
5
- src: url('//at.alicdn.com/t/font_1434092639_4910953.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('//at.alicdn.com/t/font_1434092639_4910953.woff') format('woff'), /* chrome、firefox */ url('//at.alicdn.com/t/font_1434092639_4910953.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('//at.alicdn.com/t/font_1434092639_4910953.svg#iconfont') format('svg');
6
- /* iOS 4.1- */
7
- }
8
- .rc-dropdown {
9
- position: absolute;
10
- left: -9999px;
11
- top: -9999px;
12
- z-index: 1070;
13
- display: block;
14
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
15
- font-size: 12px;
16
- font-weight: normal;
17
- line-height: 1.5;
18
- }
19
- .rc-dropdown-hidden {
20
- display: none;
21
- }
22
- .rc-dropdown .rc-menu {
23
- outline: none;
24
- position: relative;
25
- list-style-type: none;
26
- padding: 0;
27
- margin: 2px 0 2px;
28
- text-align: left;
29
- background-color: #fff;
30
- border-radius: 3px;
31
- box-shadow: 0 1px 5px #ccc;
32
- background-clip: padding-box;
33
- border: 1px solid #ccc;
34
- }
35
- .rc-dropdown .rc-menu > li {
36
- margin: 0;
37
- padding: 0;
38
- }
39
- .rc-dropdown .rc-menu:before {
40
- content: "";
41
- position: absolute;
42
- top: -4px;
43
- left: 0;
44
- width: 100%;
45
- height: 4px;
46
- background: #ffffff;
47
- background: rgba(255, 255, 255, 0.01);
48
- }
49
- .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item {
50
- position: relative;
51
- display: block;
52
- padding: 7px 10px;
53
- clear: both;
54
- font-size: 12px;
55
- font-weight: normal;
56
- color: #666666;
57
- white-space: nowrap;
58
- }
59
- .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item:hover,
60
- .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-active,
61
- .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-selected {
62
- background-color: #ebfaff;
63
- }
64
- .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-selected {
65
- position: relative;
66
- }
67
- .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-selected:after {
68
- content: '\e613';
69
- font-family: 'anticon';
70
- font-weight: bold;
71
- position: absolute;
72
- top: 6px;
73
- right: 16px;
74
- color: #3CB8F0;
75
- }
76
- .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-disabled {
77
- color: #ccc;
78
- cursor: not-allowed;
79
- pointer-events: none;
80
- }
81
- .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-disabled:hover {
82
- color: #ccc;
83
- background-color: #fff;
84
- cursor: not-allowed;
85
- }
86
- .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item:last-child {
87
- border-bottom-left-radius: 3px;
88
- border-bottom-right-radius: 3px;
89
- }
90
- .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item:first-child {
91
- border-top-left-radius: 3px;
92
- border-top-right-radius: 3px;
93
- }
94
- .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-divider {
95
- height: 1px;
96
- margin: 1px 0;
97
- overflow: hidden;
98
- background-color: #e5e5e5;
99
- line-height: 0;
100
- }
101
- .rc-dropdown-slide-up-enter,
102
- .rc-dropdown-slide-up-appear {
103
- animation-duration: 0.3s;
104
- animation-fill-mode: both;
105
- transform-origin: 0 0;
106
- display: block !important;
107
- opacity: 0;
108
- animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
109
- animation-play-state: paused;
110
- }
111
- .rc-dropdown-slide-up-leave {
112
- animation-duration: 0.3s;
113
- animation-fill-mode: both;
114
- transform-origin: 0 0;
115
- display: block !important;
116
- opacity: 1;
117
- animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
118
- animation-play-state: paused;
119
- }
120
- .rc-dropdown-slide-up-enter.rc-dropdown-slide-up-enter-active.rc-dropdown-placement-bottomLeft,
121
- .rc-dropdown-slide-up-appear.rc-dropdown-slide-up-appear-active.rc-dropdown-placement-bottomLeft,
122
- .rc-dropdown-slide-up-enter.rc-dropdown-slide-up-enter-active.rc-dropdown-placement-bottomCenter,
123
- .rc-dropdown-slide-up-appear.rc-dropdown-slide-up-appear-active.rc-dropdown-placement-bottomCenter,
124
- .rc-dropdown-slide-up-enter.rc-dropdown-slide-up-enter-active.rc-dropdown-placement-bottomRight,
125
- .rc-dropdown-slide-up-appear.rc-dropdown-slide-up-appear-active.rc-dropdown-placement-bottomRight {
126
- animation-name: rcDropdownSlideUpIn;
127
- animation-play-state: running;
128
- }
129
- .rc-dropdown-slide-up-enter.rc-dropdown-slide-up-enter-active.rc-dropdown-placement-topLeft,
130
- .rc-dropdown-slide-up-appear.rc-dropdown-slide-up-appear-active.rc-dropdown-placement-topLeft,
131
- .rc-dropdown-slide-up-enter.rc-dropdown-slide-up-enter-active.rc-dropdown-placement-topCenter,
132
- .rc-dropdown-slide-up-appear.rc-dropdown-slide-up-appear-active.rc-dropdown-placement-topCenter,
133
- .rc-dropdown-slide-up-enter.rc-dropdown-slide-up-enter-active.rc-dropdown-placement-topRight,
134
- .rc-dropdown-slide-up-appear.rc-dropdown-slide-up-appear-active.rc-dropdown-placement-topRight {
135
- animation-name: rcDropdownSlideDownIn;
136
- animation-play-state: running;
137
- }
138
- .rc-dropdown-slide-up-leave.rc-dropdown-slide-up-leave-active.rc-dropdown-placement-bottomLeft,
139
- .rc-dropdown-slide-up-leave.rc-dropdown-slide-up-leave-active.rc-dropdown-placement-bottomCenter,
140
- .rc-dropdown-slide-up-leave.rc-dropdown-slide-up-leave-active.rc-dropdown-placement-bottomRight {
141
- animation-name: rcDropdownSlideUpOut;
142
- animation-play-state: running;
143
- }
144
- .rc-dropdown-slide-up-leave.rc-dropdown-slide-up-leave-active.rc-dropdown-placement-topLeft,
145
- .rc-dropdown-slide-up-leave.rc-dropdown-slide-up-leave-active.rc-dropdown-placement-topCenter,
146
- .rc-dropdown-slide-up-leave.rc-dropdown-slide-up-leave-active.rc-dropdown-placement-topRight {
147
- animation-name: rcDropdownSlideDownOut;
148
- animation-play-state: running;
149
- }
150
- @keyframes rcDropdownSlideUpIn {
151
- 0% {
152
- opacity: 0;
153
- transform-origin: 0% 0%;
154
- transform: scaleY(0);
155
- }
156
- 100% {
157
- opacity: 1;
158
- transform-origin: 0% 0%;
159
- transform: scaleY(1);
160
- }
161
- }
162
- @keyframes rcDropdownSlideUpOut {
163
- 0% {
164
- opacity: 1;
165
- transform-origin: 0% 0%;
166
- transform: scaleY(1);
167
- }
168
- 100% {
169
- opacity: 0;
170
- transform-origin: 0% 0%;
171
- transform: scaleY(0);
172
- }
173
- }
174
- @keyframes rcDropdownSlideDownIn {
175
- 0% {
176
- opacity: 0;
177
- transform-origin: 0% 100%;
178
- transform: scaleY(0);
179
- }
180
- 100% {
181
- opacity: 1;
182
- transform-origin: 0% 100%;
183
- transform: scaleY(1);
184
- }
185
- }
186
- @keyframes rcDropdownSlideDownOut {
187
- 0% {
188
- opacity: 1;
189
- transform-origin: 0% 100%;
190
- transform: scaleY(1);
191
- }
192
- 100% {
193
- opacity: 0;
194
- transform-origin: 0% 100%;
195
- transform: scaleY(0);
196
- }
197
- }
198
- .rc-dropdown-arrow {
199
- position: absolute;
200
- border-width: 4px;
201
- border-color: transparent;
202
- box-shadow: 0 1px 5px #ccc;
203
- border-style: solid;
204
- transform: rotate(45deg);
205
- }
206
- .rc-dropdown-show-arrow.rc-dropdown-placement-top,
207
- .rc-dropdown-show-arrow.rc-dropdown-placement-topLeft,
208
- .rc-dropdown-show-arrow.rc-dropdown-placement-topRight {
209
- padding-bottom: 6px;
210
- }
211
- .rc-dropdown-show-arrow.rc-dropdown-placement-bottom,
212
- .rc-dropdown-show-arrow.rc-dropdown-placement-bottomLeft,
213
- .rc-dropdown-show-arrow.rc-dropdown-placement-bottomRight {
214
- padding-top: 6px;
215
- }
216
- .rc-dropdown-placement-top .rc-dropdown-arrow,
217
- .rc-dropdown-placement-topLeft .rc-dropdown-arrow,
218
- .rc-dropdown-placement-topRight .rc-dropdown-arrow {
219
- bottom: 4px;
220
- border-top-color: white;
221
- }
222
- .rc-dropdown-placement-top .rc-dropdown-arrow {
223
- left: 50%;
224
- }
225
- .rc-dropdown-placement-topLeft .rc-dropdown-arrow {
226
- left: 15%;
227
- }
228
- .rc-dropdown-placement-topRight .rc-dropdown-arrow {
229
- right: 15%;
230
- }
231
- .rc-dropdown-placement-bottom .rc-dropdown-arrow,
232
- .rc-dropdown-placement-bottomLeft .rc-dropdown-arrow,
233
- .rc-dropdown-placement-bottomRight .rc-dropdown-arrow {
234
- top: 4px;
235
- border-bottom-color: white;
236
- }
237
- .rc-dropdown-placement-bottom .rc-dropdown-arrow {
238
- left: 50%;
239
- }
240
- .rc-dropdown-placement-bottomLeft .rc-dropdown-arrow {
241
- left: 15%;
242
- }
243
- .rc-dropdown-placement-bottomRight .rc-dropdown-arrow {
244
- right: 15%;
245
- }
246
-
247
1
  .rc-tooltip.rc-tooltip-zoom-appear,
248
2
  .rc-tooltip.rc-tooltip-zoom-enter {
249
3
  opacity: 0;
@@ -501,3 +255,249 @@
501
255
  opacity: 0;
502
256
  }
503
257
  }
258
+
259
+ @font-face {
260
+ font-family: 'anticon';
261
+ src: url('//at.alicdn.com/t/font_1434092639_4910953.eot');
262
+ /* IE9*/
263
+ src: url('//at.alicdn.com/t/font_1434092639_4910953.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('//at.alicdn.com/t/font_1434092639_4910953.woff') format('woff'), /* chrome、firefox */ url('//at.alicdn.com/t/font_1434092639_4910953.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('//at.alicdn.com/t/font_1434092639_4910953.svg#iconfont') format('svg');
264
+ /* iOS 4.1- */
265
+ }
266
+ .rc-dropdown {
267
+ position: absolute;
268
+ left: -9999px;
269
+ top: -9999px;
270
+ z-index: 1070;
271
+ display: block;
272
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
273
+ font-size: 12px;
274
+ font-weight: normal;
275
+ line-height: 1.5;
276
+ }
277
+ .rc-dropdown-hidden {
278
+ display: none;
279
+ }
280
+ .rc-dropdown .rc-menu {
281
+ outline: none;
282
+ position: relative;
283
+ list-style-type: none;
284
+ padding: 0;
285
+ margin: 2px 0 2px;
286
+ text-align: left;
287
+ background-color: #fff;
288
+ border-radius: 3px;
289
+ box-shadow: 0 1px 5px #ccc;
290
+ background-clip: padding-box;
291
+ border: 1px solid #ccc;
292
+ }
293
+ .rc-dropdown .rc-menu > li {
294
+ margin: 0;
295
+ padding: 0;
296
+ }
297
+ .rc-dropdown .rc-menu:before {
298
+ content: "";
299
+ position: absolute;
300
+ top: -4px;
301
+ left: 0;
302
+ width: 100%;
303
+ height: 4px;
304
+ background: #ffffff;
305
+ background: rgba(255, 255, 255, 0.01);
306
+ }
307
+ .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item {
308
+ position: relative;
309
+ display: block;
310
+ padding: 7px 10px;
311
+ clear: both;
312
+ font-size: 12px;
313
+ font-weight: normal;
314
+ color: #666666;
315
+ white-space: nowrap;
316
+ }
317
+ .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item:hover,
318
+ .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-active,
319
+ .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-selected {
320
+ background-color: #ebfaff;
321
+ }
322
+ .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-selected {
323
+ position: relative;
324
+ }
325
+ .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-selected:after {
326
+ content: '\e613';
327
+ font-family: 'anticon';
328
+ font-weight: bold;
329
+ position: absolute;
330
+ top: 6px;
331
+ right: 16px;
332
+ color: #3CB8F0;
333
+ }
334
+ .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-disabled {
335
+ color: #ccc;
336
+ cursor: not-allowed;
337
+ pointer-events: none;
338
+ }
339
+ .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-disabled:hover {
340
+ color: #ccc;
341
+ background-color: #fff;
342
+ cursor: not-allowed;
343
+ }
344
+ .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item:last-child {
345
+ border-bottom-left-radius: 3px;
346
+ border-bottom-right-radius: 3px;
347
+ }
348
+ .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item:first-child {
349
+ border-top-left-radius: 3px;
350
+ border-top-right-radius: 3px;
351
+ }
352
+ .rc-dropdown .rc-menu > .rc-dropdown .rc-menu-item-divider {
353
+ height: 1px;
354
+ margin: 1px 0;
355
+ overflow: hidden;
356
+ background-color: #e5e5e5;
357
+ line-height: 0;
358
+ }
359
+ .rc-dropdown-slide-up-enter,
360
+ .rc-dropdown-slide-up-appear {
361
+ animation-duration: 0.3s;
362
+ animation-fill-mode: both;
363
+ transform-origin: 0 0;
364
+ display: block !important;
365
+ opacity: 0;
366
+ animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
367
+ animation-play-state: paused;
368
+ }
369
+ .rc-dropdown-slide-up-leave {
370
+ animation-duration: 0.3s;
371
+ animation-fill-mode: both;
372
+ transform-origin: 0 0;
373
+ display: block !important;
374
+ opacity: 1;
375
+ animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
376
+ animation-play-state: paused;
377
+ }
378
+ .rc-dropdown-slide-up-enter.rc-dropdown-slide-up-enter-active.rc-dropdown-placement-bottomLeft,
379
+ .rc-dropdown-slide-up-appear.rc-dropdown-slide-up-appear-active.rc-dropdown-placement-bottomLeft,
380
+ .rc-dropdown-slide-up-enter.rc-dropdown-slide-up-enter-active.rc-dropdown-placement-bottomCenter,
381
+ .rc-dropdown-slide-up-appear.rc-dropdown-slide-up-appear-active.rc-dropdown-placement-bottomCenter,
382
+ .rc-dropdown-slide-up-enter.rc-dropdown-slide-up-enter-active.rc-dropdown-placement-bottomRight,
383
+ .rc-dropdown-slide-up-appear.rc-dropdown-slide-up-appear-active.rc-dropdown-placement-bottomRight {
384
+ animation-name: rcDropdownSlideUpIn;
385
+ animation-play-state: running;
386
+ }
387
+ .rc-dropdown-slide-up-enter.rc-dropdown-slide-up-enter-active.rc-dropdown-placement-topLeft,
388
+ .rc-dropdown-slide-up-appear.rc-dropdown-slide-up-appear-active.rc-dropdown-placement-topLeft,
389
+ .rc-dropdown-slide-up-enter.rc-dropdown-slide-up-enter-active.rc-dropdown-placement-topCenter,
390
+ .rc-dropdown-slide-up-appear.rc-dropdown-slide-up-appear-active.rc-dropdown-placement-topCenter,
391
+ .rc-dropdown-slide-up-enter.rc-dropdown-slide-up-enter-active.rc-dropdown-placement-topRight,
392
+ .rc-dropdown-slide-up-appear.rc-dropdown-slide-up-appear-active.rc-dropdown-placement-topRight {
393
+ animation-name: rcDropdownSlideDownIn;
394
+ animation-play-state: running;
395
+ }
396
+ .rc-dropdown-slide-up-leave.rc-dropdown-slide-up-leave-active.rc-dropdown-placement-bottomLeft,
397
+ .rc-dropdown-slide-up-leave.rc-dropdown-slide-up-leave-active.rc-dropdown-placement-bottomCenter,
398
+ .rc-dropdown-slide-up-leave.rc-dropdown-slide-up-leave-active.rc-dropdown-placement-bottomRight {
399
+ animation-name: rcDropdownSlideUpOut;
400
+ animation-play-state: running;
401
+ }
402
+ .rc-dropdown-slide-up-leave.rc-dropdown-slide-up-leave-active.rc-dropdown-placement-topLeft,
403
+ .rc-dropdown-slide-up-leave.rc-dropdown-slide-up-leave-active.rc-dropdown-placement-topCenter,
404
+ .rc-dropdown-slide-up-leave.rc-dropdown-slide-up-leave-active.rc-dropdown-placement-topRight {
405
+ animation-name: rcDropdownSlideDownOut;
406
+ animation-play-state: running;
407
+ }
408
+ @keyframes rcDropdownSlideUpIn {
409
+ 0% {
410
+ opacity: 0;
411
+ transform-origin: 0% 0%;
412
+ transform: scaleY(0);
413
+ }
414
+ 100% {
415
+ opacity: 1;
416
+ transform-origin: 0% 0%;
417
+ transform: scaleY(1);
418
+ }
419
+ }
420
+ @keyframes rcDropdownSlideUpOut {
421
+ 0% {
422
+ opacity: 1;
423
+ transform-origin: 0% 0%;
424
+ transform: scaleY(1);
425
+ }
426
+ 100% {
427
+ opacity: 0;
428
+ transform-origin: 0% 0%;
429
+ transform: scaleY(0);
430
+ }
431
+ }
432
+ @keyframes rcDropdownSlideDownIn {
433
+ 0% {
434
+ opacity: 0;
435
+ transform-origin: 0% 100%;
436
+ transform: scaleY(0);
437
+ }
438
+ 100% {
439
+ opacity: 1;
440
+ transform-origin: 0% 100%;
441
+ transform: scaleY(1);
442
+ }
443
+ }
444
+ @keyframes rcDropdownSlideDownOut {
445
+ 0% {
446
+ opacity: 1;
447
+ transform-origin: 0% 100%;
448
+ transform: scaleY(1);
449
+ }
450
+ 100% {
451
+ opacity: 0;
452
+ transform-origin: 0% 100%;
453
+ transform: scaleY(0);
454
+ }
455
+ }
456
+ .rc-dropdown-arrow {
457
+ position: absolute;
458
+ border-width: 4px;
459
+ border-color: transparent;
460
+ box-shadow: 0 1px 5px #ccc;
461
+ border-style: solid;
462
+ transform: rotate(45deg);
463
+ }
464
+ .rc-dropdown-show-arrow.rc-dropdown-placement-top,
465
+ .rc-dropdown-show-arrow.rc-dropdown-placement-topLeft,
466
+ .rc-dropdown-show-arrow.rc-dropdown-placement-topRight {
467
+ padding-bottom: 6px;
468
+ }
469
+ .rc-dropdown-show-arrow.rc-dropdown-placement-bottom,
470
+ .rc-dropdown-show-arrow.rc-dropdown-placement-bottomLeft,
471
+ .rc-dropdown-show-arrow.rc-dropdown-placement-bottomRight {
472
+ padding-top: 6px;
473
+ }
474
+ .rc-dropdown-placement-top .rc-dropdown-arrow,
475
+ .rc-dropdown-placement-topLeft .rc-dropdown-arrow,
476
+ .rc-dropdown-placement-topRight .rc-dropdown-arrow {
477
+ bottom: 4px;
478
+ border-top-color: white;
479
+ }
480
+ .rc-dropdown-placement-top .rc-dropdown-arrow {
481
+ left: 50%;
482
+ }
483
+ .rc-dropdown-placement-topLeft .rc-dropdown-arrow {
484
+ left: 15%;
485
+ }
486
+ .rc-dropdown-placement-topRight .rc-dropdown-arrow {
487
+ right: 15%;
488
+ }
489
+ .rc-dropdown-placement-bottom .rc-dropdown-arrow,
490
+ .rc-dropdown-placement-bottomLeft .rc-dropdown-arrow,
491
+ .rc-dropdown-placement-bottomRight .rc-dropdown-arrow {
492
+ top: 4px;
493
+ border-bottom-color: white;
494
+ }
495
+ .rc-dropdown-placement-bottom .rc-dropdown-arrow {
496
+ left: 50%;
497
+ }
498
+ .rc-dropdown-placement-bottomLeft .rc-dropdown-arrow {
499
+ left: 15%;
500
+ }
501
+ .rc-dropdown-placement-bottomRight .rc-dropdown-arrow {
502
+ right: 15%;
503
+ }