react-miui 0.21.0 → 0.22.0
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 +12 -0
- package/dist/components/form/Select.d.ts +1 -5
- package/dist/components/form/Select.d.ts.map +1 -1
- package/dist/components/form/Select.js +2 -23
- package/dist/components/form/Select.js.map +1 -1
- package/dist/components/form/Select.stories.d.ts +8 -0
- package/dist/components/form/Select.stories.d.ts.map +1 -0
- package/dist/components/form/Select.stories.js +26 -0
- package/dist/components/form/Select.stories.js.map +1 -0
- package/dist/components/form/Select.styled.d.ts +82 -0
- package/dist/components/form/Select.styled.d.ts.map +1 -0
- package/dist/components/form/Select.styled.js +24 -0
- package/dist/components/form/Select.styled.js.map +1 -0
- package/dist/components/ui/button/Button.d.ts +1 -7
- package/dist/components/ui/button/Button.d.ts.map +1 -1
- package/dist/components/ui/button/Button.js +2 -28
- package/dist/components/ui/button/Button.js.map +1 -1
- package/dist/components/ui/button/Button.stories.d.ts +9 -0
- package/dist/components/ui/button/Button.stories.d.ts.map +1 -0
- package/dist/components/ui/button/Button.stories.js +62 -0
- package/dist/components/ui/button/Button.stories.js.map +1 -0
- package/dist/components/ui/button/Button.styled.d.ts +85 -0
- package/dist/components/ui/button/Button.styled.d.ts.map +1 -0
- package/dist/components/ui/button/Button.styled.js +38 -0
- package/dist/components/ui/button/Button.styled.js.map +1 -0
- package/dist/components/ui/modal/Modal.d.ts +6 -4
- package/dist/components/ui/modal/Modal.d.ts.map +1 -1
- package/dist/components/ui/modal/Modal.js +30 -21
- package/dist/components/ui/modal/Modal.js.map +1 -1
- package/dist/components/ui/modal/Modal.stories.d.ts +10 -0
- package/dist/components/ui/modal/Modal.stories.d.ts.map +1 -0
- package/dist/components/ui/modal/Modal.stories.js +112 -0
- package/dist/components/ui/modal/Modal.stories.js.map +1 -0
- package/dist/components/ui/modal/Modal.styled.d.ts +329 -0
- package/dist/components/ui/modal/Modal.styled.d.ts.map +1 -0
- package/dist/components/ui/modal/Modal.styled.js +90 -0
- package/dist/components/ui/modal/Modal.styled.js.map +1 -0
- package/dist/components/ui/modal/ModalButtons.d.ts +1 -11
- package/dist/components/ui/modal/ModalButtons.d.ts.map +1 -1
- package/dist/components/ui/modal/ModalButtons.js +2 -12
- package/dist/components/ui/modal/ModalButtons.js.map +1 -1
- package/dist/components/ui/modal/ModalButtons.stories.d.ts +8 -0
- package/dist/components/ui/modal/ModalButtons.stories.d.ts.map +1 -0
- package/dist/components/ui/modal/ModalButtons.stories.js +25 -0
- package/dist/components/ui/modal/ModalButtons.stories.js.map +1 -0
- package/dist/components/ui/modal/ModalButtons.styled.d.ts +166 -0
- package/dist/components/ui/modal/ModalButtons.styled.d.ts.map +1 -0
- package/dist/components/ui/modal/ModalButtons.styled.js +42 -0
- package/dist/components/ui/modal/ModalButtons.styled.js.map +1 -0
- package/dist/components/ui/pop/Pop.module.scss +1 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/Drawer.html +14 -15
- package/docs/classes/Pop.html +14 -15
- package/docs/classes/ToasterProvider.html +10 -11
- package/docs/enums/ICON.html +14 -15
- package/docs/functions/Action.html +5 -6
- package/docs/functions/Button.html +43 -11
- package/docs/functions/Card.html +5 -6
- package/docs/functions/Checkbox.html +5 -6
- package/docs/functions/Choice.html +6 -7
- package/docs/functions/CoveringLoader.html +5 -6
- package/docs/functions/DirectionPad.html +5 -6
- package/docs/functions/EqualActions.html +5 -6
- package/docs/functions/FullLoader.html +5 -6
- package/docs/functions/HandleEsc.html +5 -6
- package/docs/functions/Header.html +5 -6
- package/docs/functions/HeaderIconAction.html +5 -6
- package/docs/functions/Icon-1.html +5 -6
- package/docs/functions/If.html +5 -6
- package/docs/functions/Input.html +6 -7
- package/docs/functions/KeyValue.html +5 -6
- package/docs/functions/Label.html +5 -6
- package/docs/functions/List-1.html +5 -6
- package/docs/functions/Loader.html +5 -6
- package/docs/functions/Loading.html +5 -6
- package/docs/functions/Message.html +5 -6
- package/docs/functions/Modal-1.html +5 -6
- package/docs/functions/ModalButtons.html +135 -0
- package/docs/functions/PopLoader.html +5 -6
- package/docs/functions/PopOption.html +5 -6
- package/docs/functions/SearchContainer.html +5 -6
- package/docs/functions/Section.html +5 -6
- package/docs/functions/Select.html +39 -11
- package/docs/functions/Selector.html +6 -7
- package/docs/functions/Spacer.html +5 -6
- package/docs/functions/Stats.html +5 -6
- package/docs/functions/StickyHeader-1.html +5 -6
- package/docs/functions/StickyHeader.Content.html +5 -6
- package/docs/functions/Table.html +5 -6
- package/docs/functions/TextArea.html +5 -6
- package/docs/functions/Toggle.html +5 -6
- package/docs/functions/getCssText.html +5 -6
- package/docs/functions/styled.html +5 -6
- package/docs/functions/useToaster.html +6 -7
- package/docs/index.html +5 -6
- package/docs/modules/List.html +7 -8
- package/docs/modules/Modal.html +8 -9
- package/docs/modules/StickyHeader.html +6 -7
- package/docs/modules.html +6 -8
- package/docs/pages/tutorials/Test.html +5 -6
- package/docs/types/ThemeCSS.html +6 -7
- package/docs/variables/List.Header.html +5 -6
- package/docs/variables/List.Item.html +5 -6
- package/docs/variables/{ModalButtons.Button.html → Modal.RemovePadding.html} +11 -12
- package/docs/variables/cssReset.html +6 -7
- package/docs/variables/miuiScrollbars.html +6 -7
- package/esm/components/form/Select.d.ts +1 -5
- package/esm/components/form/Select.d.ts.map +1 -1
- package/esm/components/form/Select.js +1 -8
- package/esm/components/form/Select.js.map +1 -1
- package/esm/components/form/Select.stories.d.ts +8 -0
- package/esm/components/form/Select.stories.d.ts.map +1 -0
- package/esm/components/form/Select.stories.js +20 -0
- package/esm/components/form/Select.stories.js.map +1 -0
- package/esm/components/form/Select.styled.d.ts +82 -0
- package/esm/components/form/Select.styled.d.ts.map +1 -0
- package/esm/components/form/Select.styled.js +21 -0
- package/esm/components/form/Select.styled.js.map +1 -0
- package/esm/components/ui/button/Button.d.ts +1 -7
- package/esm/components/ui/button/Button.d.ts.map +1 -1
- package/esm/components/ui/button/Button.js +1 -13
- package/esm/components/ui/button/Button.js.map +1 -1
- package/esm/components/ui/button/Button.stories.d.ts +9 -0
- package/esm/components/ui/button/Button.stories.d.ts.map +1 -0
- package/esm/components/ui/button/Button.stories.js +35 -0
- package/esm/components/ui/button/Button.stories.js.map +1 -0
- package/esm/components/ui/button/Button.styled.d.ts +85 -0
- package/esm/components/ui/button/Button.styled.d.ts.map +1 -0
- package/esm/components/ui/button/Button.styled.js +35 -0
- package/esm/components/ui/button/Button.styled.js.map +1 -0
- package/esm/components/ui/modal/Modal.d.ts +6 -4
- package/esm/components/ui/modal/Modal.d.ts.map +1 -1
- package/esm/components/ui/modal/Modal.js +30 -18
- package/esm/components/ui/modal/Modal.js.map +1 -1
- package/esm/components/ui/modal/Modal.stories.d.ts +10 -0
- package/esm/components/ui/modal/Modal.stories.d.ts.map +1 -0
- package/esm/components/ui/modal/Modal.stories.js +84 -0
- package/esm/components/ui/modal/Modal.stories.js.map +1 -0
- package/esm/components/ui/modal/Modal.styled.d.ts +329 -0
- package/esm/components/ui/modal/Modal.styled.d.ts.map +1 -0
- package/esm/components/ui/modal/Modal.styled.js +83 -0
- package/esm/components/ui/modal/Modal.styled.js.map +1 -0
- package/esm/components/ui/modal/ModalButtons.d.ts +1 -11
- package/esm/components/ui/modal/ModalButtons.d.ts.map +1 -1
- package/esm/components/ui/modal/ModalButtons.js +1 -9
- package/esm/components/ui/modal/ModalButtons.js.map +1 -1
- package/esm/components/ui/modal/ModalButtons.stories.d.ts +8 -0
- package/esm/components/ui/modal/ModalButtons.stories.d.ts.map +1 -0
- package/esm/components/ui/modal/ModalButtons.stories.js +19 -0
- package/esm/components/ui/modal/ModalButtons.stories.js.map +1 -0
- package/esm/components/ui/modal/ModalButtons.styled.d.ts +166 -0
- package/esm/components/ui/modal/ModalButtons.styled.d.ts.map +1 -0
- package/esm/components/ui/modal/ModalButtons.styled.js +39 -0
- package/esm/components/ui/modal/ModalButtons.styled.js.map +1 -0
- package/esm/components/ui/pop/Pop.module.scss +1 -0
- package/package.json +2 -2
- package/src/components/form/Select.stories.tsx +30 -0
- package/src/components/form/Select.styled.ts +25 -0
- package/src/components/form/Select.tsx +1 -22
- package/src/components/ui/button/Button.stories.tsx +55 -0
- package/src/components/ui/button/Button.styled.ts +43 -0
- package/src/components/ui/button/Button.tsx +1 -35
- package/src/components/ui/modal/Modal.stories.tsx +143 -0
- package/src/components/ui/modal/Modal.styled.ts +100 -0
- package/src/components/ui/modal/Modal.tsx +49 -26
- package/src/components/ui/modal/ModalButtons.stories.tsx +40 -0
- package/src/components/ui/modal/ModalButtons.styled.ts +51 -0
- package/src/components/ui/modal/ModalButtons.tsx +1 -22
- package/src/components/ui/pop/Pop.module.scss +1 -0
- package/src/demo/componentsMap.ts +0 -25
- package/dist/components/form/Select.module.scss +0 -18
- package/dist/components/ui/button/Button.module.scss +0 -25
- package/dist/components/ui/modal/Modal.module.scss +0 -92
- package/dist/components/ui/modal/ModalButtons.module.scss +0 -32
- package/dist/components/ui/modal/ModalNoMargin.d.ts +0 -7
- package/dist/components/ui/modal/ModalNoMargin.d.ts.map +0 -1
- package/dist/components/ui/modal/ModalNoMargin.js +0 -22
- package/dist/components/ui/modal/ModalNoMargin.js.map +0 -1
- package/docs/functions/ModalButtons-1.html +0 -107
- package/docs/modules/ModalButtons.html +0 -59
- package/docs/variables/Modal.NegateMargin.html +0 -53
- package/esm/components/form/Select.module.scss +0 -18
- package/esm/components/ui/button/Button.module.scss +0 -25
- package/esm/components/ui/modal/Modal.module.scss +0 -92
- package/esm/components/ui/modal/ModalButtons.module.scss +0 -32
- package/esm/components/ui/modal/ModalNoMargin.d.ts +0 -7
- package/esm/components/ui/modal/ModalNoMargin.d.ts.map +0 -1
- package/esm/components/ui/modal/ModalNoMargin.js +0 -16
- package/esm/components/ui/modal/ModalNoMargin.js.map +0 -1
- package/src/components/form/Select.module.scss +0 -18
- package/src/components/ui/button/Button.module.scss +0 -25
- package/src/components/ui/modal/Modal.module.scss +0 -92
- package/src/components/ui/modal/ModalButtons.module.scss +0 -32
- package/src/components/ui/modal/ModalNoMargin.tsx +0 -25
- package/src/demo/components/form/Select.tsx +0 -26
- package/src/demo/components/ui/button/ButtonDemo.tsx +0 -23
- package/src/demo/components/ui/modal/Modal.tsx +0 -106
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NegateMargin | react-miui - v0.21.0</title><meta name="description" content="Documentation for react-miui - v0.21.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script><link rel="stylesheet" href="../assets/pages.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
-
<div class="tsd-toolbar-contents container">
|
|
3
|
-
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
-
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
-
<div class="field">
|
|
6
|
-
<div id="tsd-toolbar-links"></div></div>
|
|
7
|
-
<ul class="results">
|
|
8
|
-
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">react-miui - v0.21.0</a></div>
|
|
10
|
-
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
|
-
<div class="container container-main">
|
|
12
|
-
<div class="col-8 col-content">
|
|
13
|
-
<div class="tsd-page-title">
|
|
14
|
-
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">react-miui - v0.21.0</a></li>
|
|
16
|
-
<li><a href="../modules/Modal.html">Modal</a></li>
|
|
17
|
-
<li><a href="Modal.NegateMargin.html">NegateMargin</a></li></ul>
|
|
18
|
-
<h1>Variable NegateMargin</h1></div>
|
|
19
|
-
<div class="tsd-signature">Negate<wbr/>Margin<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
|
20
|
-
<ul>
|
|
21
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/15c76df/src/components/ui/modal/Modal.tsx#L147">src/components/ui/modal/Modal.tsx:147</a></li></ul></aside></div>
|
|
22
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
23
|
-
<div class="tsd-navigation settings">
|
|
24
|
-
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
25
|
-
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
|
26
|
-
<div class="tsd-accordion-details">
|
|
27
|
-
<div class="tsd-filter-visibility">
|
|
28
|
-
<h4 class="uppercase">Member Visibility</h4><form>
|
|
29
|
-
<ul id="tsd-filter-options">
|
|
30
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
31
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
|
32
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
33
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
|
34
|
-
<div class="tsd-theme-toggle">
|
|
35
|
-
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
36
|
-
<nav class="tsd-navigation primary">
|
|
37
|
-
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
|
38
|
-
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
39
|
-
<div class="tsd-accordion-details">
|
|
40
|
-
<ul>
|
|
41
|
-
<li class="current"><a href="../modules.html">react-<wbr/>miui -<wbr/> v0.21.0</a>
|
|
42
|
-
<ul>
|
|
43
|
-
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/tutorials/Test.html">Test</a></li>
|
|
44
|
-
<li class="tsd-kind-namespace"><a href="../modules/List.html">List</a></li>
|
|
45
|
-
<li class="current tsd-kind-namespace"><a href="../modules/Modal.html">Modal</a></li>
|
|
46
|
-
<li class="tsd-kind-namespace"><a href="../modules/ModalButtons.html">Modal<wbr/>Buttons</a></li>
|
|
47
|
-
<li class="tsd-kind-namespace"><a href="../modules/StickyHeader.html">Sticky<wbr/>Header</a></li></ul></li></ul></div></details></nav>
|
|
48
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
49
|
-
<ul>
|
|
50
|
-
<li class="current tsd-kind-variable tsd-parent-kind-namespace"><a href="Modal.NegateMargin.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg>Negate<wbr/>Margin</a></li></ul></nav></div></div>
|
|
51
|
-
<div class="container tsd-generator">
|
|
52
|
-
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
53
|
-
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
.select {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
height: calc(103px / var(--ratio-dimensions));
|
|
4
|
-
font-size: calc(34 / var(--ratio-font));
|
|
5
|
-
color: var(--text);
|
|
6
|
-
display: block;
|
|
7
|
-
width: 100%;
|
|
8
|
-
background: white;
|
|
9
|
-
font-family: inherit;
|
|
10
|
-
border-radius: 2px;
|
|
11
|
-
padding: 0 calc(36px / var(--ratio-dimensions));
|
|
12
|
-
border: calc(1px / var(--ratio-border)) solid var(--border);
|
|
13
|
-
|
|
14
|
-
&:disabled {
|
|
15
|
-
background: var(--input-disabled-bg);
|
|
16
|
-
color: var(--input-disabled-text);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
.btn {
|
|
2
|
-
height: calc(118px / var(--ratio-dimensions));
|
|
3
|
-
background: var(--green1);
|
|
4
|
-
border: calc(1px / var(--ratio-border)) solid var(--green1-darker);
|
|
5
|
-
color: white;
|
|
6
|
-
border-radius: 1000px;
|
|
7
|
-
display: block;
|
|
8
|
-
width: 100%;
|
|
9
|
-
font-size: calc(26px / var(--ratio-font));
|
|
10
|
-
padding: 0 1em;
|
|
11
|
-
|
|
12
|
-
&:disabled {
|
|
13
|
-
opacity: 0.5;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.btn--inline {
|
|
18
|
-
width: auto;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.btn--outline {
|
|
22
|
-
background: white;
|
|
23
|
-
border-color: var(--button-border);
|
|
24
|
-
color: var(--grey1);
|
|
25
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
@keyframes overlay {
|
|
2
|
-
from {
|
|
3
|
-
background: #00000000;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
to {
|
|
7
|
-
background: #0000004c;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.overlay {
|
|
12
|
-
position: fixed;
|
|
13
|
-
z-index: 4;
|
|
14
|
-
top: 0;
|
|
15
|
-
bottom: 0;
|
|
16
|
-
left: 0;
|
|
17
|
-
right: 0;
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
animation: overlay 300ms;
|
|
22
|
-
animation-fill-mode: forwards;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.overlayOnBottom {
|
|
26
|
-
align-items: flex-end;
|
|
27
|
-
padding-bottom: calc(24px / var(--ratio-dimensions));
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@keyframes container {
|
|
31
|
-
from {
|
|
32
|
-
transform: translateY(30px);
|
|
33
|
-
opacity: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
to {
|
|
37
|
-
transform: translateY(0);
|
|
38
|
-
opacity: 1;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.container {
|
|
43
|
-
background: var(--modal-bg);
|
|
44
|
-
border-radius: calc(12px / var(--ratio-dimensions));
|
|
45
|
-
max-width: 333px;
|
|
46
|
-
width: calc(100% - 30px);
|
|
47
|
-
padding: 20px;
|
|
48
|
-
position: relative;
|
|
49
|
-
box-sizing: border-box;
|
|
50
|
-
animation: container 300ms;
|
|
51
|
-
animation-fill-mode: forwards;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.full {
|
|
55
|
-
width: calc(100vw - 30px);
|
|
56
|
-
max-width: 1000px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.isClosing {
|
|
60
|
-
// keep this after .overlay .container to prevent overwriting
|
|
61
|
-
animation-direction: reverse;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.close {
|
|
65
|
-
position: absolute;
|
|
66
|
-
top: 20px;
|
|
67
|
-
right: 20px;
|
|
68
|
-
background: none;
|
|
69
|
-
border: none;
|
|
70
|
-
padding: 0;
|
|
71
|
-
margin: 0;
|
|
72
|
-
|
|
73
|
-
+ .title {
|
|
74
|
-
margin-right: 40px;
|
|
75
|
-
margin-top: -4px;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.title {
|
|
80
|
-
font-size: calc(40px / var(--ratio-font));
|
|
81
|
-
text-align: center;
|
|
82
|
-
color: black;
|
|
83
|
-
margin: calc(90px / var(--ratio-dimensions)) 0;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.negateMargin {
|
|
87
|
-
margin: 0 -20px -20px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.removeMargin {
|
|
91
|
-
margin: 0;
|
|
92
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
display: flex;
|
|
3
|
-
margin-top: calc(100px / var(--ratio-dimensions));
|
|
4
|
-
margin-left: -20px;
|
|
5
|
-
margin-right: -20px;
|
|
6
|
-
margin-bottom: -20px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.button {
|
|
10
|
-
border: none;
|
|
11
|
-
border-top: 1px solid var(--modal-button-border);
|
|
12
|
-
background: var(--modal-button-bg);
|
|
13
|
-
flex: 1;
|
|
14
|
-
height: calc(156px / var(--ratio-dimensions));
|
|
15
|
-
font-weight: 500;
|
|
16
|
-
|
|
17
|
-
&:not(:first-child) {
|
|
18
|
-
border-left: 1px solid var(--modal-button-border);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:first-child {
|
|
22
|
-
border-bottom-left-radius: calc(12px / var(--ratio-dimensions));
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&:last-child {
|
|
26
|
-
border-bottom-right-radius: calc(12px / var(--ratio-dimensions));
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.buttonMain {
|
|
31
|
-
color: var(--main-color);
|
|
32
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ModalNoMargin.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/modal/ModalNoMargin.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,KAAK;IACX,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAYtC,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { List } from "../../layout/list/List.js";
|
|
3
|
-
import styles from "./Modal.module.scss";
|
|
4
|
-
const ModalNegateMargin = (props) => {
|
|
5
|
-
const chld = React.Children.map(props.children, (child, index) => {
|
|
6
|
-
if (child && typeof child === "object" && "type" in child && child.type === List) {
|
|
7
|
-
return React.cloneElement(child, {
|
|
8
|
-
className: styles.removeMargin,
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
return child;
|
|
12
|
-
});
|
|
13
|
-
return React.createElement("div", { className: styles.negateMargin }, chld);
|
|
14
|
-
};
|
|
15
|
-
export { ModalNegateMargin };
|
|
16
|
-
//# sourceMappingURL=ModalNoMargin.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ModalNoMargin.js","sourceRoot":"","sources":["../../../../src/components/ui/modal/ModalNoMargin.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEjD,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAMzC,MAAM,iBAAiB,GAAoB,CAAC,KAAK,EAAE,EAAE;IACjD,MAAM,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;QAC7D,IAAI,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,IAAI,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,IAAI,EAAE;YAC9E,OAAO,KAAK,CAAC,YAAY,CAAC,KAAK,EAAE;gBAE7B,SAAS,EAAE,MAAM,CAAC,YAAY;aACjC,CAAC,CAAC;SACN;QAED,OAAO,KAAK,CAAC;IACjB,CAAC,CAAC,CAAC;IACH,OAAO,6BAAK,SAAS,EAAE,MAAM,CAAC,YAAY,IAAG,IAAI,CAAO,CAAC;AAC7D,CAAC,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
.select {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
height: calc(103px / var(--ratio-dimensions));
|
|
4
|
-
font-size: calc(34 / var(--ratio-font));
|
|
5
|
-
color: var(--text);
|
|
6
|
-
display: block;
|
|
7
|
-
width: 100%;
|
|
8
|
-
background: white;
|
|
9
|
-
font-family: inherit;
|
|
10
|
-
border-radius: 2px;
|
|
11
|
-
padding: 0 calc(36px / var(--ratio-dimensions));
|
|
12
|
-
border: calc(1px / var(--ratio-border)) solid var(--border);
|
|
13
|
-
|
|
14
|
-
&:disabled {
|
|
15
|
-
background: var(--input-disabled-bg);
|
|
16
|
-
color: var(--input-disabled-text);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
.btn {
|
|
2
|
-
height: calc(118px / var(--ratio-dimensions));
|
|
3
|
-
background: var(--green1);
|
|
4
|
-
border: calc(1px / var(--ratio-border)) solid var(--green1-darker);
|
|
5
|
-
color: white;
|
|
6
|
-
border-radius: 1000px;
|
|
7
|
-
display: block;
|
|
8
|
-
width: 100%;
|
|
9
|
-
font-size: calc(26px / var(--ratio-font));
|
|
10
|
-
padding: 0 1em;
|
|
11
|
-
|
|
12
|
-
&:disabled {
|
|
13
|
-
opacity: 0.5;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.btn--inline {
|
|
18
|
-
width: auto;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.btn--outline {
|
|
22
|
-
background: white;
|
|
23
|
-
border-color: var(--button-border);
|
|
24
|
-
color: var(--grey1);
|
|
25
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
@keyframes overlay {
|
|
2
|
-
from {
|
|
3
|
-
background: #00000000;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
to {
|
|
7
|
-
background: #0000004c;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.overlay {
|
|
12
|
-
position: fixed;
|
|
13
|
-
z-index: 4;
|
|
14
|
-
top: 0;
|
|
15
|
-
bottom: 0;
|
|
16
|
-
left: 0;
|
|
17
|
-
right: 0;
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
animation: overlay 300ms;
|
|
22
|
-
animation-fill-mode: forwards;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.overlayOnBottom {
|
|
26
|
-
align-items: flex-end;
|
|
27
|
-
padding-bottom: calc(24px / var(--ratio-dimensions));
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@keyframes container {
|
|
31
|
-
from {
|
|
32
|
-
transform: translateY(30px);
|
|
33
|
-
opacity: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
to {
|
|
37
|
-
transform: translateY(0);
|
|
38
|
-
opacity: 1;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.container {
|
|
43
|
-
background: var(--modal-bg);
|
|
44
|
-
border-radius: calc(12px / var(--ratio-dimensions));
|
|
45
|
-
max-width: 333px;
|
|
46
|
-
width: calc(100% - 30px);
|
|
47
|
-
padding: 20px;
|
|
48
|
-
position: relative;
|
|
49
|
-
box-sizing: border-box;
|
|
50
|
-
animation: container 300ms;
|
|
51
|
-
animation-fill-mode: forwards;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.full {
|
|
55
|
-
width: calc(100vw - 30px);
|
|
56
|
-
max-width: 1000px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.isClosing {
|
|
60
|
-
// keep this after .overlay .container to prevent overwriting
|
|
61
|
-
animation-direction: reverse;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.close {
|
|
65
|
-
position: absolute;
|
|
66
|
-
top: 20px;
|
|
67
|
-
right: 20px;
|
|
68
|
-
background: none;
|
|
69
|
-
border: none;
|
|
70
|
-
padding: 0;
|
|
71
|
-
margin: 0;
|
|
72
|
-
|
|
73
|
-
+ .title {
|
|
74
|
-
margin-right: 40px;
|
|
75
|
-
margin-top: -4px;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.title {
|
|
80
|
-
font-size: calc(40px / var(--ratio-font));
|
|
81
|
-
text-align: center;
|
|
82
|
-
color: black;
|
|
83
|
-
margin: calc(90px / var(--ratio-dimensions)) 0;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.negateMargin {
|
|
87
|
-
margin: 0 -20px -20px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.removeMargin {
|
|
91
|
-
margin: 0;
|
|
92
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
display: flex;
|
|
3
|
-
margin-top: calc(100px / var(--ratio-dimensions));
|
|
4
|
-
margin-left: -20px;
|
|
5
|
-
margin-right: -20px;
|
|
6
|
-
margin-bottom: -20px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.button {
|
|
10
|
-
border: none;
|
|
11
|
-
border-top: 1px solid var(--modal-button-border);
|
|
12
|
-
background: var(--modal-button-bg);
|
|
13
|
-
flex: 1;
|
|
14
|
-
height: calc(156px / var(--ratio-dimensions));
|
|
15
|
-
font-weight: 500;
|
|
16
|
-
|
|
17
|
-
&:not(:first-child) {
|
|
18
|
-
border-left: 1px solid var(--modal-button-border);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:first-child {
|
|
22
|
-
border-bottom-left-radius: calc(12px / var(--ratio-dimensions));
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&:last-child {
|
|
26
|
-
border-bottom-right-radius: calc(12px / var(--ratio-dimensions));
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.buttonMain {
|
|
31
|
-
color: var(--main-color);
|
|
32
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
import { List } from "../../layout/list/List.js";
|
|
4
|
-
|
|
5
|
-
import styles from "./Modal.module.scss";
|
|
6
|
-
|
|
7
|
-
interface Props {
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
const ModalNegateMargin: React.FC<Props> = (props) => {
|
|
12
|
-
const chld = React.Children.map(props.children, (child, index) => {
|
|
13
|
-
if (child && typeof child === "object" && "type" in child && child.type === List) {
|
|
14
|
-
return React.cloneElement(child, {
|
|
15
|
-
// @TODO this will overwrite className
|
|
16
|
-
className: styles.removeMargin,
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
return child;
|
|
21
|
-
});
|
|
22
|
-
return <div className={styles.negateMargin}>{chld}</div>;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export { ModalNegateMargin };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
import { Label, Select } from "../../../index.js";
|
|
4
|
-
|
|
5
|
-
const SelectDemo: React.FC = () => {
|
|
6
|
-
return (
|
|
7
|
-
<>
|
|
8
|
-
<Label label={"Normal select"}>
|
|
9
|
-
<Select>
|
|
10
|
-
<option>Cookie</option>
|
|
11
|
-
<option>Ice cream</option>
|
|
12
|
-
<option>Sweets</option>
|
|
13
|
-
</Select>
|
|
14
|
-
</Label>
|
|
15
|
-
<Label label={"Disabled"}>
|
|
16
|
-
<Select disabled={true}>
|
|
17
|
-
<option>Cookie</option>
|
|
18
|
-
<option>Ice cream</option>
|
|
19
|
-
<option>Sweets</option>
|
|
20
|
-
</Select>
|
|
21
|
-
</Label>
|
|
22
|
-
</>
|
|
23
|
-
);
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export { SelectDemo };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React, { useCallback } from "react";
|
|
2
|
-
|
|
3
|
-
import { Button } from "../../../../index.js";
|
|
4
|
-
|
|
5
|
-
const ButtonDemo = () => {
|
|
6
|
-
const handleClick = useCallback(() => {
|
|
7
|
-
alert("Clicked");
|
|
8
|
-
}, []);
|
|
9
|
-
|
|
10
|
-
return (
|
|
11
|
-
<div>
|
|
12
|
-
<Button onClick={handleClick}>Basic button</Button>
|
|
13
|
-
<br />
|
|
14
|
-
<Button disabled={true} onClick={handleClick}>Disabled button</Button>
|
|
15
|
-
<br />
|
|
16
|
-
<Button variant={"inline"} onClick={handleClick}>Inline button</Button>
|
|
17
|
-
<br />
|
|
18
|
-
<Button variant={"outline"} onClick={handleClick}>Outline button</Button>
|
|
19
|
-
</div>
|
|
20
|
-
);
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export { ButtonDemo };
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import React, { useCallback, useState } from "react";
|
|
2
|
-
|
|
3
|
-
import { Modal, Button, Input, Checkbox, Label, ModalButtons, List } from "../../../../index.js";
|
|
4
|
-
|
|
5
|
-
const Item = List.Item;
|
|
6
|
-
|
|
7
|
-
interface Props {}
|
|
8
|
-
|
|
9
|
-
const handleNoop = () => undefined;
|
|
10
|
-
|
|
11
|
-
const ModalDemo: React.FC<Props> = (props) => {
|
|
12
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
13
|
-
const [open, setIsOpen] = useState(false);
|
|
14
|
-
|
|
15
|
-
const handleClose = useCallback(() => {
|
|
16
|
-
setIsOpen(false);
|
|
17
|
-
}, []);
|
|
18
|
-
|
|
19
|
-
const handleOpen = useCallback(() => {
|
|
20
|
-
setIsOpen(true);
|
|
21
|
-
}, []);
|
|
22
|
-
|
|
23
|
-
return (
|
|
24
|
-
<div>
|
|
25
|
-
<Button onClick={handleOpen}>Open modal</Button>
|
|
26
|
-
<Modal onClose={handleClose} isOpen={open} title={"95.5 MHz"} variant={["bottom", "full"]}>
|
|
27
|
-
<Label>
|
|
28
|
-
<Input placeholder={"New station"} />
|
|
29
|
-
</Label>
|
|
30
|
-
<Label>
|
|
31
|
-
<Checkbox name={""} onChange={handleNoop} checked={true}>
|
|
32
|
-
Remember me
|
|
33
|
-
</Checkbox>
|
|
34
|
-
</Label>
|
|
35
|
-
<ModalButtons>
|
|
36
|
-
<ModalButtons.Button onClick={handleClose}>
|
|
37
|
-
Cancel
|
|
38
|
-
</ModalButtons.Button>
|
|
39
|
-
<ModalButtons.Button variant={"main"} onClick={handleClose}>
|
|
40
|
-
Ok
|
|
41
|
-
</ModalButtons.Button>
|
|
42
|
-
</ModalButtons>
|
|
43
|
-
</Modal>
|
|
44
|
-
</div>
|
|
45
|
-
);
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
const ModalCenteredDemo: React.FC<Props> = (props) => {
|
|
49
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
50
|
-
const [open, setIsOpen] = useState(false);
|
|
51
|
-
|
|
52
|
-
const handleClose = useCallback(() => {
|
|
53
|
-
setIsOpen(false);
|
|
54
|
-
}, []);
|
|
55
|
-
|
|
56
|
-
const handleOpen = useCallback(() => {
|
|
57
|
-
setIsOpen(true);
|
|
58
|
-
}, []);
|
|
59
|
-
|
|
60
|
-
return (
|
|
61
|
-
<div>
|
|
62
|
-
<Button onClick={handleOpen}>Open modal</Button>
|
|
63
|
-
<Modal onClose={handleClose} isOpen={open} title={"Format C:?"}>
|
|
64
|
-
<ModalButtons>
|
|
65
|
-
<ModalButtons.Button onClick={handleClose}>
|
|
66
|
-
Nope
|
|
67
|
-
</ModalButtons.Button>
|
|
68
|
-
<ModalButtons.Button variant={"main"} onClick={handleClose}>
|
|
69
|
-
Yes, please
|
|
70
|
-
</ModalButtons.Button>
|
|
71
|
-
</ModalButtons>
|
|
72
|
-
</Modal>
|
|
73
|
-
</div>
|
|
74
|
-
);
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
const ModalOptionsDemo: React.FC<Props> = (props) => {
|
|
78
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
79
|
-
const [open, setIsOpen] = useState(false);
|
|
80
|
-
|
|
81
|
-
const handleClose = useCallback(() => {
|
|
82
|
-
setIsOpen(false);
|
|
83
|
-
}, []);
|
|
84
|
-
|
|
85
|
-
const handleOpen = useCallback(() => {
|
|
86
|
-
setIsOpen(true);
|
|
87
|
-
}, []);
|
|
88
|
-
|
|
89
|
-
return (
|
|
90
|
-
<div>
|
|
91
|
-
<Button onClick={handleOpen}>Open modal</Button>
|
|
92
|
-
<Modal onClose={handleClose} isOpen={open} title={"Format C:?"}>
|
|
93
|
-
<Modal.NegateMargin>
|
|
94
|
-
<List inset={true}>
|
|
95
|
-
<Item selected={false} onClick={handleClose}>First item</Item>
|
|
96
|
-
<Item selected={true} onClick={handleClose}>Second item</Item>
|
|
97
|
-
<Item selected={false} onClick={handleClose}>Third item</Item>
|
|
98
|
-
<Item selected={false} onClick={handleClose}>Last option</Item>
|
|
99
|
-
</List>
|
|
100
|
-
</Modal.NegateMargin>
|
|
101
|
-
</Modal>
|
|
102
|
-
</div>
|
|
103
|
-
);
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
export { ModalDemo, ModalCenteredDemo, ModalOptionsDemo };
|