@plasmicapp/react-web 0.2.118 → 0.2.119
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/all.d.ts +16 -16
- package/dist/data-sources/index.d.ts +1 -0
- package/dist/index-common.d.ts +0 -1
- package/dist/index.d.ts +1 -0
- package/dist/react-web.cjs.development.js +1 -1
- package/dist/react-web.cjs.development.js.map +1 -1
- package/dist/react-web.cjs.production.min.js +1 -1
- package/dist/react-web.cjs.production.min.js.map +1 -1
- package/dist/react-web.esm.js +1 -1
- package/dist/react-web.esm.js.map +1 -1
- package/package.json +2 -2
- package/skinny/dist/data-sources/index.d.ts +1 -0
- package/skinny/dist/data-sources/index.js +2 -0
- package/skinny/dist/data-sources/index.js.map +1 -0
- package/skinny/dist/index-common.d.ts +0 -1
- package/skinny/dist/index.d.ts +1 -0
- package/skinny/dist/index.js +0 -1
- package/skinny/dist/index.js.map +1 -1
package/dist/all.d.ts
CHANGED
|
@@ -1,22 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { AriaAttributes, DOMAttributes as DOMAttributes$1, AriaRole, CSSProperties, Key as Key$1, ReactNode, ReactElement, FocusEvent, KeyboardEvent as KeyboardEvent$1, SyntheticEvent } from 'react';
|
|
3
3
|
|
|
4
|
-
// LICENSE is MIT
|
|
5
|
-
//
|
|
6
|
-
// Copyright (c) 2018
|
|
7
|
-
// Dave Keen <http://www.keendevelopment.ch>
|
|
8
|
-
// Adi Dahiya <https://github.com/adidahiya>
|
|
9
|
-
// Jason Killian <https://github.com/JKillian>
|
|
10
|
-
// Sean Kelley <https://github.com/seansfkelley>
|
|
11
|
-
// Michal Adamczyk <https://github.com/mradamczyk>
|
|
12
|
-
// Marvin Hagemeister <https://github.com/marvinhagemeister>
|
|
13
|
-
|
|
14
|
-
type Value = string | number | boolean | undefined | null;
|
|
15
|
-
type Mapping = { [key: string]: any };
|
|
16
|
-
type Argument = Value | Mapping | Argument[];
|
|
17
|
-
|
|
18
|
-
declare function classNames$1(...args: Argument[]): string;
|
|
19
|
-
|
|
20
4
|
declare type FetcherResponse<Data = unknown> = Data | Promise<Data>;
|
|
21
5
|
declare type BareFetcher<Data = unknown> = (...args: any[]) => FetcherResponse<Data>;
|
|
22
6
|
declare type Fetcher$1<Data = unknown, SWRKey extends Key = Key> = SWRKey extends () => readonly [...infer Args] | null | undefined | false ? (...args: [...Args]) => FetcherResponse<Data> : SWRKey extends readonly [...infer Args] ? (...args: [...Args]) => FetcherResponse<Data> : SWRKey extends () => infer Arg | null | undefined | false ? (...args: [Arg]) => FetcherResponse<Data> : SWRKey extends null | undefined | false ? never : SWRKey extends infer Arg ? (...args: [Arg]) => FetcherResponse<Data> : never;
|
|
@@ -163,6 +147,22 @@ declare function usePlasmicDataMutationOp<T = any>(dataOp: DataOp | undefined, o
|
|
|
163
147
|
includeSchema?: boolean;
|
|
164
148
|
}): () => Promise<T | undefined>;
|
|
165
149
|
|
|
150
|
+
// LICENSE is MIT
|
|
151
|
+
//
|
|
152
|
+
// Copyright (c) 2018
|
|
153
|
+
// Dave Keen <http://www.keendevelopment.ch>
|
|
154
|
+
// Adi Dahiya <https://github.com/adidahiya>
|
|
155
|
+
// Jason Killian <https://github.com/JKillian>
|
|
156
|
+
// Sean Kelley <https://github.com/seansfkelley>
|
|
157
|
+
// Michal Adamczyk <https://github.com/mradamczyk>
|
|
158
|
+
// Marvin Hagemeister <https://github.com/marvinhagemeister>
|
|
159
|
+
|
|
160
|
+
type Value = string | number | boolean | undefined | null;
|
|
161
|
+
type Mapping = { [key: string]: any };
|
|
162
|
+
type Argument = Value | Mapping | Argument[];
|
|
163
|
+
|
|
164
|
+
declare function classNames$1(...args: Argument[]): string;
|
|
165
|
+
|
|
166
166
|
declare function pick<T extends {}>(obj: T, ...keys: (string | number | symbol)[]): Partial<T>;
|
|
167
167
|
declare function omit<T extends {}>(obj: T, ...keys: (keyof T)[]): Partial<T>;
|
|
168
168
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DataOp, DataSourceSchema, executePlasmicDataOp, Fetcher, ManyRowsResult, Pagination, SingleRowResult, TableFieldSchema, TableFieldType, TableSchema, usePlasmicDataConfig, usePlasmicDataMutationOp, usePlasmicDataOp, } from "@plasmicapp/data-sources";
|
package/dist/index-common.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _classNames from "classnames";
|
|
2
|
-
export { DataOp, DataSourceSchema, executePlasmicDataOp, Fetcher, ManyRowsResult, Pagination, SingleRowResult, TableFieldSchema, TableFieldType, TableSchema, usePlasmicDataConfig, usePlasmicDataMutationOp, usePlasmicDataOp, } from "@plasmicapp/data-sources";
|
|
3
2
|
export { omit, pick } from "./common";
|
|
4
3
|
export { HTMLElementRefOf, StrictProps } from "./react-utils";
|
|
5
4
|
export { createPlasmicElementProxy, deriveRenderOpts, Flex, hasVariant, makeFragment, mergeVariantsWithStates, MultiChoiceArg, SingleBooleanChoiceArg, SingleChoiceArg, wrapWithClassName, } from "./render/elements";
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
6
6
|
|
|
7
|
-
var classNames$1 = _interopDefault(require('classnames'));
|
|
8
7
|
var dataSources = require('@plasmicapp/data-sources');
|
|
8
|
+
var classNames$1 = _interopDefault(require('classnames'));
|
|
9
9
|
var _get = _interopDefault(require('dlv'));
|
|
10
10
|
var React = require('react');
|
|
11
11
|
var React__default = _interopDefault(React);
|