@saasquatch/mint-components 2.1.2-2 → 2.1.2-4
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/cjs/sqm-big-stat_45.cjs.entry.js +6 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +8 -4
- package/dist/esm/sqm-big-stat_45.entry.js +6 -0
- package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-3c03e998.system.entry.js +1 -0
- package/dist/mint-components/{p-fe59f795.entry.js → p-51053bce.entry.js} +1 -1
- package/dist/mint-components/p-f395bf09.system.js +1 -1
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +0 -1
- package/dist/types/components.d.ts +0 -2
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/dist/mint-components/p-6a576025.system.entry.js +0 -1
|
@@ -1831,6 +1831,12 @@ const HeroImage = class {
|
|
|
1831
1831
|
* @uiGroup Style
|
|
1832
1832
|
*/
|
|
1833
1833
|
this.buttonType = "primary";
|
|
1834
|
+
/**
|
|
1835
|
+
* Minimum height of the component in pixels. Reserves vertical space to prevent layout shift while the image loads.
|
|
1836
|
+
*
|
|
1837
|
+
* @uiName Minimum height (px)
|
|
1838
|
+
*/
|
|
1839
|
+
this.minHeight = 400;
|
|
1834
1840
|
/**
|
|
1835
1841
|
* Alt text for the hero image (columns layout). Leave empty for decorative images.
|
|
1836
1842
|
*
|
|
@@ -77,6 +77,12 @@ export class HeroImage {
|
|
|
77
77
|
* @uiGroup Style
|
|
78
78
|
*/
|
|
79
79
|
this.buttonType = "primary";
|
|
80
|
+
/**
|
|
81
|
+
* Minimum height of the component in pixels. Reserves vertical space to prevent layout shift while the image loads.
|
|
82
|
+
*
|
|
83
|
+
* @uiName Minimum height (px)
|
|
84
|
+
*/
|
|
85
|
+
this.minHeight = 400;
|
|
80
86
|
/**
|
|
81
87
|
* Alt text for the hero image (columns layout). Leave empty for decorative images.
|
|
82
88
|
*
|
|
@@ -586,14 +592,12 @@ export class HeroImage {
|
|
|
586
592
|
"tags": [{
|
|
587
593
|
"text": "Minimum height (px)",
|
|
588
594
|
"name": "uiName"
|
|
589
|
-
}, {
|
|
590
|
-
"text": "Style",
|
|
591
|
-
"name": "uiGroup"
|
|
592
595
|
}],
|
|
593
596
|
"text": "Minimum height of the component in pixels. Reserves vertical space to prevent layout shift while the image loads."
|
|
594
597
|
},
|
|
595
598
|
"attribute": "min-height",
|
|
596
|
-
"reflect": false
|
|
599
|
+
"reflect": false,
|
|
600
|
+
"defaultValue": "400"
|
|
597
601
|
},
|
|
598
602
|
"imageAlt": {
|
|
599
603
|
"type": "string",
|
|
@@ -1827,6 +1827,12 @@ const HeroImage = class {
|
|
|
1827
1827
|
* @uiGroup Style
|
|
1828
1828
|
*/
|
|
1829
1829
|
this.buttonType = "primary";
|
|
1830
|
+
/**
|
|
1831
|
+
* Minimum height of the component in pixels. Reserves vertical space to prevent layout shift while the image loads.
|
|
1832
|
+
*
|
|
1833
|
+
* @uiName Minimum height (px)
|
|
1834
|
+
*/
|
|
1835
|
+
this.minHeight = 400;
|
|
1830
1836
|
/**
|
|
1831
1837
|
* Alt text for the hero image (columns layout). Leave empty for decorative images.
|
|
1832
1838
|
*
|