@launchdarkly/toolbar 2.1.2 → 2.1.4

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.
@@ -1,5 +1,4 @@
1
1
  import { InitializationConfig } from '../types';
2
- import './globals.css';
3
2
  export type Cleanup = () => void;
4
3
  export declare function init(config: InitializationConfig): Cleanup;
5
4
  declare const LaunchDarklyToolbar: {
@@ -14,16 +14,11 @@ export declare const TOOLBAR_CLASS_PREFIX = "ldtb_";
14
14
  * Used to identify toolbar styles during runtime interception.
15
15
  */
16
16
  export declare const TOOLBAR_STYLE_MARKER = "/* LD_TOOLBAR_STYLES */";
17
- /**
18
- * CSS variable prefixes used by LaunchDarkly design systems.
19
- * Add new prefixes here as they are introduced.
20
- */
21
- export declare const LAUNCHPAD_TOKEN_PREFIXES: readonly ["--lp-"];
22
17
  /**
23
18
  * Checks if CSS content belongs to the toolbar based on known markers.
24
19
  * This is used for reliable style interception without false positives.
25
20
  *
26
21
  * @param content - CSS content to check
27
- * @returns true if the content is toolbar CSS
22
+ * @returns true if the content is toolbar CSS that should be moved to Shadow DOM
28
23
  */
29
24
  export declare function isToolbarStyleContent(content: string): boolean;
@@ -1,2 +1,2 @@
1
- export { TOOLBAR_CLASS_PREFIX, TOOLBAR_STYLE_MARKER, LAUNCHPAD_TOKEN_PREFIXES, isToolbarStyleContent, } from './constants';
1
+ export { TOOLBAR_CLASS_PREFIX, TOOLBAR_STYLE_MARKER, isToolbarStyleContent } from './constants';
2
2
  export { injectStylesIntoShadowRoot, createStyleInterceptor, cacheToolbarStyle, getCachedToolbarStyles, clearToolbarStyleCache, } from './shadowDomStyles';
package/dist/index.cjs CHANGED
@@ -553,7 +553,7 @@ async function lazyLoad(signal, url) {
553
553
  }
554
554
  }
555
555
  var package_namespaceObject = {
556
- rE: "2.1.2"
556
+ rE: "2.1.4"
557
557
  };
558
558
  function useLaunchDarklyToolbar(args) {
559
559
  const { toolbarBundleUrl, enabled, ...initConfig } = args;
package/dist/js/96.js CHANGED
@@ -50,7 +50,7 @@ async function lazyLoad(signal, url) {
50
50
  }
51
51
  }
52
52
  var package_namespaceObject = {
53
- rE: "2.1.2"
53
+ rE: "2.1.4"
54
54
  };
55
55
  function useLaunchDarklyToolbar(args) {
56
56
  const { toolbarBundleUrl, enabled, ...initConfig } = args;
package/dist/react.cjs CHANGED
@@ -79,7 +79,7 @@ async function lazyLoad(signal, url) {
79
79
  }
80
80
  }
81
81
  var package_namespaceObject = {
82
- rE: "2.1.2"
82
+ rE: "2.1.4"
83
83
  };
84
84
  function useLaunchDarklyToolbar(args) {
85
85
  const { toolbarBundleUrl, enabled, ...initConfig } = args;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@launchdarkly/toolbar",
4
- "version": "2.1.2",
4
+ "version": "2.1.4",
5
5
  "description": "A framework-agnostic developer toolbar for interacting with LaunchDarkly during development",
6
6
  "keywords": [
7
7
  "launchdarkly",
@@ -108,30 +108,30 @@
108
108
  "@codemirror/lint": "^6.9.3",
109
109
  "@codemirror/state": "^6.5.4",
110
110
  "@codemirror/view": "^6.39.11",
111
- "@launchdarkly/observability": "^0.5.0",
112
- "@launchdarkly/session-replay": "^0.5.1",
113
- "@launchpad-ui/components": "^0.17.9",
111
+ "@launchdarkly/observability": "^1.0.0",
112
+ "@launchdarkly/session-replay": "^1.0.0",
113
+ "@launchpad-ui/components": "^0.17.12",
114
114
  "@launchpad-ui/tokens": "^0.15.1",
115
115
  "@lezer/highlight": "1.2.1",
116
116
  "@react-aria/focus": "^3.21.3",
117
117
  "@react-stately/flags": "^3.1.2",
118
- "@rsbuild/core": "^1.7.2",
118
+ "@rsbuild/core": "^1.7.3",
119
119
  "@rsbuild/plugin-react": "^1.4.3",
120
120
  "@rslib/core": "^0.19.3",
121
121
  "@storybook/addon-docs": "^10.2.5",
122
122
  "@storybook/addon-essentials": "^9.0.0-alpha.12",
123
123
  "@storybook/addon-interactions": "^9.0.0-alpha.10",
124
124
  "@storybook/addon-links": "^10.2.1",
125
- "@storybook/addon-onboarding": "^10.1.10",
125
+ "@storybook/addon-onboarding": "^10.2.8",
126
126
  "@storybook/blocks": "^9.0.0-alpha.17",
127
127
  "@storybook/react": "^10.2.4",
128
- "@storybook/react-vite": "^10.2.3",
128
+ "@storybook/react-vite": "^10.2.10",
129
129
  "@storybook/test": "^9.0.0-alpha.2",
130
130
  "@tanstack/react-virtual": "^3.13.18",
131
131
  "@testing-library/jest-dom": "^6.9.1",
132
132
  "@testing-library/react": "^16.3.2",
133
- "@types/node": "^25.0.9",
134
- "@types/react": "19.2.7",
133
+ "@types/node": "^25.3.0",
134
+ "@types/react": "19.2.14",
135
135
  "@types/react-dom": "19.2.3",
136
136
  "@vanilla-extract/css": "^1.18.0",
137
137
  "@vanilla-extract/vite-plugin": "^5.1.4",