@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 { ChevronLeft } from '../../../../icons/arrow/chevron_left.js';
|
|
5
5
|
import { ChevronRight } from '../../../../icons/arrow/chevron_right.js';
|
|
6
6
|
|
|
@@ -35,7 +35,7 @@ const CardCarousel = ({ children, onScrollEnd, scrollTriggerDistance = DEFAULT_S
|
|
|
35
35
|
React__default.createElement(Button, { className: "carousel-navigation", onClick: onNavigateRight, "$side": "right" },
|
|
36
36
|
React__default.createElement(ChevronRight, { color: "white", size: 48 }))));
|
|
37
37
|
};
|
|
38
|
-
const Wrapper = styled.div
|
|
38
|
+
const Wrapper = styled.div `
|
|
39
39
|
position: relative;
|
|
40
40
|
height: 288px;
|
|
41
41
|
|
|
@@ -45,7 +45,7 @@ const Wrapper = styled.div.withConfig({ displayName: "Wrapper", componentId: "sc
|
|
|
45
45
|
|
|
46
46
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
47
47
|
`;
|
|
48
|
-
const Inner = styled.div
|
|
48
|
+
const Inner = styled.div `
|
|
49
49
|
position: absolute;
|
|
50
50
|
width: 100%;
|
|
51
51
|
z-index: 0;
|
|
@@ -71,7 +71,7 @@ const Inner = styled.div.withConfig({ displayName: "Inner", componentId: "sc-1j1
|
|
|
71
71
|
height: 0px;
|
|
72
72
|
}
|
|
73
73
|
`;
|
|
74
|
-
const Button = styled.button
|
|
74
|
+
const Button = styled.button `
|
|
75
75
|
position: absolute;
|
|
76
76
|
z-index: 1;
|
|
77
77
|
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 Picker from '@emoji-mart/react';
|
|
5
5
|
import { Avatar } from '../../iconography/avatar/avatar.js';
|
|
6
6
|
import { Box } from '../../atoms/box/box.js';
|
|
@@ -109,7 +109,7 @@ const Comment = ({ avatarTooltipContent, avatarTooltipSx, content, createdDate,
|
|
|
109
109
|
toggleShowCommentInput && (React__default.createElement(CommentWrapper, { onSubmit: handleCommentSubmit },
|
|
110
110
|
React__default.createElement(TextInput, { bg: "var(--color-grey-10)", placeholder: "Write a reply", onChange: handleCommentChange, value: comment }))))));
|
|
111
111
|
};
|
|
112
|
-
const Wrapper = styled.div
|
|
112
|
+
const Wrapper = styled.div `
|
|
113
113
|
max-width: 700px;
|
|
114
114
|
display: flex;
|
|
115
115
|
flex-direction: row;
|
|
@@ -118,7 +118,7 @@ const Wrapper = styled.div.withConfig({ displayName: "Wrapper", componentId: "sc
|
|
|
118
118
|
justify-content: space-between;
|
|
119
119
|
position: relative;
|
|
120
120
|
`;
|
|
121
|
-
const ContentWrapper = styled.div
|
|
121
|
+
const ContentWrapper = styled.div `
|
|
122
122
|
display: flex;
|
|
123
123
|
flex-direction: column;
|
|
124
124
|
${({ $hasReplies }) => $hasReplies
|
|
@@ -135,7 +135,7 @@ const ContentWrapper = styled.div.withConfig({ displayName: "ContentWrapper", co
|
|
|
135
135
|
}`
|
|
136
136
|
: ''}
|
|
137
137
|
`;
|
|
138
|
-
const CommentBox = styled.div
|
|
138
|
+
const CommentBox = styled.div `
|
|
139
139
|
padding: 16px;
|
|
140
140
|
display: flex;
|
|
141
141
|
flex-direction: column;
|
|
@@ -143,7 +143,7 @@ const CommentBox = styled.div.withConfig({ displayName: "CommentBox", componentI
|
|
|
143
143
|
background-color: var(--color-grey-10);
|
|
144
144
|
border-radius: 16px;
|
|
145
145
|
`;
|
|
146
|
-
const PickerWrapper = styled.div
|
|
146
|
+
const PickerWrapper = styled.div `
|
|
147
147
|
position: absolute;
|
|
148
148
|
z-index: 1000;
|
|
149
149
|
|
|
@@ -151,7 +151,7 @@ const PickerWrapper = styled.div.withConfig({ displayName: "PickerWrapper", comp
|
|
|
151
151
|
top: ${({ $top }) => $top}px;
|
|
152
152
|
left: ${({ $left }) => $left}px;
|
|
153
153
|
`;
|
|
154
|
-
const Reaction = styled.div
|
|
154
|
+
const Reaction = styled.div `
|
|
155
155
|
${Styles.flex}
|
|
156
156
|
display: flex;
|
|
157
157
|
padding: 2px 6px;
|
|
@@ -164,10 +164,10 @@ const Reaction = styled.div.withConfig({ displayName: "Reaction", componentId: "
|
|
|
164
164
|
`
|
|
165
165
|
: ''}
|
|
166
166
|
`;
|
|
167
|
-
const RepliesWrapper = styled.div
|
|
167
|
+
const RepliesWrapper = styled.div `
|
|
168
168
|
padding-top: 12px;
|
|
169
169
|
`;
|
|
170
|
-
const ReplyWrapper = styled.div
|
|
170
|
+
const ReplyWrapper = styled.div `
|
|
171
171
|
position: relative;
|
|
172
172
|
${({ $hasLine }) => $hasLine
|
|
173
173
|
? `
|
|
@@ -180,7 +180,7 @@ const ReplyWrapper = styled.div.withConfig({ displayName: "ReplyWrapper", compon
|
|
|
180
180
|
}`
|
|
181
181
|
: ''}
|
|
182
182
|
`;
|
|
183
|
-
const ReplyIndicator = styled.div
|
|
183
|
+
const ReplyIndicator = styled.div `
|
|
184
184
|
position: absolute;
|
|
185
185
|
top: -12px;
|
|
186
186
|
left: -28px;
|
|
@@ -191,7 +191,7 @@ const ReplyIndicator = styled.div.withConfig({ displayName: "ReplyIndicator", co
|
|
|
191
191
|
border-top: none;
|
|
192
192
|
border-right: none;
|
|
193
193
|
`;
|
|
194
|
-
const CommentWrapper = styled.form
|
|
194
|
+
const CommentWrapper = styled.form `
|
|
195
195
|
label {
|
|
196
196
|
margin-bottom: 16px;
|
|
197
197
|
}
|
|
@@ -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 { callAll } from '../../../utils/function.js';
|
|
5
5
|
|
|
6
6
|
const DrawerContext = React__default.createContext([false, (() => undefined)]);
|
|
@@ -37,7 +37,7 @@ const Drawer = ({ children, controlledOpen, onOpenChange, }) => {
|
|
|
37
37
|
React__default.createElement(ContentWrapper, null, content),
|
|
38
38
|
footer && React__default.createElement(FooterWrapper, null, footer))));
|
|
39
39
|
};
|
|
40
|
-
const Background = styled.div
|
|
40
|
+
const Background = styled.div `
|
|
41
41
|
position: fixed;
|
|
42
42
|
height: 100vh;
|
|
43
43
|
width: 100vw;
|
|
@@ -50,7 +50,7 @@ const Background = styled.div.withConfig({ displayName: "Background", componentI
|
|
|
50
50
|
opacity: 0.5;
|
|
51
51
|
cursor: pointer;
|
|
52
52
|
`;
|
|
53
|
-
const Component = styled.div
|
|
53
|
+
const Component = styled.div `
|
|
54
54
|
position: fixed;
|
|
55
55
|
top: 0;
|
|
56
56
|
right: 0;
|
|
@@ -68,7 +68,7 @@ const Component = styled.div.withConfig({ displayName: "Component", componentId:
|
|
|
68
68
|
|
|
69
69
|
${({ $open }) => ($open ? 'margin-right: 0px;' : '')}
|
|
70
70
|
`;
|
|
71
|
-
const HeaderWrapper = styled.div
|
|
71
|
+
const HeaderWrapper = styled.div `
|
|
72
72
|
background-color: var(--color-white);
|
|
73
73
|
box-shadow: var(--elevation-2);
|
|
74
74
|
filter: drop-shadow(var(--elevation-2));
|
|
@@ -77,7 +77,7 @@ const HeaderWrapper = styled.div.withConfig({ displayName: "HeaderWrapper", comp
|
|
|
77
77
|
top: 0;
|
|
78
78
|
border-radius: 16px 0px 0px 0px;
|
|
79
79
|
`;
|
|
80
|
-
const ContentWrapper = styled.div
|
|
80
|
+
const ContentWrapper = styled.div `
|
|
81
81
|
height: calc(100vh - 224px);
|
|
82
82
|
position: relative;
|
|
83
83
|
display: flex;
|
|
@@ -104,7 +104,7 @@ const ContentWrapper = styled.div.withConfig({ displayName: "ContentWrapper", co
|
|
|
104
104
|
opacity: 30%;
|
|
105
105
|
}
|
|
106
106
|
`;
|
|
107
|
-
const FooterWrapper = styled.div
|
|
107
|
+
const FooterWrapper = styled.div `
|
|
108
108
|
background-color: var(--color-white);
|
|
109
109
|
box-shadow: var(--elevation-1);
|
|
110
110
|
position: -webkit-sticky;
|
|
@@ -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 { Avatar } from '../../iconography/avatar/avatar.js';
|
|
5
5
|
import { Box } from '../../atoms/box/box.js';
|
|
6
6
|
import { P } from '../../atoms/typography/paragraph.js';
|
|
@@ -24,7 +24,7 @@ const Message = ({ messages, userId }) => {
|
|
|
24
24
|
React__default.createElement(Wrapper, { "$isSelf": isSelf }, content)));
|
|
25
25
|
})));
|
|
26
26
|
};
|
|
27
|
-
const Wrapper = styled.div
|
|
27
|
+
const Wrapper = styled.div `
|
|
28
28
|
max-width: 552px;
|
|
29
29
|
padding: 16px;
|
|
30
30
|
border-radius: 16px;
|
|
@@ -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 { Button } from '../../actions/button/button.js';
|
|
5
5
|
import { Close } from '../../../icons/basic/close.js';
|
|
6
6
|
import { callAll } from '../../../utils/function.js';
|
|
@@ -77,7 +77,7 @@ const ModalContent = ({ backgroundDark = true, children, footer, header, setClos
|
|
|
77
77
|
};
|
|
78
78
|
ModalContent.displayName = 'Modal.Content';
|
|
79
79
|
Modal.Content = ModalContent;
|
|
80
|
-
const Wrapper = styled.div
|
|
80
|
+
const Wrapper = styled.div `
|
|
81
81
|
${({ $open }) => $open
|
|
82
82
|
? `display: flex;
|
|
83
83
|
flex-direction: column;
|
|
@@ -98,7 +98,7 @@ const Wrapper = styled.div.withConfig({ displayName: "Wrapper", componentId: "sc
|
|
|
98
98
|
margin: 0px;
|
|
99
99
|
overflow: hidden;
|
|
100
100
|
`;
|
|
101
|
-
const Content = styled.div
|
|
101
|
+
const Content = styled.div `
|
|
102
102
|
position: absolute;
|
|
103
103
|
z-index: 101;
|
|
104
104
|
background-color: var(--color-white);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
4
|
import Link from 'next/link';
|
|
5
|
-
import styled from 'styled-components';
|
|
5
|
+
import { styled } from 'styled-components';
|
|
6
6
|
import { H } from '../../atoms/typography/heading.js';
|
|
7
7
|
import { P } from '../../atoms/typography/paragraph.js';
|
|
8
8
|
import '../../atoms/box/box.js';
|
|
@@ -122,7 +122,7 @@ const Post = ({ actions, author, authorActive, authorHref, authorImage, avatarTo
|
|
|
122
122
|
!!_actions.length && (React__default.createElement(ActionsWrapper, null, !isPaywalled && _actions)),
|
|
123
123
|
hasComments && !!_comments.length && (React__default.createElement(CommentWrapper, null, _comments))));
|
|
124
124
|
};
|
|
125
|
-
const Wrapper = styled.div
|
|
125
|
+
const Wrapper = styled.div `
|
|
126
126
|
position: relative;
|
|
127
127
|
max-width: 700px;
|
|
128
128
|
width: 100%;
|
|
@@ -135,14 +135,14 @@ const Wrapper = styled.div.withConfig({ displayName: "Wrapper", componentId: "sc
|
|
|
135
135
|
border-radius: 16px;
|
|
136
136
|
}
|
|
137
137
|
`;
|
|
138
|
-
const Header = styled.div
|
|
138
|
+
const Header = styled.div `
|
|
139
139
|
padding: 16px 24px;
|
|
140
140
|
display: flex;
|
|
141
141
|
justify-content: space-between;
|
|
142
142
|
align-items: flex-start;
|
|
143
143
|
border-bottom: 1px solid var(--color-grey-9);
|
|
144
144
|
`;
|
|
145
|
-
const ImagesWrapper = styled.div
|
|
145
|
+
const ImagesWrapper = styled.div `
|
|
146
146
|
position: relative;
|
|
147
147
|
display: flex;
|
|
148
148
|
gap: 8px;
|
|
@@ -188,13 +188,13 @@ const ImagesWrapper = styled.div.withConfig({ displayName: "ImagesWrapper", comp
|
|
|
188
188
|
clip-path: inset(0px 0px 0px 0px);`
|
|
189
189
|
: ''}
|
|
190
190
|
`;
|
|
191
|
-
const ImageWrapper = styled.div
|
|
191
|
+
const ImageWrapper = styled.div `
|
|
192
192
|
position: relative;
|
|
193
193
|
aspect-ratio: 700 / 427;
|
|
194
194
|
flex: 1;
|
|
195
195
|
min-width: min(227px, 80vw);
|
|
196
196
|
`;
|
|
197
|
-
const PaywallWrapper = styled.div
|
|
197
|
+
const PaywallWrapper = styled.div `
|
|
198
198
|
position: absolute;
|
|
199
199
|
display: flex;
|
|
200
200
|
flex-direction: column;
|
|
@@ -203,19 +203,19 @@ const PaywallWrapper = styled.div.withConfig({ displayName: "PaywallWrapper", co
|
|
|
203
203
|
top: 310px;
|
|
204
204
|
left: 242px;
|
|
205
205
|
`;
|
|
206
|
-
const ActionsWrapper = styled.div
|
|
206
|
+
const ActionsWrapper = styled.div `
|
|
207
207
|
display: flex;
|
|
208
208
|
justify-content: space-around;
|
|
209
209
|
align-items: center;
|
|
210
210
|
padding: 24px;
|
|
211
211
|
`;
|
|
212
|
-
const CommentWrapper = styled.div
|
|
212
|
+
const CommentWrapper = styled.div `
|
|
213
213
|
padding: 24px;
|
|
214
214
|
display: flex;
|
|
215
215
|
flex-flow: column nowrap;
|
|
216
216
|
gap: 24px;
|
|
217
217
|
`;
|
|
218
|
-
const NavArrow = styled.button
|
|
218
|
+
const NavArrow = styled.button `
|
|
219
219
|
width: 48px;
|
|
220
220
|
height: 150px;
|
|
221
221
|
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
|
|
|
6
6
|
const Table = ({ border = true, children, compact, footer, header, separated, striped, sx, padding = 32, }) => {
|
|
@@ -10,7 +10,7 @@ const Table = ({ border = true, children, compact, footer, header, separated, st
|
|
|
10
10
|
React__default.createElement(TableElement, { "$compact": compact, "$separated": separated, "$striped": striped, "$sx": sx }, children)),
|
|
11
11
|
!!footer && footer));
|
|
12
12
|
};
|
|
13
|
-
const TableElement = styled.table
|
|
13
|
+
const TableElement = styled.table `
|
|
14
14
|
width: 100%;
|
|
15
15
|
border-collapse: collapse;
|
|
16
16
|
border-spacing: 0;
|
|
@@ -38,7 +38,7 @@ const TableElement = styled.table.withConfig({ displayName: "TableElement", comp
|
|
|
38
38
|
const Head = ({ children, ...rest }) => {
|
|
39
39
|
return React__default.createElement(HeadElement, { ...rest }, children);
|
|
40
40
|
};
|
|
41
|
-
const HeadElement = styled.thead
|
|
41
|
+
const HeadElement = styled.thead `
|
|
42
42
|
tr {
|
|
43
43
|
background-color: var(--color-grey-10);
|
|
44
44
|
border-top-left-radius: 8px;
|
|
@@ -61,7 +61,7 @@ Table.Head = Head;
|
|
|
61
61
|
const Body = ({ children, ...rest }) => {
|
|
62
62
|
return React__default.createElement(BodyElement, { ...rest }, children);
|
|
63
63
|
};
|
|
64
|
-
const BodyElement = styled.tbody
|
|
64
|
+
const BodyElement = styled.tbody `
|
|
65
65
|
& > tr:last-of-type {
|
|
66
66
|
& > *:first-child {
|
|
67
67
|
border-bottom-left-radius: 8px;
|
|
@@ -100,7 +100,7 @@ const Row = ({ children, disabled, href, hoverable = false, onClick, selected, s
|
|
|
100
100
|
: undefined;
|
|
101
101
|
return (React__default.createElement(RowElement, { onClick: handleClick, "$disabled": disabled, "$hoverable": hoverable, "$isAnchor": !!href, "$selected": selected, "$sx": sx, ...rest }, children));
|
|
102
102
|
};
|
|
103
|
-
const RowElement = styled.tr
|
|
103
|
+
const RowElement = styled.tr `
|
|
104
104
|
display: table-row;
|
|
105
105
|
|
|
106
106
|
${({ $disabled }) => $disabled
|
|
@@ -145,7 +145,7 @@ const Cell = ({ children, lines, padding = '16px 24px', sx, textAlign = 'left',
|
|
|
145
145
|
return (React__default.createElement(CellElement, { "$clamp": lines, "$padding": padding, "$sx": sx, "$textAlign": textAlign, "$verticalAlign": verticalAlign, "$width": percentageWidth ? percentageWidth : 'fit-content' },
|
|
146
146
|
React__default.createElement("div", null, children)));
|
|
147
147
|
};
|
|
148
|
-
const CellElement = styled.td
|
|
148
|
+
const CellElement = styled.td `
|
|
149
149
|
width: ${({ $width }) => $width};
|
|
150
150
|
height: 20px;
|
|
151
151
|
font-family: var(--font-inter);
|
|
@@ -175,7 +175,7 @@ const HeaderCell = ({ children, lines, padding = '16px 24px', sx, textAlign = 'l
|
|
|
175
175
|
const percentageWidth = width ? width * (100 / 16) + '%' : undefined;
|
|
176
176
|
return (React__default.createElement(HeadCellElement, { as: "th", "$clamp": lines, "$padding": padding, "$sx": sx, "$textAlign": textAlign, "$verticalAlign": verticalAlign, "$width": percentageWidth ? percentageWidth : 'fit-content' }, children));
|
|
177
177
|
};
|
|
178
|
-
const HeadCellElement = styled(CellElement)
|
|
178
|
+
const HeadCellElement = styled(CellElement) `
|
|
179
179
|
font-size: 16px;
|
|
180
180
|
font-weight: 700;
|
|
181
181
|
line-height: 24px;
|