@daoyi/nmtl-ui 2.0.1-beta.104 → 2.0.1-beta.106
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/lib/components/{Autocomplete-9e392b0c.js → Autocomplete-8aa5b893.js} +1 -1
- package/lib/components/Autocomplete.js +2 -2
- package/lib/components/{ContactModal-90b95c63.js → ContactModal-b3761fb6.js} +1 -1
- package/lib/components/ContactModal.js +3 -3
- package/lib/components/{Drawer-2cbcec04.js → Drawer-b2edc79b.js} +1 -1
- package/lib/components/Drawer.js +3 -3
- package/lib/components/{Empty-bf77164f.js → Empty-c6a44967.js} +2 -1
- package/lib/components/Empty.js +1 -1
- package/lib/components/Footer.js +3 -3
- package/lib/components/{ForwardLink-83a7eea9.js → ForwardLink-e86c1080.js} +4 -1
- package/lib/components/ForwardLink.js +1 -1
- package/lib/components/Header.js +5 -5
- package/lib/components/{KeywordSearch-c0be0348.js → KeywordSearch-0640ae9a.js} +1 -1
- package/lib/components/KeywordSearch.js +3 -3
- package/lib/components/KeywordTicker.js +1 -1
- package/lib/components/{Select-e0790135.js → Select-52ab5299.js} +1 -1
- package/lib/components/Select.js +2 -2
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ import { _ as _toConsumableArray } from './toConsumableArray-dbe8af76.js';
|
|
|
13
13
|
import { styled as styled$1 } from '@material-ui/styles';
|
|
14
14
|
import { getIntl } from './globalConfig';
|
|
15
15
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
16
|
-
import { E as Empty } from './Empty-
|
|
16
|
+
import { E as Empty } from './Empty-c6a44967.js';
|
|
17
17
|
|
|
18
18
|
var ArrowDropDown = {};
|
|
19
19
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as default } from './Autocomplete-
|
|
1
|
+
export { A as default } from './Autocomplete-8aa5b893.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
@@ -17,4 +17,4 @@ import 'react-dom';
|
|
|
17
17
|
import './toConsumableArray-dbe8af76.js';
|
|
18
18
|
import './globalConfig';
|
|
19
19
|
import './style-inject.es-1f59c1d0.js';
|
|
20
|
-
import './Empty-
|
|
20
|
+
import './Empty-c6a44967.js';
|
|
@@ -12,7 +12,7 @@ import 'react-is';
|
|
|
12
12
|
import '@material-ui/styles';
|
|
13
13
|
import { u as useTheme } from './useTheme-d16d02d9.js';
|
|
14
14
|
import './withTheme-2d778133.js';
|
|
15
|
-
import { S as Select } from './Select-
|
|
15
|
+
import { S as Select } from './Select-52ab5299.js';
|
|
16
16
|
import { VolumeUp } from '@material-ui/icons';
|
|
17
17
|
import { getIntl } from './globalConfig';
|
|
18
18
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as default } from './ContactModal-
|
|
1
|
+
export { C as default } from './ContactModal-b3761fb6.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
@@ -18,7 +18,7 @@ import './defaultTheme-ed7746fe.js';
|
|
|
18
18
|
import '@material-ui/styles';
|
|
19
19
|
import './useTheme-d16d02d9.js';
|
|
20
20
|
import './withTheme-2d778133.js';
|
|
21
|
-
import './Select-
|
|
22
|
-
import './Empty-
|
|
21
|
+
import './Select-52ab5299.js';
|
|
22
|
+
import './Empty-c6a44967.js';
|
|
23
23
|
import './createSvgIcon-e3803ee1.js';
|
|
24
24
|
import 'react-dom';
|
|
@@ -3,7 +3,7 @@ import React__default, { useState } from 'react';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { List, ListItem, ListItemIcon, ListItemText, IconButton, Drawer as Drawer$1, Divider } from '@material-ui/core';
|
|
5
5
|
import { DehazeRounded } from '@material-ui/icons';
|
|
6
|
-
import { S as Select } from './Select-
|
|
6
|
+
import { S as Select } from './Select-52ab5299.js';
|
|
7
7
|
import { useHistory, useRouteMatch } from 'react-router-dom';
|
|
8
8
|
import { getIntl } from './globalConfig';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
package/lib/components/Drawer.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { D as default } from './Drawer-
|
|
1
|
+
export { D as default } from './Drawer-b2edc79b.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
5
5
|
import '@material-ui/core';
|
|
6
6
|
import '@material-ui/icons';
|
|
7
|
-
import './Select-
|
|
7
|
+
import './Select-52ab5299.js';
|
|
8
8
|
import './index-b76a85f4.js';
|
|
9
9
|
import './defaultTheme-ed7746fe.js';
|
|
10
10
|
import 'react-is';
|
|
11
11
|
import '@material-ui/styles';
|
|
12
12
|
import './useTheme-d16d02d9.js';
|
|
13
13
|
import './withTheme-2d778133.js';
|
|
14
|
-
import './Empty-
|
|
14
|
+
import './Empty-c6a44967.js';
|
|
15
15
|
import './style-inject.es-1f59c1d0.js';
|
|
16
16
|
import 'react-router-dom';
|
|
17
17
|
import './globalConfig';
|
|
@@ -19,7 +19,8 @@ var Empty = function Empty(_ref) {
|
|
|
19
19
|
className: "ant-empty-image"
|
|
20
20
|
}, /*#__PURE__*/React__default.createElement("img", {
|
|
21
21
|
src: emptySrc || img,
|
|
22
|
-
alt:
|
|
22
|
+
alt: "",
|
|
23
|
+
"aria-hidden": "true",
|
|
23
24
|
style: imageStyle
|
|
24
25
|
}), description && /*#__PURE__*/React__default.createElement("div", {
|
|
25
26
|
className: "ant-empty-description"
|
package/lib/components/Empty.js
CHANGED
package/lib/components/Footer.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
3
3
|
import { c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import { C as ContactModal } from './ContactModal-
|
|
6
|
+
import { C as ContactModal } from './ContactModal-b3761fb6.js';
|
|
7
7
|
import { S as Spin } from './Spin-8dc60bfe.js';
|
|
8
8
|
import { getIntl } from './globalConfig';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -18,8 +18,8 @@ import './defaultTheme-ed7746fe.js';
|
|
|
18
18
|
import '@material-ui/styles';
|
|
19
19
|
import './useTheme-d16d02d9.js';
|
|
20
20
|
import './withTheme-2d778133.js';
|
|
21
|
-
import './Select-
|
|
22
|
-
import './Empty-
|
|
21
|
+
import './Select-52ab5299.js';
|
|
22
|
+
import './Empty-c6a44967.js';
|
|
23
23
|
import './createSvgIcon-e3803ee1.js';
|
|
24
24
|
import 'react-dom';
|
|
25
25
|
|
|
@@ -54,6 +54,9 @@ var ForwardLink = function ForwardLink(_ref) {
|
|
|
54
54
|
var newWindowLabel = target === '_blank' && (typeof children === 'string' || title) ? "".concat(typeof children === 'string' ? children : title).concat(getIntl().formatMessage({
|
|
55
55
|
id: 'aria.newWindow'
|
|
56
56
|
})) : undefined;
|
|
57
|
+
/* R24:aria-label 已含 title 全文時不再輸出 title 屬性——NVDA 會把 title 屬性當
|
|
58
|
+
description 接在 aria-label 之後再唸一次,造成「書名 ×2」(abo 首頁推薦卡實測) */
|
|
59
|
+
var linkTitle = newWindowLabel ? undefined : domTitle;
|
|
57
60
|
var linkComponent = /*#__PURE__*/React__default.createElement("div", {
|
|
58
61
|
className: className
|
|
59
62
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -69,7 +72,7 @@ var ForwardLink = function ForwardLink(_ref) {
|
|
|
69
72
|
React__default.createElement(Link, {
|
|
70
73
|
className: classNames('forwardLink__link', linkClassName),
|
|
71
74
|
target: target,
|
|
72
|
-
title:
|
|
75
|
+
title: linkTitle,
|
|
73
76
|
"aria-label": newWindowLabel,
|
|
74
77
|
to: {
|
|
75
78
|
pathname: "".concat(locale).concat(pathname),
|
package/lib/components/Header.js
CHANGED
|
@@ -6,15 +6,15 @@ import { d as debounce_1 } from './debounce-127da66c.js';
|
|
|
6
6
|
import { useHistory, useRouteMatch, NavLink } from 'react-router-dom';
|
|
7
7
|
import { Typography, IconButton } from '@material-ui/core';
|
|
8
8
|
import { SearchOutlined } from '@material-ui/icons';
|
|
9
|
-
import { K as KeywordSearch } from './KeywordSearch-
|
|
10
|
-
import { S as Select } from './Select-
|
|
11
|
-
import { c as checkLanguageSupport, D as Drawer, d as defaultSupportLanguage } from './Drawer-
|
|
9
|
+
import { K as KeywordSearch } from './KeywordSearch-0640ae9a.js';
|
|
10
|
+
import { S as Select } from './Select-52ab5299.js';
|
|
11
|
+
import { c as checkLanguageSupport, D as Drawer, d as defaultSupportLanguage } from './Drawer-b2edc79b.js';
|
|
12
12
|
import { getIntl } from './globalConfig';
|
|
13
13
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
14
14
|
import './isObjectLike-e111475d.js';
|
|
15
15
|
import './_commonjsHelpers-70de2c37.js';
|
|
16
16
|
import 'axios';
|
|
17
|
-
import './Autocomplete-
|
|
17
|
+
import './Autocomplete-8aa5b893.js';
|
|
18
18
|
import '@material-ui/lab';
|
|
19
19
|
import './createSvgIcon-e3803ee1.js';
|
|
20
20
|
import './defaultTheme-ed7746fe.js';
|
|
@@ -22,7 +22,7 @@ import 'react-is';
|
|
|
22
22
|
import '@material-ui/styles';
|
|
23
23
|
import 'react-dom';
|
|
24
24
|
import './toConsumableArray-dbe8af76.js';
|
|
25
|
-
import './Empty-
|
|
25
|
+
import './Empty-c6a44967.js';
|
|
26
26
|
import './useTheme-d16d02d9.js';
|
|
27
27
|
import './withTheme-2d778133.js';
|
|
28
28
|
|
|
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import { c as classNames } from './index-b76a85f4.js';
|
|
5
5
|
import axios from 'axios';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
|
-
import { A as Autocomplete } from './Autocomplete-
|
|
7
|
+
import { A as Autocomplete } from './Autocomplete-8aa5b893.js';
|
|
8
8
|
|
|
9
9
|
var css_248z = ".keywordSearch {\n border-radius: 4px;\n width: 100%;\n margin-right: 14px;\n}\n.keywordSearch--animation .autocomplete {\n transition: max-width 0.3s ease-out;\n max-width: 240px;\n}\n.keywordSearch--focus {\n flex: 1;\n}\n.keywordSearch--focus .autocomplete {\n max-width: 100%;\n}\n.keywordSearch .MuiAutocomplete-hasPopupIcon.MuiAutocomplete-hasClearIcon .MuiAutocomplete-inputRoot[class*=MuiOutlinedInput-root] {\n border-radius: 10px;\n background-color: #ffffff66;\n}";
|
|
10
10
|
styleInject(css_248z);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { K as default } from './KeywordSearch-
|
|
1
|
+
export { K as default } from './KeywordSearch-0640ae9a.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
5
5
|
import './index-b76a85f4.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import './style-inject.es-1f59c1d0.js';
|
|
8
|
-
import './Autocomplete-
|
|
8
|
+
import './Autocomplete-8aa5b893.js';
|
|
9
9
|
import './debounce-127da66c.js';
|
|
10
10
|
import './isObjectLike-e111475d.js';
|
|
11
11
|
import './_commonjsHelpers-70de2c37.js';
|
|
@@ -19,4 +19,4 @@ import '@material-ui/styles';
|
|
|
19
19
|
import 'react-dom';
|
|
20
20
|
import './toConsumableArray-dbe8af76.js';
|
|
21
21
|
import './globalConfig';
|
|
22
|
-
import './Empty-
|
|
22
|
+
import './Empty-c6a44967.js';
|
|
@@ -2,7 +2,7 @@ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { c as classNames } from './index-b76a85f4.js';
|
|
5
|
-
import { F as ForwardLink } from './ForwardLink-
|
|
5
|
+
import { F as ForwardLink } from './ForwardLink-e86c1080.js';
|
|
6
6
|
import { getIntl } from './globalConfig';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
8
8
|
import './index-b47819f3.js';
|
|
@@ -8,7 +8,7 @@ import 'react-is';
|
|
|
8
8
|
import '@material-ui/styles';
|
|
9
9
|
import { u as useTheme } from './useTheme-d16d02d9.js';
|
|
10
10
|
import './withTheme-2d778133.js';
|
|
11
|
-
import { E as Empty } from './Empty-
|
|
11
|
+
import { E as Empty } from './Empty-c6a44967.js';
|
|
12
12
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
13
13
|
|
|
14
14
|
var css_248z = ".select .MuiSelect-nativeInput {\n visibility: hidden;\n}\n.select__placeholder {\n color: #6b6130;\n}\n.select--small {\n width: 100%;\n}\n.select--small .MuiSelect-root {\n padding: 0.5rem 1.5rem 0.25rem;\n color: white;\n}\n.select--small .MuiSelect-root .select__placeholder {\n color: white;\n}\n.select--small .MuiSelect-root:hover, .select--small .MuiSelect-root:focus {\n background: transparent;\n}\n.select--small .MuiSvgIcon-root {\n color: white;\n}\n.select--small .MuiOutlinedInput-root {\n border-radius: 45px;\n}";
|
package/lib/components/Select.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as default } from './Select-
|
|
1
|
+
export { S as default } from './Select-52ab5299.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
@@ -9,5 +9,5 @@ import 'react-is';
|
|
|
9
9
|
import '@material-ui/styles';
|
|
10
10
|
import './useTheme-d16d02d9.js';
|
|
11
11
|
import './withTheme-2d778133.js';
|
|
12
|
-
import './Empty-
|
|
12
|
+
import './Empty-c6a44967.js';
|
|
13
13
|
import './style-inject.es-1f59c1d0.js';
|
package/package.json
CHANGED