@salesforce/ui-theme-manager 11.46.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/LICENSE.txt +82 -0
- package/README.md +29 -0
- package/dist/authoring/core/ThemeManagerPanelRoot.d.cts +43 -0
- package/dist/authoring/core/ThemeManagerPanelRoot.d.ts +43 -0
- package/dist/authoring/core/ThemeManagerPanelRoot.d.ts.map +1 -0
- package/dist/authoring/core/components/AssetsSection.d.cts +12 -0
- package/dist/authoring/core/components/AssetsSection.d.ts +12 -0
- package/dist/authoring/core/components/AssetsSection.d.ts.map +1 -0
- package/dist/authoring/core/components/BordersSection.d.cts +9 -0
- package/dist/authoring/core/components/BordersSection.d.ts +9 -0
- package/dist/authoring/core/components/BordersSection.d.ts.map +1 -0
- package/dist/authoring/core/components/ButtonSection.d.cts +9 -0
- package/dist/authoring/core/components/ButtonSection.d.ts +9 -0
- package/dist/authoring/core/components/ButtonSection.d.ts.map +1 -0
- package/dist/authoring/core/components/ColorEditors.d.cts +8 -0
- package/dist/authoring/core/components/ColorEditors.d.ts +8 -0
- package/dist/authoring/core/components/ColorEditors.d.ts.map +1 -0
- package/dist/authoring/core/components/ColorField.d.cts +45 -0
- package/dist/authoring/core/components/ColorField.d.ts +45 -0
- package/dist/authoring/core/components/ColorField.d.ts.map +1 -0
- package/dist/authoring/core/components/SaveBar.d.cts +8 -0
- package/dist/authoring/core/components/SaveBar.d.ts +8 -0
- package/dist/authoring/core/components/SaveBar.d.ts.map +1 -0
- package/dist/authoring/core/components/SearchBox.d.cts +16 -0
- package/dist/authoring/core/components/SearchBox.d.ts +16 -0
- package/dist/authoring/core/components/SearchBox.d.ts.map +1 -0
- package/dist/authoring/core/components/TabSwitcher.d.cts +13 -0
- package/dist/authoring/core/components/TabSwitcher.d.ts +13 -0
- package/dist/authoring/core/components/TabSwitcher.d.ts.map +1 -0
- package/dist/authoring/core/components/ThemeGallery.d.cts +9 -0
- package/dist/authoring/core/components/ThemeGallery.d.ts +9 -0
- package/dist/authoring/core/components/ThemeGallery.d.ts.map +1 -0
- package/dist/authoring/core/components/TypographySection.d.cts +9 -0
- package/dist/authoring/core/components/TypographySection.d.ts +9 -0
- package/dist/authoring/core/components/TypographySection.d.ts.map +1 -0
- package/dist/authoring/core/index.d.cts +8 -0
- package/dist/authoring/core/index.d.ts +8 -0
- package/dist/authoring/core/index.d.ts.map +1 -0
- package/dist/authoring/core/labels.d.cts +89 -0
- package/dist/authoring/core/labels.d.ts +89 -0
- package/dist/authoring/core/labels.d.ts.map +1 -0
- package/dist/authoring/react/index.d.cts +16 -0
- package/dist/authoring/react/index.d.ts +16 -0
- package/dist/authoring/react/index.d.ts.map +1 -0
- package/dist/authoring/react/index.js +1 -0
- package/dist/authoring/react/styles.css +1 -0
- package/dist/authoring/web-component/index.d.cts +34 -0
- package/dist/authoring/web-component/index.d.ts +34 -0
- package/dist/authoring/web-component/index.d.ts.map +1 -0
- package/dist/authoring/web-component/index.js +729 -0
- package/dist/protocol/brandCss.cjs +255 -0
- package/dist/protocol/brandCss.d.cts +42 -0
- package/dist/protocol/brandCss.d.ts +42 -0
- package/dist/protocol/brandCss.d.ts.map +1 -0
- package/dist/protocol/brandCss.js +255 -0
- package/dist/protocol/brandResolver.cjs +61 -0
- package/dist/protocol/brandResolver.d.cts +28 -0
- package/dist/protocol/brandResolver.d.ts +28 -0
- package/dist/protocol/brandResolver.d.ts.map +1 -0
- package/dist/protocol/brandResolver.js +61 -0
- package/dist/protocol/brandSearch.cjs +64 -0
- package/dist/protocol/brandSearch.d.cts +133 -0
- package/dist/protocol/brandSearch.d.ts +133 -0
- package/dist/protocol/brandSearch.d.ts.map +1 -0
- package/dist/protocol/brandSearch.js +64 -0
- package/dist/protocol/brandTypes.cjs +30 -0
- package/dist/protocol/brandTypes.d.cts +198 -0
- package/dist/protocol/brandTypes.d.ts +198 -0
- package/dist/protocol/brandTypes.d.ts.map +1 -0
- package/dist/protocol/brandTypes.js +30 -0
- package/dist/protocol/deriveColors.cjs +67 -0
- package/dist/protocol/deriveColors.d.cts +39 -0
- package/dist/protocol/deriveColors.d.ts +39 -0
- package/dist/protocol/deriveColors.d.ts.map +1 -0
- package/dist/protocol/deriveColors.js +67 -0
- package/dist/protocol/index.cjs +55 -0
- package/dist/protocol/index.d.cts +20 -0
- package/dist/protocol/index.d.ts +20 -0
- package/dist/protocol/index.d.ts.map +1 -0
- package/dist/protocol/index.js +55 -0
- package/dist/protocol/messageTypes.cjs +32 -0
- package/dist/protocol/messageTypes.d.cts +86 -0
- package/dist/protocol/messageTypes.d.ts +86 -0
- package/dist/protocol/messageTypes.d.ts.map +1 -0
- package/dist/protocol/messageTypes.js +32 -0
- package/dist/protocol/ootbThemes.cjs +229 -0
- package/dist/protocol/ootbThemes.d.cts +6 -0
- package/dist/protocol/ootbThemes.d.ts +6 -0
- package/dist/protocol/ootbThemes.d.ts.map +1 -0
- package/dist/protocol/ootbThemes.js +229 -0
- package/dist/protocol/themeCss.cjs +47 -0
- package/dist/protocol/themeCss.d.cts +18 -0
- package/dist/protocol/themeCss.d.ts +18 -0
- package/dist/protocol/themeCss.d.ts.map +1 -0
- package/dist/protocol/themeCss.js +47 -0
- package/dist/protocol/types.d.cts +74 -0
- package/dist/protocol/types.d.ts +74 -0
- package/dist/protocol/types.d.ts.map +1 -0
- package/dist/protocol/utils.cjs +10 -0
- package/dist/protocol/utils.d.cts +20 -0
- package/dist/protocol/utils.d.ts +20 -0
- package/dist/protocol/utils.d.ts.map +1 -0
- package/dist/protocol/utils.js +10 -0
- package/dist/runtime/fontFace.cjs +43 -0
- package/dist/runtime/fontFace.d.cts +15 -0
- package/dist/runtime/fontFace.d.ts +15 -0
- package/dist/runtime/fontFace.d.ts.map +1 -0
- package/dist/runtime/fontFace.js +43 -0
- package/dist/runtime/previewContent.cjs +344 -0
- package/dist/runtime/previewContent.d.cts +43 -0
- package/dist/runtime/previewContent.d.ts +43 -0
- package/dist/runtime/previewContent.d.ts.map +1 -0
- package/dist/runtime/previewContent.js +344 -0
- package/dist/runtime/previewRuntime.d.cts +10 -0
- package/dist/runtime/previewRuntime.d.ts +10 -0
- package/dist/runtime/previewRuntime.d.ts.map +1 -0
- package/dist/runtime/theme-preview-runtime.js +466 -0
- package/package.json +74 -0
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
Terms of Use
|
|
2
|
+
|
|
3
|
+
Copyright 2026 Salesforce, Inc. All rights reserved.
|
|
4
|
+
|
|
5
|
+
These Terms of Use govern the download, installation, and/or use of this
|
|
6
|
+
software provided by Salesforce, Inc. ("Salesforce") (the "Software"), were
|
|
7
|
+
last updated on April 15, 2025, and constitute a legally binding
|
|
8
|
+
agreement between you and Salesforce. If you do not agree to these Terms of
|
|
9
|
+
Use, do not install or use the Software.
|
|
10
|
+
|
|
11
|
+
Salesforce grants you a worldwide, non-exclusive, no-charge, royalty-free
|
|
12
|
+
copyright license to reproduce, prepare derivative works of, publicly
|
|
13
|
+
display, publicly perform, sublicense, and distribute the Software and
|
|
14
|
+
derivative works subject to these Terms. These Terms shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
Subject to the limited rights expressly granted hereunder, Salesforce
|
|
18
|
+
reserves all rights, title, and interest in and to all intellectual
|
|
19
|
+
property subsisting in the Software. No rights are granted to you hereunder
|
|
20
|
+
other than as expressly set forth herein. Users residing in countries on
|
|
21
|
+
the United States Office of Foreign Assets Control sanction list, or which
|
|
22
|
+
are otherwise subject to a US export embargo, may not use the Software.
|
|
23
|
+
|
|
24
|
+
Implementation of the Software may require development work, for which you
|
|
25
|
+
are responsible. The Software may contain bugs, errors and
|
|
26
|
+
incompatibilities and is made available on an AS IS basis without support,
|
|
27
|
+
updates, or service level commitments.
|
|
28
|
+
|
|
29
|
+
Salesforce reserves the right at any time to modify, suspend, or
|
|
30
|
+
discontinue, the Software (or any part thereof) with or without notice. You
|
|
31
|
+
agree that Salesforce shall not be liable to you or to any third party for
|
|
32
|
+
any modification, suspension, or discontinuance.
|
|
33
|
+
|
|
34
|
+
You agree to defend Salesforce against any claim, demand, suit or
|
|
35
|
+
proceeding made or brought against Salesforce by a third party arising out
|
|
36
|
+
of or accruing from (a) your use of the Software, and (b) any application
|
|
37
|
+
you develop with the Software that infringes any copyright, trademark,
|
|
38
|
+
trade secret, trade dress, patent, or other intellectual property right of
|
|
39
|
+
any person or defames any person or violates their rights of publicity or
|
|
40
|
+
privacy (each a "Claim Against Salesforce"), and will indemnify Salesforce
|
|
41
|
+
from any damages, attorney fees, and costs finally awarded against
|
|
42
|
+
Salesforce as a result of, or for any amounts paid by Salesforce under a
|
|
43
|
+
settlement approved by you in writing of, a Claim Against Salesforce,
|
|
44
|
+
provided Salesforce (x) promptly gives you written notice of the Claim
|
|
45
|
+
Against Salesforce, (y) gives you sole control of the defense and
|
|
46
|
+
settlement of the Claim Against Salesforce (except that you may not settle
|
|
47
|
+
any Claim Against Salesforce unless it unconditionally releases Salesforce
|
|
48
|
+
of all liability), and (z) gives you all reasonable assistance, at your
|
|
49
|
+
expense.
|
|
50
|
+
|
|
51
|
+
WITHOUT LIMITING THE GENERALITY OF THE FOREGOING, THE SOFTWARE IS NOT
|
|
52
|
+
SUPPORTED AND IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
53
|
+
IMPLIED. IN NO EVENT SHALL SALESFORCE HAVE ANY LIABILITY FOR ANY DAMAGES,
|
|
54
|
+
INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL, INCIDENTAL,
|
|
55
|
+
PUNITIVE, OR CONSEQUENTIAL DAMAGES, OR DAMAGES BASED ON LOST PROFITS, DATA,
|
|
56
|
+
OR USE, IN CONNECTION WITH THE SOFTWARE, HOWEVER CAUSED AND WHETHER IN
|
|
57
|
+
CONTRACT, TORT, OR UNDER ANY OTHER THEORY OF LIABILITY, WHETHER OR NOT YOU
|
|
58
|
+
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
|
59
|
+
|
|
60
|
+
These Terms of Use shall be governed exclusively by the internal laws of
|
|
61
|
+
the State of California, without regard to its conflicts of laws
|
|
62
|
+
rules. Each party hereby consents to the exclusive jurisdiction of the
|
|
63
|
+
state and federal courts located in San Francisco County, California to
|
|
64
|
+
adjudicate any dispute arising out of or relating to these Terms of Use and
|
|
65
|
+
the download, installation, and/or use of the Software. Except as expressly
|
|
66
|
+
stated herein, these Terms of Use constitute the entire agreement between
|
|
67
|
+
the parties, and supersede all prior and contemporaneous agreements,
|
|
68
|
+
proposals, or representations, written or oral, concerning their subject
|
|
69
|
+
matter. No modification, amendment, or waiver of any provision of these
|
|
70
|
+
Terms of Use shall be effective unless it is by an update to these Terms of
|
|
71
|
+
Use that Salesforce makes available, or is in writing and signed by the
|
|
72
|
+
party against whom the modification, amendment, or waiver is to be
|
|
73
|
+
asserted.
|
|
74
|
+
|
|
75
|
+
Data Privacy: Salesforce may collect, process, and store device,
|
|
76
|
+
system, and other information related to your use of the Software. This
|
|
77
|
+
information includes, but is not limited to, IP address, user metrics, and
|
|
78
|
+
other data ("Usage Data"). Salesforce may use Usage Data for analytics,
|
|
79
|
+
product development, and marketing purposes. You acknowledge that files
|
|
80
|
+
generated in conjunction with the Software may contain sensitive or
|
|
81
|
+
confidential data, and you are solely responsible for anonymizing and
|
|
82
|
+
protecting such data.
|
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# @salesforce/ui-theme-manager
|
|
2
|
+
|
|
3
|
+
Theme management system for Salesforce UI Bundles.
|
|
4
|
+
|
|
5
|
+
## Status
|
|
6
|
+
|
|
7
|
+
🚧 **Under Construction** — Package skeleton only. Feature implementation coming soon.
|
|
8
|
+
|
|
9
|
+
## Package Structure
|
|
10
|
+
|
|
11
|
+
- `/protocol` — Node dual ESM+CJS entry for protocol definitions
|
|
12
|
+
- `/authoring/react` — React authoring components (ESM-only)
|
|
13
|
+
- `/authoring/web-component` — Web Component authoring interface (ESM-only)
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install @salesforce/ui-theme-manager
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { PROTOCOL_VERSION } from "@salesforce/ui-theme-manager/protocol";
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## License
|
|
28
|
+
|
|
29
|
+
See LICENSE.txt
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PanelLabels } from './labels.cjs';
|
|
3
|
+
import { Brand } from '../../protocol.cjs';
|
|
4
|
+
/**
|
|
5
|
+
* Props for the host-neutral Brand Manager panel root component.
|
|
6
|
+
*/
|
|
7
|
+
export interface ThemeManagerPanelProps {
|
|
8
|
+
/** All available brands (org brands). */
|
|
9
|
+
brands: Brand[];
|
|
10
|
+
/** Local brands saved to workspace. */
|
|
11
|
+
localBrands: Brand[];
|
|
12
|
+
/** Currently active brand ID (typically the sfdc_cms:title or a unique key). */
|
|
13
|
+
activeBrandId: string;
|
|
14
|
+
/** Active tab: "local" or "org". */
|
|
15
|
+
activeTab: "local" | "org";
|
|
16
|
+
/** Localized UI strings. Optional: omit for English defaults. */
|
|
17
|
+
labels?: Partial<PanelLabels>;
|
|
18
|
+
/** Loading state for async brand search. */
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
/** Error message for failed brand fetch. */
|
|
21
|
+
error?: string;
|
|
22
|
+
/** User selected a brand from the gallery. */
|
|
23
|
+
onSelectBrand: (brandId: string) => void;
|
|
24
|
+
/** User triggered an async brand search (debounced by host). */
|
|
25
|
+
onSearchBrands: (query: string) => void;
|
|
26
|
+
/** User changed a brand property. path is a dotted path like "colorScheme.primaryAccent". */
|
|
27
|
+
onUpdateBrandProperty: (section: string, path: string, value: unknown) => void;
|
|
28
|
+
/** User clicked the save button. */
|
|
29
|
+
onSaveBrand: (mode: "workspace") => void;
|
|
30
|
+
/** User switched tabs. */
|
|
31
|
+
onSelectTab: (tab: "local" | "org") => void;
|
|
32
|
+
/** User clicked refresh on local tab. */
|
|
33
|
+
onRefreshLocal: () => void;
|
|
34
|
+
/** User clicked "Apply theme via Agentforce Vibes". */
|
|
35
|
+
onApplyVibes?: () => void;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Host-neutral React component for the Brand Manager control panel.
|
|
39
|
+
* Takes all host interaction as props/callbacks. Imports NO vscode/window/i18n.
|
|
40
|
+
* Themes via `--tm-*` CSS tokens. Localizes via a `labels` prop.
|
|
41
|
+
*/
|
|
42
|
+
export declare const ThemeManagerPanelRoot: React.ForwardRefExoticComponent<ThemeManagerPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
//# sourceMappingURL=ThemeManagerPanelRoot.d.ts.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PanelLabels } from './labels.js';
|
|
3
|
+
import { Brand } from '../../protocol.js';
|
|
4
|
+
/**
|
|
5
|
+
* Props for the host-neutral Brand Manager panel root component.
|
|
6
|
+
*/
|
|
7
|
+
export interface ThemeManagerPanelProps {
|
|
8
|
+
/** All available brands (org brands). */
|
|
9
|
+
brands: Brand[];
|
|
10
|
+
/** Local brands saved to workspace. */
|
|
11
|
+
localBrands: Brand[];
|
|
12
|
+
/** Currently active brand ID (typically the sfdc_cms:title or a unique key). */
|
|
13
|
+
activeBrandId: string;
|
|
14
|
+
/** Active tab: "local" or "org". */
|
|
15
|
+
activeTab: "local" | "org";
|
|
16
|
+
/** Localized UI strings. Optional: omit for English defaults. */
|
|
17
|
+
labels?: Partial<PanelLabels>;
|
|
18
|
+
/** Loading state for async brand search. */
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
/** Error message for failed brand fetch. */
|
|
21
|
+
error?: string;
|
|
22
|
+
/** User selected a brand from the gallery. */
|
|
23
|
+
onSelectBrand: (brandId: string) => void;
|
|
24
|
+
/** User triggered an async brand search (debounced by host). */
|
|
25
|
+
onSearchBrands: (query: string) => void;
|
|
26
|
+
/** User changed a brand property. path is a dotted path like "colorScheme.primaryAccent". */
|
|
27
|
+
onUpdateBrandProperty: (section: string, path: string, value: unknown) => void;
|
|
28
|
+
/** User clicked the save button. */
|
|
29
|
+
onSaveBrand: (mode: "workspace") => void;
|
|
30
|
+
/** User switched tabs. */
|
|
31
|
+
onSelectTab: (tab: "local" | "org") => void;
|
|
32
|
+
/** User clicked refresh on local tab. */
|
|
33
|
+
onRefreshLocal: () => void;
|
|
34
|
+
/** User clicked "Apply theme via Agentforce Vibes". */
|
|
35
|
+
onApplyVibes?: () => void;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Host-neutral React component for the Brand Manager control panel.
|
|
39
|
+
* Takes all host interaction as props/callbacks. Imports NO vscode/window/i18n.
|
|
40
|
+
* Themes via `--tm-*` CSS tokens. Localizes via a `labels` prop.
|
|
41
|
+
*/
|
|
42
|
+
export declare const ThemeManagerPanelRoot: React.ForwardRefExoticComponent<ThemeManagerPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
//# sourceMappingURL=ThemeManagerPanelRoot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeManagerPanelRoot.d.ts","sourceRoot":"","sources":["../../../src/authoring/core/ThemeManagerPanelRoot.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,EAAqB,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACtC,yCAAyC;IACzC,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,uCAAuC;IACvC,WAAW,EAAE,KAAK,EAAE,CAAC;IACrB,gFAAgF;IAChF,aAAa,EAAE,MAAM,CAAC;IACtB,oCAAoC;IACpC,SAAS,EAAE,OAAO,GAAG,KAAK,CAAC;IAC3B,iEAAiE;IACjE,MAAM,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAC9B,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8CAA8C;IAC9C,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,gEAAgE;IAChE,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,6FAA6F;IAC7F,qBAAqB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/E,oCAAoC;IACpC,WAAW,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACzC,0BAA0B;IAC1B,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,KAAK,KAAK,IAAI,CAAC;IAC5C,yCAAyC;IACzC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,+FA2LjC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Brand } from '../../../protocol.cjs';
|
|
2
|
+
import { PanelLabels } from '../labels.cjs';
|
|
3
|
+
export interface AssetsSectionProps {
|
|
4
|
+
brand: Brand;
|
|
5
|
+
labels: PanelLabels["assets"];
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Read-only "Assets" section: shows the brand's logo URL. The logo is an
|
|
9
|
+
* incoming, non-editable brand property, so this section only displays it.
|
|
10
|
+
*/
|
|
11
|
+
export declare function AssetsSection({ brand, labels }: AssetsSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=AssetsSection.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Brand } from '../../../protocol.js';
|
|
2
|
+
import { PanelLabels } from '../labels.js';
|
|
3
|
+
export interface AssetsSectionProps {
|
|
4
|
+
brand: Brand;
|
|
5
|
+
labels: PanelLabels["assets"];
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Read-only "Assets" section: shows the brand's logo URL. The logo is an
|
|
9
|
+
* incoming, non-editable brand property, so this section only displays it.
|
|
10
|
+
*/
|
|
11
|
+
export declare function AssetsSection({ brand, labels }: AssetsSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=AssetsSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssetsSection.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/components/AssetsSection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,WAAW,kBAAkB;IAClC,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;CAC9B;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAsBlE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Brand, BrandDimension } from '../../../protocol.cjs';
|
|
2
|
+
import { PanelLabels } from '../labels.cjs';
|
|
3
|
+
export interface BordersSectionProps {
|
|
4
|
+
brand: Brand;
|
|
5
|
+
labels: PanelLabels["borders"];
|
|
6
|
+
onChange: (path: string, value: BrandDimension) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function BordersSection({ brand, labels, onChange }: BordersSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=BordersSection.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Brand, BrandDimension } from '../../../protocol.js';
|
|
2
|
+
import { PanelLabels } from '../labels.js';
|
|
3
|
+
export interface BordersSectionProps {
|
|
4
|
+
brand: Brand;
|
|
5
|
+
labels: PanelLabels["borders"];
|
|
6
|
+
onChange: (path: string, value: BrandDimension) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function BordersSection({ brand, labels, onChange }: BordersSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=BordersSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BordersSection.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/components/BordersSection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,WAAW,mBAAmB;IACnC,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAC/B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CACxD;AA0DD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,mBAAmB,2CAwE9E"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Brand } from '../../../protocol.cjs';
|
|
2
|
+
import { PanelLabels } from '../labels.cjs';
|
|
3
|
+
export interface ButtonSectionProps {
|
|
4
|
+
brand: Brand;
|
|
5
|
+
labels: PanelLabels["buttons"];
|
|
6
|
+
onChange: (path: string, value: string) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function ButtonSection({ brand, labels, onChange }: ButtonSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=ButtonSection.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Brand } from '../../../protocol.js';
|
|
2
|
+
import { PanelLabels } from '../labels.js';
|
|
3
|
+
export interface ButtonSectionProps {
|
|
4
|
+
brand: Brand;
|
|
5
|
+
labels: PanelLabels["buttons"];
|
|
6
|
+
onChange: (path: string, value: string) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function ButtonSection({ brand, labels, onChange }: ButtonSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=ButtonSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonSection.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/components/ButtonSection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,WAAW,kBAAkB;IAClC,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAC/B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD;AAUD,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CA2F5E"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PanelLabels } from '../labels.cjs';
|
|
2
|
+
export interface ColorEditorsProps {
|
|
3
|
+
colorScheme: Record<string, string>;
|
|
4
|
+
labels: PanelLabels["colors"];
|
|
5
|
+
onChange: (path: string, value: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function ColorEditors({ colorScheme, labels, onChange }: ColorEditorsProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=ColorEditors.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PanelLabels } from '../labels.js';
|
|
2
|
+
export interface ColorEditorsProps {
|
|
3
|
+
colorScheme: Record<string, string>;
|
|
4
|
+
labels: PanelLabels["colors"];
|
|
5
|
+
onChange: (path: string, value: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function ColorEditors({ colorScheme, labels, onChange }: ColorEditorsProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=ColorEditors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorEditors.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/components/ColorEditors.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,WAAW,iBAAiB;IACjC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC9B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD;AAED,wBAAgB,YAAY,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CA4BhF"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.,
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* For full license text, see the LICENSE.txt file
|
|
5
|
+
*/
|
|
6
|
+
/** Parse a hex string (with or without #) into { r, g, b, a } (0-255, a: 0-1). Returns null if invalid. */
|
|
7
|
+
export declare function parseHex(hex: string): {
|
|
8
|
+
r: number;
|
|
9
|
+
g: number;
|
|
10
|
+
b: number;
|
|
11
|
+
a: number;
|
|
12
|
+
} | null;
|
|
13
|
+
/** Convert rgba components (r,g,b: 0-255; a: 0-1) to #RRGGBBAA. */
|
|
14
|
+
export declare function rgbaToHex(r: number, g: number, b: number, a: number): string;
|
|
15
|
+
export interface ColorFieldProps {
|
|
16
|
+
/** Unique key used to derive input ids and aria labels. */
|
|
17
|
+
fieldKey: string;
|
|
18
|
+
/** Visible field label (e.g. "Background"). */
|
|
19
|
+
label: string;
|
|
20
|
+
/** Current color value as a hex string (6- or 8-digit). */
|
|
21
|
+
value: string;
|
|
22
|
+
/** Called with the new #RRGGBBAA hex whenever the color or opacity changes. */
|
|
23
|
+
onChange: (value: string) => void;
|
|
24
|
+
/** Localized label for the opacity slider. */
|
|
25
|
+
opacityLabel: string;
|
|
26
|
+
/** Localized label for the hex input. */
|
|
27
|
+
hexLabel: string;
|
|
28
|
+
/**
|
|
29
|
+
* When provided, renders a link icon in the card's top-right corner that,
|
|
30
|
+
* when clicked, re-links this field to its source (e.g. a button color back
|
|
31
|
+
* to the brand color it inherits from). Omit to hide the icon entirely —
|
|
32
|
+
* brand color fields, which have no source to link back to, leave it unset.
|
|
33
|
+
*/
|
|
34
|
+
onLink?: () => void;
|
|
35
|
+
/** Localized accessible label / tooltip for the link icon (required when `onLink` is set). */
|
|
36
|
+
linkLabel?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A single color field: native picker + swatch, opacity slider, and a hex input,
|
|
40
|
+
* grouped in one container. Values round-trip through #RRGGBBAA so the alpha
|
|
41
|
+
* channel is preserved. Shared by the brand color and button color editors so
|
|
42
|
+
* both offer the same picker + opacity UX.
|
|
43
|
+
*/
|
|
44
|
+
export declare function ColorField({ fieldKey, label, value, onChange, opacityLabel, hexLabel, onLink, linkLabel, }: ColorFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
//# sourceMappingURL=ColorField.d.ts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.,
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* For full license text, see the LICENSE.txt file
|
|
5
|
+
*/
|
|
6
|
+
/** Parse a hex string (with or without #) into { r, g, b, a } (0-255, a: 0-1). Returns null if invalid. */
|
|
7
|
+
export declare function parseHex(hex: string): {
|
|
8
|
+
r: number;
|
|
9
|
+
g: number;
|
|
10
|
+
b: number;
|
|
11
|
+
a: number;
|
|
12
|
+
} | null;
|
|
13
|
+
/** Convert rgba components (r,g,b: 0-255; a: 0-1) to #RRGGBBAA. */
|
|
14
|
+
export declare function rgbaToHex(r: number, g: number, b: number, a: number): string;
|
|
15
|
+
export interface ColorFieldProps {
|
|
16
|
+
/** Unique key used to derive input ids and aria labels. */
|
|
17
|
+
fieldKey: string;
|
|
18
|
+
/** Visible field label (e.g. "Background"). */
|
|
19
|
+
label: string;
|
|
20
|
+
/** Current color value as a hex string (6- or 8-digit). */
|
|
21
|
+
value: string;
|
|
22
|
+
/** Called with the new #RRGGBBAA hex whenever the color or opacity changes. */
|
|
23
|
+
onChange: (value: string) => void;
|
|
24
|
+
/** Localized label for the opacity slider. */
|
|
25
|
+
opacityLabel: string;
|
|
26
|
+
/** Localized label for the hex input. */
|
|
27
|
+
hexLabel: string;
|
|
28
|
+
/**
|
|
29
|
+
* When provided, renders a link icon in the card's top-right corner that,
|
|
30
|
+
* when clicked, re-links this field to its source (e.g. a button color back
|
|
31
|
+
* to the brand color it inherits from). Omit to hide the icon entirely —
|
|
32
|
+
* brand color fields, which have no source to link back to, leave it unset.
|
|
33
|
+
*/
|
|
34
|
+
onLink?: () => void;
|
|
35
|
+
/** Localized accessible label / tooltip for the link icon (required when `onLink` is set). */
|
|
36
|
+
linkLabel?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A single color field: native picker + swatch, opacity slider, and a hex input,
|
|
40
|
+
* grouped in one container. Values round-trip through #RRGGBBAA so the alpha
|
|
41
|
+
* channel is preserved. Shared by the brand color and button color editors so
|
|
42
|
+
* both offer the same picker + opacity UX.
|
|
43
|
+
*/
|
|
44
|
+
export declare function ColorField({ fieldKey, label, value, onChange, opacityLabel, hexLabel, onLink, linkLabel, }: ColorFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
//# sourceMappingURL=ColorField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorField.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/components/ColorField.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,2GAA2G;AAC3G,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CA4B3F;AAED,mEAAmE;AACnE,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAQ5E;AAED,MAAM,WAAW,eAAe;IAC/B,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,CAAC;IACjB,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,+EAA+E;IAC/E,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,8CAA8C;IAC9C,YAAY,EAAE,MAAM,CAAC;IACrB,yCAAyC;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,8FAA8F;IAC9F,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AA2BD;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EAC1B,QAAQ,EACR,KAAK,EACL,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,SAAS,GACT,EAAE,eAAe,2CAgJjB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PanelLabels } from '../labels.cjs';
|
|
2
|
+
export interface SaveBarProps {
|
|
3
|
+
labels: PanelLabels["save"];
|
|
4
|
+
onSave: () => void;
|
|
5
|
+
onApplyVibes?: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function SaveBar({ labels, onSave, onApplyVibes }: SaveBarProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=SaveBar.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PanelLabels } from '../labels.js';
|
|
2
|
+
export interface SaveBarProps {
|
|
3
|
+
labels: PanelLabels["save"];
|
|
4
|
+
onSave: () => void;
|
|
5
|
+
onApplyVibes?: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function SaveBar({ labels, onSave, onApplyVibes }: SaveBarProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=SaveBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SaveBar.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/components/SaveBar.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,WAAW,YAAY;IAC5B,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC5B,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,YAAY,2CAarE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.,
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* For full license text, see the LICENSE.txt file
|
|
5
|
+
*/
|
|
6
|
+
export interface SearchBoxProps {
|
|
7
|
+
value: string;
|
|
8
|
+
onChange: (value: string) => void;
|
|
9
|
+
onSearch: (value: string) => void;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
buttonLabel: string;
|
|
12
|
+
minLength: number;
|
|
13
|
+
minLengthHint: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function SearchBox({ value, onChange, onSearch, placeholder, buttonLabel, minLength, minLengthHint, }: SearchBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=SearchBox.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.,
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* For full license text, see the LICENSE.txt file
|
|
5
|
+
*/
|
|
6
|
+
export interface SearchBoxProps {
|
|
7
|
+
value: string;
|
|
8
|
+
onChange: (value: string) => void;
|
|
9
|
+
onSearch: (value: string) => void;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
buttonLabel: string;
|
|
12
|
+
minLength: number;
|
|
13
|
+
minLengthHint: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function SearchBox({ value, onChange, onSearch, placeholder, buttonLabel, minLength, minLengthHint, }: SearchBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=SearchBox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchBox.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/components/SearchBox.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,MAAM,WAAW,cAAc;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,SAAS,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAW,EACX,SAAS,EACT,aAAa,GACb,EAAE,cAAc,2CAiDhB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.,
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* For full license text, see the LICENSE.txt file
|
|
5
|
+
*/
|
|
6
|
+
export interface TabSwitcherProps {
|
|
7
|
+
activeTab: "local" | "org";
|
|
8
|
+
onSelectTab: (tab: "local" | "org") => void;
|
|
9
|
+
localLabel: string;
|
|
10
|
+
orgLabel: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function TabSwitcher({ activeTab, onSelectTab, localLabel, orgLabel }: TabSwitcherProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=TabSwitcher.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.,
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* For full license text, see the LICENSE.txt file
|
|
5
|
+
*/
|
|
6
|
+
export interface TabSwitcherProps {
|
|
7
|
+
activeTab: "local" | "org";
|
|
8
|
+
onSelectTab: (tab: "local" | "org") => void;
|
|
9
|
+
localLabel: string;
|
|
10
|
+
orgLabel: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function TabSwitcher({ activeTab, onSelectTab, localLabel, orgLabel }: TabSwitcherProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=TabSwitcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabSwitcher.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/components/TabSwitcher.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,gBAAgB;IAChC,SAAS,EAAE,OAAO,GAAG,KAAK,CAAC;IAC3B,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,KAAK,KAAK,IAAI,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,gBAAgB,2CAuB7F"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Brand } from '../../../protocol.cjs';
|
|
2
|
+
export interface BrandGalleryProps {
|
|
3
|
+
brands: Brand[];
|
|
4
|
+
activeBrandId: string;
|
|
5
|
+
onSelectBrand: (brandId: string) => void;
|
|
6
|
+
noResultsLabel: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function BrandGallery({ brands, activeBrandId, onSelectBrand, noResultsLabel, }: BrandGalleryProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=ThemeGallery.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Brand } from '../../../protocol.js';
|
|
2
|
+
export interface BrandGalleryProps {
|
|
3
|
+
brands: Brand[];
|
|
4
|
+
activeBrandId: string;
|
|
5
|
+
onSelectBrand: (brandId: string) => void;
|
|
6
|
+
noResultsLabel: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function BrandGallery({ brands, activeBrandId, onSelectBrand, noResultsLabel, }: BrandGalleryProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=ThemeGallery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeGallery.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/components/ThemeGallery.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG/C,MAAM,WAAW,iBAAiB;IACjC,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,cAAc,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,YAAY,CAAC,EAC5B,MAAM,EACN,aAAa,EACb,aAAa,EACb,cAAc,GACd,EAAE,iBAAiB,2CA8DnB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Brand } from '../../../protocol.cjs';
|
|
2
|
+
import { PanelLabels } from '../labels.cjs';
|
|
3
|
+
export interface TypographySectionProps {
|
|
4
|
+
brand: Brand;
|
|
5
|
+
labels: PanelLabels["typography"];
|
|
6
|
+
onChange: (path: string, value: unknown) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function TypographySection({ brand, labels, onChange }: TypographySectionProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=TypographySection.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Brand } from '../../../protocol.js';
|
|
2
|
+
import { PanelLabels } from '../labels.js';
|
|
3
|
+
export interface TypographySectionProps {
|
|
4
|
+
brand: Brand;
|
|
5
|
+
labels: PanelLabels["typography"];
|
|
6
|
+
onChange: (path: string, value: unknown) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function TypographySection({ brand, labels, onChange }: TypographySectionProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=TypographySection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypographySection.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/components/TypographySection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAgBH,OAAO,KAAK,EAAE,KAAK,EAAkB,MAAM,mBAAmB,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,WAAW,sBAAsB;IACtC,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IAClC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACjD;AAiED,wBAAgB,iBAAiB,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,sBAAsB,2CA2JpF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.,
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* For full license text, see the LICENSE.txt file
|
|
5
|
+
*/
|
|
6
|
+
export { ThemeManagerPanelRoot, type ThemeManagerPanelProps } from './ThemeManagerPanelRoot.cjs';
|
|
7
|
+
export { type PanelLabels, EN_LABELS, mergeLabels } from './labels.cjs';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, Salesforce, Inc.,
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* For full license text, see the LICENSE.txt file
|
|
5
|
+
*/
|
|
6
|
+
export { ThemeManagerPanelRoot, type ThemeManagerPanelProps } from './ThemeManagerPanelRoot.js';
|
|
7
|
+
export { type PanelLabels, EN_LABELS, mergeLabels } from './labels.js';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/authoring/core/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,qBAAqB,EAAE,KAAK,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,KAAK,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|