@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 +6 -0
- package/CHANGELOG.tmp +3 -2
- package/package.json +1 -1
- package/styles/v2/components/Select/Select.jsx +5 -0
- package/v2/index-bundled.cjs.js +3 -4
- package/v2/index-bundled.cjs.js.map +1 -1
- package/v2/index-bundled.esm.js +3 -4
- package/v2/index-bundled.esm.js.map +1 -1
- package/v2/index-unbundled.cjs.js +996 -344
- package/v2/index-unbundled.cjs.js.map +1 -1
- package/v2/index-unbundled.esm.js +996 -344
- package/v2/index-unbundled.esm.js.map +1 -1
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.
|
|
1
|
+
# 14.7.4 - 05/17/2022
|
|
2
2
|
|
|
3
3
|
## Miscellaneous Updates
|
|
4
|
-
* [[
|
|
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
|
@@ -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}
|