@nodeblocks/frontend-how-to-use-block 0.1.0 → 0.2.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/HowToUse.d.ts +4 -3
- package/dist/HowToUse.d.ts.map +1 -1
- package/dist/blocks.d.ts +2 -1
- package/dist/blocks.d.ts.map +1 -1
- package/dist/index.cjs.js +40306 -5617
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +40283 -5594
- package/dist/index.esm.js.map +1 -1
- package/dist/lib.d.ts +4 -1
- package/dist/lib.d.ts.map +1 -1
- package/package.json +5 -4
package/dist/HowToUse.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '@basaldev/blocks-frontend-framework/dist/style.css';
|
|
1
2
|
import { ComponentProps, ReactNode } from 'react';
|
|
2
3
|
import './how-to-use.css';
|
|
3
4
|
import { BlocksOverride } from './lib';
|
|
@@ -10,7 +11,7 @@ declare const HowToUse: {
|
|
|
10
11
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
CardList: ({ children, className, ...props }: ComponentProps<"div">) => import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
Card: ({ children, className, icon, headerContent, ...props }: ComponentProps<"div"> & {
|
|
13
|
-
icon:
|
|
14
|
+
icon: import("@basaldev/blocks-frontend-framework").IconType;
|
|
14
15
|
headerContent: ReactNode;
|
|
15
16
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
17
|
Footer: ({ children, className, message, linkHref, linkContent, ...props }: ComponentProps<"div"> & {
|
|
@@ -27,10 +28,10 @@ declare const defaultHowToUseBlocks: {
|
|
|
27
28
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
28
29
|
cardList: import("react").ReactElement<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, ({ children, className, ...props }: ComponentProps<"div">) => import("react/jsx-runtime").JSX.Element>;
|
|
29
30
|
card: import("react").ReactElement<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
30
|
-
icon:
|
|
31
|
+
icon: import("@basaldev/blocks-frontend-framework").IconType;
|
|
31
32
|
headerContent: ReactNode;
|
|
32
33
|
}, ({ children, className, icon, headerContent, ...props }: ComponentProps<"div"> & {
|
|
33
|
-
icon:
|
|
34
|
+
icon: import("@basaldev/blocks-frontend-framework").IconType;
|
|
34
35
|
headerContent: ReactNode;
|
|
35
36
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
36
37
|
footer: import("react").ReactElement<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
package/dist/HowToUse.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HowToUse.d.ts","sourceRoot":"","sources":["../src/HowToUse.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"HowToUse.d.ts","sourceRoot":"","sources":["../src/HowToUse.tsx"],"names":[],"mappings":"AAAA,OAAO,oDAAoD,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAY,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,cAAc,EAA4D,MAAM,OAAO,CAAC;AAEjG,QAAA,MAAM,QAAQ;KAAI,YAAY,SAAS,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,0CAI7D,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;QAC3C,QAAQ,CAAC,EAAE,cAAc,CAAC,OAAO,qBAAqB,EAAE,YAAY,CAAC,CAAC;KACvE;;;;;;;;;;;;;;CAuBA,CAAC;AAOF,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;CAKzB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
package/dist/blocks.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { IconType } from '@basaldev/blocks-frontend-framework';
|
|
1
2
|
import { ComponentProps, ReactNode } from 'react';
|
|
2
3
|
export declare const Card: ({ children, className, icon, headerContent, ...props }: ComponentProps<"div"> & {
|
|
3
|
-
icon:
|
|
4
|
+
icon: IconType;
|
|
4
5
|
headerContent: ReactNode;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export declare const Header: ({ className, children, subtitle, ...props }: ComponentProps<"div"> & {
|
package/dist/blocks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../src/blocks.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../src/blocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlD,eAAO,MAAM,IAAI,GAAI,wDAMlB,cAAc,CAAC,KAAK,CAAC,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,aAAa,EAAE,SAAS,CAAA;CAAE,4CAYtE,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,6CAKpB,cAAc,CAAC,KAAK,CAAC,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,4CAOjD,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,mEAOpB,cAAc,CAAC,KAAK,CAAC,GAAG;IAAE,OAAO,EAAE,SAAS,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,SAAS,CAAA;CAAE,4CAS1F,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,mCActB,cAAc,CAAC,KAAK,CAAC,4CAqBvB,CAAC"}
|