tapquest-ui-yeulamvietnam 2.0.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/example/README.md +50 -0
- package/example/eslint.config.js +28 -0
- package/example/index.html +13 -0
- package/example/package.json +35 -0
- package/example/public/vite.svg +1 -0
- package/example/src/App.css +8 -0
- package/example/src/App.tsx +62 -0
- package/example/src/Card/index.tsx +15 -0
- package/example/src/Icons/CircleArrow.tsx +8 -0
- package/example/src/Icons/icon1.tsx +19 -0
- package/example/src/View/CoreComponentView/index.tsx +255 -0
- package/example/src/View/MapView/index.tsx +1325 -0
- package/example/src/View/MapView/map.html +14 -0
- package/example/src/assets/fonts/Kanit/Kanit-Black.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-BlackItalic.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-Bold.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-BoldItalic.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-ExtraBold.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-ExtraBoldItalic.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-ExtraLight.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-ExtraLightItalic.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-Italic.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-Light.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-LightItalic.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-Medium.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-MediumItalic.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-Regular.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-SemiBold.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-SemiBoldItalic.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-Thin.ttf +0 -0
- package/example/src/assets/fonts/Kanit/Kanit-ThinItalic.ttf +0 -0
- package/example/src/assets/fonts/Kanit/OFL.txt +93 -0
- package/example/src/assets/fonts/Roboto/Roboto-Black.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-Bold.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-ExtraBold.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-ExtraBoldItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-ExtraLight.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-ExtraLightItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-Italic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-Light.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-Medium.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-Regular.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-SemiBold.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-SemiBoldItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-Thin.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-Black.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-BlackItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-Bold.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-BoldItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-ExtraBold.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-ExtraBoldItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-ExtraLight.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-ExtraLightItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-Italic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-Light.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-LightItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-Medium.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-MediumItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-Regular.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-SemiBold.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-SemiBoldItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-Thin.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_Condensed-ThinItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-Black.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-BlackItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-Bold.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-BoldItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-ExtraBold.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-ExtraBoldItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-ExtraLight.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-ExtraLightItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-Italic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-Light.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-LightItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-Medium.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-MediumItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-Regular.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-SemiBold.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-SemiBoldItalic.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-Thin.ttf +0 -0
- package/example/src/assets/fonts/Roboto/Roboto_SemiCondensed-ThinItalic.ttf +0 -0
- package/example/src/assets/fonts/iCielBCLodestone/iCielBCLodestone.ttf +0 -0
- package/example/src/assets/react.svg +1 -0
- package/example/src/fonts.css +66 -0
- package/example/src/index.css +70 -0
- package/example/src/main.tsx +10 -0
- package/example/src/vite-env.d.ts +1 -0
- package/example/tsconfig.app.json +26 -0
- package/example/tsconfig.json +7 -0
- package/example/tsconfig.node.json +24 -0
- package/example/vite.config.ts +7 -0
- package/index.css +20 -0
- package/index.ts +42 -0
- package/package.json +44 -0
- package/src/components/AppbarPrimaryButton/index.tsx +56 -0
- package/src/components/Avatar.styled/index.tsx +8 -0
- package/src/components/Button.styled/index.tsx +154 -0
- package/src/components/Card.styled/index.tsx +26 -0
- package/src/components/Compound/Appbar/index.tsx +88 -0
- package/src/components/Compound/Header/index.tsx +40 -0
- package/src/components/Compound/InteractiveMap/MapSvg.tsx +608 -0
- package/src/components/Compound/LocationOverviewCard/index.tsx +186 -0
- package/src/components/Compound/MemoryCard/index.tsx +267 -0
- package/src/components/Compound/ProgressStep/index.tsx +54 -0
- package/src/components/Compound/SponsorByContainer/index.tsx +31 -0
- package/src/components/FormItem.styled/index.tsx +23 -0
- package/src/components/Icons/AppbarBg.tsx +22 -0
- package/src/components/Icons/ArrowCircle.tsx +8 -0
- package/src/components/Icons/ArrowDown.tsx +15 -0
- package/src/components/Icons/Camera.tsx +17 -0
- package/src/components/Icons/Check.tsx +7 -0
- package/src/components/Icons/ChevronLeft.tsx +7 -0
- package/src/components/Icons/ChevronRight.tsx +16 -0
- package/src/components/Icons/CircleAlert.tsx +9 -0
- package/src/components/Icons/CircleArrow.tsx +8 -0
- package/src/components/Icons/CircleCheck.tsx +7 -0
- package/src/components/Icons/CornerUpRight.tsx +7 -0
- package/src/components/Icons/Dart.tsx +7 -0
- package/src/components/Icons/Discover.tsx +16 -0
- package/src/components/Icons/Edit.tsx +16 -0
- package/src/components/Icons/Email.tsx +16 -0
- package/src/components/Icons/Exclaimation.tsx +7 -0
- package/src/components/Icons/Facebook.tsx +7 -0
- package/src/components/Icons/Gear.tsx +15 -0
- package/src/components/Icons/Gift.tsx +18 -0
- package/src/components/Icons/Globe.tsx +14 -0
- package/src/components/Icons/Home.tsx +7 -0
- package/src/components/Icons/Icon1.tsx +19 -0
- package/src/components/Icons/Icon1sm.tsx +19 -0
- package/src/components/Icons/Instagram.tsx +9 -0
- package/src/components/Icons/Link.tsx +16 -0
- package/src/components/Icons/LocationPin.tsx +10 -0
- package/src/components/Icons/Logout.tsx +15 -0
- package/src/components/Icons/MapMarker.tsx +8 -0
- package/src/components/Icons/Marker/MarkerRed.tsx +17 -0
- package/src/components/Icons/Menu.tsx +11 -0
- package/src/components/Icons/Mission.tsx +17 -0
- package/src/components/Icons/Moment.tsx +18 -0
- package/src/components/Icons/Phone.tsx +15 -0
- package/src/components/Icons/Pin.tsx +8 -0
- package/src/components/Icons/PinCircle.tsx +17 -0
- package/src/components/Icons/PinOutlined.tsx +7 -0
- package/src/components/Icons/Profile.tsx +15 -0
- package/src/components/Icons/ProfileGift.tsx +23 -0
- package/src/components/Icons/ProgressBar.tsx +20 -0
- package/src/components/Icons/ProgressBarInner.tsx +44 -0
- package/src/components/Icons/SealCheckIcon.tsx +18 -0
- package/src/components/Icons/Search.tsx +7 -0
- package/src/components/Icons/SendMessage.tsx +7 -0
- package/src/components/Icons/Share.tsx +14 -0
- package/src/components/Icons/ShareMemoryBadge.tsx +11 -0
- package/src/components/Icons/ShieldWarningIcon.tsx +18 -0
- package/src/components/Icons/Spinner.tsx +18 -0
- package/src/components/Icons/Step.tsx +7 -0
- package/src/components/Icons/StepChecked.tsx +8 -0
- package/src/components/Icons/StepLine.tsx +7 -0
- package/src/components/Icons/Telegram.tsx +7 -0
- package/src/components/Icons/Trash.tsx +7 -0
- package/src/components/Icons/User.tsx +15 -0
- package/src/components/Icons/XIcon.tsx +8 -0
- package/src/components/Icons/Zalo.tsx +23 -0
- package/src/components/Icons/index.tsx +66 -0
- package/src/components/Image.styled/index.tsx +35 -0
- package/src/components/Input.styled/index.tsx +34 -0
- package/src/components/InputPassword/index.tsx +34 -0
- package/src/components/InputSearch.styled/index.tsx +18 -0
- package/src/components/Loader.styled/index.tsx +26 -0
- package/src/components/Modal.styled/index.tsx +63 -0
- package/src/components/ProcessBar.styled/index.tsx +26 -0
- package/src/components/ProgressCircular.styled/index.tsx +61 -0
- package/src/components/SVGs/NoResult.tsx +62 -0
- package/src/components/SVGs/index.tsx +3 -0
- package/src/components/Select.styled/index.tsx +32 -0
- package/src/components/Tabs.styled/index.tsx +22 -0
- package/src/components/TextArea.styled/index.tsx +34 -0
- package/src/components/Typography.styled/index.tsx +419 -0
- package/src/helpers/index.ts +175 -0
- package/src/hooks/useHTMLToCanvas.tsx +115 -0
- package/src/hooks/useInteractiveMap.tsx +659 -0
- package/src/types/type.d.ts +9 -0
- package/tsconfig.json +33 -0
- package/tsconfig.node.json +12 -0
- package/tsup.config.ts +24 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The Kanit Project Authors (https://github.com/cadsondemak/kanit)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="35.93" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 228"><path fill="#00D8FF" d="M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"></path></svg>
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "Roboto";
|
|
3
|
+
src: url("./assets/fonts/Roboto/Roboto-Light.ttf") format("truetype");
|
|
4
|
+
font-weight: 300;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@font-face {
|
|
8
|
+
font-family: "Roboto";
|
|
9
|
+
src: url("./assets/fonts/Roboto/Roboto-Regular.ttf") format("truetype");
|
|
10
|
+
font-weight: 400;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@font-face {
|
|
14
|
+
font-family: "Roboto";
|
|
15
|
+
src: url("./assets/fonts/Roboto/Roboto-Medium.ttf") format("truetype");
|
|
16
|
+
font-weight: 500;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: "Roboto";
|
|
21
|
+
src: url("./assets/fonts/Roboto/Roboto-SemiBold.ttf") format("truetype");
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@font-face {
|
|
26
|
+
font-family: "Roboto";
|
|
27
|
+
src: url("./assets/fonts/Roboto/Roboto-Bold.ttf") format("truetype");
|
|
28
|
+
font-weight: 700;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@font-face {
|
|
32
|
+
font-family: "Kanit";
|
|
33
|
+
src: url("./assets/fonts/Kanit/Kanit-Light.ttf") format("truetype");
|
|
34
|
+
font-weight: 300;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: "Kanit";
|
|
39
|
+
src: url("./assets/fonts/Kanit/Kanit-Regular.ttf") format("truetype");
|
|
40
|
+
font-weight: 400;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@font-face {
|
|
44
|
+
font-family: "Kanit";
|
|
45
|
+
src: url("./assets/fonts/Kanit/Kanit-Medium.ttf") format("truetype");
|
|
46
|
+
font-weight: 500;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@font-face {
|
|
50
|
+
font-family: "Kanit";
|
|
51
|
+
src: url("./assets/fonts/Kanit/Kanit-SemiBold.ttf") format("truetype");
|
|
52
|
+
font-weight: 600;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@font-face {
|
|
56
|
+
font-family: "Kanit";
|
|
57
|
+
src: url("./assets/fonts/Kanit/Kanit-Bold.ttf") format("truetype");
|
|
58
|
+
font-weight: 700;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@font-face {
|
|
62
|
+
font-family: "iCielBC Lodestone";
|
|
63
|
+
src: url("./assets/fonts/iCielBCLodestone/iCielBCLodestone.ttf") format("truetype");
|
|
64
|
+
font-weight: 400;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
@import "./fonts.css";
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
5
|
+
line-height: 1.5;
|
|
6
|
+
font-weight: 400;
|
|
7
|
+
|
|
8
|
+
color-scheme: light dark;
|
|
9
|
+
color: rgba(255, 255, 255, 0.87);
|
|
10
|
+
background-color: #242424;
|
|
11
|
+
|
|
12
|
+
font-synthesis: none;
|
|
13
|
+
text-rendering: optimizeLegibility;
|
|
14
|
+
-webkit-font-smoothing: antialiased;
|
|
15
|
+
-moz-osx-font-smoothing: grayscale;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* a {
|
|
19
|
+
font-weight: 500;
|
|
20
|
+
color: #646cff;
|
|
21
|
+
text-decoration: inherit;
|
|
22
|
+
}
|
|
23
|
+
a:hover {
|
|
24
|
+
color: #535bf2;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
body {
|
|
28
|
+
margin: 0;
|
|
29
|
+
display: flex;
|
|
30
|
+
place-items: center;
|
|
31
|
+
min-width: 320px;
|
|
32
|
+
min-height: 100vh;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
h1 {
|
|
36
|
+
font-size: 3.2em;
|
|
37
|
+
line-height: 1.1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
button {
|
|
41
|
+
border-radius: 8px;
|
|
42
|
+
border: 1px solid transparent;
|
|
43
|
+
padding: 0.6em 1.2em;
|
|
44
|
+
font-size: 1em;
|
|
45
|
+
font-weight: 500;
|
|
46
|
+
font-family: inherit;
|
|
47
|
+
background-color: #1a1a1a;
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
transition: border-color 0.25s;
|
|
50
|
+
}
|
|
51
|
+
button:hover {
|
|
52
|
+
border-color: #646cff;
|
|
53
|
+
}
|
|
54
|
+
button:focus,
|
|
55
|
+
button:focus-visible {
|
|
56
|
+
outline: 4px auto -webkit-focus-ring-color;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media (prefers-color-scheme: light) {
|
|
60
|
+
:root {
|
|
61
|
+
color: #213547;
|
|
62
|
+
background-color: #ffffff;
|
|
63
|
+
}
|
|
64
|
+
a:hover {
|
|
65
|
+
color: #747bff;
|
|
66
|
+
}
|
|
67
|
+
button {
|
|
68
|
+
background-color: #f9f9f9;
|
|
69
|
+
}
|
|
70
|
+
} */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
4
|
+
"target": "ES2020",
|
|
5
|
+
"useDefineForClassFields": true,
|
|
6
|
+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
7
|
+
"module": "ESNext",
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
|
|
10
|
+
/* Bundler mode */
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"allowImportingTsExtensions": true,
|
|
13
|
+
"isolatedModules": true,
|
|
14
|
+
"moduleDetection": "force",
|
|
15
|
+
"noEmit": true,
|
|
16
|
+
"jsx": "react-jsx",
|
|
17
|
+
|
|
18
|
+
/* Linting */
|
|
19
|
+
"strict": true,
|
|
20
|
+
"noUnusedLocals": true,
|
|
21
|
+
"noUnusedParameters": true,
|
|
22
|
+
"noFallthroughCasesInSwitch": true,
|
|
23
|
+
"noUncheckedSideEffectImports": true
|
|
24
|
+
},
|
|
25
|
+
"include": ["src"]
|
|
26
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
4
|
+
"target": "ES2022",
|
|
5
|
+
"lib": ["ES2023"],
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"skipLibCheck": true,
|
|
8
|
+
|
|
9
|
+
/* Bundler mode */
|
|
10
|
+
"moduleResolution": "bundler",
|
|
11
|
+
"allowImportingTsExtensions": true,
|
|
12
|
+
"isolatedModules": true,
|
|
13
|
+
"moduleDetection": "force",
|
|
14
|
+
"noEmit": true,
|
|
15
|
+
|
|
16
|
+
/* Linting */
|
|
17
|
+
"strict": true,
|
|
18
|
+
"noUnusedLocals": true,
|
|
19
|
+
"noUnusedParameters": true,
|
|
20
|
+
"noFallthroughCasesInSwitch": true,
|
|
21
|
+
"noUncheckedSideEffectImports": true
|
|
22
|
+
},
|
|
23
|
+
"include": ["vite.config.ts"]
|
|
24
|
+
}
|
package/index.css
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
:root{
|
|
2
|
+
--primary-color: #A71A1A;
|
|
3
|
+
--primary-background-color: #FFF7E2;
|
|
4
|
+
--primary-text-color: #0A0101;
|
|
5
|
+
--secondary-text-color: #8F8F8F;
|
|
6
|
+
--tertiary-text-color: #FFFFFF;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/* reset css */
|
|
10
|
+
* {
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
h1, h2, h3, h4, h5, h6, p {
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
}
|
package/index.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import "./index.css";
|
|
2
|
+
import * as types from "./src/types/type"
|
|
3
|
+
import * as Icons from "./src/components/Icons"
|
|
4
|
+
|
|
5
|
+
import * as SVGs from "./src/components/SVGs";
|
|
6
|
+
|
|
7
|
+
import Button from "./src/components/Button.styled";
|
|
8
|
+
import Typography from "./src/components/Typography.styled";
|
|
9
|
+
import ProgressCircular from "./src/components/ProgressCircular.styled";
|
|
10
|
+
import Loader from "./src/components/Loader.styled";
|
|
11
|
+
import Tabs from "./src/components/Tabs.styled";
|
|
12
|
+
import Image from "./src/components/Image.styled";
|
|
13
|
+
import Modal from "./src/components/Modal.styled";
|
|
14
|
+
|
|
15
|
+
import FormItem from "./src/components/FormItem.styled";
|
|
16
|
+
import Input from "./src/components/Input.styled";
|
|
17
|
+
import InputPassword from "./src/components/InputPassword";
|
|
18
|
+
import InputSearch from "./src/components/InputSearch.styled";
|
|
19
|
+
import TextArea from "./src/components/TextArea.styled";
|
|
20
|
+
import Select from "./src/components/Select.styled";
|
|
21
|
+
|
|
22
|
+
import Avatar from "./src/components/Avatar.styled";
|
|
23
|
+
|
|
24
|
+
import Card from "./src/components/Card.styled";
|
|
25
|
+
|
|
26
|
+
import Appbar from "./src/components/Compound/Appbar";
|
|
27
|
+
import Header from "./src/components/Compound/Header";
|
|
28
|
+
import AppbarPrimaryButton from "./src/components/AppbarPrimaryButton";
|
|
29
|
+
import ProgressStep from "./src/components/Compound/ProgressStep";
|
|
30
|
+
|
|
31
|
+
import MemoryCard from "./src/components/Compound/MemoryCard";
|
|
32
|
+
import LocationOverviewCard from "./src/components/Compound/LocationOverviewCard";
|
|
33
|
+
import SponsorByContainer from "./src/components/Compound/SponsorByContainer";
|
|
34
|
+
|
|
35
|
+
import useInteractiveMap from "./src/hooks/useInteractiveMap";
|
|
36
|
+
|
|
37
|
+
export { Button, Typography, ProgressCircular, Loader, Image, Tabs, Modal, FormItem, Input, InputPassword, TextArea, InputSearch, Select, Avatar, Appbar, Header, AppbarPrimaryButton, Card, ProgressStep, MemoryCard, LocationOverviewCard, SponsorByContainer };
|
|
38
|
+
export { useInteractiveMap };
|
|
39
|
+
|
|
40
|
+
export { SVGs, Icons };
|
|
41
|
+
|
|
42
|
+
export type { types };
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tapquest-ui-yeulamvietnam",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsup",
|
|
10
|
+
"dev": "tsup --watch",
|
|
11
|
+
"dev:example": "cd example && npm run dev",
|
|
12
|
+
"preversion": "npm run build",
|
|
13
|
+
"version": "npm publish"
|
|
14
|
+
},
|
|
15
|
+
"peerDependencies": {
|
|
16
|
+
"react": ">=18.2"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@ant-design/icons": "^5.3.0",
|
|
20
|
+
"antd": "^5.13.2",
|
|
21
|
+
"class-variance-authority": "^0.7.0",
|
|
22
|
+
"html2canvas-pro": "^1.5.8",
|
|
23
|
+
"clsx": "^2.0.0",
|
|
24
|
+
"dayjs": "^1.11.7",
|
|
25
|
+
"framer-motion": "^11.0.16",
|
|
26
|
+
"@phygitallabs/helpers": "^2.0.0",
|
|
27
|
+
"styled-components": "^6.1.15"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@types/react": "^18.2.79",
|
|
31
|
+
"autoprefixer": "^10.4.16",
|
|
32
|
+
"eslint": "^8.54.0",
|
|
33
|
+
"eslint-config-prettier": "^9.0.0",
|
|
34
|
+
"eslint-plugin-react": "^7.33.2",
|
|
35
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
36
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
37
|
+
"eslint-plugin-tailwind": "^0.2.1",
|
|
38
|
+
"postcss": "^8.4.31",
|
|
39
|
+
"prettier": "^3.1.0",
|
|
40
|
+
"tsup": "^8.0.1",
|
|
41
|
+
"typescript": "^5.3.2",
|
|
42
|
+
"@types/react-dom": "18.2.8"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import styled from "styled-components"
|
|
2
|
+
|
|
3
|
+
const AppbarPrimaryIconWrapper = styled.div`
|
|
4
|
+
position: absolute;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 50%;
|
|
7
|
+
transform: translateX(-50%) translateY(-50%);
|
|
8
|
+
`
|
|
9
|
+
|
|
10
|
+
const AppbarPrimaryIconInner = styled.div`
|
|
11
|
+
width: 56px;
|
|
12
|
+
height: 56px;
|
|
13
|
+
border-radius: 100%;
|
|
14
|
+
background-color: #A71A1A;
|
|
15
|
+
border: 4px solid #fff;
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.08);
|
|
20
|
+
`
|
|
21
|
+
const AppbarPrimaryButtonWrapper = styled.div`
|
|
22
|
+
width: 76px;
|
|
23
|
+
height: 76px;
|
|
24
|
+
border-radius: 100%;
|
|
25
|
+
background-color: #9DC108;
|
|
26
|
+
border: 4px solid #fff;
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.08);
|
|
31
|
+
`
|
|
32
|
+
interface AppbarPrimaryButtonProps {
|
|
33
|
+
icon: any
|
|
34
|
+
isHasBackground?: boolean
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const AppbarPrimaryButton = (
|
|
38
|
+
{ icon, isHasBackground }: AppbarPrimaryButtonProps
|
|
39
|
+
|
|
40
|
+
) => {
|
|
41
|
+
return (
|
|
42
|
+
<AppbarPrimaryIconWrapper>
|
|
43
|
+
{isHasBackground ? <AppbarPrimaryButtonWrapper>
|
|
44
|
+
<AppbarPrimaryIconInner>
|
|
45
|
+
{icon}
|
|
46
|
+
</AppbarPrimaryIconInner>
|
|
47
|
+
</AppbarPrimaryButtonWrapper> :
|
|
48
|
+
<AppbarPrimaryIconInner>
|
|
49
|
+
{icon}
|
|
50
|
+
</AppbarPrimaryIconInner>
|
|
51
|
+
}
|
|
52
|
+
</AppbarPrimaryIconWrapper>
|
|
53
|
+
)
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export default AppbarPrimaryButton;
|