react-miui 0.15.4 → 0.15.7
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/CHANGELOG.md +19 -0
- package/dist/components/form/Toggle.d.ts +1 -0
- package/dist/components/form/Toggle.d.ts.map +1 -1
- package/dist/components/form/Toggle.js +3 -0
- package/dist/components/form/Toggle.js.map +1 -1
- package/dist/components/form/choice/Choice.d.ts +1 -1
- package/dist/components/form/choice/Choice.d.ts.map +1 -1
- package/dist/components/form/choice/Choice.js +1 -1
- package/dist/components/form/choice/Choice.js.map +1 -1
- package/dist/components/form/choice/Choice.module.scss +6 -0
- package/dist/components/ui/button/Button.d.ts +2 -1
- package/dist/components/ui/button/Button.d.ts.map +1 -1
- package/dist/components/ui/button/Button.js +2 -2
- package/dist/components/ui/button/Button.js.map +1 -1
- package/dist/components/ui/pop/Pop.module.scss +28 -27
- package/dist/components/ui/pop/PopOption.d.ts.map +1 -1
- package/dist/components/ui/pop/PopOption.js +3 -3
- package/dist/components/ui/pop/PopOption.js.map +1 -1
- package/dist/components/utils/If.d.ts +7 -0
- package/dist/components/utils/If.d.ts.map +1 -0
- package/dist/components/utils/If.js +15 -0
- package/dist/components/utils/If.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/docs/assets/js/search.js +1 -1
- package/docs/assets/js/search.json +1 -1
- package/docs/classes/Drawer.html +15 -12
- package/docs/classes/Pop.html +15 -12
- package/docs/classes/ToasterProvider.html +11 -8
- package/docs/enums/ICON.html +15 -12
- package/docs/index.html +7 -4
- package/docs/modules/Item.html +3 -3
- package/docs/modules/List.html +3 -3
- package/docs/modules/Modal.html +3 -3
- package/docs/modules/ModalButtons.html +3 -3
- package/docs/modules/Section.html +3 -3
- package/docs/modules/StickyHeader.html +4 -4
- package/docs/modules.html +47 -33
- package/docs/pages/Tutorials/Test.html +3 -3
- package/esm/components/form/Toggle.d.ts +1 -0
- package/esm/components/form/Toggle.d.ts.map +1 -1
- package/esm/components/form/Toggle.js +3 -0
- package/esm/components/form/Toggle.js.map +1 -1
- package/esm/components/form/choice/Choice.d.ts +1 -1
- package/esm/components/form/choice/Choice.d.ts.map +1 -1
- package/esm/components/form/choice/Choice.js +1 -1
- package/esm/components/form/choice/Choice.js.map +1 -1
- package/esm/components/form/choice/Choice.module.scss +6 -0
- package/esm/components/ui/button/Button.d.ts +2 -1
- package/esm/components/ui/button/Button.d.ts.map +1 -1
- package/esm/components/ui/button/Button.js +1 -1
- package/esm/components/ui/button/Button.js.map +1 -1
- package/esm/components/ui/pop/Pop.module.scss +28 -27
- package/esm/components/ui/pop/PopOption.d.ts.map +1 -1
- package/esm/components/ui/pop/PopOption.js +3 -3
- package/esm/components/ui/pop/PopOption.js.map +1 -1
- package/esm/components/utils/If.d.ts +7 -0
- package/esm/components/utils/If.d.ts.map +1 -0
- package/esm/components/utils/If.js +9 -0
- package/esm/components/utils/If.js.map +1 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/form/Toggle.tsx +4 -0
- package/src/components/form/choice/Choice.module.scss +6 -0
- package/src/components/form/choice/Choice.tsx +3 -1
- package/src/components/ui/button/Button.tsx +4 -2
- package/src/components/ui/pop/Pop.module.scss +28 -27
- package/src/components/ui/pop/PopOption.tsx +4 -2
- package/src/components/utils/If.tsx +14 -0
- package/src/demo/Main.module.scss +6 -0
- package/src/demo/Main.tsx +6 -15
- package/src/demo/components/form/Choice.tsx +27 -15
- package/src/index.ts +1 -0
package/docs/index.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>react-miui - v0.15.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.15.
|
|
6
|
+
<title>react-miui - v0.15.7</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.15.7">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="index.html" class="title">react-miui - v0.15.
|
|
26
|
+
<a href="index.html" class="title">react-miui - v0.15.7</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<a href="modules.html">Globals</a>
|
|
58
58
|
</li>
|
|
59
59
|
</ul>
|
|
60
|
-
<h1>Project react-miui - v0.15.
|
|
60
|
+
<h1>Project react-miui - v0.15.7</h1>
|
|
61
61
|
</div>
|
|
62
62
|
</div>
|
|
63
63
|
</header>
|
|
@@ -159,6 +159,9 @@
|
|
|
159
159
|
<li class=" tsd-kind-variable">
|
|
160
160
|
<a href="modules.html#Icon" class="tsd-kind-icon">Icon</a>
|
|
161
161
|
</li>
|
|
162
|
+
<li class=" tsd-kind-variable">
|
|
163
|
+
<a href="modules.html#If" class="tsd-kind-icon">If</a>
|
|
164
|
+
</li>
|
|
162
165
|
<li class=" tsd-kind-variable">
|
|
163
166
|
<a href="modules.html#Input" class="tsd-kind-icon">Input</a>
|
|
164
167
|
</li>
|
package/docs/modules/Item.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>Item | react-miui - v0.15.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.15.
|
|
6
|
+
<title>Item | react-miui - v0.15.7</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.15.7">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.15.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.15.7</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
package/docs/modules/List.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>List | react-miui - v0.15.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.15.
|
|
6
|
+
<title>List | react-miui - v0.15.7</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.15.7">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.15.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.15.7</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
package/docs/modules/Modal.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>Modal | react-miui - v0.15.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.15.
|
|
6
|
+
<title>Modal | react-miui - v0.15.7</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.15.7">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.15.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.15.7</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>ModalButtons | react-miui - v0.15.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.15.
|
|
6
|
+
<title>ModalButtons | react-miui - v0.15.7</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.15.7">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.15.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.15.7</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>Section | react-miui - v0.15.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.15.
|
|
6
|
+
<title>Section | react-miui - v0.15.7</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.15.7">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.15.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.15.7</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>StickyHeader | react-miui - v0.15.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.15.
|
|
6
|
+
<title>StickyHeader | react-miui - v0.15.7</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.15.7">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.15.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.15.7</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
<li class="tsd-description">
|
|
93
93
|
<aside class="tsd-sources">
|
|
94
94
|
<ul>
|
|
95
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
95
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/layout/header/StickyHeader.tsx#L61">src/components/layout/header/StickyHeader.tsx:61</a></li>
|
|
96
96
|
</ul>
|
|
97
97
|
</aside>
|
|
98
98
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
package/docs/modules.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>react-miui - v0.15.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.15.
|
|
6
|
+
<title>react-miui - v0.15.7</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.15.7">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="index.html" class="title">react-miui - v0.15.
|
|
26
|
+
<a href="index.html" class="title">react-miui - v0.15.7</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<a href="modules.html">Globals</a>
|
|
58
58
|
</li>
|
|
59
59
|
</ul>
|
|
60
|
-
<h1>Project react-miui - v0.15.
|
|
60
|
+
<h1>Project react-miui - v0.15.7</h1>
|
|
61
61
|
</div>
|
|
62
62
|
</div>
|
|
63
63
|
</header>
|
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
<li class="tsd-kind-variable"><a href="modules.html#Header" class="tsd-kind-icon">Header</a></li>
|
|
107
107
|
<li class="tsd-kind-variable"><a href="modules.html#HeaderIconAction" class="tsd-kind-icon">Header<wbr>Icon<wbr>Action</a></li>
|
|
108
108
|
<li class="tsd-kind-variable"><a href="modules.html#Icon" class="tsd-kind-icon">Icon</a></li>
|
|
109
|
+
<li class="tsd-kind-variable"><a href="modules.html#If" class="tsd-kind-icon">If</a></li>
|
|
109
110
|
<li class="tsd-kind-variable"><a href="modules.html#Input" class="tsd-kind-icon">Input</a></li>
|
|
110
111
|
<li class="tsd-kind-variable"><a href="modules.html#Item" class="tsd-kind-icon">Item</a></li>
|
|
111
112
|
<li class="tsd-kind-variable"><a href="modules.html#Label" class="tsd-kind-icon">Label</a></li>
|
|
@@ -143,7 +144,7 @@
|
|
|
143
144
|
<div class="tsd-signature tsd-kind-icon">Action<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
144
145
|
<aside class="tsd-sources">
|
|
145
146
|
<ul>
|
|
146
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
147
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/ui/action/Action.tsx#L23">src/components/ui/action/Action.tsx:23</a></li>
|
|
147
148
|
</ul>
|
|
148
149
|
</aside>
|
|
149
150
|
</section>
|
|
@@ -153,7 +154,7 @@
|
|
|
153
154
|
<div class="tsd-signature tsd-kind-icon">Button<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">React.ButtonHTMLAttributes</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">HTMLButtonElement</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
154
155
|
<aside class="tsd-sources">
|
|
155
156
|
<ul>
|
|
156
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
157
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/ui/button/Button.tsx#L13">src/components/ui/button/Button.tsx:13</a></li>
|
|
157
158
|
</ul>
|
|
158
159
|
</aside>
|
|
159
160
|
</section>
|
|
@@ -163,7 +164,7 @@
|
|
|
163
164
|
<div class="tsd-signature tsd-kind-icon">Card<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
164
165
|
<aside class="tsd-sources">
|
|
165
166
|
<ul>
|
|
166
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
167
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/layout/card/Card.tsx#L13">src/components/layout/card/Card.tsx:13</a></li>
|
|
167
168
|
</ul>
|
|
168
169
|
</aside>
|
|
169
170
|
</section>
|
|
@@ -173,7 +174,7 @@
|
|
|
173
174
|
<div class="tsd-signature tsd-kind-icon">Checkbox<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
174
175
|
<aside class="tsd-sources">
|
|
175
176
|
<ul>
|
|
176
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
177
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/form/Checkbox.tsx#L16">src/components/form/Checkbox.tsx:16</a></li>
|
|
177
178
|
</ul>
|
|
178
179
|
</aside>
|
|
179
180
|
</section>
|
|
@@ -183,7 +184,7 @@
|
|
|
183
184
|
<div class="tsd-signature tsd-kind-icon">Direction<wbr>Pad<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
184
185
|
<aside class="tsd-sources">
|
|
185
186
|
<ul>
|
|
186
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
187
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/ui/directionPad/Pad.tsx#L17">src/components/ui/directionPad/Pad.tsx:17</a></li>
|
|
187
188
|
</ul>
|
|
188
189
|
</aside>
|
|
189
190
|
</section>
|
|
@@ -193,7 +194,7 @@
|
|
|
193
194
|
<div class="tsd-signature tsd-kind-icon">Equal<wbr>Actions<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
194
195
|
<aside class="tsd-sources">
|
|
195
196
|
<ul>
|
|
196
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
197
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/ui/action/EqualActions.tsx#L11">src/components/ui/action/EqualActions.tsx:11</a></li>
|
|
197
198
|
</ul>
|
|
198
199
|
</aside>
|
|
199
200
|
</section>
|
|
@@ -203,7 +204,7 @@
|
|
|
203
204
|
<div class="tsd-signature tsd-kind-icon">Handle<wbr>Esc<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
204
205
|
<aside class="tsd-sources">
|
|
205
206
|
<ul>
|
|
206
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
207
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/utils/HandleEsc.tsx#L10">src/components/utils/HandleEsc.tsx:10</a></li>
|
|
207
208
|
</ul>
|
|
208
209
|
</aside>
|
|
209
210
|
</section>
|
|
@@ -213,7 +214,7 @@
|
|
|
213
214
|
<div class="tsd-signature tsd-kind-icon">Header<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
214
215
|
<aside class="tsd-sources">
|
|
215
216
|
<ul>
|
|
216
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
217
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/layout/header/Header.tsx#L23">src/components/layout/header/Header.tsx:23</a></li>
|
|
217
218
|
</ul>
|
|
218
219
|
</aside>
|
|
219
220
|
</section>
|
|
@@ -223,7 +224,7 @@
|
|
|
223
224
|
<div class="tsd-signature tsd-kind-icon">Header<wbr>Icon<wbr>Action<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
224
225
|
<aside class="tsd-sources">
|
|
225
226
|
<ul>
|
|
226
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
227
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/layout/header/HeaderIconAction.tsx#L22">src/components/layout/header/HeaderIconAction.tsx:22</a></li>
|
|
227
228
|
</ul>
|
|
228
229
|
</aside>
|
|
229
230
|
</section>
|
|
@@ -233,7 +234,17 @@
|
|
|
233
234
|
<div class="tsd-signature tsd-kind-icon">Icon<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
234
235
|
<aside class="tsd-sources">
|
|
235
236
|
<ul>
|
|
236
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
237
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/icons/Icon.tsx#L43">src/components/icons/Icon.tsx:43</a></li>
|
|
238
|
+
</ul>
|
|
239
|
+
</aside>
|
|
240
|
+
</section>
|
|
241
|
+
<section class="tsd-panel tsd-member tsd-kind-variable">
|
|
242
|
+
<a name="If" class="tsd-anchor"></a>
|
|
243
|
+
<h3><span class="tsd-flag ts-flagConst">Const</span> If</h3>
|
|
244
|
+
<div class="tsd-signature tsd-kind-icon">If<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
245
|
+
<aside class="tsd-sources">
|
|
246
|
+
<ul>
|
|
247
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/utils/If.tsx#L7">src/components/utils/If.tsx:7</a></li>
|
|
237
248
|
</ul>
|
|
238
249
|
</aside>
|
|
239
250
|
</section>
|
|
@@ -243,7 +254,7 @@
|
|
|
243
254
|
<div class="tsd-signature tsd-kind-icon">Input<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">React.InputHTMLAttributes</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">HTMLInputElement</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"prefix"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
244
255
|
<aside class="tsd-sources">
|
|
245
256
|
<ul>
|
|
246
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
257
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/form/Input.tsx#L12">src/components/form/Input.tsx:12</a></li>
|
|
247
258
|
</ul>
|
|
248
259
|
</aside>
|
|
249
260
|
</section>
|
|
@@ -253,7 +264,7 @@
|
|
|
253
264
|
<div class="tsd-signature tsd-kind-icon">Item<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">SubComponents</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
254
265
|
<aside class="tsd-sources">
|
|
255
266
|
<ul>
|
|
256
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
267
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/layout/list/Item.tsx#L36">src/components/layout/list/Item.tsx:36</a></li>
|
|
257
268
|
</ul>
|
|
258
269
|
</aside>
|
|
259
270
|
</section>
|
|
@@ -263,7 +274,7 @@
|
|
|
263
274
|
<div class="tsd-signature tsd-kind-icon">Label<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
264
275
|
<aside class="tsd-sources">
|
|
265
276
|
<ul>
|
|
266
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
277
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/form/Label.tsx#L12">src/components/form/Label.tsx:12</a></li>
|
|
267
278
|
</ul>
|
|
268
279
|
</aside>
|
|
269
280
|
</section>
|
|
@@ -273,7 +284,7 @@
|
|
|
273
284
|
<div class="tsd-signature tsd-kind-icon">List<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">SubComponents</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
274
285
|
<aside class="tsd-sources">
|
|
275
286
|
<ul>
|
|
276
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
287
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/layout/list/List.tsx#L20">src/components/layout/list/List.tsx:20</a></li>
|
|
277
288
|
</ul>
|
|
278
289
|
</aside>
|
|
279
290
|
</section>
|
|
@@ -283,7 +294,7 @@
|
|
|
283
294
|
<div class="tsd-signature tsd-kind-icon">Message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
284
295
|
<aside class="tsd-sources">
|
|
285
296
|
<ul>
|
|
286
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
297
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/ui/message/Message.tsx#L12">src/components/ui/message/Message.tsx:12</a></li>
|
|
287
298
|
</ul>
|
|
288
299
|
</aside>
|
|
289
300
|
</section>
|
|
@@ -293,7 +304,7 @@
|
|
|
293
304
|
<div class="tsd-signature tsd-kind-icon">Modal<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">SubComponents</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
294
305
|
<aside class="tsd-sources">
|
|
295
306
|
<ul>
|
|
296
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
307
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/ui/modal/Modal.tsx#L25">src/components/ui/modal/Modal.tsx:25</a></li>
|
|
297
308
|
</ul>
|
|
298
309
|
</aside>
|
|
299
310
|
</section>
|
|
@@ -303,7 +314,7 @@
|
|
|
303
314
|
<div class="tsd-signature tsd-kind-icon">Modal<wbr>Buttons<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">SubComponents</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
304
315
|
<aside class="tsd-sources">
|
|
305
316
|
<ul>
|
|
306
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
317
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/ui/modal/ModalButtons.tsx#L15">src/components/ui/modal/ModalButtons.tsx:15</a></li>
|
|
307
318
|
</ul>
|
|
308
319
|
</aside>
|
|
309
320
|
</section>
|
|
@@ -313,7 +324,7 @@
|
|
|
313
324
|
<div class="tsd-signature tsd-kind-icon">Search<wbr>Container<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
314
325
|
<aside class="tsd-sources">
|
|
315
326
|
<ul>
|
|
316
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
327
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/layout/section/SearchContainer.tsx#L5">src/components/layout/section/SearchContainer.tsx:5</a></li>
|
|
317
328
|
</ul>
|
|
318
329
|
</aside>
|
|
319
330
|
</section>
|
|
@@ -323,7 +334,7 @@
|
|
|
323
334
|
<div class="tsd-signature tsd-kind-icon">Section<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">SubComponents</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
324
335
|
<aside class="tsd-sources">
|
|
325
336
|
<ul>
|
|
326
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
337
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/layout/section/Section.tsx#L18">src/components/layout/section/Section.tsx:18</a></li>
|
|
327
338
|
</ul>
|
|
328
339
|
</aside>
|
|
329
340
|
</section>
|
|
@@ -333,7 +344,7 @@
|
|
|
333
344
|
<div class="tsd-signature tsd-kind-icon">Select<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">React.SelectHTMLAttributes</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">HTMLSelectElement</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
334
345
|
<aside class="tsd-sources">
|
|
335
346
|
<ul>
|
|
336
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
347
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/form/Select.tsx#L9">src/components/form/Select.tsx:9</a></li>
|
|
337
348
|
</ul>
|
|
338
349
|
</aside>
|
|
339
350
|
</section>
|
|
@@ -343,7 +354,7 @@
|
|
|
343
354
|
<div class="tsd-signature tsd-kind-icon">Spacer<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
344
355
|
<aside class="tsd-sources">
|
|
345
356
|
<ul>
|
|
346
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
357
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/utils/Spacer.tsx#L7">src/components/utils/Spacer.tsx:7</a></li>
|
|
347
358
|
</ul>
|
|
348
359
|
</aside>
|
|
349
360
|
</section>
|
|
@@ -353,7 +364,7 @@
|
|
|
353
364
|
<div class="tsd-signature tsd-kind-icon">Stats<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
354
365
|
<aside class="tsd-sources">
|
|
355
366
|
<ul>
|
|
356
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
367
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/ui/stats/Stats.tsx#L16">src/components/ui/stats/Stats.tsx:16</a></li>
|
|
357
368
|
</ul>
|
|
358
369
|
</aside>
|
|
359
370
|
</section>
|
|
@@ -363,7 +374,7 @@
|
|
|
363
374
|
<div class="tsd-signature tsd-kind-icon">Sticky<wbr>Header<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Content</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
364
375
|
<aside class="tsd-sources">
|
|
365
376
|
<ul>
|
|
366
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
377
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/layout/header/StickyHeader.tsx#L23">src/components/layout/header/StickyHeader.tsx:23</a></li>
|
|
367
378
|
</ul>
|
|
368
379
|
</aside>
|
|
369
380
|
</section>
|
|
@@ -373,7 +384,7 @@
|
|
|
373
384
|
<div class="tsd-signature tsd-kind-icon">Table<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">React.TableHTMLAttributes</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">HTMLTableElement</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
374
385
|
<aside class="tsd-sources">
|
|
375
386
|
<ul>
|
|
376
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
387
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/layout/table/Table.tsx#L13">src/components/layout/table/Table.tsx:13</a></li>
|
|
377
388
|
</ul>
|
|
378
389
|
</aside>
|
|
379
390
|
</section>
|
|
@@ -383,7 +394,7 @@
|
|
|
383
394
|
<div class="tsd-signature tsd-kind-icon">Text<wbr>Area<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">React.TextareaHTMLAttributes</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">HTMLTextAreaElement</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
384
395
|
<aside class="tsd-sources">
|
|
385
396
|
<ul>
|
|
386
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
397
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/form/TextArea.tsx#L10">src/components/form/TextArea.tsx:10</a></li>
|
|
387
398
|
</ul>
|
|
388
399
|
</aside>
|
|
389
400
|
</section>
|
|
@@ -393,7 +404,7 @@
|
|
|
393
404
|
<div class="tsd-signature tsd-kind-icon">Toggle<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
394
405
|
<aside class="tsd-sources">
|
|
395
406
|
<ul>
|
|
396
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
407
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/form/Toggle.tsx#L14">src/components/form/Toggle.tsx:14</a></li>
|
|
397
408
|
</ul>
|
|
398
409
|
</aside>
|
|
399
410
|
</section>
|
|
@@ -410,7 +421,7 @@
|
|
|
410
421
|
<li class="tsd-description">
|
|
411
422
|
<aside class="tsd-sources">
|
|
412
423
|
<ul>
|
|
413
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
424
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/form/choice/Choice.tsx#L23">src/components/form/choice/Choice.tsx:23</a></li>
|
|
414
425
|
</ul>
|
|
415
426
|
</aside>
|
|
416
427
|
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
|
@@ -439,7 +450,7 @@
|
|
|
439
450
|
<li class="tsd-description">
|
|
440
451
|
<aside class="tsd-sources">
|
|
441
452
|
<ul>
|
|
442
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
453
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/ui/tabs/Selector.tsx#L14">src/components/ui/tabs/Selector.tsx:14</a></li>
|
|
443
454
|
</ul>
|
|
444
455
|
</aside>
|
|
445
456
|
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
|
@@ -468,7 +479,7 @@
|
|
|
468
479
|
<li class="tsd-description">
|
|
469
480
|
<aside class="tsd-sources">
|
|
470
481
|
<ul>
|
|
471
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
482
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/9a9af88/src/components/ui/toaster/Toaster.tsx#L99">src/components/ui/toaster/Toaster.tsx:99</a></li>
|
|
472
483
|
</ul>
|
|
473
484
|
</aside>
|
|
474
485
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ToasterFn</span></h4>
|
|
@@ -556,6 +567,9 @@
|
|
|
556
567
|
<li class=" tsd-kind-variable">
|
|
557
568
|
<a href="modules.html#Icon" class="tsd-kind-icon">Icon</a>
|
|
558
569
|
</li>
|
|
570
|
+
<li class=" tsd-kind-variable">
|
|
571
|
+
<a href="modules.html#If" class="tsd-kind-icon">If</a>
|
|
572
|
+
</li>
|
|
559
573
|
<li class=" tsd-kind-variable">
|
|
560
574
|
<a href="modules.html#Input" class="tsd-kind-icon">Input</a>
|
|
561
575
|
</li>
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>Test | react-miui - v0.15.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.15.
|
|
6
|
+
<title>Test | react-miui - v0.15.7</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.15.7">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../../index.html" class="title">react-miui - v0.15.
|
|
26
|
+
<a href="../../index.html" class="title">react-miui - v0.15.7</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/form/Toggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAK3C,UAAU,KAAK;IACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACzB;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/form/Toggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAK3C,UAAU,KAAK;IACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACzB;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA4B3B,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -4,6 +4,9 @@ import classnames from "classnames";
|
|
|
4
4
|
const Toggle = (props) => {
|
|
5
5
|
const handleChange = useCallback((e) => {
|
|
6
6
|
if (props.value == null) {
|
|
7
|
+
if ("undeterminedClickValue" in props) {
|
|
8
|
+
props.onChange(props.undeterminedClickValue);
|
|
9
|
+
}
|
|
7
10
|
return;
|
|
8
11
|
}
|
|
9
12
|
props.onChange(e.target.checked);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.js","sourceRoot":"","sources":["../../../src/components/form/Toggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,UAAU,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"Toggle.js","sourceRoot":"","sources":["../../../src/components/form/Toggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,UAAU,MAAM,YAAY,CAAC;AASpC,MAAM,MAAM,GAAoB,CAAC,KAAK,EAAE,EAAE;IACtC,MAAM,YAAY,GAAG,WAAW,CAAC,CAAC,CAAgC,EAAE,EAAE;QAClE,IAAI,KAAK,CAAC,KAAK,IAAI,IAAI,EAAE;YACrB,IAAI,wBAAwB,IAAI,KAAK,EAAE;gBACnC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,sBAAuB,CAAC,CAAC;aACjD;YACD,OAAO;SACV;QACD,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IAElC,MAAM,GAAG,GAAG,UAAU,CAAC,MAAM,CAAC,SAAS,EAAE;QACrC,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ;KACpC,CAAC,CAAC;IAEH,OAAO,CACH,+BAAO,SAAS,EAAE,GAAG;QACjB,+BACI,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,uBACV,KAAK,CAAC,KAAK,IAAI,IAAI,EACtC,QAAQ,EAAE,KAAK,CAAC,KAAK,IAAI,IAAI,EAC7B,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,QAAQ,EAAE,YAAY,GACxB;QACF,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,CAC7B,CACX,CAAC;AACN,CAAC,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Choice.d.ts","sourceRoot":"","sources":["../../../../src/components/form/choice/Choice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAK9D,aAAK,OAAO,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Choice.d.ts","sourceRoot":"","sources":["../../../../src/components/form/choice/Choice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAK9D,aAAK,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAE/B,UAAU,KAAK,CAAC,CAAC,SAAS,MAAM;IAC5B,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,KAAK,IAAI,CAAC;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,EAAE,CAAC;CACjC;AAKD,QAAA,MAAM,MAAM,4EAuBX,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -9,7 +9,7 @@ const Choice = (props) => {
|
|
|
9
9
|
return (React.createElement(ChoiceItem, { key: opt.value, name: props.name, value: opt, onChange: props.onChange, active: props.value === opt.value }));
|
|
10
10
|
});
|
|
11
11
|
const v = makeVariants(props.variant);
|
|
12
|
-
const cls = classnames(styles.choice, props.className, { [styles.wide]: v.includes("wide") });
|
|
12
|
+
const cls = classnames(styles.choice, props.className, { [styles.wide]: v.includes("wide") }, { [styles.left]: v.includes("left") });
|
|
13
13
|
return React.createElement("div", { className: cls }, opts);
|
|
14
14
|
};
|
|
15
15
|
export { Choice };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Choice.js","sourceRoot":"","sources":["../../../../src/components/form/choice/Choice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AAGpC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,MAAM,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"Choice.js","sourceRoot":"","sources":["../../../../src/components/form/choice/Choice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AAGpC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAgB1C,MAAM,MAAM,GAAG,CAAmB,KAAe,EAAkC,EAAE;IACjF,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;QACnC,MAAM,GAAG,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;QAClC,OAAO,CACH,oBAAC,UAAU,IACP,GAAG,EAAE,GAAG,CAAC,KAAK,EACd,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,MAAM,EAAE,KAAK,CAAC,KAAK,KAAK,GAAG,CAAC,KAAK,GACnC,CACL,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,GAAG,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAEtC,MAAM,GAAG,GAAG,UAAU,CAClB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,EAC9B,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,EACrC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CACxC,CAAC;IAEF,OAAO,6BAAK,SAAS,EAAE,GAAG,IAAG,IAAI,CAAO,CAAC;AAC7C,CAAC,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|