fansunited-management-components 1.52.0 → 1.52.1-RC1
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/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { IBranding } from '../../models/IBranding';
|
|
2
3
|
|
|
3
4
|
type BrandingProps = {
|
|
4
5
|
labels: any;
|
|
5
|
-
defaultValue:
|
|
6
|
+
defaultValue: IBranding | null;
|
|
6
7
|
onChange: (value: any) => void;
|
|
7
8
|
};
|
|
8
9
|
/**
|
|
9
10
|
* Branding editor with tabs for Images, Colors, and URLs. Designed for management UIs.
|
|
10
11
|
*
|
|
11
12
|
* @property {object} labels - Custom labels used throughout the tabs.
|
|
12
|
-
* @property {
|
|
13
|
+
* @property {IBranding | null} defaultValue - Initial branding structure with `images`, `colors`, `urls`.
|
|
13
14
|
* @property {(value: any) => void} onChange - Called with the updated branding value.
|
|
14
15
|
*/
|
|
15
16
|
declare const Branding: React.FC<BrandingProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Branding.d.ts","sourceRoot":"","sources":["../../../../src/components/Branding/Branding.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Branding.d.ts","sourceRoot":"","sources":["../../../../src/components/Branding/Branding.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAQxC,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAoCnD,KAAK,aAAa,GAAG;IACpB,MAAM,EAAE,GAAG,CAAC;IACZ,YAAY,EAAE,SAAS,GAAG,IAAI,CAAC;IAC/B,QAAQ,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAC/B,CAAC;AAEF;;;;;;GAMG;AACH,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAiJrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -101,7 +101,7 @@ export declare const components: {
|
|
|
101
101
|
*/
|
|
102
102
|
readonly Branding: import('react').FC<{
|
|
103
103
|
labels: any;
|
|
104
|
-
defaultValue:
|
|
104
|
+
defaultValue: import('../models/IBranding').IBranding | null;
|
|
105
105
|
onChange: (value: any) => void;
|
|
106
106
|
}>;
|
|
107
107
|
/**
|
|
@@ -77,7 +77,7 @@ declare const ComponentContext: React.Context<{
|
|
|
77
77
|
}>;
|
|
78
78
|
readonly Branding: React.FC<{
|
|
79
79
|
labels: any;
|
|
80
|
-
defaultValue:
|
|
80
|
+
defaultValue: import('../models/IBranding').IBranding | null;
|
|
81
81
|
onChange: (value: any) => void;
|
|
82
82
|
}>;
|
|
83
83
|
readonly ProfileSearchSelect: React.FC<{
|