@esri/calcite-components-react 1.7.0-next.15 → 1.7.0-next.17
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/auto-define.js +7 -5
- package/dist/components.d.ts +4 -0
- package/dist/components.js +4 -0
- package/package.json +3 -3
package/dist/auto-define.js
CHANGED
|
@@ -7,12 +7,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
// https://github.com/flexdinesh/browser-or-node/blob/master/src/index.js
|
|
11
|
+
const isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
12
|
+
const isNode = typeof process !== "undefined" &&
|
|
13
|
+
process.versions != null &&
|
|
14
|
+
process.versions.node != null &&
|
|
15
|
+
(process === null || process === void 0 ? void 0 : process.platform) !== "browser";
|
|
14
16
|
export function autoDefine(component) {
|
|
15
|
-
if (isBrowser
|
|
17
|
+
if (isBrowser && !isNode) {
|
|
16
18
|
return () => __awaiter(this, void 0, void 0, function* () { return (yield import(`@esri/calcite-components/dist/components/${component}.js`)).defineCustomElement(); });
|
|
17
19
|
}
|
|
18
20
|
return undefined;
|
package/dist/components.d.ts
CHANGED
|
@@ -88,6 +88,10 @@ export declare const CalciteSwitch: import("react").ForwardRefExoticComponent<JS
|
|
|
88
88
|
export declare const CalciteTab: import("react").ForwardRefExoticComponent<JSX.CalciteTab & Omit<import("react").HTMLAttributes<HTMLCalciteTabElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLCalciteTabElement>>;
|
|
89
89
|
export declare const CalciteTabNav: import("react").ForwardRefExoticComponent<JSX.CalciteTabNav & Omit<import("react").HTMLAttributes<HTMLCalciteTabNavElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLCalciteTabNavElement>>;
|
|
90
90
|
export declare const CalciteTabTitle: import("react").ForwardRefExoticComponent<JSX.CalciteTabTitle & Omit<import("react").HTMLAttributes<HTMLCalciteTabTitleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLCalciteTabTitleElement>>;
|
|
91
|
+
export declare const CalciteTable: import("react").ForwardRefExoticComponent<JSX.CalciteTable & Omit<import("react").HTMLAttributes<HTMLCalciteTableElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLCalciteTableElement>>;
|
|
92
|
+
export declare const CalciteTableCell: import("react").ForwardRefExoticComponent<JSX.CalciteTableCell & Omit<import("react").HTMLAttributes<HTMLCalciteTableCellElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLCalciteTableCellElement>>;
|
|
93
|
+
export declare const CalciteTableHeader: import("react").ForwardRefExoticComponent<JSX.CalciteTableHeader & Omit<import("react").HTMLAttributes<HTMLCalciteTableHeaderElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLCalciteTableHeaderElement>>;
|
|
94
|
+
export declare const CalciteTableRow: import("react").ForwardRefExoticComponent<JSX.CalciteTableRow & Omit<import("react").HTMLAttributes<HTMLCalciteTableRowElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLCalciteTableRowElement>>;
|
|
91
95
|
export declare const CalciteTabs: import("react").ForwardRefExoticComponent<JSX.CalciteTabs & Omit<import("react").HTMLAttributes<HTMLCalciteTabsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLCalciteTabsElement>>;
|
|
92
96
|
export declare const CalciteTextArea: import("react").ForwardRefExoticComponent<JSX.CalciteTextArea & Omit<import("react").HTMLAttributes<HTMLCalciteTextAreaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLCalciteTextAreaElement>>;
|
|
93
97
|
export declare const CalciteTile: import("react").ForwardRefExoticComponent<JSX.CalciteTile & Omit<import("react").HTMLAttributes<HTMLCalciteTileElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLCalciteTileElement>>;
|
package/dist/components.js
CHANGED
|
@@ -91,6 +91,10 @@ export const CalciteSwitch = /*@__PURE__*/ createReactComponent('calcite-switch'
|
|
|
91
91
|
export const CalciteTab = /*@__PURE__*/ createReactComponent('calcite-tab', undefined, undefined, autoDefine('calcite-tab'));
|
|
92
92
|
export const CalciteTabNav = /*@__PURE__*/ createReactComponent('calcite-tab-nav', undefined, undefined, autoDefine('calcite-tab-nav'));
|
|
93
93
|
export const CalciteTabTitle = /*@__PURE__*/ createReactComponent('calcite-tab-title', undefined, undefined, autoDefine('calcite-tab-title'));
|
|
94
|
+
export const CalciteTable = /*@__PURE__*/ createReactComponent('calcite-table', undefined, undefined, autoDefine('calcite-table'));
|
|
95
|
+
export const CalciteTableCell = /*@__PURE__*/ createReactComponent('calcite-table-cell', undefined, undefined, autoDefine('calcite-table-cell'));
|
|
96
|
+
export const CalciteTableHeader = /*@__PURE__*/ createReactComponent('calcite-table-header', undefined, undefined, autoDefine('calcite-table-header'));
|
|
97
|
+
export const CalciteTableRow = /*@__PURE__*/ createReactComponent('calcite-table-row', undefined, undefined, autoDefine('calcite-table-row'));
|
|
94
98
|
export const CalciteTabs = /*@__PURE__*/ createReactComponent('calcite-tabs', undefined, undefined, autoDefine('calcite-tabs'));
|
|
95
99
|
export const CalciteTextArea = /*@__PURE__*/ createReactComponent('calcite-text-area', undefined, undefined, autoDefine('calcite-text-area'));
|
|
96
100
|
export const CalciteTile = /*@__PURE__*/ createReactComponent('calcite-tile', undefined, undefined, autoDefine('calcite-tile'));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components-react",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.7.0-next.
|
|
4
|
+
"version": "1.7.0-next.17",
|
|
5
5
|
"homepage": "https://developers.arcgis.com/calcite-design-system/",
|
|
6
6
|
"description": "A set of React components that wrap calcite components",
|
|
7
7
|
"license": "SEE LICENSE.md",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dist/"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@esri/calcite-components": "^1.7.0-next.
|
|
23
|
+
"@esri/calcite-components": "^1.7.0-next.17"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": ">=16.7",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"volta": {
|
|
30
30
|
"extends": "../../package.json"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "b120fa9ac3b9195131d0bf66c7aadf7062d011b9"
|
|
33
33
|
}
|