hds-web 1.15.7 → 1.15.8

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.15.7",
3
+ "version": "1.15.8",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -14,7 +14,7 @@ const ANIMATED_ARR_CLASSES = {
14
14
  'md': 'h-5 w-5 -mt-5',
15
15
  'lg': 'h-6 w-6 -mt-6'
16
16
  },
17
-
17
+
18
18
  }
19
19
 
20
20
  const Buttonclasses = {
@@ -23,7 +23,7 @@ const Buttonclasses = {
23
23
  'base': 'db:w-fit tb:w-fit w-full justify-center justify-center bg-blue-500 text-neutral-0',
24
24
  'hover': 'hover:bg-blue-700 hover:text-neutral-0 hover:shadow-md hover:shadow hover:transition-all hover:ease-out hover:duration-300',
25
25
  'focus': 'focus:bg-blue-600 focus:shadow-[0_0px_0px_4px_#DFE8FF] focus:text-neutral-0 focus:outline-none active:bg-blue-600 active:text-neutral-0 active:outline-none',
26
-
26
+
27
27
  },
28
28
  'disabled': 'bg-neutral-200 text-neutral-400',
29
29
  },
@@ -38,9 +38,7 @@ const Buttonclasses = {
38
38
  'secondary': {
39
39
  'default': {
40
40
  'base': 'db:w-fit tb:w-fit w-full justify-center border-2 border-blue-500 text-blue-500',
41
-
42
41
  'hover': 'hover:text-neutral-0 hover:bg-blue-700 hover:border-2 hover:border-blue-700 hover:shadow-md hover:shadow hover:transition-all hover:ease-out hover:duration-200 ',
43
-
44
42
  'focus': 'focus:bg-blue-200 focus:text-blue-500 focus:border-2 border-blue-500 focus:shadow-[0px_0px_0px_4px_#DFE8FF] focus:outline-none focus:text-blue-500',
45
43
  },
46
44
  'disabled': 'bg-neutral-200 text-neutral-400',
@@ -174,7 +172,7 @@ export default function Button(props) {
174
172
  <Icon variant={leftIconVariant} strokeColor={leftIconColor} />
175
173
  </div>
176
174
  )}
177
-
175
+
178
176
  {leftIconVariant && leftIconVariant !== 'none' && type=='iconOnly' && (
179
177
  <div className={``}>
180
178
  <Icon variant={leftIconVariant} height={`${ANIMATED_ARR_CLASSES['icon1'][`${size}`]} group-active:stroke-neutral-0 stroke-[1.5px] group-hover:transition-all group-hover:ease-in-out group-hover:duration-100 group-hover:stroke-neutral-0 group-focus:stroke-neutral-0`} strokeColor={leftIconColor} />
@@ -209,7 +207,7 @@ Button.propTypes = {
209
207
  leftIconVariant: PropTypes.string,
210
208
  rightIconVariant: PropTypes.string,
211
209
  animatedHoverStroke: PropTypes.string
212
-
210
+
213
211
 
214
212
  };
215
213
 
@@ -225,6 +223,7 @@ Button.defaultProps = {
225
223
  rightAnimatedArrow: 'true' ,
226
224
  rightAnimatedArrowColor: '#FFFFFF',
227
225
  animatedHoverStroke: 'group-hover:stroke-neutral-0',
226
+
228
227
  btnTextHoverClass: 'hover:text-neutral-0'
229
228
 
230
229
  };
@@ -3,7 +3,6 @@ import { useRef, useState, useEffect } from "react";
3
3
  import { Icon } from "../common-components/Icon";
4
4
  import { HDSButton } from "../Buttons";
5
5
  import { VideoCard } from '../Cards/VideoCard'
6
- import smoothscroll from 'smoothscroll-polyfill';
7
6
  const carouselItems = [
8
7
  [
9
8
  "https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687016995/optum_Card_17973d6328.png",
@@ -25,11 +24,7 @@ const SideCard = (item) => (
25
24
 
26
25
  export default function HomePageCarousePrimary(props) {
27
26
 
28
- useEffect(() => {
29
- smoothscroll.polyfill();
30
-
31
- }, []);
32
-
27
+
33
28
  //center carousel
34
29
  let arr =
35
30
  [
@@ -10002,10 +10002,6 @@ select{
10002
10002
  }
10003
10003
 
10004
10004
  @media (min-width: 400px){
10005
- .mb-m\:block{
10006
- display: block;
10007
- }
10008
-
10009
10005
  .mb-m\:flex{
10010
10006
  display: flex;
10011
10007
  }
@@ -10343,11 +10339,41 @@ select{
10343
10339
  border-right-color: rgb(236 237 240 / var(--tw-border-opacity));
10344
10340
  }
10345
10341
 
10342
+ .tb\:bg-amber-500{
10343
+ --tw-bg-opacity: 1;
10344
+ background-color: rgb(224 121 0 / var(--tw-bg-opacity));
10345
+ }
10346
+
10347
+ .tb\:bg-blue-500{
10348
+ --tw-bg-opacity: 1;
10349
+ background-color: rgb(57 112 253 / var(--tw-bg-opacity));
10350
+ }
10351
+
10352
+ .tb\:bg-cyan-500{
10353
+ --tw-bg-opacity: 1;
10354
+ background-color: rgb(14 150 178 / var(--tw-bg-opacity));
10355
+ }
10356
+
10357
+ .tb\:bg-green-500{
10358
+ --tw-bg-opacity: 1;
10359
+ background-color: rgb(14 165 120 / var(--tw-bg-opacity));
10360
+ }
10361
+
10346
10362
  .tb\:bg-neutral-150{
10347
10363
  --tw-bg-opacity: 1;
10348
10364
  background-color: rgb(236 237 240 / var(--tw-bg-opacity));
10349
10365
  }
10350
10366
 
10367
+ .tb\:bg-pink-500{
10368
+ --tw-bg-opacity: 1;
10369
+ background-color: rgb(225 58 124 / var(--tw-bg-opacity));
10370
+ }
10371
+
10372
+ .tb\:bg-purple-500{
10373
+ --tw-bg-opacity: 1;
10374
+ background-color: rgb(140 73 250 / var(--tw-bg-opacity));
10375
+ }
10376
+
10351
10377
  .tb\:p-0{
10352
10378
  padding: 0px;
10353
10379
  }
@@ -10706,6 +10732,11 @@ select{
10706
10732
  text-transform: uppercase;
10707
10733
  }
10708
10734
 
10735
+ .tb\:text-neutral-0{
10736
+ --tw-text-opacity: 1;
10737
+ color: rgb(255 255 255 / var(--tw-text-opacity));
10738
+ }
10739
+
10709
10740
  .tb\:shadow{
10710
10741
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
10711
10742
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);