@launchdarkly/toolbar 1.3.0 → 1.3.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.
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const selectContainer: string;
|
|
2
|
+
export declare const trigger: string;
|
|
3
|
+
export declare const disabled: string;
|
|
4
|
+
export declare const value: string;
|
|
5
|
+
export declare const placeholder: string;
|
|
6
|
+
export declare const icon: string;
|
|
7
|
+
export declare const iconOpen: string;
|
|
8
|
+
export declare const dropdown: string;
|
|
9
|
+
export declare const list: string;
|
|
10
|
+
export declare const option: string;
|
|
11
|
+
export declare const focused: string;
|
|
12
|
+
export declare const selected: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface SelectOption {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
value?: any;
|
|
6
|
+
}
|
|
7
|
+
export interface SelectProps {
|
|
8
|
+
selectedKey?: string | null;
|
|
9
|
+
onSelectionChange?: (key: string | null) => void;
|
|
10
|
+
'aria-label'?: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
'data-theme'?: 'dark' | 'light';
|
|
13
|
+
className?: string;
|
|
14
|
+
isDisabled?: boolean;
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
options: SelectOption[];
|
|
17
|
+
}
|
|
18
|
+
export declare function Select(props: SelectProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/index.cjs
CHANGED
package/dist/js/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": false,
|
|
3
3
|
"name": "@launchdarkly/toolbar",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.1",
|
|
5
5
|
"description": "A React component that provides a developer-friendly toolbar for interacting with LaunchDarkly during development",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"launchdarkly",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"@lezer/highlight": "^1.2.3",
|
|
58
58
|
"@react-aria/focus": "^3.21.2",
|
|
59
59
|
"@react-stately/flags": "^3.1.2",
|
|
60
|
-
"@rsbuild/core": "^1.6.
|
|
60
|
+
"@rsbuild/core": "^1.6.6",
|
|
61
61
|
"@rsbuild/plugin-react": "^1.4.2",
|
|
62
62
|
"@rslib/core": "^0.17.0",
|
|
63
63
|
"@storybook/addon-docs": "^10.0.7",
|
|
64
64
|
"@storybook/addon-essentials": "^9.0.0-alpha.12",
|
|
65
65
|
"@storybook/addon-interactions": "^9.0.0-alpha.10",
|
|
66
66
|
"@storybook/addon-links": "^10.0.7",
|
|
67
|
-
"@storybook/addon-onboarding": "^10.0.
|
|
67
|
+
"@storybook/addon-onboarding": "^10.0.7",
|
|
68
68
|
"@storybook/blocks": "^9.0.0-alpha.17",
|
|
69
69
|
"@storybook/react": "^10.0.7",
|
|
70
70
|
"@storybook/react-vite": "^9.0.5",
|
|
@@ -72,13 +72,13 @@
|
|
|
72
72
|
"@tanstack/react-virtual": "^3.13.12",
|
|
73
73
|
"@testing-library/jest-dom": "^6.9.1",
|
|
74
74
|
"@testing-library/react": "^16.3.0",
|
|
75
|
-
"@types/node": "^24.
|
|
75
|
+
"@types/node": "^24.10.1",
|
|
76
76
|
"@types/react": "19.2.4",
|
|
77
77
|
"@types/react-dom": "19.2.2",
|
|
78
78
|
"@vanilla-extract/css": "^1.17.4",
|
|
79
79
|
"@vanilla-extract/vite-plugin": "^5.1.1",
|
|
80
80
|
"@vanilla-extract/webpack-plugin": "^2.3.22",
|
|
81
|
-
"@vitest/coverage-v8": "4.0.
|
|
81
|
+
"@vitest/coverage-v8": "4.0.8",
|
|
82
82
|
"css-loader": "^7.1.2",
|
|
83
83
|
"jsdom": "^27.2.0",
|
|
84
84
|
"launchdarkly-js-client-sdk": "^3.9.0",
|