@spothero/ui 14.7.3 → 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,9 @@
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
+
1
7
  # 14.7.3 - 05/16/2022
2
8
 
3
9
  ## Miscellaneous Updates
package/CHANGELOG.tmp CHANGED
@@ -1,5 +1,6 @@
1
- # 14.7.3 - 05/16/2022
1
+ # 14.7.4 - 05/17/2022
2
2
 
3
3
  ## Miscellaneous Updates
4
- * [[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)
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>
5
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spothero/ui",
3
- "version": "14.7.3",
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",
@@ -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}