@launchdarkly/toolbar 0.22.2-beta.1 → 0.23.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.
@@ -386,7 +386,7 @@ class EventInterceptionPlugin {
386
386
  const onNewEvent = (event)=>{
387
387
  const isToolbarEvent = this.isToolbarEvent(event);
388
388
  if (isToolbarEvent) return;
389
- if (this.config.enableLogging) console.log("\uD83C\uDFAF Event intercepted:", {
389
+ if (this.config.enableLogging) console.log('🎯 Event intercepted:', {
390
390
  kind: event.kind,
391
391
  key: event.key,
392
392
  category: event.category,
@@ -152,7 +152,7 @@ export declare const DIMENSIONS: {
152
152
  readonly borderRadius: 12;
153
153
  };
154
154
  readonly scale: {
155
- readonly expanded: 1.02;
155
+ readonly expanded: 1;
156
156
  readonly collapsed: 1;
157
157
  };
158
158
  readonly slideDistance: 30;
@@ -1,6 +1,6 @@
1
1
  interface UseToolbarDragOptions {
2
2
  enabled: boolean;
3
- onDragEnd: (clientX: number, clientY: number) => void;
3
+ onDragEnd: (centerX: number, centerY: number) => void;
4
4
  elementRef: React.RefObject<HTMLDivElement | null>;
5
5
  }
6
6
  interface UseToolbarDragReturn {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@launchdarkly/toolbar",
3
- "version": "0.22.2-beta.1",
3
+ "version": "0.23.0-beta.1",
4
4
  "description": "A React component that provides a developer-friendly toolbar for interacting with LaunchDarkly during development",
5
5
  "keywords": [
6
6
  "launchdarkly",
@@ -47,9 +47,9 @@
47
47
  "not IE 11"
48
48
  ],
49
49
  "devDependencies": {
50
- "@rsbuild/core": "1.5.4",
51
- "@rsbuild/plugin-react": "^1.4.0",
52
- "@rslib/core": "0.13.0",
50
+ "@rsbuild/core": "^1.5.13",
51
+ "@rsbuild/plugin-react": "^1.4.1",
52
+ "@rslib/core": "^0.15.0",
53
53
  "@storybook/addon-docs": "^9.0.5",
54
54
  "@storybook/addon-essentials": "^9.0.0-alpha.12",
55
55
  "@storybook/addon-interactions": "^9.0.0-alpha.10",