@egov3/graphics 1.0.46
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/.github/workflows/publish.yml +61 -0
- package/package.json +33 -0
- package/src/Additional/AttachFileAdd.tsx +17 -0
- package/src/Additional/Refresh.tsx +17 -0
- package/src/Additional/SettingsFilled.tsx +17 -0
- package/src/Additional/SettingsOutline.tsx +19 -0
- package/src/Additional/Time.tsx +17 -0
- package/src/Additional/TimeFilled.tsx +19 -0
- package/src/Additional/index.ts +17 -0
- package/src/Basic/ArrowLeft.tsx +17 -0
- package/src/Basic/ArrowRight.tsx +17 -0
- package/src/Basic/ArrowUp.tsx +17 -0
- package/src/Basic/Check.tsx +17 -0
- package/src/Basic/ChevronDown.tsx +17 -0
- package/src/Basic/ChevronDownSmall.tsx +17 -0
- package/src/Basic/ChevronLeft.tsx +17 -0
- package/src/Basic/ChevronLeftSmall.tsx +17 -0
- package/src/Basic/ChevronRight.tsx +17 -0
- package/src/Basic/ChevronRightSmall.tsx +17 -0
- package/src/Basic/ChevronUp.tsx +17 -0
- package/src/Basic/ChevronUpSmall.tsx +17 -0
- package/src/Basic/index.ts +29 -0
- package/src/Emoji/Angry.tsx +17 -0
- package/src/Emoji/Frowning.tsx +17 -0
- package/src/Emoji/Grin.tsx +17 -0
- package/src/Emoji/Neutral.tsx +17 -0
- package/src/Emoji/Smile.tsx +17 -0
- package/src/Emoji/index.ts +15 -0
- package/src/General/Accessibility.tsx +19 -0
- package/src/General/Account.tsx +17 -0
- package/src/General/AccountFilled.tsx +17 -0
- package/src/General/Accreditation.tsx +37 -0
- package/src/General/AccreditationFilled.tsx +37 -0
- package/src/General/Add.tsx +17 -0
- package/src/General/Agroculture.tsx +38 -0
- package/src/General/AgrocultureFilled.tsx +38 -0
- package/src/General/Airplane.tsx +17 -0
- package/src/General/AirplaneFilled.tsx +17 -0
- package/src/General/Allowances.tsx +17 -0
- package/src/General/AllowancesFilled.tsx +17 -0
- package/src/General/Apostille.tsx +17 -0
- package/src/General/ApostilleFilled.tsx +17 -0
- package/src/General/Archive.tsx +17 -0
- package/src/General/ArchiveFilled.tsx +17 -0
- package/src/General/Bag.tsx +21 -0
- package/src/General/BagFilled.tsx +19 -0
- package/src/General/BagSearch.tsx +23 -0
- package/src/General/BagSearchFilled.tsx +23 -0
- package/src/General/Balance.tsx +17 -0
- package/src/General/BalanceFilled.tsx +17 -0
- package/src/General/BankFolder.tsx +21 -0
- package/src/General/BankFolderFilled.tsx +19 -0
- package/src/General/Book.tsx +19 -0
- package/src/General/BookFilled.tsx +27 -0
- package/src/General/Brain.tsx +17 -0
- package/src/General/BrainFilled.tsx +17 -0
- package/src/General/Broadcasttv.tsx +17 -0
- package/src/General/BroadcasttvFilled.tsx +17 -0
- package/src/General/BurgerMenu.tsx +17 -0
- package/src/General/BusFront.tsx +17 -0
- package/src/General/BusFrontFilled.tsx +17 -0
- package/src/General/Business.tsx +17 -0
- package/src/General/BusinessFilled.tsx +17 -0
- package/src/General/BusinessRegistration.tsx +17 -0
- package/src/General/BusinessRegistrationFilled.tsx +19 -0
- package/src/General/Calendar.tsx +17 -0
- package/src/General/CalendarFilled.tsx +17 -0
- package/src/General/Call.tsx +17 -0
- package/src/General/Camera.tsx +17 -0
- package/src/General/CameraFilled.tsx +17 -0
- package/src/General/Car.tsx +17 -0
- package/src/General/CarFilled.tsx +17 -0
- package/src/General/Card.tsx +17 -0
- package/src/General/Chat.tsx +17 -0
- package/src/General/ChatFilled.tsx +37 -0
- package/src/General/CheckboxEmpty.tsx +17 -0
- package/src/General/CheckboxEmptyFilled.tsx +17 -0
- package/src/General/CheckedFilled.tsx +19 -0
- package/src/General/CheckedRound.tsx +17 -0
- package/src/General/Chevronincircleleft.tsx +17 -0
- package/src/General/ChevronincircleleftFilled.tsx +19 -0
- package/src/General/ChildFace.tsx +17 -0
- package/src/General/ChildFaceFilled.tsx +17 -0
- package/src/General/City.tsx +19 -0
- package/src/General/CityFilled.tsx +17 -0
- package/src/General/Clear.tsx +19 -0
- package/src/General/ClearAlternative.tsx +17 -0
- package/src/General/Close.tsx +17 -0
- package/src/General/College.tsx +53 -0
- package/src/General/CollegeFilled.tsx +37 -0
- package/src/General/Construction.tsx +29 -0
- package/src/General/ConstructionFilled.tsx +29 -0
- package/src/General/Copy.tsx +17 -0
- package/src/General/Copyright.tsx +17 -0
- package/src/General/Copyright1.tsx +17 -0
- package/src/General/CopyrightFilled.tsx +17 -0
- package/src/General/Court.tsx +55 -0
- package/src/General/CourtFilled.tsx +55 -0
- package/src/General/Cow.tsx +37 -0
- package/src/General/Cow1.tsx +17 -0
- package/src/General/CowFilled.tsx +37 -0
- package/src/General/CowFilled1.tsx +17 -0
- package/src/General/Customs.tsx +17 -0
- package/src/General/CustomsFilled.tsx +23 -0
- package/src/General/CustomsTaxes.tsx +17 -0
- package/src/General/CustomsTaxesFilled.tsx +17 -0
- package/src/General/DebitCard.tsx +21 -0
- package/src/General/DebitCardFilled.tsx +19 -0
- package/src/General/DigitalId.tsx +23 -0
- package/src/General/DisabilitySupport.tsx +17 -0
- package/src/General/DisabilitySupportFilled.tsx +19 -0
- package/src/General/Doc.tsx +17 -0
- package/src/General/DocFilled.tsx +17 -0
- package/src/General/DocumentDiagram.tsx +17 -0
- package/src/General/DocumentDiagramFilled.tsx +17 -0
- package/src/General/DocumentTable.tsx +17 -0
- package/src/General/DocumentTableFilled.tsx +17 -0
- package/src/General/DragIndicator.tsx +17 -0
- package/src/General/DriverLicense.tsx +27 -0
- package/src/General/Earth.tsx +17 -0
- package/src/General/EarthFilled.tsx +17 -0
- package/src/General/Edit.tsx +17 -0
- package/src/General/EditFilled.tsx +17 -0
- package/src/General/EditNote.tsx +17 -0
- package/src/General/Education.tsx +17 -0
- package/src/General/EducationFilled.tsx +17 -0
- package/src/General/Emergency.tsx +17 -0
- package/src/General/EmergencyFilled.tsx +17 -0
- package/src/General/Employment.tsx +37 -0
- package/src/General/EmploymentFilled.tsx +37 -0
- package/src/General/Error.tsx +17 -0
- package/src/General/Factory.tsx +31 -0
- package/src/General/FactoryFilled.tsx +19 -0
- package/src/General/Family.tsx +17 -0
- package/src/General/FamilyFilled.tsx +17 -0
- package/src/General/FamilyHelp.tsx +17 -0
- package/src/General/FamilyHelpFilled.tsx +17 -0
- package/src/General/Finance.tsx +17 -0
- package/src/General/FinanceFilled.tsx +17 -0
- package/src/General/FinanceIncome.tsx +17 -0
- package/src/General/FinanceIncomeFilled.tsx +17 -0
- package/src/General/Fingerprint.tsx +17 -0
- package/src/General/Flag.tsx +17 -0
- package/src/General/FlagFilled.tsx +17 -0
- package/src/General/FolderOpened.tsx +17 -0
- package/src/General/FolderOpenedFilled.tsx +17 -0
- package/src/General/Foreigner.tsx +25 -0
- package/src/General/ForeignerFilled.tsx +25 -0
- package/src/General/Forest.tsx +17 -0
- package/src/General/ForestFilled.tsx +17 -0
- package/src/General/GoingAbroad.tsx +17 -0
- package/src/General/GoingAbroadFilled.tsx +17 -0
- package/src/General/GuardianshipChild.tsx +17 -0
- package/src/General/GuardianshipChildFilled.tsx +19 -0
- package/src/General/Hand.tsx +17 -0
- package/src/General/HandFilled.tsx +17 -0
- package/src/General/Handshake.tsx +17 -0
- package/src/General/HandshakeFilled.tsx +17 -0
- package/src/General/Health.tsx +17 -0
- package/src/General/Heart.tsx +17 -0
- package/src/General/HeartFilled.tsx +17 -0
- package/src/General/Help.tsx +17 -0
- package/src/General/HelpCenterArticle.tsx +17 -0
- package/src/General/HelpCenterArticleFilled.tsx +19 -0
- package/src/General/Hourglass.tsx +17 -0
- package/src/General/HousServices.tsx +17 -0
- package/src/General/HousServicesFilled.tsx +17 -0
- package/src/General/HousingRelations.tsx +17 -0
- package/src/General/HousingRelationsFilled.tsx +19 -0
- package/src/General/InfoFilled.tsx +17 -0
- package/src/General/InfoStroke.tsx +17 -0
- package/src/General/Internet.tsx +17 -0
- package/src/General/Job.tsx +17 -0
- package/src/General/JobFilled.tsx +17 -0
- package/src/General/Key.tsx +17 -0
- package/src/General/KeyFilled.tsx +17 -0
- package/src/General/Language.tsx +26 -0
- package/src/General/Law.tsx +17 -0
- package/src/General/LawFilled.tsx +17 -0
- package/src/General/Leaf.tsx +17 -0
- package/src/General/LeafFilled.tsx +17 -0
- package/src/General/License.tsx +49 -0
- package/src/General/LicenseFilled.tsx +57 -0
- package/src/General/Licenses.tsx +43 -0
- package/src/General/LicensesFilled.tsx +43 -0
- package/src/General/Like.tsx +17 -0
- package/src/General/ListMenu.tsx +17 -0
- package/src/General/ListSquare.tsx +17 -0
- package/src/General/Loader.tsx +17 -0
- package/src/General/Loan.tsx +17 -0
- package/src/General/LoanFilled.tsx +17 -0
- package/src/General/LocationUser.tsx +25 -0
- package/src/General/LocationUserFilled.tsx +19 -0
- package/src/General/Lock.tsx +17 -0
- package/src/General/Logout.tsx +17 -0
- package/src/General/Medicine.tsx +17 -0
- package/src/General/MedicineBriefcase.tsx +27 -0
- package/src/General/MedicineBriefcaseFilled.tsx +21 -0
- package/src/General/MedicineCertification.tsx +17 -0
- package/src/General/MedicineCertificationFilled.tsx +19 -0
- package/src/General/MedicineFilled.tsx +17 -0
- package/src/General/MedicineHelp.tsx +17 -0
- package/src/General/MedicineHelpFilled.tsx +17 -0
- package/src/General/Message.tsx +17 -0
- package/src/General/MessageListFilled.tsx +17 -0
- package/src/General/MessageListOutline.tsx +17 -0
- package/src/General/MessagesCheck.tsx +17 -0
- package/src/General/Microphone.tsx +17 -0
- package/src/General/MicrophoneFilled.tsx +17 -0
- package/src/General/MilitaryService.tsx +17 -0
- package/src/General/MilitaryServiceFilled.tsx +17 -0
- package/src/General/Mining.tsx +73 -0
- package/src/General/MiningFilled.tsx +19 -0
- package/src/General/Money.tsx +17 -0
- package/src/General/MoneyFilled.tsx +17 -0
- package/src/General/More.tsx +17 -0
- package/src/General/MoreRoundFilled.tsx +19 -0
- package/src/General/MyDocument.tsx +28 -0
- package/src/General/MyDocumentFilled.tsx +19 -0
- package/src/General/Nature.tsx +37 -0
- package/src/General/NatureFilled.tsx +37 -0
- package/src/General/Notification.tsx +17 -0
- package/src/General/NotificationFilled.tsx +17 -0
- package/src/General/OnlineRegistry.tsx +19 -0
- package/src/General/OnlineRegistryFilled.tsx +19 -0
- package/src/General/PaperClip.tsx +17 -0
- package/src/General/Passport.tsx +26 -0
- package/src/General/Pension.tsx +17 -0
- package/src/General/PensionFilled.tsx +17 -0
- package/src/General/Permits.tsx +31 -0
- package/src/General/PermitsFilled.tsx +19 -0
- package/src/General/PersonalData.tsx +17 -0
- package/src/General/PersonalDataFilled.tsx +17 -0
- package/src/General/PersonalId.tsx +23 -0
- package/src/General/PersonalIdFilled.tsx +19 -0
- package/src/General/Pharmacy.tsx +29 -0
- package/src/General/PharmacyFilled.tsx +19 -0
- package/src/General/Phone.tsx +17 -0
- package/src/General/PieChart.tsx +17 -0
- package/src/General/PieChartFilled.tsx +17 -0
- package/src/General/PublicOrder.tsx +17 -0
- package/src/General/PublicOrderFilled.tsx +17 -0
- package/src/General/QrCodeFilled.tsx +17 -0
- package/src/General/QrCodeOutline.tsx +17 -0
- package/src/General/QrCodeScan.tsx +17 -0
- package/src/General/RadioButton.tsx +30 -0
- package/src/General/RadioButtonChecked.tsx +30 -0
- package/src/General/RealEstate.tsx +21 -0
- package/src/General/RealEstateFilled.tsx +19 -0
- package/src/General/Recycling.tsx +37 -0
- package/src/General/Reduce.tsx +14 -0
- package/src/General/Registry.tsx +17 -0
- package/src/General/RegistryFilled.tsx +17 -0
- package/src/General/Regulation.tsx +17 -0
- package/src/General/RegulationFilled.tsx +17 -0
- package/src/General/Request.tsx +37 -0
- package/src/General/Resume.tsx +37 -0
- package/src/General/ResumeFilled.tsx +37 -0
- package/src/General/RingsFamily.tsx +23 -0
- package/src/General/Schedule.tsx +17 -0
- package/src/General/ScheduleFilled.tsx +17 -0
- package/src/General/Science.tsx +49 -0
- package/src/General/ScienceFilled.tsx +29 -0
- package/src/General/Search.tsx +17 -0
- package/src/General/SecondaryEducation.tsx +25 -0
- package/src/General/SecondaryEducationFilled.tsx +21 -0
- package/src/General/ServicesFilled.tsx +17 -0
- package/src/General/ServicesOutline.tsx +17 -0
- package/src/General/ShareV1.tsx +17 -0
- package/src/General/ShareV2.tsx +17 -0
- package/src/General/Shield.tsx +21 -0
- package/src/General/ShieldFailed.tsx +21 -0
- package/src/General/ShieldFilled.tsx +19 -0
- package/src/General/ShieldSuccess.tsx +21 -0
- package/src/General/ShieldSuccessFilled.tsx +19 -0
- package/src/General/ShieldWarninng.tsx +25 -0
- package/src/General/Ship.tsx +17 -0
- package/src/General/ShipFilled.tsx +17 -0
- package/src/General/SmileFace.tsx +17 -0
- package/src/General/SocialRegistry.tsx +45 -0
- package/src/General/SocialRegistry1.tsx +25 -0
- package/src/General/SoftwareRegistry.tsx +19 -0
- package/src/General/SoftwareRegistryFilled.tsx +22 -0
- package/src/General/Sport.tsx +17 -0
- package/src/General/SportFilled.tsx +17 -0
- package/src/General/Sputnik.tsx +17 -0
- package/src/General/SputnikFilled.tsx +17 -0
- package/src/General/Star.tsx +24 -0
- package/src/General/StarFilled.tsx +24 -0
- package/src/General/State.tsx +17 -0
- package/src/General/StateFilled.tsx +18 -0
- package/src/General/Theaters.tsx +17 -0
- package/src/General/TheatersFilled.tsx +17 -0
- package/src/General/Ticket.tsx +21 -0
- package/src/General/TicketFilled.tsx +17 -0
- package/src/General/Tourism.tsx +17 -0
- package/src/General/TourismFilled.tsx +17 -0
- package/src/General/Toys.tsx +17 -0
- package/src/General/ToysFilled.tsx +17 -0
- package/src/General/Train.tsx +17 -0
- package/src/General/TrainFilled.tsx +17 -0
- package/src/General/Trash.tsx +17 -0
- package/src/General/TrashFilled.tsx +17 -0
- package/src/General/TreeFruits.tsx +17 -0
- package/src/General/TreeFruitsFilled.tsx +17 -0
- package/src/General/Truck.tsx +17 -0
- package/src/General/TruckFilled.tsx +17 -0
- package/src/General/University.tsx +37 -0
- package/src/General/UniversityFilled.tsx +33 -0
- package/src/General/Unlock.tsx +17 -0
- package/src/General/Update.tsx +17 -0
- package/src/General/VeterinaryControl.tsx +17 -0
- package/src/General/VeterinaryControlFilled.tsx +19 -0
- package/src/General/ViewGrid.tsx +17 -0
- package/src/General/ViewGridFilled.tsx +17 -0
- package/src/General/ViewList.tsx +17 -0
- package/src/General/ViewListFilled.tsx +14 -0
- package/src/General/WarningFilled.tsx +19 -0
- package/src/General/index.ts +585 -0
- package/src/Logo/ApplePay.tsx +26 -0
- package/src/Logo/Con1.tsx +36 -0
- package/src/Logo/Egov.tsx +23 -0
- package/src/Logo/Eotinish.tsx +88 -0
- package/src/Logo/Halyk.tsx +28 -0
- package/src/Logo/Kaspi.tsx +26 -0
- package/src/Logo/Mastercard.tsx +40 -0
- package/src/Logo/Salyq.tsx +39 -0
- package/src/Logo/index.ts +21 -0
- package/src/NavigationBar/HomeFilled.tsx +17 -0
- package/src/NavigationBar/HomeOutline.tsx +17 -0
- package/src/NavigationBar/MessageListFilled.tsx +17 -0
- package/src/NavigationBar/MessageListOutline.tsx +17 -0
- package/src/NavigationBar/QrCodeFilled.tsx +17 -0
- package/src/NavigationBar/QrCodeOutline.tsx +17 -0
- package/src/NavigationBar/ServicesFilled.tsx +17 -0
- package/src/NavigationBar/ServicesOutline.tsx +17 -0
- package/src/NavigationBar/index.ts +21 -0
- package/src/Stories/Additional.stories.tsx +46 -0
- package/src/Stories/Basic.stories.tsx +46 -0
- package/src/Stories/CardWrapperItem.tsx +29 -0
- package/src/Stories/Emoji.stories.tsx +46 -0
- package/src/Stories/General.stories.tsx +46 -0
- package/src/Stories/Logo.stories.tsx +46 -0
- package/src/Stories/NavigationBar.stories.tsx +46 -0
- package/src/index.ts +17 -0
- package/tsconfig.json +19 -0
- package/tsup.config.ts +12 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
export const ServicesFilled = (props: React.SVGProps<SVGSVGElement>) => (
|
|
4
|
+
<svg
|
|
5
|
+
width="24"
|
|
6
|
+
height="24"
|
|
7
|
+
viewBox="0 0 24 24"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
{...props}
|
|
10
|
+
fill="none"
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
d="M19 3H5V5H19V3ZM3 7V21H21V7H3ZM13 16.95H8V15.05H13V16.95ZM16 12.95H8V11.05H16V12.95Z"
|
|
14
|
+
fill={props.fill ?? "black"}
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
export const ServicesOutline = (props: React.SVGProps<SVGSVGElement>) => (
|
|
4
|
+
<svg
|
|
5
|
+
width="24"
|
|
6
|
+
height="24"
|
|
7
|
+
viewBox="0 0 24 24"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
{...props}
|
|
10
|
+
fill="none"
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
d="M3 7V21H21V7H3ZM19 19H5V9H19V19ZM19 3H5V5H19V3ZM13 15.05H8V16.95H13V15.05ZM16 11.05H8V12.95H16V11.05Z"
|
|
14
|
+
fill={props.fill ?? "black"}
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HomeFilled } from './HomeFilled';
|
|
2
|
+
import { HomeOutline } from './HomeOutline';
|
|
3
|
+
import { MessageListFilled } from './MessageListFilled';
|
|
4
|
+
import { MessageListOutline } from './MessageListOutline';
|
|
5
|
+
import { QrCodeFilled } from './QrCodeFilled';
|
|
6
|
+
import { QrCodeOutline } from './QrCodeOutline';
|
|
7
|
+
import { ServicesFilled } from './ServicesFilled';
|
|
8
|
+
import { ServicesOutline } from './ServicesOutline';
|
|
9
|
+
|
|
10
|
+
const NavigationBar = {
|
|
11
|
+
HomeFilled,
|
|
12
|
+
HomeOutline,
|
|
13
|
+
MessageListFilled,
|
|
14
|
+
MessageListOutline,
|
|
15
|
+
QrCodeFilled,
|
|
16
|
+
QrCodeOutline,
|
|
17
|
+
ServicesFilled,
|
|
18
|
+
ServicesOutline
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export default NavigationBar;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
import Additional from "../Additional";
|
|
6
|
+
import { CardWrapperItem } from "./CardWrapperItem";
|
|
7
|
+
|
|
8
|
+
const DefaultAdditionalComponent = () => (
|
|
9
|
+
<CardWrapperItem>
|
|
10
|
+
<div
|
|
11
|
+
style={{
|
|
12
|
+
borderRadius: "12px",
|
|
13
|
+
display: "flex",
|
|
14
|
+
justifyContent: "center",
|
|
15
|
+
}}
|
|
16
|
+
>
|
|
17
|
+
<div
|
|
18
|
+
style={{
|
|
19
|
+
display: "flex",
|
|
20
|
+
flexDirection: "column",
|
|
21
|
+
}}
|
|
22
|
+
>
|
|
23
|
+
{Object.entries(Additional).map(([fieldName, Component]) => (
|
|
24
|
+
<div
|
|
25
|
+
key={fieldName}
|
|
26
|
+
style={{
|
|
27
|
+
display: "flex",
|
|
28
|
+
justifyContent: "space-between",
|
|
29
|
+
}}
|
|
30
|
+
>
|
|
31
|
+
{fieldName}: <Component key={fieldName} />
|
|
32
|
+
</div>
|
|
33
|
+
))}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</CardWrapperItem>
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export const AdditionalStory = () => <DefaultAdditionalComponent />;
|
|
40
|
+
|
|
41
|
+
const meta = {
|
|
42
|
+
title: "Additional",
|
|
43
|
+
component: Additional,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default meta;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
import Basic from "../Basic";
|
|
6
|
+
import { CardWrapperItem } from "./CardWrapperItem";
|
|
7
|
+
|
|
8
|
+
const DefaultBasicComponent = () => (
|
|
9
|
+
<CardWrapperItem>
|
|
10
|
+
<div
|
|
11
|
+
style={{
|
|
12
|
+
borderRadius: "12px",
|
|
13
|
+
display: "flex",
|
|
14
|
+
justifyContent: "center",
|
|
15
|
+
}}
|
|
16
|
+
>
|
|
17
|
+
<div
|
|
18
|
+
style={{
|
|
19
|
+
display: "flex",
|
|
20
|
+
flexDirection: "column",
|
|
21
|
+
}}
|
|
22
|
+
>
|
|
23
|
+
{Object.entries(Basic).map(([fieldName, Component]) => (
|
|
24
|
+
<div
|
|
25
|
+
key={fieldName}
|
|
26
|
+
style={{
|
|
27
|
+
display: "flex",
|
|
28
|
+
justifyContent: "space-between",
|
|
29
|
+
}}
|
|
30
|
+
>
|
|
31
|
+
{fieldName}: <Component key={fieldName} />
|
|
32
|
+
</div>
|
|
33
|
+
))}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</CardWrapperItem>
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export const BasicStory = () => <DefaultBasicComponent />;
|
|
40
|
+
|
|
41
|
+
const meta = {
|
|
42
|
+
title: "Basic",
|
|
43
|
+
component: Basic,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default meta;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
export const CardWrapperItem = ({
|
|
4
|
+
children,
|
|
5
|
+
}: {
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}) => (
|
|
8
|
+
<div
|
|
9
|
+
style={{
|
|
10
|
+
display: "flex",
|
|
11
|
+
justifyContent: "center",
|
|
12
|
+
minHeight: "100px",
|
|
13
|
+
}}
|
|
14
|
+
>
|
|
15
|
+
<div
|
|
16
|
+
style={{
|
|
17
|
+
backgroundColor: "bisque",
|
|
18
|
+
padding: "9px",
|
|
19
|
+
display: "flex",
|
|
20
|
+
width: "80%",
|
|
21
|
+
flexDirection: "column",
|
|
22
|
+
borderRadius: "20px",
|
|
23
|
+
justifyContent: "center",
|
|
24
|
+
}}
|
|
25
|
+
>
|
|
26
|
+
{children}
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
import Emoji from "../Emoji";
|
|
6
|
+
import { CardWrapperItem } from "./CardWrapperItem";
|
|
7
|
+
|
|
8
|
+
const DefaultEmojiComponent = () => (
|
|
9
|
+
<CardWrapperItem>
|
|
10
|
+
<div
|
|
11
|
+
style={{
|
|
12
|
+
borderRadius: "12px",
|
|
13
|
+
display: "flex",
|
|
14
|
+
justifyContent: "center",
|
|
15
|
+
}}
|
|
16
|
+
>
|
|
17
|
+
<div
|
|
18
|
+
style={{
|
|
19
|
+
display: "flex",
|
|
20
|
+
flexDirection: "column",
|
|
21
|
+
}}
|
|
22
|
+
>
|
|
23
|
+
{Object.entries(Emoji).map(([fieldName, Component]) => (
|
|
24
|
+
<div
|
|
25
|
+
key={fieldName}
|
|
26
|
+
style={{
|
|
27
|
+
display: "flex",
|
|
28
|
+
justifyContent: "space-between",
|
|
29
|
+
}}
|
|
30
|
+
>
|
|
31
|
+
{fieldName}: <Component key={fieldName} />
|
|
32
|
+
</div>
|
|
33
|
+
))}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</CardWrapperItem>
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export const EmojiStory = () => <DefaultEmojiComponent />;
|
|
40
|
+
|
|
41
|
+
const meta = {
|
|
42
|
+
title: "Emoji",
|
|
43
|
+
component: Emoji,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default meta;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
import General from "../General";
|
|
6
|
+
import { CardWrapperItem } from "./CardWrapperItem";
|
|
7
|
+
|
|
8
|
+
const DefaultGeneralComponent = () => (
|
|
9
|
+
<CardWrapperItem>
|
|
10
|
+
<div
|
|
11
|
+
style={{
|
|
12
|
+
borderRadius: "12px",
|
|
13
|
+
display: "flex",
|
|
14
|
+
justifyContent: "center",
|
|
15
|
+
}}
|
|
16
|
+
>
|
|
17
|
+
<div
|
|
18
|
+
style={{
|
|
19
|
+
display: "flex",
|
|
20
|
+
flexDirection: "column",
|
|
21
|
+
}}
|
|
22
|
+
>
|
|
23
|
+
{Object.entries(General).map(([fieldName, Component]) => (
|
|
24
|
+
<div
|
|
25
|
+
key={fieldName}
|
|
26
|
+
style={{
|
|
27
|
+
display: "flex",
|
|
28
|
+
justifyContent: "space-between",
|
|
29
|
+
}}
|
|
30
|
+
>
|
|
31
|
+
{fieldName}: <Component key={fieldName} />
|
|
32
|
+
</div>
|
|
33
|
+
))}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</CardWrapperItem>
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export const GeneralStory = () => <DefaultGeneralComponent />;
|
|
40
|
+
|
|
41
|
+
const meta = {
|
|
42
|
+
title: "General",
|
|
43
|
+
component: General,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default meta;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
import Logo from "../Logo";
|
|
6
|
+
import { CardWrapperItem } from "./CardWrapperItem";
|
|
7
|
+
|
|
8
|
+
const DefaultLogoComponent = () => (
|
|
9
|
+
<CardWrapperItem>
|
|
10
|
+
<div
|
|
11
|
+
style={{
|
|
12
|
+
borderRadius: "12px",
|
|
13
|
+
display: "flex",
|
|
14
|
+
justifyContent: "center",
|
|
15
|
+
}}
|
|
16
|
+
>
|
|
17
|
+
<div
|
|
18
|
+
style={{
|
|
19
|
+
display: "flex",
|
|
20
|
+
flexDirection: "column",
|
|
21
|
+
}}
|
|
22
|
+
>
|
|
23
|
+
{Object.entries(Logo).map(([fieldName, Component]) => (
|
|
24
|
+
<div
|
|
25
|
+
key={fieldName}
|
|
26
|
+
style={{
|
|
27
|
+
display: "flex",
|
|
28
|
+
justifyContent: "space-between",
|
|
29
|
+
}}
|
|
30
|
+
>
|
|
31
|
+
{fieldName}: <Component key={fieldName} />
|
|
32
|
+
</div>
|
|
33
|
+
))}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</CardWrapperItem>
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export const LogoStory = () => <DefaultLogoComponent />;
|
|
40
|
+
|
|
41
|
+
const meta = {
|
|
42
|
+
title: "Logo",
|
|
43
|
+
component: Logo,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default meta;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
import NavigationBar from "../NavigationBar";
|
|
6
|
+
import { CardWrapperItem } from "./CardWrapperItem";
|
|
7
|
+
|
|
8
|
+
const DefaultNavigationBarComponent = () => (
|
|
9
|
+
<CardWrapperItem>
|
|
10
|
+
<div
|
|
11
|
+
style={{
|
|
12
|
+
borderRadius: "12px",
|
|
13
|
+
display: "flex",
|
|
14
|
+
justifyContent: "center",
|
|
15
|
+
}}
|
|
16
|
+
>
|
|
17
|
+
<div
|
|
18
|
+
style={{
|
|
19
|
+
display: "flex",
|
|
20
|
+
flexDirection: "column",
|
|
21
|
+
}}
|
|
22
|
+
>
|
|
23
|
+
{Object.entries(NavigationBar).map(([fieldName, Component]) => (
|
|
24
|
+
<div
|
|
25
|
+
key={fieldName}
|
|
26
|
+
style={{
|
|
27
|
+
display: "flex",
|
|
28
|
+
justifyContent: "space-between",
|
|
29
|
+
}}
|
|
30
|
+
>
|
|
31
|
+
{fieldName}: <Component key={fieldName} />
|
|
32
|
+
</div>
|
|
33
|
+
))}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</CardWrapperItem>
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export const NavigationBarStory = () => <DefaultNavigationBarComponent />;
|
|
40
|
+
|
|
41
|
+
const meta = {
|
|
42
|
+
title: "NavigationBar",
|
|
43
|
+
component: NavigationBar,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default meta;
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import Additional from "./Additional";
|
|
2
|
+
import Basic from "./Basic";
|
|
3
|
+
import Emoji from "./Emoji";
|
|
4
|
+
import General from "./General";
|
|
5
|
+
import Logo from "./Logo";
|
|
6
|
+
import NavigationBar from "./NavigationBar";
|
|
7
|
+
|
|
8
|
+
const Icons = {
|
|
9
|
+
General,
|
|
10
|
+
Basic,
|
|
11
|
+
Logo,
|
|
12
|
+
Emoji,
|
|
13
|
+
Additional,
|
|
14
|
+
NavigationBar,
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default Icons;
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ESNext",
|
|
4
|
+
"moduleResolution": "node",
|
|
5
|
+
"lib": ["DOM", "ES2017"],
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"jsx": "react",
|
|
8
|
+
"declaration": true,
|
|
9
|
+
"declarationDir": "./dist",
|
|
10
|
+
"emitDeclarationOnly": true,
|
|
11
|
+
"rootDir": "./src",
|
|
12
|
+
"strict": true,
|
|
13
|
+
"outDir": "./dist",
|
|
14
|
+
"esModuleInterop": true,
|
|
15
|
+
"skipLibCheck": true
|
|
16
|
+
},
|
|
17
|
+
"include": ["src"],
|
|
18
|
+
"exclude": ["node_modules", "dist"]
|
|
19
|
+
}
|
package/tsup.config.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineConfig } from "tsup";
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
entry: ["src/index.ts"], // Входная точка
|
|
5
|
+
format: ["cjs", "esm"], // Поддерживаемые форматы
|
|
6
|
+
dts: true, // Генерация .d.ts файлов
|
|
7
|
+
splitting: false, // Отключаем код-сплиттинг
|
|
8
|
+
sourcemap: true, // Включаем sourcemap
|
|
9
|
+
clean: true, // Очищаем dist перед сборкой
|
|
10
|
+
minify: true, // Минификация
|
|
11
|
+
external: ["react", "react-dom"], // Указываем peerDependencies как external
|
|
12
|
+
});
|