@spothero/ui 14.7.2 → 14.7.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ # 14.7.4 - 05/17/2022
2
+
3
+ ## Miscellaneous Updates
4
+ * [[4adc1b1](https://github.com/spothero/fe-ui/commit/4adc1b1)] - `fix:` Icon inside select updated to match design file ([#291](https://github.com/spothero/fe-ui/pull/291)) (annaliarosed)
5
+ * `Co-authored-by:` Annalia Destefano <annalia.destefano@spothero.com>
6
+
7
+ # 14.7.3 - 05/16/2022
8
+
9
+ ## Miscellaneous Updates
10
+ * [[147d2d6](https://github.com/spothero/fe-ui/commit/147d2d6)] - `fix:` Adjusted z-index so popover should always be on top ([#292](https://github.com/spothero/fe-ui/pull/292)) (Nathan Caraker)
11
+
1
12
  # 14.7.2 - 05/16/2022
2
13
 
3
14
  ## Miscellaneous Updates
package/CHANGELOG.tmp CHANGED
@@ -1,7 +1,6 @@
1
- # 14.7.2 - 05/16/2022
1
+ # 14.7.4 - 05/17/2022
2
2
 
3
3
  ## Miscellaneous Updates
4
- * [[d967c18](https://github.com/spothero/fe-ui/commit/d967c18)] - `fix:` border color change on invalid and focused ([#290](https://github.com/spothero/fe-ui/pull/290)) (annaliarosed)
5
- * `fix:` Border color change on invalid and focused
6
- * `fix:` Fix font size of error message to match designCo-authored-by: Annalia Destefano <annalia.destefano@spothero.com>
4
+ * [[4adc1b1](https://github.com/spothero/fe-ui/commit/4adc1b1)] - `fix:` Icon inside select updated to match design file ([#291](https://github.com/spothero/fe-ui/pull/291)) (annaliarosed)
5
+ * `Co-authored-by:` Annalia Destefano <annalia.destefano@spothero.com>
7
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spothero/ui",
3
- "version": "14.7.2",
3
+ "version": "14.7.4",
4
4
  "description": "SpotHero's React component UI library.",
5
5
  "main": "v2/index-bundled.cjs.js",
6
6
  "module": "v2/index.js",
@@ -7,6 +7,7 @@ const popperStyles = ({variant}) => ({
7
7
  '--popper-arrow-shadow-color': t => t.colors.gray['100'],
8
8
  borderWidth: '1px',
9
9
  borderStyle: 'solid',
10
+ zIndex: 'layer10',
10
11
  });
11
12
 
12
13
  export default popperStyles;
@@ -2,7 +2,10 @@ import React, {forwardRef} from 'react';
2
2
  import cn from 'classnames';
3
3
  import PropTypes from 'prop-types';
4
4
  import {Select as ChakraSelect} from '@chakra-ui/react';
5
+ import IconChevronDown from '@spothero/icons/chevron-down';
6
+
5
7
  import FormControl from '../FormControl/FormControl';
8
+ import Icon from '../Icon/Icon';
6
9
 
7
10
  const Select = forwardRef(
8
11
  (
@@ -30,6 +33,8 @@ const Select = forwardRef(
30
33
  inputId={props.id}
31
34
  >
32
35
  <ChakraSelect
36
+ icon={<Icon as={IconChevronDown} />}
37
+ iconSize={12}
33
38
  fontWeight="regular"
34
39
  fontSize="sm"
35
40
  ref={ref}