@transferwise/components 0.0.0-experimental-fdcd4f0 → 0.0.0-experimental-d05391d
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/build/index.esm.js +3 -4
- package/build/index.esm.js.map +1 -1
- package/build/index.js +3 -4
- package/build/index.js.map +1 -1
- package/build/main.css +1 -1
- package/build/styles/main.css +1 -1
- package/build/styles/stepper/Stepper.css +1 -1
- package/build/types/stepper/Stepper.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/flowNavigation/__snapshots__/FlowNavigation.spec.js.snap +12 -12
- package/src/main.css +1 -1
- package/src/stepper/Stepper.css +1 -1
- package/src/stepper/Stepper.less +1 -9
- package/src/stepper/Stepper.spec.js +4 -4
- package/src/stepper/Stepper.tsx +2 -5
package/build/index.js
CHANGED
|
@@ -5522,13 +5522,12 @@ const Stepper = ({
|
|
|
5522
5522
|
children: /*#__PURE__*/jsxRuntime.jsx("small", {
|
|
5523
5523
|
children: step.label
|
|
5524
5524
|
})
|
|
5525
|
-
}) : /*#__PURE__*/jsxRuntime.jsx(
|
|
5526
|
-
|
|
5527
|
-
className: "tw-stepper__step-label small",
|
|
5525
|
+
}) : /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
5526
|
+
className: "tw-stepper__step-label",
|
|
5528
5527
|
children: step.label
|
|
5529
5528
|
});
|
|
5530
5529
|
return /*#__PURE__*/jsxRuntime.jsx("li", {
|
|
5531
|
-
className: classNames__default.default('hidden-xs', 'tw-stepper__step', active
|
|
5530
|
+
className: classNames__default.default('hidden-xs', 'tw-stepper__step', active ? 'np-text-body-default-bold tw-stepper__step--active' : 'np-text-body-default', clickable && 'tw-stepper__step--clickable', step.hoverLabel && 'tw-stepper__step--has-tooltip'),
|
|
5532
5531
|
style: isRTL ? {
|
|
5533
5532
|
right: `${index * stepPercentage * 100}%`
|
|
5534
5533
|
} : {
|