@magmamath/students-features 0.9.107-rc.chatbot-8 → 0.9.107
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/typescript/commonjs/lib/components/ConditionalWrapper.d.ts +1 -1
- package/dist/typescript/commonjs/lib/components/ConditionalWrapper.d.ts.map +1 -1
- package/dist/typescript/module/lib/components/ConditionalWrapper.d.ts +1 -1
- package/dist/typescript/module/lib/components/ConditionalWrapper.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/lib/components/ConditionalWrapper.tsx +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { ComponentType, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
type ConditionalWrapperProps = {
|
|
3
|
+
children: ReactNode;
|
|
3
4
|
withWrapper?: boolean;
|
|
4
5
|
Wrapper?: ComponentType<PropsWithChildren>;
|
|
5
|
-
children?: ReactNode;
|
|
6
6
|
};
|
|
7
7
|
export declare const ConditionalWrapper: ({ withWrapper, Wrapper, children }: ConditionalWrapperProps) => string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | null | undefined;
|
|
8
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionalWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/ConditionalWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAE1E,KAAK,uBAAuB,GAAG;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"ConditionalWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/ConditionalWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAE1E,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,SAAS,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;CAC3C,CAAA;AAED,eAAO,MAAM,kBAAkB,uCAAwC,uBAAuB,iGAM7F,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { ComponentType, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
type ConditionalWrapperProps = {
|
|
3
|
+
children: ReactNode;
|
|
3
4
|
withWrapper?: boolean;
|
|
4
5
|
Wrapper?: ComponentType<PropsWithChildren>;
|
|
5
|
-
children?: ReactNode;
|
|
6
6
|
};
|
|
7
7
|
export declare const ConditionalWrapper: ({ withWrapper, Wrapper, children }: ConditionalWrapperProps) => string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | null | undefined;
|
|
8
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionalWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/ConditionalWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAE1E,KAAK,uBAAuB,GAAG;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"ConditionalWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/ConditionalWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAE1E,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,SAAS,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;CAC3C,CAAA;AAED,eAAO,MAAM,kBAAkB,uCAAwC,uBAAuB,iGAM7F,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { ComponentType, PropsWithChildren, ReactNode } from 'react'
|
|
2
2
|
|
|
3
3
|
type ConditionalWrapperProps = {
|
|
4
|
+
children: ReactNode
|
|
4
5
|
withWrapper?: boolean
|
|
5
6
|
Wrapper?: ComponentType<PropsWithChildren>
|
|
6
|
-
children?: ReactNode
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export const ConditionalWrapper = ({ withWrapper, Wrapper, children }: ConditionalWrapperProps) => {
|