@tap-payments/os-micro-frontend-shared 0.1.31-test.18 → 0.1.31-test.20
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.
|
@@ -4,7 +4,7 @@ import { SELECTION_COLORS } from '../../utils/index.js';
|
|
|
4
4
|
export const ChipStyled = styled(Box, {
|
|
5
5
|
shouldForwardProp: (prop) => !['textColor', 'bgColor', 'borderColor', 'disabled', 'padding', 'maxWidth', 'isSelected'].includes(prop),
|
|
6
6
|
})(({ theme, isSelected, textColor = theme.palette.text.primary, bgColor = '#EFF1F2', borderColor = '#EFF1F2', disabled = false, padding, maxWidth, }) => {
|
|
7
|
-
return Object.assign({ display: 'flex', alignItems: 'center', gap: '4px', height: '18px', padding:
|
|
7
|
+
return Object.assign({ display: 'flex', alignItems: 'center', gap: '4px', height: '18px', padding: padding || '0px 9.5px', borderRadius: '30px', border: `1px solid ${borderColor}`, backgroundColor: bgColor, color: textColor, cursor: disabled ? 'not-allowed' : 'pointer', opacity: disabled ? 0.5 : 1, whiteSpace: 'nowrap', fontSize: '11px', minWidth: '67px', maxWidth: maxWidth || 'none', width: 'fit-content', overflow: 'hidden', textOverflow: maxWidth ? 'ellipsis' : 'unset', boxSizing: 'border-box' }, (isSelected && { color: SELECTION_COLORS.primary, borderColor: SELECTION_COLORS.primary }));
|
|
8
8
|
});
|
|
9
9
|
export const Wrapper = styled(Box)(() => ({
|
|
10
10
|
display: 'flex',
|
|
@@ -187,7 +187,7 @@ export declare const chargeTableCellWidth: {
|
|
|
187
187
|
readonly card_number: {
|
|
188
188
|
readonly default: "120px";
|
|
189
189
|
readonly text: "120px";
|
|
190
|
-
readonly sheet: "
|
|
190
|
+
readonly sheet: "155px";
|
|
191
191
|
};
|
|
192
192
|
readonly auth_code: {
|
|
193
193
|
readonly default: "80px";
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tap-payments/os-micro-frontend-shared",
|
|
3
3
|
"description": "Shared components and utilities for Tap Payments micro frontends",
|
|
4
|
-
"version": "0.1.31-test.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.31-test.20",
|
|
5
|
+
"testVersion": 20,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|