hds-web 1.9.3 → 1.9.4

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.9.3",
3
+ "version": "1.9.4",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -25,7 +25,7 @@ export default function Testimonial(props) {
25
25
  const Card1 = () => {
26
26
  return (
27
27
  <>
28
- <div className={`${HDSColor(card.cardBg)} bg-neutral-1000/40 rounded-2xl max-w-[220px] min-h-[441px] flex flex-col justify-between `}>
28
+ <div className={`${HDSColor(card.cardBg)} rounded-2xl max-w-[220px] h-[428px] flex flex-col justify-between `}>
29
29
  <div className="">
30
30
  <div className=" pt-8 pl-6">
31
31
  <img src="https://res.cloudinary.com/dh8fp23nd/image/upload/v1686737531/hasura-design-system/icons/optum_zn0bhw.png" alt="Card" className=" inline-block w-16 " />
@@ -53,7 +53,7 @@ export default function Testimonial(props) {
53
53
 
54
54
  const Card2 = () => {
55
55
  return (
56
- <div className="max-h-[441px]">
56
+ <div className="h-[428px]">
57
57
  <div className={`${HDSColor(cardHover.cardBg)} bg-blue-500 rounded-2xl max-w-[221px] justify-between h-[442px] flex flex-col`}>
58
58
  <div className=" ">
59
59
  <div className="pt-8 pl-6 pr-12 ">
@@ -1,31 +1,33 @@
1
- import React, { useState } from 'react';
1
+ import React from 'react';
2
2
  import { Testimonial } from '../Testimonials';
3
3
 
4
4
  export default function HomeVC(props) {
5
5
  return (
6
6
  <>
7
7
  <div className='carouselShadow'>
8
- <div className='w-[643.51px] h-[472.64px] bg-base-1000 rounded-2xl flex flex-col items-center justify-center border-2 border-neutral-300'>
9
- <div className='absolute'>
10
- <div>
11
- <video
12
- autoPlay
13
- loop
14
- className="object-contain max-w-full max-h-full px-1"
15
- src={props.video_url}
8
+ <div className='w-[620px] h-[476px] bg-base-1000 rounded-2xl border-2 border-neutral-300 flex justify-center items-center'>
9
+ <div className='w-[580px] h-[436px] bg-base-1000 rounded flex flex-col items-center justify-center overflow-hidden'>
10
+ <div className=''>
11
+ <div className=''>
12
+ <video
13
+ autoPlay
14
+ loop
15
+ muted
16
+ className=" object-fill max-w-full max-h-full scale-150"
17
+ src={props.video_url}
16
18
  />
17
- </div>
18
- <div className='fixed top-[15px] left-[415px] filter-[16px]'>
19
+ <div className='w-full fixed flex-col flex items-center'>
20
+ <div className='fixed mx-auto top-[451px] w-[147px] h-[3px] bg-neutral-0/20' />
21
+ </div>
22
+ </div>
23
+ <div className='fixed top-[8px] left-[365px] filter-[16px]'>
19
24
 
20
- <Testimonial {...props.testimonial}/>
25
+ <Testimonial {...props.testimonial} />
26
+ </div>
21
27
  </div>
22
28
  </div>
23
29
  </div>
24
- {/* <div className='relative mx-auto top-[442.72px] w-[151.7px] h-[3.1px] bg-neutral-0/20' /> */}
30
+
25
31
  </div>
26
32
  </>)
27
33
  }
28
-
29
- HomeVC.defaultProps= {
30
-
31
- }
@@ -131,8 +131,8 @@ const carouselItems2 = [
131
131
  const video_props =
132
132
  [
133
133
  {
134
- // video_url: 'https://nutrien-prod-asset.s3.us-east-2.amazonaws.com/s3fs-public/video-thumbnails/2019-05/Nutrien-Banner-Loop-V4.mp4',
135
- video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1654760488/samples/sea-turtle.mp4',
134
+ video_url: 'https://nutrien-prod-asset.s3.us-east-2.amazonaws.com/s3fs-public/video-thumbnails/2019-05/Nutrien-Banner-Loop-V4.mp4',
135
+ //video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1654760488/samples/sea-turtle.mp4',
136
136
 
137
137
  testimonial: {
138
138
  card: {
@@ -364,11 +364,11 @@ export default function HomePageCarousePrimary(props) {
364
364
  >
365
365
  <div className="w-screen flex justify-center">
366
366
  <div className="absolute z-30">
367
- <div className={`snap-x w-[643px] h-[800px] items-center bg-neutral-0 z-10 inline-flex select-none overflow-x-hidden scrollbar-hide`}
367
+ <div className={`snap-x w-[643px] h-[800px] items-center z-10 inline-flex select-none overflow-x-hidden scrollbar-hide`}
368
368
  ref={carouselRef}
369
369
  >
370
370
  {video_props.map((item, i) => (
371
- <div className=" db:snap-center snap-center tb-m:snap-start mx-5 " key={i } ref={refs[i]}>
371
+ <div className=" db:snap-center snap-center tb-m:snap-start mx-5 " key={i} ref={refs[i]}>
372
372
  <div className=" select-none rounded-3xl object-contain ">
373
373
  {React.createElement(VideoCard, item)}
374
374
  </div>
@@ -384,7 +384,7 @@ export default function HomePageCarousePrimary(props) {
384
384
  >
385
385
 
386
386
  {cards.map((item, i) => {
387
-
387
+
388
388
  // toggleBoolean();
389
389
  return (
390
390
  <>
@@ -434,3 +434,4 @@ export default function HomePageCarousePrimary(props) {
434
434
  );
435
435
  };
436
436
 
437
+
@@ -1013,6 +1013,18 @@ select{
1013
1013
  left: 415px;
1014
1014
  }
1015
1015
 
1016
+ .left-\[365px\]{
1017
+ left: 365px;
1018
+ }
1019
+
1020
+ .top-\[451px\]{
1021
+ top: 451px;
1022
+ }
1023
+
1024
+ .top-\[8px\]{
1025
+ top: 8px;
1026
+ }
1027
+
1016
1028
  .isolate{
1017
1029
  isolation: isolate;
1018
1030
  }
@@ -1598,6 +1610,22 @@ select{
1598
1610
  height: 4rem;
1599
1611
  }
1600
1612
 
1613
+ .h-\[3px\]{
1614
+ height: 3px;
1615
+ }
1616
+
1617
+ .h-\[436px\]{
1618
+ height: 436px;
1619
+ }
1620
+
1621
+ .h-\[476px\]{
1622
+ height: 476px;
1623
+ }
1624
+
1625
+ .h-\[428px\]{
1626
+ height: 428px;
1627
+ }
1628
+
1601
1629
  .max-h-\[26\.25\]{
1602
1630
  max-height: 26.25;
1603
1631
  }
@@ -1816,6 +1844,18 @@ select{
1816
1844
  width: 763px;
1817
1845
  }
1818
1846
 
1847
+ .w-\[147px\]{
1848
+ width: 147px;
1849
+ }
1850
+
1851
+ .w-\[580px\]{
1852
+ width: 580px;
1853
+ }
1854
+
1855
+ .w-\[620px\]{
1856
+ width: 620px;
1857
+ }
1858
+
1819
1859
  .min-w-\[11\.5rem\]{
1820
1860
  min-width: 11.5rem;
1821
1861
  }
@@ -2127,6 +2167,13 @@ select{
2127
2167
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2128
2168
  }
2129
2169
 
2170
+ .scale-150{
2171
+ --tw-scale-x: 1.5;
2172
+ --tw-scale-y: 1.5;
2173
+ -webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2174
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2175
+ }
2176
+
2130
2177
  .transform{
2131
2178
  -webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2132
2179
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -3701,6 +3748,18 @@ select{
3701
3748
  background-color: rgb(14 165 120 / 0.4);
3702
3749
  }
3703
3750
 
3751
+ .bg-neutral-1000\/50{
3752
+ background-color: rgb(0 6 21 / 0.5);
3753
+ }
3754
+
3755
+ .bg-neutral-1000\/30{
3756
+ background-color: rgb(0 6 21 / 0.3);
3757
+ }
3758
+
3759
+ .bg-neutral-1000\/60{
3760
+ background-color: rgb(0 6 21 / 0.6);
3761
+ }
3762
+
3704
3763
  .bg-opacity-30{
3705
3764
  --tw-bg-opacity: 0.3;
3706
3765
  }
@@ -6033,6 +6092,10 @@ select{
6033
6092
  object-fit: cover;
6034
6093
  }
6035
6094
 
6095
+ .object-fill{
6096
+ object-fit: fill;
6097
+ }
6098
+
6036
6099
  .p-0{
6037
6100
  padding: 0px;
6038
6101
  }