@pixelated-tech/components 3.3.0 → 3.3.1
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.COMPONENTS.md +232 -2
- package/README.md +133 -27
- package/dist/components/cms/cloudinary.image.js +1 -0
- package/dist/components/cms/wordpress.components.js +1 -0
- package/dist/components/general/sidepanel.js +1 -1
- package/dist/components/menu/menu-accordion.css +10 -0
- package/dist/components/menu/menu-accordion.js +2 -1
- package/dist/components/menu/menu-simple.css +0 -7
- package/dist/components/sitebuilder/config/CompoundFontSelector.css +25 -0
- package/dist/components/sitebuilder/config/CompoundFontSelector.js +41 -0
- package/dist/components/sitebuilder/config/ConfigBuilder.css +11 -0
- package/dist/components/sitebuilder/config/ConfigBuilder.js +188 -29
- package/dist/components/sitebuilder/config/ConfigEngine.js +82 -0
- package/dist/components/sitebuilder/config/FontSelector.css +82 -0
- package/dist/components/sitebuilder/config/FontSelector.js +115 -0
- package/dist/components/sitebuilder/config/google-fonts.js +112 -0
- package/dist/components/sitebuilder/form/formbuilder.js +1 -0
- package/dist/components/sitebuilder/form/formcomponents.js +28 -4
- package/dist/components/structured/markdown.js +1 -0
- package/dist/components/structured/recipe.js +1 -0
- package/dist/components/structured/timeline.js +1 -0
- package/dist/css/pixelated.global.css +0 -35
- package/dist/css/pixelated.grid.scss +4 -0
- package/dist/css/pixelated.visualdesign.scss +88 -0
- package/dist/data/routes.json +32 -1
- package/dist/data/visualdesignform.json +244 -0
- package/dist/index.js +4 -0
- package/dist/index.server.js +3 -3
- package/dist/types/components/cms/cloudinary.image.d.ts.map +1 -1
- package/dist/types/components/cms/wordpress.components.d.ts.map +1 -1
- package/dist/types/components/menu/menu-accordion.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/config/CompoundFontSelector.d.ts +23 -0
- package/dist/types/components/sitebuilder/config/CompoundFontSelector.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts +270 -2
- package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/config/ConfigEngine.d.ts +10 -0
- package/dist/types/components/sitebuilder/config/ConfigEngine.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/config/FontSelector.d.ts +27 -0
- package/dist/types/components/sitebuilder/config/FontSelector.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/config/google-fonts.d.ts +41 -0
- package/dist/types/components/sitebuilder/config/google-fonts.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/form/formbuilder.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/form/formcomponents.d.ts +3 -1
- package/dist/types/components/sitebuilder/form/formcomponents.d.ts.map +1 -1
- package/dist/types/components/structured/markdown.d.ts.map +1 -1
- package/dist/types/components/structured/recipe.d.ts.map +1 -1
- package/dist/types/components/structured/timeline.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.server.d.ts +3 -3
- package/dist/types/stories/sitebuilder/compoundfontselector.stories.d.ts +51 -0
- package/dist/types/stories/sitebuilder/compoundfontselector.stories.d.ts.map +1 -0
- package/dist/types/stories/sitebuilder/configbuilder.stories.d.ts +55 -0
- package/dist/types/stories/sitebuilder/configbuilder.stories.d.ts.map +1 -1
- package/dist/types/tests/compoundfontselector.test.d.ts +2 -0
- package/dist/types/tests/compoundfontselector.test.d.ts.map +1 -0
- package/dist/types/tests/configengine.test.d.ts +2 -0
- package/dist/types/tests/configengine.test.d.ts.map +1 -0
- package/dist/types/tests/fontselector.test.d.ts +2 -0
- package/dist/types/tests/fontselector.test.d.ts.map +1 -0
- package/package.json +11 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudinary.image.d.ts","sourceRoot":"","sources":["../../../../src/components/cms/cloudinary.image.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cloudinary.image.d.ts","sourceRoot":"","sources":["../../../../src/components/cms/cloudinary.image.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAmDnD,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;CAuB1B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,GAAG,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AACnH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CAkIhD;yBAlIe,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wordpress.components.d.ts","sourceRoot":"","sources":["../../../../src/components/cms/wordpress.components.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wordpress.components.d.ts","sourceRoot":"","sources":["../../../../src/components/cms/wordpress.components.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAI1D,OAAO,iBAAiB,CAAC;AAWzB,wBAAgB,YAAY,CAAC,KAAK,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;IAAC,cAAc,CAAC,EAAE,OAAO,CAAA;CAAE,2CAmDxI;AAGD,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,GAAG;IAAE,cAAc,CAAC,EAAE,OAAO,CAAA;CAAE,2CAiDjF;AAID,wBAAgB,kBAAkB,CAAC,KAAK,EAAE;IAAE,UAAU,EAAE,MAAM,EAAE,CAAA;CAAE,kDA0BjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-accordion.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu-accordion.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"menu-accordion.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu-accordion.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,sBAAsB,CAAC;AAI9B,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,QAAQ,EAAE,MAAM,IAAI,CAAC;KACrB;CACD;AAED,MAAM,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC;CACpB,CAAA;AAmCD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CAyGrD;yBAzGe,aAAa;;;;;;AAoH7B,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACrF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,sBAAsB,2CAO/D;yBAPe,kBAAkB;;;;;;AAkBlC,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,2CAQ7D;yBARe,iBAAiB;;;;;;;AAoBjC,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;AACvF,wBAAgB,mBAAmB,4CAmBlC;yBAnBe,mBAAmB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import './CompoundFontSelector.css';
|
|
3
|
+
interface CompoundFontSelectorProps {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
label: string;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
value?: string;
|
|
9
|
+
onChange?: (value: string) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function CompoundFontSelector({ id, name, label, required, value, onChange }: CompoundFontSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare namespace CompoundFontSelector {
|
|
13
|
+
var propTypes: {
|
|
14
|
+
id: PropTypes.Validator<string>;
|
|
15
|
+
name: PropTypes.Validator<string>;
|
|
16
|
+
label: PropTypes.Validator<string>;
|
|
17
|
+
required: PropTypes.Requireable<boolean>;
|
|
18
|
+
value: PropTypes.Requireable<string>;
|
|
19
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=CompoundFontSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompoundFontSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/CompoundFontSelector.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,4BAA4B,CAAC;AAEpC,UAAU,yBAAyB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,wBAAgB,oBAAoB,CAAC,EACpC,EAAE,EACF,IAAI,EACJ,KAAK,EACL,QAAgB,EAChB,KAAU,EACV,QAAQ,EACR,EAAE,yBAAyB,2CAoE3B;yBA3Ee,oBAAoB"}
|
|
@@ -36,11 +36,145 @@ declare const ConfigBuilderPropTypes: {
|
|
|
36
36
|
title: PropTypes.Requireable<string>;
|
|
37
37
|
description: PropTypes.Requireable<string>;
|
|
38
38
|
}>>[]>;
|
|
39
|
+
visualdesign: PropTypes.Requireable<PropTypes.InferProps<{
|
|
40
|
+
'primary-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
41
|
+
value: PropTypes.Validator<string>;
|
|
42
|
+
type: PropTypes.Validator<string>;
|
|
43
|
+
group: PropTypes.Validator<string>;
|
|
44
|
+
label: PropTypes.Validator<string>;
|
|
45
|
+
}>>>;
|
|
46
|
+
'secondary-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
47
|
+
value: PropTypes.Validator<string>;
|
|
48
|
+
type: PropTypes.Validator<string>;
|
|
49
|
+
group: PropTypes.Validator<string>;
|
|
50
|
+
label: PropTypes.Validator<string>;
|
|
51
|
+
}>>>;
|
|
52
|
+
'accent1-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
53
|
+
value: PropTypes.Validator<string>;
|
|
54
|
+
type: PropTypes.Validator<string>;
|
|
55
|
+
group: PropTypes.Validator<string>;
|
|
56
|
+
label: PropTypes.Validator<string>;
|
|
57
|
+
}>>>;
|
|
58
|
+
'accent2-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
59
|
+
value: PropTypes.Validator<string>;
|
|
60
|
+
type: PropTypes.Validator<string>;
|
|
61
|
+
group: PropTypes.Validator<string>;
|
|
62
|
+
label: PropTypes.Validator<string>;
|
|
63
|
+
}>>>;
|
|
64
|
+
'bg-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
65
|
+
value: PropTypes.Validator<string>;
|
|
66
|
+
type: PropTypes.Validator<string>;
|
|
67
|
+
group: PropTypes.Validator<string>;
|
|
68
|
+
label: PropTypes.Validator<string>;
|
|
69
|
+
}>>>;
|
|
70
|
+
'text-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
71
|
+
value: PropTypes.Validator<string>;
|
|
72
|
+
type: PropTypes.Validator<string>;
|
|
73
|
+
group: PropTypes.Validator<string>;
|
|
74
|
+
label: PropTypes.Validator<string>;
|
|
75
|
+
}>>>;
|
|
76
|
+
'header-font': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
77
|
+
value: PropTypes.Validator<string>;
|
|
78
|
+
type: PropTypes.Validator<string>;
|
|
79
|
+
group: PropTypes.Validator<string>;
|
|
80
|
+
label: PropTypes.Validator<string>;
|
|
81
|
+
}>>>;
|
|
82
|
+
'body-font': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
83
|
+
value: PropTypes.Validator<string>;
|
|
84
|
+
type: PropTypes.Validator<string>;
|
|
85
|
+
group: PropTypes.Validator<string>;
|
|
86
|
+
label: PropTypes.Validator<string>;
|
|
87
|
+
}>>>;
|
|
88
|
+
'font-size1-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
89
|
+
value: PropTypes.Validator<string>;
|
|
90
|
+
type: PropTypes.Validator<string>;
|
|
91
|
+
group: PropTypes.Validator<string>;
|
|
92
|
+
label: PropTypes.Validator<string>;
|
|
93
|
+
}>>>;
|
|
94
|
+
'font-size1-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
95
|
+
value: PropTypes.Validator<string>;
|
|
96
|
+
type: PropTypes.Validator<string>;
|
|
97
|
+
group: PropTypes.Validator<string>;
|
|
98
|
+
label: PropTypes.Validator<string>;
|
|
99
|
+
}>>>;
|
|
100
|
+
'font-size2-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
101
|
+
value: PropTypes.Validator<string>;
|
|
102
|
+
type: PropTypes.Validator<string>;
|
|
103
|
+
group: PropTypes.Validator<string>;
|
|
104
|
+
label: PropTypes.Validator<string>;
|
|
105
|
+
}>>>;
|
|
106
|
+
'font-size2-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
107
|
+
value: PropTypes.Validator<string>;
|
|
108
|
+
type: PropTypes.Validator<string>;
|
|
109
|
+
group: PropTypes.Validator<string>;
|
|
110
|
+
label: PropTypes.Validator<string>;
|
|
111
|
+
}>>>;
|
|
112
|
+
'font-size3-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
113
|
+
value: PropTypes.Validator<string>;
|
|
114
|
+
type: PropTypes.Validator<string>;
|
|
115
|
+
group: PropTypes.Validator<string>;
|
|
116
|
+
label: PropTypes.Validator<string>;
|
|
117
|
+
}>>>;
|
|
118
|
+
'font-size3-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
119
|
+
value: PropTypes.Validator<string>;
|
|
120
|
+
type: PropTypes.Validator<string>;
|
|
121
|
+
group: PropTypes.Validator<string>;
|
|
122
|
+
label: PropTypes.Validator<string>;
|
|
123
|
+
}>>>;
|
|
124
|
+
'font-size4-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
125
|
+
value: PropTypes.Validator<string>;
|
|
126
|
+
type: PropTypes.Validator<string>;
|
|
127
|
+
group: PropTypes.Validator<string>;
|
|
128
|
+
label: PropTypes.Validator<string>;
|
|
129
|
+
}>>>;
|
|
130
|
+
'font-size4-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
131
|
+
value: PropTypes.Validator<string>;
|
|
132
|
+
type: PropTypes.Validator<string>;
|
|
133
|
+
group: PropTypes.Validator<string>;
|
|
134
|
+
label: PropTypes.Validator<string>;
|
|
135
|
+
}>>>;
|
|
136
|
+
'font-size5-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
137
|
+
value: PropTypes.Validator<string>;
|
|
138
|
+
type: PropTypes.Validator<string>;
|
|
139
|
+
group: PropTypes.Validator<string>;
|
|
140
|
+
label: PropTypes.Validator<string>;
|
|
141
|
+
}>>>;
|
|
142
|
+
'font-size5-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
143
|
+
value: PropTypes.Validator<string>;
|
|
144
|
+
type: PropTypes.Validator<string>;
|
|
145
|
+
group: PropTypes.Validator<string>;
|
|
146
|
+
label: PropTypes.Validator<string>;
|
|
147
|
+
}>>>;
|
|
148
|
+
'font-size6-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
149
|
+
value: PropTypes.Validator<string>;
|
|
150
|
+
type: PropTypes.Validator<string>;
|
|
151
|
+
group: PropTypes.Validator<string>;
|
|
152
|
+
label: PropTypes.Validator<string>;
|
|
153
|
+
}>>>;
|
|
154
|
+
'font-size6-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
155
|
+
value: PropTypes.Validator<string>;
|
|
156
|
+
type: PropTypes.Validator<string>;
|
|
157
|
+
group: PropTypes.Validator<string>;
|
|
158
|
+
label: PropTypes.Validator<string>;
|
|
159
|
+
}>>>;
|
|
160
|
+
'font-min-screen': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
161
|
+
value: PropTypes.Validator<string>;
|
|
162
|
+
type: PropTypes.Validator<string>;
|
|
163
|
+
group: PropTypes.Validator<string>;
|
|
164
|
+
label: PropTypes.Validator<string>;
|
|
165
|
+
}>>>;
|
|
166
|
+
'font-max-screen': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
167
|
+
value: PropTypes.Validator<string>;
|
|
168
|
+
type: PropTypes.Validator<string>;
|
|
169
|
+
group: PropTypes.Validator<string>;
|
|
170
|
+
label: PropTypes.Validator<string>;
|
|
171
|
+
}>>>;
|
|
172
|
+
}>>;
|
|
39
173
|
}>>;
|
|
40
174
|
onSave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
41
175
|
};
|
|
42
|
-
type
|
|
43
|
-
export declare function ConfigBuilder(
|
|
176
|
+
type ConfigBuilderProps = InferProps<typeof ConfigBuilderPropTypes>;
|
|
177
|
+
export declare function ConfigBuilder(props: ConfigBuilderProps): import("react/jsx-runtime").JSX.Element;
|
|
44
178
|
export declare namespace ConfigBuilder {
|
|
45
179
|
var propTypes: {
|
|
46
180
|
initialConfig: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -78,6 +212,140 @@ export declare namespace ConfigBuilder {
|
|
|
78
212
|
title: PropTypes.Requireable<string>;
|
|
79
213
|
description: PropTypes.Requireable<string>;
|
|
80
214
|
}>>[]>;
|
|
215
|
+
visualdesign: PropTypes.Requireable<PropTypes.InferProps<{
|
|
216
|
+
'primary-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
217
|
+
value: PropTypes.Validator<string>;
|
|
218
|
+
type: PropTypes.Validator<string>;
|
|
219
|
+
group: PropTypes.Validator<string>;
|
|
220
|
+
label: PropTypes.Validator<string>;
|
|
221
|
+
}>>>;
|
|
222
|
+
'secondary-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
223
|
+
value: PropTypes.Validator<string>;
|
|
224
|
+
type: PropTypes.Validator<string>;
|
|
225
|
+
group: PropTypes.Validator<string>;
|
|
226
|
+
label: PropTypes.Validator<string>;
|
|
227
|
+
}>>>;
|
|
228
|
+
'accent1-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
229
|
+
value: PropTypes.Validator<string>;
|
|
230
|
+
type: PropTypes.Validator<string>;
|
|
231
|
+
group: PropTypes.Validator<string>;
|
|
232
|
+
label: PropTypes.Validator<string>;
|
|
233
|
+
}>>>;
|
|
234
|
+
'accent2-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
235
|
+
value: PropTypes.Validator<string>;
|
|
236
|
+
type: PropTypes.Validator<string>;
|
|
237
|
+
group: PropTypes.Validator<string>;
|
|
238
|
+
label: PropTypes.Validator<string>;
|
|
239
|
+
}>>>;
|
|
240
|
+
'bg-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
241
|
+
value: PropTypes.Validator<string>;
|
|
242
|
+
type: PropTypes.Validator<string>;
|
|
243
|
+
group: PropTypes.Validator<string>;
|
|
244
|
+
label: PropTypes.Validator<string>;
|
|
245
|
+
}>>>;
|
|
246
|
+
'text-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
247
|
+
value: PropTypes.Validator<string>;
|
|
248
|
+
type: PropTypes.Validator<string>;
|
|
249
|
+
group: PropTypes.Validator<string>;
|
|
250
|
+
label: PropTypes.Validator<string>;
|
|
251
|
+
}>>>;
|
|
252
|
+
'header-font': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
253
|
+
value: PropTypes.Validator<string>;
|
|
254
|
+
type: PropTypes.Validator<string>;
|
|
255
|
+
group: PropTypes.Validator<string>;
|
|
256
|
+
label: PropTypes.Validator<string>;
|
|
257
|
+
}>>>;
|
|
258
|
+
'body-font': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
259
|
+
value: PropTypes.Validator<string>;
|
|
260
|
+
type: PropTypes.Validator<string>;
|
|
261
|
+
group: PropTypes.Validator<string>;
|
|
262
|
+
label: PropTypes.Validator<string>;
|
|
263
|
+
}>>>;
|
|
264
|
+
'font-size1-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
265
|
+
value: PropTypes.Validator<string>;
|
|
266
|
+
type: PropTypes.Validator<string>;
|
|
267
|
+
group: PropTypes.Validator<string>;
|
|
268
|
+
label: PropTypes.Validator<string>;
|
|
269
|
+
}>>>;
|
|
270
|
+
'font-size1-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
271
|
+
value: PropTypes.Validator<string>;
|
|
272
|
+
type: PropTypes.Validator<string>;
|
|
273
|
+
group: PropTypes.Validator<string>;
|
|
274
|
+
label: PropTypes.Validator<string>;
|
|
275
|
+
}>>>;
|
|
276
|
+
'font-size2-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
277
|
+
value: PropTypes.Validator<string>;
|
|
278
|
+
type: PropTypes.Validator<string>;
|
|
279
|
+
group: PropTypes.Validator<string>;
|
|
280
|
+
label: PropTypes.Validator<string>;
|
|
281
|
+
}>>>;
|
|
282
|
+
'font-size2-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
283
|
+
value: PropTypes.Validator<string>;
|
|
284
|
+
type: PropTypes.Validator<string>;
|
|
285
|
+
group: PropTypes.Validator<string>;
|
|
286
|
+
label: PropTypes.Validator<string>;
|
|
287
|
+
}>>>;
|
|
288
|
+
'font-size3-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
289
|
+
value: PropTypes.Validator<string>;
|
|
290
|
+
type: PropTypes.Validator<string>;
|
|
291
|
+
group: PropTypes.Validator<string>;
|
|
292
|
+
label: PropTypes.Validator<string>;
|
|
293
|
+
}>>>;
|
|
294
|
+
'font-size3-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
295
|
+
value: PropTypes.Validator<string>;
|
|
296
|
+
type: PropTypes.Validator<string>;
|
|
297
|
+
group: PropTypes.Validator<string>;
|
|
298
|
+
label: PropTypes.Validator<string>;
|
|
299
|
+
}>>>;
|
|
300
|
+
'font-size4-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
301
|
+
value: PropTypes.Validator<string>;
|
|
302
|
+
type: PropTypes.Validator<string>;
|
|
303
|
+
group: PropTypes.Validator<string>;
|
|
304
|
+
label: PropTypes.Validator<string>;
|
|
305
|
+
}>>>;
|
|
306
|
+
'font-size4-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
307
|
+
value: PropTypes.Validator<string>;
|
|
308
|
+
type: PropTypes.Validator<string>;
|
|
309
|
+
group: PropTypes.Validator<string>;
|
|
310
|
+
label: PropTypes.Validator<string>;
|
|
311
|
+
}>>>;
|
|
312
|
+
'font-size5-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
313
|
+
value: PropTypes.Validator<string>;
|
|
314
|
+
type: PropTypes.Validator<string>;
|
|
315
|
+
group: PropTypes.Validator<string>;
|
|
316
|
+
label: PropTypes.Validator<string>;
|
|
317
|
+
}>>>;
|
|
318
|
+
'font-size5-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
319
|
+
value: PropTypes.Validator<string>;
|
|
320
|
+
type: PropTypes.Validator<string>;
|
|
321
|
+
group: PropTypes.Validator<string>;
|
|
322
|
+
label: PropTypes.Validator<string>;
|
|
323
|
+
}>>>;
|
|
324
|
+
'font-size6-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
325
|
+
value: PropTypes.Validator<string>;
|
|
326
|
+
type: PropTypes.Validator<string>;
|
|
327
|
+
group: PropTypes.Validator<string>;
|
|
328
|
+
label: PropTypes.Validator<string>;
|
|
329
|
+
}>>>;
|
|
330
|
+
'font-size6-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
331
|
+
value: PropTypes.Validator<string>;
|
|
332
|
+
type: PropTypes.Validator<string>;
|
|
333
|
+
group: PropTypes.Validator<string>;
|
|
334
|
+
label: PropTypes.Validator<string>;
|
|
335
|
+
}>>>;
|
|
336
|
+
'font-min-screen': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
337
|
+
value: PropTypes.Validator<string>;
|
|
338
|
+
type: PropTypes.Validator<string>;
|
|
339
|
+
group: PropTypes.Validator<string>;
|
|
340
|
+
label: PropTypes.Validator<string>;
|
|
341
|
+
}>>>;
|
|
342
|
+
'font-max-screen': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
343
|
+
value: PropTypes.Validator<string>;
|
|
344
|
+
type: PropTypes.Validator<string>;
|
|
345
|
+
group: PropTypes.Validator<string>;
|
|
346
|
+
label: PropTypes.Validator<string>;
|
|
347
|
+
}>>>;
|
|
348
|
+
}>>;
|
|
81
349
|
}>>;
|
|
82
350
|
onSave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
83
351
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/ConfigBuilder.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfigBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/ConfigBuilder.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAOnD,OAAO,qBAAqB,CAAC;AAyL7B,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG3B,CAAC;AACF,KAAK,kBAAkB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEpE,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAsXtD;yBAtXe,aAAa"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function VisualDesignStyles({ visualdesign }: {
|
|
2
|
+
visualdesign?: Record<string, any>;
|
|
3
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
/**
|
|
5
|
+
* Component to handle Google Fonts imports - should be used in the document head
|
|
6
|
+
*/
|
|
7
|
+
export declare function GoogleFontsImports({ visualdesign }: {
|
|
8
|
+
visualdesign?: Record<string, any>;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
//# sourceMappingURL=ConfigEngine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigEngine.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/ConfigEngine.tsx"],"names":[],"mappings":"AAGA,wBAAgB,kBAAkB,CAAC,EAAE,YAAY,EAAE,EAAE;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,2CAiF1F;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,YAAY,EAAE,EAAE;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,kDAyB1F"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import './FontSelector.css';
|
|
3
|
+
interface FontSelectorProps {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
label: string;
|
|
7
|
+
fontType?: 'google' | 'websafe' | 'generic';
|
|
8
|
+
required?: boolean;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
onChange?: (value: string) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare function FontSelector({ id, name, label, fontType, required, placeholder, value, onChange }: FontSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare namespace FontSelector {
|
|
15
|
+
var propTypes: {
|
|
16
|
+
id: PropTypes.Validator<string>;
|
|
17
|
+
name: PropTypes.Validator<string>;
|
|
18
|
+
label: PropTypes.Validator<string>;
|
|
19
|
+
fontType: PropTypes.Validator<string>;
|
|
20
|
+
required: PropTypes.Requireable<boolean>;
|
|
21
|
+
placeholder: PropTypes.Requireable<string>;
|
|
22
|
+
value: PropTypes.Requireable<string>;
|
|
23
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=FontSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/FontSelector.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,oBAAoB,CAAC;AAQ5B,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAkCD,wBAAgB,YAAY,CAAC,EAC5B,EAAE,EACF,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAgB,EAChB,WAAW,EACX,KAAU,EACV,QAAQ,EACR,EAAE,iBAAiB,2CAqInB;yBA9Ie,YAAY"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Google Fonts Integration
|
|
3
|
+
* Fetches and caches Google Fonts data for use in visual design forms
|
|
4
|
+
*/
|
|
5
|
+
export interface GoogleFont {
|
|
6
|
+
family: string;
|
|
7
|
+
variants: string[];
|
|
8
|
+
subsets: string[];
|
|
9
|
+
version: string;
|
|
10
|
+
lastModified: string;
|
|
11
|
+
category: string;
|
|
12
|
+
kind: string;
|
|
13
|
+
menu: string;
|
|
14
|
+
files: Record<string, string>;
|
|
15
|
+
}
|
|
16
|
+
export interface GoogleFontsResponse {
|
|
17
|
+
kind: string;
|
|
18
|
+
items: GoogleFont[];
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Fetch Google Fonts list from API
|
|
22
|
+
* Note: Requires GOOGLE_FONTS_API_KEY environment variable
|
|
23
|
+
*/
|
|
24
|
+
export declare function fetchGoogleFonts(): Promise<GoogleFont[]>;
|
|
25
|
+
/**
|
|
26
|
+
* Get font options for form dropdowns
|
|
27
|
+
*/
|
|
28
|
+
export declare function getFontOptions(): Promise<Array<{
|
|
29
|
+
value: string;
|
|
30
|
+
label: string;
|
|
31
|
+
category: string;
|
|
32
|
+
}>>;
|
|
33
|
+
/**
|
|
34
|
+
* Generate Google Fonts CSS import URL for given fonts
|
|
35
|
+
*/
|
|
36
|
+
export declare function generateGoogleFontsUrl(fonts: string[]): string;
|
|
37
|
+
/**
|
|
38
|
+
* Generate HTML link tag for Google Fonts
|
|
39
|
+
*/
|
|
40
|
+
export declare function generateGoogleFontsLink(fonts: string[]): string;
|
|
41
|
+
//# sourceMappingURL=google-fonts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-fonts.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/google-fonts.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB;AA+BD;;;GAGG;AACH,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC,CAgC9D;AAED;;GAEG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,CAAC,CAAC,CAqBvG;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAe9D;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAO/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formbuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formbuilder.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"formbuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formbuilder.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AASnD,wBAAgB,WAAW,4CA4D1B;AAaD,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AAC5D,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CA0D7C;yBA1De,SAAS"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import PropTypes, { InferProps } from "prop-types";
|
|
2
|
+
import { FontSelector } from "../config/FontSelector";
|
|
3
|
+
import { CompoundFontSelector } from "../config/CompoundFontSelector";
|
|
2
4
|
import "./form.css";
|
|
3
5
|
export type FormLabelType = InferProps<typeof FormLabel.propTypes>;
|
|
4
6
|
declare function FormLabel(props: FormLabelType): import("react/jsx-runtime").JSX.Element;
|
|
@@ -197,5 +199,5 @@ export declare function FormFieldset(): import("react/jsx-runtime").JSX.Element;
|
|
|
197
199
|
export declare namespace FormFieldset {
|
|
198
200
|
var propTypes: {};
|
|
199
201
|
}
|
|
200
|
-
export {};
|
|
202
|
+
export { FontSelector, CompoundFontSelector };
|
|
201
203
|
//# sourceMappingURL=formcomponents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formcomponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formcomponents.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"formcomponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formcomponents.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,YAAY,CAAC;AAsIpB,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,iBAAS,SAAS,CAAC,KAAK,EAAE,aAAa,2CAYtC;kBAZQ,SAAS;;;;;;;;;;;;;AA4BlB,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AACvE,iBAAS,WAAW,CAAC,KAAK,EAAE,eAAe,kDA2C1C;kBA3CQ,WAAW;;;;;;;;;;;;AAiFpB,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CAmB7C;yBAnBe,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDzB,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAc/C;yBAde,UAAU;;;;;;;;;;;;;;;;;;;;;AA6B1B,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,SAAS,CAAC,CAAC;AACjF,iBAAS,gBAAgB,CAAC,KAAK,EAAE,oBAAoB,2CAUpD;kBAVQ,gBAAgB;;;;;;;AAyCzB,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAWnD;yBAXe,YAAY;;;;;;;;;;;;;;;;;;;;;;AAmC5B,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CAY7C;yBAZe,SAAS;;;;;;;;;;;;;;;;AA4BzB,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,iBAAS,eAAe,CAAC,KAAK,EAAE,mBAAmB,2CAsBlD;kBAtBQ,eAAe;;;;;;;;;AA6CxB,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAYnD;yBAZe,YAAY;;;;;;;;;;;;;;;;AA6B5B,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACrF,iBAAS,kBAAkB,CAAC,KAAK,EAAE,sBAAsB,2CA2BxD;kBA3BQ,kBAAkB;;;;;;;;AA0C3B,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAU/C;yBAVe,UAAU;;;;;;;;;AAuB1B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAWnD;yBAXe,YAAY;;;;;;AAsB5B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,4CAI3B;yBAJe,YAAY;;;AAO5B,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../../src/components/structured/markdown.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../../src/components/structured/markdown.tsx"],"names":[],"mappings":"AAMA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGnD,OAAO,gBAAgB,CAAC;AAMxB,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAC;AACjE,wBAAgB,QAAQ,CAAC,KAAK,EAAE;IAAE,YAAY,EAAE,GAAG,CAAC;CAAE,2CAsCrD;yBAtCe,QAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../../src/components/structured/recipe.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../../src/components/structured/recipe.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGnD,OAAO,cAAc,CAAC;AAetB,MAAM,MAAM,gBAAgB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,YAAY,EAAE,GAAG,GAAG,gBAAgB,CAuD5E;AAKD,KAAK,UAAU,GAAG;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE;QACP,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;KACb,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,kBAAkB,EAAE,KAAK,CAAC;QACzB,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;KACb,CAAC,CAAC;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAYF,KAAK,cAAc,GAAG;IACrB,KAAK,EAAE,UAAU,EAAE,CAAC;CACpB,CAAC;AACF,MAAM,MAAM,cAAc,GAAG;IAC5B,UAAU,EAAE,cAAc,CAAC;IAC3B,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC3B,CAAC;AAEF,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAkF/C;yBAlFe,UAAU;;;;;;;;AA6F1B,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,2CAOvD;yBAPe,cAAc;;;;;;;;AAiB9B,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAE,KAAK,EAAE,kBAAkB,2CA2CxD;yBA3Ce,cAAc;;;;;;;AAoD9B,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,2CA8CvD;yBA9Ce,cAAc;;;;;;;AAiD9B,wBAAgB,SAAS,4CAyBxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline.d.ts","sourceRoot":"","sources":["../../../../src/components/structured/timeline.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"timeline.d.ts","sourceRoot":"","sources":["../../../../src/components/structured/timeline.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGnD,OAAO,+BAA+B,CAAC;AACvC,OAAO,gBAAgB,CAAC;AAcxB,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,SAAS,CAAC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC;AAC9F,wBAAgB,QAAQ,CAAC,KAAK,EAAE,YAAY,2CAiB3C;yBAjBe,QAAQ;;;;;;;;;;AA0BxB,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC;AACtG,iBAAwB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAmB3D;kBAnBuB,YAAY;;;;;;;;eAAZ,YAAY"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -44,6 +44,10 @@ export * from "./components/sitebuilder/page/components/PageBuilderUI";
|
|
|
44
44
|
export * from "./components/sitebuilder/page/components/PageEngine";
|
|
45
45
|
export * from "./components/sitebuilder/page/components/SaveLoadSection";
|
|
46
46
|
export * from "./components/sitebuilder/config/ConfigBuilder";
|
|
47
|
+
export * from "./components/sitebuilder/config/ConfigEngine";
|
|
48
|
+
export * from "./components/sitebuilder/config/FontSelector";
|
|
49
|
+
export * from "./components/sitebuilder/config/CompoundFontSelector";
|
|
50
|
+
export * from "./components/sitebuilder/config/google-fonts";
|
|
47
51
|
export * from "./components/sitebuilder/form/formcomponents";
|
|
48
52
|
export * from "./components/sitebuilder/form/formtypes";
|
|
49
53
|
export * from "./components/sitebuilder/form/formutils";
|
|
@@ -7,8 +7,10 @@ export * from "./components/cms/instagram.functions";
|
|
|
7
7
|
export * from "./components/cms/wordpress.functions";
|
|
8
8
|
export * from "./components/config/config";
|
|
9
9
|
export * from "./components/config/config.types";
|
|
10
|
-
export * from "./components/sitebuilder/
|
|
10
|
+
export * from "./components/sitebuilder/config/ConfigEngine";
|
|
11
|
+
export * from "./components/sitebuilder/config/google-fonts";
|
|
11
12
|
export * from "./components/sitebuilder/form/formutils";
|
|
13
|
+
export * from "./components/sitebuilder/form/formtypes";
|
|
12
14
|
export * from "./components/sitebuilder/page/lib/componentGeneration";
|
|
13
15
|
export * from "./components/sitebuilder/page/lib/componentMap";
|
|
14
16
|
export * from "./components/sitebuilder/page/lib/componentMetadata";
|
|
@@ -30,7 +32,5 @@ export * from "./components/shoppingcart/ebay.functions";
|
|
|
30
32
|
export * from "./components/config/config.server";
|
|
31
33
|
export * from "./components/carousel/tiles";
|
|
32
34
|
export * from "./components/seo/googlemap";
|
|
33
|
-
export * from "./components/structured/markdown";
|
|
34
35
|
export * from "./components/structured/resume";
|
|
35
|
-
export * from "./components/structured/timeline";
|
|
36
36
|
//# sourceMappingURL=index.server.d.ts.map
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { CompoundFontSelector } from '../../components/sitebuilder/config/CompoundFontSelector';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof CompoundFontSelector;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const Default: {
|
|
11
|
+
args: {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
label: string;
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const WithInitialValue: {
|
|
19
|
+
args: {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
label: string;
|
|
23
|
+
value: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const Required: {
|
|
27
|
+
args: {
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
label: string;
|
|
31
|
+
required: boolean;
|
|
32
|
+
value: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export declare const HeaderFont: {
|
|
36
|
+
args: {
|
|
37
|
+
id: string;
|
|
38
|
+
name: string;
|
|
39
|
+
label: string;
|
|
40
|
+
value: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export declare const BodyFont: {
|
|
44
|
+
args: {
|
|
45
|
+
id: string;
|
|
46
|
+
name: string;
|
|
47
|
+
label: string;
|
|
48
|
+
value: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=compoundfontselector.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compoundfontselector.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/sitebuilder/compoundfontselector.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;;;;;;;;AAEhG,wBAME;AAEF,eAAO,MAAM,OAAO;;;;;;;CAOnB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;CAO5B,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;CAQpB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;CAOtB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;CAOpB,CAAC"}
|