@salesforce/metadata-core-sdk 1.4.0 → 1.6.0
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 +25 -0
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +27 -1
- package/dist/index.js.map +1 -1
- package/dist/sdk/abstractions/core/IPlatformContext.d.ts +1 -1
- package/dist/sdk/abstractions/core/IPlatformContext.js +1 -1
- package/dist/sdk/abstractions/core/index.d.ts +1 -1
- package/dist/sdk/abstractions/core/index.js +1 -1
- package/dist/sdk/abstractions/index.d.ts +1 -1
- package/dist/sdk/abstractions/index.js +1 -1
- package/dist/sdk/abstractions/services/IFileSystem.d.ts +1 -1
- package/dist/sdk/abstractions/services/IFileSystem.js +1 -1
- package/dist/sdk/abstractions/services/ILogger.d.ts +1 -1
- package/dist/sdk/abstractions/services/ILogger.js +1 -1
- package/dist/sdk/abstractions/services/ITelemetry.d.ts +1 -1
- package/dist/sdk/abstractions/services/ITelemetry.js +1 -1
- package/dist/sdk/abstractions/services/index.d.ts +1 -1
- package/dist/sdk/abstractions/services/index.js +1 -1
- package/dist/sdk/abstractions/types/FileMetadata.d.ts +1 -1
- package/dist/sdk/abstractions/types/FileMetadata.js +1 -1
- package/dist/sdk/abstractions/types/Result.d.ts +1 -1
- package/dist/sdk/abstractions/types/Result.js +1 -1
- package/dist/sdk/abstractions/types/index.d.ts +1 -1
- package/dist/sdk/abstractions/types/index.js +1 -1
- package/dist/sdk/components/LegendPanel/index.d.ts +1 -1
- package/dist/sdk/components/LegendPanel/index.js +1 -1
- package/dist/sdk/components/ZoomBar/ZoomBar.d.ts.map +1 -1
- package/dist/sdk/components/ZoomBar/ZoomBar.js +2 -1
- package/dist/sdk/components/ZoomBar/ZoomBar.js.map +1 -1
- package/dist/sdk/components/ZoomBar/index.d.ts +1 -1
- package/dist/sdk/components/ZoomBar/index.js +1 -1
- package/dist/sdk/components/index.d.ts +1 -1
- package/dist/sdk/components/index.js +1 -1
- package/dist/sdk/constants.d.ts +1 -1
- package/dist/sdk/constants.js +1 -1
- package/dist/sdk/contracts/core/IMetadataParser.d.ts +23 -1
- package/dist/sdk/contracts/core/IMetadataParser.d.ts.map +1 -1
- package/dist/sdk/contracts/core/IMetadataParser.js +1 -1
- package/dist/sdk/contracts/core/IVisualizationPlugin.d.ts +1 -1
- package/dist/sdk/contracts/core/IVisualizationPlugin.js +1 -1
- package/dist/sdk/contracts/core/index.d.ts +1 -1
- package/dist/sdk/contracts/core/index.js +1 -1
- package/dist/sdk/contracts/index.d.ts +1 -1
- package/dist/sdk/contracts/index.js +1 -1
- package/dist/sdk/contracts/types/MetadataFileInfo.d.ts +1 -1
- package/dist/sdk/contracts/types/MetadataFileInfo.js +1 -1
- package/dist/sdk/contracts/types/MetadataPluginInfo.d.ts +1 -1
- package/dist/sdk/contracts/types/MetadataPluginInfo.js +1 -1
- package/dist/sdk/contracts/types/PluginConfig.d.ts +1 -1
- package/dist/sdk/contracts/types/PluginConfig.js +1 -1
- package/dist/sdk/contracts/types/PluginContext.d.ts +1 -1
- package/dist/sdk/contracts/types/PluginContext.js +1 -1
- package/dist/sdk/contracts/types/PluginError.d.ts +1 -1
- package/dist/sdk/contracts/types/PluginError.js +1 -1
- package/dist/sdk/contracts/types/SelectableNode.d.ts +62 -0
- package/dist/sdk/contracts/types/SelectableNode.d.ts.map +1 -0
- package/dist/sdk/contracts/types/SelectableNode.js +8 -0
- package/dist/sdk/contracts/types/SelectableNode.js.map +1 -0
- package/dist/sdk/contracts/types/ValidationResult.d.ts +1 -1
- package/dist/sdk/contracts/types/ValidationResult.js +1 -1
- package/dist/sdk/contracts/types/VersionInfo.d.ts +1 -1
- package/dist/sdk/contracts/types/VersionInfo.js +1 -1
- package/dist/sdk/contracts/types/index.d.ts +2 -1
- package/dist/sdk/contracts/types/index.d.ts.map +1 -1
- package/dist/sdk/contracts/types/index.js +2 -1
- package/dist/sdk/contracts/types/index.js.map +1 -1
- package/dist/sdk/design-system/index.d.ts +3 -1
- package/dist/sdk/design-system/index.d.ts.map +1 -1
- package/dist/sdk/design-system/index.js +3 -1
- package/dist/sdk/design-system/index.js.map +1 -1
- package/dist/sdk/design-system/light-design-system.css +724 -0
- package/dist/sdk/design-system/themes.d.ts +32 -0
- package/dist/sdk/design-system/themes.d.ts.map +1 -0
- package/dist/sdk/design-system/themes.js +32 -0
- package/dist/sdk/design-system/themes.js.map +1 -0
- package/dist/sdk/design-system/tokens/colors.d.ts +1 -1
- package/dist/sdk/design-system/tokens/colors.js +1 -1
- package/dist/sdk/design-system/tokens/spacing.d.ts +1 -1
- package/dist/sdk/design-system/tokens/spacing.js +1 -1
- package/dist/sdk/design-system/tokens/typography.d.ts +1 -1
- package/dist/sdk/design-system/tokens/typography.js +1 -1
- package/dist/sdk/design-system/utils.d.ts +1 -1
- package/dist/sdk/design-system/utils.js +1 -1
- package/dist/sdk/hooks/vibe-edit/index.d.ts +39 -0
- package/dist/sdk/hooks/vibe-edit/index.d.ts.map +1 -0
- package/dist/sdk/hooks/vibe-edit/index.js +42 -0
- package/dist/sdk/hooks/vibe-edit/index.js.map +1 -0
- package/dist/sdk/hooks/vibe-edit/selection/selectionGeometry.d.ts +56 -0
- package/dist/sdk/hooks/vibe-edit/selection/selectionGeometry.d.ts.map +1 -0
- package/dist/sdk/hooks/vibe-edit/selection/selectionGeometry.js +138 -0
- package/dist/sdk/hooks/vibe-edit/selection/selectionGeometry.js.map +1 -0
- package/dist/sdk/hooks/vibe-edit/selection/selectionGraph.d.ts +66 -0
- package/dist/sdk/hooks/vibe-edit/selection/selectionGraph.d.ts.map +1 -0
- package/dist/sdk/hooks/vibe-edit/selection/selectionGraph.js +73 -0
- package/dist/sdk/hooks/vibe-edit/selection/selectionGraph.js.map +1 -0
- package/dist/sdk/hooks/vibe-edit/selection/selectionGraphEngine.d.ts +64 -0
- package/dist/sdk/hooks/vibe-edit/selection/selectionGraphEngine.d.ts.map +1 -0
- package/dist/sdk/hooks/vibe-edit/selection/selectionGraphEngine.js +161 -0
- package/dist/sdk/hooks/vibe-edit/selection/selectionGraphEngine.js.map +1 -0
- package/dist/sdk/hooks/vibe-edit/selection/types.d.ts +47 -0
- package/dist/sdk/hooks/vibe-edit/selection/types.d.ts.map +1 -0
- package/dist/sdk/hooks/vibe-edit/selection/types.js +40 -0
- package/dist/sdk/hooks/vibe-edit/selection/types.js.map +1 -0
- package/dist/sdk/hooks/vibe-edit/selection/useMarqueeSelection.d.ts +30 -0
- package/dist/sdk/hooks/vibe-edit/selection/useMarqueeSelection.d.ts.map +1 -0
- package/dist/sdk/hooks/vibe-edit/selection/useMarqueeSelection.js +50 -0
- package/dist/sdk/hooks/vibe-edit/selection/useMarqueeSelection.js.map +1 -0
- package/dist/sdk/hooks/vibe-edit/ui/MarqueeSelection.css +26 -0
- package/dist/sdk/hooks/vibe-edit/ui/MarqueeSelection.d.ts +84 -0
- package/dist/sdk/hooks/vibe-edit/ui/MarqueeSelection.d.ts.map +1 -0
- package/dist/sdk/hooks/vibe-edit/ui/MarqueeSelection.js +256 -0
- package/dist/sdk/hooks/vibe-edit/ui/MarqueeSelection.js.map +1 -0
- package/dist/sdk/hooks/vibe-edit/ui/VibeEditPanel.css +207 -0
- package/dist/sdk/hooks/vibe-edit/ui/VibeEditPanel.d.ts +43 -0
- package/dist/sdk/hooks/vibe-edit/ui/VibeEditPanel.d.ts.map +1 -0
- package/dist/sdk/hooks/vibe-edit/ui/VibeEditPanel.js +80 -0
- package/dist/sdk/hooks/vibe-edit/ui/VibeEditPanel.js.map +1 -0
- package/dist/sdk/hooks/vibe-edit/ui/useVibeEdit.css +79 -0
- package/dist/sdk/hooks/vibe-edit/ui/useVibeEdit.d.ts +116 -0
- package/dist/sdk/hooks/vibe-edit/ui/useVibeEdit.d.ts.map +1 -0
- package/dist/sdk/hooks/vibe-edit/ui/useVibeEdit.js +264 -0
- package/dist/sdk/hooks/vibe-edit/ui/useVibeEdit.js.map +1 -0
- package/dist/sdk/utils/HostCommunicationUtils.d.ts +1 -1
- package/dist/sdk/utils/HostCommunicationUtils.js +1 -1
- package/dist/sdk/utils/errors/ErrorBuilder.d.ts +1 -1
- package/dist/sdk/utils/errors/ErrorBuilder.js +1 -1
- package/dist/sdk/utils/errors/setupHandlers.d.ts +1 -1
- package/dist/sdk/utils/errors/setupHandlers.js +1 -1
- package/dist/sdk/utils/logger.d.ts +1 -1
- package/dist/sdk/utils/logger.js +1 -1
- package/dist/sdk/utils/test-helpers/architecture-test-utils.d.ts +1 -1
- package/dist/sdk/utils/test-helpers/architecture-test-utils.js +1 -1
- package/dist/sdk/utils/test-helpers/index.d.ts +1 -1
- package/dist/sdk/utils/test-helpers/index.js +1 -1
- package/dist/sdk/utils/xmlParser.d.ts +1 -1
- package/dist/sdk/utils/xmlParser.js +1 -1
- package/dist/sdk/webviewMessageTypes.d.ts +78 -1
- package/dist/sdk/webviewMessageTypes.d.ts.map +1 -1
- package/dist/sdk/webviewMessageTypes.js +8 -5
- package/dist/sdk/webviewMessageTypes.js.map +1 -1
- package/package.json +11 -3
- package/src/sdk/utils/test-helpers/architecture-test-utils.ts +1 -1
- package/src/sdk/utils/test-helpers/index.ts +1 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* Licensed under the BSD 3-Clause license.
|
|
5
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
|
+
**/
|
|
7
|
+
/**
|
|
8
|
+
* SelectionGraph node contracts (C1 + C4) — the normalized, self-describing
|
|
9
|
+
* shape a plugin's parser emits so the host/engine can resolve a selected DOM
|
|
10
|
+
* element to its node by `id` alone.
|
|
11
|
+
*
|
|
12
|
+
* These are the CONTRACT-layer types: `IMetadataParser.getSelectableNodes()`
|
|
13
|
+
* lives in `contracts/`, the lowest SDK layer, so its return type must live here
|
|
14
|
+
* too — importing it from the `hooks/` layer would drag the whole vibe-edit tree
|
|
15
|
+
* into every plugin that implements the parser interface (and left the message
|
|
16
|
+
* contract in {@link PluginDataResponse} duplicating the shape structurally to
|
|
17
|
+
* avoid exactly that). The runtime helpers that operate on these types
|
|
18
|
+
* (`sfdxPath`, `structuralId`, `hashString`) stay in the selection layer and are
|
|
19
|
+
* re-exported from there alongside these types.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* One selectable element, normalized. `id` is stable + deterministic (see
|
|
23
|
+
* `structuralId`) and is what the plugin renders as `data-mv-id`, so the host
|
|
24
|
+
* can resolve a selection to its node without any plugin-side inverse.
|
|
25
|
+
*/
|
|
26
|
+
export interface SelectableNode {
|
|
27
|
+
/** Stable, deterministic id. Rendered as data-mv-id; the selection key. */
|
|
28
|
+
id: string;
|
|
29
|
+
/** Semantic element kind, e.g. 'object' | 'field' | 'region' | 'component'. */
|
|
30
|
+
type: string;
|
|
31
|
+
/** API name / human identifier surfaced to the agent (e.g. 'Account', 'Industry__c'). */
|
|
32
|
+
apiName: string;
|
|
33
|
+
/** id of the containing node, if any (the parent object of a field, etc.). */
|
|
34
|
+
parentId?: string;
|
|
35
|
+
/** Salient attributes worth surfacing to the agent (dataType, label, …). */
|
|
36
|
+
attributes?: Record<string, unknown>;
|
|
37
|
+
/** Metadata file this node lives in. Prefer computing via `sfdxPath`. */
|
|
38
|
+
filePath?: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Inputs for the shared, plugin-agnostic SFDX source-layout resolver. These are
|
|
42
|
+
* the convention PRIMITIVES a plugin emits per node (data, not a callback); the
|
|
43
|
+
* SFDX layout rule itself is universal and owned by `sfdxPath`, so the file-path
|
|
44
|
+
* string is computed once in core-sdk rather than hand-built in each plugin (B2
|
|
45
|
+
* paid once).
|
|
46
|
+
*/
|
|
47
|
+
export interface SfdxPathInput {
|
|
48
|
+
/** Node kind — drives which SFDX file the node belongs to. */
|
|
49
|
+
type: string;
|
|
50
|
+
/** The node's own api name. */
|
|
51
|
+
apiName: string;
|
|
52
|
+
/** The parent object's api name (for fields attributed to their object file). */
|
|
53
|
+
parentApiName?: string;
|
|
54
|
+
/**
|
|
55
|
+
* True if this is a decomposed field with its own `.field-meta.xml`. When
|
|
56
|
+
* false/absent, a field inherits its parent object's `.object-meta.xml`.
|
|
57
|
+
*/
|
|
58
|
+
decomposed?: boolean;
|
|
59
|
+
/** Root of the objects tree in the SFDX source layout. Default: 'objects'. */
|
|
60
|
+
objectsRoot?: string;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=SelectableNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectableNode.d.ts","sourceRoot":"","sources":["../../../../src/sdk/contracts/types/SelectableNode.ts"],"names":[],"mappings":"AAAA;;;;;IAKI;AAEJ;;;;;;;;;;;;;GAaG;AAEH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,2EAA2E;IAC3E,EAAE,EAAE,MAAM,CAAC;IACX,+EAA+E;IAC/E,IAAI,EAAE,MAAM,CAAC;IACb,yFAAyF;IACzF,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4EAA4E;IAC5E,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC5B,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAC;IACb,+BAA+B;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* Licensed under the BSD 3-Clause license.
|
|
5
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
|
+
**/
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=SelectableNode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectableNode.js","sourceRoot":"","sources":["../../../../src/sdk/contracts/types/SelectableNode.ts"],"names":[],"mappings":"AAAA;;;;;IAKI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.
|
|
3
3
|
* All rights reserved.
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
@@ -11,4 +11,5 @@ export * from './VersionInfo.js';
|
|
|
11
11
|
export * from './PluginError.js';
|
|
12
12
|
export * from './PluginConfig.js';
|
|
13
13
|
export * from './MetadataFileInfo.js';
|
|
14
|
+
export * from './SelectableNode.js';
|
|
14
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/contracts/types/index.ts"],"names":[],"mappings":"AAAA;;;;;IAKI;AAEJ,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/contracts/types/index.ts"],"names":[],"mappings":"AAAA;;;;;IAKI;AAEJ,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.
|
|
3
3
|
* All rights reserved.
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
@@ -11,4 +11,5 @@ export * from './VersionInfo.js';
|
|
|
11
11
|
export * from './PluginError.js';
|
|
12
12
|
export * from './PluginConfig.js';
|
|
13
13
|
export * from './MetadataFileInfo.js';
|
|
14
|
+
export * from './SelectableNode.js';
|
|
14
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sdk/contracts/types/index.ts"],"names":[],"mappings":"AAAA;;;;;IAKI;AAEJ,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sdk/contracts/types/index.ts"],"names":[],"mappings":"AAAA;;;;;IAKI;AAEJ,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.
|
|
3
3
|
* All rights reserved.
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
@@ -8,4 +8,6 @@ export { colorTokens, shadowTokens } from './tokens/colors.js';
|
|
|
8
8
|
export { spacingTokens, borderRadiusTokens } from './tokens/spacing.js';
|
|
9
9
|
export { fontFamilyTokens, fontSizeTokens, fontWeightTokens, lineHeightTokens, } from './tokens/typography.js';
|
|
10
10
|
export { getCSSVariableValue, getCSSVariableValues, resolveTokens, cssVar } from './utils.js';
|
|
11
|
+
export { DESIGN_SYSTEM_THEMES, isDesignSystemTheme, designSystemCssFileName } from './themes.js';
|
|
12
|
+
export type { DesignSystemTheme } from './themes.js';
|
|
11
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/design-system/index.ts"],"names":[],"mappings":"AAAA;;;;;IAKI;AAEJ,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/design-system/index.ts"],"names":[],"mappings":"AAAA;;;;;IAKI;AAEJ,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAG9F,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACjG,YAAY,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.
|
|
3
3
|
* All rights reserved.
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
@@ -9,4 +9,6 @@ export { spacingTokens, borderRadiusTokens } from './tokens/spacing.js';
|
|
|
9
9
|
export { fontFamilyTokens, fontSizeTokens, fontWeightTokens, lineHeightTokens, } from './tokens/typography.js';
|
|
10
10
|
// Runtime utilities for resolving design tokens to actual values
|
|
11
11
|
export { getCSSVariableValue, getCSSVariableValues, resolveTokens, cssVar } from './utils.js';
|
|
12
|
+
// Theme catalog: authored `--vscode-*` layers consumed by theme-aware hosts (e.g. the web adapter)
|
|
13
|
+
export { DESIGN_SYSTEM_THEMES, isDesignSystemTheme, designSystemCssFileName } from './themes.js';
|
|
12
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sdk/design-system/index.ts"],"names":[],"mappings":"AAAA;;;;;IAKI;AAEJ,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,wBAAwB,CAAC;AAEhC,iEAAiE;AACjE,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sdk/design-system/index.ts"],"names":[],"mappings":"AAAA;;;;;IAKI;AAEJ,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,wBAAwB,CAAC;AAEhC,iEAAiE;AACjE,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAE9F,mGAAmG;AACnG,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC"}
|