@choosemycompany/ui 0.19.5 → 0.19.7
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/assets/index.css +1 -1
- package/dist/index.d.ts +2 -4
- package/dist/index.js +3 -3
- package/dist/index.umd.js +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -317,8 +317,8 @@ declare interface CertificateProps {
|
|
|
317
317
|
rank?: Rank;
|
|
318
318
|
period: number;
|
|
319
319
|
country: string;
|
|
320
|
-
width
|
|
321
|
-
height
|
|
320
|
+
width?: number;
|
|
321
|
+
height?: number;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
export declare const CmcAlert: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -351,8 +351,6 @@ export declare const CmcButton: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
|
351
351
|
export declare const CmcButtonGroup: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
352
352
|
|
|
353
353
|
export declare const CmcCertificate: DefineComponent<CertificateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CertificateProps> & Readonly<{}>, {
|
|
354
|
-
width: number;
|
|
355
|
-
height: number;
|
|
356
354
|
primaryType: PrimaryType;
|
|
357
355
|
rank: Rank;
|
|
358
356
|
period: number;
|
package/dist/index.js
CHANGED
|
@@ -1925,8 +1925,8 @@ const sn = {
|
|
|
1925
1925
|
rank: { default: ne.bronze },
|
|
1926
1926
|
period: { default: 2026 },
|
|
1927
1927
|
country: { default: "France" },
|
|
1928
|
-
width: {
|
|
1929
|
-
height: {
|
|
1928
|
+
width: {},
|
|
1929
|
+
height: {}
|
|
1930
1930
|
},
|
|
1931
1931
|
setup(e) {
|
|
1932
1932
|
const n = e, t = {
|
|
@@ -1980,7 +1980,7 @@ const sn = {
|
|
|
1980
1980
|
`class="label-type" style="fill:${a}"`
|
|
1981
1981
|
);
|
|
1982
1982
|
}
|
|
1983
|
-
return i.replace(/%color%/g, r.value).replace(/%width%/g, n.width ? n.width.toString() : "
|
|
1983
|
+
return i.replace(/%color%/g, r.value).replace(/%width%/g, n.width ? n.width.toString() : "100%").replace(/%height%/g, n.height ? n.height.toString() : "100%").replace(/global-gradient/g, `global-gradient-${n.primaryType}`).replace(/%region%/g, n.country).replace(/%labeltype%/g, n.primaryType.toUpperCase()).replace(/%period%/g, n.period.toString());
|
|
1984
1984
|
});
|
|
1985
1985
|
return (i, s) => (L(), h("div", { innerHTML: l.value }, null, 8, Yn));
|
|
1986
1986
|
}
|