paris 0.13.5 → 0.13.6
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.13.
|
|
5
|
+
"version": "0.13.6",
|
|
6
6
|
"homepage": "https://paris.slingshot.fm",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import type { ComponentPropsWithoutRef, CSSProperties, ReactNode } from 'react';
|
|
4
4
|
import {
|
|
5
|
+
Fragment,
|
|
6
|
+
|
|
5
7
|
useMemo, useId, useState,
|
|
6
8
|
} from 'react';
|
|
7
9
|
import { Combobox as HCombobox, Transition } from '@headlessui/react';
|
|
@@ -282,6 +284,8 @@ export function Combobox<T extends Record<string, any> = Record<string, any>>({
|
|
|
282
284
|
)}
|
|
283
285
|
</div>
|
|
284
286
|
<Transition
|
|
287
|
+
as="div"
|
|
288
|
+
className={dropdownStyles.transitionContainer}
|
|
285
289
|
enter={dropdownStyles.transition}
|
|
286
290
|
enterFrom={dropdownStyles.enterFrom}
|
|
287
291
|
enterTo={dropdownStyles.enterTo}
|
|
@@ -64,7 +64,8 @@ Menu.Items = ({
|
|
|
64
64
|
className, children, position = 'left', ...props
|
|
65
65
|
}) => (
|
|
66
66
|
<Transition
|
|
67
|
-
as=
|
|
67
|
+
as="div"
|
|
68
|
+
className={dropdownStyles.transitionContainer}
|
|
68
69
|
enter={dropdownStyles.transition}
|
|
69
70
|
enterFrom={dropdownStyles.enterFrom}
|
|
70
71
|
enterTo={dropdownStyles.enterTo}
|
|
@@ -184,13 +184,13 @@ export const Select = forwardRef(function <T = Record<string, any>>({
|
|
|
184
184
|
</Listbox.Button>
|
|
185
185
|
<Transition
|
|
186
186
|
as="div"
|
|
187
|
+
className={dropdownStyles.transitionContainer}
|
|
187
188
|
enter={dropdownStyles.transition}
|
|
188
189
|
enterFrom={dropdownStyles.enterFrom}
|
|
189
190
|
enterTo={dropdownStyles.enterTo}
|
|
190
191
|
leave={dropdownStyles.transition}
|
|
191
192
|
leaveFrom={dropdownStyles.leaveFrom}
|
|
192
193
|
leaveTo={dropdownStyles.leaveTo}
|
|
193
|
-
className={styles.transitionContainer}
|
|
194
194
|
>
|
|
195
195
|
<Listbox.Options
|
|
196
196
|
className={clsx(
|