@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.esm.js
CHANGED
|
@@ -5489,13 +5489,12 @@ const Stepper = ({
|
|
|
5489
5489
|
children: /*#__PURE__*/jsx("small", {
|
|
5490
5490
|
children: step.label
|
|
5491
5491
|
})
|
|
5492
|
-
}) : /*#__PURE__*/jsx(
|
|
5493
|
-
|
|
5494
|
-
className: "tw-stepper__step-label small",
|
|
5492
|
+
}) : /*#__PURE__*/jsx("span", {
|
|
5493
|
+
className: "tw-stepper__step-label",
|
|
5495
5494
|
children: step.label
|
|
5496
5495
|
});
|
|
5497
5496
|
return /*#__PURE__*/jsx("li", {
|
|
5498
|
-
className: classNames('hidden-xs', 'tw-stepper__step', active
|
|
5497
|
+
className: classNames('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'),
|
|
5499
5498
|
style: isRTL ? {
|
|
5500
5499
|
right: `${index * stepPercentage * 100}%`
|
|
5501
5500
|
} : {
|