@daoyi/nmtl-ui 2.0.1-beta.134 → 2.0.1-beta.135

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.
Files changed (62) hide show
  1. package/README.md +45 -45
  2. package/lib/components/{Autocomplete-0ea4a31c.js → Autocomplete-e40d7145.js} +4 -4
  3. package/lib/components/Autocomplete.js +4 -4
  4. package/lib/components/Avatar.js +1 -1
  5. package/lib/components/BackTop.js +2 -2
  6. package/lib/components/BarChart.js +1 -1
  7. package/lib/components/Breadcrumbs.js +20 -9
  8. package/lib/components/{Button-7bd5aa09.js → Button-8cf35bc0.js} +1 -1
  9. package/lib/components/Button.js +2 -2
  10. package/lib/components/Carousel.js +1 -1
  11. package/lib/components/CollapseContent.js +46 -4
  12. package/lib/components/{ContactModal-159de99c.js → ContactModal-19979528.js} +37 -24
  13. package/lib/components/ContactModal.js +8 -8
  14. package/lib/components/{Drawer-2328b5f7.js → Drawer-b770014f.js} +2 -2
  15. package/lib/components/Drawer.js +5 -5
  16. package/lib/components/Dropdown.js +1 -1
  17. package/lib/components/{Empty-c6a44967.js → Empty-48685dd0.js} +1 -1
  18. package/lib/components/Empty.js +2 -2
  19. package/lib/components/ExportButton.js +1 -1
  20. package/lib/components/{ExtraTools-2691c13e.js → ExtraTools-c46c1965.js} +3 -3
  21. package/lib/components/ExtraTools.js +3 -3
  22. package/lib/components/Filter.js +2 -2
  23. package/lib/components/Footer.js +8 -8
  24. package/lib/components/{ForwardLink-5fbd2705.js → ForwardLink-2905563c.js} +2 -2
  25. package/lib/components/ForwardLink.js +3 -3
  26. package/lib/components/Header.js +8 -8
  27. package/lib/components/Image.js +1 -1
  28. package/lib/components/Input.js +1 -1
  29. package/lib/components/InputMethod.js +186 -196
  30. package/lib/components/{KeywordSearch-db9c45d9.js → KeywordSearch-4e621ded.js} +5 -5
  31. package/lib/components/KeywordSearch.js +5 -5
  32. package/lib/components/KeywordTicker.js +3 -3
  33. package/lib/components/Keywords.js +5 -5
  34. package/lib/components/Loading.js +1 -1
  35. package/lib/components/MUITheme.js +2 -2
  36. package/lib/components/{Modal-e04532fa.js → Modal-b984f381.js} +3 -3
  37. package/lib/components/Modal.js +4 -4
  38. package/lib/components/{MoreButton-19055e07.js → MoreButton-0b5aaef3.js} +2 -2
  39. package/lib/components/MoreButton.js +2 -2
  40. package/lib/components/Pagination.js +2 -2
  41. package/lib/components/SNA.js +11 -11
  42. package/lib/components/{SegmentedControl-81f63afc.js → SegmentedControl-804da0a6.js} +1 -1
  43. package/lib/components/SegmentedControl.js +2 -2
  44. package/lib/components/{Select-89841c71.js → Select-979f7e73.js} +2 -2
  45. package/lib/components/Select.js +3 -3
  46. package/lib/components/{Spin-8f87eadc.js → Spin-07679812.js} +1 -1
  47. package/lib/components/Spin.js +2 -2
  48. package/lib/components/{Tooltip-6ebfa9c1.js → Tooltip-bbbaa9c7.js} +1 -1
  49. package/lib/components/Tooltip.js +2 -2
  50. package/lib/components/globalConfig.js +19 -4
  51. package/lib/utils/arrayMerge.js +20 -20
  52. package/lib/utils/convert2HtmlEntities.js +5 -1
  53. package/lib/utils/exportXlsx.js +1 -1
  54. package/lib/utils/index.d.ts +2 -0
  55. package/lib/utils/index.js +2 -0
  56. package/lib/utils/newWindowHint-db113a69.js +49 -0
  57. package/lib/utils/prepareTimelineData.js +78 -0
  58. package/lib/utils/syncTimelineA11y.js +53 -0
  59. package/package.json +1 -1
  60. /package/lib/components/{createSvgIcon-dc603596.js → createSvgIcon-370e163a.js} +0 -0
  61. /package/lib/components/{index-b76a85f4.js → index-c33afcb5.js} +0 -0
  62. /package/lib/components/{index-b47819f3.js → index-ff95f719.js} +0 -0
@@ -1,11 +1,11 @@
1
- export { E as default } from './ExtraTools-2691c13e.js';
1
+ export { E as default } from './ExtraTools-c46c1965.js';
2
2
  import './_rollupPluginBabelHelpers-a52356f6.js';
3
3
  import 'react';
4
- import './index-b76a85f4.js';
4
+ import './index-c33afcb5.js';
5
5
  import 'prop-types';
6
6
  import './_commonjsHelpers-70de2c37.js';
7
7
  import '@material-ui/core';
8
- import './Tooltip-6ebfa9c1.js';
8
+ import './Tooltip-bbbaa9c7.js';
9
9
  import './style-inject.es-1f59c1d0.js';
10
10
  import './dataExport-a9e3fae1.js';
11
11
  import './globalConfig';
@@ -1,8 +1,8 @@
1
1
  import { a as _slicedToArray, f as _taggedTemplateLiteral, e as _defineProperty } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useContext, createElement, useState, useCallback } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { c as classNames } from './index-b76a85f4.js';
5
- import { q as queryString } from './index-b47819f3.js';
4
+ import { c as classNames } from './index-c33afcb5.js';
5
+ import { q as queryString } from './index-ff95f719.js';
6
6
  import { useHistory } from 'react-router-dom';
7
7
  import { isValidElementType, typeOf } from 'react-is';
8
8
  import { h as hoistNonReactStatics_cjs } from './hoist-non-react-statics.cjs-3f408ad2.js';
@@ -1,10 +1,10 @@
1
1
  import { a as _slicedToArray, d as _typeof } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
- import { c as classNames } from './index-b76a85f4.js';
3
+ import { c as classNames } from './index-c33afcb5.js';
4
4
  import PropTypes from 'prop-types';
5
5
  import axios from 'axios';
6
- import { C as ContactModal } from './ContactModal-159de99c.js';
7
- import { S as Spin } from './Spin-8f87eadc.js';
6
+ import { C as ContactModal } from './ContactModal-19979528.js';
7
+ import { S as Spin } from './Spin-07679812.js';
8
8
  import { getIntl } from './globalConfig';
9
9
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
10
10
  import './hoist-non-react-statics.cjs-3f408ad2.js';
@@ -13,14 +13,14 @@ import './defaultTheme-c5dd0f64.js';
13
13
  import '@material-ui/styles';
14
14
  import './useTheme-98b6cf17.js';
15
15
  import './withTheme-3486f38b.js';
16
- import './Modal-e04532fa.js';
16
+ import './Modal-b984f381.js';
17
17
  import '@material-ui/core';
18
18
  import '@material-ui/icons';
19
- import './Button-7bd5aa09.js';
19
+ import './Button-8cf35bc0.js';
20
20
  import './_commonjsHelpers-70de2c37.js';
21
- import './Select-89841c71.js';
22
- import './Empty-c6a44967.js';
23
- import './createSvgIcon-dc603596.js';
21
+ import './Select-979f7e73.js';
22
+ import './Empty-48685dd0.js';
23
+ import './createSvgIcon-370e163a.js';
24
24
  import 'react-dom';
25
25
 
26
26
  /* eslint-disable max-len */
@@ -1,8 +1,8 @@
1
1
  import { c as _objectWithoutProperties } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useMemo, useCallback } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { c as classNames } from './index-b76a85f4.js';
5
- import { q as queryString } from './index-b47819f3.js';
4
+ import { c as classNames } from './index-c33afcb5.js';
5
+ import { q as queryString } from './index-ff95f719.js';
6
6
  import { useHistory } from 'react-router-dom';
7
7
  import { Tooltip } from '@material-ui/core';
8
8
  import { getIntl } from './globalConfig';
@@ -1,9 +1,9 @@
1
- export { F as default } from './ForwardLink-5fbd2705.js';
1
+ export { F as default } from './ForwardLink-2905563c.js';
2
2
  import './_rollupPluginBabelHelpers-a52356f6.js';
3
3
  import 'react';
4
4
  import 'prop-types';
5
- import './index-b76a85f4.js';
6
- import './index-b47819f3.js';
5
+ import './index-c33afcb5.js';
6
+ import './index-ff95f719.js';
7
7
  import 'react-router-dom';
8
8
  import '@material-ui/core';
9
9
  import './globalConfig';
@@ -1,31 +1,31 @@
1
1
  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
- import { c as classNames } from './index-b76a85f4.js';
4
+ import { c as classNames } from './index-c33afcb5.js';
5
5
  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-db9c45d9.js';
10
- import { S as Select } from './Select-89841c71.js';
11
- import { c as checkLanguageSupport, D as Drawer, d as defaultSupportLanguage } from './Drawer-2328b5f7.js';
9
+ import { K as KeywordSearch } from './KeywordSearch-4e621ded.js';
10
+ import { S as Select } from './Select-979f7e73.js';
11
+ import { c as checkLanguageSupport, D as Drawer, d as defaultSupportLanguage } from './Drawer-b770014f.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-0ea4a31c.js';
17
+ import './Autocomplete-e40d7145.js';
18
18
  import '@material-ui/lab';
19
- import './createSvgIcon-dc603596.js';
19
+ import './createSvgIcon-370e163a.js';
20
20
  import './defaultTheme-c5dd0f64.js';
21
21
  import 'react-is';
22
22
  import '@material-ui/styles';
23
23
  import 'react-dom';
24
24
  import './toConsumableArray-c268c112.js';
25
- import './Empty-c6a44967.js';
25
+ import './Empty-48685dd0.js';
26
26
  import './useTheme-98b6cf17.js';
27
27
  import './withTheme-3486f38b.js';
28
- import './SegmentedControl-81f63afc.js';
28
+ import './SegmentedControl-804da0a6.js';
29
29
 
30
30
  var css_248z = "@charset \"UTF-8\";\n.header {\n display: flex;\n align-items: center;\n background: rgba(255, 255, 255, 0.6);\n background-color: rgba(255, 255, 255, 0.6);\n padding: 12px 36px !important;\n position: fixed;\n top: 0;\n z-index: 10;\n width: 100% !important;\n transition: top 0.3s ease-in-out;\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);\n /* 呼叫端自訂工具區(如字級縮放):與語系選單同屬右側工具列 */\n}\n.header__logo {\n display: flex;\n width: -moz-fit-content !important;\n width: fit-content !important;\n margin-right: 30px !important;\n cursor: pointer;\n text-decoration: none;\n}\n.header__logo__img {\n display: flex;\n align-items: center;\n}\n.header__logo__title {\n white-space: nowrap;\n margin-left: 1rem !important;\n font-size: 1.5rem !important;\n font-weight: 700 !important;\n font-family: \"Noto Sans TC\" !important;\n}\n.header__links {\n display: flex;\n justify-content: flex-end;\n padding-right: 14px;\n}\n.header__links a {\n text-decoration: none;\n}\n.header__links--full {\n flex: 1;\n}\n.header__links__item {\n color: rgba(0, 0, 0, 0.85);\n font-size: 1.125rem !important;\n font-weight: 500 !important;\n white-space: nowrap;\n padding: 6px 14px;\n font-family: \"Noto Sans TC\" !important;\n}\n.header__links__item--active .header__links__item {\n font-weight: 800 !important;\n background: transparent;\n border-radius: 45px;\n}\n.header__links__item:hover {\n font-weight: 800 !important;\n}\n.header__language {\n min-width: 100px !important;\n}\n.header__extraTools {\n display: flex;\n align-items: center;\n margin-right: 8px;\n}\n.header__searchIcon {\n display: none !important;\n}\n@media screen and (max-width: 768px) {\n .header--smallUseSearchIcon .header__searchIcon {\n display: flex !important;\n margin-right: 10px !important;\n }\n .header--smallUseSearchIcon .keywordSearch {\n visibility: hidden;\n flex: 1;\n width: 0;\n }\n}\n.header--hide {\n top: -100px;\n}\n.header--focus .header__links {\n display: none;\n}\n.header .MuiTypography-root {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.header .autocomplete {\n float: right;\n}\n.header .autocomplete .MuiAutocomplete-inputRoot[class*=MuiOutlinedInput-root] {\n padding: 1px 8px !important;\n}\n.header .keywordSearch {\n margin-right: 8px;\n}\n.header .keywordSearch--focus .autocomplete {\n width: 100% !important;\n}\n.header .keywordSearch--animation .autocomplete {\n width: 240px;\n transition: width 0.3s ease-in-out;\n}\n\n/* 避免寬度460以下炸版 */\n@media screen and (max-width: 460px) {\n .header .keywordSearch--animation .autocomplete {\n width: 100%;\n }\n}\n@media screen and (max-width: 768px) {\n .header {\n padding: 12px 15px !important;\n /* 窄畫面比照語系選單收進抽屜,避免擠壓搜尋框 */\n }\n .header__logo {\n margin-right: 16px !important;\n }\n .header__logo__title {\n display: none !important;\n }\n .header__links {\n display: none;\n }\n .header__links__item {\n font-size: 1rem !important;\n }\n .header__language {\n display: none !important;\n }\n .header__extraTools {\n display: none !important;\n }\n .header--focus .header__logo {\n display: none !important;\n }\n\n .autocomplete__icon {\n display: none !important;\n }\n}";
31
31
  styleInject(css_248z);
@@ -1,6 +1,6 @@
1
1
  import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useState } from 'react';
3
- import { c as classNames } from './index-b76a85f4.js';
3
+ import { c as classNames } from './index-c33afcb5.js';
4
4
  import PropTypes from 'prop-types';
5
5
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { c as classNames } from './index-b76a85f4.js';
3
+ import { c as classNames } from './index-c33afcb5.js';
4
4
  import { OutlinedInput } from '@material-ui/core';
5
5
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
6
6