@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.
Files changed (144) hide show
  1. package/README.md +25 -0
  2. package/dist/index.d.ts +5 -2
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +27 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/sdk/abstractions/core/IPlatformContext.d.ts +1 -1
  7. package/dist/sdk/abstractions/core/IPlatformContext.js +1 -1
  8. package/dist/sdk/abstractions/core/index.d.ts +1 -1
  9. package/dist/sdk/abstractions/core/index.js +1 -1
  10. package/dist/sdk/abstractions/index.d.ts +1 -1
  11. package/dist/sdk/abstractions/index.js +1 -1
  12. package/dist/sdk/abstractions/services/IFileSystem.d.ts +1 -1
  13. package/dist/sdk/abstractions/services/IFileSystem.js +1 -1
  14. package/dist/sdk/abstractions/services/ILogger.d.ts +1 -1
  15. package/dist/sdk/abstractions/services/ILogger.js +1 -1
  16. package/dist/sdk/abstractions/services/ITelemetry.d.ts +1 -1
  17. package/dist/sdk/abstractions/services/ITelemetry.js +1 -1
  18. package/dist/sdk/abstractions/services/index.d.ts +1 -1
  19. package/dist/sdk/abstractions/services/index.js +1 -1
  20. package/dist/sdk/abstractions/types/FileMetadata.d.ts +1 -1
  21. package/dist/sdk/abstractions/types/FileMetadata.js +1 -1
  22. package/dist/sdk/abstractions/types/Result.d.ts +1 -1
  23. package/dist/sdk/abstractions/types/Result.js +1 -1
  24. package/dist/sdk/abstractions/types/index.d.ts +1 -1
  25. package/dist/sdk/abstractions/types/index.js +1 -1
  26. package/dist/sdk/components/LegendPanel/index.d.ts +1 -1
  27. package/dist/sdk/components/LegendPanel/index.js +1 -1
  28. package/dist/sdk/components/ZoomBar/ZoomBar.d.ts.map +1 -1
  29. package/dist/sdk/components/ZoomBar/ZoomBar.js +2 -1
  30. package/dist/sdk/components/ZoomBar/ZoomBar.js.map +1 -1
  31. package/dist/sdk/components/ZoomBar/index.d.ts +1 -1
  32. package/dist/sdk/components/ZoomBar/index.js +1 -1
  33. package/dist/sdk/components/index.d.ts +1 -1
  34. package/dist/sdk/components/index.js +1 -1
  35. package/dist/sdk/constants.d.ts +1 -1
  36. package/dist/sdk/constants.js +1 -1
  37. package/dist/sdk/contracts/core/IMetadataParser.d.ts +23 -1
  38. package/dist/sdk/contracts/core/IMetadataParser.d.ts.map +1 -1
  39. package/dist/sdk/contracts/core/IMetadataParser.js +1 -1
  40. package/dist/sdk/contracts/core/IVisualizationPlugin.d.ts +1 -1
  41. package/dist/sdk/contracts/core/IVisualizationPlugin.js +1 -1
  42. package/dist/sdk/contracts/core/index.d.ts +1 -1
  43. package/dist/sdk/contracts/core/index.js +1 -1
  44. package/dist/sdk/contracts/index.d.ts +1 -1
  45. package/dist/sdk/contracts/index.js +1 -1
  46. package/dist/sdk/contracts/types/MetadataFileInfo.d.ts +1 -1
  47. package/dist/sdk/contracts/types/MetadataFileInfo.js +1 -1
  48. package/dist/sdk/contracts/types/MetadataPluginInfo.d.ts +1 -1
  49. package/dist/sdk/contracts/types/MetadataPluginInfo.js +1 -1
  50. package/dist/sdk/contracts/types/PluginConfig.d.ts +1 -1
  51. package/dist/sdk/contracts/types/PluginConfig.js +1 -1
  52. package/dist/sdk/contracts/types/PluginContext.d.ts +1 -1
  53. package/dist/sdk/contracts/types/PluginContext.js +1 -1
  54. package/dist/sdk/contracts/types/PluginError.d.ts +1 -1
  55. package/dist/sdk/contracts/types/PluginError.js +1 -1
  56. package/dist/sdk/contracts/types/SelectableNode.d.ts +62 -0
  57. package/dist/sdk/contracts/types/SelectableNode.d.ts.map +1 -0
  58. package/dist/sdk/contracts/types/SelectableNode.js +8 -0
  59. package/dist/sdk/contracts/types/SelectableNode.js.map +1 -0
  60. package/dist/sdk/contracts/types/ValidationResult.d.ts +1 -1
  61. package/dist/sdk/contracts/types/ValidationResult.js +1 -1
  62. package/dist/sdk/contracts/types/VersionInfo.d.ts +1 -1
  63. package/dist/sdk/contracts/types/VersionInfo.js +1 -1
  64. package/dist/sdk/contracts/types/index.d.ts +2 -1
  65. package/dist/sdk/contracts/types/index.d.ts.map +1 -1
  66. package/dist/sdk/contracts/types/index.js +2 -1
  67. package/dist/sdk/contracts/types/index.js.map +1 -1
  68. package/dist/sdk/design-system/index.d.ts +3 -1
  69. package/dist/sdk/design-system/index.d.ts.map +1 -1
  70. package/dist/sdk/design-system/index.js +3 -1
  71. package/dist/sdk/design-system/index.js.map +1 -1
  72. package/dist/sdk/design-system/light-design-system.css +724 -0
  73. package/dist/sdk/design-system/themes.d.ts +32 -0
  74. package/dist/sdk/design-system/themes.d.ts.map +1 -0
  75. package/dist/sdk/design-system/themes.js +32 -0
  76. package/dist/sdk/design-system/themes.js.map +1 -0
  77. package/dist/sdk/design-system/tokens/colors.d.ts +1 -1
  78. package/dist/sdk/design-system/tokens/colors.js +1 -1
  79. package/dist/sdk/design-system/tokens/spacing.d.ts +1 -1
  80. package/dist/sdk/design-system/tokens/spacing.js +1 -1
  81. package/dist/sdk/design-system/tokens/typography.d.ts +1 -1
  82. package/dist/sdk/design-system/tokens/typography.js +1 -1
  83. package/dist/sdk/design-system/utils.d.ts +1 -1
  84. package/dist/sdk/design-system/utils.js +1 -1
  85. package/dist/sdk/hooks/vibe-edit/index.d.ts +39 -0
  86. package/dist/sdk/hooks/vibe-edit/index.d.ts.map +1 -0
  87. package/dist/sdk/hooks/vibe-edit/index.js +42 -0
  88. package/dist/sdk/hooks/vibe-edit/index.js.map +1 -0
  89. package/dist/sdk/hooks/vibe-edit/selection/selectionGeometry.d.ts +56 -0
  90. package/dist/sdk/hooks/vibe-edit/selection/selectionGeometry.d.ts.map +1 -0
  91. package/dist/sdk/hooks/vibe-edit/selection/selectionGeometry.js +138 -0
  92. package/dist/sdk/hooks/vibe-edit/selection/selectionGeometry.js.map +1 -0
  93. package/dist/sdk/hooks/vibe-edit/selection/selectionGraph.d.ts +66 -0
  94. package/dist/sdk/hooks/vibe-edit/selection/selectionGraph.d.ts.map +1 -0
  95. package/dist/sdk/hooks/vibe-edit/selection/selectionGraph.js +73 -0
  96. package/dist/sdk/hooks/vibe-edit/selection/selectionGraph.js.map +1 -0
  97. package/dist/sdk/hooks/vibe-edit/selection/selectionGraphEngine.d.ts +64 -0
  98. package/dist/sdk/hooks/vibe-edit/selection/selectionGraphEngine.d.ts.map +1 -0
  99. package/dist/sdk/hooks/vibe-edit/selection/selectionGraphEngine.js +161 -0
  100. package/dist/sdk/hooks/vibe-edit/selection/selectionGraphEngine.js.map +1 -0
  101. package/dist/sdk/hooks/vibe-edit/selection/types.d.ts +47 -0
  102. package/dist/sdk/hooks/vibe-edit/selection/types.d.ts.map +1 -0
  103. package/dist/sdk/hooks/vibe-edit/selection/types.js +40 -0
  104. package/dist/sdk/hooks/vibe-edit/selection/types.js.map +1 -0
  105. package/dist/sdk/hooks/vibe-edit/selection/useMarqueeSelection.d.ts +30 -0
  106. package/dist/sdk/hooks/vibe-edit/selection/useMarqueeSelection.d.ts.map +1 -0
  107. package/dist/sdk/hooks/vibe-edit/selection/useMarqueeSelection.js +50 -0
  108. package/dist/sdk/hooks/vibe-edit/selection/useMarqueeSelection.js.map +1 -0
  109. package/dist/sdk/hooks/vibe-edit/ui/MarqueeSelection.css +26 -0
  110. package/dist/sdk/hooks/vibe-edit/ui/MarqueeSelection.d.ts +84 -0
  111. package/dist/sdk/hooks/vibe-edit/ui/MarqueeSelection.d.ts.map +1 -0
  112. package/dist/sdk/hooks/vibe-edit/ui/MarqueeSelection.js +256 -0
  113. package/dist/sdk/hooks/vibe-edit/ui/MarqueeSelection.js.map +1 -0
  114. package/dist/sdk/hooks/vibe-edit/ui/VibeEditPanel.css +207 -0
  115. package/dist/sdk/hooks/vibe-edit/ui/VibeEditPanel.d.ts +43 -0
  116. package/dist/sdk/hooks/vibe-edit/ui/VibeEditPanel.d.ts.map +1 -0
  117. package/dist/sdk/hooks/vibe-edit/ui/VibeEditPanel.js +80 -0
  118. package/dist/sdk/hooks/vibe-edit/ui/VibeEditPanel.js.map +1 -0
  119. package/dist/sdk/hooks/vibe-edit/ui/useVibeEdit.css +79 -0
  120. package/dist/sdk/hooks/vibe-edit/ui/useVibeEdit.d.ts +116 -0
  121. package/dist/sdk/hooks/vibe-edit/ui/useVibeEdit.d.ts.map +1 -0
  122. package/dist/sdk/hooks/vibe-edit/ui/useVibeEdit.js +264 -0
  123. package/dist/sdk/hooks/vibe-edit/ui/useVibeEdit.js.map +1 -0
  124. package/dist/sdk/utils/HostCommunicationUtils.d.ts +1 -1
  125. package/dist/sdk/utils/HostCommunicationUtils.js +1 -1
  126. package/dist/sdk/utils/errors/ErrorBuilder.d.ts +1 -1
  127. package/dist/sdk/utils/errors/ErrorBuilder.js +1 -1
  128. package/dist/sdk/utils/errors/setupHandlers.d.ts +1 -1
  129. package/dist/sdk/utils/errors/setupHandlers.js +1 -1
  130. package/dist/sdk/utils/logger.d.ts +1 -1
  131. package/dist/sdk/utils/logger.js +1 -1
  132. package/dist/sdk/utils/test-helpers/architecture-test-utils.d.ts +1 -1
  133. package/dist/sdk/utils/test-helpers/architecture-test-utils.js +1 -1
  134. package/dist/sdk/utils/test-helpers/index.d.ts +1 -1
  135. package/dist/sdk/utils/test-helpers/index.js +1 -1
  136. package/dist/sdk/utils/xmlParser.d.ts +1 -1
  137. package/dist/sdk/utils/xmlParser.js +1 -1
  138. package/dist/sdk/webviewMessageTypes.d.ts +78 -1
  139. package/dist/sdk/webviewMessageTypes.d.ts.map +1 -1
  140. package/dist/sdk/webviewMessageTypes.js +8 -5
  141. package/dist/sdk/webviewMessageTypes.js.map +1 -1
  142. package/package.json +11 -3
  143. package/src/sdk/utils/test-helpers/architecture-test-utils.ts +1 -1
  144. 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) 2025, Salesforce, Inc.
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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2025, Salesforce, Inc.
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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2025, Salesforce, Inc.
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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2025, Salesforce, Inc.
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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2025, Salesforce, Inc.
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) 2025, Salesforce, Inc.
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) 2025, Salesforce, Inc.
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) 2025, Salesforce, Inc.
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"}