@moda/om 19.9.0 → 20.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/dist/index.cjs.js +436 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +425 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems.d.ts +2 -0
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems.stories.d.ts +6 -0
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems1.d.ts +3 -0
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems2.d.ts +3 -0
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems3.d.ts +3 -0
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems4.d.ts +3 -0
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems5.d.ts +3 -0
- package/dist/src/components/LoadingItemsLavenderBlue/index.d.ts +5 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems.d.ts +2 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems.stories.d.ts +6 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems1.d.ts +3 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems2.d.ts +3 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems3.d.ts +3 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems4.d.ts +3 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems5.d.ts +3 -0
- package/dist/src/components/LoadingItemsPinkGreen/index.d.ts +5 -0
- package/dist/src/components/LoadingShapesLavenderBlue/LoadingShapesLavenderBlue.d.ts +3 -0
- package/dist/src/components/LoadingShapesLavenderBlue/LoadingShapesLavenderBlue.stories.d.ts +6 -0
- package/dist/src/components/LoadingShapesLavenderBlue/index.d.ts +1 -0
- package/dist/src/components/LoadingShapesPinkGreen/LoadingShapesPinkGreen.d.ts +3 -0
- package/dist/src/components/LoadingShapesPinkGreen/LoadingShapesPinkGreen.stories.d.ts +6 -0
- package/dist/src/components/LoadingShapesPinkGreen/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +4 -0
- package/dist/styles.css +1 -1
- package/index.scss +1 -0
- package/package.json +4 -3
- package/src/components/AspectRatioBox/AspectRatioBox.scss +1 -1
- package/src/components/Badge/Badge.scss +17 -17
- package/src/components/Breadcrumbs/Breadcrumb/Breadcrumb.scss +5 -5
- package/src/components/Breadcrumbs/Breadcrumbs.scss +2 -2
- package/src/components/Breakpoint/Breakpoint.scss +9 -7
- package/src/components/Button/Button.scss +45 -44
- package/src/components/Checkbox/Checkbox.scss +11 -11
- package/src/components/Clickable/Clickable.scss +3 -3
- package/src/components/ColorSwatch/ColorSwatch.scss +9 -9
- package/src/components/Constrain/Constrain.scss +9 -8
- package/src/components/Constrain/ExceedConstrain.scss +7 -7
- package/src/components/ControlLink/ControlLink.scss +6 -6
- package/src/components/DefinitionList/DefinitionList.scss +5 -5
- package/src/components/Dialog/Dialog.scss +4 -4
- package/src/components/Divider/Divider.scss +5 -5
- package/src/components/Expandable/Expandable.scss +17 -17
- package/src/components/Field/Field.scss +7 -7
- package/src/components/Label/Label.scss +4 -4
- package/src/components/Loading/Loading.scss +4 -4
- package/src/components/LoadingBalls/LoadingBalls.scss +2 -2
- package/src/components/LoadingItemsLavenderBlue/LoadingItems.stories.tsx +15 -0
- package/src/components/LoadingItemsLavenderBlue/LoadingItems.tsx +3 -0
- package/src/components/LoadingItemsLavenderBlue/LoadingItems1.tsx +28 -0
- package/src/components/LoadingItemsLavenderBlue/LoadingItems2.tsx +28 -0
- package/src/components/LoadingItemsLavenderBlue/LoadingItems3.tsx +28 -0
- package/src/components/LoadingItemsLavenderBlue/LoadingItems4.tsx +28 -0
- package/src/components/LoadingItemsLavenderBlue/LoadingItems5.tsx +28 -0
- package/src/components/LoadingItemsLavenderBlue/index.ts +5 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems.stories.tsx +15 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems.tsx +3 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems1.tsx +28 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems2.tsx +28 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems3.tsx +28 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems4.tsx +28 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems5.tsx +28 -0
- package/src/components/LoadingItemsPinkGreen/index.ts +5 -0
- package/src/components/LoadingShapes/LoadingShapes.scss +2 -2
- package/src/components/LoadingShapesLavenderBlue/LoadingShapesLavenderBlue.scss +9 -0
- package/src/components/LoadingShapesLavenderBlue/LoadingShapesLavenderBlue.stories.tsx +11 -0
- package/src/components/LoadingShapesLavenderBlue/LoadingShapesLavenderBlue.tsx +48 -0
- package/src/components/LoadingShapesLavenderBlue/index.ts +1 -0
- package/src/components/LoadingShapesPinkGreen/LoadingShapesPinkGreen.scss +9 -0
- package/src/components/LoadingShapesPinkGreen/LoadingShapesPinkGreen.stories.tsx +11 -0
- package/src/components/LoadingShapesPinkGreen/LoadingShapesPinkGreen.tsx +42 -0
- package/src/components/LoadingShapesPinkGreen/index.ts +1 -0
- package/src/components/Modal/Modal.scss +1 -1
- package/src/components/ModalOverlay/ModalOverlay.scss +6 -6
- package/src/components/Overlay/Overlay.scss +4 -4
- package/src/components/Paginator/Paginator.scss +10 -10
- package/src/components/PasswordInput/PasswordInput.scss +4 -4
- package/src/components/Popover/Popover.scss +9 -9
- package/src/components/PromoBanner/PromoBanner.scss +9 -9
- package/src/components/RadioButton/RadioButton.scss +14 -14
- package/src/components/SearchInput/SearchInput.scss +4 -4
- package/src/components/Select/MultiSelect.scss +14 -14
- package/src/components/Select/Select.scss +25 -25
- package/src/components/Select/SelectOption.scss +7 -7
- package/src/components/Select/SelectOptions.scss +8 -8
- package/src/components/SelectableButton/SelectableButton.scss +13 -13
- package/src/components/SlidingPane/SlidingPane.scss +7 -7
- package/src/components/Stack/Stack.scss +6 -4
- package/src/components/Tabs/Tab.scss +6 -6
- package/src/components/Tabs/TabList.scss +3 -3
- package/src/components/Tabs/TabPanels.scss +2 -2
- package/src/components/Tag/Tag.scss +8 -8
- package/src/components/Text/Text.scss +4 -3
- package/src/components/TextInput/TextInput.scss +2 -2
- package/src/components/Textarea/Textarea.scss +3 -3
- package/src/components/Toast/Toast.scss +6 -6
- package/src/components/VerticalDivider/VerticalDivider.scss +3 -3
- package/src/components/index.ts +4 -0
- package/src/index.scss +3 -3
- package/src/mixins/_mixins.scss +7 -7
- package/src/mixins/font-smoothing/_font-smoothing.scss +0 -2
- package/src/mixins/font-smoothing/font-smoothing.stories.scss +3 -3
- package/src/mixins/global-styles/_global-styles.scss +6 -5
- package/src/mixins/input-styles/_input-styles.scss +14 -12
- package/src/mixins/overflow-scroll/_overflow-scroll.scss +0 -2
- package/src/mixins/overflow-scroll/overflow-scroll.stories.scss +3 -3
- package/src/mixins/stack/_stack.scss +3 -3
- package/src/mixins/stack/stack.stories.scss +3 -3
- package/src/mixins/thin-underline/_thin-underline.scss +0 -2
- package/src/mixins/thin-underline/thin-underline.stories.scss +2 -2
- package/src/mixins/visually-hidden/_visually-hidden.scss +0 -2
- package/src/mixins/visually-hidden/visually-hidden.stories.scss +2 -2
- package/src/utilities/States/State.scss +4 -4
- package/src/utilities/States/States.scss +2 -2
- package/src/utilities/States/StatesProps.scss +8 -8
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LoadingItemsProps } from './LoadingItems';
|
|
3
|
+
|
|
4
|
+
export const LoadingItemsLavenderBlue1: React.FC<LoadingItemsProps> = () => (
|
|
5
|
+
<svg width='211' height='21' viewBox='0 0 211 21' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
6
|
+
<path
|
|
7
|
+
fillRule='evenodd'
|
|
8
|
+
clipRule='evenodd'
|
|
9
|
+
d='M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z'
|
|
10
|
+
fill='#1E22AA'
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
fillRule='evenodd'
|
|
14
|
+
clipRule='evenodd'
|
|
15
|
+
d='M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z'
|
|
16
|
+
fill='#1E22AA'
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule='evenodd'
|
|
20
|
+
clipRule='evenodd'
|
|
21
|
+
d='M200.468 0L190.056 20.828H210.884L200.468 0Z'
|
|
22
|
+
fill='#1E22AA'
|
|
23
|
+
/>
|
|
24
|
+
<path d='M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z' fill='#1E22AA' />
|
|
25
|
+
<path d='M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z' fill='#1E22AA' />
|
|
26
|
+
<rect x='3.18616' y='4.93652' width='18.8016' height='16.0635' fill='#1E22AA' />
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LoadingItemsProps } from './LoadingItems';
|
|
3
|
+
|
|
4
|
+
export const LoadingItemsLavenderBlue2: React.FC<LoadingItemsProps> = () => (
|
|
5
|
+
<svg width='211' height='21' viewBox='0 0 211 21' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
6
|
+
<path
|
|
7
|
+
fillRule='evenodd'
|
|
8
|
+
clipRule='evenodd'
|
|
9
|
+
d='M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z'
|
|
10
|
+
fill='#1E22AA'
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
fillRule='evenodd'
|
|
14
|
+
clipRule='evenodd'
|
|
15
|
+
d='M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z'
|
|
16
|
+
fill='#1E22AA'
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule='evenodd'
|
|
20
|
+
clipRule='evenodd'
|
|
21
|
+
d='M200.468 0L190.056 20.828H210.884L200.468 0Z'
|
|
22
|
+
fill='#1E22AA'
|
|
23
|
+
/>
|
|
24
|
+
<path d='M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z' fill='#D5C2D8' />
|
|
25
|
+
<path d='M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z' fill='#D5C2D8' />
|
|
26
|
+
<rect x='3.18619' y='4.93652' width='18.8016' height='16.0635' fill='#D5C2D8' />
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LoadingItemsProps } from './LoadingItems';
|
|
3
|
+
|
|
4
|
+
export const LoadingItemsLavenderBlue3: React.FC<LoadingItemsProps> = () => (
|
|
5
|
+
<svg width='211' height='21' viewBox='0 0 211 21' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
6
|
+
<path
|
|
7
|
+
fillRule='evenodd'
|
|
8
|
+
clipRule='evenodd'
|
|
9
|
+
d='M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z'
|
|
10
|
+
fill='#D5C2D8'
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
fillRule='evenodd'
|
|
14
|
+
clipRule='evenodd'
|
|
15
|
+
d='M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z'
|
|
16
|
+
fill='#1E22AA'
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule='evenodd'
|
|
20
|
+
clipRule='evenodd'
|
|
21
|
+
d='M200.468 0L190.056 20.828H210.884L200.468 0Z'
|
|
22
|
+
fill='#1E22AA'
|
|
23
|
+
/>
|
|
24
|
+
<path d='M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z' fill='#D5C2D8' />
|
|
25
|
+
<path d='M12.6203 4.95946L3.19631 9.27653L3.15217 0.740086L12.6203 4.95946Z' fill='#D5C2D8' />
|
|
26
|
+
<rect x='3.18617' y='4.93652' width='18.8016' height='16.0635' fill='#D5C2D8' />
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LoadingItemsProps } from './LoadingItems';
|
|
3
|
+
|
|
4
|
+
export const LoadingItemsLavenderBlue4: React.FC<LoadingItemsProps> = () => (
|
|
5
|
+
<svg width='211' height='21' viewBox='0 0 211 21' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
6
|
+
<path
|
|
7
|
+
fillRule='evenodd'
|
|
8
|
+
clipRule='evenodd'
|
|
9
|
+
d='M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z'
|
|
10
|
+
fill='#D5C2D8'
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
fillRule='evenodd'
|
|
14
|
+
clipRule='evenodd'
|
|
15
|
+
d='M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z'
|
|
16
|
+
fill='#D5C2D8'
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule='evenodd'
|
|
20
|
+
clipRule='evenodd'
|
|
21
|
+
d='M200.468 0L190.056 20.828H210.884L200.468 0Z'
|
|
22
|
+
fill='#1E22AA'
|
|
23
|
+
/>
|
|
24
|
+
<path d='M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z' fill='#D5C2D8' />
|
|
25
|
+
<path d='M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z' fill='#D5C2D8' />
|
|
26
|
+
<rect x='3.18619' y='4.93652' width='18.8016' height='16.0635' fill='#D5C2D8' />
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LoadingItemsProps } from './LoadingItems';
|
|
3
|
+
|
|
4
|
+
export const LoadingItemsLavenderBlue5: React.FC<LoadingItemsProps> = () => (
|
|
5
|
+
<svg width='211' height='21' viewBox='0 0 211 21' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
6
|
+
<path
|
|
7
|
+
fillRule='evenodd'
|
|
8
|
+
clipRule='evenodd'
|
|
9
|
+
d='M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z'
|
|
10
|
+
fill='#D5C2D8'
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
fillRule='evenodd'
|
|
14
|
+
clipRule='evenodd'
|
|
15
|
+
d='M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z'
|
|
16
|
+
fill='#D5C2D8'
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule='evenodd'
|
|
20
|
+
clipRule='evenodd'
|
|
21
|
+
d='M200.468 0L190.056 20.828H210.884L200.468 0Z'
|
|
22
|
+
fill='#D5C2D8'
|
|
23
|
+
/>
|
|
24
|
+
<path d='M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z' fill='#D5C2D8' />
|
|
25
|
+
<path d='M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z' fill='#D5C2D8' />
|
|
26
|
+
<rect x='3.18619' y='4.93652' width='18.8016' height='16.0635' fill='#D5C2D8' />
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { LoadingItemsLavenderBlue1 } from './LoadingItems1';
|
|
2
|
+
export { LoadingItemsLavenderBlue2 } from './LoadingItems2';
|
|
3
|
+
export { LoadingItemsLavenderBlue3 } from './LoadingItems3';
|
|
4
|
+
export { LoadingItemsLavenderBlue4 } from './LoadingItems4';
|
|
5
|
+
export { LoadingItemsLavenderBlue5 } from './LoadingItems5';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { States } from 'storybook-states';
|
|
3
|
+
import * as LOADINGITEMS from '.';
|
|
4
|
+
|
|
5
|
+
export default { title: 'Components/Shape' };
|
|
6
|
+
|
|
7
|
+
export const LoadingItemsPinkGreen = () => (
|
|
8
|
+
<>
|
|
9
|
+
{Object.entries(LOADINGITEMS).map(([name, Component]) => (
|
|
10
|
+
<States key={name}>
|
|
11
|
+
<Component style={{ width: '5rem' }} />
|
|
12
|
+
</States>
|
|
13
|
+
))}
|
|
14
|
+
</>
|
|
15
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LoadingItemsProps } from './LoadingItems';
|
|
3
|
+
|
|
4
|
+
export const LoadingItems1: React.FC<LoadingItemsProps> = () => (
|
|
5
|
+
<svg width='211' height='21' viewBox='0 0 211 21' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
6
|
+
<path
|
|
7
|
+
fillRule='evenodd'
|
|
8
|
+
clipRule='evenodd'
|
|
9
|
+
d='M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z'
|
|
10
|
+
fill='#DB4C8A'
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
fillRule='evenodd'
|
|
14
|
+
clipRule='evenodd'
|
|
15
|
+
d='M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z'
|
|
16
|
+
fill='#DB4C8A'
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule='evenodd'
|
|
20
|
+
clipRule='evenodd'
|
|
21
|
+
d='M200.468 0L190.056 20.828H210.884L200.468 0Z'
|
|
22
|
+
fill='#DB4C8A'
|
|
23
|
+
/>
|
|
24
|
+
<path d='M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z' fill='#DB4C8A' />
|
|
25
|
+
<path d='M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z' fill='#DB4C8A' />
|
|
26
|
+
<rect x='3.18616' y='4.93651' width='18.8016' height='16.0635' fill='#DB4C8A' />
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LoadingItemsProps } from './LoadingItems';
|
|
3
|
+
|
|
4
|
+
export const LoadingItems2: React.FC<LoadingItemsProps> = () => (
|
|
5
|
+
<svg width='211' height='21' viewBox='0 0 211 21' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
6
|
+
<path
|
|
7
|
+
fillRule='evenodd'
|
|
8
|
+
clipRule='evenodd'
|
|
9
|
+
d='M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z'
|
|
10
|
+
fill='#DB4C8A'
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
fillRule='evenodd'
|
|
14
|
+
clipRule='evenodd'
|
|
15
|
+
d='M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z'
|
|
16
|
+
fill='#DB4C8A'
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule='evenodd'
|
|
20
|
+
clipRule='evenodd'
|
|
21
|
+
d='M200.468 0L190.056 20.828H210.884L200.468 0Z'
|
|
22
|
+
fill='#DB4C8A'
|
|
23
|
+
/>
|
|
24
|
+
<path d='M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z' fill='#006F62' />
|
|
25
|
+
<path d='M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z' fill='#006F62' />
|
|
26
|
+
<rect x='3.18619' y='4.93651' width='18.8016' height='16.0635' fill='#006F62' />
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LoadingItemsProps } from './LoadingItems';
|
|
3
|
+
|
|
4
|
+
export const LoadingItems3: React.FC<LoadingItemsProps> = () => (
|
|
5
|
+
<svg width='211' height='21' viewBox='0 0 211 21' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
6
|
+
<path
|
|
7
|
+
fillRule='evenodd'
|
|
8
|
+
clipRule='evenodd'
|
|
9
|
+
d='M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z'
|
|
10
|
+
fill='#006F62'
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
fillRule='evenodd'
|
|
14
|
+
clipRule='evenodd'
|
|
15
|
+
d='M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z'
|
|
16
|
+
fill='#DB4C8A'
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule='evenodd'
|
|
20
|
+
clipRule='evenodd'
|
|
21
|
+
d='M200.468 0L190.056 20.828H210.884L200.468 0Z'
|
|
22
|
+
fill='#DB4C8A'
|
|
23
|
+
/>
|
|
24
|
+
<path d='M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z' fill='#006F62' />
|
|
25
|
+
<path d='M12.6203 4.95946L3.19631 9.27653L3.15217 0.740086L12.6203 4.95946Z' fill='#006F62' />
|
|
26
|
+
<rect x='3.18617' y='4.93651' width='18.8016' height='16.0635' fill='#006F62' />
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LoadingItemsProps } from './LoadingItems';
|
|
3
|
+
|
|
4
|
+
export const LoadingItems4: React.FC<LoadingItemsProps> = () => (
|
|
5
|
+
<svg width='211' height='21' viewBox='0 0 211 21' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
6
|
+
<path
|
|
7
|
+
fillRule='evenodd'
|
|
8
|
+
clipRule='evenodd'
|
|
9
|
+
d='M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z'
|
|
10
|
+
fill='#006F62'
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
fillRule='evenodd'
|
|
14
|
+
clipRule='evenodd'
|
|
15
|
+
d='M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z'
|
|
16
|
+
fill='#006F62'
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule='evenodd'
|
|
20
|
+
clipRule='evenodd'
|
|
21
|
+
d='M200.468 0L190.056 20.828H210.884L200.468 0Z'
|
|
22
|
+
fill='#F04E98'
|
|
23
|
+
/>
|
|
24
|
+
<path d='M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z' fill='#006F62' />
|
|
25
|
+
<path d='M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z' fill='#006F62' />
|
|
26
|
+
<rect x='3.18619' y='4.93651' width='18.8016' height='16.0635' fill='#006F62' />
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LoadingItemsProps } from './LoadingItems';
|
|
3
|
+
|
|
4
|
+
export const LoadingItems5: React.FC<LoadingItemsProps> = () => (
|
|
5
|
+
<svg width='211' height='21' viewBox='0 0 211 21' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
6
|
+
<path
|
|
7
|
+
fillRule='evenodd'
|
|
8
|
+
clipRule='evenodd'
|
|
9
|
+
d='M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z'
|
|
10
|
+
fill='#006F62'
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
fillRule='evenodd'
|
|
14
|
+
clipRule='evenodd'
|
|
15
|
+
d='M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z'
|
|
16
|
+
fill='#006F62'
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fillRule='evenodd'
|
|
20
|
+
clipRule='evenodd'
|
|
21
|
+
d='M200.468 0L190.056 20.828H210.884L200.468 0Z'
|
|
22
|
+
fill='#006F62'
|
|
23
|
+
/>
|
|
24
|
+
<path d='M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z' fill='#006F62' />
|
|
25
|
+
<path d='M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z' fill='#006F62' />
|
|
26
|
+
<rect x='3.18616' y='4.93651' width='18.8016' height='16.0635' fill='#006F62' />
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { States } from 'storybook-states';
|
|
3
|
+
import { LoadingShapesLavenderBlue } from './LoadingShapesLavenderBlue';
|
|
4
|
+
|
|
5
|
+
export default { title: 'Components/LoadingShapesLavenderBlue' };
|
|
6
|
+
|
|
7
|
+
export const Default = () => (
|
|
8
|
+
<States>
|
|
9
|
+
<LoadingShapesLavenderBlue />
|
|
10
|
+
</States>
|
|
11
|
+
);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import classNames from 'classnames';
|
|
2
|
+
import React, { useEffect } from 'react';
|
|
3
|
+
import { useCursor } from 'use-cursor';
|
|
4
|
+
import {
|
|
5
|
+
LoadingItemsLavenderBlue1,
|
|
6
|
+
LoadingItemsLavenderBlue2,
|
|
7
|
+
LoadingItemsLavenderBlue3,
|
|
8
|
+
LoadingItemsLavenderBlue4,
|
|
9
|
+
LoadingItemsLavenderBlue5
|
|
10
|
+
} from '../LoadingItemsLavenderBlue';
|
|
11
|
+
|
|
12
|
+
import './LoadingShapesLavenderBlue.scss';
|
|
13
|
+
|
|
14
|
+
const INTERVAL_MS = 250;
|
|
15
|
+
|
|
16
|
+
export const LoadingShapesLavenderBlue = () => {
|
|
17
|
+
const items = [
|
|
18
|
+
LoadingItemsLavenderBlue1,
|
|
19
|
+
LoadingItemsLavenderBlue2,
|
|
20
|
+
LoadingItemsLavenderBlue3,
|
|
21
|
+
LoadingItemsLavenderBlue4,
|
|
22
|
+
LoadingItemsLavenderBlue5
|
|
23
|
+
];
|
|
24
|
+
const { index, handleNext } = useCursor({ max: items.length });
|
|
25
|
+
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
const interval = setInterval(() => {
|
|
28
|
+
handleNext();
|
|
29
|
+
}, INTERVAL_MS);
|
|
30
|
+
|
|
31
|
+
return () => clearInterval(interval);
|
|
32
|
+
}, [handleNext]);
|
|
33
|
+
|
|
34
|
+
return (
|
|
35
|
+
<div>
|
|
36
|
+
{items.map((Item, itemIndex) => (
|
|
37
|
+
<div
|
|
38
|
+
className={classNames('LoadingShapesLavenderBlue__item', {
|
|
39
|
+
'LoadingShapesLavenderBlue__item--current': itemIndex !== index
|
|
40
|
+
})}
|
|
41
|
+
key={itemIndex}
|
|
42
|
+
>
|
|
43
|
+
<Item />
|
|
44
|
+
</div>
|
|
45
|
+
))}
|
|
46
|
+
</div>
|
|
47
|
+
);
|
|
48
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LoadingShapesLavenderBlue';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { States } from 'storybook-states';
|
|
3
|
+
import { LoadingShapesPinkGreen } from './LoadingShapesPinkGreen';
|
|
4
|
+
|
|
5
|
+
export default { title: 'Components/LoadingShapesPinkGreen' };
|
|
6
|
+
|
|
7
|
+
export const Default = () => (
|
|
8
|
+
<States>
|
|
9
|
+
<LoadingShapesPinkGreen />
|
|
10
|
+
</States>
|
|
11
|
+
);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import classNames from 'classnames';
|
|
2
|
+
import React, { useEffect } from 'react';
|
|
3
|
+
import { useCursor } from 'use-cursor';
|
|
4
|
+
import {
|
|
5
|
+
LoadingItems1,
|
|
6
|
+
LoadingItems2,
|
|
7
|
+
LoadingItems3,
|
|
8
|
+
LoadingItems4,
|
|
9
|
+
LoadingItems5
|
|
10
|
+
} from '../LoadingItemsPinkGreen';
|
|
11
|
+
|
|
12
|
+
import './LoadingShapesPinkGreen.scss';
|
|
13
|
+
|
|
14
|
+
const INTERVAL_MS = 250;
|
|
15
|
+
|
|
16
|
+
export const LoadingShapesPinkGreen = () => {
|
|
17
|
+
const items = [LoadingItems1, LoadingItems2, LoadingItems3, LoadingItems4, LoadingItems5];
|
|
18
|
+
const { index, handleNext } = useCursor({ max: items.length });
|
|
19
|
+
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
const interval = setInterval(() => {
|
|
22
|
+
handleNext();
|
|
23
|
+
}, INTERVAL_MS);
|
|
24
|
+
|
|
25
|
+
return () => clearInterval(interval);
|
|
26
|
+
}, [handleNext]);
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
<div>
|
|
30
|
+
{items.map((Item, itemIndex) => (
|
|
31
|
+
<div
|
|
32
|
+
className={classNames('LoadingShapesPinkGreen__item', {
|
|
33
|
+
'LoadingShapesPinkGreen__item--current': itemIndex !== index
|
|
34
|
+
})}
|
|
35
|
+
key={itemIndex}
|
|
36
|
+
>
|
|
37
|
+
<Item />
|
|
38
|
+
</div>
|
|
39
|
+
))}
|
|
40
|
+
</div>
|
|
41
|
+
);
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LoadingShapesPinkGreen';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '~@moda/om';
|
|
2
2
|
|
|
3
3
|
.ModalOverlay {
|
|
4
4
|
background: rgba(255, 255, 255, 0.9);
|
|
5
|
-
padding: spacing(8, 6);
|
|
5
|
+
padding: om.spacing(8, 6);
|
|
6
6
|
|
|
7
|
-
@include breakpoint(sm, $prop: max-width) {
|
|
8
|
-
padding: spacing(8, 4);
|
|
7
|
+
@include om.breakpoint(sm, $prop: max-width) {
|
|
8
|
+
padding: om.spacing(8, 4);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
@include breakpoint(xs, $prop: max-width) {
|
|
12
|
-
padding: spacing(8, 2);
|
|
11
|
+
@include om.breakpoint(xs, $prop: max-width) {
|
|
12
|
+
padding: om.spacing(8, 2);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
&__content {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '~@moda/om';
|
|
2
2
|
|
|
3
3
|
.Overlay {
|
|
4
|
-
@include stack(2);
|
|
4
|
+
@include om.stack(2);
|
|
5
5
|
|
|
6
6
|
position: absolute;
|
|
7
7
|
top: 0;
|
|
8
8
|
right: 0;
|
|
9
9
|
bottom: 0;
|
|
10
10
|
left: 0;
|
|
11
|
-
background-color: color('snow', 0.9);
|
|
11
|
+
background-color: om.color('snow', 0.9);
|
|
12
12
|
justify-content: center;
|
|
13
13
|
align-items: center;
|
|
14
|
-
color: color('ink');
|
|
14
|
+
color: om.color('ink');
|
|
15
15
|
animation: slow-in 0.5s;
|
|
16
16
|
|
|
17
17
|
@keyframes slow-in {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '~@moda/om';
|
|
2
2
|
|
|
3
3
|
.Paginator {
|
|
4
4
|
display: flex;
|
|
5
5
|
justify-content: center;
|
|
6
6
|
|
|
7
7
|
&__button {
|
|
8
|
-
@include text(body1);
|
|
8
|
+
@include om.text(body1);
|
|
9
9
|
|
|
10
10
|
border: none;
|
|
11
|
-
height: space(6);
|
|
12
|
-
width: space(6);
|
|
11
|
+
height: om.space(6);
|
|
12
|
+
width: om.space(6);
|
|
13
13
|
display: flex;
|
|
14
14
|
justify-content: center;
|
|
15
15
|
align-items: center;
|
|
16
16
|
cursor: pointer;
|
|
17
|
-
margin-right: space(1);
|
|
18
|
-
margin-left: space(1);
|
|
17
|
+
margin-right: om.space(1);
|
|
18
|
+
margin-left: om.space(1);
|
|
19
19
|
background-color: transparent;
|
|
20
20
|
|
|
21
21
|
&:first-child {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&:hover {
|
|
30
|
-
background-color: color(noise);
|
|
30
|
+
background-color: om.color(noise);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&--next,
|
|
@@ -36,16 +36,16 @@
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&--currentPage {
|
|
39
|
-
background-color: color(noise);
|
|
39
|
+
background-color: om.color(noise);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
&__next-chevron {
|
|
44
|
-
margin-left: space(2);
|
|
44
|
+
margin-left: om.space(2);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
&__previous-chevron {
|
|
48
|
-
margin-right: space(2);
|
|
48
|
+
margin-right: om.space(2);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
&__button--ellipsis {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '~@moda/om';
|
|
2
2
|
|
|
3
3
|
.PasswordInput {
|
|
4
4
|
position: relative;
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
|
|
10
10
|
&__password-action {
|
|
11
11
|
position: absolute;
|
|
12
|
-
top: space(2);
|
|
13
|
-
right: space(6);
|
|
12
|
+
top: om.space(2);
|
|
13
|
+
right: om.space(6);
|
|
14
14
|
|
|
15
|
-
@include breakpoint(sm, $prop: max-width) {
|
|
15
|
+
@include om.breakpoint(sm, $prop: max-width) {
|
|
16
16
|
top: 0.7rem;
|
|
17
17
|
}
|
|
18
18
|
}
|