react-miui 0.9.4 → 0.11.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 +21 -0
- package/assets/checkmark.svg +1 -4
- package/assets/config.svg +1 -0
- package/assets/heart.svg +1 -0
- package/assets/sources/checkmark.fla +0 -0
- package/assets/sources/config.fla +0 -0
- package/assets/sources/heart.fla +0 -0
- package/assets/sources/trash.fla +0 -0
- package/assets/trash.svg +1 -0
- package/dist/components/form/Checkbox.d.ts +3 -3
- package/dist/components/form/Checkbox.d.ts.map +1 -1
- package/dist/components/icons/Back.js +1 -1
- package/dist/components/icons/Back.js.map +1 -1
- package/dist/components/icons/Battery.d.ts.map +1 -1
- package/dist/components/icons/Battery.js +1 -1
- package/dist/components/icons/Battery.js.map +1 -1
- package/dist/components/icons/Checkmark.d.ts.map +1 -1
- package/dist/components/icons/Checkmark.js +2 -2
- package/dist/components/icons/Checkmark.js.map +1 -1
- package/dist/components/icons/Config.d.ts +7 -0
- package/dist/components/icons/Config.d.ts.map +1 -0
- package/dist/components/icons/Config.js +13 -0
- package/dist/components/icons/Config.js.map +1 -0
- package/dist/components/icons/Forward.js +1 -1
- package/dist/components/icons/Forward.js.map +1 -1
- package/dist/components/icons/Heart.d.ts +7 -0
- package/dist/components/icons/Heart.d.ts.map +1 -0
- package/dist/components/icons/Heart.js +13 -0
- package/dist/components/icons/Heart.js.map +1 -0
- package/dist/components/icons/Icon.d.ts +4 -1
- package/dist/components/icons/Icon.d.ts.map +1 -1
- package/dist/components/icons/Icon.js +9 -0
- package/dist/components/icons/Icon.js.map +1 -1
- package/dist/components/icons/Search.js +1 -1
- package/dist/components/icons/Search.js.map +1 -1
- package/dist/components/icons/Trash.d.ts +7 -0
- package/dist/components/icons/Trash.d.ts.map +1 -0
- package/dist/components/icons/Trash.js +13 -0
- package/dist/components/icons/Trash.js.map +1 -0
- package/dist/components/ui/message/Message.d.ts +8 -0
- package/dist/components/ui/message/Message.d.ts.map +1 -0
- package/dist/components/ui/message/Message.js +20 -0
- package/dist/components/ui/message/Message.js.map +1 -0
- package/dist/components/ui/message/Message.module.scss +31 -0
- package/dist/components/ui/pop/HandleEsc.d.ts +7 -0
- package/dist/components/ui/pop/HandleEsc.d.ts.map +1 -0
- package/dist/components/ui/pop/HandleEsc.js +16 -0
- package/dist/components/ui/pop/HandleEsc.js.map +1 -0
- package/dist/components/ui/pop/OnButtonClick.d.ts +7 -0
- package/dist/components/ui/pop/OnButtonClick.d.ts.map +1 -0
- package/dist/components/ui/pop/OnButtonClick.js +44 -0
- package/dist/components/ui/pop/OnButtonClick.js.map +1 -0
- package/dist/components/ui/pop/Pop.d.ts +26 -0
- package/dist/components/ui/pop/Pop.d.ts.map +1 -0
- package/dist/components/ui/pop/Pop.js +130 -0
- package/dist/components/ui/pop/Pop.js.map +1 -0
- package/dist/components/ui/pop/Pop.module.scss +58 -0
- package/dist/components/ui/pop/PopOption.d.ts +10 -0
- package/dist/components/ui/pop/PopOption.d.ts.map +1 -0
- package/dist/components/ui/pop/PopOption.js +21 -0
- package/dist/components/ui/pop/PopOption.js.map +1 -0
- package/dist/global.scss +10 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/utils/useKeyPress.d.ts +3 -0
- package/dist/utils/useKeyPress.d.ts.map +1 -0
- package/dist/utils/useKeyPress.js +28 -0
- package/dist/utils/useKeyPress.js.map +1 -0
- package/docs/assets/js/search.js +1 -1
- package/docs/assets/js/search.json +1 -1
- package/docs/classes/Pop.html +1134 -0
- package/docs/classes/ToasterProvider.html +18 -8
- package/docs/enums/ICON.html +60 -8
- package/docs/index.html +14 -4
- package/docs/modules/Item.html +7 -3
- package/docs/modules/List.html +7 -3
- package/docs/modules/Modal.html +7 -3
- package/docs/modules/ModalButtons.html +7 -3
- package/docs/modules/Section.html +7 -3
- package/docs/modules/StickyHeader.html +8 -4
- package/docs/modules.html +49 -27
- package/docs/pages/Tutorials/Test.html +7 -3
- package/esm/components/form/Checkbox.d.ts +3 -3
- package/esm/components/form/Checkbox.d.ts.map +1 -1
- package/esm/components/icons/Back.js +1 -1
- package/esm/components/icons/Back.js.map +1 -1
- package/esm/components/icons/Battery.d.ts.map +1 -1
- package/esm/components/icons/Battery.js +1 -1
- package/esm/components/icons/Battery.js.map +1 -1
- package/esm/components/icons/Checkmark.d.ts.map +1 -1
- package/esm/components/icons/Checkmark.js +2 -2
- package/esm/components/icons/Checkmark.js.map +1 -1
- package/esm/components/icons/Config.d.ts +7 -0
- package/esm/components/icons/Config.d.ts.map +1 -0
- package/esm/components/icons/Config.js +7 -0
- package/esm/components/icons/Config.js.map +1 -0
- package/esm/components/icons/Forward.js +1 -1
- package/esm/components/icons/Forward.js.map +1 -1
- package/esm/components/icons/Heart.d.ts +7 -0
- package/esm/components/icons/Heart.d.ts.map +1 -0
- package/esm/components/icons/Heart.js +7 -0
- package/esm/components/icons/Heart.js.map +1 -0
- package/esm/components/icons/Icon.d.ts +4 -1
- package/esm/components/icons/Icon.d.ts.map +1 -1
- package/esm/components/icons/Icon.js +9 -0
- package/esm/components/icons/Icon.js.map +1 -1
- package/esm/components/icons/Search.js +1 -1
- package/esm/components/icons/Search.js.map +1 -1
- package/esm/components/icons/Trash.d.ts +7 -0
- package/esm/components/icons/Trash.d.ts.map +1 -0
- package/esm/components/icons/Trash.js +7 -0
- package/esm/components/icons/Trash.js.map +1 -0
- package/esm/components/ui/message/Message.d.ts +8 -0
- package/esm/components/ui/message/Message.d.ts.map +1 -0
- package/esm/components/ui/message/Message.js +14 -0
- package/esm/components/ui/message/Message.js.map +1 -0
- package/esm/components/ui/message/Message.module.scss +31 -0
- package/esm/components/ui/pop/HandleEsc.d.ts +7 -0
- package/esm/components/ui/pop/HandleEsc.d.ts.map +1 -0
- package/esm/components/ui/pop/HandleEsc.js +13 -0
- package/esm/components/ui/pop/HandleEsc.js.map +1 -0
- package/esm/components/ui/pop/OnButtonClick.d.ts +7 -0
- package/esm/components/ui/pop/OnButtonClick.d.ts.map +1 -0
- package/esm/components/ui/pop/OnButtonClick.js +22 -0
- package/esm/components/ui/pop/OnButtonClick.js.map +1 -0
- package/esm/components/ui/pop/Pop.d.ts +26 -0
- package/esm/components/ui/pop/Pop.d.ts.map +1 -0
- package/esm/components/ui/pop/Pop.js +105 -0
- package/esm/components/ui/pop/Pop.js.map +1 -0
- package/esm/components/ui/pop/Pop.module.scss +58 -0
- package/esm/components/ui/pop/PopOption.d.ts +10 -0
- package/esm/components/ui/pop/PopOption.d.ts.map +1 -0
- package/esm/components/ui/pop/PopOption.js +15 -0
- package/esm/components/ui/pop/PopOption.js.map +1 -0
- package/esm/global.scss +10 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +2 -0
- package/esm/index.js.map +1 -1
- package/esm/utils/useKeyPress.d.ts +3 -0
- package/esm/utils/useKeyPress.d.ts.map +1 -0
- package/esm/utils/useKeyPress.js +25 -0
- package/esm/utils/useKeyPress.js.map +1 -0
- package/next-env.d.ts +0 -1
- package/package.json +2 -2
- package/src/components/form/Checkbox.tsx +3 -3
- package/src/components/icons/Back.tsx +1 -1
- package/src/components/icons/Battery.tsx +3 -2
- package/src/components/icons/Checkmark.tsx +3 -6
- package/src/components/icons/Config.tsx +21 -0
- package/src/components/icons/Forward.tsx +1 -1
- package/src/components/icons/Heart.tsx +21 -0
- package/src/components/icons/Icon.tsx +9 -0
- package/src/components/icons/Search.tsx +1 -1
- package/src/components/icons/Trash.tsx +21 -0
- package/src/components/ui/message/Message.module.scss +31 -0
- package/src/components/ui/message/Message.tsx +21 -0
- package/src/components/ui/pop/HandleEsc.tsx +21 -0
- package/src/components/ui/pop/OnButtonClick.tsx +31 -0
- package/src/components/ui/pop/Pop.module.scss +58 -0
- package/src/components/ui/pop/Pop.tsx +153 -0
- package/src/components/ui/pop/PopOption.tsx +24 -0
- package/src/demo/components/ui/message/Message.tsx +27 -0
- package/src/demo/components/ui/pop/Pop.tsx +80 -0
- package/src/demo/componentsMap.ts +10 -0
- package/src/global.scss +10 -0
- package/src/index.ts +2 -0
- package/src/utils/useKeyPress.ts +32 -0
- package/ATTRIBUTION.md +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,27 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
6
6
|
## [UNRELEASED]
|
|
7
7
|
(nothing yet)
|
|
8
8
|
|
|
9
|
+
## [0.11.0] - 2022-02-18
|
|
10
|
+
### Added
|
|
11
|
+
- config, heart, trash icons
|
|
12
|
+
- `Pop` component
|
|
13
|
+
### Changed
|
|
14
|
+
- checkmark icon
|
|
15
|
+
### Dev
|
|
16
|
+
- next.js upgrade
|
|
17
|
+
|
|
18
|
+
## [0.10.1] - 2022-02-17
|
|
19
|
+
### Fixed
|
|
20
|
+
- added missing export for Message
|
|
21
|
+
|
|
22
|
+
## [0.10.0] - 2022-02-17
|
|
23
|
+
### Added
|
|
24
|
+
- `Message` component
|
|
25
|
+
|
|
26
|
+
## [0.9.5] - 2022-02-17
|
|
27
|
+
### Changed
|
|
28
|
+
- all checkbox props to optional
|
|
29
|
+
|
|
9
30
|
## [0.9.4] - 2022-02-17
|
|
10
31
|
### Fixed
|
|
11
32
|
- checkbox onChange typings
|
package/assets/checkmark.svg
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
|
2
|
-
<path
|
|
3
|
-
d="M20.687 38.332a5.308 5.308 0 01-7.505 0L1.554 26.704A5.306 5.306 0 119.059 19.2l6.928 6.927a1.344 1.344 0 001.896 0L36.642 7.368a5.308 5.308 0 017.505 7.504l-23.46 23.46z"/>
|
|
4
|
-
</svg>
|
|
1
|
+
<svg baseProfile="basic" width="26" height="18" xmlns="http://www.w3.org/2000/svg"><path d="M26 1.6q0-.7-.4-1.15Q25.15 0 24.55 0q-.65 0-1.1.45L9.5 14.35l-6.95-7Q2.1 6.9 1.5 6.9q-.65 0-1.05.45Q0 7.8 0 8.4q0 .7.45 1.15l8 8.05q.45.4 1.05.4.6 0 1.05-.4l15-14.95Q26 2.2 26 1.6"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg baseProfile="basic" width="90" height="90" xmlns="http://www.w3.org/2000/svg"><path d="M87.55 26.85 85.2 21.5l-5.25.6q-2.4.3-3.7.25-1.3-.05-2.35-.65-1-.6-2.5-1.95-1.55-1.3-2.25-2.3-.75-1-.95-2.5-.25-1.45-.25-4.25l-.1-6.15L56.65 0l-4.1 4.5q-1.7 1.8-2.85 2.75-1.25.95-2.35 1.3-1.15.3-2.7.3-1.5 0-2.6-.3-1.2-.35-2.35-1.25-1.2-.9-2.85-2.65L32.75.4 28 2.25q-2.05.8-3.65 1.65-1.6.75-2 1.15-.4.45-.6 2.15-.25 1.75-.1 4 .1 2.1-.05 3.45-.15 1.35-.65 2.4-.45 1-1.45 2.1-1 1.25-1.95 1.8-.9.6-2.4.8-1.45.2-4.15.25l-6.1.1L.1 33 4 36.9q1.55 1.6 2.8 3.4 1.2 1.8 1.5 2.9.5 2.7-.95 5.55Q6 51.55 3.1 53.8L0 56.35 4.9 67.7h4.85q6.5 0 9.4 3 2.95 2.95 2.5 9.1-.25 2.25.1 3.55.3 1.2 1.75 2.1 1.45.85 4.6 2l4.85 1.95 3.5-3.7q8.75-9.1 17.2.7l3 3.6 11.4-4.85-.3-4.2q-.45-6.55 2.7-9.85 3.15-3.35 9.9-3.2l5.35.2 4.1-11.4-3.7-3q-3.25-2.7-4.2-6.2-.95-3.5.35-6.85 1.3-3.25 4.85-5.35 1.2-.65 2-1.35.85-.65.9-.95-.05-.35-.75-2.1-.6-1.7-1.7-4.05m-28.25.8q2 1.5 3.5 3.55 1.45 2.05 2.75 4.9 1.95 4.4 1.9 8.95-.1 4.5-2.2 9.05-2 4.35-5 7.15-2.9 2.75-7.1 4.45-8.65 3.25-17.25-.8-2.9-1.3-4.9-2.8-2.05-1.55-3.5-3.6-1.45-2-2.75-4.9-1.9-4.2-1.9-8.75 0-4.5 1.9-8.75 1.3-2.85 2.75-4.9 1.45-2.05 3.5-3.55 2-1.55 4.9-2.85 4.65-2.3 9.25-2.3t9.25 2.3q2.9 1.3 4.9 2.85"/></svg>
|
package/assets/heart.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns:xlink="http://www.w3.org/1999/xlink" baseProfile="basic" width="55" height="46" xmlns="http://www.w3.org/2000/svg"><path d="M54 8.5q-1.1-2.35-2.15-3.35Q50.9 4.2 49.4 3 47.75 1.65 44.9.75h-.05q-2.7-.85-5.55-.7-.05 0-.1.05-2.9.35-5.3 1.7-.8.35-1.9 1.15l.05-.05q-1.15.7-2.1 1.55-.75.55-1.55 1-.45.2-.9.15-.15-.05-.25-.05-.35-.05-.75-.35-.1-.05-.15-.1-.7-.4-1.35-.95l-.05-.05q-.85-.75-1.75-1.25-2.15-1.6-4.65-2.25Q15.9-.1 13.2.05q-.05 0-.15.05Q9.9.6 7 2.4h-.05q-2.7 1.75-4.5 4.45v.05Q.7 9.6.15 12.85q-.05.05-.05.1-.4 3.3 1.1 6.75v.1q1.25 2.45 3.2 4.6 1.6 2.05 3.55 4l3.8 3.8q0 .05.05.05 1.9 1.8 3.7 3.65v.05q3.9 3.75 6.05 5.8l.05.05q2.25 2.25 3.1 2.75l-.05-.05 1 .75q.85.75 2.05.75.3 0 .55-.1 1-.4 2-1.3.75-.75 2.1-1.85h.05q1.35-1.25 3-2.75h.05q1.6-1.55 3.35-3.2 1.75-1.65 3.7-3.7v.05l4.1-4 .05-.05q2.15-2.2 4-4.55v-.05q1.9-2.55 3.1-5.1h-.05q1.3-2.7 1.3-5.65 0-3-1-5.25m-4.25-1.25q.75.8 1.5 2.5t.75 4q0 2.25-1 4.35v.05q-1.05 2.25-2.7 4.55h-.05Q46.5 24.9 44.5 27l-4.1 4q-1.95 1.9-3.65 3.6-1.75 1.6-3.35 3.2-.05 0-.05.05-1.6 1.45-2.9 2.6-1.45 1.2-2.25 1.95-.35.3-.7.55-.5-.45-1.25-.95-.7-.45-2.6-2.35-2.15-2.1-6.05-5.9-1.8-1.8-3.75-3.7v.05l-3.8-3.8h.05q-1.85-1.9-3.4-3.85-.05-.1-.1-.1-1.65-1.8-2.7-3.9-1.1-2.6-.8-5.1.4-2.65 1.85-4.8 1.5-2.2 3.65-3.65 2.3-1.4 4.8-1.85 2.2-.15 4.35.45h.05q2 .55 3.7 1.8l.1.1q.7.45 1.45 1.05.85.65 1.65 1.15 1.25.95 2.4.95 1.4.25 2.75-.5l-.05.05q1.05-.6 2.1-1.35 0-.05.05-.05.75-.7 1.7-1.25 0-.05.05-.05.85-.6 1.45-.85.05-.05.15-.1 1.95-1.1 4.3-1.4h-.1q2.25-.15 4.45.55 2.3.75 3.6 1.75 1.35 1.05 2.2 1.9"/></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/assets/trash.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg baseProfile="basic" width="41" height="37" xmlns="http://www.w3.org/2000/svg"><path d="M35.7 9.25h3.95q1.4-.4 1.35-1.6-.1-1.2-1.35-1.45H25.6V1.25Q25.6 0 24.4 0h-8.7q-1.1-.05-1.2 1.25V6.2H1.35Q-.1 6.6 0 7.75.1 9 1.35 9.25H5.4v26.5q.15 1.2 1.25 1.25H34.5q1.1-.1 1.2-1.25V9.25M22.6 6.2h-5.05V3.1h5.05v3.1M8.45 33.9V9.25H32.7V33.9H8.45"/></svg>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
interface Props {
|
|
3
3
|
color?: string;
|
|
4
|
-
name
|
|
5
|
-
onChange
|
|
6
|
-
checked
|
|
4
|
+
name?: string;
|
|
5
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
+
checked?: boolean;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
readOnly?: boolean;
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/form/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,KAAK;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/form/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,KAAK;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA6B7B,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.Back = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const Back = (props) => {
|
|
9
|
-
return (react_1.default.createElement("svg", { width: "
|
|
9
|
+
return (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 9 16", xmlns: "http://www.w3.org/2000/svg", className: props.className },
|
|
10
10
|
react_1.default.createElement("path", { fill: "currentColor", d: "M8.05.1L0 7.95l8.05 7.85v.05q.15.15.4.15t.4-.15q.15-.2.15-.4 0-.25-.15-.4V15H8.8L1.65 7.95l7.2-7Q9 .75 9 .55q0-.25-.2-.4Q8.65 0 8.4 0q-.2 0-.35.1" })));
|
|
11
11
|
};
|
|
12
12
|
exports.Back = Back;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Back.js","sourceRoot":"","sources":["../../../src/components/icons/Back.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAM1B,MAAM,IAAI,GAAoB,CAAC,KAAK,EAAE,EAAE;IACpC,OAAO,CACH,uCACI,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Back.js","sourceRoot":"","sources":["../../../src/components/icons/Back.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAM1B,MAAM,IAAI,GAAoB,CAAC,KAAK,EAAE,EAAE;IACpC,OAAO,CACH,uCACI,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,4BAA4B,EACnC,SAAS,EAAE,KAAK,CAAC,SAAS;QAE1B,wCAAM,IAAI,EAAE,cAAc,EAAE,CAAC,EAAE,mJAAmJ,GAAI,CACpL,CACT,CAAC;AACN,CAAC,CAAC;AAEO,oBAAI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Battery.d.ts","sourceRoot":"","sources":["../../../src/components/icons/Battery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,KAAK;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"Battery.d.ts","sourceRoot":"","sources":["../../../src/components/icons/Battery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,KAAK;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA0B5B,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.Battery = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const Battery = (props) => {
|
|
9
|
-
return (react_1.default.createElement("svg", { width: "
|
|
9
|
+
return (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 13 17", xmlns: "http://www.w3.org/2000/svg", className: props.className },
|
|
10
10
|
react_1.default.createElement("path", { fill: "none", stroke: "#000", strokeLinecap: "round", strokeLinejoin: "round", d: "M12.5 2.55q0-.6-.5-.55H9.25q-.65 0-.6-.7v-.2Q8.7.5 8.2.5H4.75q-.4 0-.4.4v.4q.05.75-.75.7H1.1q-.6-.05-.6.55V16q0 .5.6.5h11q.4 0 .4-.45V2.55" }),
|
|
11
11
|
react_1.default.createElement("path", { fill: "none", stroke: "#000", strokeLinecap: "round", strokeLinejoin: "round", d: "M8.9 8.6h-2V5.8l-3 4 1.95.05v2.75l3.05-4" })));
|
|
12
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Battery.js","sourceRoot":"","sources":["../../../src/components/icons/Battery.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAM1B,MAAM,OAAO,GAAoB,CAAC,KAAK,EAAE,EAAE;IACvC,OAAO,CACH,uCACI,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,KAAK,EAAE,4BAA4B,EACnC,SAAS,EAAE,KAAK,CAAC,SAAS;QAE1B,wCACI,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,OAAO,EACtB,cAAc,EAAE,OAAO,EACvB,CAAC,EAAE,4IAA4I,GACjJ;QACF,wCACI,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,OAAO,EACtB,cAAc,EAAE,OAAO,EACvB,CAAC,EAAE,0CAA0C,GAC/C,CACA,CAET,CAAC;AACN,CAAC,CAAC;AAEO,0BAAO"}
|
|
1
|
+
{"version":3,"file":"Battery.js","sourceRoot":"","sources":["../../../src/components/icons/Battery.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAM1B,MAAM,OAAO,GAAoB,CAAC,KAAK,EAAE,EAAE;IACvC,OAAO,CACH,uCACI,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,4BAA4B,EACnC,SAAS,EAAE,KAAK,CAAC,SAAS;QAE1B,wCACI,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,OAAO,EACtB,cAAc,EAAE,OAAO,EACvB,CAAC,EAAE,4IAA4I,GACjJ;QACF,wCACI,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,OAAO,EACtB,cAAc,EAAE,OAAO,EACvB,CAAC,EAAE,0CAA0C,GAC/C,CACA,CAET,CAAC;AACN,CAAC,CAAC;AAEO,0BAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkmark.d.ts","sourceRoot":"","sources":["../../../src/components/icons/Checkmark.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,KAAK;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"Checkmark.d.ts","sourceRoot":"","sources":["../../../src/components/icons/Checkmark.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,KAAK;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAY9B,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.Checkmark = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const Checkmark = (props) => {
|
|
9
|
-
return (react_1.default.createElement("svg", {
|
|
10
|
-
react_1.default.createElement("path", { d: "
|
|
9
|
+
return (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 26 18", xmlns: "http://www.w3.org/2000/svg", className: props.className },
|
|
10
|
+
react_1.default.createElement("path", { d: "M26 1.6q0-.7-.4-1.15Q25.15 0 24.55 0q-.65 0-1.1.45L9.5 14.35l-6.95-7Q2.1 6.9 1.5 6.9q-.65 0-1.05.45Q0 7.8 0 8.4q0 .7.45 1.15l8 8.05q.45.4 1.05.4.6 0 1.05-.4l15-14.95Q26 2.2 26 1.6" })));
|
|
11
11
|
};
|
|
12
12
|
exports.Checkmark = Checkmark;
|
|
13
13
|
//# sourceMappingURL=Checkmark.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkmark.js","sourceRoot":"","sources":["../../../src/components/icons/Checkmark.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAM1B,MAAM,SAAS,GAAoB,CAAC,KAAK,EAAE,EAAE;IACzC,OAAO,CACH,uCACI,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Checkmark.js","sourceRoot":"","sources":["../../../src/components/icons/Checkmark.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAM1B,MAAM,SAAS,GAAoB,CAAC,KAAK,EAAE,EAAE;IACzC,OAAO,CACH,uCACI,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,4BAA4B,EACnC,SAAS,EAAE,KAAK,CAAC,SAAS;QAE1B,wCAAM,CAAC,EAAE,qLAAqL,GAAI,CAChM,CACT,CAAC;AACN,CAAC,CAAC;AAEO,8BAAS"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/components/icons/Config.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,KAAK;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAY3B,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Config = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const Config = (props) => {
|
|
9
|
+
return (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 90 90", xmlns: "http://www.w3.org/2000/svg", className: props.className },
|
|
10
|
+
react_1.default.createElement("path", { d: "M87.55 26.85 85.2 21.5l-5.25.6q-2.4.3-3.7.25-1.3-.05-2.35-.65-1-.6-2.5-1.95-1.55-1.3-2.25-2.3-.75-1-.95-2.5-.25-1.45-.25-4.25l-.1-6.15L56.65 0l-4.1 4.5q-1.7 1.8-2.85 2.75-1.25.95-2.35 1.3-1.15.3-2.7.3-1.5 0-2.6-.3-1.2-.35-2.35-1.25-1.2-.9-2.85-2.65L32.75.4 28 2.25q-2.05.8-3.65 1.65-1.6.75-2 1.15-.4.45-.6 2.15-.25 1.75-.1 4 .1 2.1-.05 3.45-.15 1.35-.65 2.4-.45 1-1.45 2.1-1 1.25-1.95 1.8-.9.6-2.4.8-1.45.2-4.15.25l-6.1.1L.1 33 4 36.9q1.55 1.6 2.8 3.4 1.2 1.8 1.5 2.9.5 2.7-.95 5.55Q6 51.55 3.1 53.8L0 56.35 4.9 67.7h4.85q6.5 0 9.4 3 2.95 2.95 2.5 9.1-.25 2.25.1 3.55.3 1.2 1.75 2.1 1.45.85 4.6 2l4.85 1.95 3.5-3.7q8.75-9.1 17.2.7l3 3.6 11.4-4.85-.3-4.2q-.45-6.55 2.7-9.85 3.15-3.35 9.9-3.2l5.35.2 4.1-11.4-3.7-3q-3.25-2.7-4.2-6.2-.95-3.5.35-6.85 1.3-3.25 4.85-5.35 1.2-.65 2-1.35.85-.65.9-.95-.05-.35-.75-2.1-.6-1.7-1.7-4.05m-28.25.8q2 1.5 3.5 3.55 1.45 2.05 2.75 4.9 1.95 4.4 1.9 8.95-.1 4.5-2.2 9.05-2 4.35-5 7.15-2.9 2.75-7.1 4.45-8.65 3.25-17.25-.8-2.9-1.3-4.9-2.8-2.05-1.55-3.5-3.6-1.45-2-2.75-4.9-1.9-4.2-1.9-8.75 0-4.5 1.9-8.75 1.3-2.85 2.75-4.9 1.45-2.05 3.5-3.55 2-1.55 4.9-2.85 4.65-2.3 9.25-2.3t9.25 2.3q2.9 1.3 4.9 2.85" })));
|
|
11
|
+
};
|
|
12
|
+
exports.Config = Config;
|
|
13
|
+
//# sourceMappingURL=Config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.js","sourceRoot":"","sources":["../../../src/components/icons/Config.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAM1B,MAAM,MAAM,GAAoB,CAAC,KAAK,EAAE,EAAE;IACtC,OAAO,CACH,uCACI,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,4BAA4B,EACnC,SAAS,EAAE,KAAK,CAAC,SAAS;QAE1B,wCAAM,CAAC,EAAE,8mCAA8mC,GAAI,CACznC,CACT,CAAC;AACN,CAAC,CAAC;AAEO,wBAAM"}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.Forward = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const Forward = (props) => {
|
|
9
|
-
return (react_1.default.createElement("svg", { width: "
|
|
9
|
+
return (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 9 16", xmlns: "http://www.w3.org/2000/svg", className: props.className },
|
|
10
10
|
react_1.default.createElement("path", { fill: "currentColor", d: "M.95.15Q.8 0 .55 0t-.4.15Q0 .3 0 .55t.15.4L7.35 8l-7.2 7.05Q0 15.2 0 15.4q0 .25.2.4.15.2.4.2.2 0 .35-.15L9 8 1 .2Q1 .15.95.15" })));
|
|
11
11
|
};
|
|
12
12
|
exports.Forward = Forward;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Forward.js","sourceRoot":"","sources":["../../../src/components/icons/Forward.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAM1B,MAAM,OAAO,GAAoB,CAAC,KAAK,EAAE,EAAE;IACvC,OAAO,CACH,uCACI,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Forward.js","sourceRoot":"","sources":["../../../src/components/icons/Forward.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAM1B,MAAM,OAAO,GAAoB,CAAC,KAAK,EAAE,EAAE;IACvC,OAAO,CACH,uCACI,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,4BAA4B,EACnC,SAAS,EAAE,KAAK,CAAC,SAAS;QAE1B,wCAAM,IAAI,EAAE,cAAc,EAAE,CAAC,EAAE,+HAA+H,GAAI,CAChK,CACT,CAAC;AACN,CAAC,CAAC;AAEO,0BAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Heart.d.ts","sourceRoot":"","sources":["../../../src/components/icons/Heart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,KAAK;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAY1B,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Heart = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const Heart = (props) => {
|
|
9
|
+
return (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 55 46", xmlns: "http://www.w3.org/2000/svg", className: props.className },
|
|
10
|
+
react_1.default.createElement("path", { d: "M54 8.5q-1.1-2.35-2.15-3.35Q50.9 4.2 49.4 3 47.75 1.65 44.9.75h-.05q-2.7-.85-5.55-.7-.05 0-.1.05-2.9.35-5.3 1.7-.8.35-1.9 1.15l.05-.05q-1.15.7-2.1 1.55-.75.55-1.55 1-.45.2-.9.15-.15-.05-.25-.05-.35-.05-.75-.35-.1-.05-.15-.1-.7-.4-1.35-.95l-.05-.05q-.85-.75-1.75-1.25-2.15-1.6-4.65-2.25Q15.9-.1 13.2.05q-.05 0-.15.05Q9.9.6 7 2.4h-.05q-2.7 1.75-4.5 4.45v.05Q.7 9.6.15 12.85q-.05.05-.05.1-.4 3.3 1.1 6.75v.1q1.25 2.45 3.2 4.6 1.6 2.05 3.55 4l3.8 3.8q0 .05.05.05 1.9 1.8 3.7 3.65v.05q3.9 3.75 6.05 5.8l.05.05q2.25 2.25 3.1 2.75l-.05-.05 1 .75q.85.75 2.05.75.3 0 .55-.1 1-.4 2-1.3.75-.75 2.1-1.85h.05q1.35-1.25 3-2.75h.05q1.6-1.55 3.35-3.2 1.75-1.65 3.7-3.7v.05l4.1-4 .05-.05q2.15-2.2 4-4.55v-.05q1.9-2.55 3.1-5.1h-.05q1.3-2.7 1.3-5.65 0-3-1-5.25m-4.25-1.25q.75.8 1.5 2.5t.75 4q0 2.25-1 4.35v.05q-1.05 2.25-2.7 4.55h-.05Q46.5 24.9 44.5 27l-4.1 4q-1.95 1.9-3.65 3.6-1.75 1.6-3.35 3.2-.05 0-.05.05-1.6 1.45-2.9 2.6-1.45 1.2-2.25 1.95-.35.3-.7.55-.5-.45-1.25-.95-.7-.45-2.6-2.35-2.15-2.1-6.05-5.9-1.8-1.8-3.75-3.7v.05l-3.8-3.8h.05q-1.85-1.9-3.4-3.85-.05-.1-.1-.1-1.65-1.8-2.7-3.9-1.1-2.6-.8-5.1.4-2.65 1.85-4.8 1.5-2.2 3.65-3.65 2.3-1.4 4.8-1.85 2.2-.15 4.35.45h.05q2 .55 3.7 1.8l.1.1q.7.45 1.45 1.05.85.65 1.65 1.15 1.25.95 2.4.95 1.4.25 2.75-.5l-.05.05q1.05-.6 2.1-1.35 0-.05.05-.05.75-.7 1.7-1.25 0-.05.05-.05.85-.6 1.45-.85.05-.05.15-.1 1.95-1.1 4.3-1.4h-.1q2.25-.15 4.45.55 2.3.75 3.6 1.75 1.35 1.05 2.2 1.9" })));
|
|
11
|
+
};
|
|
12
|
+
exports.Heart = Heart;
|
|
13
|
+
//# sourceMappingURL=Heart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Heart.js","sourceRoot":"","sources":["../../../src/components/icons/Heart.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAM1B,MAAM,KAAK,GAAoB,CAAC,KAAK,EAAE,EAAE;IACrC,OAAO,CACH,uCACI,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,4BAA4B,EACnC,SAAS,EAAE,KAAK,CAAC,SAAS;QAE1B,wCAAM,CAAC,EAAE,83CAA83C,GAAI,CACz4C,CACT,CAAC;AACN,CAAC,CAAC;AAEO,sBAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,aAAK,IAAI;IACL,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,MAAM,WAAW;CACpB;AAED,UAAU,KAAK;IACX,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAaD,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAMzB,CAAC;AAEF,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -21,6 +21,9 @@ const Back_js_1 = require("./Back.js");
|
|
|
21
21
|
const Forward_js_1 = require("./Forward.js");
|
|
22
22
|
const Search_js_1 = require("./Search.js");
|
|
23
23
|
const Battery_js_1 = require("./Battery.js");
|
|
24
|
+
const Heart_js_1 = require("./Heart.js");
|
|
25
|
+
const Trash_js_1 = require("./Trash.js");
|
|
26
|
+
const Config_js_1 = require("./Config.js");
|
|
24
27
|
var ICON;
|
|
25
28
|
(function (ICON) {
|
|
26
29
|
ICON["checkmark"] = "checkmark";
|
|
@@ -28,6 +31,9 @@ var ICON;
|
|
|
28
31
|
ICON["forward"] = "forward";
|
|
29
32
|
ICON["search"] = "search";
|
|
30
33
|
ICON["battery"] = "battery";
|
|
34
|
+
ICON["heart"] = "heart";
|
|
35
|
+
ICON["trash"] = "trash";
|
|
36
|
+
ICON["config"] = "config";
|
|
31
37
|
})(ICON || (ICON = {}));
|
|
32
38
|
exports.ICON = ICON;
|
|
33
39
|
const iconsMap = new Map([
|
|
@@ -36,6 +42,9 @@ const iconsMap = new Map([
|
|
|
36
42
|
[ICON.forward, Forward_js_1.Forward],
|
|
37
43
|
[ICON.search, Search_js_1.Search],
|
|
38
44
|
[ICON.battery, Battery_js_1.Battery],
|
|
45
|
+
[ICON.heart, Heart_js_1.Heart],
|
|
46
|
+
[ICON.trash, Trash_js_1.Trash],
|
|
47
|
+
[ICON.config, Config_js_1.Config],
|
|
39
48
|
]);
|
|
40
49
|
const Icon = (_a) => {
|
|
41
50
|
var { name: iconName } = _a, props = __rest(_a, ["name"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../src/components/icons/Icon.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAG1B,iDAA2C;AAC3C,uCAAiC;AACjC,6CAAuC;AACvC,2CAAqC;AACrC,6CAAuC;
|
|
1
|
+
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../src/components/icons/Icon.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAG1B,iDAA2C;AAC3C,uCAAiC;AACjC,6CAAuC;AACvC,2CAAqC;AACrC,6CAAuC;AACvC,yCAAmC;AACnC,yCAAmC;AACnC,2CAAqC;AAErC,IAAK,IASJ;AATD,WAAK,IAAI;IACL,+BAAuB,CAAA;IACvB,qBAAa,CAAA;IACb,2BAAmB,CAAA;IACnB,yBAAiB,CAAA;IACjB,2BAAmB,CAAA;IACnB,uBAAe,CAAA;IACf,uBAAe,CAAA;IACf,yBAAiB,CAAA;AACrB,CAAC,EATI,IAAI,KAAJ,IAAI,QASR;AA0Bc,oBAAI;AAnBnB,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAqB;IACzC,CAAC,IAAI,CAAC,SAAS,EAAE,wBAAS,CAAC;IAC3B,CAAC,IAAI,CAAC,IAAI,EAAE,cAAI,CAAC;IACjB,CAAC,IAAI,CAAC,OAAO,EAAE,oBAAO,CAAC;IACvB,CAAC,IAAI,CAAC,MAAM,EAAE,kBAAM,CAAC;IACrB,CAAC,IAAI,CAAC,OAAO,EAAE,oBAAO,CAAC;IACvB,CAAC,IAAI,CAAC,KAAK,EAAE,gBAAK,CAAC;IACnB,CAAC,IAAI,CAAC,KAAK,EAAE,gBAAK,CAAC;IACnB,CAAC,IAAI,CAAC,MAAM,EAAE,kBAAM,CAAC;CACxB,CAAC,CAAC;AAEH,MAAM,IAAI,GAAoB,CAAC,EAA4B,EAAE,EAAE;QAAhC,EAAE,IAAI,EAAE,QAAQ,OAAY,EAAP,KAAK,cAA1B,QAA4B,CAAF;IACrD,MAAM,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACjC,IAAI,CAAC,CAAC,EAAE;QACJ,MAAM,IAAI,SAAS,CAAC,gBAAgB,GAAG,QAAQ,CAAC,CAAC;KACpD;IACD,OAAO,8BAAC,CAAC,oBAAK,KAAK,EAAI,CAAC;AAC5B,CAAC,CAAC;AAEO,oBAAI"}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.Search = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const Search = (props) => {
|
|
9
|
-
return (react_1.default.createElement("svg", {
|
|
9
|
+
return (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", className: props.className },
|
|
10
10
|
react_1.default.createElement("path", { fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", d: "M11.95 6.6q0 2.1-1.5 3.6m0-7.2q1.5 1.55 1.5 3.6M6.9 1.5q2.05 0 3.55 1.5m-7.2 0q1.5-1.5 3.65-1.5M1.75 6.6q0-2.05 1.5-3.6m0 7.2q-1.5-1.5-1.5-3.6m5.15 5.1q-2.15 0-3.65-1.5m6.95.2q-1.4 1.3-3.3 1.3m3.3-1.3l4.1 4.1m-3.85-4.3q-.1.1-.25.2" })));
|
|
11
11
|
};
|
|
12
12
|
exports.Search = Search;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Search.js","sourceRoot":"","sources":["../../../src/components/icons/Search.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAM1B,MAAM,MAAM,GAAoB,CAAC,KAAK,EAAE,EAAE;IACtC,OAAO,CACH,uCACI,
|
|
1
|
+
{"version":3,"file":"Search.js","sourceRoot":"","sources":["../../../src/components/icons/Search.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAM1B,MAAM,MAAM,GAAoB,CAAC,KAAK,EAAE,EAAE;IACtC,OAAO,CACH,uCACI,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,4BAA4B,EACnC,SAAS,EAAE,KAAK,CAAC,SAAS;QAE1B,wCACI,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,cAAc,EACtB,WAAW,EAAE,GAAG,EAChB,aAAa,EAAE,OAAO,EACtB,cAAc,EAAE,OAAO,EACvB,CAAC,EAAE,wOAAwO,GAC7O,CACA,CAET,CAAC;AACN,CAAC,CAAC;AAEO,wBAAM"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Trash.d.ts","sourceRoot":"","sources":["../../../src/components/icons/Trash.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,KAAK;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAY1B,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Trash = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const Trash = (props) => {
|
|
9
|
+
return (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 41 37", xmlns: "http://www.w3.org/2000/svg", className: props.className },
|
|
10
|
+
react_1.default.createElement("path", { d: "M35.7 9.25h3.95q1.4-.4 1.35-1.6-.1-1.2-1.35-1.45H25.6V1.25Q25.6 0 24.4 0h-8.7q-1.1-.05-1.2 1.25V6.2H1.35Q-.1 6.6 0 7.75.1 9 1.35 9.25H5.4v26.5q.15 1.2 1.25 1.25H34.5q1.1-.1 1.2-1.25V9.25M22.6 6.2h-5.05V3.1h5.05v3.1M8.45 33.9V9.25H32.7V33.9H8.45" })));
|
|
11
|
+
};
|
|
12
|
+
exports.Trash = Trash;
|
|
13
|
+
//# sourceMappingURL=Trash.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Trash.js","sourceRoot":"","sources":["../../../src/components/icons/Trash.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAM1B,MAAM,KAAK,GAAoB,CAAC,KAAK,EAAE,EAAE;IACrC,OAAO,CACH,uCACI,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,4BAA4B,EACnC,SAAS,EAAE,KAAK,CAAC,SAAS;QAE1B,wCAAM,CAAC,EAAE,sPAAsP,GAAI,CACjQ,CACT,CAAC;AACN,CAAC,CAAC;AAEO,sBAAK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,KAAK;IACX,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;IAC3C,OAAO,CAAC,EAAE,KAAK,CAAC;CACnB;AAED,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAQ5B,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Message = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
9
|
+
const Message_module_scss_1 = __importDefault(require("./Message.module.scss"));
|
|
10
|
+
const Message = (props) => {
|
|
11
|
+
const cls = classnames_1.default(Message_module_scss_1.default.container, {
|
|
12
|
+
[Message_module_scss_1.default.box]: props.variant === "box",
|
|
13
|
+
[Message_module_scss_1.default.warning]: props.type === "warning",
|
|
14
|
+
[Message_module_scss_1.default.error]: props.type === "error",
|
|
15
|
+
[Message_module_scss_1.default.info]: props.type === "info",
|
|
16
|
+
});
|
|
17
|
+
return react_1.default.createElement("div", { className: cls }, props.children);
|
|
18
|
+
};
|
|
19
|
+
exports.Message = Message;
|
|
20
|
+
//# sourceMappingURL=Message.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Message.js","sourceRoot":"","sources":["../../../../src/components/ui/message/Message.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAAoC;AAEpC,gFAA2C;AAO3C,MAAM,OAAO,GAAoB,CAAC,KAAK,EAAE,EAAE;IACvC,MAAM,GAAG,GAAG,oBAAU,CAAC,6BAAM,CAAC,SAAS,EAAE;QACrC,CAAC,6BAAM,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,OAAO,KAAK,KAAK;QACrC,CAAC,6BAAM,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,IAAI,KAAK,SAAS;QAC1C,CAAC,6BAAM,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,IAAI,KAAK,OAAO;QACtC,CAAC,6BAAM,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,IAAI,KAAK,MAAM;KACvC,CAAC,CAAC;IACH,OAAO,uCAAK,SAAS,EAAE,GAAG,IAAG,KAAK,CAAC,QAAQ,CAAO,CAAC;AACvD,CAAC,CAAC;AAEO,0BAAO"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
border-top: 1px solid var(--border);
|
|
3
|
+
border-bottom: 1px solid var(--border);
|
|
4
|
+
padding: calc(47px / var(--ratio-dimensions)) calc(83px / var(--ratio-dimensions));
|
|
5
|
+
font-weight: 500;
|
|
6
|
+
line-height: 1.25;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.box {
|
|
10
|
+
border-left: 1px solid var(--border);
|
|
11
|
+
border-right: 1px solid var(--border);
|
|
12
|
+
margin: 12px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.warning {
|
|
16
|
+
background-color: var(--yellow3);
|
|
17
|
+
border-color: var(--yellow1);
|
|
18
|
+
color: var(--yellow2);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.error {
|
|
22
|
+
background-color: var(--pinky3);
|
|
23
|
+
border-color: var(--pinky1);
|
|
24
|
+
color: var(--pinky2);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.info {
|
|
28
|
+
background-color: var(--blue3);
|
|
29
|
+
border-color: var(--blue2);
|
|
30
|
+
color: var(--blue1);
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HandleEsc.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/pop/HandleEsc.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,UAAU,KAAK;IACX,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAU9B,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HandleEsc = void 0;
|
|
4
|
+
const react_use_1 = require("react-use");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const HandleEsc = (props) => {
|
|
7
|
+
const [pressed] = react_use_1.useKeyPress("Escape");
|
|
8
|
+
react_1.useEffect(() => {
|
|
9
|
+
if (pressed) {
|
|
10
|
+
props.onPress();
|
|
11
|
+
}
|
|
12
|
+
}, [pressed]);
|
|
13
|
+
return null;
|
|
14
|
+
};
|
|
15
|
+
exports.HandleEsc = HandleEsc;
|
|
16
|
+
//# sourceMappingURL=HandleEsc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HandleEsc.js","sourceRoot":"","sources":["../../../../src/components/ui/pop/HandleEsc.tsx"],"names":[],"mappings":";;;AACA,yCAAwC;AACxC,iCAAkC;AAMlC,MAAM,SAAS,GAAoB,CAAC,KAAK,EAAE,EAAE;IACzC,MAAM,CAAC,OAAO,CAAC,GAAG,uBAAW,CAAC,QAAQ,CAAC,CAAC;IAExC,iBAAS,CAAC,GAAG,EAAE;QACX,IAAI,OAAO,EAAE;YACT,KAAK,CAAC,OAAO,EAAE,CAAC;SACnB;IACL,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AAEO,8BAAS"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OnButtonClick.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/pop/OnButtonClick.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,UAAU,KAAK;IACX,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAsBlC,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
14
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
+
if (mod && mod.__esModule) return mod;
|
|
16
|
+
var result = {};
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.OnButtonClick = void 0;
|
|
23
|
+
const react_1 = __importStar(require("react"));
|
|
24
|
+
const OnButtonClick = (props) => {
|
|
25
|
+
const theRef = react_1.useRef(null);
|
|
26
|
+
react_1.useEffect(() => {
|
|
27
|
+
const div = theRef.current;
|
|
28
|
+
if (!div) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const cb = (e) => {
|
|
32
|
+
if (e.target.nodeName.toLowerCase() === "button") {
|
|
33
|
+
setTimeout(() => {
|
|
34
|
+
props.onClick();
|
|
35
|
+
}, 0);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
div.addEventListener("click", cb);
|
|
39
|
+
return () => { div.removeEventListener("click", cb); };
|
|
40
|
+
}, [theRef]);
|
|
41
|
+
return react_1.default.createElement("div", { ref: theRef }, props.children);
|
|
42
|
+
};
|
|
43
|
+
exports.OnButtonClick = OnButtonClick;
|
|
44
|
+
//# sourceMappingURL=OnButtonClick.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OnButtonClick.js","sourceRoot":"","sources":["../../../../src/components/ui/pop/OnButtonClick.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiD;AAMjD,MAAM,aAAa,GAAoB,CAAC,KAAK,EAAE,EAAE;IAC7C,MAAM,MAAM,GAAG,cAAM,CAAiB,IAAI,CAAC,CAAC;IAE5C,iBAAS,CAAC,GAAG,EAAE;QACX,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC;QAC3B,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,EAAE,GAAG,CAAC,CAAa,EAAE,EAAE;YACzB,IAAK,CAAC,CAAC,MAAyB,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,QAAQ,EAAE;gBAClE,UAAU,CAAC,GAAG,EAAE;oBACZ,KAAK,CAAC,OAAO,EAAE,CAAC;gBACpB,CAAC,EAAE,CAAC,CAAC,CAAC;aACT;QACL,CAAC,CAAC;QAEF,GAAG,CAAC,gBAAgB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QAClC,OAAO,GAAG,EAAE,GAAG,GAAG,CAAC,mBAAmB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3D,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAEb,OAAO,uCAAK,GAAG,EAAE,MAAM,IAAG,KAAK,CAAC,QAAQ,CAAO,CAAC;AACpD,CAAC,CAAC;AAEO,sCAAa"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Component } from "react";
|
|
2
|
+
import { PopOption } from "./PopOption";
|
|
3
|
+
interface Props {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
anchor?: HTMLElement | "prev" | "next";
|
|
7
|
+
}
|
|
8
|
+
interface State {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
vertical: "top" | "bottom";
|
|
12
|
+
horizontal: "left" | "right";
|
|
13
|
+
}
|
|
14
|
+
declare class Pop extends Component<Props, State> {
|
|
15
|
+
constructor(props: Props);
|
|
16
|
+
componentDidUpdate(prevProps: Props): void;
|
|
17
|
+
static Option: typeof PopOption;
|
|
18
|
+
private readonly rootRef;
|
|
19
|
+
private getAnchorElement;
|
|
20
|
+
private readonly onOpen;
|
|
21
|
+
private readonly handleOverlayClick;
|
|
22
|
+
private readonly handleEsc;
|
|
23
|
+
render(): JSX.Element | null;
|
|
24
|
+
}
|
|
25
|
+
export { Pop };
|
|
26
|
+
//# sourceMappingURL=Pop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pop.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/pop/Pop.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,UAAU,KAAK;IACX,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,MAAM,CAAC;CAC1C;AAED,UAAU,KAAK;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC3B,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC;CAChC;AA4BD,cAAM,GAAI,SAAQ,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;gBAClB,KAAK,EAAE,KAAK;IAYxB,kBAAkB,CAAC,SAAS,EAAE,KAAK;IAM1C,OAAc,MAAM,EAAE,OAAO,SAAS,CAAa;IAEnD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAkC;IAE1D,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAqBrB;IAEF,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAIjC;IAEF,OAAO,CAAC,QAAQ,CAAC,SAAS,CAExB;IAEK,MAAM;CAgChB;AAED,OAAO,EAAE,GAAG,EAAE,CAAC"}
|