catchup-library-web 1.10.7 → 1.11.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/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -0
- package/dist/index.mjs +6 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -26,7 +26,7 @@ declare const ApproveButton: ({ title, size, onClick, disabled, iconPosition, te
|
|
|
26
26
|
|
|
27
27
|
declare const BaseImage: react.ForwardRefExoticComponent<IBaseImageProps & react.RefAttributes<HTMLImageElement>>;
|
|
28
28
|
interface IBaseImageProps {
|
|
29
|
-
size?: "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "3xlarge" | "4xlarge" | "custom";
|
|
29
|
+
size?: "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "3xlarge" | "4xlarge" | "5xlarge" | "6xlarge" | "custom";
|
|
30
30
|
className?: string;
|
|
31
31
|
widthClassName?: string;
|
|
32
32
|
heightClassName?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ declare const ApproveButton: ({ title, size, onClick, disabled, iconPosition, te
|
|
|
26
26
|
|
|
27
27
|
declare const BaseImage: react.ForwardRefExoticComponent<IBaseImageProps & react.RefAttributes<HTMLImageElement>>;
|
|
28
28
|
interface IBaseImageProps {
|
|
29
|
-
size?: "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "3xlarge" | "4xlarge" | "custom";
|
|
29
|
+
size?: "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "3xlarge" | "4xlarge" | "5xlarge" | "6xlarge" | "custom";
|
|
30
30
|
className?: string;
|
|
31
31
|
widthClassName?: string;
|
|
32
32
|
heightClassName?: string;
|
package/dist/index.js
CHANGED
|
@@ -363,6 +363,12 @@ var BaseImage = (0, import_react.forwardRef)(
|
|
|
363
363
|
} else if (size === "4xlarge") {
|
|
364
364
|
currentWidthClassName = "w-20";
|
|
365
365
|
currentHeightClassName = "h-20";
|
|
366
|
+
} else if (size === "5xlarge") {
|
|
367
|
+
currentWidthClassName = "w-24";
|
|
368
|
+
currentHeightClassName = "h-24";
|
|
369
|
+
} else if (size === "6xlarge") {
|
|
370
|
+
currentWidthClassName = "w-28";
|
|
371
|
+
currentHeightClassName = "h-28";
|
|
366
372
|
} else if (size === "custom") {
|
|
367
373
|
currentClassName = className;
|
|
368
374
|
currentWidthClassName = widthClassName;
|
package/dist/index.mjs
CHANGED
|
@@ -164,6 +164,12 @@ var BaseImage = forwardRef(
|
|
|
164
164
|
} else if (size === "4xlarge") {
|
|
165
165
|
currentWidthClassName = "w-20";
|
|
166
166
|
currentHeightClassName = "h-20";
|
|
167
|
+
} else if (size === "5xlarge") {
|
|
168
|
+
currentWidthClassName = "w-24";
|
|
169
|
+
currentHeightClassName = "h-24";
|
|
170
|
+
} else if (size === "6xlarge") {
|
|
171
|
+
currentWidthClassName = "w-28";
|
|
172
|
+
currentHeightClassName = "h-28";
|
|
167
173
|
} else if (size === "custom") {
|
|
168
174
|
currentClassName = className;
|
|
169
175
|
currentWidthClassName = widthClassName;
|