@trionesdev/antd-mobile-base-react 0.0.2-beta.17 → 0.0.2-beta.18
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/Alert/alert.js +1 -1
- package/dist/CascaderView/cascader-column-item.js +1 -1
- package/dist/Checkbox/checkbox-button.js +1 -1
- package/dist/Checkbox/checkbox-round.js +1 -1
- package/dist/NavBar/nav-bar.js +1 -1
- package/dist/Radio/radio.js +1 -1
- package/dist/Rate/rate.js +1 -1
- package/dist/Result/use-result-icon.js +1 -1
- package/package.json +2 -2
package/dist/Alert/alert.js
CHANGED
|
@@ -7,7 +7,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
7
7
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
8
8
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
9
9
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
10
|
-
import { CheckCircleFill, CloseCircleFill, CloseOutline, ExclamationCircleFill, InformationCircleFill } from
|
|
10
|
+
import { CheckCircleFill, CloseCircleFill, CloseOutline, ExclamationCircleFill, InformationCircleFill } from '@trionesdev/antd-mobile-icons-react';
|
|
11
11
|
import classNames from 'classnames';
|
|
12
12
|
import React, { useState } from 'react';
|
|
13
13
|
import "./style.scss";
|
|
@@ -4,7 +4,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
4
4
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
5
5
|
import React from "react";
|
|
6
6
|
import classNames from "classnames";
|
|
7
|
-
import { CheckOutline } from "
|
|
7
|
+
import { CheckOutline } from "@trionesdev/antd-mobile-icons-react";
|
|
8
8
|
var cascaderViewCls = 'triones-antm-cascader-view';
|
|
9
9
|
export var CascaderColumnItem = function CascaderColumnItem(_ref) {
|
|
10
10
|
var option = _ref.option,
|
|
@@ -5,7 +5,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { cls } from "./types";
|
|
7
7
|
import classNames from 'classnames';
|
|
8
|
-
import { CheckOutline } from
|
|
8
|
+
import { CheckOutline } from '@trionesdev/antd-mobile-icons-react';
|
|
9
9
|
export var CheckboxButton = function CheckboxButton(_ref) {
|
|
10
10
|
var children = _ref.children,
|
|
11
11
|
checked = _ref.checked,
|
|
@@ -2,7 +2,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
2
2
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3
3
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
4
4
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
5
|
-
import { CheckOutline } from
|
|
5
|
+
import { CheckOutline } from '@trionesdev/antd-mobile-icons-react';
|
|
6
6
|
import classNames from 'classnames';
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import "./index.scss";
|
package/dist/NavBar/nav-bar.js
CHANGED
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { withNativeProps } from "../utils/native-props";
|
|
4
4
|
import ConfigProvider from "../ConfigProvider";
|
|
5
5
|
import { mergeProp, mergeProps } from "../utils/with-default-props";
|
|
6
|
-
import { LeftOutline } from
|
|
6
|
+
import { LeftOutline } from '@trionesdev/antd-mobile-icons-react';
|
|
7
7
|
import "./style.scss";
|
|
8
8
|
var classPrefix = "triones-antm-nav-bar";
|
|
9
9
|
var defaultBackIcon = /*#__PURE__*/React.createElement(LeftOutline, null);
|
package/dist/Radio/radio.js
CHANGED
|
@@ -8,7 +8,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
8
8
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
9
9
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
10
10
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
11
|
-
import { CheckOutline } from
|
|
11
|
+
import { CheckOutline } from '@trionesdev/antd-mobile-icons-react';
|
|
12
12
|
import classNames from 'classnames';
|
|
13
13
|
import React, { useContext, useEffect, useMemo, useState } from 'react';
|
|
14
14
|
import { RadioGroupContext } from "./GroupContext";
|
package/dist/Rate/rate.js
CHANGED
|
@@ -12,7 +12,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
12
12
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
13
13
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
14
14
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
15
|
-
import { StarFill } from
|
|
15
|
+
import { StarFill } from '@trionesdev/antd-mobile-icons-react';
|
|
16
16
|
import classNames from 'classnames';
|
|
17
17
|
import React, { useState } from 'react';
|
|
18
18
|
import { withNativeProps } from "../utils/native-props";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import ConfigProvider from "../ConfigProvider";
|
|
3
|
-
import { CheckCircleOutline, CloseCircleOutline, InformationCircleOutline, ClockCircleOutline, ExclamationTriangleOutline } from
|
|
3
|
+
import { CheckCircleOutline, CloseCircleOutline, InformationCircleOutline, ClockCircleOutline, ExclamationTriangleOutline } from '@trionesdev/antd-mobile-icons-react';
|
|
4
4
|
export var useResultIcon = function useResultIcon(status) {
|
|
5
5
|
var _ConfigProvider$useCo = ConfigProvider.useConfig(),
|
|
6
6
|
_ConfigProvider$useCo2 = _ConfigProvider$useCo.result,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trionesdev/antd-mobile-base-react",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.18",
|
|
4
4
|
"description": "antd mobile base react",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"react": "^18.0.0",
|
|
48
48
|
"runes2": "^1.1.4"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "2dd659ecca3e4ce4cdca02cb9dd6b0bb512bb32e"
|
|
51
51
|
}
|