hds-web 1.32.0 → 1.32.2
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -5,6 +5,7 @@ import { Typography } from '../../../foundation/Typography'
|
|
5
5
|
import { HDSButton } from "../../Buttons";
|
6
6
|
import { Badges } from "../../BadgesCaption";
|
7
7
|
import { Icon } from "../../common-components";
|
8
|
+
import ReactMarkdown from "react-markdown";
|
8
9
|
|
9
10
|
|
10
11
|
export default function EventScheduleCard(props) {
|
@@ -94,8 +95,10 @@ export default function EventScheduleCard(props) {
|
|
94
95
|
{props.description &&
|
95
96
|
<Typography
|
96
97
|
textStyle='sub2'
|
97
|
-
className='text-neutral-700 pb-6'>
|
98
|
-
|
98
|
+
className='text-neutral-700 pb-6 [&>p]:pb-2 [&>p>img]:mt-4 [&>p>img]:max-w-[420px] [&>p>img]:w-full [&>p>img:nth-child(2)]:max-w-[140px] last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-1 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>p>a:hover]:text-blue-800 '>
|
99
|
+
<ReactMarkdown>
|
100
|
+
{props.description}
|
101
|
+
</ReactMarkdown>
|
99
102
|
</Typography>}
|
100
103
|
{props.speakers &&
|
101
104
|
<div className="pt-6 border-t border-neutral-200 gap-8 flex flex-wrap">
|
@@ -8,8 +8,9 @@ export default function V3Tab(props) {
|
|
8
8
|
tabs,
|
9
9
|
onTabClick,
|
10
10
|
pillColor,
|
11
|
+
initalTab=true
|
11
12
|
} = props;
|
12
|
-
const initialActiveTab = tabs.find(tab => tab.current)?.name || tabs[0].name;
|
13
|
+
const initialActiveTab = tabs.find((tab) => tab.current)?.name || (initalTab ? tabs[0].name : '');
|
13
14
|
const [activeTab, setActiveTab] = useState(initialActiveTab);
|
14
15
|
let pillColorClass = '';
|
15
16
|
if (pillColor) {
|
package/src/styles/tailwind.css
CHANGED
@@ -1945,6 +1945,10 @@ select{
|
|
1945
1945
|
width: 18px;
|
1946
1946
|
}
|
1947
1947
|
|
1948
|
+
.w-\[21px\]{
|
1949
|
+
width: 21px;
|
1950
|
+
}
|
1951
|
+
|
1948
1952
|
.w-\[22\.5rem\]{
|
1949
1953
|
width: 22.5rem;
|
1950
1954
|
}
|
@@ -2031,10 +2035,6 @@ select{
|
|
2031
2035
|
width: 100vw;
|
2032
2036
|
}
|
2033
2037
|
|
2034
|
-
.w-\[21px\]{
|
2035
|
-
width: 21px;
|
2036
|
-
}
|
2037
|
-
|
2038
2038
|
.min-w-\[11\.5rem\]{
|
2039
2039
|
min-width: 11.5rem;
|
2040
2040
|
}
|
@@ -12998,6 +12998,19 @@ select{
|
|
12998
12998
|
max-width: 420px;
|
12999
12999
|
}
|
13000
13000
|
|
13001
|
+
.\[\&\>p\>strong\]\:my-2>p>strong{
|
13002
|
+
margin-top: 0.5rem;
|
13003
|
+
margin-bottom: 0.5rem;
|
13004
|
+
}
|
13005
|
+
|
13006
|
+
.\[\&\>p\>strong\]\:mt-2>p>strong{
|
13007
|
+
margin-top: 0.5rem;
|
13008
|
+
}
|
13009
|
+
|
13010
|
+
.\[\&\>p\>strong\]\:pt-2>p>strong{
|
13011
|
+
padding-top: 0.5rem;
|
13012
|
+
}
|
13013
|
+
|
13001
13014
|
.\[\&\>p\]\:pb-1>p{
|
13002
13015
|
padding-bottom: 0.25rem;
|
13003
13016
|
}
|