@daoyi/nmtl-ui 2.0.1-beta.84 → 2.0.1-beta.86
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-83a79687.js → Autocomplete-2b5732e8.js} +4 -4
- package/lib/components/Autocomplete.js +4 -4
- package/lib/components/Avatar.js +1 -1
- package/lib/components/BackTop.js +3 -3
- package/lib/components/BarChart.js +2 -2
- package/lib/components/Breadcrumbs.js +3 -3
- package/lib/components/{Button-f86bbd40.js → Button-305b69a0.js} +2 -2
- package/lib/components/Button.js +2 -2
- package/lib/components/Carousel.js +2 -2
- package/lib/components/CollapseContent.js +3 -3
- package/lib/components/{ContactModal-80d24d0b.js → ContactModal-f33af93a.js} +7 -7
- package/lib/components/ContactModal.js +8 -8
- package/lib/components/{Drawer-cd48391b.js → Drawer-f6842ba3.js} +2 -2
- package/lib/components/Drawer.js +4 -4
- package/lib/components/Dropdown.js +1 -1
- package/lib/components/{Empty-9a192c2a.js → Empty-bf77164f.js} +2 -2
- package/lib/components/Empty.js +2 -2
- package/lib/components/ExportButton.js +2 -2
- package/lib/components/{ExtraTools-51d59918.js → ExtraTools-b9cbb205.js} +3 -3
- package/lib/components/ExtraTools.js +3 -3
- package/lib/components/Filter.js +3 -3
- package/lib/components/Footer.js +9 -9
- package/lib/components/{ForwardLink-2554a5d9.js → ForwardLink-f80fdf67.js} +2 -2
- package/lib/components/ForwardLink.js +2 -2
- package/lib/components/Header.js +8 -8
- package/lib/components/Image.js +2 -2
- package/lib/components/Input.js +2 -2
- package/lib/components/InputMethod.js +7 -7
- package/lib/components/{KeywordSearch-a66db4e4.js → KeywordSearch-1883b67f.js} +3 -3
- package/lib/components/KeywordSearch.js +5 -5
- package/lib/components/KeywordTicker.js +4 -4
- package/lib/components/Keywords.js +8 -8
- package/lib/components/Loading.js +2 -2
- package/lib/components/MUITheme.js +1 -1
- package/lib/components/{Modal-c8a92699.js → Modal-7f799c2e.js} +4 -4
- package/lib/components/Modal.js +4 -4
- package/lib/components/{MoreButton-c01432fd.js → MoreButton-44d3b4fe.js} +2 -2
- package/lib/components/MoreButton.js +2 -2
- package/lib/components/Pagination.js +3 -3
- package/lib/components/SNA.js +4 -4
- package/lib/components/{Select-7c0ef815.js → Select-7b672be8.js} +3 -3
- package/lib/components/Select.js +3 -3
- package/lib/components/{Spin-1762ce9c.js → Spin-8dc60bfe.js} +2 -2
- package/lib/components/Spin.js +2 -2
- package/lib/components/{Tooltip-21964965.js → Tooltip-6ebfa9c1.js} +2 -2
- package/lib/components/Tooltip.js +2 -2
- package/lib/configs/config.selector.js +151 -0
- package/lib/configs/index.d.ts +1 -0
- package/lib/configs/index.js +1 -0
- package/package.json +1 -2
- /package/lib/components/{createSvgIcon-e95160be.js → createSvgIcon-e3803ee1.js} +0 -0
- /package/lib/components/{index-34fc27f1.js → index-b47819f3.js} +0 -0
- /package/lib/components/{index-cbd6bca9.js → index-b76a85f4.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { b as _objectSpread2, d as _typeof } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
5
5
|
import { FormControl, Select as Select$1, CircularProgress, MenuItem } from '@material-ui/core';
|
|
6
|
-
import { E as Empty } from './Empty-
|
|
6
|
+
import { E as Empty } from './Empty-bf77164f.js';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
8
8
|
|
|
9
|
-
var css_248z = ".select__placeholder {\n color: #999
|
|
9
|
+
var css_248z = ".select__placeholder {\n color: #999;\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}";
|
|
10
10
|
styleInject(css_248z);
|
|
11
11
|
|
|
12
12
|
var Select = function Select(props) {
|
package/lib/components/Select.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { S as default } from './Select-
|
|
1
|
+
export { S as default } from './Select-7b672be8.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-b76a85f4.js';
|
|
6
6
|
import '@material-ui/core';
|
|
7
|
-
import './Empty-
|
|
7
|
+
import './Empty-bf77164f.js';
|
|
8
8
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default, { useMemo } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import { Fade, CircularProgress } from '@material-ui/core';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
6
|
|
|
7
|
-
var css_248z = ".customSpin {\n width: 100%;\n min-height: 100px;\n position: relative
|
|
7
|
+
var css_248z = ".customSpin {\n width: 100%;\n min-height: 100px;\n position: relative;\n}\n.customSpin__spin {\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 2;\n display: flex;\n justify-content: center;\n align-items: center;\n}";
|
|
8
8
|
styleInject(css_248z);
|
|
9
9
|
|
|
10
10
|
var stringSize = {
|
package/lib/components/Spin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { S as default } from './Spin-
|
|
1
|
+
export { S as default } from './Spin-8dc60bfe.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-b76a85f4.js';
|
|
5
5
|
import '@material-ui/core';
|
|
6
6
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -2,7 +2,7 @@ import React__default from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Tooltip as Tooltip$1 } from '@material-ui/core';
|
|
4
4
|
import { _ as _extends } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
5
|
-
import { c as classNames } from './index-
|
|
5
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
|
|
8
8
|
const TooltipContent = /*#__PURE__*/React__default.forwardRef((props, ref) => /*#__PURE__*/React__default.createElement("div", _extends({}, props, {
|
|
@@ -18,7 +18,7 @@ TooltipContent.propTypes = {
|
|
|
18
18
|
className: PropTypes.string
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
var css_248z = ".tooltip {\n width: -moz-fit-content;\n width: fit-content
|
|
21
|
+
var css_248z = ".tooltip {\n width: -moz-fit-content;\n width: fit-content;\n}";
|
|
22
22
|
styleInject(css_248z);
|
|
23
23
|
|
|
24
24
|
var placements = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { T as default, p as placements } from './Tooltip-
|
|
1
|
+
export { T as default, p as placements } from './Tooltip-6ebfa9c1.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
4
|
import '@material-ui/core';
|
|
5
5
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
6
|
-
import './index-
|
|
6
|
+
import './index-b76a85f4.js';
|
|
7
7
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
//
|
|
2
|
+
const AvatarSelectors = {
|
|
3
|
+
// title: 'example-info-title',
|
|
4
|
+
};
|
|
5
|
+
const AutocompleteSelectors = {
|
|
6
|
+
// title: 'example-info-title',
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
// please add more selectors if needed
|
|
10
|
+
const ButtonSelectors = {
|
|
11
|
+
// title: 'example-info-title',
|
|
12
|
+
};
|
|
13
|
+
const BackTopSelectors = {
|
|
14
|
+
// title: 'example-info-title',
|
|
15
|
+
};
|
|
16
|
+
const CarouselSelectors = {
|
|
17
|
+
// title: 'example-info-title',
|
|
18
|
+
};
|
|
19
|
+
const CheckboxSelectors = {
|
|
20
|
+
// title: 'example-info-title',
|
|
21
|
+
};
|
|
22
|
+
const DrawerSelectors = {
|
|
23
|
+
// title: 'example-info-title',
|
|
24
|
+
};
|
|
25
|
+
const EmptySelectors = {
|
|
26
|
+
// title: 'example-info-title',
|
|
27
|
+
};
|
|
28
|
+
const ImageSelectors = {
|
|
29
|
+
// title: 'example-info-title',
|
|
30
|
+
};
|
|
31
|
+
const InputMethodSelectors = {
|
|
32
|
+
// title: 'example-info-title',
|
|
33
|
+
};
|
|
34
|
+
const LoadingSelectors = {
|
|
35
|
+
// title: 'example-info-title',
|
|
36
|
+
};
|
|
37
|
+
const ModalSelectors = {
|
|
38
|
+
// title: 'example-info-title',
|
|
39
|
+
};
|
|
40
|
+
const RadioSelectors = {
|
|
41
|
+
// title: 'example-info-title',
|
|
42
|
+
};
|
|
43
|
+
const SelectSelectors = {
|
|
44
|
+
// title: 'example-info-title',
|
|
45
|
+
};
|
|
46
|
+
const SpinSelectors = {
|
|
47
|
+
// title: 'example-info-title',
|
|
48
|
+
};
|
|
49
|
+
const TableSelectors = {
|
|
50
|
+
// title: 'example-info-title',
|
|
51
|
+
};
|
|
52
|
+
const TooltipSelectors = {
|
|
53
|
+
// title: 'example-info-title',
|
|
54
|
+
};
|
|
55
|
+
const InputSelectors = {
|
|
56
|
+
// title: 'example-info-title',
|
|
57
|
+
};
|
|
58
|
+
const DropdownSelectors = {
|
|
59
|
+
// title: 'example-info-title',
|
|
60
|
+
};
|
|
61
|
+
const BreadcrumbsSelectors = {
|
|
62
|
+
// title: 'example-info-title',
|
|
63
|
+
};
|
|
64
|
+
const ExportButtonSelectors = {
|
|
65
|
+
// title: 'example-info-title',
|
|
66
|
+
};
|
|
67
|
+
const SNASelectors = {
|
|
68
|
+
// title: 'example-info-title',
|
|
69
|
+
};
|
|
70
|
+
const BarChartSelectors = {
|
|
71
|
+
// title: 'example-info-title',
|
|
72
|
+
};
|
|
73
|
+
const ForwardLinkSelectors = {
|
|
74
|
+
// title: 'example-info-title',
|
|
75
|
+
};
|
|
76
|
+
const PaginationSelectors = {
|
|
77
|
+
// title: 'example-info-title',
|
|
78
|
+
};
|
|
79
|
+
const ContactModalSelectors = {
|
|
80
|
+
// title: 'example-info-title',
|
|
81
|
+
};
|
|
82
|
+
const KeywordSearchSelectors = {
|
|
83
|
+
// title: 'example-info-title',
|
|
84
|
+
};
|
|
85
|
+
const MUIThemeSelectors = {
|
|
86
|
+
// title: 'example-info-title',
|
|
87
|
+
};
|
|
88
|
+
const HeaderSelectors = {
|
|
89
|
+
// title: 'example-info-title',
|
|
90
|
+
};
|
|
91
|
+
const FooterSelectors = {
|
|
92
|
+
// title: 'example-info-title',
|
|
93
|
+
};
|
|
94
|
+
const KeywordsSelectors = {
|
|
95
|
+
// title: 'example-info-title',
|
|
96
|
+
};
|
|
97
|
+
const CollapseContentSelectors = {
|
|
98
|
+
// title: 'example-info-title',
|
|
99
|
+
};
|
|
100
|
+
const MoreButtonSelectors = {
|
|
101
|
+
// title: 'example-info-title',
|
|
102
|
+
};
|
|
103
|
+
const KeywordTickerSelectors = {
|
|
104
|
+
// title: 'example-info-title',
|
|
105
|
+
};
|
|
106
|
+
const ExtraToolsSelectors = {
|
|
107
|
+
// title: 'example-info-title',
|
|
108
|
+
};
|
|
109
|
+
const FilterSelectors = {
|
|
110
|
+
// title: 'example-info-title',
|
|
111
|
+
};
|
|
112
|
+
const SELECTORS = {
|
|
113
|
+
avatar: AutocompleteSelectors,
|
|
114
|
+
autocomplete: AutocompleteSelectors,
|
|
115
|
+
button: ButtonSelectors,
|
|
116
|
+
backTop: BackTopSelectors,
|
|
117
|
+
carousel: CarouselSelectors,
|
|
118
|
+
checkbox: CheckboxSelectors,
|
|
119
|
+
drawer: DrawerSelectors,
|
|
120
|
+
empty: EmptySelectors,
|
|
121
|
+
image: ImageSelectors,
|
|
122
|
+
inputMethod: InputMethodSelectors,
|
|
123
|
+
loading: LoadingSelectors,
|
|
124
|
+
modal: ModalSelectors,
|
|
125
|
+
radio: RadioSelectors,
|
|
126
|
+
select: SelectSelectors,
|
|
127
|
+
spin: SpinSelectors,
|
|
128
|
+
table: TableSelectors,
|
|
129
|
+
tooltip: TooltipSelectors,
|
|
130
|
+
input: InputSelectors,
|
|
131
|
+
dropdown: DropdownSelectors,
|
|
132
|
+
breadcrumbs: BreadcrumbsSelectors,
|
|
133
|
+
exportButton: ExportButtonSelectors,
|
|
134
|
+
sna: SNASelectors,
|
|
135
|
+
barChart: BarChartSelectors,
|
|
136
|
+
forwardLink: ForwardLinkSelectors,
|
|
137
|
+
pagination: PaginationSelectors,
|
|
138
|
+
contactModal: ContactModalSelectors,
|
|
139
|
+
keywordSearch: KeywordSearchSelectors,
|
|
140
|
+
muiTheme: MUIThemeSelectors,
|
|
141
|
+
header: HeaderSelectors,
|
|
142
|
+
footer: FooterSelectors,
|
|
143
|
+
keywords: KeywordsSelectors,
|
|
144
|
+
collapseContent: CollapseContentSelectors,
|
|
145
|
+
moreButton: MoreButtonSelectors,
|
|
146
|
+
keywordTicker: KeywordTickerSelectors,
|
|
147
|
+
extraTools: ExtraToolsSelectors,
|
|
148
|
+
filter: FilterSelectors
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
export { AutocompleteSelectors, AvatarSelectors, BackTopSelectors, BarChartSelectors, BreadcrumbsSelectors, ButtonSelectors, CarouselSelectors, CheckboxSelectors, CollapseContentSelectors, ContactModalSelectors, DrawerSelectors, DropdownSelectors, EmptySelectors, ExportButtonSelectors, ExtraToolsSelectors, FilterSelectors, FooterSelectors, ForwardLinkSelectors, HeaderSelectors, ImageSelectors, InputMethodSelectors, InputSelectors, KeywordSearchSelectors, KeywordTickerSelectors, KeywordsSelectors, LoadingSelectors, MUIThemeSelectors, ModalSelectors, MoreButtonSelectors, PaginationSelectors, RadioSelectors, SELECTORS, SNASelectors, SelectSelectors, SpinSelectors, TableSelectors, TooltipSelectors, SELECTORS as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as muiSelectorConfig } from './muiSelectorConfig';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as muiSelectorConfig } from './muiSelectorConfig';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daoyi/nmtl-ui",
|
|
3
|
-
"version": "2.0.1-beta.
|
|
3
|
+
"version": "2.0.1-beta.86",
|
|
4
4
|
"description": "This project is to be used as a starter kit for building React component using Storybook and Rollup",
|
|
5
5
|
"author": "daoyi",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
"lodash": "4.17.21",
|
|
34
34
|
"markdown-it": "12.0.6",
|
|
35
35
|
"moment": "^2.29.4",
|
|
36
|
-
"node-sass": "4.14.1",
|
|
37
36
|
"notistack": "1.0.10",
|
|
38
37
|
"prop-types": "15.7.2",
|
|
39
38
|
"query-string": "6.12.1",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|