@makeswift/runtime 0.0.0-7ccfb7a → 0.0.0-90660eb
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/components.cjs.js +3667 -634
- package/dist/components.cjs.js.map +1 -1
- package/dist/components.es.js +3649 -621
- package/dist/components.es.js.map +1 -1
- package/dist/descriptors.cjs.js +186 -0
- package/dist/descriptors.cjs.js.map +1 -0
- package/dist/descriptors.es.js +184 -0
- package/dist/descriptors.es.js.map +1 -0
- package/dist/prop-controllers.cjs.js +2 -183
- package/dist/prop-controllers.cjs.js.map +1 -1
- package/dist/prop-controllers.es.js +1 -183
- package/dist/prop-controllers.es.js.map +1 -1
- package/dist/react-builder-preview.cjs.js +1 -0
- package/dist/react-builder-preview.cjs.js.map +1 -1
- package/dist/react-builder-preview.es.js +2 -1
- package/dist/react-builder-preview.es.js.map +1 -1
- package/dist/react.cjs.js +1 -0
- package/dist/react.cjs.js.map +1 -1
- package/dist/react.cjs2.js +92 -6
- package/dist/react.cjs2.js.map +1 -1
- package/dist/react.es.js +1 -0
- package/dist/react.es.js.map +1 -1
- package/dist/react.es2.js +91 -6
- package/dist/react.es2.js.map +1 -1
- package/dist/types/components/Carousel/Carousel.d.ts +25 -0
- package/dist/types/components/Carousel/Carousel.d.ts.map +1 -0
- package/dist/types/components/Carousel/index.d.ts +2 -0
- package/dist/types/components/Carousel/index.d.ts.map +1 -0
- package/dist/types/components/Countdown/Countdown.d.ts +24 -0
- package/dist/types/components/Countdown/Countdown.d.ts.map +1 -0
- package/dist/types/components/Countdown/index.d.ts +2 -0
- package/dist/types/components/Countdown/index.d.ts.map +1 -0
- package/dist/types/components/Divider/Divider.d.ts +14 -0
- package/dist/types/components/Divider/Divider.d.ts.map +1 -0
- package/dist/types/components/Divider/index.d.ts +2 -0
- package/dist/types/components/Divider/index.d.ts.map +1 -0
- package/dist/types/components/Embed/Embed.d.ts +11 -0
- package/dist/types/components/Embed/Embed.d.ts.map +1 -0
- package/dist/types/components/Embed/index.d.ts +2 -0
- package/dist/types/components/Embed/index.d.ts.map +1 -0
- package/dist/types/components/Image/Image.d.ts +2 -1
- package/dist/types/components/Image/Image.d.ts.map +1 -1
- package/dist/types/components/Link/index.d.ts +9 -0
- package/dist/types/components/Link/index.d.ts.map +1 -0
- package/dist/types/components/hooks/index.d.ts +2 -0
- package/dist/types/components/hooks/index.d.ts.map +1 -1
- package/dist/types/components/hooks/useColor.d.ts +7 -0
- package/dist/types/components/hooks/useColor.d.ts.map +1 -0
- package/dist/types/components/hooks/usePage.d.ts +7 -0
- package/dist/types/components/hooks/usePage.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/utils/queries.d.ts +1 -0
- package/dist/types/components/utils/queries.d.ts.map +1 -1
- package/dist/types/prop-controllers/introspection.d.ts +5 -0
- package/dist/types/prop-controllers/introspection.d.ts.map +1 -0
- package/dist/types/runtimes/react.d.ts +1 -0
- package/dist/types/runtimes/react.d.ts.map +1 -1
- package/dist/types/state/modules/prop-controllers.d.ts +1 -0
- package/dist/types/state/modules/prop-controllers.d.ts.map +1 -1
- package/dist/types/state/react-page.d.ts +2 -0
- package/dist/types/state/react-page.d.ts.map +1 -1
- package/package.json +6 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../src/components/Image/Image.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,UAAU,EACV,WAAW,EACX,YAAY,EACZ,sBAAsB,EACtB,YAAY,EACZ,cAAc,EACd,UAAU,EACX,MAAM,oCAAoC,CAAA;
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../src/components/Image/Image.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,UAAU,EACV,SAAS,EACT,WAAW,EACX,YAAY,EACZ,sBAAsB,EACtB,YAAY,EACZ,cAAc,EACd,UAAU,EACX,MAAM,oCAAoC,CAAA;AAsB3C,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,OAAO,CAAC,EAAE,sBAAsB,CAAA;IAChC,WAAW,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAA;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;;AAkED,wBA8EE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
|
+
import { LinkValue as LinkPropControllerValue } from '../../prop-controllers/descriptors';
|
|
3
|
+
declare type BaseProps = {
|
|
4
|
+
link?: LinkPropControllerValue;
|
|
5
|
+
onClick?: (event: MouseEvent<HTMLAnchorElement>) => unknown;
|
|
6
|
+
};
|
|
7
|
+
export declare const Link: import("react").ForwardRefExoticComponent<BaseProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof import("react").AnchorHTMLAttributes<HTMLAnchorElement>>, keyof BaseProps> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwC,UAAU,EAAE,MAAM,OAAO,CAAA;AAIxE,OAAO,EAAE,SAAS,IAAI,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAIzF,aAAK,SAAS,GAAG;IACf,IAAI,CAAC,EAAE,uBAAuB,CAAA;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,OAAO,CAAA;CAC5D,CAAA;AAID,eAAO,MAAM,IAAI,6TAkGf,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ResponsiveValue } from '../../prop-controllers';
|
|
2
|
+
import type { ColorValue as Color } from '../utils/types';
|
|
3
|
+
export declare function useColor(color: ResponsiveValue<{
|
|
4
|
+
swatchId: string;
|
|
5
|
+
alpha: number;
|
|
6
|
+
}> | null | undefined): ResponsiveValue<Color> | null | undefined;
|
|
7
|
+
//# sourceMappingURL=useColor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useColor.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useColor.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAG7D,OAAO,KAAK,EAAE,UAAU,IAAI,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAEzD,wBAAgB,QAAQ,CACtB,KAAK,EACD,eAAe,CAAC;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC,GACF,IAAI,GACJ,SAAS,GACZ,eAAe,CAAC,KAAK,CAAC,GAAG,IAAI,GAAG,SAAS,CAoB3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePage.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/usePage.ts"],"names":[],"mappings":"AAIA,aAAK,IAAI,GAAG;IACV,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAWlF"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export { default as Root } from './Root';
|
|
2
2
|
export { default as Box } from './Box';
|
|
3
|
+
export { default as Carousel } from './Carousel';
|
|
4
|
+
export { default as Countdown } from './Countdown';
|
|
5
|
+
export { default as Divider } from './Divider';
|
|
6
|
+
export { default as Embed } from './Embed';
|
|
3
7
|
export { default as Image } from './Image';
|
|
4
8
|
export * from './Box';
|
|
5
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,cAAc,OAAO,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,cAAc,OAAO,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/queries.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,cAS1B,CAAA;AAED,eAAO,MAAM,UAAU,cAatB,CAAA;AAED,eAAO,MAAM,WAAW,cAavB,CAAA"}
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/queries.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,cAS1B,CAAA;AAED,eAAO,MAAM,UAAU,cAatB,CAAA;AAED,eAAO,MAAM,WAAW,cAavB,CAAA;AAED,eAAO,MAAM,oBAAoB,cAOhC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Descriptor } from './descriptors';
|
|
2
|
+
import { Data, Element } from '../state/react-page';
|
|
3
|
+
export declare function getElementChildren<T extends Data>(descriptor: Descriptor<T>, prop: T | undefined): Element[];
|
|
4
|
+
export declare function getElementId<T extends Data>(descriptor: Descriptor<T>, prop: T | undefined): string | null;
|
|
5
|
+
//# sourceMappingURL=introspection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"introspection.d.ts","sourceRoot":"","sources":["../../../src/prop-controllers/introspection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAoC,MAAM,eAAe,CAAA;AAC5E,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAEnD,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,IAAI,EAC/C,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,EACzB,IAAI,EAAE,CAAC,GAAG,SAAS,GAClB,OAAO,EAAE,CAUX;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,IAAI,EACzC,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,EACzB,IAAI,EAAE,CAAC,GAAG,SAAS,GAClB,MAAM,GAAG,IAAI,CAUf"}
|
|
@@ -16,6 +16,7 @@ declare type RuntimeProviderProps = {
|
|
|
16
16
|
children?: ReactNode;
|
|
17
17
|
};
|
|
18
18
|
export declare function RuntimeProvider({ children, defaultRootElements, }: RuntimeProviderProps): JSX.Element;
|
|
19
|
+
export declare function useElementId(elementKey: string | null | undefined): string | null;
|
|
19
20
|
export declare function useIsInBuilder(): boolean;
|
|
20
21
|
declare type ElementProps = {
|
|
21
22
|
element: ReactPage.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../src/runtimes/react.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EAMV,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,SAAS,MAAM,qBAAqB,CAAA;AAQhD,OAAO,KAAK,EACV,wBAAwB,EACxB,iCAAiC,EAClC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAIhE,eAAO,MAAM,YAAY;;cAYV,MAAM;eAAS,MAAM;;;;QAC/B,MAAM,IAAI;CAcd,CAAA;AAID,aAAK,oBAAoB,GAAG;IAC1B,mBAAmB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IACpD,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,mBAAmB,GACpB,EAAE,oBAAoB,GAAG,GAAG,CAAC,OAAO,CAwCpC;
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../src/runtimes/react.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EAMV,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,SAAS,MAAM,qBAAqB,CAAA;AAQhD,OAAO,KAAK,EACV,wBAAwB,EACxB,iCAAiC,EAClC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAIhE,eAAO,MAAM,YAAY;;cAYV,MAAM;eAAS,MAAM;;;;QAC/B,MAAM,IAAI;CAcd,CAAA;AAID,aAAK,oBAAoB,GAAG;IAC1B,mBAAmB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IACpD,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,mBAAmB,GACpB,EAAE,oBAAoB,GAAG,GAAG,CAAC,OAAO,CAwCpC;AAoBD,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAQjF;AAMD,wBAAgB,cAAc,IAAI,OAAO,CAExC;AAwDD,aAAK,YAAY,GAAG;IAClB,OAAO,EAAE,SAAS,CAAC,OAAO,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,OAAO,oDAiBlB,CAAA;AAEF,aAAK,aAAa,GAAG;IACnB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,QAAQ,qDAmBnB,CAAA"}
|
|
@@ -5,6 +5,7 @@ export declare type State = Map<string, Record<string, PropControllerDescriptor>
|
|
|
5
5
|
export declare function getInitialState({ propControllerDescriptors, }?: {
|
|
6
6
|
propControllerDescriptors?: Map<string, Record<string, PropControllerDescriptor>>;
|
|
7
7
|
}): State;
|
|
8
|
+
export declare function getPropControllerDescriptors(state: State): Map<string, Record<string, PropControllerDescriptor>>;
|
|
8
9
|
export declare function getComponentPropControllerDescriptors(state: State, componentType: string): Record<string, PropControllerDescriptor> | null;
|
|
9
10
|
export declare function reducer(state: State | undefined, action: Action): State;
|
|
10
11
|
//# sourceMappingURL=prop-controllers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-controllers.d.ts","sourceRoot":"","sources":["../../../../src/state/modules/prop-controllers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAe,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AAEjE,YAAY,EAAE,wBAAwB,EAAE,CAAA;AAExC,oBAAY,KAAK,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC,CAAA;AAEzE,wBAAgB,eAAe,CAAC,EAC9B,yBAAqC,GACtC,GAAE;IACD,yBAAyB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC,CAAA;CAC7E,GAAG,KAAK,CAEb;
|
|
1
|
+
{"version":3,"file":"prop-controllers.d.ts","sourceRoot":"","sources":["../../../../src/state/modules/prop-controllers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAe,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AAEjE,YAAY,EAAE,wBAAwB,EAAE,CAAA;AAExC,oBAAY,KAAK,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC,CAAA;AAEzE,wBAAgB,eAAe,CAAC,EAC9B,yBAAqC,GACtC,GAAE;IACD,yBAAyB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC,CAAA;CAC7E,GAAG,KAAK,CAEb;AAED,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,KAAK,GACX,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC,CAEvD;AAED,wBAAgB,qCAAqC,CACnD,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,MAAM,GACpB,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,GAAG,IAAI,CAEjD;AAED,wBAAgB,OAAO,CAAC,KAAK,mBAA2B,EAAE,MAAM,EAAE,MAAM,GAAG,KAAK,CAgB/E"}
|
|
@@ -18,6 +18,8 @@ declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
18
18
|
export declare type State = ReturnType<typeof reducer>;
|
|
19
19
|
export declare function getDocumentRootElement(state: State, documentKey: string): Documents.Element | null;
|
|
20
20
|
export declare function getReactComponent(state: State, type: string): ReactComponents.ComponentType | null;
|
|
21
|
+
export declare function getElement(state: State, documentKey: string, elementKey: string): Documents.Element | null;
|
|
22
|
+
export declare function getElementId(state: State, documentKey: string, elementKey: string): string | null;
|
|
21
23
|
export declare function getIsInBuilder(state: State): boolean;
|
|
22
24
|
export declare type Dispatch = ThunkDispatch<State, unknown, Action>;
|
|
23
25
|
export declare type Store = ReduxStore<State, Action> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-page.d.ts","sourceRoot":"","sources":["../../../src/state/react-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,cAAc,EACd,KAAK,IAAI,UAAU,EACpB,MAAM,OAAO,CAAA;AACd,OAAc,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAElD,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAA;AAC1D,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAA;AAC3D,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"react-page.d.ts","sourceRoot":"","sources":["../../../src/state/react-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,cAAc,EACd,KAAK,IAAI,UAAU,EACpB,MAAM,OAAO,CAAA;AACd,OAAc,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAElD,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAA;AAC1D,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAA;AAC3D,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAA;AAE7D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAElC,YAAY,EACV,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,WAAW,EACX,gBAAgB,GACjB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAClE,YAAY,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,QAAA,MAAM,OAAO;;;;;;WAMX,CAAA;AAEF,oBAAY,KAAK,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAA;AAM9C,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,MAAM,GAClB,SAAS,CAAC,OAAO,GAAG,IAAI,CAE1B;AAMD,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,MAAM,GACX,eAAe,CAAC,aAAa,GAAG,IAAI,CAEtC;AA2DD,wBAAgB,UAAU,CACxB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GACjB,SAAS,CAAC,OAAO,GAAG,IAAI,CAE1B;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAgBjG;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAEpD;AAED,oBAAY,QAAQ,GAAG,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,CAAA;AAE5D,oBAAY,KAAK,GAAG,UAAU,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG;IAAE,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAA;AAEtE,wBAAgB,cAAc,CAAC,EAC7B,YAAY,EACZ,cAAc,GACf,GAAE;IACD,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IAC7C,cAAc,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,CAAA;CAClC,GAAG,KAAK,CAMb"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@makeswift/runtime",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-90660eb",
|
|
4
4
|
"main": "dist/main.cjs",
|
|
5
5
|
"module": "dist/main.es",
|
|
6
6
|
"types": "dist/types",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"styled-components": "5.2.0"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
+
"@popmotion/popcorn": "^0.4.4",
|
|
75
76
|
"@types/slate": "^0.47.8",
|
|
76
77
|
"@types/styled-components": "^5.1.5",
|
|
77
78
|
"@types/use-sync-external-store": "^0.0.3",
|
|
@@ -82,9 +83,12 @@
|
|
|
82
83
|
"ot-json0": "^1.1.0",
|
|
83
84
|
"polished": "3.0.3",
|
|
84
85
|
"react-player": "^1.12.0",
|
|
86
|
+
"react-use-gesture": "^9.1.3",
|
|
85
87
|
"redux": "^4.0.5",
|
|
86
88
|
"redux-thunk": "^2.3.0",
|
|
87
|
-
"
|
|
89
|
+
"scroll-into-view-if-needed": "^2.2.20",
|
|
90
|
+
"use-sync-external-store": "^1.0.0-rc.0",
|
|
91
|
+
"uuid": "^3.3.3"
|
|
88
92
|
},
|
|
89
93
|
"devDependencies": {
|
|
90
94
|
"@apollo/client": "^3.3.5",
|