@mailstep/design-system 0.6.72-beta.0 → 0.6.73-beta.1

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": "@mailstep/design-system",
3
- "version": "0.6.72-beta.0",
3
+ "version": "0.6.73-beta.1",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -9,5 +9,5 @@ export var StepItem = function (_a) {
9
9
  var title = _a.title, index = _a.index, disabled = _a.disabled, activeStep = _a.activeStep, completed = _a.completed, icon = _a.icon, _b = _a.hasStepNumbering, hasStepNumbering = _b === void 0 ? true : _b, total = _a.total, onClick = _a.onClick;
10
10
  var isActiveStep = index === activeStep;
11
11
  var isCompletedStep = isBoolean(completed) ? completed : index < activeStep;
12
- return (_jsxs(StepItemContainer, { onClick: !disabled && isCompletedStep ? onClick : undefined, isActiveStep: isActiveStep, isDisabled: disabled, total: total, children: [_jsx(Line, { isActiveStep: isActiveStep, isCompletedStep: isCompletedStep }), _jsxs(ContentWrapper, { children: [_jsx(StepCircle, { icon: isCompletedStep ? 'check' : icon, isCompleted: isCompletedStep, isActiveStep: isActiveStep, children: index + 1 }), _jsxs(x.div, { alignSelf: "center", children: [hasStepNumbering && (_jsx(x.span, { textTransform: "uppercase", children: _jsxs(H7, { color: "gray1", variant: "semiBold", mt: 0, mb: "4px", children: [_jsx(Trans, { id: "step", message: "Step" }), ": ", index + 1] }) })), _jsx(Paragraph2, { variant: "medium", children: title })] })] })] }));
12
+ return (_jsxs(StepItemContainer, { onClick: !disabled && isCompletedStep ? onClick : undefined, isActiveStep: isActiveStep, isDisabled: disabled, total: total, children: [_jsx(Line, { isActiveStep: isActiveStep, isCompletedStep: isCompletedStep }), _jsxs(ContentWrapper, { children: [_jsx(StepCircle, { icon: isCompletedStep ? 'check' : icon, isCompleted: isCompletedStep, isActiveStep: isActiveStep, children: index + 1 }), _jsxs(x.div, { alignSelf: "center", children: [hasStepNumbering && (_jsx(x.span, { textTransform: "uppercase", children: _jsxs(H7, { color: isCompletedStep ? 'red1' : 'gray1', variant: "semiBold", mt: 0, mb: "4px", children: [_jsx(Trans, { id: "step", message: "Step" }), ": ", index + 1] }) })), _jsx(Paragraph2, { variant: "medium", children: title })] })] })] }));
13
13
  };
@@ -99,6 +99,7 @@ import { faWebhook } from '@fortawesome/pro-solid-svg-icons/faWebhook';
99
99
  import { faTriangleExclamation as fadTriangleExclamation } from '@fortawesome/pro-duotone-svg-icons/faTriangleExclamation';
100
100
  import { faFacebookF } from '@fortawesome/free-brands-svg-icons/faFacebookF';
101
101
  import { faTwitter } from '@fortawesome/free-brands-svg-icons/faTwitter';
102
+ import { faYoutube } from '@fortawesome/free-brands-svg-icons/faYoutube';
102
103
  import { faLinkedinIn } from '@fortawesome/free-brands-svg-icons/faLinkedinIn';
103
104
  import { faInstagram } from '@fortawesome/free-brands-svg-icons/faInstagram';
104
105
  import { faBox } from '@fortawesome/pro-solid-svg-icons/faBox';
@@ -186,6 +187,7 @@ export var iconDictionary = {
186
187
  link: faLink,
187
188
  facebook: faFacebookF,
188
189
  twitter: faTwitter,
190
+ youtube: faYoutube,
189
191
  linkedin: faLinkedinIn,
190
192
  instagram: faInstagram,
191
193
  faceMeh: faFaceMeh,