@hhgtech/hhg-components 1.19.0-beta-7 → 1.19.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/README.md +8 -0
- package/build/care.js +1 -1
- package/build/components/molecules/index.d.ts +0 -2
- package/build/components/organisms/navigationLayout/utils.d.ts +0 -2
- package/build/components.js +1 -1
- package/build/cookieHelper-fc4e507c.js +2 -0
- package/build/{cookieHelper-40ab50eb.js.map → cookieHelper-fc4e507c.js.map} +1 -1
- package/build/core.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/molecules/index.d.ts +0 -2
- package/build/esm/components/organisms/navigationLayout/utils.d.ts +0 -2
- package/build/esm/components.js +1 -1
- package/build/esm/{cookieHelper-caf76f93.js → cookieHelper-42a68fdf.js} +2 -2
- package/build/esm/{cookieHelper-caf76f93.js.map → cookieHelper-42a68fdf.js.map} +1 -1
- package/build/esm/core.js +1 -1
- package/build/esm/{index-0348b56b.js → index-7084e1a2.js} +2 -2
- package/build/esm/{index-0348b56b.js.map → index-7084e1a2.js.map} +1 -1
- package/build/esm/index-7c43a515.js +2 -0
- package/build/esm/index-7c43a515.js.map +1 -0
- package/build/esm/index-f6c281af.js +2 -0
- package/build/esm/index-f6c281af.js.map +1 -0
- package/build/esm/{index-f799fba8.js → index-fb3aea4c.js} +2 -2
- package/build/esm/{index-f799fba8.js.map → index-fb3aea4c.js.map} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-64f8f6e8.js → index.styled-4d602105.js} +2 -2
- package/build/esm/{index.styled-64f8f6e8.js.map → index.styled-4d602105.js.map} +1 -1
- package/build/esm/misc/utils.d.ts +5 -53
- package/build/esm/navigation.js +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-5c8ce743.js → types-2d902fee.js} +2 -2
- package/build/esm/{types-5c8ce743.js.map → types-2d902fee.js.map} +1 -1
- package/build/esm/types-91439763.js +2 -0
- package/build/esm/types-91439763.js.map +1 -0
- package/build/esm/useTranslations-f3eec98c.js +2 -0
- package/build/esm/useTranslations-f3eec98c.js.map +1 -0
- package/build/index-205e279e.js +2 -0
- package/build/index-205e279e.js.map +1 -0
- package/build/index-21ad911e.js +2 -0
- package/build/index-21ad911e.js.map +1 -0
- package/build/{index-8b1e9d3e.js → index-b3a14f60.js} +2 -2
- package/build/{index-8b1e9d3e.js.map → index-b3a14f60.js.map} +1 -1
- package/build/{index-eed59e93.js → index-f951cab2.js} +2 -2
- package/build/{index-eed59e93.js.map → index-f951cab2.js.map} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-89837cca.js → index.styled-e5088bb1.js} +2 -2
- package/build/{index.styled-89837cca.js.map → index.styled-e5088bb1.js.map} +1 -1
- package/build/misc/utils.d.ts +5 -53
- package/build/navigation.js +1 -1
- package/build/together.js +1 -1
- package/build/{types-5985800a.js → types-06d1c33e.js} +2 -2
- package/build/{types-5985800a.js.map → types-06d1c33e.js.map} +1 -1
- package/build/types-9b704e38.js +2 -0
- package/build/types-9b704e38.js.map +1 -0
- package/build/useTranslations-41d2f908.js +2 -0
- package/build/useTranslations-41d2f908.js.map +1 -0
- package/package.json +9 -9
- package/.eslintrc.json +0 -53
- package/build/components/molecules/dateRangePicker/calendar/index.d.ts +0 -9
- package/build/components/molecules/dateRangePicker/calendar/index.styled.d.ts +0 -13
- package/build/components/molecules/dateRangePicker/index.d.ts +0 -13
- package/build/components/molecules/dateRangePicker/index.styled.d.ts +0 -2
- package/build/components/molecules/dateRangePicker/types.d.ts +0 -4
- package/build/components/molecules/dateRangePicker/utils.d.ts +0 -2
- package/build/cookieHelper-40ab50eb.js +0 -2
- package/build/esm/components/molecules/dateRangePicker/calendar/index.d.ts +0 -9
- package/build/esm/components/molecules/dateRangePicker/calendar/index.styled.d.ts +0 -13
- package/build/esm/components/molecules/dateRangePicker/index.d.ts +0 -13
- package/build/esm/components/molecules/dateRangePicker/index.styled.d.ts +0 -2
- package/build/esm/components/molecules/dateRangePicker/types.d.ts +0 -4
- package/build/esm/components/molecules/dateRangePicker/utils.d.ts +0 -2
- package/build/esm/index-680f53de.js +0 -2
- package/build/esm/index-680f53de.js.map +0 -1
- package/build/esm/index-dda5ff2a.js +0 -2
- package/build/esm/index-dda5ff2a.js.map +0 -1
- package/build/esm/types-26f12b26.js +0 -2
- package/build/esm/types-26f12b26.js.map +0 -1
- package/build/esm/useOutsideClick-6004483a.js +0 -2
- package/build/esm/useOutsideClick-6004483a.js.map +0 -1
- package/build/esm/useTranslations-0c13f2cb.js +0 -2
- package/build/esm/useTranslations-0c13f2cb.js.map +0 -1
- package/build/index-4fa610b1.js +0 -2
- package/build/index-4fa610b1.js.map +0 -1
- package/build/index-5b032a36.js +0 -2
- package/build/index-5b032a36.js.map +0 -1
- package/build/types-df74aec0.js +0 -2
- package/build/types-df74aec0.js.map +0 -1
- package/build/useOutsideClick-528bfd6c.js +0 -2
- package/build/useOutsideClick-528bfd6c.js.map +0 -1
- package/build/useTranslations-29326df5.js +0 -2
- package/build/useTranslations-29326df5.js.map +0 -1
- package/src/assets/svg/Spotlight.svg +0 -12
- package/src/assets/svg/StarEmptyIcon.tsx +0 -19
- package/src/assets/svg/StarFullIcon.tsx +0 -21
- package/src/assets/svg/StarHalfIcon.tsx +0 -35
- package/src/assets/svg/arrowDoor.svg +0 -9
- package/src/assets/svg/calendar.svg +0 -3
- package/src/assets/svg/calendarArrowLeft.svg +0 -3
- package/src/assets/svg/calendarArrowRight.svg +0 -3
- package/src/assets/svg/check.svg +0 -3
- package/src/assets/svg/chevronDown.svg +0 -3
- package/src/assets/svg/chevronRight.svg +0 -3
- package/src/assets/svg/chevronRightActive.svg +0 -3
- package/src/assets/svg/chevronRightWhite.svg +0 -3
- package/src/assets/svg/chevronUpBlue.svg +0 -3
- package/src/assets/svg/closeLight.svg +0 -4
- package/src/assets/svg/closeWhite.svg +0 -4
- package/src/assets/svg/community.svg +0 -1
- package/src/assets/svg/discover.png +0 -0
- package/src/assets/svg/facebook.svg +0 -4
- package/src/assets/svg/hamburgerMenu.svg +0 -5
- package/src/assets/svg/hamburgerMenuNew.svg +0 -1
- package/src/assets/svg/hamburgerMenuNewWithSearch.svg +0 -1
- package/src/assets/svg/healthTools.png +0 -0
- package/src/assets/svg/helloCare-thumbnail.png +0 -0
- package/src/assets/svg/index.ts +0 -63
- package/src/assets/svg/info-light.svg +0 -5
- package/src/assets/svg/instagram.svg +0 -1
- package/src/assets/svg/linkedin.svg +0 -1
- package/src/assets/svg/lock.png +0 -0
- package/src/assets/svg/login.svg +0 -1
- package/src/assets/svg/sehat-badge.png +0 -0
- package/src/assets/svg/together.png +0 -0
- package/src/assets/svg/youtube.svg +0 -4
- package/src/assets/svg/zalo.png +0 -0
- package/src/cache/core.ts +0 -52
- package/src/cache/index.ts +0 -1
- package/src/care/api/paths.ts +0 -11
- package/src/care/api/utils.ts +0 -32
- package/src/care/components/atoms/icons/index.tsx +0 -170
- package/src/care/components/organisms/bookingSearchBar/constants.ts +0 -9
- package/src/care/components/organisms/bookingSearchBar/index.stories.tsx +0 -127
- package/src/care/components/organisms/bookingSearchBar/index.styled.ts +0 -51
- package/src/care/components/organisms/bookingSearchBar/index.test.tsx +0 -556
- package/src/care/components/organisms/bookingSearchBar/index.tsx +0 -448
- package/src/care/components/organisms/bookingSearchBar/locationResults/index.styled.ts +0 -94
- package/src/care/components/organisms/bookingSearchBar/locationResults/index.tsx +0 -132
- package/src/care/components/organisms/bookingSearchBar/locationResults/liSkeleton.tsx +0 -52
- package/src/care/components/organisms/bookingSearchBar/mobileFakeInput/index.tsx +0 -68
- package/src/care/components/organisms/bookingSearchBar/mobileTopbar/index.stories.tsx +0 -22
- package/src/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.ts +0 -41
- package/src/care/components/organisms/bookingSearchBar/mobileTopbar/index.tsx +0 -48
- package/src/care/components/organisms/bookingSearchBar/reducer.ts +0 -293
- package/src/care/components/organisms/bookingSearchBar/resultSection/icons.tsx +0 -37
- package/src/care/components/organisms/bookingSearchBar/resultSection/index.stories.tsx +0 -155
- package/src/care/components/organisms/bookingSearchBar/resultSection/index.styled.ts +0 -89
- package/src/care/components/organisms/bookingSearchBar/resultSection/index.tsx +0 -234
- package/src/care/components/organisms/bookingSearchBar/resultSectionItem/index.stories.tsx +0 -55
- package/src/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.ts +0 -75
- package/src/care/components/organisms/bookingSearchBar/resultSectionItem/index.tsx +0 -86
- package/src/care/components/organisms/bookingSearchBar/searchInputs/index.styled.ts +0 -42
- package/src/care/components/organisms/bookingSearchBar/searchInputs/index.tsx +0 -219
- package/src/care/components/organisms/bookingSearchBar/searchResults/index.stories.tsx +0 -55
- package/src/care/components/organisms/bookingSearchBar/searchResults/index.tsx +0 -62
- package/src/care/components/organisms/bookingSearchBar/searchResults/mockData.ts +0 -169
- package/src/care/components/organisms/bookingSearchBar/searchSubmitIcon/index.tsx +0 -73
- package/src/care/components/organisms/bookingSearchBar/types.ts +0 -12
- package/src/care/components/organisms/bookingSearchBar/useAnimatedPlaceholder.ts +0 -86
- package/src/care/components/organisms/bookingSearchBar/useSearchBarApi.ts +0 -150
- package/src/care/components/organisms/bookingSearchBar/utils/Typewriter.ts +0 -437
- package/src/care/index.ts +0 -6
- package/src/care/interfaces/constants.ts +0 -75
- package/src/care/interfaces/types.ts +0 -258
- package/src/components/atoms/alert/__snapshots__/index.test.tsx.snap +0 -130
- package/src/components/atoms/alert/index.stories.tsx +0 -21
- package/src/components/atoms/alert/index.styled.tsx +0 -44
- package/src/components/atoms/alert/index.test.tsx +0 -28
- package/src/components/atoms/alert/index.tsx +0 -47
- package/src/components/atoms/avatar/index.stories.tsx +0 -49
- package/src/components/atoms/avatar/index.styled.tsx +0 -96
- package/src/components/atoms/avatar/index.tsx +0 -91
- package/src/components/atoms/badge/__snapshots__/index.test.tsx.snap +0 -61
- package/src/components/atoms/badge/index.stories.tsx +0 -71
- package/src/components/atoms/badge/index.styled.tsx +0 -138
- package/src/components/atoms/badge/index.test.tsx +0 -27
- package/src/components/atoms/badge/index.tsx +0 -45
- package/src/components/atoms/borderHeading/index.stories.tsx +0 -38
- package/src/components/atoms/borderHeading/index.styled.tsx +0 -50
- package/src/components/atoms/borderHeading/index.tsx +0 -39
- package/src/components/atoms/button/__snapshots__/index.test.tsx.snap +0 -57
- package/src/components/atoms/button/index.stories.tsx +0 -107
- package/src/components/atoms/button/index.styled.tsx +0 -335
- package/src/components/atoms/button/index.test.tsx +0 -25
- package/src/components/atoms/button/index.tsx +0 -207
- package/src/components/atoms/checkbox/__snapshots__/index.test.tsx.snap +0 -120
- package/src/components/atoms/checkbox/index.stories.tsx +0 -30
- package/src/components/atoms/checkbox/index.styled.tsx +0 -90
- package/src/components/atoms/checkbox/index.test.tsx +0 -31
- package/src/components/atoms/checkbox/index.tsx +0 -48
- package/src/components/atoms/container/index.styled.tsx +0 -16
- package/src/components/atoms/container/index.tsx +0 -21
- package/src/components/atoms/displayWrapper/index.styled.tsx +0 -19
- package/src/components/atoms/displayWrapper/index.tsx +0 -66
- package/src/components/atoms/divider/__snapshots__/index.test.tsx.snap +0 -14
- package/src/components/atoms/divider/index.stories.tsx +0 -19
- package/src/components/atoms/divider/index.styled.tsx +0 -10
- package/src/components/atoms/divider/index.test.tsx +0 -22
- package/src/components/atoms/divider/index.tsx +0 -34
- package/src/components/atoms/fileDropdown/__snapshots__/index.test.tsx.snap +0 -143
- package/src/components/atoms/fileDropdown/index.stories.tsx +0 -41
- package/src/components/atoms/fileDropdown/index.styled.tsx +0 -112
- package/src/components/atoms/fileDropdown/index.test.tsx +0 -46
- package/src/components/atoms/fileDropdown/index.tsx +0 -200
- package/src/components/atoms/flag/__snapshots__/index.test.tsx.snap +0 -59
- package/src/components/atoms/flag/icons/cambodia.tsx +0 -24
- package/src/components/atoms/flag/icons/english.tsx +0 -195
- package/src/components/atoms/flag/icons/india.tsx +0 -24
- package/src/components/atoms/flag/icons/indonesia.tsx +0 -55
- package/src/components/atoms/flag/icons/malaysia.tsx +0 -89
- package/src/components/atoms/flag/icons/myanmar.tsx +0 -105
- package/src/components/atoms/flag/icons/philippines.tsx +0 -24
- package/src/components/atoms/flag/icons/taiwan.tsx +0 -154
- package/src/components/atoms/flag/icons/thailand.tsx +0 -55
- package/src/components/atoms/flag/icons/vietnam.tsx +0 -57
- package/src/components/atoms/flag/index.stories.tsx +0 -30
- package/src/components/atoms/flag/index.styled.tsx +0 -18
- package/src/components/atoms/flag/index.test.tsx +0 -21
- package/src/components/atoms/flag/index.tsx +0 -150
- package/src/components/atoms/grid/__snapshots__/index.test.tsx.snap +0 -38
- package/src/components/atoms/grid/index.stories.tsx +0 -50
- package/src/components/atoms/grid/index.styled.tsx +0 -34
- package/src/components/atoms/grid/index.test.tsx +0 -26
- package/src/components/atoms/grid/index.tsx +0 -61
- package/src/components/atoms/heading/__snapshots__/index.test.tsx.snap +0 -38
- package/src/components/atoms/heading/index.stories.tsx +0 -27
- package/src/components/atoms/heading/index.styled.tsx +0 -108
- package/src/components/atoms/heading/index.test.tsx +0 -23
- package/src/components/atoms/heading/index.tsx +0 -59
- package/src/components/atoms/icons/Ask.tsx +0 -54
- package/src/components/atoms/icons/BarChart.tsx +0 -39
- package/src/components/atoms/icons/Booking.tsx +0 -37
- package/src/components/atoms/icons/Bookmark.tsx +0 -44
- package/src/components/atoms/icons/Community.tsx +0 -46
- package/src/components/atoms/icons/EditSpecial.tsx +0 -30
- package/src/components/atoms/icons/Family.tsx +0 -37
- package/src/components/atoms/icons/Font.tsx +0 -37
- package/src/components/atoms/icons/Heart.tsx +0 -37
- package/src/components/atoms/icons/Home.tsx +0 -54
- package/src/components/atoms/icons/Like.tsx +0 -49
- package/src/components/atoms/icons/MyCommunity.tsx +0 -37
- package/src/components/atoms/icons/PlusSpecial.tsx +0 -30
- package/src/components/atoms/icons/Recalculate.tsx +0 -37
- package/src/components/atoms/icons/Scale.tsx +0 -44
- package/src/components/atoms/icons/Share.tsx +0 -37
- package/src/components/atoms/icons/Stethoscope.tsx +0 -37
- package/src/components/atoms/icons/index.stories.tsx +0 -50
- package/src/components/atoms/icons/index.ts +0 -46
- package/src/components/atoms/index.ts +0 -33
- package/src/components/atoms/input/__snapshots__/index.test.tsx.snap +0 -137
- package/src/components/atoms/input/delete.svg +0 -3
- package/src/components/atoms/input/index.stories.tsx +0 -50
- package/src/components/atoms/input/index.styled.tsx +0 -124
- package/src/components/atoms/input/index.test.tsx +0 -23
- package/src/components/atoms/input/index.tsx +0 -140
- package/src/components/atoms/label/__snapshots__/index.test.tsx.snap +0 -21
- package/src/components/atoms/label/index.stories.tsx +0 -16
- package/src/components/atoms/label/index.test.tsx +0 -25
- package/src/components/atoms/label/index.tsx +0 -37
- package/src/components/atoms/logo/__snapshots__/index.test.tsx.snap +0 -99
- package/src/components/atoms/logo/index.stories.tsx +0 -84
- package/src/components/atoms/logo/index.test.tsx +0 -18
- package/src/components/atoms/logo/index.tsx +0 -1915
- package/src/components/atoms/marryBabyText/index.styled.tsx +0 -86
- package/src/components/atoms/marryBabyText/index.tsx +0 -57
- package/src/components/atoms/pagination/__snapshots__/index.test.tsx.snap +0 -185
- package/src/components/atoms/pagination/index.stories.tsx +0 -92
- package/src/components/atoms/pagination/index.styled.tsx +0 -73
- package/src/components/atoms/pagination/index.test.tsx +0 -26
- package/src/components/atoms/pagination/index.tsx +0 -286
- package/src/components/atoms/progress/index.stories.tsx +0 -55
- package/src/components/atoms/progress/index.styled.tsx +0 -30
- package/src/components/atoms/progress/index.tsx +0 -29
- package/src/components/atoms/pureInput/__snapshots__/index.test.tsx.snap +0 -135
- package/src/components/atoms/pureInput/delete.svg +0 -3
- package/src/components/atoms/pureInput/index.stories.tsx +0 -54
- package/src/components/atoms/pureInput/index.styled.tsx +0 -123
- package/src/components/atoms/pureInput/index.test.tsx +0 -29
- package/src/components/atoms/pureInput/index.tsx +0 -162
- package/src/components/atoms/radio/__snapshots__/index.test.tsx.snap +0 -163
- package/src/components/atoms/radio/index.stories.tsx +0 -48
- package/src/components/atoms/radio/index.styled.tsx +0 -133
- package/src/components/atoms/radio/index.test.tsx +0 -31
- package/src/components/atoms/radio/index.tsx +0 -66
- package/src/components/atoms/rateStars/index.stories.tsx +0 -71
- package/src/components/atoms/rateStars/index.styled.tsx +0 -17
- package/src/components/atoms/rateStars/index.tsx +0 -101
- package/src/components/atoms/shadow/__snapshots__/index.test.tsx.snap +0 -37
- package/src/components/atoms/shadow/index.stories.tsx +0 -55
- package/src/components/atoms/shadow/index.styled.tsx +0 -31
- package/src/components/atoms/shadow/index.test.tsx +0 -25
- package/src/components/atoms/shadow/index.tsx +0 -20
- package/src/components/atoms/slider/__snapshots__/index.test.tsx.snap +0 -172
- package/src/components/atoms/slider/index.stories.tsx +0 -22
- package/src/components/atoms/slider/index.styled.tsx +0 -68
- package/src/components/atoms/slider/index.test.tsx +0 -27
- package/src/components/atoms/slider/index.tsx +0 -140
- package/src/components/atoms/tag/__snapshots__/index.test.tsx.snap +0 -72
- package/src/components/atoms/tag/index.stories.tsx +0 -54
- package/src/components/atoms/tag/index.styled.tsx +0 -184
- package/src/components/atoms/tag/index.test.tsx +0 -23
- package/src/components/atoms/tag/index.tsx +0 -72
- package/src/components/atoms/text/index.stories.tsx +0 -24
- package/src/components/atoms/text/index.styled.tsx +0 -231
- package/src/components/atoms/text/index.tsx +0 -99
- package/src/components/atoms/textArea/index.stories.tsx +0 -30
- package/src/components/atoms/textArea/index.tsx +0 -86
- package/src/components/atoms/textDivider/index.tsx +0 -48
- package/src/components/atoms/toggle/__snapshots__/index.test.tsx.snap +0 -73
- package/src/components/atoms/toggle/index.stories.tsx +0 -38
- package/src/components/atoms/toggle/index.styled.tsx +0 -55
- package/src/components/atoms/toggle/index.test.tsx +0 -27
- package/src/components/atoms/toggle/index.tsx +0 -28
- package/src/components/atoms/underlinedLink/index.stories.tsx +0 -35
- package/src/components/atoms/underlinedLink/index.styled.tsx +0 -66
- package/src/components/atoms/underlinedLink/index.text.tsx +0 -23
- package/src/components/atoms/underlinedLink/index.tsx +0 -30
- package/src/components/atoms/uploader/__snapshots__/index.test.tsx.snap +0 -170
- package/src/components/atoms/uploader/index.stories.tsx +0 -128
- package/src/components/atoms/uploader/index.styled.tsx +0 -53
- package/src/components/atoms/uploader/index.test.tsx +0 -96
- package/src/components/atoms/uploader/index.tsx +0 -107
- package/src/components/index.ts +0 -3
- package/src/components/molecules/ampNextPage/index.tsx +0 -48
- package/src/components/molecules/articleCard/bookmark.png +0 -0
- package/src/components/molecules/articleCard/bookmarked.png +0 -0
- package/src/components/molecules/articleCard/index.stories.tsx +0 -222
- package/src/components/molecules/articleCard/index.styled.tsx +0 -391
- package/src/components/molecules/articleCard/index.tsx +0 -430
- package/src/components/molecules/breadcrumbs/__snapshots__/index.test.tsx.snap +0 -173
- package/src/components/molecules/breadcrumbs/index.stories.tsx +0 -79
- package/src/components/molecules/breadcrumbs/index.styled.tsx +0 -99
- package/src/components/molecules/breadcrumbs/index.test.tsx +0 -45
- package/src/components/molecules/breadcrumbs/index.tsx +0 -141
- package/src/components/molecules/carousel/index.stories.tsx +0 -40
- package/src/components/molecules/carousel/index.styled.tsx +0 -115
- package/src/components/molecules/carousel/index.tsx +0 -178
- package/src/components/molecules/categoryCard/index.stories.tsx +0 -19
- package/src/components/molecules/categoryCard/index.styled.tsx +0 -38
- package/src/components/molecules/categoryCard/index.tsx +0 -51
- package/src/components/molecules/checkboxGroup/__snapshots__/index.test.tsx.snap +0 -214
- package/src/components/molecules/checkboxGroup/index.stories.tsx +0 -118
- package/src/components/molecules/checkboxGroup/index.styled.tsx +0 -27
- package/src/components/molecules/checkboxGroup/index.test.tsx +0 -36
- package/src/components/molecules/checkboxGroup/index.tsx +0 -66
- package/src/components/molecules/cookieAcceptConfirm/__snapshots__/index.test.tsx.snap +0 -152
- package/src/components/molecules/cookieAcceptConfirm/index.stories.tsx +0 -23
- package/src/components/molecules/cookieAcceptConfirm/index.styled.tsx +0 -101
- package/src/components/molecules/cookieAcceptConfirm/index.test.tsx +0 -23
- package/src/components/molecules/cookieAcceptConfirm/index.tsx +0 -78
- package/src/components/molecules/cookieAcceptConfirm/info.svg +0 -3
- package/src/components/molecules/datePicker/__snapshots__/index.test.tsx.snap +0 -377
- package/src/components/molecules/datePicker/index.stories.tsx +0 -55
- package/src/components/molecules/datePicker/index.styled.tsx +0 -374
- package/src/components/molecules/datePicker/index.test.tsx +0 -46
- package/src/components/molecules/datePicker/index.tsx +0 -361
- package/src/components/molecules/dateRangePicker/calendar/index.styled.ts +0 -122
- package/src/components/molecules/dateRangePicker/calendar/index.tsx +0 -247
- package/src/components/molecules/dateRangePicker/index.stories.tsx +0 -45
- package/src/components/molecules/dateRangePicker/index.styled.ts +0 -36
- package/src/components/molecules/dateRangePicker/index.tsx +0 -103
- package/src/components/molecules/dateRangePicker/types.ts +0 -4
- package/src/components/molecules/dateRangePicker/utils.ts +0 -26
- package/src/components/molecules/doctorInfo/index.stories.tsx +0 -20
- package/src/components/molecules/doctorInfo/index.tsx +0 -54
- package/src/components/molecules/dropdown/__snapshots__/index.test.tsx.snap +0 -133
- package/src/components/molecules/dropdown/index.stories.tsx +0 -158
- package/src/components/molecules/dropdown/index.styled.tsx +0 -149
- package/src/components/molecules/dropdown/index.test.tsx +0 -45
- package/src/components/molecules/dropdown/index.tsx +0 -143
- package/src/components/molecules/dropdownSearch/index.stories.tsx +0 -66
- package/src/components/molecules/dropdownSearch/index.styled.tsx +0 -157
- package/src/components/molecules/dropdownSearch/index.tsx +0 -169
- package/src/components/molecules/dropdownSearch/search.svg +0 -4
- package/src/components/molecules/floatButtonGroup/add-period.svg +0 -9
- package/src/components/molecules/floatButtonGroup/index.stories.tsx +0 -72
- package/src/components/molecules/floatButtonGroup/index.styled.tsx +0 -310
- package/src/components/molecules/floatButtonGroup/index.tsx +0 -155
- package/src/components/molecules/iconText/__snapshots__/index.test.tsx.snap +0 -64
- package/src/components/molecules/iconText/index.stories.tsx +0 -22
- package/src/components/molecules/iconText/index.styled.tsx +0 -47
- package/src/components/molecules/iconText/index.test.tsx +0 -31
- package/src/components/molecules/iconText/index.tsx +0 -33
- package/src/components/molecules/index.ts +0 -39
- package/src/components/molecules/languageSwitcher/index.stories.tsx +0 -32
- package/src/components/molecules/languageSwitcher/index.styled.tsx +0 -23
- package/src/components/molecules/languageSwitcher/index.tsx +0 -68
- package/src/components/molecules/languageSwitcher/tooltipSelection/index.styled.tsx +0 -69
- package/src/components/molecules/languageSwitcher/tooltipSelection/index.tsx +0 -84
- package/src/components/molecules/mobileBottomNavigation/MobileBottomNavigationIcon.tsx +0 -51
- package/src/components/molecules/mobileBottomNavigation/index.stories.tsx +0 -173
- package/src/components/molecules/mobileBottomNavigation/index.styled.tsx +0 -150
- package/src/components/molecules/mobileBottomNavigation/index.tsx +0 -41
- package/src/components/molecules/modal/__snapshots__/index.test.tsx.snap +0 -3
- package/src/components/molecules/modal/index.stories.tsx +0 -139
- package/src/components/molecules/modal/index.styled.tsx +0 -146
- package/src/components/molecules/modal/index.test.tsx +0 -26
- package/src/components/molecules/modal/index.tsx +0 -147
- package/src/components/molecules/popup/__snapshots__/index.test.tsx.snap +0 -102
- package/src/components/molecules/popup/index.stories.tsx +0 -21
- package/src/components/molecules/popup/index.styled.tsx +0 -90
- package/src/components/molecules/popup/index.test.tsx +0 -26
- package/src/components/molecules/popup/index.tsx +0 -45
- package/src/components/molecules/progressBar/__snapshots__/index.test.tsx.snap +0 -167
- package/src/components/molecules/progressBar/index.stories.tsx +0 -72
- package/src/components/molecules/progressBar/index.styled.tsx +0 -182
- package/src/components/molecules/progressBar/index.test.tsx +0 -75
- package/src/components/molecules/progressBar/index.tsx +0 -245
- package/src/components/molecules/radioGroup/__snapshots__/index.test.tsx.snap +0 -290
- package/src/components/molecules/radioGroup/index.stories.tsx +0 -131
- package/src/components/molecules/radioGroup/index.styled.tsx +0 -75
- package/src/components/molecules/radioGroup/index.test.tsx +0 -33
- package/src/components/molecules/radioGroup/index.tsx +0 -80
- package/src/components/molecules/scrollList/index.stories.tsx +0 -113
- package/src/components/molecules/scrollList/index.styled.tsx +0 -140
- package/src/components/molecules/scrollList/index.tsx +0 -786
- package/src/components/molecules/seoHead/index.tsx +0 -382
- package/src/components/molecules/sidemenu/__snapshots__/index.test.tsx.snap +0 -273
- package/src/components/molecules/sidemenu/index.stories.tsx +0 -156
- package/src/components/molecules/sidemenu/index.test.tsx +0 -56
- package/src/components/molecules/sidemenu/index.tsx +0 -4
- package/src/components/molecules/sidemenu/menuLink.tsx +0 -78
- package/src/components/molecules/sidemenu/sideHeader.tsx +0 -85
- package/src/components/molecules/sidemenu/sideMenu.tsx +0 -39
- package/src/components/molecules/sidemenu/test.tsx +0 -94
- package/src/components/molecules/sidemenu/userInfo.tsx +0 -44
- package/src/components/molecules/starsRatingBox/index.stories.tsx +0 -121
- package/src/components/molecules/starsRatingBox/index.styled.tsx +0 -23
- package/src/components/molecules/starsRatingBox/index.tsx +0 -83
- package/src/components/molecules/statisticCard/__snapshots__/index.test.tsx.snap +0 -86
- package/src/components/molecules/statisticCard/index.stories.tsx +0 -40
- package/src/components/molecules/statisticCard/index.styled.tsx +0 -47
- package/src/components/molecules/statisticCard/index.test.tsx +0 -44
- package/src/components/molecules/statisticCard/index.tsx +0 -48
- package/src/components/molecules/surveyQuestionCard/__snapshots__/index.test.tsx.snap +0 -743
- package/src/components/molecules/surveyQuestionCard/index.stories.tsx +0 -115
- package/src/components/molecules/surveyQuestionCard/index.styled.tsx +0 -220
- package/src/components/molecules/surveyQuestionCard/index.test.tsx +0 -53
- package/src/components/molecules/surveyQuestionCard/index.tsx +0 -2
- package/src/components/molecules/surveyQuestionCard/surveyQuestionCard.tsx +0 -213
- package/src/components/molecules/surveyQuestionCard/surveyQuestionContent.tsx +0 -200
- package/src/components/molecules/surveyQuestionCard/surveyRadio.tsx +0 -69
- package/src/components/molecules/surveyQuestionCard/surveyThankyouCard.tsx +0 -129
- package/src/components/molecules/table/__snapshots__/index.test.tsx.snap +0 -56
- package/src/components/molecules/table/index.stories.tsx +0 -264
- package/src/components/molecules/table/index.test.tsx +0 -29
- package/src/components/molecules/table/index.tsx +0 -5
- package/src/components/molecules/table/table.tsx +0 -38
- package/src/components/molecules/table/tableBody.tsx +0 -46
- package/src/components/molecules/table/tableCell.tsx +0 -47
- package/src/components/molecules/table/tableHead.tsx +0 -46
- package/src/components/molecules/table/tableRow.tsx +0 -45
- package/src/components/molecules/tabs/__snapshots__/index.test.tsx.snap +0 -104
- package/src/components/molecules/tabs/index.stories.tsx +0 -45
- package/src/components/molecules/tabs/index.styled.tsx +0 -58
- package/src/components/molecules/tabs/index.test.tsx +0 -49
- package/src/components/molecules/tabs/index.tsx +0 -89
- package/src/components/organisms/footer/discoverFooter/index.styled.tsx +0 -286
- package/src/components/organisms/footer/discoverFooter/index.tsx +0 -448
- package/src/components/organisms/footer/index.stories.tsx +0 -207
- package/src/components/organisms/footer/index.tsx +0 -70
- package/src/components/organisms/footer/maryBabyFooter/index.styled.tsx +0 -502
- package/src/components/organisms/footer/maryBabyFooter/index.tsx +0 -393
- package/src/components/organisms/index.ts +0 -31
- package/src/components/organisms/navigationBookingButton/index.styled.tsx +0 -11
- package/src/components/organisms/navigationBookingButton/index.tsx +0 -53
- package/src/components/organisms/navigationLayout/CustomFooter.tsx +0 -154
- package/src/components/organisms/navigationLayout/ampSideBar/index.styled.tsx +0 -151
- package/src/components/organisms/navigationLayout/ampSideBar/index.tsx +0 -276
- package/src/components/organisms/navigationLayout/assets/check.svg +0 -3
- package/src/components/organisms/navigationLayout/assets/chevronDown.svg +0 -3
- package/src/components/organisms/navigationLayout/assets/chevronRightWhite.svg +0 -3
- package/src/components/organisms/navigationLayout/assets/chevronUpBlue.svg +0 -3
- package/src/components/organisms/navigationLayout/assets/closeLight.svg +0 -4
- package/src/components/organisms/navigationLayout/assets/closeWhite.svg +0 -4
- package/src/components/organisms/navigationLayout/assets/hamburgerMenu.svg +0 -5
- package/src/components/organisms/navigationLayout/assets/index.js +0 -19
- package/src/components/organisms/navigationLayout/assets/info-light.svg +0 -5
- package/src/components/organisms/navigationLayout/constants.ts +0 -958
- package/src/components/organisms/navigationLayout/footer/index.styled.tsx +0 -286
- package/src/components/organisms/navigationLayout/footer/index.tsx +0 -449
- package/src/components/organisms/navigationLayout/index.stories.tsx +0 -273
- package/src/components/organisms/navigationLayout/index.styled.tsx +0 -153
- package/src/components/organisms/navigationLayout/index.tsx +0 -1272
- package/src/components/organisms/navigationLayout/languageWrapper.tsx +0 -19
- package/src/components/organisms/navigationLayout/languages/default.ts +0 -63
- package/src/components/organisms/navigationLayout/layout.tsx +0 -406
- package/src/components/organisms/navigationLayout/marryBabyText/index.styled.tsx +0 -86
- package/src/components/organisms/navigationLayout/marryBabyText/index.tsx +0 -57
- package/src/components/organisms/navigationLayout/maryBabyFooter/index.styled.tsx +0 -502
- package/src/components/organisms/navigationLayout/maryBabyFooter/index.tsx +0 -383
- package/src/components/organisms/navigationLayout/menuCareList/categorySkeleton.tsx +0 -25
- package/src/components/organisms/navigationLayout/menuCareList/index.styled.tsx +0 -156
- package/src/components/organisms/navigationLayout/menuCareList/index.tsx +0 -266
- package/src/components/organisms/navigationLayout/menuCategoriesList/categorySkeleton.tsx +0 -25
- package/src/components/organisms/navigationLayout/menuCategoriesList/helloSites.tsx +0 -419
- package/src/components/organisms/navigationLayout/menuCategoriesList/index.styled.tsx +0 -196
- package/src/components/organisms/navigationLayout/menuCategoriesList/index.tsx +0 -92
- package/src/components/organisms/navigationLayout/menuCategoriesList/marryBaby.styled.tsx +0 -151
- package/src/components/organisms/navigationLayout/menuCategoriesList/marryBaby.tsx +0 -409
- package/src/components/organisms/navigationLayout/menuCategoriesList/spotlightsList/index.styled.tsx +0 -147
- package/src/components/organisms/navigationLayout/menuCategoriesList/spotlightsList/index.tsx +0 -141
- package/src/components/organisms/navigationLayout/menuCategoriesList/spotlightsList/spotlightSkeleton.tsx +0 -25
- package/src/components/organisms/navigationLayout/menuCommunitiesList/categorySkeleton.tsx +0 -25
- package/src/components/organisms/navigationLayout/menuCommunitiesList/helloSites.tsx +0 -309
- package/src/components/organisms/navigationLayout/menuCommunitiesList/index.styled.tsx +0 -162
- package/src/components/organisms/navigationLayout/menuCommunitiesList/index.tsx +0 -80
- package/src/components/organisms/navigationLayout/menuCommunitiesList/marryBaby.styled.tsx +0 -119
- package/src/components/organisms/navigationLayout/menuCommunitiesList/marryBaby.tsx +0 -181
- package/src/components/organisms/navigationLayout/menuHealthToolsList/categorySkeleton.tsx +0 -25
- package/src/components/organisms/navigationLayout/menuHealthToolsList/helloSites.tsx +0 -364
- package/src/components/organisms/navigationLayout/menuHealthToolsList/index.styled.tsx +0 -176
- package/src/components/organisms/navigationLayout/menuHealthToolsList/index.tsx +0 -83
- package/src/components/organisms/navigationLayout/menuHealthToolsList/marryBaby.tsx +0 -166
- package/src/components/organisms/navigationLayout/menuHealthToolsList/marrybaby.styled.tsx +0 -118
- package/src/components/organisms/navigationLayout/menuSectionCard/cardSkeleton.tsx +0 -32
- package/src/components/organisms/navigationLayout/menuSectionCard/index.styled.tsx +0 -46
- package/src/components/organisms/navigationLayout/menuSectionCard/index.tsx +0 -52
- package/src/components/organisms/navigationLayout/menuServiceList/categoriesSubList.tsx +0 -121
- package/src/components/organisms/navigationLayout/menuServiceList/communitySubList.tsx +0 -143
- package/src/components/organisms/navigationLayout/menuServiceList/index.styled.tsx +0 -460
- package/src/components/organisms/navigationLayout/menuServiceList/index.tsx +0 -746
- package/src/components/organisms/navigationLayout/menuServiceList/marryBabyMobileMenuSection.tsx +0 -239
- package/src/components/organisms/navigationLayout/navigationBar/ArrowLeftPopupIcon.tsx +0 -21
- package/src/components/organisms/navigationLayout/navigationBar/ClosePopupIcon.tsx +0 -20
- package/src/components/organisms/navigationLayout/navigationBar/HamburgerIcon.tsx +0 -43
- package/src/components/organisms/navigationLayout/navigationBar/NavigationBar.types.ts +0 -99
- package/src/components/organisms/navigationLayout/navigationBar/NavigationBarMobile.tsx +0 -503
- package/src/components/organisms/navigationLayout/navigationBar/SearchIcon.tsx +0 -22
- package/src/components/organisms/navigationLayout/navigationBar/index.styled.tsx +0 -540
- package/src/components/organisms/navigationLayout/navigationBar/index.tsx +0 -798
- package/src/components/organisms/navigationLayout/navigationLogoutPopup/index.styled.tsx +0 -87
- package/src/components/organisms/navigationLayout/navigationLogoutPopup/index.tsx +0 -95
- package/src/components/organisms/navigationLayout/profilePopup/index.tsx +0 -102
- package/src/components/organisms/navigationLayout/profilePopupWrapper/index.styled.tsx +0 -164
- package/src/components/organisms/navigationLayout/profilePopupWrapper/index.tsx +0 -58
- package/src/components/organisms/navigationLayout/siteWide/index.styled.tsx +0 -116
- package/src/components/organisms/navigationLayout/siteWide/index.tsx +0 -162
- package/src/components/organisms/navigationLayout/sponsoredBy/index.styled.tsx +0 -119
- package/src/components/organisms/navigationLayout/sponsoredBy/index.tsx +0 -254
- package/src/components/organisms/navigationLayout/tooltipSelection/index.styled.tsx +0 -66
- package/src/components/organisms/navigationLayout/tooltipSelection/index.tsx +0 -81
- package/src/components/organisms/navigationLayout/types.ts +0 -322
- package/src/components/organisms/navigationLayout/utils.tsx +0 -424
- package/src/components/organisms/navigationLogoutPopup/index.stories.tsx +0 -34
- package/src/components/organisms/navigationLogoutPopup/index.styled.tsx +0 -87
- package/src/components/organisms/navigationLogoutPopup/index.tsx +0 -78
- package/src/components/organisms/navigationProfileButton/index.stories.tsx +0 -51
- package/src/components/organisms/navigationProfileButton/index.styled.tsx +0 -254
- package/src/components/organisms/navigationProfileButton/index.tsx +0 -217
- package/src/components/organisms/navigationProfileButton/popupWrapper.tsx +0 -58
- package/src/components/organisms/navigationProfileButton/profilePopup.tsx +0 -97
- package/src/components/organisms/navigationV2/components/atoms/ArrowLeftPopupIcon.tsx +0 -21
- package/src/components/organisms/navigationV2/components/atoms/ClosePopupIcon.tsx +0 -21
- package/src/components/organisms/navigationV2/components/atoms/HamburgerIcon.tsx +0 -58
- package/src/components/organisms/navigationV2/components/atoms/ItemNav/index.styled.tsx +0 -63
- package/src/components/organisms/navigationV2/components/atoms/ItemNav/index.tsx +0 -71
- package/src/components/organisms/navigationV2/components/atoms/PopupWrapper/btnClosePopup.tsx +0 -30
- package/src/components/organisms/navigationV2/components/atoms/PopupWrapper/index.styled.tsx +0 -62
- package/src/components/organisms/navigationV2/components/atoms/PopupWrapper/index.tsx +0 -45
- package/src/components/organisms/navigationV2/components/atoms/SearchIcon.tsx +0 -22
- package/src/components/organisms/navigationV2/components/atoms/searchInput/index.tsx +0 -45
- package/src/components/organisms/navigationV2/components/molecules/Categories/index.styled.tsx +0 -74
- package/src/components/organisms/navigationV2/components/molecules/Categories/index.tsx +0 -115
- package/src/components/organisms/navigationV2/components/molecules/Spotlights/index.styled.tsx +0 -40
- package/src/components/organisms/navigationV2/components/molecules/Spotlights/index.tsx +0 -60
- package/src/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.styled.tsx +0 -155
- package/src/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.tsx +0 -103
- package/src/components/organisms/navigationV2/components/molecules/menuCareList/careSpotlights.tsx +0 -40
- package/src/components/organisms/navigationV2/components/molecules/menuCareList/index.styled.tsx +0 -29
- package/src/components/organisms/navigationV2/components/molecules/menuCareList/index.tsx +0 -65
- package/src/components/organisms/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.tsx +0 -46
- package/src/components/organisms/navigationV2/components/molecules/menuCategoriesList/Item/index.tsx +0 -50
- package/src/components/organisms/navigationV2/components/molecules/menuCategoriesList/categorySpotlights.tsx +0 -59
- package/src/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.styled.tsx +0 -30
- package/src/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.tsx +0 -64
- package/src/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.styled.tsx +0 -89
- package/src/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.tsx +0 -91
- package/src/components/organisms/navigationV2/components/molecules/menuCommunitiesList/communitySpotlights.tsx +0 -49
- package/src/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.styled.tsx +0 -42
- package/src/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.tsx +0 -56
- package/src/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.styled.tsx +0 -104
- package/src/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.tsx +0 -99
- package/src/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.styled.tsx +0 -18
- package/src/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.tsx +0 -65
- package/src/components/organisms/navigationV2/components/molecules/menuHealthToolsList/toolSpotlights.tsx +0 -41
- package/src/components/organisms/navigationV2/components/molecules/menuServiceList/index.styled.tsx +0 -358
- package/src/components/organisms/navigationV2/components/molecules/menuServiceList/index.tsx +0 -88
- package/src/components/organisms/navigationV2/components/molecules/navigationBar/hamburgerMenu.tsx +0 -74
- package/src/components/organisms/navigationV2/components/molecules/navigationBar/index.styled.tsx +0 -214
- package/src/components/organisms/navigationV2/components/molecules/navigationBar/index.tsx +0 -283
- package/src/components/organisms/navigationV2/components/molecules/navigationBar/navigationProfileButtonWithContext.tsx +0 -50
- package/src/components/organisms/navigationV2/components/molecules/spotlightNoData/index.styled.tsx +0 -70
- package/src/components/organisms/navigationV2/components/molecules/spotlightNoData/index.tsx +0 -74
- package/src/components/organisms/navigationV2/constants.ts +0 -277
- package/src/components/organisms/navigationV2/hooks/useHeaderHeight.tsx +0 -84
- package/src/components/organisms/navigationV2/hooks/useInsider.tsx +0 -67
- package/src/components/organisms/navigationV2/hooks/useNavConfig.tsx +0 -99
- package/src/components/organisms/navigationV2/hooks/useNavServices.tsx +0 -73
- package/src/components/organisms/navigationV2/index.stories.tsx +0 -287
- package/src/components/organisms/navigationV2/index.styled.tsx +0 -30
- package/src/components/organisms/navigationV2/index.tsx +0 -320
- package/src/components/organisms/navigationV2/navigationContext.tsx +0 -38
- package/src/components/organisms/navigationV2/types.ts +0 -307
- package/src/components/organisms/navigationV2/utils.tsx +0 -400
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-chevronDown.svg +0 -3
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-chevronRight.svg +0 -3
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-eCom.svg +0 -22
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-helpCircle.svg +0 -3
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-logOut.svg +0 -3
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-myBooking.svg +0 -36
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-myCommunity.svg +0 -19
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-myFamily.svg +0 -15
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-myHealth.svg +0 -13
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-mySaved.svg +0 -3
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-rank-ambassador.svg +0 -4
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-rank-doctor.svg +0 -4
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-rank-expert.svg +0 -4
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-rank-influencer.svg +0 -4
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-rank-member.svg +0 -8
- package/src/components/organisms/userProfileNavigation/assets/helloSites/icon-settingsWheel.svg +0 -3
- package/src/components/organisms/userProfileNavigation/assets/marryBaby/icon-arrowRight.svg +0 -3
- package/src/components/organisms/userProfileNavigation/assets/marryBaby/icon-lock.svg +0 -4
- package/src/components/organisms/userProfileNavigation/assets/marryBaby/icon-logOut.svg +0 -4
- package/src/components/organisms/userProfileNavigation/assets/marryBaby/icon-myCommunity.svg +0 -4
- package/src/components/organisms/userProfileNavigation/assets/marryBaby/icon-myHealth.svg +0 -6
- package/src/components/organisms/userProfileNavigation/assets/marryBaby/icon-mySaved.svg +0 -3
- package/src/components/organisms/userProfileNavigation/assets/marryBaby/icon-rank-ambassador.svg +0 -40
- package/src/components/organisms/userProfileNavigation/assets/marryBaby/icon-rank-doctor.svg +0 -40
- package/src/components/organisms/userProfileNavigation/assets/marryBaby/icon-rank-expert.svg +0 -27
- package/src/components/organisms/userProfileNavigation/assets/marryBaby/icon-rank-influencer.svg +0 -33
- package/src/components/organisms/userProfileNavigation/assets/marryBaby/icon-rank-member.svg +0 -33
- package/src/components/organisms/userProfileNavigation/constants.ts +0 -23
- package/src/components/organisms/userProfileNavigation/index.stories.tsx +0 -79
- package/src/components/organisms/userProfileNavigation/index.styled.ts +0 -60
- package/src/components/organisms/userProfileNavigation/index.tsx +0 -219
- package/src/components/organisms/userProfileNavigation/navHeader/index.styled.ts +0 -76
- package/src/components/organisms/userProfileNavigation/navHeader/index.tsx +0 -68
- package/src/components/organisms/userProfileNavigation/navMenu/index.styled.ts +0 -115
- package/src/components/organisms/userProfileNavigation/navMenu/index.tsx +0 -79
- package/src/components/organisms/userProfileNavigation/navMenu/items.ts +0 -38
- package/src/components/organisms/userProfileNavigation/navigationCard/index.styled.ts +0 -51
- package/src/components/organisms/userProfileNavigation/navigationCard/index.tsx +0 -96
- package/src/components/organisms/userProfileNavigation/types.ts +0 -35
- package/src/components/organisms/userProfileNavigation/userStats/index.styled.ts +0 -110
- package/src/components/organisms/userProfileNavigation/userStats/index.tsx +0 -78
- package/src/core.ts +0 -7
- package/src/docs/releases/getReleases.js +0 -56
- package/src/docs/releases/index.stories.mdx +0 -9
- package/src/ecom/dataFormatter/index.ts +0 -933
- package/src/ecom/dataFormatter/lib/apiTypes.ts +0 -623
- package/src/ecom/dataFormatter/lib/dataTypes.ts +0 -571
- package/src/ecom/dataFormatter/lib/utils.ts +0 -40
- package/src/ecom/index.tsx +0 -5
- package/src/ecom/interfaces/constants.ts +0 -1000
- package/src/ecom/interfaces/types.ts +0 -194
- package/src/hooks/useCSSFocusPopupHelper.ts +0 -32
- package/src/hooks/useDragScroll.ts +0 -55
- package/src/hooks/useDropdownSearch.tsx +0 -52
- package/src/hooks/useFbDataLayer.tsx +0 -49
- package/src/hooks/useGeolocation.ts +0 -86
- package/src/hooks/useGetIsMobile.ts +0 -20
- package/src/hooks/useImagesPicker.ts +0 -56
- package/src/hooks/useIsInit.ts +0 -9
- package/src/hooks/useOutsideClick.ts +0 -20
- package/src/hooks/useScreenSize.ts +0 -35
- package/src/hooks/useScrollbarSize.ts +0 -74
- package/src/hooks/useTranslations.tsx +0 -41
- package/src/i18n/en-PH.json +0 -235
- package/src/i18n/hi-IN.json +0 -235
- package/src/i18n/id-ID.json +0 -235
- package/src/i18n/index.ts +0 -3
- package/src/i18n/km-KH.json +0 -235
- package/src/i18n/ms-MY.json +0 -235
- package/src/i18n/my-MM.json +0 -235
- package/src/i18n/th-TH.json +0 -235
- package/src/i18n/tl-PH.json +0 -235
- package/src/i18n/translations.ts +0 -47
- package/src/i18n/translationsContext.ts +0 -12
- package/src/i18n/translationsProvider.tsx +0 -66
- package/src/i18n/vi-VN.json +0 -242
- package/src/i18n/zh-TW.json +0 -235
- package/src/index.ts +0 -12
- package/src/interfaces/constants.ts +0 -402
- package/src/interfaces/types.ts +0 -85
- package/src/misc/cookieHelper.tsx +0 -31
- package/src/misc/lazyLoad.ts +0 -7
- package/src/misc/mockTheme.tsx +0 -11
- package/src/misc/number.ts +0 -24
- package/src/misc/routing.tsx +0 -45
- package/src/misc/theme.ts +0 -186
- package/src/misc/utils.ts +0 -214
- package/src/test/testTranslationProvider.tsx +0 -14
- package/src/together/api/dataTransform.ts +0 -650
- package/src/together/api/paths.ts +0 -163
- package/src/together/api/utils.ts +0 -399
- package/src/together/assets/images/avatar-default.png +0 -0
- package/src/together/assets/images/icon-whatsapp.png +0 -0
- package/src/together/assets/images/icon-zalo.png +0 -0
- package/src/together/assets/marrybaby/svg/comment.svg +0 -4
- package/src/together/assets/marrybaby/svg/commentSolid.svg +0 -5
- package/src/together/assets/marrybaby/svg/commentWhite.svg +0 -4
- package/src/together/assets/marrybaby/svg/copy.svg +0 -1
- package/src/together/assets/marrybaby/svg/facebook.svg +0 -9
- package/src/together/assets/marrybaby/svg/heart.svg +0 -4
- package/src/together/assets/marrybaby/svg/heartSolid.svg +0 -4
- package/src/together/assets/marrybaby/svg/linkedin.svg +0 -6
- package/src/together/assets/marrybaby/svg/loading.svg +0 -15
- package/src/together/assets/marrybaby/svg/messenger.svg +0 -17
- package/src/together/assets/marrybaby/svg/more.svg +0 -6
- package/src/together/assets/marrybaby/svg/moreSolid.svg +0 -6
- package/src/together/assets/marrybaby/svg/pin.svg +0 -6
- package/src/together/assets/marrybaby/svg/pinOrange.svg +0 -6
- package/src/together/assets/marrybaby/svg/share.svg +0 -5
- package/src/together/assets/marrybaby/svg/share2.svg +0 -5
- package/src/together/assets/marrybaby/svg/sortBy.svg +0 -5
- package/src/together/assets/marrybaby/svg/twitter.svg +0 -4
- package/src/together/assets/marrybaby/svg/zalo.png +0 -0
- package/src/together/assets/svg/bullet-point.svg +0 -3
- package/src/together/assets/svg/chevronRightActive.svg +0 -3
- package/src/together/assets/svg/close-circle-line.svg +0 -5
- package/src/together/assets/svg/closeLight copy.svg +0 -4
- package/src/together/assets/svg/closeLight.svg +0 -4
- package/src/together/assets/svg/delete.svg +0 -13
- package/src/together/assets/svg/icon-alert-circle-primary.svg +0 -5
- package/src/together/assets/svg/icon-alert-circle-warning.svg +0 -5
- package/src/together/assets/svg/icon-alert-circle.svg +0 -5
- package/src/together/assets/svg/icon-arrow-circle-upgrade.svg +0 -3
- package/src/together/assets/svg/icon-arrow-left.svg +0 -4
- package/src/together/assets/svg/icon-arrow-right-circle.svg +0 -5
- package/src/together/assets/svg/icon-bell-off.svg +0 -7
- package/src/together/assets/svg/icon-bell-on.svg +0 -4
- package/src/together/assets/svg/icon-bookmark-fill.svg +0 -3
- package/src/together/assets/svg/icon-bookmark.svg +0 -3
- package/src/together/assets/svg/icon-cancel.svg +0 -13
- package/src/together/assets/svg/icon-check-gray.svg +0 -3
- package/src/together/assets/svg/icon-check-pink.svg +0 -3
- package/src/together/assets/svg/icon-check-success.svg +0 -4
- package/src/together/assets/svg/icon-check.svg +0 -4
- package/src/together/assets/svg/icon-chevron-left-dark.svg +0 -3
- package/src/together/assets/svg/icon-chevron-right-dark.svg +0 -3
- package/src/together/assets/svg/icon-chevron-right-white.svg +0 -3
- package/src/together/assets/svg/icon-chevron-right.svg +0 -3
- package/src/together/assets/svg/icon-close-circle-line.svg +0 -5
- package/src/together/assets/svg/icon-close-circle.svg +0 -5
- package/src/together/assets/svg/icon-close.svg +0 -4
- package/src/together/assets/svg/icon-edit.svg +0 -3
- package/src/together/assets/svg/icon-enter.svg +0 -4
- package/src/together/assets/svg/icon-facebook.svg +0 -3
- package/src/together/assets/svg/icon-heart-empty.svg +0 -3
- package/src/together/assets/svg/icon-heart-fill-red.svg +0 -3
- package/src/together/assets/svg/icon-heart-fill.svg +0 -3
- package/src/together/assets/svg/icon-kebab.svg +0 -5
- package/src/together/assets/svg/icon-link.svg +0 -4
- package/src/together/assets/svg/icon-linkedin.svg +0 -4
- package/src/together/assets/svg/icon-pin-gray.svg +0 -4
- package/src/together/assets/svg/icon-pin-yellow.svg +0 -4
- package/src/together/assets/svg/icon-pin.svg +0 -4
- package/src/together/assets/svg/icon-reply-arrow.svg +0 -3
- package/src/together/assets/svg/icon-reply-circle-empty.svg +0 -3
- package/src/together/assets/svg/icon-reply-circle-fill.svg +0 -3
- package/src/together/assets/svg/icon-share-on-media.svg +0 -7
- package/src/together/assets/svg/icon-sort-arrow.svg +0 -4
- package/src/together/assets/svg/icon-tab-edit-2.svg +0 -4
- package/src/together/assets/svg/icon-tab-edit-primary.svg +0 -4
- package/src/together/assets/svg/icon-trash-bin.svg +0 -6
- package/src/together/assets/svg/icon-twitter.svg +0 -4
- package/src/together/assets/svg/loading.svg +0 -7
- package/src/together/assets/svg/reviewer-author.svg +0 -12
- package/src/together/assets/svg/reviewer-editor.svg +0 -12
- package/src/together/assets/svg/reviewer-expert.svg +0 -5
- package/src/together/assets/svg/reviewer-fact-check.svg +0 -4
- package/src/together/assets/svg/reviewer-medical.svg +0 -4
- package/src/together/components/atoms/cardLink/index.styled.tsx +0 -64
- package/src/together/components/atoms/cardLink/index.tsx +0 -149
- package/src/together/components/atoms/cardReactions/index.styled.tsx +0 -96
- package/src/together/components/atoms/cardReactions/index.tsx +0 -221
- package/src/together/components/atoms/index.tsx +0 -8
- package/src/together/components/atoms/labelSortPin/index.styled.tsx +0 -78
- package/src/together/components/atoms/labelSortPin/index.tsx +0 -50
- package/src/together/components/atoms/labelSortPin/labelPin.tsx +0 -47
- package/src/together/components/atoms/labelSortPin/labelSorting.tsx +0 -127
- package/src/together/components/atoms/loading/index.styled.tsx +0 -42
- package/src/together/components/atoms/loading/index.tsx +0 -25
- package/src/together/components/atoms/loading/loadingCard.tsx +0 -38
- package/src/together/components/atoms/tagTopic/index.styled.tsx +0 -33
- package/src/together/components/atoms/tagTopic/index.tsx +0 -57
- package/src/together/components/atoms/userAvatar/index.styled.tsx +0 -39
- package/src/together/components/atoms/userAvatar/index.tsx +0 -62
- package/src/together/components/molecules/cardAuthor/customMMLocale/formatDistance.ts +0 -112
- package/src/together/components/molecules/cardAuthor/customMMLocale/index.ts +0 -16
- package/src/together/components/molecules/cardAuthor/customMMLocale/types.ts +0 -37
- package/src/together/components/molecules/cardAuthor/index.styled.tsx +0 -164
- package/src/together/components/molecules/cardAuthor/index.tsx +0 -314
- package/src/together/components/molecules/createNewPostContent/index.stories.tsx +0 -114
- package/src/together/components/molecules/createNewPostContent/index.styled.tsx +0 -73
- package/src/together/components/molecules/createNewPostContent/index.tsx +0 -351
- package/src/together/components/molecules/createPostDescription/editor.tsx +0 -915
- package/src/together/components/molecules/createPostDescription/index.styled.tsx +0 -328
- package/src/together/components/molecules/createPostDescription/index.tsx +0 -163
- package/src/together/components/molecules/createPostTitle/index.styled.tsx +0 -62
- package/src/together/components/molecules/createPostTitle/index.tsx +0 -133
- package/src/together/components/molecules/index.tsx +0 -18
- package/src/together/components/molecules/inputCommentBar/index.styled.tsx +0 -227
- package/src/together/components/molecules/inputCommentBar/index.tsx +0 -341
- package/src/together/components/molecules/inputCommentBar/mainInputTriggerContext.tsx +0 -26
- package/src/together/components/molecules/popupDanger/index.styled.tsx +0 -174
- package/src/together/components/molecules/popupDanger/index.tsx +0 -113
- package/src/together/components/molecules/popupDoctor/index.styled.tsx +0 -185
- package/src/together/components/molecules/popupDoctor/index.tsx +0 -271
- package/src/together/components/molecules/popupExpert/index.styled.tsx +0 -175
- package/src/together/components/molecules/popupExpert/index.tsx +0 -216
- package/src/together/components/molecules/popupFrame/index.styled.tsx +0 -76
- package/src/together/components/molecules/popupFrame/index.tsx +0 -43
- package/src/together/components/molecules/popupFrame/popupShare.tsx +0 -178
- package/src/together/components/molecules/popupHospital/index.styled.tsx +0 -173
- package/src/together/components/molecules/popupHospital/index.tsx +0 -249
- package/src/together/components/molecules/postContent/index.styled.tsx +0 -66
- package/src/together/components/molecules/postContent/index.tsx +0 -125
- package/src/together/components/molecules/postImagePreview/imagePreviewPopup.tsx +0 -73
- package/src/together/components/molecules/postImagePreview/index.styled.tsx +0 -154
- package/src/together/components/molecules/postImagePreview/index.tsx +0 -115
- package/src/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.styled.tsx +0 -84
- package/src/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.tsx +0 -83
- package/src/together/components/molecules/shareBox/index.stories.tsx +0 -36
- package/src/together/components/molecules/shareBox/index.styled.tsx +0 -141
- package/src/together/components/molecules/shareBox/index.tsx +0 -188
- package/src/together/components/molecules/socialLinkPreview/index.styled.tsx +0 -39
- package/src/together/components/molecules/socialLinkPreview/index.tsx +0 -206
- package/src/together/components/molecules/submitReportForm/index.styled.tsx +0 -34
- package/src/together/components/molecules/submitReportForm/index.tsx +0 -84
- package/src/together/components/molecules/topicSelectList/index.stories.tsx +0 -93
- package/src/together/components/molecules/topicSelectList/index.styled.tsx +0 -53
- package/src/together/components/molecules/topicSelectList/index.tsx +0 -186
- package/src/together/components/organisms/cardPost/cardPostPopover.tsx +0 -293
- package/src/together/components/organisms/cardPost/index.stories.tsx +0 -212
- package/src/together/components/organisms/cardPost/index.styled.tsx +0 -181
- package/src/together/components/organisms/cardPost/index.tsx +0 -458
- package/src/together/components/organisms/cardReply/cardReplyPopover.tsx +0 -122
- package/src/together/components/organisms/cardReply/index.styled.tsx +0 -199
- package/src/together/components/organisms/cardReply/index.tsx +0 -362
- package/src/together/components/organisms/index.tsx +0 -5
- package/src/together/components/organisms/popoverMenu/index.styled.tsx +0 -313
- package/src/together/components/organisms/popoverMenu/index.tsx +0 -102
- package/src/together/components/organisms/popoverMenu/treePopoverMenu.tsx +0 -156
- package/src/together/hooks/useTogetherAuthRequiredAction.tsx +0 -124
- package/src/together/index.ts +0 -12
- package/src/together/interfaces/constants.ts +0 -306
- package/src/together/interfaces/types.ts +0 -1418
- package/src/together/togetherComponentGlobalContext.tsx +0 -150
- package/src/together/utils/apiActions/comment.tsx +0 -168
- package/src/together/utils/apiActions/community.ts +0 -59
- package/src/together/utils/apiActions/post.ts +0 -234
- package/src/together/utils/apiActions/topic.ts +0 -40
- package/src/together/utils/notification.ts +0 -20
- package/src/together/utils/post.ts +0 -351
- package/tsconfig.json +0 -28
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React, { DetailedHTMLProps, ImgHTMLAttributes } from 'react'
|
|
2
|
-
|
|
3
|
-
export type Props = DetailedHTMLProps<
|
|
4
|
-
ImgHTMLAttributes<HTMLImageElement>,
|
|
5
|
-
HTMLImageElement
|
|
6
|
-
>
|
|
7
|
-
|
|
8
|
-
export const IndiaRoundIcon = (props: Props) => (
|
|
9
|
-
<img
|
|
10
|
-
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAgrSURBVHgB7ZxPTJNnHMe/T1sBpyIk8yRC1Ys7KHiZLBNSE7O5RDM96yJe/J8ounnQg3rQTJcNTDT+uYiJ92n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jUlYXbyVRPpxTY3+4PWVEnlZm6dJHqaXe61764Pfh4ybf1tXLYjHLEEnmH+zrTDcloK7pM62Gw/1DflJf+ZfS25nt4tkBZIZQLrHvKk9GF9xkJ5AQbmLOuLCTGmsa6dHUvYTiyoLnD5wX+uztrJ9lZytMvQZbMWonTkEeyvrQj9gvmrFP8wq7ZQ7AK7tXZyiM5vSH81W9rO2WyPaM3YUXAuXuH+qb9FX5u5MDQn4N/1H3TMACXJe1ezajP2lkKsvOk9sg872fkQE4CydDtwUDdhuWyERuRCbfZz5xkgV8pz3f9h3r8yJG8XtPR/GtLG1zR4yXbYKRRqAja7/3Ym7e3cQtyUUypidTpGsW5Kpen06/ntPmjoFcVmRZZSHE2Rbksq/mXtT64rTb5dQW/jI7SXFH4LRHX/1OfHwWmqNe1+Tp8Nf9EIj6XK7pZQTVaefuMshWSn3fTiuBGlccTKFS0JcPot0xQ6PuxsSaZzvvkT2mQtbZX/qCaqIJXWZM/AGSvw2XFYKmQhWjQslyhz9xufzGFTeZ/gBib8hsrKTYAAAAASUVORK5CYII="
|
|
11
|
-
style={{
|
|
12
|
-
borderRadius: '50%',
|
|
13
|
-
...props.style,
|
|
14
|
-
}}
|
|
15
|
-
{...props}
|
|
16
|
-
/>
|
|
17
|
-
)
|
|
18
|
-
|
|
19
|
-
export const IndiaSquareIcon = (props: Props) => (
|
|
20
|
-
<img
|
|
21
|
-
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABACAYAAADlNHIOAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAURSURBVHgB7Zy/jxtFFMff7Dmxr8E2xSEhkWwKqILOVoIUiaA4RDQgFOcvuLsOKjtlKtsV6WJXQULCTkEEBeTcUHHkIoKEFCT7CNWlsA8aLkKyHSR0DjkP832bWUyoENzNrPQ+kr27M7uR8r7zfsxb6xQ9g/6oUCK9UCatLxKpkIT/jqK++e7T/pGGev+74d+nnqLbp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z6BXhiHswZ5t1hcLH3JjDta9424rACkZfH+EEtT5aESCfz7CH5PNpDklIrvAOJGOlFM/hHDtmhC60pb1+N6A9p1b7hj2hXP48Xsn2aNvQONpWNY62HY1nfScRL2TQFY3aEFnOB1jV0X4g8gq7IcMbM1t+tttvJ+KFTKJeSaICwg4YIPRErYlJ3LLAWKVyKu4FJYHE/SzFtqCx4bJlKDzDVkRJMbxFfhfkGPldkGPUuzffEg9wiHr+aloEcIiEIMeIAI4RARwjAjhGBHCMCOAYEcAxIoBjRADHiACOgQBDEtygdD8gTV0S3KCpHwSk1klwwkwHjYXfN54MFy+k8qToDAmHhtLUGl2ZfspJeDad1uEOJBwOmrb2p4t1nC7ga2+T9tJv7H+mFlKL4gkHC1b+bLq4Oq6P//rj3fPkPsiEAc3qZmrZzMrfFP1/GKLYQb799YpZ7nP8CZLS5lD+sCLsAAAAAElFTkSuQmCC"
|
|
22
|
-
{...props}
|
|
23
|
-
/>
|
|
24
|
-
)
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import React, { SVGProps, useRef } from 'react'
|
|
2
|
-
|
|
3
|
-
export type Props = SVGProps<SVGSVGElement> & {
|
|
4
|
-
isTesting?: boolean
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export const IndonesiaRoundIcon = ({ isTesting, ...rest }: Props) => {
|
|
8
|
-
const maskId = useRef('id-flag-round-mask-' + (isTesting ? 1 : Math.random()))
|
|
9
|
-
return (
|
|
10
|
-
<svg
|
|
11
|
-
viewBox="0 0 20 20"
|
|
12
|
-
fill="none"
|
|
13
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
-
{...rest}
|
|
15
|
-
>
|
|
16
|
-
<mask
|
|
17
|
-
id={maskId.current}
|
|
18
|
-
style={{ maskType: 'alpha' }}
|
|
19
|
-
maskUnits="userSpaceOnUse"
|
|
20
|
-
x="0"
|
|
21
|
-
y="0"
|
|
22
|
-
width="20"
|
|
23
|
-
height="20"
|
|
24
|
-
>
|
|
25
|
-
<circle cx="10" cy="10" r="10" fill="#C4C4C4" />
|
|
26
|
-
</mask>
|
|
27
|
-
<g mask={`url(#${maskId.current})`}>
|
|
28
|
-
<rect width="20" height="10" fill="#CE1126" />
|
|
29
|
-
<rect y="10" width="20" height="10" fill="white" />
|
|
30
|
-
</g>
|
|
31
|
-
</svg>
|
|
32
|
-
)
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export const IndonesiaSquareIcon = ({ isTesting, ...rest }: Props) => {
|
|
36
|
-
const clipPathId = useRef('id-flag-clip-' + (isTesting ? 1 : Math.random()))
|
|
37
|
-
return (
|
|
38
|
-
<svg
|
|
39
|
-
viewBox="0 0 24 16"
|
|
40
|
-
fill="none"
|
|
41
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
42
|
-
{...rest}
|
|
43
|
-
>
|
|
44
|
-
<g clipPath={`url(#${clipPathId.current})`}>
|
|
45
|
-
<rect y="0.0166016" width="24" height="8" fill="#CE1126" />
|
|
46
|
-
<rect y="8.0166" width="24" height="8" fill="white" />
|
|
47
|
-
</g>
|
|
48
|
-
<defs>
|
|
49
|
-
<clipPath id={clipPathId.current}>
|
|
50
|
-
<rect width="24" height="16" rx="2" fill="white" />
|
|
51
|
-
</clipPath>
|
|
52
|
-
</defs>
|
|
53
|
-
</svg>
|
|
54
|
-
)
|
|
55
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import React, { SVGProps } from 'react'
|
|
2
|
-
|
|
3
|
-
export type Props = SVGProps<SVGSVGElement>
|
|
4
|
-
|
|
5
|
-
export const MalaysiaRoundIcon = (props: Props) => (
|
|
6
|
-
<svg
|
|
7
|
-
viewBox="0 0 20 20"
|
|
8
|
-
fill="none"
|
|
9
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
-
style={{
|
|
11
|
-
borderRadius: '50%',
|
|
12
|
-
...props.style,
|
|
13
|
-
}}
|
|
14
|
-
{...props}
|
|
15
|
-
>
|
|
16
|
-
<g>
|
|
17
|
-
<mask
|
|
18
|
-
style={{ maskType: 'alpha' }}
|
|
19
|
-
maskUnits="userSpaceOnUse"
|
|
20
|
-
x="0"
|
|
21
|
-
y="0"
|
|
22
|
-
width="20"
|
|
23
|
-
height="20"
|
|
24
|
-
>
|
|
25
|
-
<circle cx="10" cy="10" r="10" fill="#C4C4C4" />
|
|
26
|
-
</mask>
|
|
27
|
-
<rect y="1" width="20" height="20" fill="#CC0001" />
|
|
28
|
-
<rect y="16.106" width="20" height="1.02041" fill="white" />
|
|
29
|
-
<rect y="16" width="20" height="1.02041" fill="white" />
|
|
30
|
-
<rect y="18" width="20" height="1.02041" fill="white" />
|
|
31
|
-
<rect y="14.0652" width="20" height="1.02041" fill="white" />
|
|
32
|
-
<rect y="12.0242" width="20" height="1.02041" fill="white" />
|
|
33
|
-
<rect y="9.9834" width="20" height="1.02041" fill="white" />
|
|
34
|
-
<rect y="7.94263" width="20" height="1.02041" fill="white" />
|
|
35
|
-
<rect y="5.90186" width="20" height="1.02041" fill="white" />
|
|
36
|
-
<rect y="3.86084" width="20" height="1.02041" fill="white" />
|
|
37
|
-
<rect y="2" width="20" height="1.02041" fill="white" />
|
|
38
|
-
<rect width="20" height="1.02041" fill="white" />
|
|
39
|
-
<rect y="-1" width="10" height="12" fill="#010066" />
|
|
40
|
-
<path
|
|
41
|
-
fillRule="evenodd"
|
|
42
|
-
clipRule="evenodd"
|
|
43
|
-
d="M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z"
|
|
44
|
-
fill="#FFCC00"
|
|
45
|
-
/>
|
|
46
|
-
<path
|
|
47
|
-
fillRule="evenodd"
|
|
48
|
-
clipRule="evenodd"
|
|
49
|
-
d="M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z"
|
|
50
|
-
fill="#FFCC00"
|
|
51
|
-
/>
|
|
52
|
-
</g>
|
|
53
|
-
</svg>
|
|
54
|
-
)
|
|
55
|
-
|
|
56
|
-
export const MalaysiaSquareIcon = (props: Props) => (
|
|
57
|
-
<svg
|
|
58
|
-
viewBox="0 0 24 16"
|
|
59
|
-
fill="none"
|
|
60
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
61
|
-
{...props}
|
|
62
|
-
>
|
|
63
|
-
<rect width="24" height="16" rx="2" fill="#CC0001" />
|
|
64
|
-
<rect y="12.2712" width="24" height="0.777454" fill="white" />
|
|
65
|
-
<rect y="12.1904" width="24" height="0.777454" fill="white" />
|
|
66
|
-
<rect y="13.7144" width="24" height="0.777454" fill="white" />
|
|
67
|
-
<rect y="10.7161" width="24" height="0.777454" fill="white" />
|
|
68
|
-
<rect y="9.16138" width="24" height="0.777454" fill="white" />
|
|
69
|
-
<rect y="7.60645" width="24" height="0.777454" fill="white" />
|
|
70
|
-
<rect y="6.05127" width="24" height="0.777454" fill="white" />
|
|
71
|
-
<rect y="4.49658" width="24" height="0.777454" fill="white" />
|
|
72
|
-
<rect y="2.94141" width="24" height="0.777454" fill="white" />
|
|
73
|
-
<rect y="1.52393" width="24" height="0.777454" fill="white" />
|
|
74
|
-
<rect width="24" height="0.777454" fill="white" />
|
|
75
|
-
<path d="M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z" fill="#010066" />
|
|
76
|
-
<path
|
|
77
|
-
fillRule="evenodd"
|
|
78
|
-
clipRule="evenodd"
|
|
79
|
-
d="M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z"
|
|
80
|
-
fill="#FFCC00"
|
|
81
|
-
/>
|
|
82
|
-
<path
|
|
83
|
-
fillRule="evenodd"
|
|
84
|
-
clipRule="evenodd"
|
|
85
|
-
d="M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z"
|
|
86
|
-
fill="#FFCC00"
|
|
87
|
-
/>
|
|
88
|
-
</svg>
|
|
89
|
-
)
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import React, { SVGProps } from 'react'
|
|
2
|
-
|
|
3
|
-
export type Props = SVGProps<SVGSVGElement>
|
|
4
|
-
|
|
5
|
-
export const MyanmarRoundIcon = (props: Props) => (
|
|
6
|
-
<svg
|
|
7
|
-
viewBox="0 0 20 20"
|
|
8
|
-
fill="none"
|
|
9
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
-
style={{
|
|
11
|
-
borderRadius: '50%',
|
|
12
|
-
...props.style,
|
|
13
|
-
}}
|
|
14
|
-
{...props}
|
|
15
|
-
>
|
|
16
|
-
<g>
|
|
17
|
-
<mask
|
|
18
|
-
style={{ maskType: 'alpha' }}
|
|
19
|
-
maskUnits="userSpaceOnUse"
|
|
20
|
-
x="0"
|
|
21
|
-
y="0"
|
|
22
|
-
width="20"
|
|
23
|
-
height="20"
|
|
24
|
-
>
|
|
25
|
-
<circle cx="10" cy="10" r="10" fill="#C4C4C4" />
|
|
26
|
-
</mask>
|
|
27
|
-
<rect x="-4" y="-1" width="28" height="11" fill="#FECB00" />
|
|
28
|
-
<rect x="-4" y="10" width="28" height="10" fill="#EA2839" />
|
|
29
|
-
<rect x="-4" y="6.7041" width="28" height="6.47773" fill="#34B233" />
|
|
30
|
-
<path
|
|
31
|
-
fillRule="evenodd"
|
|
32
|
-
clipRule="evenodd"
|
|
33
|
-
d="M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z"
|
|
34
|
-
fill="white"
|
|
35
|
-
/>
|
|
36
|
-
<path
|
|
37
|
-
fillRule="evenodd"
|
|
38
|
-
clipRule="evenodd"
|
|
39
|
-
d="M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z"
|
|
40
|
-
fill="white"
|
|
41
|
-
/>
|
|
42
|
-
<path
|
|
43
|
-
fillRule="evenodd"
|
|
44
|
-
clipRule="evenodd"
|
|
45
|
-
d="M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z"
|
|
46
|
-
fill="white"
|
|
47
|
-
/>
|
|
48
|
-
<path
|
|
49
|
-
fillRule="evenodd"
|
|
50
|
-
clipRule="evenodd"
|
|
51
|
-
d="M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z"
|
|
52
|
-
fill="white"
|
|
53
|
-
/>
|
|
54
|
-
<path
|
|
55
|
-
fillRule="evenodd"
|
|
56
|
-
clipRule="evenodd"
|
|
57
|
-
d="M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z"
|
|
58
|
-
fill="white"
|
|
59
|
-
/>
|
|
60
|
-
</g>
|
|
61
|
-
</svg>
|
|
62
|
-
)
|
|
63
|
-
|
|
64
|
-
export const MyanmarSquareIcon = (props: Props) => (
|
|
65
|
-
<svg
|
|
66
|
-
viewBox="0 0 24 16"
|
|
67
|
-
fill="none"
|
|
68
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
69
|
-
{...props}
|
|
70
|
-
>
|
|
71
|
-
<rect width="24" height="16" rx="2" fill="#FECB00" />
|
|
72
|
-
<rect y="8.3811" width="24" height="7.61905" rx="2" fill="#EA2839" />
|
|
73
|
-
<rect y="5.86987" width="24" height="4.93542" fill="#34B233" />
|
|
74
|
-
<path
|
|
75
|
-
fillRule="evenodd"
|
|
76
|
-
clipRule="evenodd"
|
|
77
|
-
d="M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z"
|
|
78
|
-
fill="white"
|
|
79
|
-
/>
|
|
80
|
-
<path
|
|
81
|
-
fillRule="evenodd"
|
|
82
|
-
clipRule="evenodd"
|
|
83
|
-
d="M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z"
|
|
84
|
-
fill="white"
|
|
85
|
-
/>
|
|
86
|
-
<path
|
|
87
|
-
fillRule="evenodd"
|
|
88
|
-
clipRule="evenodd"
|
|
89
|
-
d="M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z"
|
|
90
|
-
fill="white"
|
|
91
|
-
/>
|
|
92
|
-
<path
|
|
93
|
-
fillRule="evenodd"
|
|
94
|
-
clipRule="evenodd"
|
|
95
|
-
d="M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z"
|
|
96
|
-
fill="white"
|
|
97
|
-
/>
|
|
98
|
-
<path
|
|
99
|
-
fillRule="evenodd"
|
|
100
|
-
clipRule="evenodd"
|
|
101
|
-
d="M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z"
|
|
102
|
-
fill="white"
|
|
103
|
-
/>
|
|
104
|
-
</svg>
|
|
105
|
-
)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React, { DetailedHTMLProps, ImgHTMLAttributes } from 'react'
|
|
2
|
-
|
|
3
|
-
export type Props = DetailedHTMLProps<
|
|
4
|
-
ImgHTMLAttributes<HTMLImageElement>,
|
|
5
|
-
HTMLImageElement
|
|
6
|
-
>
|
|
7
|
-
|
|
8
|
-
export const PhilippinesRoundIcon = (props: Props) => (
|
|
9
|
-
<img
|
|
10
|
-
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAkISURBVHgB5ZxbbBRVGMf/Z8C2gJdt4iWiyGhCYwIJrURFSXTxxRgvVH2oGg0Yb4kYC4kavAXwFo0mlKCJMRoWX4oPSnlQE6OyGi9gJC3RIkJip1K8K9ta7M2d4/ed3amzw95mdnaZmf0lZaazs7PdP//vnO9858wInEjiW2OYaIzDhA6hLaYjevYHtm0GKVLQpAGJFP1m0IFB2ibRNN6H5J0pnCAEaoklGLQ4CbECTpG8Y4DFFOZONE4kaylobQRc2k2CiU76uDiEjKH6JJSYX97WgypTPQHZbeOzO8lpa2okWj4MCvWNYHfuvtVAFfBfwGAI58Sgr5rA7o6N8Bl/BVzavYouuR7+tW1+YyhH7r41AZ/wR8Cl3TpdaivtxREGBHog5Vo/wlpDpVy6ncJV60VYxGMk2tXfrCKmMrw7UKUks9fT/+QahBkpurCnYy084k1AFbIUBhCLEQUE+sgIN3oJafcCZtq7XQhuR+EVg+y43K2I7gSMrngWhlsRyxcw+uJZGG5ELE/A+hHPwihXxHLTGB5T6qgfqDokdq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3dqEuhVkXjz1xjjaK4erBO3UgoivxGNePfoqwiK7FY1wvLmqjDxD0QcLH+eQAsM+LeExFD2DcG1vQJWw33oURTlU0c2qDVWF2S0UCMntjF64Swsz7hI+AQzmu2Lgk9X0XKqBiARluF9PC7NKKzakECZqSnIC400vIOvFFQIusGwP9EFquqpQaXbjBVwEt9sZaNgihbt7REQwoXLFZw2SX17auEFURkOGwNoH4CXZk1YSzqJqAdr6OtbRrGj851/0tZR5g0ZImtM0Xpw4kUWVqIqAFFybSaIhnxeR7lHX4g0HpyE5piiSvGKiW2/JRUwGdsKD/oqlVgxmnP2W+UILSnIxQwjrTIkP9K4UhM/v7JKRRa8Gc/AdAEy+OTW3A4AAAAABJRU5ErkJggg=="
|
|
11
|
-
style={{
|
|
12
|
-
borderRadius: '50%',
|
|
13
|
-
...props.style,
|
|
14
|
-
}}
|
|
15
|
-
{...props}
|
|
16
|
-
/>
|
|
17
|
-
)
|
|
18
|
-
|
|
19
|
-
export const PhilippinesSquareIcon = (props: Props) => (
|
|
20
|
-
<img
|
|
21
|
-
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABACAYAAADlNHIOAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAUySURBVHgB7ZxPaBxVHMe/b2LW1koSoSIKabc3oUoj+P9i4kVKBduTigcroj0oFsFDBaEJeKkemkUFqZWmJ5McpD1IxUuCNFEEyUoTGlckq22J2mI2ccPGLDuvv9/bnWWS7GY2u/MmuzPvA5uZ2Xl5LL/v7/d77/fbYQXW8+RXvRDiMCReoKs4DI0jkCR7JgE5gB9fTrtvWc6JlLKLXqdPvv7wGA0+DmN8/5Doob9HSYk5PDFyGr3nupxbQt0n49NhnF4H+Do9v4yBL2cw9M0cDBrgiLgz14fx1zJOBJxEyfhM/P5dOPfB4+rF5waf4YjI3cU2hyDvj9NxU1fvPztDETENg9/IPhZgiM5e9RrKaendwSQufH8dBp8QSLAA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jNdvJLBdkPH6ymgXwHj95mgVwHi9N1oEMF5fO74LYLx+a/gmgPH6+vBFAOP19dOQAMbrG6cuAQqLS/jn8/PG631gywJkL/9EXn8Cq3/egKFxWIA0aviNUPb6efL4m+T5Bt9Icjv6otco9npuGRvj+4uQIsnNuF46H6s0wHi9Xv6X1j5LCDFO54n1N43X60UKmXgqM5t2/3QxR0GP8fpA+EXI1d5HMumMcN5hEfI35vtTh145bnY4+mDPt+x8Pxufr8X6AVNdD8alZffDxgG6W/MPuho2JU2Gv2jbbRcey8yOu2/cBrGSER7V9LJCAAAAAElFTkSuQmCC"
|
|
22
|
-
{...props}
|
|
23
|
-
/>
|
|
24
|
-
)
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import React, { SVGProps } from 'react'
|
|
2
|
-
|
|
3
|
-
export type Props = SVGProps<SVGSVGElement>
|
|
4
|
-
|
|
5
|
-
export const TaiwanRoundIcon = (props: Props) => (
|
|
6
|
-
<svg
|
|
7
|
-
viewBox="0 0 20 20"
|
|
8
|
-
fill="none"
|
|
9
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
-
style={{
|
|
11
|
-
borderRadius: '50%',
|
|
12
|
-
...props.style,
|
|
13
|
-
}}
|
|
14
|
-
{...props}
|
|
15
|
-
>
|
|
16
|
-
<g>
|
|
17
|
-
<mask
|
|
18
|
-
style={{ maskType: 'alpha' }}
|
|
19
|
-
maskUnits="userSpaceOnUse"
|
|
20
|
-
x="0"
|
|
21
|
-
y="0"
|
|
22
|
-
width="20"
|
|
23
|
-
height="20"
|
|
24
|
-
>
|
|
25
|
-
<circle cx="10" cy="10" r="10" fill="#C4C4C4" />
|
|
26
|
-
</mask>
|
|
27
|
-
<circle cx="10" cy="10" r="10" fill="#D8D8D8" />
|
|
28
|
-
<g>
|
|
29
|
-
<mask
|
|
30
|
-
style={{ maskType: 'alpha' }}
|
|
31
|
-
maskUnits="userSpaceOnUse"
|
|
32
|
-
x="0"
|
|
33
|
-
y="0"
|
|
34
|
-
width="20"
|
|
35
|
-
height="20"
|
|
36
|
-
>
|
|
37
|
-
<circle cx="10" cy="10" r="10" fill="white" />
|
|
38
|
-
</mask>
|
|
39
|
-
<rect width="30" height="20" fill="#ED1E24" />
|
|
40
|
-
<rect width="15" height="10" fill="#2B2F84" />
|
|
41
|
-
<circle cx="7.49791" cy="4.99913" r="1.869" fill="white" />
|
|
42
|
-
<path
|
|
43
|
-
d="M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z"
|
|
44
|
-
fill="white"
|
|
45
|
-
/>
|
|
46
|
-
<path
|
|
47
|
-
d="M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z"
|
|
48
|
-
fill="white"
|
|
49
|
-
/>
|
|
50
|
-
<path
|
|
51
|
-
d="M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z"
|
|
52
|
-
fill="white"
|
|
53
|
-
/>
|
|
54
|
-
<path
|
|
55
|
-
d="M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z"
|
|
56
|
-
fill="white"
|
|
57
|
-
/>
|
|
58
|
-
<path
|
|
59
|
-
d="M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z"
|
|
60
|
-
fill="white"
|
|
61
|
-
/>
|
|
62
|
-
<path
|
|
63
|
-
d="M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z"
|
|
64
|
-
fill="white"
|
|
65
|
-
/>
|
|
66
|
-
<path
|
|
67
|
-
d="M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z"
|
|
68
|
-
fill="white"
|
|
69
|
-
/>
|
|
70
|
-
<path
|
|
71
|
-
d="M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z"
|
|
72
|
-
fill="white"
|
|
73
|
-
/>
|
|
74
|
-
<path
|
|
75
|
-
d="M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z"
|
|
76
|
-
fill="white"
|
|
77
|
-
/>
|
|
78
|
-
<path
|
|
79
|
-
d="M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z"
|
|
80
|
-
fill="white"
|
|
81
|
-
/>
|
|
82
|
-
<path
|
|
83
|
-
d="M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z"
|
|
84
|
-
fill="white"
|
|
85
|
-
/>
|
|
86
|
-
<path
|
|
87
|
-
d="M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z"
|
|
88
|
-
fill="white"
|
|
89
|
-
/>
|
|
90
|
-
</g>
|
|
91
|
-
</g>
|
|
92
|
-
</svg>
|
|
93
|
-
)
|
|
94
|
-
|
|
95
|
-
export const TaiwanSquareIcon = (props: Props) => (
|
|
96
|
-
<svg
|
|
97
|
-
viewBox="0 0 24 16"
|
|
98
|
-
fill="none"
|
|
99
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
100
|
-
{...props}
|
|
101
|
-
>
|
|
102
|
-
<rect width="24" height="16" rx="2" fill="#ED1E24" />
|
|
103
|
-
<path d="M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z" fill="#2B2F84" />
|
|
104
|
-
<circle cx="7.49791" cy="4.99913" r="1.869" fill="white" />
|
|
105
|
-
<path
|
|
106
|
-
d="M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z"
|
|
107
|
-
fill="white"
|
|
108
|
-
/>
|
|
109
|
-
<path
|
|
110
|
-
d="M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z"
|
|
111
|
-
fill="white"
|
|
112
|
-
/>
|
|
113
|
-
<path
|
|
114
|
-
d="M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z"
|
|
115
|
-
fill="white"
|
|
116
|
-
/>
|
|
117
|
-
<path
|
|
118
|
-
d="M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z"
|
|
119
|
-
fill="white"
|
|
120
|
-
/>
|
|
121
|
-
<path
|
|
122
|
-
d="M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z"
|
|
123
|
-
fill="white"
|
|
124
|
-
/>
|
|
125
|
-
<path
|
|
126
|
-
d="M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z"
|
|
127
|
-
fill="white"
|
|
128
|
-
/>
|
|
129
|
-
<path
|
|
130
|
-
d="M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z"
|
|
131
|
-
fill="white"
|
|
132
|
-
/>
|
|
133
|
-
<path
|
|
134
|
-
d="M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z"
|
|
135
|
-
fill="white"
|
|
136
|
-
/>
|
|
137
|
-
<path
|
|
138
|
-
d="M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z"
|
|
139
|
-
fill="white"
|
|
140
|
-
/>
|
|
141
|
-
<path
|
|
142
|
-
d="M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z"
|
|
143
|
-
fill="white"
|
|
144
|
-
/>
|
|
145
|
-
<path
|
|
146
|
-
d="M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z"
|
|
147
|
-
fill="white"
|
|
148
|
-
/>
|
|
149
|
-
<path
|
|
150
|
-
d="M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z"
|
|
151
|
-
fill="white"
|
|
152
|
-
/>
|
|
153
|
-
</svg>
|
|
154
|
-
)
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import React, { SVGProps } from 'react'
|
|
2
|
-
|
|
3
|
-
export type Props = SVGProps<SVGSVGElement>
|
|
4
|
-
|
|
5
|
-
export const ThailandRoundIcon = (props: Props) => (
|
|
6
|
-
<svg
|
|
7
|
-
viewBox="0 0 20 20"
|
|
8
|
-
fill="none"
|
|
9
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
-
style={{
|
|
11
|
-
borderRadius: '50%',
|
|
12
|
-
...props.style,
|
|
13
|
-
}}
|
|
14
|
-
{...props}
|
|
15
|
-
>
|
|
16
|
-
<g>
|
|
17
|
-
<mask
|
|
18
|
-
style={{ maskType: 'alpha' }}
|
|
19
|
-
maskUnits="userSpaceOnUse"
|
|
20
|
-
x="0"
|
|
21
|
-
y="0"
|
|
22
|
-
width="20"
|
|
23
|
-
height="20"
|
|
24
|
-
>
|
|
25
|
-
<circle cx="10" cy="10" r="10" fill="#C4C4C4" />
|
|
26
|
-
</mask>
|
|
27
|
-
<rect x="-4" y="-0.0166016" width="28" height="20" fill="#ED1C24" />
|
|
28
|
-
<rect x="-4" y="3.31665" width="28" height="13.3333" fill="white" />
|
|
29
|
-
<path
|
|
30
|
-
fillRule="evenodd"
|
|
31
|
-
clipRule="evenodd"
|
|
32
|
-
d="M-4 6.65015H24V13.3168H-4V6.65015Z"
|
|
33
|
-
fill="#241D4F"
|
|
34
|
-
/>
|
|
35
|
-
</g>
|
|
36
|
-
</svg>
|
|
37
|
-
)
|
|
38
|
-
|
|
39
|
-
export const ThailandSquareIcon = (props: Props) => (
|
|
40
|
-
<svg
|
|
41
|
-
viewBox="0 0 24 17"
|
|
42
|
-
fill="none"
|
|
43
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
44
|
-
{...props}
|
|
45
|
-
>
|
|
46
|
-
<rect y="0.983398" width="24" height="16" rx="2" fill="#ED1C24" />
|
|
47
|
-
<rect y="3.65039" width="24" height="10.6667" fill="white" />
|
|
48
|
-
<path
|
|
49
|
-
fillRule="evenodd"
|
|
50
|
-
clipRule="evenodd"
|
|
51
|
-
d="M0 6.31689H24V11.6502H0V6.31689Z"
|
|
52
|
-
fill="#241D4F"
|
|
53
|
-
/>
|
|
54
|
-
</svg>
|
|
55
|
-
)
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import React, { SVGProps } from 'react'
|
|
2
|
-
|
|
3
|
-
export type Props = SVGProps<SVGSVGElement>
|
|
4
|
-
|
|
5
|
-
export const VietnamRoundIcon = (props: Props) => (
|
|
6
|
-
<svg
|
|
7
|
-
viewBox="0 0 20 20"
|
|
8
|
-
fill="none"
|
|
9
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
-
style={{
|
|
11
|
-
borderRadius: '50%',
|
|
12
|
-
...props.style,
|
|
13
|
-
}}
|
|
14
|
-
{...props}
|
|
15
|
-
>
|
|
16
|
-
<g>
|
|
17
|
-
<mask
|
|
18
|
-
style={{ maskType: 'alpha' }}
|
|
19
|
-
maskUnits="userSpaceOnUse"
|
|
20
|
-
x="0"
|
|
21
|
-
y="0"
|
|
22
|
-
width="20"
|
|
23
|
-
height="20"
|
|
24
|
-
>
|
|
25
|
-
<circle cx="10" cy="10" r="10" fill="#C4C4C4" />
|
|
26
|
-
</mask>
|
|
27
|
-
<rect x="-4" y="-0.0166016" width="28" height="20" fill="#DA251D" />
|
|
28
|
-
<path
|
|
29
|
-
d="M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z"
|
|
30
|
-
fill="#FFEB3B"
|
|
31
|
-
/>
|
|
32
|
-
</g>
|
|
33
|
-
</svg>
|
|
34
|
-
)
|
|
35
|
-
|
|
36
|
-
export const VietnamSquareIcon = (props: Props) => (
|
|
37
|
-
<svg
|
|
38
|
-
viewBox="0 0 24 16"
|
|
39
|
-
fill="none"
|
|
40
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
41
|
-
{...props}
|
|
42
|
-
>
|
|
43
|
-
<g>
|
|
44
|
-
<clipPath>
|
|
45
|
-
<rect width="24" height="16" fill="white" />
|
|
46
|
-
</clipPath>
|
|
47
|
-
<path
|
|
48
|
-
d="M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z"
|
|
49
|
-
fill="#DA251D"
|
|
50
|
-
/>
|
|
51
|
-
<path
|
|
52
|
-
d="M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z"
|
|
53
|
-
fill="#FFEB3B"
|
|
54
|
-
/>
|
|
55
|
-
</g>
|
|
56
|
-
</svg>
|
|
57
|
-
)
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import { Story } from '@storybook/react/types-6-0'
|
|
4
|
-
|
|
5
|
-
import { Flag, Props } from '.'
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
component: Flag,
|
|
9
|
-
title: 'Atoms/Flag',
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
const Template: Story<Props> = (args) => <Flag {...args} />
|
|
13
|
-
|
|
14
|
-
export const Normal = Template.bind({})
|
|
15
|
-
|
|
16
|
-
Normal.args = {
|
|
17
|
-
country: 'VN',
|
|
18
|
-
rounded: false,
|
|
19
|
-
width: 100,
|
|
20
|
-
height: 100,
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export const Rounded = Template.bind({})
|
|
24
|
-
|
|
25
|
-
Rounded.args = {
|
|
26
|
-
country: 'TW',
|
|
27
|
-
rounded: true,
|
|
28
|
-
width: 100,
|
|
29
|
-
height: 100,
|
|
30
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components'
|
|
2
|
-
|
|
3
|
-
export const StyledFlag = styled.div`
|
|
4
|
-
--width: ${(props) => props.theme.width || 20};
|
|
5
|
-
--height: ${(props) => props.theme.height || 20};
|
|
6
|
-
|
|
7
|
-
width: calc(var(--width) * 1px);
|
|
8
|
-
height: calc(var(--height) * 1px);
|
|
9
|
-
img,
|
|
10
|
-
svg {
|
|
11
|
-
width: calc(var(--width) * 1px);
|
|
12
|
-
height: calc(var(--height) * 1px);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
img {
|
|
16
|
-
object-fit: contain;
|
|
17
|
-
}
|
|
18
|
-
`
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import { render, cleanup } from '@testing-library/react'
|
|
4
|
-
import 'jest-styled-components'
|
|
5
|
-
|
|
6
|
-
import { Flag } from '.'
|
|
7
|
-
import MockTheme from '../../../misc/mockTheme'
|
|
8
|
-
|
|
9
|
-
afterEach(cleanup)
|
|
10
|
-
|
|
11
|
-
test('it renders', () => {
|
|
12
|
-
const flag = render(
|
|
13
|
-
<MockTheme>
|
|
14
|
-
<Flag country="ID" width={100} height={100} isTesting />
|
|
15
|
-
</MockTheme>,
|
|
16
|
-
)
|
|
17
|
-
|
|
18
|
-
const self = flag.container.firstChild
|
|
19
|
-
|
|
20
|
-
expect(self).toMatchSnapshot()
|
|
21
|
-
})
|