@launchdarkly/toolbar 0.19.0-beta.1 → 0.21.0-beta.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/README.md +8 -8
- package/dist/index.d.ts +1 -0
- package/dist/js/index.js +750 -505
- package/dist/js/plugins/index.js +13 -1
- package/dist/plugins/EventInterceptionPlugin.d.ts +4 -1
- package/dist/tests/plugins/EventInterceptionPlugin.test.d.ts +1 -0
- package/dist/types/plugin.d.ts +5 -0
- package/dist/ui/Toolbar/LaunchDarklyToolbar.css.d.ts +4 -2
- package/dist/ui/Toolbar/TabContent/SettingsTab.css.d.ts +1 -0
- package/dist/ui/Toolbar/components/CircleLogo.d.ts +3 -2
- package/dist/ui/Toolbar/components/ExpandedToolbarContent.d.ts +3 -3
- package/dist/ui/Toolbar/components/icons/ChevronUpIcon.d.ts +5 -0
- package/dist/ui/Toolbar/components/icons/LaunchDarklyLogo.d.ts +5 -0
- package/dist/ui/Toolbar/components/icons/index.d.ts +1 -0
- package/dist/ui/Toolbar/constants/animations.d.ts +68 -26
- package/dist/ui/Toolbar/context/AnalyticsProvider.d.ts +9 -0
- package/dist/ui/Toolbar/context/DevServerProvider.d.ts +0 -4
- package/dist/ui/Toolbar/context/ToolbarUIProvider.d.ts +13 -0
- package/dist/ui/Toolbar/context/index.d.ts +2 -0
- package/dist/ui/Toolbar/hooks/index.d.ts +0 -1
- package/dist/ui/Toolbar/hooks/useToolbarAnimations.d.ts +6 -3
- package/dist/ui/Toolbar/hooks/useToolbarDrag.d.ts +2 -1
- package/dist/ui/Toolbar/hooks/useToolbarState.d.ts +5 -6
- package/dist/ui/Toolbar/types/toolbar.d.ts +1 -1
- package/dist/utils/analytics.d.ts +54 -0
- package/package.json +1 -1
- package/dist/static/font/Audimat3000-Regulier.var-subset.woff2 +0 -0
- package/dist/static/font/Inter.var-subset.woff2 +0 -0
- package/dist/ui/Toolbar/hooks/useKeyPressed.d.ts +0 -1
package/README.md
CHANGED
|
@@ -88,14 +88,14 @@ function App() {
|
|
|
88
88
|
|
|
89
89
|
## Props
|
|
90
90
|
|
|
91
|
-
| Prop | Type
|
|
92
|
-
| ------------------------- |
|
|
93
|
-
| `flagOverridePlugin` | `IFlagOverridePlugin`
|
|
94
|
-
| `eventInterceptionPlugin` | `IEventInterceptionPlugin`
|
|
95
|
-
| `devServerUrl` | `string` (optional)
|
|
96
|
-
| `position` | `"left" \| "right"`
|
|
97
|
-
| `projectKey` | `string` (optional)
|
|
98
|
-
| `pollIntervalInMs` | `number` (optional)
|
|
91
|
+
| Prop | Type | Default | Description |
|
|
92
|
+
| ------------------------- | -------------------------------------------------------------- | ---------------- | ------------------------------------------------------------------------- |
|
|
93
|
+
| `flagOverridePlugin` | `IFlagOverridePlugin` | `undefined` | Flag override plugin for SDK Mode. Enables flag overrides and testing |
|
|
94
|
+
| `eventInterceptionPlugin` | `IEventInterceptionPlugin` | `undefined` | Event interception plugin for SDK Mode. Enables Events tab functionality |
|
|
95
|
+
| `devServerUrl` | `string` (optional) | `undefined` | URL of your LaunchDarkly dev server. If provided, enables Dev Server Mode |
|
|
96
|
+
| `position` | `"bottom-left" \| "bottom-right" \| "top-left" \| "top-right"` | `"bottom-right"` | Corner position of the toolbar |
|
|
97
|
+
| `projectKey` | `string` (optional) | `undefined` | Optional project key for multi-project setups (Dev Server Mode only) |
|
|
98
|
+
| `pollIntervalInMs` | `number` (optional) | `5000` | Polling interval for dev server updates (Dev Server Mode only) |
|
|
99
99
|
|
|
100
100
|
## Configuration
|
|
101
101
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import './globals.css';
|
|
2
2
|
export { LaunchDarklyToolbar } from './ui/Toolbar/LaunchDarklyToolbar';
|
|
3
3
|
export type { LaunchDarklyToolbarProps } from './ui/Toolbar/LaunchDarklyToolbar';
|
|
4
|
+
export type { ToolbarPosition } from './ui/Toolbar/types/toolbar';
|
|
4
5
|
export type { IFlagOverridePlugin, IEventInterceptionPlugin } from './types/plugin';
|
|
5
6
|
export { FlagOverridePlugin, EventInterceptionPlugin } from './plugins';
|
|
6
7
|
export type { FlagOverridePluginConfig, EventInterceptionPluginConfig } from './plugins';
|