@cntrl-site/components 1.0.12-alpha.20 → 1.0.12-alpha.22
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/Grid/Grid.d.ts +10 -10
- package/dist/Components/List/List.d.ts +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +613 -349
- package/dist/index.mjs +4196 -3930
- package/dist/types/Component.d.ts +7 -4
- package/package.json +1 -1
- package/dist/Components/utils/getMainFontBaseOnSystem.d.ts +0 -1
|
@@ -19,26 +19,26 @@ type GridLayoutConfig = {
|
|
|
19
19
|
lockedParam?: 'wrapperWidth' | 'entryWidth' | 'horizontalGap' | null;
|
|
20
20
|
};
|
|
21
21
|
type GridSettings = {
|
|
22
|
-
type: '
|
|
22
|
+
type: 'a' | 'b' | 'c';
|
|
23
23
|
gridLayout: GridLayoutConfig;
|
|
24
24
|
textBoxWidth: number;
|
|
25
25
|
verticalGap: number;
|
|
26
26
|
entriesCount: number;
|
|
27
|
-
lightbox: '
|
|
27
|
+
lightbox: 'on' | 'off';
|
|
28
28
|
imageDisplay: {
|
|
29
|
-
display: '
|
|
29
|
+
display: 'fit' | 'cover';
|
|
30
30
|
ratioValue: '1:1' | '2:3' | '3:4' | '4:5' | '16:9';
|
|
31
31
|
reversed: boolean;
|
|
32
32
|
};
|
|
33
|
-
lightboxImageDisplay?: '
|
|
34
|
-
display?: '
|
|
33
|
+
lightboxImageDisplay?: 'fit' | 'cover' | {
|
|
34
|
+
display?: 'fit' | 'cover';
|
|
35
35
|
};
|
|
36
|
-
slider: '
|
|
36
|
+
slider: 'on' | 'off';
|
|
37
37
|
sliderTiming: number;
|
|
38
|
-
direction: '
|
|
39
|
-
transition: '
|
|
40
|
-
showText: '
|
|
41
|
-
alignEntries: '
|
|
38
|
+
direction: 'horizontal' | 'vertical' | 'random';
|
|
39
|
+
transition: 'fade' | 'slide';
|
|
40
|
+
showText: 'always' | 'on hover';
|
|
41
|
+
alignEntries: 'on' | 'off';
|
|
42
42
|
titleMarginTop: number;
|
|
43
43
|
subtitleMarginTop: number;
|
|
44
44
|
titleColor: string;
|
|
@@ -65,11 +65,11 @@ type ListColumnTextStyleOverrides = {
|
|
|
65
65
|
export type ListColumnVerticalAlignKey = `${ListColumnPrefix}VerticalAlign`;
|
|
66
66
|
export type ListSettings = {
|
|
67
67
|
columns: number;
|
|
68
|
-
type: '
|
|
68
|
+
type: 'a' | 'b';
|
|
69
69
|
wrapperWidth: number;
|
|
70
70
|
entriesCount: number;
|
|
71
71
|
cellMinHeight: number;
|
|
72
|
-
imageOnHover: '
|
|
72
|
+
imageOnHover: 'on' | 'off';
|
|
73
73
|
imageSize?: {
|
|
74
74
|
min: number;
|
|
75
75
|
max: number;
|
|
@@ -80,8 +80,8 @@ export type ListSettings = {
|
|
|
80
80
|
showCut: number;
|
|
81
81
|
cutCellMinHeight: number;
|
|
82
82
|
cutLabel: string;
|
|
83
|
-
entryHoverEffect: '
|
|
84
|
-
entryHoverShowOption: '
|
|
83
|
+
entryHoverEffect: 'none' | 'default' | 'blinds' | 'reveal';
|
|
84
|
+
entryHoverShowOption: 'always' | 'link only';
|
|
85
85
|
rowPaddingTop: number;
|
|
86
86
|
rowPaddingBottom: number;
|
|
87
87
|
rowPaddingTopB: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { type Component, isSchemaV1 } from './types/Component';
|
|
1
|
+
export { type Breakpoint, type Component, type ComponentDefaultSize, type ComponentSize, isSchemaV1 } from './types/Component';
|
|
2
2
|
export type { ComponentSchemaV1, SchemaProperty, PropertyScope, LayoutItem, LayoutRow, LayoutGroup, LayoutSwitcher, LayoutTab, SchemaSection, SchemaPanel, SchemaDisplay } from './types/SchemaV1';
|
|
3
3
|
export { components } from './Components/components';
|