@mackin.com/styleguide 8.9.0 → 8.9.3
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/index.d.ts +2 -1
- package/index.js +4 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -731,7 +731,7 @@ interface SearchBoxProps {
|
|
|
731
731
|
/** This will be ignored if 'noForm' is true. */
|
|
732
732
|
onSubmit?: () => Promise<void>;
|
|
733
733
|
/** If true, the controls will not be wrapped in a Form component. In addition, 'onSubmit' will be ignored. */
|
|
734
|
-
noForm?:
|
|
734
|
+
noForm?: boolean;
|
|
735
735
|
}
|
|
736
736
|
declare const SearchBox: (props: SearchBoxProps) => JSX.Element;
|
|
737
737
|
|
|
@@ -944,6 +944,7 @@ declare const Td: (props: {
|
|
|
944
944
|
align?: Alignment;
|
|
945
945
|
style?: React.CSSProperties;
|
|
946
946
|
colSpan?: number;
|
|
947
|
+
className?: string;
|
|
947
948
|
}) => JSX.Element;
|
|
948
949
|
|
|
949
950
|
declare const TdCurrency: (props: {
|
package/index.js
CHANGED
|
@@ -3215,10 +3215,12 @@ const OmniLink = (props) => {
|
|
|
3215
3215
|
};
|
|
3216
3216
|
|
|
3217
3217
|
const roundPxPadding = '4px';
|
|
3218
|
+
//TB: needs to be 2rem padding for right caret
|
|
3219
|
+
//TB: the generated border is bad (border: 1pxsolidrgba(0, 0, 0, 0.125);)
|
|
3218
3220
|
const Picker = (props) => {
|
|
3219
3221
|
const selectProps = __rest(props
|
|
3220
3222
|
// if we put numbers in, we expect them out
|
|
3221
|
-
, ["value", "options", "onValueChange", "readOnly", "round", "controlAlign"]);
|
|
3223
|
+
, ["value", "options", "onValueChange", "readOnly", "round", "controlAlign", "wrapperClassName", "iconClassName"]);
|
|
3222
3224
|
// if we put numbers in, we expect them out
|
|
3223
3225
|
let isNumber = false;
|
|
3224
3226
|
if (props.options && props.options.length) {
|
|
@@ -4134,7 +4136,7 @@ const Td = (props) => {
|
|
|
4134
4136
|
vertical-align: middle;
|
|
4135
4137
|
text-align: ${(_a = props.align) !== null && _a !== void 0 ? _a : 'center'};
|
|
4136
4138
|
`;
|
|
4137
|
-
return (React__namespace.createElement("td", { colSpan: props.colSpan, style: props.style, className: css.cx('table__td', tdStyles) }, props.children));
|
|
4139
|
+
return (React__namespace.createElement("td", { colSpan: props.colSpan, style: props.style, className: css.cx('table__td', tdStyles, props.className) }, props.children));
|
|
4138
4140
|
};
|
|
4139
4141
|
|
|
4140
4142
|
const TdCurrency = (props) => {
|