@soul-refiner/design-system 2.0.0-alpha.8 → 2.0.0-alpha.9
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/dist/src/components/actions/dropdown/dropdown.js +5 -5
- package/dist/src/components/actions/rate/rate.js +2 -2
- package/dist/src/components/actions/switch/switch.js +3 -3
- package/dist/src/components/actions/toggle/toggle.js +4 -4
- package/dist/src/components/actions/upload/upload.js +3 -3
- package/dist/src/components/atoms/box/box.js +2 -2
- package/dist/src/components/atoms/typography/display.js +2 -2
- package/dist/src/components/atoms/typography/heading.js +2 -2
- package/dist/src/components/atoms/typography/paragraph.js +2 -2
- package/dist/src/components/atoms/typography/typography.js +2 -2
- package/dist/src/components/card/action/action.js +6 -6
- package/dist/src/components/card/audio/audio.js +5 -5
- package/dist/src/components/card/feature/feature.js +7 -7
- package/dist/src/components/card/meeting/meeting.js +6 -6
- package/dist/src/components/card/person/person.js +5 -5
- package/dist/src/components/card/price/price.js +4 -4
- package/dist/src/components/card/regular/regular.js +2 -2
- package/dist/src/components/card/styles.js +2 -2
- package/dist/src/components/card/video/video.js +5 -5
- package/dist/src/components/card/written/written.js +5 -5
- package/dist/src/components/custom/courses_selection/courses_selection.js +5 -5
- package/dist/src/components/custom/users_selection/users_selection.js +6 -6
- package/dist/src/components/editor/editor.js +2 -2
- package/dist/src/components/editor/navbar/button_modal.js +2 -2
- package/dist/src/components/editor/navbar/navbar.js +6 -6
- package/dist/src/components/editor/plugins/blocks/buttons.js +3 -3
- package/dist/src/components/editor/plugins/blocks/qa.js +2 -2
- package/dist/src/components/editor/plugins/leafs/link.js +2 -2
- package/dist/src/components/editor/simple_editor/navbar.js +4 -4
- package/dist/src/components/editor/simple_editor/simple_editor.js +3 -3
- package/dist/src/components/editor/styles/menu_button.js +2 -2
- package/dist/src/components/feedback/badge/badge.js +3 -3
- package/dist/src/components/feedback/banner/banner.js +2 -2
- package/dist/src/components/feedback/chip/chip.js +3 -3
- package/dist/src/components/feedback/notification/notification.js +2 -2
- package/dist/src/components/feedback/progress/progress.js +5 -5
- package/dist/src/components/feedback/toast/toast.js +3 -3
- package/dist/src/components/iconography/avatar/avatar.js +6 -6
- package/dist/src/components/iconography/icon/icon.js +2 -2
- package/dist/src/components/input/calendar/calendar.js +13 -13
- package/dist/src/components/input/checkbox/checkbox.js +2 -2
- package/dist/src/components/input/date/date.js +13 -13
- package/dist/src/components/input/filter/filter_option.js +3 -3
- package/dist/src/components/input/radio/radio.js +3 -3
- package/dist/src/components/input/search/search.js +4 -4
- package/dist/src/components/input/select/select.js +3 -3
- package/dist/src/components/input/text_area/text_area.js +6 -6
- package/dist/src/components/input/text_input/text_input.js +7 -7
- package/dist/src/components/input/time/time.js +3 -3
- package/dist/src/components/media/video-player/playlist-item.js +3 -3
- package/dist/src/components/media/video-player/video.js +6 -6
- package/dist/src/components/navigation/breadcrumb/breadcrumb.js +3 -3
- package/dist/src/components/navigation/inner/inner.js +8 -8
- package/dist/src/components/navigation/tabs/tabs.js +4 -4
- package/dist/src/components/surfaces/accordion/accordion.js +3 -3
- package/dist/src/components/surfaces/calendar_date/calendar_date.js +6 -6
- package/dist/src/components/surfaces/carousel/card/card.js +4 -4
- package/dist/src/components/surfaces/comment/comment.js +10 -10
- package/dist/src/components/surfaces/drawer/drawer.js +6 -6
- package/dist/src/components/surfaces/message/message.js +2 -2
- package/dist/src/components/surfaces/modal/modal.js +3 -3
- package/dist/src/components/surfaces/post/post.js +9 -9
- package/dist/src/components/table/table/table.js +7 -7
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
3
|
+
import { styled } from 'styled-components';
|
|
4
4
|
import { Box } from '../../atoms/box/box.js';
|
|
5
5
|
import { Checkbox } from '../../input/checkbox/checkbox.js';
|
|
6
6
|
import { P } from '../../atoms/typography/paragraph.js';
|
|
@@ -116,13 +116,13 @@ const Dropdown = ({ checkbox, children, closeOnChange = true, closeOnBlur = true
|
|
|
116
116
|
} }, dropdownOptions),
|
|
117
117
|
!!additionalOptions?.length && (React__default.createElement("div", { style: { display: 'flex', flexDirection: 'column' } }, additionalOptions.map((additionalOption) => (React__default.createElement(Option, { key: additionalOption.value, onClick: handleAdditionalChange, selected: additionalSelected === additionalOption.value, label: additionalOption.label, value: additionalOption.value }))))))))));
|
|
118
118
|
};
|
|
119
|
-
const Wrapper = styled.div
|
|
119
|
+
const Wrapper = styled.div `
|
|
120
120
|
position: relative;
|
|
121
121
|
display: block;
|
|
122
122
|
outline: none;
|
|
123
123
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
124
124
|
`;
|
|
125
|
-
const Container = styled.div
|
|
125
|
+
const Container = styled.div `
|
|
126
126
|
z-index: 1;
|
|
127
127
|
background-color: var(--color-white);
|
|
128
128
|
position: absolute;
|
|
@@ -169,7 +169,7 @@ const Option = ({ checkbox, disabled, icon, label, onClick, selected, sublabel,
|
|
|
169
169
|
};
|
|
170
170
|
Option.displayName = 'Dropdown.Option';
|
|
171
171
|
Dropdown.Option = Option;
|
|
172
|
-
const OptionWrapper = styled.div
|
|
172
|
+
const OptionWrapper = styled.div `
|
|
173
173
|
position: relative;
|
|
174
174
|
z-index: 1;
|
|
175
175
|
padding: ${({ $hasSublabel }) => ($hasSublabel ? 10 : 12)}px 16px;
|
|
@@ -217,7 +217,7 @@ const Spacer = ({ sx }) => {
|
|
|
217
217
|
};
|
|
218
218
|
Spacer.displayName = 'Dropdown.Spacer';
|
|
219
219
|
Dropdown.Spacer = Spacer;
|
|
220
|
-
const SpacerWrapper = styled.div
|
|
220
|
+
const SpacerWrapper = styled.div `
|
|
221
221
|
width: 100%;
|
|
222
222
|
height: 1px;
|
|
223
223
|
background-color: var(--color-grey-8);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
3
|
+
import { styled } from 'styled-components';
|
|
4
4
|
|
|
5
5
|
const SM_WIDTH = 98;
|
|
6
6
|
const LG_WIDTH = 147;
|
|
@@ -42,7 +42,7 @@ const Rate = ({ isRateable = true, onRate, percent, size, userRating, }) => {
|
|
|
42
42
|
React__default.createElement("stop", { offset: `${displayPercent}%`, stopColor: "#FF870A" }),
|
|
43
43
|
React__default.createElement("stop", { offset: `${displayPercent}%`, stopColor: "#FFFFFF" }))))));
|
|
44
44
|
};
|
|
45
|
-
const SVG = styled.svg
|
|
45
|
+
const SVG = styled.svg `
|
|
46
46
|
fill: url(#${({ $gradientId }) => $gradientId});
|
|
47
47
|
cursor: ${({ $isRateable }) => ($isRateable ? 'pointer' : 'initial')};
|
|
48
48
|
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
3
|
+
import { styled } from 'styled-components';
|
|
4
4
|
|
|
5
5
|
const Switch = ({ children, disabled, onChange, value, }) => {
|
|
6
6
|
return (React__default.createElement(Wrapper, null, React__default.Children.map(children, (child) => {
|
|
@@ -15,7 +15,7 @@ const Switch = ({ children, disabled, onChange, value, }) => {
|
|
|
15
15
|
});
|
|
16
16
|
})));
|
|
17
17
|
};
|
|
18
|
-
const Wrapper = styled.div
|
|
18
|
+
const Wrapper = styled.div `
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-flow: row nowrap;
|
|
21
21
|
padding: 6px;
|
|
@@ -28,7 +28,7 @@ const SwitchItem = ({ active, children, disabled, icon, onClick, value, }) => {
|
|
|
28
28
|
icon && React__default.cloneElement(icon, { size: 24, color: 'grey-6' }),
|
|
29
29
|
children));
|
|
30
30
|
};
|
|
31
|
-
const Item = styled.button
|
|
31
|
+
const Item = styled.button `
|
|
32
32
|
width: 154px;
|
|
33
33
|
height: 36px;
|
|
34
34
|
display: flex;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
3
|
+
import { styled } from 'styled-components';
|
|
4
4
|
import { Box } from '../../atoms/box/box.js';
|
|
5
5
|
import { P } from '../../atoms/typography/paragraph.js';
|
|
6
6
|
|
|
@@ -12,18 +12,18 @@ const Toggle = ({ checked, label, onChange }) => {
|
|
|
12
12
|
React__default.createElement(Slider, { "$status": status })),
|
|
13
13
|
label && React__default.createElement(P, { "$fontSize": 14 }, label)));
|
|
14
14
|
};
|
|
15
|
-
const Wrapper = styled.label
|
|
15
|
+
const Wrapper = styled.label `
|
|
16
16
|
width: 28px;
|
|
17
17
|
height: 16px;
|
|
18
18
|
position: relative;
|
|
19
19
|
display: inline-block;
|
|
20
20
|
`;
|
|
21
|
-
const Input = styled.input
|
|
21
|
+
const Input = styled.input `
|
|
22
22
|
opacity: 0;
|
|
23
23
|
width: 0;
|
|
24
24
|
height: 0;
|
|
25
25
|
`;
|
|
26
|
-
const Slider = styled.span
|
|
26
|
+
const Slider = styled.span `
|
|
27
27
|
position: absolute;
|
|
28
28
|
cursor: pointer;
|
|
29
29
|
top: 0px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
3
|
+
import { styled } from 'styled-components';
|
|
4
4
|
import { COLORS } from '../../../common/colors.js';
|
|
5
5
|
import { Box } from '../../atoms/box/box.js';
|
|
6
6
|
import { Button } from '../button/button.js';
|
|
@@ -138,7 +138,7 @@ const Upload = ({ background = 'hue-blue-3', borderColor = 'hue-blue-2', childre
|
|
|
138
138
|
return child;
|
|
139
139
|
})));
|
|
140
140
|
};
|
|
141
|
-
const Wrapper = styled.div
|
|
141
|
+
const Wrapper = styled.div `
|
|
142
142
|
box-sizing: border-box;
|
|
143
143
|
width: ${({ $size }) => $size === 'large'
|
|
144
144
|
? '100%'
|
|
@@ -157,7 +157,7 @@ const Wrapper = styled.div.withConfig({ displayName: "Wrapper", componentId: "sc
|
|
|
157
157
|
border: 2px dashed var(--color-${({ $borderColor }) => $borderColor});
|
|
158
158
|
border-radius: ${({ $size }) => ($size === 'large' ? '16px' : '8px')};
|
|
159
159
|
`;
|
|
160
|
-
const Input = styled.input
|
|
160
|
+
const Input = styled.input `
|
|
161
161
|
display: none;
|
|
162
162
|
`;
|
|
163
163
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
3
|
+
import { styled } from 'styled-components';
|
|
4
4
|
import { Styles } from '../../../common/styles.js';
|
|
5
5
|
|
|
6
6
|
const Box = ({ $display = 'flex', sx, ...args }) => (React__default.createElement(Component, { "$display": $display, "$sx": sx, ...args }));
|
|
7
|
-
const Component = styled.div
|
|
7
|
+
const Component = styled.div `
|
|
8
8
|
${({ $display }) => ($display === 'flex' ? 'display: flex;' : '')}
|
|
9
9
|
${Styles.flex}
|
|
10
10
|
${Styles.backgroundColor}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
3
|
+
import { styled } from 'styled-components';
|
|
4
4
|
import { Typography } from './typography.js';
|
|
5
5
|
|
|
6
6
|
const Display = ({ as = 'h1', $fontSize = 64, $lineHeight = 96, $textAlign = 'left', ...rest }) => (React__default.createElement(StyledDisplay, { as: as || 'h1', "$fontSize": $fontSize, "$lineHeight": $lineHeight, "$textAlign": $textAlign, ...rest }));
|
|
7
|
-
const StyledDisplay = styled(Typography)
|
|
7
|
+
const StyledDisplay = styled(Typography) `
|
|
8
8
|
font-size: ${({ $fontSize }) => $fontSize + 'px'};
|
|
9
9
|
line-height: ${({ $lineHeight }) => $lineHeight + 'px'};
|
|
10
10
|
text-align: ${({ $textAlign }) => $textAlign || 'left'};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
3
|
+
import { styled } from 'styled-components';
|
|
4
4
|
import { Typography } from './typography.js';
|
|
5
5
|
|
|
6
|
-
const StyledH = styled(Typography)
|
|
6
|
+
const StyledH = styled(Typography) `
|
|
7
7
|
font-size: ${({ $fontSize }) => $fontSize + 'px'};
|
|
8
8
|
line-height: ${({ $lineHeight }) => $lineHeight + 'px'};
|
|
9
9
|
text-align: ${({ $textAlign }) => $textAlign || 'left'};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
3
|
+
import { styled } from 'styled-components';
|
|
4
4
|
import { Styles } from '../../../common/styles.js';
|
|
5
5
|
|
|
6
6
|
const P = ({ as = 'p', children, $fontSize = 16, $lineHeight = 24, $textAlign = 'left', sx, ...rest }) => (React__default.createElement(StyledP, { as: as, "$fontSize": $fontSize, "$lineHeight": $lineHeight, "$textAlign": $textAlign, "$sx": sx, ...rest }, children));
|
|
7
|
-
const StyledP = styled.p
|
|
7
|
+
const StyledP = styled.p `
|
|
8
8
|
margin: 0px;
|
|
9
9
|
font-family: var(--font-inter);
|
|
10
10
|
font-size: ${({ $fontSize }) => $fontSize + 'px'};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import styled from 'styled-components';
|
|
2
|
+
import { styled } from 'styled-components';
|
|
3
3
|
import { Styles } from '../../../common/styles.js';
|
|
4
4
|
|
|
5
|
-
const Typography = styled.p
|
|
5
|
+
const Typography = styled.p `
|
|
6
6
|
margin: 0px;
|
|
7
7
|
font-family: var(--font-inter);
|
|
8
8
|
${Styles.color}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
4
|
+
import { styled } from 'styled-components';
|
|
5
5
|
import { Box } from '../../atoms/box/box.js';
|
|
6
6
|
import { H } from '../../atoms/typography/heading.js';
|
|
7
7
|
import { P } from '../../atoms/typography/paragraph.js';
|
|
@@ -19,11 +19,11 @@ const ActionCard = ({ actions, content, href, image, logo, subtitle, sx, title,
|
|
|
19
19
|
React__default.createElement(P, { as: "span", "$color": "grey-3", "$fontSize": 14, "$lineHeight": 20, "$textAlign": "center", "$textClampLines": 3, sx: "margin-top: 12px;" }, content),
|
|
20
20
|
React__default.createElement(Box, { "$display": "flex", "$dir": "row", "$gap": 8, sx: "margin-top: auto; width: 100%;" }, React__default.Children.toArray(actions))))));
|
|
21
21
|
};
|
|
22
|
-
const Wrapper = styled.div
|
|
22
|
+
const Wrapper = styled.div `
|
|
23
23
|
text-decoration: none;
|
|
24
24
|
${({ as }) => (as === 'a' ? 'cursor: pointer;' : '')}
|
|
25
25
|
`;
|
|
26
|
-
const Action = styled.figure
|
|
26
|
+
const Action = styled.figure `
|
|
27
27
|
position: relative;
|
|
28
28
|
border-radius: 16px;
|
|
29
29
|
width: 318px;
|
|
@@ -41,7 +41,7 @@ const Action = styled.figure.withConfig({ displayName: "Action", componentId: "s
|
|
|
41
41
|
|
|
42
42
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
43
43
|
`;
|
|
44
|
-
const ImgWrapper = styled.div
|
|
44
|
+
const ImgWrapper = styled.div `
|
|
45
45
|
width: 318px;
|
|
46
46
|
height: 160px;
|
|
47
47
|
position: relative;
|
|
@@ -54,7 +54,7 @@ const ImgWrapper = styled.div.withConfig({ displayName: "ImgWrapper", componentI
|
|
|
54
54
|
border-radius: 16px 16px 0 0;
|
|
55
55
|
}
|
|
56
56
|
`;
|
|
57
|
-
const Figcaption = styled.figcaption
|
|
57
|
+
const Figcaption = styled.figcaption `
|
|
58
58
|
position: relative;
|
|
59
59
|
display: flex;
|
|
60
60
|
align-items: center;
|
|
@@ -66,7 +66,7 @@ const Figcaption = styled.figcaption.withConfig({ displayName: "Figcaption", com
|
|
|
66
66
|
border-radius: 0px 0px 15px 15px;
|
|
67
67
|
text-align: center;
|
|
68
68
|
`;
|
|
69
|
-
const LogoWrapper = styled.div
|
|
69
|
+
const LogoWrapper = styled.div `
|
|
70
70
|
position: absolute;
|
|
71
71
|
top: -28px;
|
|
72
72
|
right: calc(50% - 28px);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
4
|
+
import { styled } from 'styled-components';
|
|
5
5
|
import { Box } from '../../atoms/box/box.js';
|
|
6
6
|
import { H } from '../../atoms/typography/heading.js';
|
|
7
7
|
import { P } from '../../atoms/typography/paragraph.js';
|
|
@@ -35,7 +35,7 @@ const AudioEpisodeCard = ({ actions, actionDropdown, content, cta, href, image,
|
|
|
35
35
|
")"),
|
|
36
36
|
React__default.createElement(Box, { "$align": "center", "$dir": "row", "$gap": 8 }, React__default.Children.toArray(actions)))))));
|
|
37
37
|
};
|
|
38
|
-
const Wrapper = styled.a
|
|
38
|
+
const Wrapper = styled.a `
|
|
39
39
|
cursor: pointer;
|
|
40
40
|
display: block;
|
|
41
41
|
position: relative;
|
|
@@ -107,7 +107,7 @@ const Wrapper = styled.a.withConfig({ displayName: "Wrapper", componentId: "sc-a
|
|
|
107
107
|
|
|
108
108
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
109
109
|
`;
|
|
110
|
-
const Figure = styled.figure
|
|
110
|
+
const Figure = styled.figure `
|
|
111
111
|
margin: 0px;
|
|
112
112
|
border-radius: 16px;
|
|
113
113
|
|
|
@@ -121,13 +121,13 @@ const Figure = styled.figure.withConfig({ displayName: "Figure", componentId: "s
|
|
|
121
121
|
aspect-ratio: 228 / 228;
|
|
122
122
|
}
|
|
123
123
|
`;
|
|
124
|
-
const Figcaption = styled.figcaption
|
|
124
|
+
const Figcaption = styled.figcaption `
|
|
125
125
|
display: flex;
|
|
126
126
|
flex-flow: column nowrap;
|
|
127
127
|
gap: 8px;
|
|
128
128
|
padding: 8px;
|
|
129
129
|
`;
|
|
130
|
-
const DropdownWrapper = styled.div
|
|
130
|
+
const DropdownWrapper = styled.div `
|
|
131
131
|
position: absolute;
|
|
132
132
|
top: 8px;
|
|
133
133
|
right: 8px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
4
|
+
import { styled } from 'styled-components';
|
|
5
5
|
import { Box } from '../../atoms/box/box.js';
|
|
6
6
|
import { Button } from '../../actions/button/button.js';
|
|
7
7
|
import { Modal } from '../../surfaces/modal/modal.js';
|
|
@@ -80,10 +80,10 @@ const FeatureCard = ({ content = '', editable, href, image, onDelete, onSave, sx
|
|
|
80
80
|
}
|
|
81
81
|
` }))))))));
|
|
82
82
|
};
|
|
83
|
-
const Wrapper = styled.div
|
|
83
|
+
const Wrapper = styled.div `
|
|
84
84
|
text-decoration: none;
|
|
85
85
|
`;
|
|
86
|
-
const Figure = styled.figure
|
|
86
|
+
const Figure = styled.figure `
|
|
87
87
|
max-width: min-content;
|
|
88
88
|
box-sizing: border-box;
|
|
89
89
|
display: flex;
|
|
@@ -148,7 +148,7 @@ const Figure = styled.figure.withConfig({ displayName: "Figure", componentId: "s
|
|
|
148
148
|
|
|
149
149
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
150
150
|
`;
|
|
151
|
-
const Title = styled.figcaption
|
|
151
|
+
const Title = styled.figcaption `
|
|
152
152
|
position: relative;
|
|
153
153
|
padding-right: 32px;
|
|
154
154
|
color: var(--color-grey-2);
|
|
@@ -159,7 +159,7 @@ const Title = styled.figcaption.withConfig({ displayName: "Title", componentId:
|
|
|
159
159
|
letter-spacing: -0.252px;
|
|
160
160
|
user-select: none;
|
|
161
161
|
`;
|
|
162
|
-
const Content = styled.figcaption
|
|
162
|
+
const Content = styled.figcaption `
|
|
163
163
|
font-size: 14px;
|
|
164
164
|
font-family: var(--font-inter);
|
|
165
165
|
font-weight: 400;
|
|
@@ -172,7 +172,7 @@ const Content = styled.figcaption.withConfig({ displayName: "Content", component
|
|
|
172
172
|
-webkit-line-clamp: 1;
|
|
173
173
|
-webkit-box-orient: vertical;
|
|
174
174
|
`;
|
|
175
|
-
const EditTitle = styled.input
|
|
175
|
+
const EditTitle = styled.input `
|
|
176
176
|
width: calc(100% - 24px);
|
|
177
177
|
padding: 12px;
|
|
178
178
|
background-color: var(--color-white);
|
|
@@ -185,7 +185,7 @@ const EditTitle = styled.input.withConfig({ displayName: "EditTitle", componentI
|
|
|
185
185
|
border-radius: 8px;
|
|
186
186
|
outline: none;
|
|
187
187
|
`;
|
|
188
|
-
const EditContent = styled(EditTitle)
|
|
188
|
+
const EditContent = styled(EditTitle) `
|
|
189
189
|
padding: 6px 12px;
|
|
190
190
|
font-size: 14px;
|
|
191
191
|
font-family: var(--font-inter);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
4
|
+
import { styled } from 'styled-components';
|
|
5
5
|
import { Box } from '../../atoms/box/box.js';
|
|
6
6
|
import { H } from '../../atoms/typography/heading.js';
|
|
7
7
|
import { P } from '../../atoms/typography/paragraph.js';
|
|
@@ -80,7 +80,7 @@ const MeetingCard = ({ href, image, sx, title, actions, course, startDate, endDa
|
|
|
80
80
|
React__default.createElement(P, { as: "span", "$color": "grey-3", "$lineHeight": 20, "$fontSize": 14 }, location))),
|
|
81
81
|
React__default.createElement(Box, { "$display": "flex", "$dir": "row", "$gap": 8, sx: "margin-top: 32px; width: 100%;" }, React__default.Children.toArray(actions)))));
|
|
82
82
|
};
|
|
83
|
-
const Wrapper = styled.div
|
|
83
|
+
const Wrapper = styled.div `
|
|
84
84
|
min-width: 312px;
|
|
85
85
|
position: relative;
|
|
86
86
|
display: block;
|
|
@@ -112,18 +112,18 @@ const Wrapper = styled.div.withConfig({ displayName: "Wrapper", componentId: "sc
|
|
|
112
112
|
|
|
113
113
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
114
114
|
`;
|
|
115
|
-
const MeetingInformation = styled.div
|
|
115
|
+
const MeetingInformation = styled.div `
|
|
116
116
|
display: flex;
|
|
117
117
|
flex-direction: column;
|
|
118
118
|
gap: 16px;
|
|
119
119
|
margin-top: 16px;
|
|
120
120
|
height: 128px;
|
|
121
121
|
`;
|
|
122
|
-
const Figure = styled.figure
|
|
122
|
+
const Figure = styled.figure `
|
|
123
123
|
position: relative;
|
|
124
124
|
margin: 0;
|
|
125
125
|
`;
|
|
126
|
-
const OverlayBottomContainer = styled.div
|
|
126
|
+
const OverlayBottomContainer = styled.div `
|
|
127
127
|
position: absolute;
|
|
128
128
|
right: 0;
|
|
129
129
|
bottom: 0;
|
|
@@ -132,7 +132,7 @@ const OverlayBottomContainer = styled.div.withConfig({ displayName: "OverlayBott
|
|
|
132
132
|
display: flex;
|
|
133
133
|
gap: 8px;
|
|
134
134
|
`;
|
|
135
|
-
const OverlayTopContainer = styled.div
|
|
135
|
+
const OverlayTopContainer = styled.div `
|
|
136
136
|
position: absolute;
|
|
137
137
|
right: 0;
|
|
138
138
|
top: 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
4
|
+
import { styled } from 'styled-components';
|
|
5
5
|
import { Box } from '../../atoms/box/box.js';
|
|
6
6
|
import { Button } from '../../actions/button/button.js';
|
|
7
7
|
import { Dropdown } from '../../actions/dropdown/dropdown.js';
|
|
@@ -20,7 +20,7 @@ const PersonCard = ({ actions, dotsActions, href, image, subtitle, sx, title, })
|
|
|
20
20
|
React__default.createElement(P, { as: "span", "$color": "white", "$fontSize": 14, "$lineHeight": 20 }, subtitle),
|
|
21
21
|
actions && (React__default.createElement(Box, { "$display": "flex", "$dir": "row", "$gap": 8, sx: "margin-top: 16px;" }, React__default.Children.toArray(actions)))))));
|
|
22
22
|
};
|
|
23
|
-
const Wrapper = styled.div
|
|
23
|
+
const Wrapper = styled.div `
|
|
24
24
|
width: 312px;
|
|
25
25
|
height: 400px;
|
|
26
26
|
display: block;
|
|
@@ -37,7 +37,7 @@ const Wrapper = styled.div.withConfig({ displayName: "Wrapper", componentId: "sc
|
|
|
37
37
|
object-fit: cover;
|
|
38
38
|
}
|
|
39
39
|
`;
|
|
40
|
-
const Shadow = styled.div
|
|
40
|
+
const Shadow = styled.div `
|
|
41
41
|
border-radius: 16px;
|
|
42
42
|
position: absolute;
|
|
43
43
|
top: 0px;
|
|
@@ -48,7 +48,7 @@ const Shadow = styled.div.withConfig({ displayName: "Shadow", componentId: "sc-1
|
|
|
48
48
|
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 66.67%, #000 98.25%),
|
|
49
49
|
transparent 50% / cover no-repeat;
|
|
50
50
|
`;
|
|
51
|
-
const Person = styled.figure
|
|
51
|
+
const Person = styled.figure `
|
|
52
52
|
position: relative;
|
|
53
53
|
width: 100%;
|
|
54
54
|
height: 100%;
|
|
@@ -64,7 +64,7 @@ const Person = styled.figure.withConfig({ displayName: "Person", componentId: "s
|
|
|
64
64
|
|
|
65
65
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
66
66
|
`;
|
|
67
|
-
const Figcaption = styled.figcaption
|
|
67
|
+
const Figcaption = styled.figcaption `
|
|
68
68
|
position: relative;
|
|
69
69
|
width: 100%;
|
|
70
70
|
box-sizing: border-box;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
3
|
+
import { styled } from 'styled-components';
|
|
4
4
|
import { Box } from '../../atoms/box/box.js';
|
|
5
5
|
import { Button } from '../../actions/button/button.js';
|
|
6
6
|
import { H } from '../../atoms/typography/heading.js';
|
|
@@ -44,7 +44,7 @@ const PriceCard = ({ actions, content, dotsActions, featureTitle, features, labe
|
|
|
44
44
|
React__default.createElement(Checkmark, { color: "green-5", sx: "padding: 2px; border-radius: 50%; background-color: var(--color-green-9);" }),
|
|
45
45
|
React__default.createElement(P, { "$fontSize": 14, "$lineHeight": 20 }, item))))))));
|
|
46
46
|
};
|
|
47
|
-
const Price = styled.figure
|
|
47
|
+
const Price = styled.figure `
|
|
48
48
|
position: relative;
|
|
49
49
|
z-index: 1;
|
|
50
50
|
margin: 0px;
|
|
@@ -64,7 +64,7 @@ const Price = styled.figure.withConfig({ displayName: "Price", componentId: "sc-
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
`;
|
|
67
|
-
const Label = styled.div
|
|
67
|
+
const Label = styled.div `
|
|
68
68
|
max-width: calc(100% - 32px);
|
|
69
69
|
box-sizing: border-box;
|
|
70
70
|
padding: 8px 24px;
|
|
@@ -73,7 +73,7 @@ const Label = styled.div.withConfig({ displayName: "Label", componentId: "sc-io0
|
|
|
73
73
|
box-shadow: var(--elevation-2);
|
|
74
74
|
border-bottom: 1px solid var(--color-grey-9);
|
|
75
75
|
`;
|
|
76
|
-
const Divider = styled.div
|
|
76
|
+
const Divider = styled.div `
|
|
77
77
|
height: 1px;
|
|
78
78
|
width: 100%;
|
|
79
79
|
box-sizing: border-box;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
4
|
+
import { styled } from 'styled-components';
|
|
5
5
|
import { Box } from '../../atoms/box/box.js';
|
|
6
6
|
|
|
7
7
|
const RegularCard = ({ children, href, image, sx, }) => {
|
|
@@ -9,7 +9,7 @@ const RegularCard = ({ children, href, image, sx, }) => {
|
|
|
9
9
|
React__default.createElement(Image, { alt: "", height: 352, quality: 100, src: image, width: 352 }),
|
|
10
10
|
React__default.createElement(Box, { "$dir": "column", "$padding": 24 }, children)));
|
|
11
11
|
};
|
|
12
|
-
const Wrapper = styled.div
|
|
12
|
+
const Wrapper = styled.div `
|
|
13
13
|
position: relative;
|
|
14
14
|
display: block;
|
|
15
15
|
text-decoration: none;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import styled from 'styled-components';
|
|
2
|
+
import { styled } from 'styled-components';
|
|
3
3
|
import { Box } from '../atoms/box/box.js';
|
|
4
4
|
|
|
5
|
-
const PurchaseTextWrapper = styled(Box)
|
|
5
|
+
const PurchaseTextWrapper = styled(Box) `
|
|
6
6
|
position: absolute;
|
|
7
7
|
top: 16px;
|
|
8
8
|
left: 16px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
4
|
+
import { styled } from 'styled-components';
|
|
5
5
|
import { Box } from '../../atoms/box/box.js';
|
|
6
6
|
import { H } from '../../atoms/typography/heading.js';
|
|
7
7
|
import { P } from '../../atoms/typography/paragraph.js';
|
|
@@ -35,7 +35,7 @@ const VideoEpisodeCard = ({ actions, actionDropdown, content, cta, href, image,
|
|
|
35
35
|
")"),
|
|
36
36
|
React__default.createElement(Box, { "$align": "center", "$dir": "row", "$gap": 8 }, React__default.Children.toArray(actions)))))));
|
|
37
37
|
};
|
|
38
|
-
const Wrapper = styled.a
|
|
38
|
+
const Wrapper = styled.a `
|
|
39
39
|
cursor: pointer;
|
|
40
40
|
display: block;
|
|
41
41
|
position: relative;
|
|
@@ -102,7 +102,7 @@ const Wrapper = styled.a.withConfig({ displayName: "Wrapper", componentId: "sc-8
|
|
|
102
102
|
|
|
103
103
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
104
104
|
`;
|
|
105
|
-
const Figure = styled.figure
|
|
105
|
+
const Figure = styled.figure `
|
|
106
106
|
max-width: 410px;
|
|
107
107
|
width: max-content;
|
|
108
108
|
margin: 0px;
|
|
@@ -118,13 +118,13 @@ const Figure = styled.figure.withConfig({ displayName: "Figure", componentId: "s
|
|
|
118
118
|
border-radius: 16px;
|
|
119
119
|
}
|
|
120
120
|
`;
|
|
121
|
-
const Figcaption = styled.figcaption
|
|
121
|
+
const Figcaption = styled.figcaption `
|
|
122
122
|
display: flex;
|
|
123
123
|
flex-flow: column nowrap;
|
|
124
124
|
gap: 8px;
|
|
125
125
|
padding: 8px;
|
|
126
126
|
`;
|
|
127
|
-
const DropdownWrapper = styled.div
|
|
127
|
+
const DropdownWrapper = styled.div `
|
|
128
128
|
position: absolute;
|
|
129
129
|
top: 8px;
|
|
130
130
|
right: 8px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
4
|
+
import { styled } from 'styled-components';
|
|
5
5
|
import { Box } from '../../atoms/box/box.js';
|
|
6
6
|
import { H } from '../../atoms/typography/heading.js';
|
|
7
7
|
import { P } from '../../atoms/typography/paragraph.js';
|
|
@@ -35,7 +35,7 @@ const WrittenEpisodeCard = ({ actions, actionDropdown, content, cta, href, image
|
|
|
35
35
|
")"),
|
|
36
36
|
React__default.createElement(Box, { "$align": "center", "$dir": "row", "$gap": 8 }, React__default.Children.toArray(actions)))))));
|
|
37
37
|
};
|
|
38
|
-
const Wrapper = styled.a
|
|
38
|
+
const Wrapper = styled.a `
|
|
39
39
|
cursor: pointer;
|
|
40
40
|
display: block;
|
|
41
41
|
position: relative;
|
|
@@ -107,7 +107,7 @@ const Wrapper = styled.a.withConfig({ displayName: "Wrapper", componentId: "sc-a
|
|
|
107
107
|
|
|
108
108
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
109
109
|
`;
|
|
110
|
-
const Figure = styled.figure
|
|
110
|
+
const Figure = styled.figure `
|
|
111
111
|
margin: 0px;
|
|
112
112
|
border-radius: 16px;
|
|
113
113
|
|
|
@@ -121,13 +121,13 @@ const Figure = styled.figure.withConfig({ displayName: "Figure", componentId: "s
|
|
|
121
121
|
aspect-ratio: 149 / 213;
|
|
122
122
|
}
|
|
123
123
|
`;
|
|
124
|
-
const Figcaption = styled.figcaption
|
|
124
|
+
const Figcaption = styled.figcaption `
|
|
125
125
|
display: flex;
|
|
126
126
|
flex-flow: column nowrap;
|
|
127
127
|
gap: 8px;
|
|
128
128
|
padding: 8px;
|
|
129
129
|
`;
|
|
130
|
-
const DropdownWrapper = styled.div
|
|
130
|
+
const DropdownWrapper = styled.div `
|
|
131
131
|
position: absolute;
|
|
132
132
|
top: 8px;
|
|
133
133
|
right: 8px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
4
|
+
import { styled } from 'styled-components';
|
|
5
5
|
import { Button } from '../../actions/button/button.js';
|
|
6
6
|
import { P } from '../../atoms/typography/paragraph.js';
|
|
7
7
|
import { Box } from '../../atoms/box/box.js';
|
|
@@ -74,13 +74,13 @@ const CoursesSelection = ({ closeOnChange = true, closeOnBlur = true, disabled =
|
|
|
74
74
|
}) })));
|
|
75
75
|
})))));
|
|
76
76
|
};
|
|
77
|
-
const Wrapper = styled.div
|
|
77
|
+
const Wrapper = styled.div `
|
|
78
78
|
position: relative;
|
|
79
79
|
display: block;
|
|
80
80
|
outline: none;
|
|
81
81
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
82
82
|
`;
|
|
83
|
-
const Container = styled.div
|
|
83
|
+
const Container = styled.div `
|
|
84
84
|
min-width: 280px;
|
|
85
85
|
max-height: 600px;
|
|
86
86
|
display: flex;
|
|
@@ -99,7 +99,7 @@ const Container = styled.div.withConfig({ displayName: "Container", componentId:
|
|
|
99
99
|
|
|
100
100
|
${({ $offset }) => $offset ? `transform: translate(${$offset[0]}px, ${$offset[1]}px);` : ''}
|
|
101
101
|
`;
|
|
102
|
-
const OptionWrapper = styled.div
|
|
102
|
+
const OptionWrapper = styled.div `
|
|
103
103
|
position: relative;
|
|
104
104
|
padding: 12px 16px;
|
|
105
105
|
user-select: none;
|
|
@@ -126,7 +126,7 @@ const OptionWrapper = styled.div.withConfig({ displayName: "OptionWrapper", comp
|
|
|
126
126
|
`;
|
|
127
127
|
}}
|
|
128
128
|
`;
|
|
129
|
-
const IconWrapper = styled.div
|
|
129
|
+
const IconWrapper = styled.div `
|
|
130
130
|
padding: 12px;
|
|
131
131
|
border-radius: 8px;
|
|
132
132
|
background-color: ${({ $color }) => $color};
|