hds-web 1.27.2 → 1.27.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.27.2",
3
+ "version": "1.27.4",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { useState } from 'react';
3
+ import PropTypes from 'prop-types';
4
+ import { Icon } from '../common-components/Icon';
5
+ import { Typography } from '../../foundation/Typography'
6
+ import { HDSColor } from '../../foundation/ColorPalette';
7
+
8
+ export default function EyeBrowText(props) {
9
+ const ColorClass = HDSColor(props.eyebrowColorClass);
10
+ return (
11
+ <div>
12
+ <Typography textStyle="h6" className={`${ColorClass} uppercase `}>{props.eyebrow}</Typography>
13
+ </div>
14
+ );
15
+ }
16
+
17
+ EyeBrowText.defaultProps = {
18
+ statusText: "",
19
+ eyebrowColorClass: "text-blue-500",
20
+ };
@@ -1,3 +1,4 @@
1
1
  export {default as Badges} from './badges';
2
2
  export {default as Count} from './count';
3
3
  export {default as LiveStatus} from './livestatus';
4
+ export {default as EyeBrowText} from './eyebrow';
@@ -83,7 +83,7 @@ export default function Carousels ({ components, variants }) {
83
83
  <div
84
84
  className="hidden tb-l:grid relative h-full"
85
85
  >
86
- <motion.div className=" ">
86
+ <motion.div className="flex justify-center ">
87
87
  <AnimatePresence initial={false}>
88
88
  <motion.div
89
89
  key={LeftId}