@mackin.com/styleguide 8.9.3 → 8.9.4

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.
Files changed (2) hide show
  1. package/index.js +8 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3316,6 +3316,13 @@ const Picker = (props) => {
3316
3316
  }
3317
3317
  return React__namespace.createElement("option", { key: val, value: val }, label);
3318
3318
  })));
3319
+ let iconHeight;
3320
+ if (props.controlAlign) {
3321
+ iconHeight = `calc(100% - ${theme.controls.inputErrorMinHeight})`;
3322
+ }
3323
+ else {
3324
+ iconHeight = '100%';
3325
+ }
3319
3326
  return (React__namespace.createElement("span", { className: css.cx(css.css({
3320
3327
  label: 'PickerWrapper',
3321
3328
  position: 'relative',
@@ -3327,7 +3334,7 @@ const Picker = (props) => {
3327
3334
  !props.readOnly && (React__namespace.createElement(Icon, { id: "sortDesc", className: css.cx(css.css({
3328
3335
  position: 'absolute',
3329
3336
  right: `calc(${theme.controls.padding} + ${props.round ? roundPxPadding : '0px'})`,
3330
- height: '100%',
3337
+ height: iconHeight,
3331
3338
  pointerEvents: 'none',
3332
3339
  color: theme.colors.font
3333
3340
  }), props.iconClassName) }))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mackin.com/styleguide",
3
- "version": "8.9.3",
3
+ "version": "8.9.4",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",