@wickermoney/ui-kit 0.0.0 → 0.1.0-rc.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/package.json +4 -4
- package/dist/Feedback.d.ts +0 -14
- package/dist/Feedback.d.ts.map +0 -1
- package/dist/Feedback.js +0 -11
- package/dist/Feedback.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wickermoney/ui-kit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.1.0-rc.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/
|
|
7
|
+
"url": "git+https://github.com/WickerMoney/wicker-money.git",
|
|
8
8
|
"directory": "packages/ui-kit"
|
|
9
9
|
},
|
|
10
|
-
"homepage": "https://github.com/
|
|
10
|
+
"homepage": "https://github.com/WickerMoney/wicker-money#readme",
|
|
11
11
|
"bugs": {
|
|
12
|
-
"url": "https://github.com/
|
|
12
|
+
"url": "https://github.com/WickerMoney/wicker-money/issues"
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"main": "./dist/index.js",
|
package/dist/Feedback.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export declare function Spinner({ label }: {
|
|
3
|
-
readonly label?: string;
|
|
4
|
-
}): import("react").JSX.Element;
|
|
5
|
-
export interface EmptyStateProps {
|
|
6
|
-
readonly title: string;
|
|
7
|
-
readonly hint?: string;
|
|
8
|
-
readonly action?: ReactNode;
|
|
9
|
-
}
|
|
10
|
-
export declare function EmptyState({ title, hint, action }: EmptyStateProps): import("react").JSX.Element;
|
|
11
|
-
export declare function Alert({ children }: {
|
|
12
|
-
readonly children: ReactNode;
|
|
13
|
-
}): import("react").JSX.Element;
|
|
14
|
-
//# sourceMappingURL=Feedback.d.ts.map
|
package/dist/Feedback.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Feedback.d.ts","sourceRoot":"","sources":["../src/Feedback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,wBAAgB,OAAO,CAAC,EAAE,KAAiB,EAAE,EAAE;IAAE,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,+BAEzE;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,CAAA;CAC5B;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,eAAe,+BAQlE;AAED,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAEnE"}
|
package/dist/Feedback.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
export function Spinner({ label = 'Loading' }) {
|
|
3
|
-
return _jsx("span", { className: "fio-spinner", role: "status", "aria-label": label });
|
|
4
|
-
}
|
|
5
|
-
export function EmptyState({ title, hint, action }) {
|
|
6
|
-
return (_jsxs("div", { className: "fio-empty", children: [_jsx("div", { className: "fio-empty__title", children: title }), hint !== undefined ? _jsx("div", { children: hint }) : null, action !== undefined ? _jsx("div", { style: { marginTop: 12 }, children: action }) : null] }));
|
|
7
|
-
}
|
|
8
|
-
export function Alert({ children }) {
|
|
9
|
-
return _jsx("div", { className: "fio-alert", role: "alert", children: children });
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=Feedback.js.map
|
package/dist/Feedback.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Feedback.js","sourceRoot":"","sources":["../src/Feedback.tsx"],"names":[],"mappings":";AAEA,MAAM,UAAU,OAAO,CAAC,EAAE,KAAK,GAAG,SAAS,EAA+B;IACxE,OAAO,eAAM,SAAS,EAAC,aAAa,EAAC,IAAI,EAAC,QAAQ,gBAAa,KAAK,GAAI,CAAA;AAC1E,CAAC;AAQD,MAAM,UAAU,UAAU,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAmB;IACjE,OAAO,CACL,eAAK,SAAS,EAAC,WAAW,aACxB,cAAK,SAAS,EAAC,kBAAkB,YAAE,KAAK,GAAO,EAC9C,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,wBAAM,IAAI,GAAO,CAAC,CAAC,CAAC,IAAI,EAC7C,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,cAAK,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,YAAG,MAAM,GAAO,CAAC,CAAC,CAAC,IAAI,IACxE,CACP,CAAA;AACH,CAAC;AAED,MAAM,UAAU,KAAK,CAAC,EAAE,QAAQ,EAAoC;IAClE,OAAO,cAAK,SAAS,EAAC,WAAW,EAAC,IAAI,EAAC,OAAO,YAAE,QAAQ,GAAO,CAAA;AACjE,CAAC"}
|