@transferwise/components 0.0.0-experimental-db52174 → 0.0.0-experimental-484d8e7
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 +2 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/main.css +4 -0
- package/build/styles/instructionsList/InstructionsList.css +4 -0
- package/build/styles/main.css +4 -0
- package/build/types/accordion/Accordion.d.ts +3 -7
- package/build/types/accordion/Accordion.d.ts.map +1 -1
- package/build/types/accordion/index.d.ts +1 -0
- package/build/types/accordion/index.d.ts.map +1 -1
- package/build/types/body/Body.d.ts +1 -1
- package/build/types/index.d.ts +2 -1
- package/build/types/index.d.ts.map +1 -1
- package/build/types/radioGroup/RadioGroup.d.ts +2 -1
- package/build/types/radioGroup/RadioGroup.d.ts.map +1 -1
- package/build/types/radioGroup/index.d.ts +1 -1
- package/build/types/radioGroup/index.d.ts.map +1 -1
- package/build/types/typeahead/Typeahead.d.ts +1 -1
- package/package.json +1 -1
- package/src/accordion/Accordion.tsx +6 -7
- package/src/accordion/index.ts +1 -0
- package/src/index.ts +2 -1
- package/src/instructionsList/InstructionsList.css +4 -0
- package/src/instructionsList/InstructionsList.less +5 -0
- package/src/instructionsList/InstructionsList.tsx +3 -3
- package/src/main.css +4 -0
- package/src/radioGroup/RadioGroup.tsx +6 -1
- package/src/radioGroup/index.ts +1 -1
package/build/index.js
CHANGED
|
@@ -7404,7 +7404,7 @@ const InstructionsList = ({
|
|
|
7404
7404
|
}) : /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
7405
7405
|
children: [dontsInstructions, dosInstructions]
|
|
7406
7406
|
});
|
|
7407
|
-
return /*#__PURE__*/jsxRuntime.jsx("
|
|
7407
|
+
return /*#__PURE__*/jsxRuntime.jsx("ul", {
|
|
7408
7408
|
className: "tw-instructions",
|
|
7409
7409
|
children: orderedInstructions
|
|
7410
7410
|
});
|
|
@@ -7414,7 +7414,7 @@ function Instruction({
|
|
|
7414
7414
|
type
|
|
7415
7415
|
}) {
|
|
7416
7416
|
const isInstructionNode = typeof item === 'object' && item !== null && 'content' in item && 'aria-label' in item;
|
|
7417
|
-
return /*#__PURE__*/jsxRuntime.jsxs("
|
|
7417
|
+
return /*#__PURE__*/jsxRuntime.jsxs("li", {
|
|
7418
7418
|
className: "instruction",
|
|
7419
7419
|
"aria-label": isInstructionNode ? item['aria-label'] : undefined,
|
|
7420
7420
|
children: [type === 'do' ? /*#__PURE__*/jsxRuntime.jsx(icons.CheckCircleFill, {
|