@macive/ui 0.0.22 → 0.0.23
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/src/components/Icon/Icon.js +5 -3
- package/dist/src/components/Image/Image.js +23 -59
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/src/components/Icon/Icon.d.ts +1 -1
- package/dist/types/src/components/Icon/Icon.d.ts.map +1 -1
- package/dist/types/src/components/Image/Image.d.ts +2 -1
- package/dist/types/src/components/Image/Image.d.ts.map +1 -1
- package/dist/types/src/components/Input/Input.d.ts +1 -1
- package/dist/ui.min.css +1 -1
- package/package.json +1 -1
|
@@ -52,6 +52,6 @@ export interface CheckboxProps {
|
|
|
52
52
|
legacy?: boolean;
|
|
53
53
|
readOnly?: boolean;
|
|
54
54
|
}
|
|
55
|
-
export declare const Checkbox: React.ForwardRefExoticComponent<Pick<CheckboxProps, "
|
|
55
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<Pick<CheckboxProps, "label" | "id" | "onFocus" | "onBlur" | "onChange" | "name" | "disabled" | "value" | "helpText" | "checked" | "readOnly" | "ariaDescribedBy" | "ariaControls" | "error" | "labelHidden" | "legacy"> & React.RefAttributes<CheckboxHandles>>;
|
|
56
56
|
export {};
|
|
57
57
|
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
1
2
|
import type { IconSource } from '../../typos';
|
|
2
3
|
import { MaciveIconTheme } from '../Icons';
|
|
3
|
-
import { ComponentType } from 'react';
|
|
4
4
|
type Color = 'base' | 'subdued' | 'critical' | 'interactive' | 'warning' | 'highlight' | 'success' | 'primary' | 'magic';
|
|
5
5
|
type ExtendedIconSource = IconSource | ComponentType<any> | Record<string, any> | string | 'placeholder';
|
|
6
6
|
export interface IconProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAkB,MAAM,OAAO,CAAA;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAE7C,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAI1C,KAAK,KAAK,GACN,MAAM,GACN,SAAS,GACT,UAAU,GACV,aAAa,GACb,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,OAAO,CAAA;AAKX,KAAK,kBAAkB,GACnB,UAAU,GACV,aAAa,CAAC,GAAG,CAAC,GAClB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB,MAAM,GACN,aAAa,CAAA;AAEjB,MAAM,WAAW,SAAS;IACxB,4FAA4F;IAC5F,MAAM,EAAE,kBAAkB,CAAA;IAC1B,qCAAqC;IACrC,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mDAAmD;IACnD,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAA;IACvC,KAAK,CAAC,EAAE,eAAe,CAAA;CACxB;AAED,wBAAgB,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,IAAS,EAAE,KAAK,EAAE,EAAE,SAAS,eA2IhG"}
|
|
@@ -15,6 +15,7 @@ export interface ImageProps extends React.HTMLProps<HTMLImageElement> {
|
|
|
15
15
|
lazy?: boolean;
|
|
16
16
|
}
|
|
17
17
|
export declare const fallbackImageSVG = "\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" fill=\"#ccc\">\n <rect width=\"100\" height=\"100\" />\n <text x=\"50%\" y=\"50%\" dominant-baseline=\"middle\" text-anchor=\"middle\" fill=\"#000\" font-size=\"12\">Image not available</text>\n </svg>\n";
|
|
18
|
-
export declare function Image({ alt, sourceSet, source, crossOrigin, onLoad, onError, className, rounded, lazy,
|
|
18
|
+
export declare function Image({ alt, sourceSet, source, crossOrigin, onLoad, onError, className, rounded, lazy, // Default to false
|
|
19
|
+
style, ...rest }: ImageProps): JSX.Element;
|
|
19
20
|
export {};
|
|
20
21
|
//# sourceMappingURL=Image.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/components/Image/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAE1D,UAAU,SAAS;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,KAAK,WAAW,GAAG,WAAW,GAAG,iBAAiB,GAAG,EAAE,GAAG,SAAS,CAAA;AAEnE,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC;IACnE,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,SAAS,CAAC,EAAE,SAAS,EAAE,CAAA;IACvB,MAAM,CAAC,IAAI,IAAI,CAAA;IACf,OAAO,CAAC,IAAI,IAAI,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/components/Image/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAE1D,UAAU,SAAS;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,KAAK,WAAW,GAAG,WAAW,GAAG,iBAAiB,GAAG,EAAE,GAAG,SAAS,CAAA;AAEnE,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC;IACnE,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,SAAS,CAAC,EAAE,SAAS,EAAE,CAAA;IACvB,MAAM,CAAC,IAAI,IAAI,CAAA;IACf,OAAO,CAAC,IAAI,IAAI,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAGD,eAAO,MAAM,gBAAgB,6RAK5B,CAAA;AAgBD,wBAAgB,KAAK,CAAC,EACpB,GAAG,EACH,SAAS,EACT,MAAM,EACN,WAAW,EACX,MAAM,EACN,OAAO,EACP,SAAS,EACT,OAAO,EACP,IAAW,EAAE,mBAAmB;AAChC,KAAK,EACL,GAAG,IAAI,EACR,EAAE,UAAU,eAwGZ"}
|
|
@@ -72,6 +72,6 @@ interface NonMutuallyExclusiveProps {
|
|
|
72
72
|
step?: number | string;
|
|
73
73
|
required?: boolean;
|
|
74
74
|
}
|
|
75
|
-
export declare const Input: React.ForwardRefExoticComponent<Pick<NonMutuallyExclusiveProps, "
|
|
75
|
+
export declare const Input: React.ForwardRefExoticComponent<Pick<NonMutuallyExclusiveProps, "placeholder" | "label" | "id" | "role" | "prefix" | "max" | "min" | "name" | "type" | "disabled" | "value" | "helpText" | "suffix" | "step" | "align" | "autoComplete" | "autoFocus" | "maxLength" | "readOnly" | "required" | "error" | "labelHidden" | "requiredIndicator" | "verticalContent" | "labelAction" | "clearButton" | "focused" | "connectedRight" | "connectedLeft" | "showCharacterCount" | "monospaced" | "suggestion" | "onClearButtonClick" | "borderless"> & React.RefAttributes<HTMLInputElement>>;
|
|
76
76
|
export {};
|
|
77
77
|
//# sourceMappingURL=Input.d.ts.map
|