hds-web 1.26.1 → 1.26.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.26.1",
3
+ "version": "1.26.3",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -9,9 +9,13 @@ export default function LiveStatus(props) {
9
9
  const bgColorClass = HDSColor(props.bgClass);
10
10
  const textColorClass = HDSColor(props.statusTextClass);
11
11
  const circleBgClass = HDSColor(props.statusCircleBgClass);
12
+ let blink = '';
13
+ if(props.blink){
14
+ blink = 'blinking'
15
+ }
12
16
  return (
13
- <div className={`${bgColorClass} px-3 py-2 rounded-full inline-flex items-center`}>
14
- <div className={`${circleBgClass} blinking mr-2 w-3 h-3 min-w-[12px] min-h-[12px] rounded-full`}></div>
17
+ <div className={`${bgColorClass} px-3 py-1 rounded-full inline-flex items-center shadow`}>
18
+ <div className={`${circleBgClass} ${blink} mr-1 w-3 h-3 min-w-[12px] min-h-[12px] rounded-full`}></div>
15
19
  <Typography textStyle="h6" as="h6" className={`${textColorClass} uppercase`}>{props.statusText}</Typography>
16
20
  </div>
17
21
  );
@@ -21,6 +25,6 @@ LiveStatus.defaultProps = {
21
25
  statusText: "Live Now",
22
26
  statusTextClass: "text-neutral-0",
23
27
  bgClass: "bg-neutral-700",
24
- statusCircleBgClass: "bg-green-400"
28
+ statusCircleBgClass: "bg-red-400"
25
29
 
26
30
  };
@@ -32,7 +32,7 @@ export default function V3Tab(props) {
32
32
  onClick={() => {
33
33
  handleTabClick(tab);
34
34
  }}
35
- className={`${activeTab === tab.name ? ' text-neutral-0 delay-300' : ' hover:bg-neutral-500/30 text-neutral-400'} relative px-3 py-1 whitespace-nowrap rounded-full hover:text-neutral-0`}
35
+ className={`${activeTab === tab.name ? ' text-neutral-0 transition-all duration-300' : ' hover:bg-neutral-500/30 text-neutral-400'} relative px-3 py-1 whitespace-nowrap rounded-full hover:text-neutral-0`}
36
36
  >
37
37
  {activeTab === tab.name && (
38
38
  <motion.div
@@ -7731,6 +7731,10 @@ select{
7731
7731
  transition-delay: 100ms;
7732
7732
  }
7733
7733
 
7734
+ .delay-200{
7735
+ transition-delay: 200ms;
7736
+ }
7737
+
7734
7738
  .duration-0{
7735
7739
  transition-duration: 0s;
7736
7740
  }
@@ -7763,6 +7767,10 @@ select{
7763
7767
  transition-duration: 350ms;
7764
7768
  }
7765
7769
 
7770
+ .duration-100{
7771
+ transition-duration: 100ms;
7772
+ }
7773
+
7766
7774
  .ease-in{
7767
7775
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
7768
7776
  }