@true-engineering/true-react-common-ui-kit 3.58.0 → 3.60.0
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/dist/components/IconButton/IconButton.styles.d.ts +1 -1
- package/dist/components/IconButton/constants.d.ts +1 -1
- package/dist/true-react-common-ui-kit.js +19 -17
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +19 -17
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +4 -3
- package/src/components/Checkbox/Checkbox.styles.ts +1 -0
- package/src/components/IconButton/IconButton.styles.ts +15 -13
- package/src/components/IconButton/constants.ts +1 -1
|
@@ -8195,7 +8195,7 @@
|
|
|
8195
8195
|
});
|
|
8196
8196
|
};
|
|
8197
8197
|
var ITEM_HORIZONTAL_PADDING = 16;
|
|
8198
|
-
var ICON_SIZE
|
|
8198
|
+
var ICON_SIZE = 20;
|
|
8199
8199
|
var ICON_GAP = 12;
|
|
8200
8200
|
var useStyles$V = createThemedStyles("ListItem", {
|
|
8201
8201
|
root: {
|
|
@@ -8225,11 +8225,11 @@
|
|
|
8225
8225
|
backgroundColor: colors.BORDER_LIGHT
|
|
8226
8226
|
},
|
|
8227
8227
|
withIconGap: {
|
|
8228
|
-
paddingLeft: ITEM_HORIZONTAL_PADDING + ICON_SIZE
|
|
8228
|
+
paddingLeft: ITEM_HORIZONTAL_PADDING + ICON_SIZE + ICON_GAP
|
|
8229
8229
|
},
|
|
8230
8230
|
icon: {
|
|
8231
|
-
width: ICON_SIZE
|
|
8232
|
-
height: ICON_SIZE
|
|
8231
|
+
width: ICON_SIZE,
|
|
8232
|
+
height: ICON_SIZE,
|
|
8233
8233
|
flexShrink: 0
|
|
8234
8234
|
},
|
|
8235
8235
|
content: {
|
|
@@ -9356,6 +9356,7 @@
|
|
|
9356
9356
|
});
|
|
9357
9357
|
var useStyles$N = createThemedStyles("Checkbox", {
|
|
9358
9358
|
root: {
|
|
9359
|
+
position: "relative",
|
|
9359
9360
|
cursor: "pointer",
|
|
9360
9361
|
display: "flex",
|
|
9361
9362
|
alignItems: "center",
|
|
@@ -14461,9 +14462,6 @@
|
|
|
14461
14462
|
}));
|
|
14462
14463
|
});
|
|
14463
14464
|
FileInput.displayName = "FileInput";
|
|
14464
|
-
var BUTTON_SIZE_S = 24;
|
|
14465
|
-
var BUTTON_SIZE_M = 32;
|
|
14466
|
-
var ICON_SIZE = 20;
|
|
14467
14465
|
var useStyles$A = createThemedStyles("IconButton", {
|
|
14468
14466
|
root: {
|
|
14469
14467
|
display: "flex",
|
|
@@ -14473,7 +14471,7 @@
|
|
|
14473
14471
|
outline: "none",
|
|
14474
14472
|
boxSizing: "border-box",
|
|
14475
14473
|
transition: animations.defaultTransition,
|
|
14476
|
-
transitionProperty: "background-color, color, border-color",
|
|
14474
|
+
transitionProperty: "background-color, color, border-color, opacity, visibility",
|
|
14477
14475
|
border: "none",
|
|
14478
14476
|
position: "relative",
|
|
14479
14477
|
boxShadow: "none",
|
|
@@ -14486,7 +14484,10 @@
|
|
|
14486
14484
|
},
|
|
14487
14485
|
"&:active": {
|
|
14488
14486
|
extend: "active"
|
|
14489
|
-
}
|
|
14487
|
+
},
|
|
14488
|
+
width: "var(--icon-button-size)",
|
|
14489
|
+
height: "var(--icon-button-size)",
|
|
14490
|
+
"--icon-button-icon-size": "20px"
|
|
14490
14491
|
},
|
|
14491
14492
|
"cancel-light": {},
|
|
14492
14493
|
cancel: {},
|
|
@@ -14505,8 +14506,8 @@
|
|
|
14505
14506
|
icon: {
|
|
14506
14507
|
display: "flex",
|
|
14507
14508
|
alignItems: "center",
|
|
14508
|
-
width:
|
|
14509
|
-
height:
|
|
14509
|
+
width: "var(--icon-button-icon-size)",
|
|
14510
|
+
height: "var(--icon-button-icon-size)"
|
|
14510
14511
|
},
|
|
14511
14512
|
loader: {
|
|
14512
14513
|
display: "none",
|
|
@@ -14514,16 +14515,17 @@
|
|
|
14514
14515
|
left: "50%",
|
|
14515
14516
|
top: "50%",
|
|
14516
14517
|
transform: "translate(-50%, -50%)",
|
|
14517
|
-
width:
|
|
14518
|
-
height:
|
|
14518
|
+
width: "var(--icon-button-icon-size)",
|
|
14519
|
+
height: "var(--icon-button-icon-size)"
|
|
14519
14520
|
},
|
|
14520
14521
|
s: {
|
|
14521
|
-
|
|
14522
|
-
height: BUTTON_SIZE_S
|
|
14522
|
+
"--icon-button-size": "24px"
|
|
14523
14523
|
},
|
|
14524
14524
|
m: {
|
|
14525
|
-
|
|
14526
|
-
|
|
14525
|
+
"--icon-button-size": "32px"
|
|
14526
|
+
},
|
|
14527
|
+
l: {
|
|
14528
|
+
"--icon-button-size": "40px"
|
|
14527
14529
|
}
|
|
14528
14530
|
});
|
|
14529
14531
|
function _define_property$K(obj, key, value) {
|