@egov3/graphics 1.0.46 → 1.0.47
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 +89 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +347 -0
- package/dist/index.d.ts +347 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/package.json +7 -3
- package/.github/workflows/publish.yml +0 -61
- package/src/Additional/AttachFileAdd.tsx +0 -17
- package/src/Additional/Refresh.tsx +0 -17
- package/src/Additional/SettingsFilled.tsx +0 -17
- package/src/Additional/SettingsOutline.tsx +0 -19
- package/src/Additional/Time.tsx +0 -17
- package/src/Additional/TimeFilled.tsx +0 -19
- package/src/Additional/index.ts +0 -17
- package/src/Basic/ArrowLeft.tsx +0 -17
- package/src/Basic/ArrowRight.tsx +0 -17
- package/src/Basic/ArrowUp.tsx +0 -17
- package/src/Basic/Check.tsx +0 -17
- package/src/Basic/ChevronDown.tsx +0 -17
- package/src/Basic/ChevronDownSmall.tsx +0 -17
- package/src/Basic/ChevronLeft.tsx +0 -17
- package/src/Basic/ChevronLeftSmall.tsx +0 -17
- package/src/Basic/ChevronRight.tsx +0 -17
- package/src/Basic/ChevronRightSmall.tsx +0 -17
- package/src/Basic/ChevronUp.tsx +0 -17
- package/src/Basic/ChevronUpSmall.tsx +0 -17
- package/src/Basic/index.ts +0 -29
- package/src/Emoji/Angry.tsx +0 -17
- package/src/Emoji/Frowning.tsx +0 -17
- package/src/Emoji/Grin.tsx +0 -17
- package/src/Emoji/Neutral.tsx +0 -17
- package/src/Emoji/Smile.tsx +0 -17
- package/src/Emoji/index.ts +0 -15
- package/src/General/Accessibility.tsx +0 -19
- package/src/General/Account.tsx +0 -17
- package/src/General/AccountFilled.tsx +0 -17
- package/src/General/Accreditation.tsx +0 -37
- package/src/General/AccreditationFilled.tsx +0 -37
- package/src/General/Add.tsx +0 -17
- package/src/General/Agroculture.tsx +0 -38
- package/src/General/AgrocultureFilled.tsx +0 -38
- package/src/General/Airplane.tsx +0 -17
- package/src/General/AirplaneFilled.tsx +0 -17
- package/src/General/Allowances.tsx +0 -17
- package/src/General/AllowancesFilled.tsx +0 -17
- package/src/General/Apostille.tsx +0 -17
- package/src/General/ApostilleFilled.tsx +0 -17
- package/src/General/Archive.tsx +0 -17
- package/src/General/ArchiveFilled.tsx +0 -17
- package/src/General/Bag.tsx +0 -21
- package/src/General/BagFilled.tsx +0 -19
- package/src/General/BagSearch.tsx +0 -23
- package/src/General/BagSearchFilled.tsx +0 -23
- package/src/General/Balance.tsx +0 -17
- package/src/General/BalanceFilled.tsx +0 -17
- package/src/General/BankFolder.tsx +0 -21
- package/src/General/BankFolderFilled.tsx +0 -19
- package/src/General/Book.tsx +0 -19
- package/src/General/BookFilled.tsx +0 -27
- package/src/General/Brain.tsx +0 -17
- package/src/General/BrainFilled.tsx +0 -17
- package/src/General/Broadcasttv.tsx +0 -17
- package/src/General/BroadcasttvFilled.tsx +0 -17
- package/src/General/BurgerMenu.tsx +0 -17
- package/src/General/BusFront.tsx +0 -17
- package/src/General/BusFrontFilled.tsx +0 -17
- package/src/General/Business.tsx +0 -17
- package/src/General/BusinessFilled.tsx +0 -17
- package/src/General/BusinessRegistration.tsx +0 -17
- package/src/General/BusinessRegistrationFilled.tsx +0 -19
- package/src/General/Calendar.tsx +0 -17
- package/src/General/CalendarFilled.tsx +0 -17
- package/src/General/Call.tsx +0 -17
- package/src/General/Camera.tsx +0 -17
- package/src/General/CameraFilled.tsx +0 -17
- package/src/General/Car.tsx +0 -17
- package/src/General/CarFilled.tsx +0 -17
- package/src/General/Card.tsx +0 -17
- package/src/General/Chat.tsx +0 -17
- package/src/General/ChatFilled.tsx +0 -37
- package/src/General/CheckboxEmpty.tsx +0 -17
- package/src/General/CheckboxEmptyFilled.tsx +0 -17
- package/src/General/CheckedFilled.tsx +0 -19
- package/src/General/CheckedRound.tsx +0 -17
- package/src/General/Chevronincircleleft.tsx +0 -17
- package/src/General/ChevronincircleleftFilled.tsx +0 -19
- package/src/General/ChildFace.tsx +0 -17
- package/src/General/ChildFaceFilled.tsx +0 -17
- package/src/General/City.tsx +0 -19
- package/src/General/CityFilled.tsx +0 -17
- package/src/General/Clear.tsx +0 -19
- package/src/General/ClearAlternative.tsx +0 -17
- package/src/General/Close.tsx +0 -17
- package/src/General/College.tsx +0 -53
- package/src/General/CollegeFilled.tsx +0 -37
- package/src/General/Construction.tsx +0 -29
- package/src/General/ConstructionFilled.tsx +0 -29
- package/src/General/Copy.tsx +0 -17
- package/src/General/Copyright.tsx +0 -17
- package/src/General/Copyright1.tsx +0 -17
- package/src/General/CopyrightFilled.tsx +0 -17
- package/src/General/Court.tsx +0 -55
- package/src/General/CourtFilled.tsx +0 -55
- package/src/General/Cow.tsx +0 -37
- package/src/General/Cow1.tsx +0 -17
- package/src/General/CowFilled.tsx +0 -37
- package/src/General/CowFilled1.tsx +0 -17
- package/src/General/Customs.tsx +0 -17
- package/src/General/CustomsFilled.tsx +0 -23
- package/src/General/CustomsTaxes.tsx +0 -17
- package/src/General/CustomsTaxesFilled.tsx +0 -17
- package/src/General/DebitCard.tsx +0 -21
- package/src/General/DebitCardFilled.tsx +0 -19
- package/src/General/DigitalId.tsx +0 -23
- package/src/General/DisabilitySupport.tsx +0 -17
- package/src/General/DisabilitySupportFilled.tsx +0 -19
- package/src/General/Doc.tsx +0 -17
- package/src/General/DocFilled.tsx +0 -17
- package/src/General/DocumentDiagram.tsx +0 -17
- package/src/General/DocumentDiagramFilled.tsx +0 -17
- package/src/General/DocumentTable.tsx +0 -17
- package/src/General/DocumentTableFilled.tsx +0 -17
- package/src/General/DragIndicator.tsx +0 -17
- package/src/General/DriverLicense.tsx +0 -27
- package/src/General/Earth.tsx +0 -17
- package/src/General/EarthFilled.tsx +0 -17
- package/src/General/Edit.tsx +0 -17
- package/src/General/EditFilled.tsx +0 -17
- package/src/General/EditNote.tsx +0 -17
- package/src/General/Education.tsx +0 -17
- package/src/General/EducationFilled.tsx +0 -17
- package/src/General/Emergency.tsx +0 -17
- package/src/General/EmergencyFilled.tsx +0 -17
- package/src/General/Employment.tsx +0 -37
- package/src/General/EmploymentFilled.tsx +0 -37
- package/src/General/Error.tsx +0 -17
- package/src/General/Factory.tsx +0 -31
- package/src/General/FactoryFilled.tsx +0 -19
- package/src/General/Family.tsx +0 -17
- package/src/General/FamilyFilled.tsx +0 -17
- package/src/General/FamilyHelp.tsx +0 -17
- package/src/General/FamilyHelpFilled.tsx +0 -17
- package/src/General/Finance.tsx +0 -17
- package/src/General/FinanceFilled.tsx +0 -17
- package/src/General/FinanceIncome.tsx +0 -17
- package/src/General/FinanceIncomeFilled.tsx +0 -17
- package/src/General/Fingerprint.tsx +0 -17
- package/src/General/Flag.tsx +0 -17
- package/src/General/FlagFilled.tsx +0 -17
- package/src/General/FolderOpened.tsx +0 -17
- package/src/General/FolderOpenedFilled.tsx +0 -17
- package/src/General/Foreigner.tsx +0 -25
- package/src/General/ForeignerFilled.tsx +0 -25
- package/src/General/Forest.tsx +0 -17
- package/src/General/ForestFilled.tsx +0 -17
- package/src/General/GoingAbroad.tsx +0 -17
- package/src/General/GoingAbroadFilled.tsx +0 -17
- package/src/General/GuardianshipChild.tsx +0 -17
- package/src/General/GuardianshipChildFilled.tsx +0 -19
- package/src/General/Hand.tsx +0 -17
- package/src/General/HandFilled.tsx +0 -17
- package/src/General/Handshake.tsx +0 -17
- package/src/General/HandshakeFilled.tsx +0 -17
- package/src/General/Health.tsx +0 -17
- package/src/General/Heart.tsx +0 -17
- package/src/General/HeartFilled.tsx +0 -17
- package/src/General/Help.tsx +0 -17
- package/src/General/HelpCenterArticle.tsx +0 -17
- package/src/General/HelpCenterArticleFilled.tsx +0 -19
- package/src/General/Hourglass.tsx +0 -17
- package/src/General/HousServices.tsx +0 -17
- package/src/General/HousServicesFilled.tsx +0 -17
- package/src/General/HousingRelations.tsx +0 -17
- package/src/General/HousingRelationsFilled.tsx +0 -19
- package/src/General/InfoFilled.tsx +0 -17
- package/src/General/InfoStroke.tsx +0 -17
- package/src/General/Internet.tsx +0 -17
- package/src/General/Job.tsx +0 -17
- package/src/General/JobFilled.tsx +0 -17
- package/src/General/Key.tsx +0 -17
- package/src/General/KeyFilled.tsx +0 -17
- package/src/General/Language.tsx +0 -26
- package/src/General/Law.tsx +0 -17
- package/src/General/LawFilled.tsx +0 -17
- package/src/General/Leaf.tsx +0 -17
- package/src/General/LeafFilled.tsx +0 -17
- package/src/General/License.tsx +0 -49
- package/src/General/LicenseFilled.tsx +0 -57
- package/src/General/Licenses.tsx +0 -43
- package/src/General/LicensesFilled.tsx +0 -43
- package/src/General/Like.tsx +0 -17
- package/src/General/ListMenu.tsx +0 -17
- package/src/General/ListSquare.tsx +0 -17
- package/src/General/Loader.tsx +0 -17
- package/src/General/Loan.tsx +0 -17
- package/src/General/LoanFilled.tsx +0 -17
- package/src/General/LocationUser.tsx +0 -25
- package/src/General/LocationUserFilled.tsx +0 -19
- package/src/General/Lock.tsx +0 -17
- package/src/General/Logout.tsx +0 -17
- package/src/General/Medicine.tsx +0 -17
- package/src/General/MedicineBriefcase.tsx +0 -27
- package/src/General/MedicineBriefcaseFilled.tsx +0 -21
- package/src/General/MedicineCertification.tsx +0 -17
- package/src/General/MedicineCertificationFilled.tsx +0 -19
- package/src/General/MedicineFilled.tsx +0 -17
- package/src/General/MedicineHelp.tsx +0 -17
- package/src/General/MedicineHelpFilled.tsx +0 -17
- package/src/General/Message.tsx +0 -17
- package/src/General/MessageListFilled.tsx +0 -17
- package/src/General/MessageListOutline.tsx +0 -17
- package/src/General/MessagesCheck.tsx +0 -17
- package/src/General/Microphone.tsx +0 -17
- package/src/General/MicrophoneFilled.tsx +0 -17
- package/src/General/MilitaryService.tsx +0 -17
- package/src/General/MilitaryServiceFilled.tsx +0 -17
- package/src/General/Mining.tsx +0 -73
- package/src/General/MiningFilled.tsx +0 -19
- package/src/General/Money.tsx +0 -17
- package/src/General/MoneyFilled.tsx +0 -17
- package/src/General/More.tsx +0 -17
- package/src/General/MoreRoundFilled.tsx +0 -19
- package/src/General/MyDocument.tsx +0 -28
- package/src/General/MyDocumentFilled.tsx +0 -19
- package/src/General/Nature.tsx +0 -37
- package/src/General/NatureFilled.tsx +0 -37
- package/src/General/Notification.tsx +0 -17
- package/src/General/NotificationFilled.tsx +0 -17
- package/src/General/OnlineRegistry.tsx +0 -19
- package/src/General/OnlineRegistryFilled.tsx +0 -19
- package/src/General/PaperClip.tsx +0 -17
- package/src/General/Passport.tsx +0 -26
- package/src/General/Pension.tsx +0 -17
- package/src/General/PensionFilled.tsx +0 -17
- package/src/General/Permits.tsx +0 -31
- package/src/General/PermitsFilled.tsx +0 -19
- package/src/General/PersonalData.tsx +0 -17
- package/src/General/PersonalDataFilled.tsx +0 -17
- package/src/General/PersonalId.tsx +0 -23
- package/src/General/PersonalIdFilled.tsx +0 -19
- package/src/General/Pharmacy.tsx +0 -29
- package/src/General/PharmacyFilled.tsx +0 -19
- package/src/General/Phone.tsx +0 -17
- package/src/General/PieChart.tsx +0 -17
- package/src/General/PieChartFilled.tsx +0 -17
- package/src/General/PublicOrder.tsx +0 -17
- package/src/General/PublicOrderFilled.tsx +0 -17
- package/src/General/QrCodeFilled.tsx +0 -17
- package/src/General/QrCodeOutline.tsx +0 -17
- package/src/General/QrCodeScan.tsx +0 -17
- package/src/General/RadioButton.tsx +0 -30
- package/src/General/RadioButtonChecked.tsx +0 -30
- package/src/General/RealEstate.tsx +0 -21
- package/src/General/RealEstateFilled.tsx +0 -19
- package/src/General/Recycling.tsx +0 -37
- package/src/General/Reduce.tsx +0 -14
- package/src/General/Registry.tsx +0 -17
- package/src/General/RegistryFilled.tsx +0 -17
- package/src/General/Regulation.tsx +0 -17
- package/src/General/RegulationFilled.tsx +0 -17
- package/src/General/Request.tsx +0 -37
- package/src/General/Resume.tsx +0 -37
- package/src/General/ResumeFilled.tsx +0 -37
- package/src/General/RingsFamily.tsx +0 -23
- package/src/General/Schedule.tsx +0 -17
- package/src/General/ScheduleFilled.tsx +0 -17
- package/src/General/Science.tsx +0 -49
- package/src/General/ScienceFilled.tsx +0 -29
- package/src/General/Search.tsx +0 -17
- package/src/General/SecondaryEducation.tsx +0 -25
- package/src/General/SecondaryEducationFilled.tsx +0 -21
- package/src/General/ServicesFilled.tsx +0 -17
- package/src/General/ServicesOutline.tsx +0 -17
- package/src/General/ShareV1.tsx +0 -17
- package/src/General/ShareV2.tsx +0 -17
- package/src/General/Shield.tsx +0 -21
- package/src/General/ShieldFailed.tsx +0 -21
- package/src/General/ShieldFilled.tsx +0 -19
- package/src/General/ShieldSuccess.tsx +0 -21
- package/src/General/ShieldSuccessFilled.tsx +0 -19
- package/src/General/ShieldWarninng.tsx +0 -25
- package/src/General/Ship.tsx +0 -17
- package/src/General/ShipFilled.tsx +0 -17
- package/src/General/SmileFace.tsx +0 -17
- package/src/General/SocialRegistry.tsx +0 -45
- package/src/General/SocialRegistry1.tsx +0 -25
- package/src/General/SoftwareRegistry.tsx +0 -19
- package/src/General/SoftwareRegistryFilled.tsx +0 -22
- package/src/General/Sport.tsx +0 -17
- package/src/General/SportFilled.tsx +0 -17
- package/src/General/Sputnik.tsx +0 -17
- package/src/General/SputnikFilled.tsx +0 -17
- package/src/General/Star.tsx +0 -24
- package/src/General/StarFilled.tsx +0 -24
- package/src/General/State.tsx +0 -17
- package/src/General/StateFilled.tsx +0 -18
- package/src/General/Theaters.tsx +0 -17
- package/src/General/TheatersFilled.tsx +0 -17
- package/src/General/Ticket.tsx +0 -21
- package/src/General/TicketFilled.tsx +0 -17
- package/src/General/Tourism.tsx +0 -17
- package/src/General/TourismFilled.tsx +0 -17
- package/src/General/Toys.tsx +0 -17
- package/src/General/ToysFilled.tsx +0 -17
- package/src/General/Train.tsx +0 -17
- package/src/General/TrainFilled.tsx +0 -17
- package/src/General/Trash.tsx +0 -17
- package/src/General/TrashFilled.tsx +0 -17
- package/src/General/TreeFruits.tsx +0 -17
- package/src/General/TreeFruitsFilled.tsx +0 -17
- package/src/General/Truck.tsx +0 -17
- package/src/General/TruckFilled.tsx +0 -17
- package/src/General/University.tsx +0 -37
- package/src/General/UniversityFilled.tsx +0 -33
- package/src/General/Unlock.tsx +0 -17
- package/src/General/Update.tsx +0 -17
- package/src/General/VeterinaryControl.tsx +0 -17
- package/src/General/VeterinaryControlFilled.tsx +0 -19
- package/src/General/ViewGrid.tsx +0 -17
- package/src/General/ViewGridFilled.tsx +0 -17
- package/src/General/ViewList.tsx +0 -17
- package/src/General/ViewListFilled.tsx +0 -14
- package/src/General/WarningFilled.tsx +0 -19
- package/src/General/index.ts +0 -585
- package/src/Logo/ApplePay.tsx +0 -26
- package/src/Logo/Con1.tsx +0 -36
- package/src/Logo/Egov.tsx +0 -23
- package/src/Logo/Eotinish.tsx +0 -88
- package/src/Logo/Halyk.tsx +0 -28
- package/src/Logo/Kaspi.tsx +0 -26
- package/src/Logo/Mastercard.tsx +0 -40
- package/src/Logo/Salyq.tsx +0 -39
- package/src/Logo/index.ts +0 -21
- package/src/NavigationBar/HomeFilled.tsx +0 -17
- package/src/NavigationBar/HomeOutline.tsx +0 -17
- package/src/NavigationBar/MessageListFilled.tsx +0 -17
- package/src/NavigationBar/MessageListOutline.tsx +0 -17
- package/src/NavigationBar/QrCodeFilled.tsx +0 -17
- package/src/NavigationBar/QrCodeOutline.tsx +0 -17
- package/src/NavigationBar/ServicesFilled.tsx +0 -17
- package/src/NavigationBar/ServicesOutline.tsx +0 -17
- package/src/NavigationBar/index.ts +0 -21
- package/src/Stories/Additional.stories.tsx +0 -46
- package/src/Stories/Basic.stories.tsx +0 -46
- package/src/Stories/CardWrapperItem.tsx +0 -29
- package/src/Stories/Emoji.stories.tsx +0 -46
- package/src/Stories/General.stories.tsx +0 -46
- package/src/Stories/Logo.stories.tsx +0 -46
- package/src/Stories/NavigationBar.stories.tsx +0 -46
- package/src/index.ts +0 -17
- package/tsconfig.json +0 -19
- package/tsup.config.ts +0 -12
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
);
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
);
|
|
@@ -1,21 +0,0 @@
|
|
|
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;
|
|
@@ -1,46 +0,0 @@
|
|
|
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;
|
|
@@ -1,46 +0,0 @@
|
|
|
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;
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
);
|
|
@@ -1,46 +0,0 @@
|
|
|
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;
|
|
@@ -1,46 +0,0 @@
|
|
|
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;
|
|
@@ -1,46 +0,0 @@
|
|
|
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;
|
|
@@ -1,46 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
});
|