@launchpad-ui/dropdown 0.6.109 → 0.6.110
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/dist/Dropdown.d.ts +1 -1
- package/dist/Dropdown.d.ts.map +1 -1
- package/dist/DropdownButton.d.ts +11 -12
- package/dist/DropdownButton.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/Dropdown.d.ts
CHANGED
@@ -11,7 +11,7 @@ type DropdownProps<T extends string | object | number> = PopoverProps & {
|
|
11
11
|
*
|
12
12
|
* https://launchpad.launchdarkly.com/?path=/docs/components-collections-menu--docs
|
13
13
|
*/
|
14
|
-
declare const Dropdown: <T extends string |
|
14
|
+
declare const Dropdown: <T extends string | object | number>(props: DropdownProps<T>) => import("react/jsx-runtime").JSX.Element;
|
15
15
|
export { Dropdown };
|
16
16
|
export type { DropdownProps };
|
17
17
|
//# sourceMappingURL=Dropdown.d.ts.map
|
package/dist/Dropdown.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../src/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAQ1D,KAAK,aAAa,GAAG;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,IAAI,YAAY,GAAG;IACvE,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1D,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,QAAQ,
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../src/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAQ1D,KAAK,aAAa,GAAG;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,IAAI,YAAY,GAAG;IACvE,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1D,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,QAAQ,GAAI,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,SAAS,aAAa,CAAC,CAAC,CAAC,4CAyG5E,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
package/dist/DropdownButton.d.ts
CHANGED
@@ -1,21 +1,20 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import type { ButtonProps } from '@launchpad-ui/button';
|
3
2
|
type DropdownButtonProps = ButtonProps & {
|
4
3
|
hideCaret?: boolean;
|
5
4
|
};
|
6
5
|
declare const DropdownButton: import("react").ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
7
|
-
isLoading?: boolean
|
8
|
-
loadingText?: string | JSX.Element
|
9
|
-
size?: "
|
10
|
-
kind?: "
|
11
|
-
fit?: boolean
|
12
|
-
disabled?: boolean
|
13
|
-
icon?: import("react").ReactElement<Omit<import("@launchpad-ui/icons").IconProps, "size"
|
14
|
-
renderIconFirst?: boolean
|
15
|
-
asChild?: boolean
|
16
|
-
'data-test-id'?: string
|
6
|
+
isLoading?: boolean;
|
7
|
+
loadingText?: string | JSX.Element;
|
8
|
+
size?: "tiny" | "small" | "medium" | "big";
|
9
|
+
kind?: "default" | "primary" | "destructive" | "minimal" | "link" | "close" | "primaryFlair" | "defaultFlair" | "minimalFlair";
|
10
|
+
fit?: boolean;
|
11
|
+
disabled?: boolean;
|
12
|
+
icon?: import("react").ReactElement<Omit<import("@launchpad-ui/icons").IconProps, "size">>;
|
13
|
+
renderIconFirst?: boolean;
|
14
|
+
asChild?: boolean;
|
15
|
+
'data-test-id'?: string;
|
17
16
|
} & {
|
18
|
-
hideCaret?: boolean
|
17
|
+
hideCaret?: boolean;
|
19
18
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
20
19
|
export { DropdownButton };
|
21
20
|
export type { DropdownButtonProps };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["../src/DropdownButton.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["../src/DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAMxD,KAAK,mBAAmB,GAAG,WAAW,GAAG;IACxC,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,cAAc;;2BAHhB,IAAK,OAAO;;;;;;;;;;gBAAH,OAAO;qDAWlB,CAAC;AAIH,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,YAAY,EAAE,mBAAmB,EAAE,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@launchpad-ui/dropdown",
|
3
|
-
"version": "0.6.
|
3
|
+
"version": "0.6.110",
|
4
4
|
"status": "beta",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -32,8 +32,8 @@
|
|
32
32
|
"dependencies": {
|
33
33
|
"@react-aria/utils": "3.24.1",
|
34
34
|
"classix": "2.1.17",
|
35
|
-
"@launchpad-ui/button": "~0.12.
|
36
|
-
"@launchpad-ui/icons": "~0.18.
|
35
|
+
"@launchpad-ui/button": "~0.12.18",
|
36
|
+
"@launchpad-ui/icons": "~0.18.5",
|
37
37
|
"@launchpad-ui/popover": "~0.11.23",
|
38
38
|
"@launchpad-ui/tokens": "~0.9.12"
|
39
39
|
},
|