@ckc-net/puck-extended 0.1.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 +21 -0
- package/dist/index.d.ts +417 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3603 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +2 -0
- package/package.json +87 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Hugo Debard
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
import * as react0 from "react";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { Checkbox } from "@base-ui/react/checkbox";
|
|
4
|
+
import { Radio } from "@base-ui/react/radio";
|
|
5
|
+
import { RadioGroup } from "@base-ui/react/radio-group";
|
|
6
|
+
import * as _measured_puck0 from "@measured/puck";
|
|
7
|
+
import { Fields } from "@measured/puck";
|
|
8
|
+
|
|
9
|
+
//#region src/components/ui/checkbox.d.ts
|
|
10
|
+
type CheckboxLayout = "horizontal" | "inline";
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/components/Fields/NumberUnit/index.d.ts
|
|
13
|
+
type NumberUnitValue = {
|
|
14
|
+
value: string;
|
|
15
|
+
unit: string;
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/components/ui/radio.d.ts
|
|
19
|
+
type RadioLayout = "horizontal" | "inline";
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/overrides/plugin.d.ts
|
|
22
|
+
declare const createPuckOverridesPlugin: () => {
|
|
23
|
+
overrides: {
|
|
24
|
+
actionBar: {
|
|
25
|
+
({
|
|
26
|
+
label,
|
|
27
|
+
parentAction,
|
|
28
|
+
children
|
|
29
|
+
}: {
|
|
30
|
+
label?: string;
|
|
31
|
+
parentAction?: react0.ReactNode;
|
|
32
|
+
children?: react0.ReactNode;
|
|
33
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
34
|
+
Action: ({
|
|
35
|
+
children,
|
|
36
|
+
label,
|
|
37
|
+
onClick
|
|
38
|
+
}: {
|
|
39
|
+
children: react0.ReactNode;
|
|
40
|
+
label?: string;
|
|
41
|
+
onClick: (e: react0.SyntheticEvent) => void;
|
|
42
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
43
|
+
Label: ({
|
|
44
|
+
label
|
|
45
|
+
}: {
|
|
46
|
+
label: string;
|
|
47
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
48
|
+
Group: ({
|
|
49
|
+
children
|
|
50
|
+
}: {
|
|
51
|
+
children: react0.ReactNode;
|
|
52
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
53
|
+
Separator: () => react_jsx_runtime0.JSX.Element;
|
|
54
|
+
};
|
|
55
|
+
drawer: ({
|
|
56
|
+
children
|
|
57
|
+
}: {
|
|
58
|
+
children: React.ReactNode;
|
|
59
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
60
|
+
drawerItem: ({
|
|
61
|
+
name,
|
|
62
|
+
icon
|
|
63
|
+
}: {
|
|
64
|
+
name: string;
|
|
65
|
+
icon?: React.ReactNode;
|
|
66
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
67
|
+
fields: ({
|
|
68
|
+
children
|
|
69
|
+
}: {
|
|
70
|
+
children: React.ReactNode;
|
|
71
|
+
isLoading: boolean;
|
|
72
|
+
itemSelector?: {
|
|
73
|
+
path?: string;
|
|
74
|
+
index?: number;
|
|
75
|
+
} | null;
|
|
76
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
77
|
+
fieldLabel: ({
|
|
78
|
+
children,
|
|
79
|
+
label
|
|
80
|
+
}: {
|
|
81
|
+
children: React.ReactNode;
|
|
82
|
+
label: string;
|
|
83
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
84
|
+
fieldTypes: {
|
|
85
|
+
checkbox: ({
|
|
86
|
+
onChange,
|
|
87
|
+
value,
|
|
88
|
+
readOnly,
|
|
89
|
+
field,
|
|
90
|
+
label
|
|
91
|
+
}: (_measured_puck0.FieldProps<_measured_puck0.Field<any>> & {
|
|
92
|
+
name: string;
|
|
93
|
+
field: _measured_puck0.Field<any> & {
|
|
94
|
+
options?: ReadonlyArray<{
|
|
95
|
+
label: React.ReactNode;
|
|
96
|
+
value: any;
|
|
97
|
+
}>;
|
|
98
|
+
layout?: CheckboxLayout;
|
|
99
|
+
};
|
|
100
|
+
}) & {
|
|
101
|
+
label: string;
|
|
102
|
+
}) => react_jsx_runtime0.JSX.Element | null;
|
|
103
|
+
numberUnit: ({
|
|
104
|
+
onChange,
|
|
105
|
+
value,
|
|
106
|
+
label,
|
|
107
|
+
field,
|
|
108
|
+
readOnly
|
|
109
|
+
}: {
|
|
110
|
+
onChange: (value: NumberUnitValue) => void;
|
|
111
|
+
value: NumberUnitValue;
|
|
112
|
+
label: string;
|
|
113
|
+
field: any;
|
|
114
|
+
readOnly?: boolean;
|
|
115
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
116
|
+
radio: ({
|
|
117
|
+
onChange,
|
|
118
|
+
value,
|
|
119
|
+
readOnly,
|
|
120
|
+
field,
|
|
121
|
+
label
|
|
122
|
+
}: (_measured_puck0.FieldProps<_measured_puck0.Field<any>> & {
|
|
123
|
+
name: string;
|
|
124
|
+
field: _measured_puck0.Field<any> & {
|
|
125
|
+
options?: ReadonlyArray<{
|
|
126
|
+
label: React.ReactNode;
|
|
127
|
+
value: any;
|
|
128
|
+
}>;
|
|
129
|
+
layout?: RadioLayout;
|
|
130
|
+
};
|
|
131
|
+
}) & {
|
|
132
|
+
label: string;
|
|
133
|
+
}) => react_jsx_runtime0.JSX.Element | null;
|
|
134
|
+
select: ({
|
|
135
|
+
onChange,
|
|
136
|
+
value,
|
|
137
|
+
label,
|
|
138
|
+
field,
|
|
139
|
+
readOnly
|
|
140
|
+
}: {
|
|
141
|
+
onChange: (value: any) => void;
|
|
142
|
+
value: any;
|
|
143
|
+
label: string;
|
|
144
|
+
field: any;
|
|
145
|
+
readOnly?: boolean;
|
|
146
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
147
|
+
text: ({
|
|
148
|
+
onChange,
|
|
149
|
+
label,
|
|
150
|
+
field,
|
|
151
|
+
readOnly
|
|
152
|
+
}: {
|
|
153
|
+
onChange: (value: any) => void;
|
|
154
|
+
label: string;
|
|
155
|
+
field: any;
|
|
156
|
+
readOnly?: boolean;
|
|
157
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
158
|
+
textarea: ({
|
|
159
|
+
onChange,
|
|
160
|
+
label,
|
|
161
|
+
field,
|
|
162
|
+
readOnly
|
|
163
|
+
}: {
|
|
164
|
+
onChange: (value: any) => void;
|
|
165
|
+
label: string;
|
|
166
|
+
field: any;
|
|
167
|
+
readOnly?: boolean;
|
|
168
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
//#endregion
|
|
173
|
+
//#region src/components/Fields/Label/index.d.ts
|
|
174
|
+
declare const Label: ({
|
|
175
|
+
label,
|
|
176
|
+
readOnly
|
|
177
|
+
}: {
|
|
178
|
+
label?: string;
|
|
179
|
+
readOnly?: boolean;
|
|
180
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region src/components/MediaPicker/index.d.ts
|
|
183
|
+
type MediaItem = {
|
|
184
|
+
id: number;
|
|
185
|
+
name: string;
|
|
186
|
+
url: string;
|
|
187
|
+
thumbnail: string;
|
|
188
|
+
type: string;
|
|
189
|
+
};
|
|
190
|
+
type MediaPickerValue = {
|
|
191
|
+
type?: "url" | "media";
|
|
192
|
+
url?: string;
|
|
193
|
+
media?: MediaItem | null;
|
|
194
|
+
};
|
|
195
|
+
type MediaPickerProps = {
|
|
196
|
+
value?: MediaPickerValue;
|
|
197
|
+
onChange: (value: MediaPickerValue) => void;
|
|
198
|
+
mediaType?: string;
|
|
199
|
+
};
|
|
200
|
+
declare const MediaPicker: ({
|
|
201
|
+
value,
|
|
202
|
+
onChange,
|
|
203
|
+
mediaType
|
|
204
|
+
}: MediaPickerProps) => react_jsx_runtime0.JSX.Element;
|
|
205
|
+
declare const getMediaUrl: (value?: MediaPickerValue) => string | undefined;
|
|
206
|
+
//#endregion
|
|
207
|
+
//#region src/components/Pagination/index.d.ts
|
|
208
|
+
type PaginationProps = {
|
|
209
|
+
currentPage: number;
|
|
210
|
+
totalPages: number;
|
|
211
|
+
totalItems: number;
|
|
212
|
+
itemsPerPage: number;
|
|
213
|
+
onPageChange: (page: number) => void;
|
|
214
|
+
onItemsPerPageChange: (itemsPerPage: number) => void;
|
|
215
|
+
pageSizeOptions?: number[];
|
|
216
|
+
maxVisiblePages?: number;
|
|
217
|
+
showInfo?: boolean;
|
|
218
|
+
showPageSizeSelect?: boolean;
|
|
219
|
+
className?: string;
|
|
220
|
+
};
|
|
221
|
+
declare const TablePagination: ({
|
|
222
|
+
currentPage,
|
|
223
|
+
totalPages,
|
|
224
|
+
totalItems,
|
|
225
|
+
itemsPerPage,
|
|
226
|
+
onPageChange,
|
|
227
|
+
onItemsPerPageChange,
|
|
228
|
+
pageSizeOptions,
|
|
229
|
+
maxVisiblePages,
|
|
230
|
+
showInfo,
|
|
231
|
+
showPageSizeSelect,
|
|
232
|
+
className
|
|
233
|
+
}: PaginationProps) => react_jsx_runtime0.JSX.Element;
|
|
234
|
+
//#endregion
|
|
235
|
+
//#region src/utils/display.d.ts
|
|
236
|
+
type DisplayTraitProps = {
|
|
237
|
+
display?: 'hidden' | 'inline' | 'inline-block' | 'block' | 'flex' | 'inline-flex';
|
|
238
|
+
};
|
|
239
|
+
declare const displayField: Fields;
|
|
240
|
+
declare function displayToClasses(display?: 'hidden' | 'inline' | 'inline-block' | 'block' | 'flex' | 'inline-flex'): string;
|
|
241
|
+
declare const displayDefaultProps: DisplayTraitProps;
|
|
242
|
+
//#endregion
|
|
243
|
+
//#region src/utils/fontWeight.d.ts
|
|
244
|
+
type FontWeightTraitProps = {
|
|
245
|
+
fontWeight?: '' | 'thin' | 'extralight' | 'light' | 'normal' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
|
|
246
|
+
};
|
|
247
|
+
declare const fontWeightField: Fields;
|
|
248
|
+
declare function fontWeightToClasses(fontWeight?: string): string;
|
|
249
|
+
declare const fontWeightDefaultProps: {
|
|
250
|
+
fontWeight: "";
|
|
251
|
+
};
|
|
252
|
+
//#endregion
|
|
253
|
+
//#region src/utils/lineHeight.d.ts
|
|
254
|
+
type LineHeightTraitProps = {
|
|
255
|
+
lineHeight?: "" | "1" | "1.25" | "1.5" | "2";
|
|
256
|
+
};
|
|
257
|
+
declare const lineHeightField: Fields;
|
|
258
|
+
declare function lineHeightToClasses(lineHeight?: string): string;
|
|
259
|
+
declare const lineHeightDefaultProps: {
|
|
260
|
+
lineHeight: "";
|
|
261
|
+
};
|
|
262
|
+
//#endregion
|
|
263
|
+
//#region src/utils/margins.d.ts
|
|
264
|
+
type MarginValue = {
|
|
265
|
+
value: string;
|
|
266
|
+
unit: string;
|
|
267
|
+
};
|
|
268
|
+
type MarginItem = {
|
|
269
|
+
breakpoint?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
270
|
+
direction: "all" | "top" | "right" | "bottom" | "left" | "x" | "y";
|
|
271
|
+
margin: MarginValue;
|
|
272
|
+
};
|
|
273
|
+
type MarginsTraitProps = {
|
|
274
|
+
margins?: Array<MarginItem>;
|
|
275
|
+
};
|
|
276
|
+
declare const marginsField: Fields;
|
|
277
|
+
declare function marginsToClasses(margins?: Array<MarginItem>): string;
|
|
278
|
+
declare const marginsDefaultProps: {
|
|
279
|
+
margins: Array<MarginItem>;
|
|
280
|
+
};
|
|
281
|
+
//#endregion
|
|
282
|
+
//#region src/utils/paddings.d.ts
|
|
283
|
+
type PaddingValue = {
|
|
284
|
+
value: string;
|
|
285
|
+
unit: string;
|
|
286
|
+
};
|
|
287
|
+
type PaddingItem = {
|
|
288
|
+
breakpoint?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
289
|
+
direction: 'all' | 'top' | 'right' | 'bottom' | 'left' | 'x' | 'y';
|
|
290
|
+
padding: PaddingValue;
|
|
291
|
+
};
|
|
292
|
+
type PaddingsTraitProps = {
|
|
293
|
+
paddings?: Array<PaddingItem>;
|
|
294
|
+
};
|
|
295
|
+
declare const paddingsField: Fields;
|
|
296
|
+
declare function paddingsToClasses(paddings?: Array<PaddingItem>): string;
|
|
297
|
+
declare const paddingsDefaultProps: {
|
|
298
|
+
paddings: Array<PaddingItem>;
|
|
299
|
+
};
|
|
300
|
+
//#endregion
|
|
301
|
+
//#region src/utils/position.d.ts
|
|
302
|
+
type PositionTraitProps = {
|
|
303
|
+
position?: 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky';
|
|
304
|
+
top?: string;
|
|
305
|
+
right?: string;
|
|
306
|
+
bottom?: string;
|
|
307
|
+
left?: string;
|
|
308
|
+
zIndex?: number;
|
|
309
|
+
};
|
|
310
|
+
declare const positionField: Fields;
|
|
311
|
+
declare function positionToClasses(position?: 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky', top?: string, right?: string, bottom?: string, left?: string, zIndex?: number): string;
|
|
312
|
+
declare const positionDefaultProps: PositionTraitProps;
|
|
313
|
+
//#endregion
|
|
314
|
+
//#region src/utils/size.d.ts
|
|
315
|
+
type SizeValue = {
|
|
316
|
+
value: string;
|
|
317
|
+
unit: string;
|
|
318
|
+
};
|
|
319
|
+
type SizeTraitProps = {
|
|
320
|
+
width?: SizeValue;
|
|
321
|
+
minWidth?: SizeValue;
|
|
322
|
+
maxWidth?: SizeValue;
|
|
323
|
+
height?: SizeValue;
|
|
324
|
+
minHeight?: SizeValue;
|
|
325
|
+
maxHeight?: SizeValue;
|
|
326
|
+
};
|
|
327
|
+
declare const sizeField: Fields;
|
|
328
|
+
declare function sizeToClasses(width?: SizeValue, minWidth?: SizeValue, maxWidth?: SizeValue, height?: SizeValue, minHeight?: SizeValue, maxHeight?: SizeValue): string;
|
|
329
|
+
declare const sizeDefaultProps: SizeTraitProps;
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/utils/spacing.d.ts
|
|
332
|
+
type SpacingTraitProps = MarginsTraitProps & PaddingsTraitProps;
|
|
333
|
+
declare const spacingFields: {
|
|
334
|
+
[x: string]: _measured_puck0.Field<any, {}>;
|
|
335
|
+
[x: number]: _measured_puck0.Field<any, {}>;
|
|
336
|
+
};
|
|
337
|
+
declare const spacingDefaultProps: {
|
|
338
|
+
paddings: Array<PaddingItem>;
|
|
339
|
+
margins: Array<MarginItem>;
|
|
340
|
+
};
|
|
341
|
+
declare function spacingToClasses(props: Partial<SpacingTraitProps>): string;
|
|
342
|
+
declare const spacingFieldNames: readonly ["margins", "paddings"];
|
|
343
|
+
//#endregion
|
|
344
|
+
//#region src/utils/spacingOptions.d.ts
|
|
345
|
+
declare const spacingOptions: {
|
|
346
|
+
label: string;
|
|
347
|
+
value: string;
|
|
348
|
+
}[];
|
|
349
|
+
//#endregion
|
|
350
|
+
//#region src/utils/textAlign.d.ts
|
|
351
|
+
type TextAlignTraitProps = {
|
|
352
|
+
textAlign?: "left" | "center" | "right" | "justify";
|
|
353
|
+
};
|
|
354
|
+
declare const textAlignField: Fields;
|
|
355
|
+
declare function textAlignToClasses(textAlign?: string): string;
|
|
356
|
+
declare const textAlignDefaultProps: {
|
|
357
|
+
textAlign: "left";
|
|
358
|
+
};
|
|
359
|
+
//#endregion
|
|
360
|
+
//#region src/utils/textColor.d.ts
|
|
361
|
+
type TextColorTraitProps = {
|
|
362
|
+
textColor?: string;
|
|
363
|
+
};
|
|
364
|
+
declare const textColorField: Fields;
|
|
365
|
+
declare function textColorToClasses(textColor?: string): string;
|
|
366
|
+
declare const textColorDefaultProps: {
|
|
367
|
+
textColor: string | undefined;
|
|
368
|
+
};
|
|
369
|
+
//#endregion
|
|
370
|
+
//#region src/utils/textDecoration.d.ts
|
|
371
|
+
type TextDecorationTraitProps = {
|
|
372
|
+
textDecoration?: Array<"bold" | "light" | "italic" | "underline" | "line-through">;
|
|
373
|
+
};
|
|
374
|
+
declare const textDecorationField: Fields;
|
|
375
|
+
declare function textDecorationToClasses(textDecoration?: Array<"bold" | "light" | "italic" | "underline" | "line-through">): string;
|
|
376
|
+
declare const textDecorationDefaultProps: TextDecorationTraitProps;
|
|
377
|
+
//#endregion
|
|
378
|
+
//#region src/utils/textSize.d.ts
|
|
379
|
+
type TextSizeTraitProps = {
|
|
380
|
+
textSize?: "" | "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
381
|
+
};
|
|
382
|
+
declare const textSizeField: Fields;
|
|
383
|
+
declare function textSizeToClasses(textSize?: string): string;
|
|
384
|
+
declare const textSizeDefaultProps: {
|
|
385
|
+
textSize: "";
|
|
386
|
+
};
|
|
387
|
+
//#endregion
|
|
388
|
+
//#region src/utils/textTransform.d.ts
|
|
389
|
+
type TextTransformTraitProps = {
|
|
390
|
+
textTransform?: "none" | "uppercase" | "lowercase" | "capitalize";
|
|
391
|
+
};
|
|
392
|
+
declare const textTransformField: Fields;
|
|
393
|
+
declare function textTransformToClasses(textTransform?: string): string;
|
|
394
|
+
declare const textTransformDefaultProps: {
|
|
395
|
+
textTransform: "none";
|
|
396
|
+
};
|
|
397
|
+
//#endregion
|
|
398
|
+
//#region src/utils/typography.d.ts
|
|
399
|
+
type TypographyTraitProps = TextAlignTraitProps & TextTransformTraitProps & TextDecorationTraitProps & TextSizeTraitProps & TextColorTraitProps & LineHeightTraitProps & FontWeightTraitProps;
|
|
400
|
+
declare const typographyFields: {
|
|
401
|
+
[x: string]: _measured_puck0.Field<any, {}>;
|
|
402
|
+
[x: number]: _measured_puck0.Field<any, {}>;
|
|
403
|
+
};
|
|
404
|
+
declare const typographyDefaultProps: {
|
|
405
|
+
fontWeight: "";
|
|
406
|
+
lineHeight: "";
|
|
407
|
+
textColor: string | undefined;
|
|
408
|
+
textSize: "";
|
|
409
|
+
textDecoration?: Array<"bold" | "light" | "italic" | "underline" | "line-through">;
|
|
410
|
+
textTransform: "none";
|
|
411
|
+
textAlign: "left";
|
|
412
|
+
};
|
|
413
|
+
declare function typographyToClasses(props: Partial<TypographyTraitProps>): string;
|
|
414
|
+
declare const typographyFieldNames: readonly ["textAlign", "textTransform", "textDecoration", "textSize", "textColor", "lineHeight", "fontWeight"];
|
|
415
|
+
//#endregion
|
|
416
|
+
export { DisplayTraitProps, FontWeightTraitProps, Label, LineHeightTraitProps, MarginItem, MarginValue, MarginsTraitProps, type MediaItem, MediaPicker, type MediaPickerProps, type MediaPickerValue, PaddingItem, PaddingValue, PaddingsTraitProps, type PaginationProps, PositionTraitProps, SizeTraitProps, SizeValue, SpacingTraitProps, TablePagination, TextAlignTraitProps, TextColorTraitProps, TextDecorationTraitProps, TextSizeTraitProps, TextTransformTraitProps, TypographyTraitProps, createPuckOverridesPlugin, displayDefaultProps, displayField, displayToClasses, fontWeightDefaultProps, fontWeightField, fontWeightToClasses, getMediaUrl, lineHeightDefaultProps, lineHeightField, lineHeightToClasses, marginsDefaultProps, marginsField, marginsToClasses, paddingsDefaultProps, paddingsField, paddingsToClasses, positionDefaultProps, positionField, positionToClasses, sizeDefaultProps, sizeField, sizeToClasses, spacingDefaultProps, spacingFieldNames, spacingFields, spacingOptions, spacingToClasses, textAlignDefaultProps, textAlignField, textAlignToClasses, textColorDefaultProps, textColorField, textColorToClasses, textDecorationDefaultProps, textDecorationField, textDecorationToClasses, textSizeDefaultProps, textSizeField, textSizeToClasses, textTransformDefaultProps, textTransformField, textTransformToClasses, typographyDefaultProps, typographyFieldNames, typographyFields, typographyToClasses };
|
|
417
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/components/ui/checkbox.tsx","../src/components/Fields/NumberUnit/index.tsx","../src/components/ui/radio.tsx","../src/overrides/plugin.tsx","../src/components/Fields/Label/index.tsx","../src/components/MediaPicker/index.tsx","../src/components/Pagination/index.tsx","../src/utils/display.tsx","../src/utils/fontWeight.tsx","../src/utils/lineHeight.tsx","../src/utils/margins.tsx","../src/utils/paddings.tsx","../src/utils/position.tsx","../src/utils/size.tsx","../src/utils/spacing.tsx","../src/utils/spacingOptions.ts","../src/utils/textAlign.tsx","../src/utils/textColor.tsx","../src/utils/textDecoration.tsx","../src/utils/textSize.tsx","../src/utils/textTransform.tsx","../src/utils/typography.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;KAOK,cAAA;;;KCOO,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