paris 0.17.0 → 0.17.1
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
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "paris",
|
|
3
3
|
"author": "Sanil Chawla <sanil@slingshot.fm> (https://sanil.co)",
|
|
4
4
|
"description": "Paris is Slingshot's React design system. It's a collection of reusable components, design tokens, and guidelines that help us build consistent, accessible, and performant user interfaces.",
|
|
5
|
-
"version": "0.17.
|
|
5
|
+
"version": "0.17.1",
|
|
6
6
|
"homepage": "https://paris.slingshot.fm",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|
|
68
68
|
"@fortawesome/free-regular-svg-icons": "^6.4.2",
|
|
69
69
|
"@fortawesome/free-solid-svg-icons": "^6.4.2",
|
|
70
|
-
"@fortawesome/react-fontawesome": "^0.2.
|
|
70
|
+
"@fortawesome/react-fontawesome": "^0.2.2",
|
|
71
71
|
"@headlessui/react": "^2.2.4",
|
|
72
72
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
73
73
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
@@ -8,8 +8,6 @@ import {
|
|
|
8
8
|
Combobox as HCombobox, ComboboxInput, ComboboxOptions, ComboboxOption, Transition,
|
|
9
9
|
} from '@headlessui/react';
|
|
10
10
|
import { clsx } from 'clsx';
|
|
11
|
-
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
12
|
-
import { faClose } from '@fortawesome/free-solid-svg-icons';
|
|
13
11
|
import inputStyles from '../input/Input.module.scss';
|
|
14
12
|
import dropdownStyles from '../utility/Dropdown.module.scss';
|
|
15
13
|
import styles from '../select/Select.module.scss';
|
|
@@ -23,7 +21,7 @@ import { Field } from '../field';
|
|
|
23
21
|
import type { ButtonProps } from '../button';
|
|
24
22
|
import { Button } from '../button';
|
|
25
23
|
import { TextWhenString } from '../utility';
|
|
26
|
-
import { Check, Icon } from '../icon';
|
|
24
|
+
import { Check, Close, Icon } from '../icon';
|
|
27
25
|
|
|
28
26
|
export type Option<T extends Record<string, any> = Record<string, any>> = {
|
|
29
27
|
id: string,
|
|
@@ -264,7 +262,7 @@ export function Combobox<T extends Record<string, any> = Record<string, any>>({
|
|
|
264
262
|
<Button
|
|
265
263
|
size="xs"
|
|
266
264
|
shape="circle"
|
|
267
|
-
startEnhancer={<
|
|
265
|
+
startEnhancer={<Close size={10} />}
|
|
268
266
|
onClick={() => {
|
|
269
267
|
if (onChange) {
|
|
270
268
|
onChange(null);
|