hds-web 1.31.0 → 1.31.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.31.0",
3
+ "version": "1.31.2",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -76,7 +76,7 @@ export default function EventScheduleCard(props) {
76
76
  {props.title &&
77
77
  <Typography
78
78
  textStyle='h3'
79
- as='h3'
79
+ as='h1'
80
80
  className={HDSColor(props.titleTextColor) + ' pb-6'}>
81
81
  {props.title}
82
82
  </Typography>}
@@ -2,6 +2,7 @@ import React, { useState } from 'react';
2
2
  import { motion, AnimatePresence } from 'framer-motion';
3
3
  import { Typography } from '../../foundation/Typography';
4
4
  import { Icon } from '../../components';
5
+ import ReactMarkdown from "react-markdown";
5
6
  function DefaultAccordion(props) {
6
7
  const [open, setOpen] = useState(null);
7
8
 
@@ -61,7 +62,7 @@ function DefaultAccordion(props) {
61
62
  >
62
63
  <div className="flex items-center justify-between">
63
64
  <div className='flex items-center'>
64
-
65
+
65
66
  {item.title && <Typography textStyle='body1-medium' className='text-neutral-900'>
66
67
  {item.title}
67
68
  </Typography>}
@@ -80,8 +81,12 @@ function DefaultAccordion(props) {
80
81
  {item.content &&
81
82
  <Typography
82
83
  textStyle='body1'
83
- className='text-neutral-900 pl-4'>
84
- {item.content}
84
+ className='text-neutral-900 pl-4 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>p]:pb-2 last:[&>p]:pb-0 [&>ul>li>a]:text-blue-600'
85
+ >
86
+ <ReactMarkdown>
87
+
88
+ {item.content}
89
+ </ReactMarkdown>
85
90
  </Typography>}
86
91
  </motion.div>
87
92
  )}
@@ -12959,6 +12959,10 @@ select{
12959
12959
  padding-bottom: 1rem;
12960
12960
  }
12961
12961
 
12962
+ .\[\&\>p\]\:pb-3>p{
12963
+ padding-bottom: 0.75rem;
12964
+ }
12965
+
12962
12966
  .\[\&\>p\]\:text-neutral-600>p{
12963
12967
  --tw-text-opacity: 1;
12964
12968
  color: rgb(77 87 97 / var(--tw-text-opacity));
@@ -12980,6 +12984,16 @@ select{
12980
12984
  fill: #4D5761;
12981
12985
  }
12982
12986
 
12987
+ .\[\&\>ul\>li\>a\]\:text-blue-600>ul>li>a{
12988
+ --tw-text-opacity: 1;
12989
+ color: rgb(30 86 227 / var(--tw-text-opacity));
12990
+ }
12991
+
12992
+ .\[\&\>ul\>li\>a\]\:text-blue-500>ul>li>a{
12993
+ --tw-text-opacity: 1;
12994
+ color: rgb(57 112 253 / var(--tw-text-opacity));
12995
+ }
12996
+
12983
12997
  .\[\&\>ul\>li\]\:list-disc>ul>li{
12984
12998
  list-style-type: disc;
12985
12999
  }