@cntrl-site/components 1.0.39-alpha.2 → 1.0.39
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/dist/Components/Form/FormComponent.d.ts +28 -3
- package/dist/Components/Grid/Grid.d.ts +1 -1
- package/dist/Components/LightboxJournal/LightboxJournalComponent.d.ts +3 -2
- package/dist/Components/LightboxJournal/utils.d.ts +2 -3
- package/dist/Components/LightboxStrip/LightboxStripComponent.d.ts +3 -2
- package/dist/Components/Marquee/MarqueeComponent.d.ts +4 -1
- package/dist/Components/OnelinerForm/OnelinerFormComponent.d.ts +24 -3
- package/dist/Components/TestimonialSingle/TestimonialSingleComponent.d.ts +0 -3
- package/dist/index.js +80 -2482
- package/dist/index.mjs +5879 -10236
- package/package.json +1 -1
- package/dist/Components/Hive/Hive.d.ts +0 -46
- package/dist/Components/Hive/HiveComponent.d.ts +0 -36
- package/dist/Components/Hive/HiveLightboxTitles.d.ts +0 -35
|
@@ -11,15 +11,12 @@ export declare const FormComponent: {
|
|
|
11
11
|
defaultSize: {
|
|
12
12
|
d: {
|
|
13
13
|
width: number;
|
|
14
|
-
height: number;
|
|
15
14
|
};
|
|
16
15
|
t: {
|
|
17
16
|
width: number;
|
|
18
|
-
height: number;
|
|
19
17
|
};
|
|
20
18
|
m: {
|
|
21
19
|
width: number;
|
|
22
|
-
height: number;
|
|
23
20
|
};
|
|
24
21
|
};
|
|
25
22
|
schema: {
|
|
@@ -640,6 +637,34 @@ export declare const FormComponent: {
|
|
|
640
637
|
statusFontSize: number;
|
|
641
638
|
statusLineHeight: number;
|
|
642
639
|
};
|
|
640
|
+
t: {
|
|
641
|
+
gap: number;
|
|
642
|
+
fieldsGap: number;
|
|
643
|
+
buttonStroke: number;
|
|
644
|
+
buttonCorners: number;
|
|
645
|
+
inputStroke: number;
|
|
646
|
+
inputCorners: number;
|
|
647
|
+
buttonPadding: {
|
|
648
|
+
top: number;
|
|
649
|
+
right: number;
|
|
650
|
+
bottom: number;
|
|
651
|
+
left: number;
|
|
652
|
+
};
|
|
653
|
+
inputPadding: {
|
|
654
|
+
top: number;
|
|
655
|
+
right: number;
|
|
656
|
+
bottom: number;
|
|
657
|
+
left: number;
|
|
658
|
+
};
|
|
659
|
+
inputFontSize: number;
|
|
660
|
+
inputLineHeight: number;
|
|
661
|
+
buttonFontSize: number;
|
|
662
|
+
buttonLineHeight: number;
|
|
663
|
+
labelFontSize: number;
|
|
664
|
+
labelLineHeight: number;
|
|
665
|
+
statusFontSize: number;
|
|
666
|
+
statusLineHeight: number;
|
|
667
|
+
};
|
|
643
668
|
d: {
|
|
644
669
|
gap: number;
|
|
645
670
|
fieldsGap: number;
|
|
@@ -17,12 +17,12 @@ type GridLayoutConfig = {
|
|
|
17
17
|
horizontalGap: number;
|
|
18
18
|
wrapperWidth: number;
|
|
19
19
|
columnsCount: number;
|
|
20
|
-
textWidthPercent?: number;
|
|
21
20
|
lockedParam?: 'wrapperWidth' | 'entryWidth' | 'horizontalGap' | null;
|
|
22
21
|
};
|
|
23
22
|
type GridSettings = {
|
|
24
23
|
type: 'a' | 'b' | 'c' | 'd' | 'e' | 'f';
|
|
25
24
|
gridLayout: GridLayoutConfig;
|
|
25
|
+
textBoxWidth: number;
|
|
26
26
|
verticalGap: number;
|
|
27
27
|
entriesCount: number;
|
|
28
28
|
lightbox: 'on' | 'off';
|
|
@@ -12,7 +12,6 @@ type JournalEntry = {
|
|
|
12
12
|
title3: string;
|
|
13
13
|
image: JournalImage[];
|
|
14
14
|
};
|
|
15
|
-
export type JournalTitleEntry = Pick<JournalEntry, 'title1' | 'title2' | 'title3'>;
|
|
16
15
|
type JournalSettings = {
|
|
17
16
|
title1Color: string;
|
|
18
17
|
title2Color: string;
|
|
@@ -35,7 +34,7 @@ export declare const getGapControlSize: (gap: string) => string;
|
|
|
35
34
|
export declare const getEntryImages: (entry: JournalEntry | undefined) => JournalImage[];
|
|
36
35
|
export declare const buildJournalSlides: (entries: JournalEntry[], journalType: "A" | "B") => JournalSlide[];
|
|
37
36
|
export declare const formatSlideCounter: (slides: JournalSlide[], activeSlideIndex: number, journalType: "A" | "B", entries: JournalEntry[]) => string;
|
|
38
|
-
export declare const getEntryTitleKey: (entry:
|
|
37
|
+
export declare const getEntryTitleKey: (entry: JournalEntry | undefined) => string;
|
|
39
38
|
export declare const shouldShowCounter: (journalType: "A" | "B", slides: JournalSlide[], entries: JournalEntry[]) => boolean;
|
|
40
39
|
type JournalTitleWidthKey = 'title1Width' | 'title2Width' | 'title3Width';
|
|
41
40
|
export declare const TITLE_RESIZE_HANDLE_WIDTH = 0.004;
|
|
@@ -49,7 +48,7 @@ export type JournalTitleSlot = {
|
|
|
49
48
|
style: CSSProperties;
|
|
50
49
|
text: string;
|
|
51
50
|
};
|
|
52
|
-
export declare const buildJournalTitleSlots: (prefix: string, entry:
|
|
51
|
+
export declare const buildJournalTitleSlots: (prefix: string, entry: JournalEntry, title1Style: CSSProperties, title2Style: CSSProperties, title3Style: CSSProperties) => JournalTitleSlot[];
|
|
53
52
|
export declare const resolveJournalTitleWidths: (count: number, storedWidths: number[]) => number[];
|
|
54
53
|
export declare const getEffectiveJournalTitleWidths: (count: number, storedWidths: number[]) => number[];
|
|
55
54
|
export declare const getJournalTitleMaxWidth: (columnIndex: number, resolvedWidths: number[]) => number;
|
|
@@ -16,15 +16,12 @@ export declare const OnelinerFormComponent: {
|
|
|
16
16
|
defaultSize: {
|
|
17
17
|
d: {
|
|
18
18
|
width: number;
|
|
19
|
-
height: number;
|
|
20
19
|
};
|
|
21
20
|
t: {
|
|
22
21
|
width: number;
|
|
23
|
-
height: number;
|
|
24
22
|
};
|
|
25
23
|
m: {
|
|
26
24
|
width: number;
|
|
27
|
-
height: number;
|
|
28
25
|
};
|
|
29
26
|
};
|
|
30
27
|
assetsPaths: {
|
|
@@ -544,6 +541,30 @@ export declare const OnelinerFormComponent: {
|
|
|
544
541
|
statusFontSize: number;
|
|
545
542
|
statusLineHeight: number;
|
|
546
543
|
};
|
|
544
|
+
t: {
|
|
545
|
+
minHeight: number;
|
|
546
|
+
iconMaxWidth: number;
|
|
547
|
+
stroke: number;
|
|
548
|
+
corners: number;
|
|
549
|
+
buttonPadding: {
|
|
550
|
+
top: number;
|
|
551
|
+
right: number;
|
|
552
|
+
bottom: number;
|
|
553
|
+
left: number;
|
|
554
|
+
};
|
|
555
|
+
inputPadding: {
|
|
556
|
+
top: number;
|
|
557
|
+
right: number;
|
|
558
|
+
bottom: number;
|
|
559
|
+
left: number;
|
|
560
|
+
};
|
|
561
|
+
inputFontSize: number;
|
|
562
|
+
inputLineHeight: number;
|
|
563
|
+
buttonFontSize: number;
|
|
564
|
+
buttonLineHeight: number;
|
|
565
|
+
statusFontSize: number;
|
|
566
|
+
statusLineHeight: number;
|
|
567
|
+
};
|
|
547
568
|
d: {
|
|
548
569
|
minHeight: number;
|
|
549
570
|
iconMaxWidth: number;
|
|
@@ -34,15 +34,12 @@ export declare const TestimonialSingleComponent: {
|
|
|
34
34
|
defaultSize: {
|
|
35
35
|
d: {
|
|
36
36
|
width: number;
|
|
37
|
-
height: number;
|
|
38
37
|
};
|
|
39
38
|
t: {
|
|
40
39
|
width: number;
|
|
41
|
-
height: number;
|
|
42
40
|
};
|
|
43
41
|
m: {
|
|
44
42
|
width: number;
|
|
45
|
-
height: number;
|
|
46
43
|
};
|
|
47
44
|
};
|
|
48
45
|
schema: ComponentSchemaV1;
|