@kaio-xyz/design-system 1.1.76 → 1.1.78
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.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -144,10 +144,10 @@ declare const SpinnedIcon: ({ size, duration, className, icon: Icon, ...rest }:
|
|
|
144
144
|
|
|
145
145
|
type LoaderProps = PropsWithChildren<{
|
|
146
146
|
text?: string;
|
|
147
|
-
|
|
147
|
+
isLighter?: boolean;
|
|
148
148
|
className?: string;
|
|
149
149
|
}>;
|
|
150
|
-
declare const Loader: ({ text, children, className,
|
|
150
|
+
declare const Loader: ({ text, children, className, isLighter }: LoaderProps) => react_jsx_runtime.JSX.Element;
|
|
151
151
|
|
|
152
152
|
type CheckboxAttributes = Omit<InputHTMLAttributes<HTMLInputElement>, "id" | "size">;
|
|
153
153
|
type Props = CheckboxAttributes & {
|
|
@@ -335,14 +335,14 @@ type DrawerProps = {
|
|
|
335
335
|
};
|
|
336
336
|
declare const Drawer: ({ isOpen, title, children, className, actions, onClose, isLarge, subTitle, }: DrawerProps) => react.ReactPortal;
|
|
337
337
|
|
|
338
|
-
type AlertProps =
|
|
338
|
+
type AlertProps = {
|
|
339
339
|
title: string;
|
|
340
340
|
dataTest: string;
|
|
341
|
-
description?:
|
|
341
|
+
description?: ReactNode;
|
|
342
342
|
type?: "primary" | "info" | "warning" | "danger" | "success";
|
|
343
343
|
buttonText?: string;
|
|
344
344
|
onClick?: () => void;
|
|
345
|
-
}
|
|
345
|
+
};
|
|
346
346
|
declare const Alert: ({ title, type, description, buttonText, dataTest, onClick, ...rest }: AlertProps) => react_jsx_runtime.JSX.Element;
|
|
347
347
|
|
|
348
348
|
type BoxProps = {
|
package/dist/index.esm.js
CHANGED
|
@@ -484,11 +484,11 @@ var FormSelect = function (_a) {
|
|
|
484
484
|
};
|
|
485
485
|
FormSelect.displayName = "FormSelect";
|
|
486
486
|
|
|
487
|
-
var style$k = {"root":"loader-module__root__qnInQ"};
|
|
487
|
+
var style$k = {"root":"loader-module__root__qnInQ","body":"loader-module__body__B-xBi"};
|
|
488
488
|
|
|
489
489
|
var Loader = function (_a) {
|
|
490
|
-
var text = _a.text, children = _a.children, className = _a.className, _b = _a.
|
|
491
|
-
return (jsx("div", { className: clsx(style$k.root, className), "data-is-
|
|
490
|
+
var text = _a.text, children = _a.children, className = _a.className, _b = _a.isLighter, isLighter = _b === void 0 ? false : _b;
|
|
491
|
+
return (jsx("div", { className: clsx(style$k.root, className), "data-is-lighter": isLighter, children: jsxs(Stack, { className: style$k.body, dataAlignItems: "center", children: [jsx(SpinnedIcon, { size: 50 }), text && jsx("p", { children: text }), children] }) }));
|
|
492
492
|
};
|
|
493
493
|
|
|
494
494
|
var style$j = {"root":"checkbox-module__root__W52jD","customCheckbox":"checkbox-module__customCheckbox__LACTE","label":"checkbox-module__label__ujd0G","frame":"checkbox-module__frame__njRTK","icon":"checkbox-module__icon__7kQzK"};
|