@transferwise/components 0.0.0-experimental-db52174 → 0.0.0-experimental-5aa07c7
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 -4
- package/build/index.esm.js.map +1 -1
- package/build/index.js +2 -4
- 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/dateLookup/DateLookup.d.ts +0 -1
- package/build/types/dateLookup/DateLookup.d.ts.map +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/dateLookup/DateLookup.js +0 -2
- package/src/dateLookup/DateLookup.story.js +0 -3
- package/src/dateLookup/DateLookup.view.spec.js +0 -5
- 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
|
@@ -4272,7 +4272,6 @@ class DateLookup extends React.PureComponent {
|
|
|
4272
4272
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
4273
4273
|
// eslint-disable-line jsx-a11y/no-static-element-interactions
|
|
4274
4274
|
ref: this.element,
|
|
4275
|
-
id: this.props.id,
|
|
4276
4275
|
"aria-labelledby": ariaLabelledBy,
|
|
4277
4276
|
className: "input-group",
|
|
4278
4277
|
onKeyDown: this.handleKeyDown,
|
|
@@ -4297,7 +4296,6 @@ class DateLookup extends React.PureComponent {
|
|
|
4297
4296
|
}
|
|
4298
4297
|
}
|
|
4299
4298
|
DateLookup.propTypes = {
|
|
4300
|
-
id: PropTypes__default.default.string,
|
|
4301
4299
|
value: PropTypes__default.default.instanceOf(Date),
|
|
4302
4300
|
min: PropTypes__default.default.instanceOf(Date),
|
|
4303
4301
|
max: PropTypes__default.default.instanceOf(Date),
|
|
@@ -7404,7 +7402,7 @@ const InstructionsList = ({
|
|
|
7404
7402
|
}) : /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
7405
7403
|
children: [dontsInstructions, dosInstructions]
|
|
7406
7404
|
});
|
|
7407
|
-
return /*#__PURE__*/jsxRuntime.jsx("
|
|
7405
|
+
return /*#__PURE__*/jsxRuntime.jsx("ul", {
|
|
7408
7406
|
className: "tw-instructions",
|
|
7409
7407
|
children: orderedInstructions
|
|
7410
7408
|
});
|
|
@@ -7414,7 +7412,7 @@ function Instruction({
|
|
|
7414
7412
|
type
|
|
7415
7413
|
}) {
|
|
7416
7414
|
const isInstructionNode = typeof item === 'object' && item !== null && 'content' in item && 'aria-label' in item;
|
|
7417
|
-
return /*#__PURE__*/jsxRuntime.jsxs("
|
|
7415
|
+
return /*#__PURE__*/jsxRuntime.jsxs("li", {
|
|
7418
7416
|
className: "instruction",
|
|
7419
7417
|
"aria-label": isInstructionNode ? item['aria-label'] : undefined,
|
|
7420
7418
|
children: [type === 'do' ? /*#__PURE__*/jsxRuntime.jsx(icons.CheckCircleFill, {
|