@luminati-io/uikit 6.3.106 → 6.3.107
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.
|
@@ -48007,7 +48007,7 @@ Dropdown.propTypes = {
|
|
|
48007
48007
|
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
|
48008
48008
|
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
|
48009
48009
|
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
|
48010
|
-
size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md', 'lg']),
|
|
48010
|
+
size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['xs', 'sm', 'md', 'lg']),
|
|
48011
48011
|
options: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any)),
|
|
48012
48012
|
multiselect: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
|
48013
48013
|
clearable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
|
@@ -48417,6 +48417,7 @@ var useStyles = function useStyles(_ref) {
|
|
|
48417
48417
|
isFocused = _ref2.isFocused,
|
|
48418
48418
|
selectProps = _ref2.selectProps;
|
|
48419
48419
|
var height = {
|
|
48420
|
+
xs: 28,
|
|
48420
48421
|
sm: 36,
|
|
48421
48422
|
md: 40,
|
|
48422
48423
|
lg: 48
|
|
@@ -48435,10 +48436,14 @@ var useStyles = function useStyles(_ref) {
|
|
|
48435
48436
|
borderColor = color.border_primary;
|
|
48436
48437
|
boxShadow = shadow.primary;
|
|
48437
48438
|
}
|
|
48438
|
-
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), labelSm), {}, {
|
|
48439
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, baseStyles), labelSm), {}, {
|
|
48439
48440
|
'&:hover': _objectSpread(_objectSpread({}, baseStyles['&:hover']), {}, {
|
|
48440
48441
|
borderColor: color.border_accent
|
|
48441
|
-
})
|
|
48442
|
+
})
|
|
48443
|
+
}, size == 'xs' ? {
|
|
48444
|
+
height: '28px',
|
|
48445
|
+
alignItems: 'flex-start'
|
|
48446
|
+
} : {}), {}, {
|
|
48442
48447
|
minHeight: (0,_util__WEBPACK_IMPORTED_MODULE_3__.px)(height[size] || height.sm),
|
|
48443
48448
|
padding: "".concat(_constants__WEBPACK_IMPORTED_MODULE_2__.INPUT_VERTICAL_PADDING, "px ") + "".concat(_constants__WEBPACK_IMPORTED_MODULE_2__.INPUT_HORIZONTAL_PADDING, "px"),
|
|
48444
48449
|
color: foreColor,
|
|
@@ -48451,7 +48456,10 @@ var useStyles = function useStyles(_ref) {
|
|
|
48451
48456
|
input: function input(baseStyles) {
|
|
48452
48457
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
|
48453
48458
|
color: color.text_tertiary
|
|
48454
|
-
}
|
|
48459
|
+
}, size == 'xs' ? {
|
|
48460
|
+
height: '18px',
|
|
48461
|
+
margin: 0
|
|
48462
|
+
} : {});
|
|
48455
48463
|
},
|
|
48456
48464
|
valueContainer: function valueContainer(baseStyles, state) {
|
|
48457
48465
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
|
@@ -48467,8 +48475,10 @@ var useStyles = function useStyles(_ref) {
|
|
|
48467
48475
|
indicatorsContainer: function indicatorsContainer(baseStyles) {
|
|
48468
48476
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
|
48469
48477
|
gap: spacing['03'],
|
|
48470
|
-
minHeight: spacing['06']
|
|
48471
|
-
}
|
|
48478
|
+
minHeight: size == 'xs' ? spacing['05'] : spacing['06']
|
|
48479
|
+
}, size == 'xs' ? {
|
|
48480
|
+
height: '18px'
|
|
48481
|
+
} : {});
|
|
48472
48482
|
},
|
|
48473
48483
|
menu: function menu(baseStyles) {
|
|
48474
48484
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|