trepur_components 2.3.3 → 2.3.4
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/.eslintrc.cjs +43 -0
- package/.husky/pre-commit +4 -0
- package/.prettierrc.json +22 -0
- package/archive/Breadcrumbs/Breadcrumbs.stories.tsx +46 -0
- package/archive/Breadcrumbs/index.tsx +42 -0
- package/archive/BreadcrumbsBordered/BreadcrumbsBordered.stories.tsx +52 -0
- package/archive/BreadcrumbsBordered/index.tsx +44 -0
- package/archive/BreadcrumbsItem/BreadcrumbsItem.stories.tsx +40 -0
- package/archive/BreadcrumbsItem/index.tsx +149 -0
- package/archive/Button/Button.stories.tsx +150 -0
- package/archive/Button/index.tsx +111 -0
- package/archive/Button/style.module.css +76 -0
- package/archive/Calendar/Calendar.stories.tsx +82 -0
- package/archive/Calendar/index.tsx +76 -0
- package/archive/Calendar/style.css +233 -0
- package/archive/Card/Card.stories.tsx +75 -0
- package/archive/Card/index.tsx +102 -0
- package/archive/Card/style.module.css +75 -0
- package/archive/CardWithTopImage/CardWithTopImage.stories.tsx +50 -0
- package/archive/CardWithTopImage/index.tsx +39 -0
- package/archive/CardWithTopImage/style.module.css +11 -0
- package/archive/Carousel/Carousel.stories.tsx +451 -0
- package/archive/Carousel/index.tsx +388 -0
- package/archive/Carousel/style.module.css +99 -0
- package/archive/CarouselThumbnail/CarouselThumbnail.stories.tsx +350 -0
- package/archive/CarouselThumbnail/index.tsx +302 -0
- package/archive/CarouselThumbnail/style.module.css +67 -0
- package/archive/Checkbox/Checkbox.mdx +33 -0
- package/archive/Checkbox/Checkbox.stories.tsx +34 -0
- package/archive/Checkbox/index.tsx +51 -0
- package/archive/Checkbox/style.module.css +15 -0
- package/archive/Collapsible/Collapsible.stories.tsx +67 -0
- package/archive/Collapsible/index.tsx +116 -0
- package/archive/Collapsible/style.module.css +47 -0
- package/archive/Column/Column.stories.tsx +89 -0
- package/archive/Column/index.tsx +119 -0
- package/archive/Column/style.module.css +151 -0
- package/archive/ComponentWrapper/ComponentWrapper.stories.tsx +40 -0
- package/archive/ComponentWrapper/index.tsx +55 -0
- package/archive/ComponentWrapper/style.module.css +40 -0
- package/archive/Container/Container.stories.tsx +40 -0
- package/archive/Container/index.tsx +24 -0
- package/archive/Container/style.module.css +4 -0
- package/archive/Counter/Counter.stories.tsx +19 -0
- package/archive/Counter/index.tsx +66 -0
- package/archive/Counter/style.module.css +19 -0
- package/archive/DetailUpdater/DetailUpdater.stories.tsx +96 -0
- package/archive/DetailUpdater/index.tsx +112 -0
- package/archive/DetailUpdater/style.module.css +31 -0
- package/archive/Dialog/Dialog.stories.tsx +131 -0
- package/archive/Dialog/index.tsx +91 -0
- package/archive/Dialog/style.module.css +44 -0
- package/archive/DropdownMenu/DropdownMenu.stories.tsx +59 -0
- package/archive/DropdownMenu/index.tsx +51 -0
- package/archive/DropdownMenu/style.module.css +38 -0
- package/archive/DynamicTextSection/DynamicTextSection.stories.tsx +74 -0
- package/archive/DynamicTextSection/index.tsx +36 -0
- package/archive/DynamicTextSection/style.module.css +0 -0
- package/archive/FileUploader/FilePreview.tsx +48 -0
- package/archive/FileUploader/FileUploader.stories.tsx +28 -0
- package/archive/FileUploader/index.tsx +135 -0
- package/archive/FileUploader/style.module.css +54 -0
- package/archive/FilterItem/FilterItem.stories.tsx +33 -0
- package/archive/FilterItem/index.tsx +101 -0
- package/archive/FilterItem/style.module.css +27 -0
- package/archive/Footer/Footer.stories.tsx +59 -0
- package/archive/Footer/index.tsx +50 -0
- package/archive/Footer/style.module.css +19 -0
- package/archive/FooterNav/FooterNav.stories.tsx +125 -0
- package/archive/FooterNav/index.tsx +57 -0
- package/archive/FooterNav/style.module.css +32 -0
- package/archive/FooterNavItem/FooterNavItem.stories.tsx +53 -0
- package/archive/FooterNavItem/index.tsx +80 -0
- package/archive/FooterNavItem/style.module.css +139 -0
- package/archive/Form/Form.stories.tsx +86 -0
- package/archive/Form/index.tsx +61 -0
- package/archive/Form/style.module.css +0 -0
- package/archive/FyreCard/FyreCard.stories.tsx +31 -0
- package/archive/FyreCard/index.tsx +52 -0
- package/archive/FyreCard/style.module.css +19 -0
- package/archive/Greeting/Greeting.stories.tsx +41 -0
- package/archive/Greeting/index.tsx +32 -0
- package/archive/HamburgerIcon/HamburgerIcon.stories.tsx +32 -0
- package/archive/HamburgerIcon/index.tsx +103 -0
- package/archive/HamburgerIcon/style.module.css +85 -0
- package/archive/HorizontalLine/HorizontalLine.stories.tsx +54 -0
- package/archive/HorizontalLine/index.tsx +40 -0
- package/archive/HorizontalLine/style.module.css +55 -0
- package/archive/Icon/Icon.stories.tsx +164 -0
- package/archive/Icon/index.tsx +115 -0
- package/archive/Icon/style.module.css +253 -0
- package/archive/IconCard/IconCard.stories.tsx +46 -0
- package/archive/IconCard/index.tsx +57 -0
- package/archive/IconCard/style.module.css +18 -0
- package/archive/Image/Image.stories.tsx +87 -0
- package/archive/Image/index.tsx +132 -0
- package/archive/Image/style.module.css +109 -0
- package/archive/ImageInfo/ImageInfo.stories.tsx +39 -0
- package/archive/ImageInfo/index.tsx +95 -0
- package/archive/ImageInfo/style.module.css +47 -0
- package/archive/ImageLink/ImageLink.stories.tsx +37 -0
- package/archive/ImageLink/index.tsx +49 -0
- package/archive/ImageLink/style.module.css +23 -0
- package/archive/ImageLinkList/ImageLinkList.stories.tsx +34 -0
- package/archive/ImageLinkList/index.tsx +33 -0
- package/archive/ImageLinkList/style.module.css +3 -0
- package/archive/InformationIcon/InformationIcon.stories.tsx +83 -0
- package/archive/InformationIcon/index.tsx +128 -0
- package/archive/InformationIcon/style.module.css +71 -0
- package/archive/InformationIconBlock/InformationIconBlock.stories.tsx +32 -0
- package/archive/InformationIconBlock/index.tsx +63 -0
- package/archive/InformationIconBlock/style.module.css +7 -0
- package/archive/Input/Input.stories.tsx +84 -0
- package/archive/Input/index.tsx +131 -0
- package/archive/Input/style.module.css +60 -0
- package/archive/Jumbotron/Jumbotron.stories.tsx +21 -0
- package/archive/Jumbotron/index.tsx +31 -0
- package/archive/Jumbotron/style.module.css +8 -0
- package/archive/MenuButton/MenuButton.stories.tsx +46 -0
- package/archive/MenuButton/index.tsx +82 -0
- package/archive/MenuButton/style.module.css +45 -0
- package/archive/Modal/Modal.stories.tsx +86 -0
- package/archive/Modal/index.tsx +74 -0
- package/archive/Modal/style.module.css +35 -0
- package/archive/NavItem/NavItem.stories.tsx +90 -0
- package/archive/NavItem/index.tsx +65 -0
- package/archive/NavItem/style.module.css +71 -0
- package/archive/NavOld/NavOld.stories.tsx +193 -0
- package/archive/NavOld/StickyNav.tsx +191 -0
- package/archive/NavOld/index.tsx +273 -0
- package/archive/NavOld/style.module.css +156 -0
- package/archive/NavTwo/Dropdown.tsx +35 -0
- package/archive/NavTwo/Nav.stories.tsx +38 -0
- package/archive/NavTwo/Sidebar.tsx +34 -0
- package/archive/NavTwo/StickyNav.tsx +34 -0
- package/archive/NavTwo/index.tsx +45 -0
- package/archive/NavTwo/style.module.css +35 -0
- package/archive/NewsCard/NewsCard.stories.tsx +72 -0
- package/archive/NewsCard/index.tsx +57 -0
- package/archive/NewsCard/style.module.css +15 -0
- package/archive/Pill/Pill.stories.tsx +44 -0
- package/archive/Pill/index.tsx +64 -0
- package/archive/Pill/style.module.css +32 -0
- package/archive/ProductCard/ProductCard.stories.tsx +61 -0
- package/archive/ProductCard/index.tsx +111 -0
- package/archive/ProductCard/style.module.css +53 -0
- package/archive/ProductCardV2/ProductCardV2.stories.tsx +50 -0
- package/archive/ProductCardV2/index.tsx +119 -0
- package/archive/ProductCardV2/style.module.css +59 -0
- package/archive/Proficiencies/Proficiencies.stories.tsx +50 -0
- package/archive/Proficiencies/index.tsx +63 -0
- package/archive/Proficiencies/style.module.css +31 -0
- package/archive/Profile/Profile.stories.tsx +49 -0
- package/archive/Profile/index.tsx +103 -0
- package/archive/Profile/style.module.css +47 -0
- package/archive/Row/Row.stories.tsx +53 -0
- package/archive/Row/index.tsx +23 -0
- package/archive/Row/style.module.css +3 -0
- package/archive/Search/Search.stories.tsx +63 -0
- package/archive/Search/index.tsx +68 -0
- package/archive/Search/style.module.css +23 -0
- package/archive/Select/Select.stories.tsx +56 -0
- package/archive/Select/index.tsx +106 -0
- package/archive/Select/style.module.css +52 -0
- package/archive/Showcase/Showcase.stories.tsx +30 -0
- package/archive/Showcase/index.tsx +75 -0
- package/archive/Showcase/style.module.css +47 -0
- package/archive/SideNav/SideNav.stories.tsx +50 -0
- package/archive/SideNav/index.tsx +46 -0
- package/archive/SideNav/style.module.css +43 -0
- package/archive/SocialBlock/SocialBlock.stories.tsx +58 -0
- package/archive/SocialBlock/index.tsx +63 -0
- package/archive/SocialButton/SocialButton.stories.tsx +88 -0
- package/archive/SocialButton/index.tsx +71 -0
- package/archive/SocialButton/style.module.css +77 -0
- package/archive/StarRating/StarRating.stories.tsx +23 -0
- package/archive/StarRating/index.tsx +71 -0
- package/archive/Testimonial/Testimonial.stories.tsx +110 -0
- package/archive/Testimonial/index.tsx +61 -0
- package/archive/Testimonial/style.module.css +27 -0
- package/archive/TextAndTitle/TextAndTitle.stories.tsx +70 -0
- package/archive/TextAndTitle/index.tsx +123 -0
- package/archive/TextAndTitle/style.module.css +75 -0
- package/archive/TextArea/TextArea.stories.tsx +55 -0
- package/archive/TextArea/index.tsx +125 -0
- package/archive/TextArea/style.module.css +60 -0
- package/archive/Timeline/Timeline.stories.tsx +92 -0
- package/archive/Timeline/index.tsx +254 -0
- package/archive/Timeline/style.module.css +134 -0
- package/archive/TimelineV2/TimelineV2.stories.tsx +95 -0
- package/archive/TimelineV2/index.tsx +70 -0
- package/archive/TimelineV2/style.module.css +28 -0
- package/archive/Tubestops/Tubestops.stories.tsx +42 -0
- package/archive/Tubestops/index.tsx +58 -0
- package/archive/Tubestops/style.module.css +54 -0
- package/archive/UserIcon/UserIcon.stories.tsx +52 -0
- package/archive/UserIcon/index.tsx +46 -0
- package/archive/UserIcon/style.module.css +19 -0
- package/archive/Video/Video.stories.tsx +23 -0
- package/archive/Video/index.tsx +47 -0
- package/archive/fonts/Sora/OFL.txt +93 -0
- package/archive/fonts/Sora/README.txt +70 -0
- package/archive/fonts/Sora/Sora-VariableFont_wght.ttf +0 -0
- package/archive/fonts/Sora/static/Sora-Bold.ttf +0 -0
- package/archive/fonts/Sora/static/Sora-ExtraBold.ttf +0 -0
- package/archive/fonts/Sora/static/Sora-ExtraLight.ttf +0 -0
- package/archive/fonts/Sora/static/Sora-Light.ttf +0 -0
- package/archive/fonts/Sora/static/Sora-Medium.ttf +0 -0
- package/archive/fonts/Sora/static/Sora-Regular.ttf +0 -0
- package/archive/fonts/Sora/static/Sora-SemiBold.ttf +0 -0
- package/archive/fonts/Sora/static/Sora-Thin.ttf +0 -0
- package/archive/theme.ts +39 -0
- package/archive/typography/Fonts/Fonts.stories.tsx +14 -0
- package/archive/typography/Fonts/Fonts.tsx +181 -0
- package/lib/components/Accordion/index.js +10 -10
- package/lib/components/AlertBar/index.js +10 -10
- package/lib/components/index.d.ts +4 -0
- package/lib/index.js +1 -7
- package/package.json +6 -8
- package/src/components/Accordion/Accordion.stories.tsx +116 -0
- package/src/components/Accordion/index.tsx +30 -0
- package/src/components/AlertBar/AlertBar.stories.tsx +95 -0
- package/src/components/AlertBar/index.tsx +115 -0
- package/src/components/Avatar/Avatar.stories.tsx +19 -0
- package/src/components/Avatar/index.tsx +495 -0
- package/src/components/index.ts +119 -0
- package/src/documentation/Colours.mdx +192 -0
- package/src/documentation/Introduction.mdx +9 -0
- package/src/index.ts +1 -0
- package/src/styles/base.css +116 -0
- package/src/utils/controls.ts +44 -0
- package/src/utils/matchMedia.ts +9 -0
- package/src/utils/screens.ts +7 -0
- package/storybook-build/assets/Accordion.stories-Cn994N1H.js +103 -0
- package/storybook-build/assets/AlertBar.stories-BkzNXFBh.js +202 -0
- package/storybook-build/assets/Avatar.stories-CpH6xVwM.js +418 -0
- package/storybook-build/assets/Color-6VNJS4EI-DQV2onvt.js +1378 -0
- package/storybook-build/assets/Colours-r29qjFlW.js +324 -0
- package/storybook-build/assets/DocsRenderer-NNNQARDV-OgWasCIs.js +44 -0
- package/storybook-build/assets/Introduction-Bs1PgnBZ.js +40 -0
- package/storybook-build/assets/WithTooltip-V3YHNWJZ-vi2V5TOO.js +15 -0
- package/storybook-build/assets/_commonjsHelpers-LQfde5yM.js +35 -0
- package/storybook-build/assets/axe-DnFZVv9V.js +32561 -0
- package/storybook-build/assets/chunk-EIRT5I3Z-DFD8udmD.js +480 -0
- package/storybook-build/assets/context-CIRBAiUz.js +20 -0
- package/storybook-build/assets/controls-DJSGrQKd.js +23 -0
- package/storybook-build/assets/entry-preview-DmlPV4-3.js +41 -0
- package/storybook-build/assets/entry-preview-docs-D46Drugi.js +11861 -0
- package/storybook-build/assets/formatter-SWP5E3XI-BWIasvKP.js +14427 -0
- package/storybook-build/assets/iframe-Dzzzanqi.js +144 -0
- package/storybook-build/assets/index-0FT4HXk-.js +7222 -0
- package/storybook-build/assets/index-B9Tccxv4.js +107 -0
- package/storybook-build/assets/index-BdOSk9or.js +41 -0
- package/storybook-build/assets/index-CU7cYjZD.js +9604 -0
- package/storybook-build/assets/index-Clz-aGG3.js +39 -0
- package/storybook-build/assets/index-CpyNLP69.js +63 -0
- package/storybook-build/assets/index-DM9bPmif.js +319 -0
- package/storybook-build/assets/index-ex9_VrIg.js +3734 -0
- package/storybook-build/assets/jsx-runtime-D2-sc1j1.js +35 -0
- package/storybook-build/assets/preview-3kSipVgK.js +430 -0
- package/storybook-build/assets/preview-B4rAxPmB.js +27 -0
- package/storybook-build/assets/preview-BMkwWyrh.js +2920 -0
- package/storybook-build/assets/preview-BeQelhbu.js +204 -0
- package/storybook-build/assets/preview-BiG-rflf.js +2444 -0
- package/storybook-build/assets/preview-BiYUJ7TP.js +22 -0
- package/storybook-build/assets/preview-C4ItOQzM.js +34 -0
- package/storybook-build/assets/preview-CWyhKACi.css +886 -0
- package/storybook-build/assets/preview-CtOV68TG.js +10 -0
- package/storybook-build/assets/preview-De9E9xaR.js +140 -0
- package/storybook-build/assets/preview-bL4x2zrN.js +99 -0
- package/storybook-build/assets/preview-gxqyGMHu.js +323 -0
- package/storybook-build/assets/react-18-B-gfo82w.js +29 -0
- package/storybook-build/assets/syntaxhighlighter-B5GMVT5T-DrY_Dc6-.js +15 -0
- package/storybook-build/favicon.svg +7 -0
- package/storybook-build/iframe.html +458 -0
- package/storybook-build/index.html +163 -0
- package/storybook-build/index.json +1 -0
- package/storybook-build/preview-stats.json +172 -0
- package/storybook-build/project.json +1 -0
- package/storybook-build/sb-addons/a11y-9/manager-bundle.js +3 -0
- package/storybook-build/sb-addons/a11y-9/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
- package/storybook-build/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/essentials-backgrounds-3/manager-bundle.js +12 -0
- package/storybook-build/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/essentials-controls-1/manager-bundle.js +63 -0
- package/storybook-build/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +18 -0
- package/storybook-build/sb-addons/essentials-measure-6/manager-bundle.js +3 -0
- package/storybook-build/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/essentials-outline-7/manager-bundle.js +3 -0
- package/storybook-build/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/essentials-toolbars-5/manager-bundle.js +3 -0
- package/storybook-build/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/essentials-viewport-4/manager-bundle.js +3 -0
- package/storybook-build/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/interactions-8/manager-bundle.js +12 -0
- package/storybook-build/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/links-0/manager-bundle.js +3 -0
- package/storybook-build/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/storybook-12/manager-bundle.js +151 -0
- package/storybook-build/sb-addons/storybook-12/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/storybook-react-i18next-11/manager-bundle.js +3 -0
- package/storybook-build/sb-addons/storybook-react-i18next-11/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/themes-10/register-bundle.js +5 -0
- package/storybook-build/sb-addons/themes-10/register-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-common-assets/fonts.css +31 -0
- package/storybook-build/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-build/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-build/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-build/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-build/sb-manager/WithTooltip-V3YHNWJZ-TRLNWEGW.js +1 -0
- package/storybook-build/sb-manager/chunk-4IYAVH3S.js +348 -0
- package/storybook-build/sb-manager/chunk-CXYKRFSY.js +9 -0
- package/storybook-build/sb-manager/chunk-KZYAAUOR.js +406 -0
- package/storybook-build/sb-manager/chunk-LVLAH4SI.js +7 -0
- package/storybook-build/sb-manager/chunk-ZEU7PDD3.js +1 -0
- package/storybook-build/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +156 -0
- package/storybook-build/sb-manager/globals-module-info.js +1 -0
- package/storybook-build/sb-manager/globals.js +1 -0
- package/storybook-build/sb-manager/index.js +1 -0
- package/storybook-build/sb-manager/runtime.js +1 -0
- package/storybook-build/sb-manager/syntaxhighlighter-B5GMVT5T-EA5ASEYD.js +1 -0
- package/storybook-build/sb-preview/globals.js +1 -0
- package/storybook-build/sb-preview/runtime.js +112 -0
- package/storybook-build/src/components/Accordion/Accordion.stories.d.ts +94 -0
- package/storybook-build/src/components/Accordion/index.d.ts +9 -0
- package/storybook-build/src/components/AlertBar/AlertBar.stories.d.ts +162 -0
- package/storybook-build/src/components/AlertBar/index.d.ts +13 -0
- package/storybook-build/src/components/Avatar/Avatar.stories.d.ts +44 -0
- package/storybook-build/src/components/Avatar/index.d.ts +4 -0
- package/storybook-build/src/index.d.ts +1 -0
- package/storybook-build/src/utils/controls.d.ts +36 -0
- package/storybook-build/src/utils/matchMedia.d.ts +2 -0
- package/storybook-build/src/utils/screens.d.ts +7 -0
- package/storybook-build/src/utils/theme.d.ts +3 -0
- package/storybook-build/stories.json +1 -0
- package/storybook-build/styles/base.css +116 -0
- package/svg.d.ts +4 -0
- package/tailwind.config.ts +81 -0
- package/tsconfig.json +43 -0
- package/tsconfig.node.json +12 -0
- package/vite.config.mjs +64 -0
- package/lib/archive/Breadcrumbs/index.js +0 -12
- package/lib/archive/BreadcrumbsBordered/index.js +0 -25
- package/lib/archive/BreadcrumbsItem/index.js +0 -117
- /package/lib/{src/components → components}/Accordion/Accordion.stories.d.ts +0 -0
- /package/lib/{src/components → components}/Accordion/index.d.ts +0 -0
- /package/lib/{src/components → components}/AlertBar/AlertBar.stories.d.ts +0 -0
- /package/lib/{src/components → components}/AlertBar/index.d.ts +0 -0
- /package/lib/{src/components → components}/Avatar/Avatar.stories.d.ts +0 -0
- /package/lib/{src/components → components}/Avatar/index.d.ts +0 -0
- /package/lib/{src/index.d.ts → index.d.ts} +0 -0
- /package/lib/{src/utils → utils}/controls.d.ts +0 -0
- /package/lib/{src/utils → utils}/matchMedia.d.ts +0 -0
- /package/lib/{src/utils → utils}/screens.d.ts +0 -0
- /package/{lib → storybook-build}/src/components/index.d.ts +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.wrapper {
|
|
2
|
+
@apply flex py-4;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.item {
|
|
6
|
+
@apply w-full;
|
|
7
|
+
min-width: 120px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.circle {
|
|
11
|
+
@apply z-10 mx-auto h-6 w-6 rounded-full;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.completedCircle {
|
|
15
|
+
@apply -mt-4 bg-success;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.inactiveCircle {
|
|
19
|
+
@apply -mt-4 bg-border-light;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.activeCircle {
|
|
23
|
+
@apply -mt-4 bg-gold;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.circleLast {
|
|
27
|
+
@apply mt-1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.line {
|
|
31
|
+
@apply mt-4 h-1 w-full bg-border-light;
|
|
32
|
+
margin-left: 50%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.completedLine {
|
|
36
|
+
@apply mt-4 h-1 w-full bg-success;
|
|
37
|
+
margin-left: 50%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.text {
|
|
41
|
+
@apply mt-2 text-center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.activeStop {
|
|
45
|
+
@apply font-bold text-gold;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.inactiveStop {
|
|
49
|
+
@apply font-medium text-border-light;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.completedStop {
|
|
53
|
+
@apply font-medium text-success;
|
|
54
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { idAndClassName } from '@utils/controls';
|
|
3
|
+
|
|
4
|
+
import UserIcon from '.';
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
title: 'Components/User Icon',
|
|
8
|
+
component: UserIcon,
|
|
9
|
+
argTypes: {
|
|
10
|
+
...idAndClassName,
|
|
11
|
+
|
|
12
|
+
name: {
|
|
13
|
+
description: '',
|
|
14
|
+
control: 'text',
|
|
15
|
+
table: {
|
|
16
|
+
category: '',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
description: {
|
|
20
|
+
description: '',
|
|
21
|
+
control: 'text',
|
|
22
|
+
table: {
|
|
23
|
+
category: '',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
imageProps: {
|
|
27
|
+
type: { name: 'other', value: 'object' },
|
|
28
|
+
description: 'The props to pass to the image to display on the component',
|
|
29
|
+
table: {
|
|
30
|
+
type: {
|
|
31
|
+
summary: 'object',
|
|
32
|
+
},
|
|
33
|
+
defaultValue: { summary: 'undefined' },
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
args: {
|
|
38
|
+
imageProps: {
|
|
39
|
+
title: '',
|
|
40
|
+
altText: '',
|
|
41
|
+
src: 'https://picsum.photos/200/200',
|
|
42
|
+
},
|
|
43
|
+
name: 'Someones name',
|
|
44
|
+
description: 'someone info',
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export default meta;
|
|
49
|
+
|
|
50
|
+
type Story = StoryObj<typeof meta>;
|
|
51
|
+
|
|
52
|
+
export const Default: Story = {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import Image, { type Props as imageProps } from '@components/Image';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export interface Props {
|
|
9
|
+
id?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
imageProps?: imageProps;
|
|
14
|
+
}
|
|
15
|
+
const UserIcon = ({
|
|
16
|
+
id,
|
|
17
|
+
className,
|
|
18
|
+
name,
|
|
19
|
+
description,
|
|
20
|
+
imageProps,
|
|
21
|
+
}: Props): JSX.Element => {
|
|
22
|
+
const classList = classNames(
|
|
23
|
+
{
|
|
24
|
+
className: className !== undefined,
|
|
25
|
+
},
|
|
26
|
+
style.classList,
|
|
27
|
+
'theme-local',
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
imageProps = {
|
|
31
|
+
...imageProps,
|
|
32
|
+
src: imageProps?.src !== undefined ? imageProps.src : '',
|
|
33
|
+
className: classNames(imageProps?.className, style.imageClassList),
|
|
34
|
+
};
|
|
35
|
+
return (
|
|
36
|
+
<div id={id} className={classList}>
|
|
37
|
+
<Image {...imageProps} />
|
|
38
|
+
<div className={style.contentWrapper}>
|
|
39
|
+
<p className={style.name}>{name}</p>
|
|
40
|
+
<p className={style.description}>{description}</p>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
);
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default UserIcon;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.classList {
|
|
2
|
+
@apply flex items-center;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.imageClassList {
|
|
6
|
+
@apply mr-4 h-12 w-12 shrink-0 rounded-full;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.name {
|
|
10
|
+
@apply text-md font-regular;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.description {
|
|
14
|
+
@apply text-sm font-light;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.contentWrapper {
|
|
18
|
+
@apply ltr:ml-3 rtl:mr-3;
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { idAndClassName } from '@utils/controls';
|
|
3
|
+
|
|
4
|
+
import Video from '.';
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
title: 'Components/Video',
|
|
8
|
+
component: Video,
|
|
9
|
+
argTypes: {
|
|
10
|
+
...idAndClassName,
|
|
11
|
+
},
|
|
12
|
+
args: {
|
|
13
|
+
withControls: true,
|
|
14
|
+
autoPlay: true,
|
|
15
|
+
muted: true,
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export default meta;
|
|
20
|
+
|
|
21
|
+
type Story = StoryObj<typeof meta>;
|
|
22
|
+
|
|
23
|
+
export const Default: Story = {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
id?: string;
|
|
3
|
+
className?: string;
|
|
4
|
+
autoPlay?: boolean;
|
|
5
|
+
muted?: boolean;
|
|
6
|
+
poster?: string;
|
|
7
|
+
mp4File?: string;
|
|
8
|
+
webmFile?: string;
|
|
9
|
+
ogvFile?: string;
|
|
10
|
+
height?: string;
|
|
11
|
+
width?: string;
|
|
12
|
+
withControls?: boolean;
|
|
13
|
+
withPoster?: boolean;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const Video = ({
|
|
17
|
+
id,
|
|
18
|
+
className,
|
|
19
|
+
autoPlay,
|
|
20
|
+
muted,
|
|
21
|
+
poster,
|
|
22
|
+
mp4File,
|
|
23
|
+
webmFile,
|
|
24
|
+
ogvFile,
|
|
25
|
+
height,
|
|
26
|
+
width,
|
|
27
|
+
withControls,
|
|
28
|
+
}: Props): JSX.Element => {
|
|
29
|
+
return (
|
|
30
|
+
<video
|
|
31
|
+
id={id}
|
|
32
|
+
className={className}
|
|
33
|
+
poster={poster}
|
|
34
|
+
width={width}
|
|
35
|
+
height={height}
|
|
36
|
+
controls={withControls}
|
|
37
|
+
autoPlay={autoPlay}
|
|
38
|
+
muted={muted}
|
|
39
|
+
>
|
|
40
|
+
<source src={mp4File} type="video/mp4" />
|
|
41
|
+
{webmFile !== null && <source src={webmFile} type="video/webm" />}
|
|
42
|
+
{ogvFile !== undefined && <source src={ogvFile} type="video/ogg" />}
|
|
43
|
+
</video>
|
|
44
|
+
);
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export default Video;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2019 The Sora Project Authors (https://github.com/sora-xor/sora-font)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
Sora Variable Font
|
|
2
|
+
==================
|
|
3
|
+
|
|
4
|
+
This download contains Sora as both a variable font and static fonts.
|
|
5
|
+
|
|
6
|
+
Sora is a variable font with this axis:
|
|
7
|
+
wght
|
|
8
|
+
|
|
9
|
+
This means all the styles are contained in a single file:
|
|
10
|
+
Sora-VariableFont_wght.ttf
|
|
11
|
+
|
|
12
|
+
If your app fully supports variable fonts, you can now pick intermediate styles
|
|
13
|
+
that aren’t available as static fonts. Not all apps support variable fonts, and
|
|
14
|
+
in those cases you can use the static font files for Sora:
|
|
15
|
+
static/Sora-Thin.ttf
|
|
16
|
+
static/Sora-ExtraLight.ttf
|
|
17
|
+
static/Sora-Light.ttf
|
|
18
|
+
static/Sora-Regular.ttf
|
|
19
|
+
static/Sora-Medium.ttf
|
|
20
|
+
static/Sora-SemiBold.ttf
|
|
21
|
+
static/Sora-Bold.ttf
|
|
22
|
+
static/Sora-ExtraBold.ttf
|
|
23
|
+
|
|
24
|
+
Get started
|
|
25
|
+
-----------
|
|
26
|
+
|
|
27
|
+
1. Install the font files you want to use
|
|
28
|
+
|
|
29
|
+
2. Use your app's font picker to view the font family and all the
|
|
30
|
+
available styles
|
|
31
|
+
|
|
32
|
+
Learn more about variable fonts
|
|
33
|
+
-------------------------------
|
|
34
|
+
|
|
35
|
+
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
|
|
36
|
+
https://variablefonts.typenetwork.com
|
|
37
|
+
https://medium.com/variable-fonts
|
|
38
|
+
|
|
39
|
+
In desktop apps
|
|
40
|
+
|
|
41
|
+
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
|
|
42
|
+
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
|
|
43
|
+
|
|
44
|
+
Online
|
|
45
|
+
|
|
46
|
+
https://developers.google.com/fonts/docs/getting_started
|
|
47
|
+
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
|
|
48
|
+
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
|
|
49
|
+
|
|
50
|
+
Installing fonts
|
|
51
|
+
|
|
52
|
+
MacOS: https://support.apple.com/en-us/HT201749
|
|
53
|
+
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
|
|
54
|
+
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
|
|
55
|
+
|
|
56
|
+
Android Apps
|
|
57
|
+
|
|
58
|
+
https://developers.google.com/fonts/docs/android
|
|
59
|
+
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
|
|
60
|
+
|
|
61
|
+
License
|
|
62
|
+
-------
|
|
63
|
+
Please read the full license text (OFL.txt) to understand the permissions,
|
|
64
|
+
restrictions and requirements for usage, redistribution, and modification.
|
|
65
|
+
|
|
66
|
+
You can use them in your products & projects – print or digital,
|
|
67
|
+
commercial or otherwise.
|
|
68
|
+
|
|
69
|
+
This isn't legal advice, please consider consulting a lawyer and see the full
|
|
70
|
+
license for all details.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/archive/theme.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import from '../../tailwind.config.js';
|
|
2
|
+
|
|
3
|
+
// const tokenUnits: string[] = ['em', 'ex', '%', 'px', 'cm', 'mm', 'in', 'pt', 'pc', 'ch', 'rem', 'vh', 'vw', 'vmin', 'vmax']
|
|
4
|
+
let themeName: string;
|
|
5
|
+
|
|
6
|
+
export const setTheme = (theme: string): void => {
|
|
7
|
+
themeName = theme;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export const getTheme = (): string => {
|
|
11
|
+
return themeName;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const getThemeFromOptions = (themeName?: string): any => {
|
|
15
|
+
const themes = tailwindConfig.themes;
|
|
16
|
+
|
|
17
|
+
if (themeName == null) return tailwindConfig.theme;
|
|
18
|
+
|
|
19
|
+
// eslint-disable-next-line @typescript-eslint/no-confusing-void-expression
|
|
20
|
+
const theme = themes.find((t: any) => t.name === themeName);
|
|
21
|
+
return theme ?? tailwindConfig.theme;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export function getTwVal<Type>(
|
|
25
|
+
section: string,
|
|
26
|
+
property: string,
|
|
27
|
+
): Type | undefined {
|
|
28
|
+
try {
|
|
29
|
+
const theme =
|
|
30
|
+
section === 'colors'
|
|
31
|
+
? getThemeFromOptions(themeName)
|
|
32
|
+
: tailwindConfig.theme;
|
|
33
|
+
return theme[section][property];
|
|
34
|
+
} catch (e) {
|
|
35
|
+
console.warn(e);
|
|
36
|
+
console.warn(`Unable to get tailwind value ${section}: ${property}`);
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
import Fonts from './Fonts';
|
|
4
|
+
|
|
5
|
+
const meta = {
|
|
6
|
+
title: 'Trepur Components/Typography/Fonts',
|
|
7
|
+
component: Fonts,
|
|
8
|
+
} satisfies Meta<typeof Fonts>;
|
|
9
|
+
|
|
10
|
+
export default meta;
|
|
11
|
+
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
|
|
14
|
+
export const Default: Story = {};
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import Icon from '@components/Icon';
|
|
4
|
+
|
|
5
|
+
import '../../styles/base.css';
|
|
6
|
+
|
|
7
|
+
const Fonts: React.FC<{}> = (): JSX.Element => {
|
|
8
|
+
return (
|
|
9
|
+
<div className="theme-local">
|
|
10
|
+
<h2>Font sizes</h2>
|
|
11
|
+
<div className="flex items-center">
|
|
12
|
+
<Icon
|
|
13
|
+
className="mx-4"
|
|
14
|
+
type="check"
|
|
15
|
+
bgColour="success"
|
|
16
|
+
colour="white"
|
|
17
|
+
rounded
|
|
18
|
+
size={1}
|
|
19
|
+
/>
|
|
20
|
+
<p className="text-xxs font-regular">This text is xxs</p>
|
|
21
|
+
</div>
|
|
22
|
+
<div className="flex items-center">
|
|
23
|
+
<Icon
|
|
24
|
+
className="mx-4"
|
|
25
|
+
type="check"
|
|
26
|
+
bgColour="success"
|
|
27
|
+
colour="white"
|
|
28
|
+
rounded
|
|
29
|
+
size={1}
|
|
30
|
+
/>
|
|
31
|
+
<p className="text-xs font-regular">This text is xs</p>
|
|
32
|
+
</div>
|
|
33
|
+
<div className="flex items-center">
|
|
34
|
+
<Icon
|
|
35
|
+
className="mx-4"
|
|
36
|
+
type="check"
|
|
37
|
+
bgColour="success"
|
|
38
|
+
colour="white"
|
|
39
|
+
rounded
|
|
40
|
+
size={1}
|
|
41
|
+
/>
|
|
42
|
+
<p className="text-sm font-regular">This text is sm</p>
|
|
43
|
+
</div>
|
|
44
|
+
<div className="flex items-center">
|
|
45
|
+
<Icon
|
|
46
|
+
className="mx-4"
|
|
47
|
+
type="check"
|
|
48
|
+
bgColour="success"
|
|
49
|
+
colour="white"
|
|
50
|
+
rounded
|
|
51
|
+
size={1}
|
|
52
|
+
/>
|
|
53
|
+
<p className="text-md font-regular">This text is md</p>
|
|
54
|
+
</div>
|
|
55
|
+
<div className="flex items-center">
|
|
56
|
+
<Icon
|
|
57
|
+
className="mx-4"
|
|
58
|
+
type="check"
|
|
59
|
+
bgColour="success"
|
|
60
|
+
colour="white"
|
|
61
|
+
rounded
|
|
62
|
+
size={1}
|
|
63
|
+
/>
|
|
64
|
+
<p className="text-lg font-regular">This text is lg</p>
|
|
65
|
+
</div>
|
|
66
|
+
<div className="flex items-center">
|
|
67
|
+
<Icon
|
|
68
|
+
className="mx-4"
|
|
69
|
+
type="check"
|
|
70
|
+
bgColour="success"
|
|
71
|
+
colour="white"
|
|
72
|
+
rounded
|
|
73
|
+
size={1}
|
|
74
|
+
/>
|
|
75
|
+
<p className="text-xl font-regular">This text is xl</p>
|
|
76
|
+
</div>
|
|
77
|
+
<div className="flex items-center">
|
|
78
|
+
<Icon
|
|
79
|
+
className="mx-4"
|
|
80
|
+
type="check"
|
|
81
|
+
bgColour="success"
|
|
82
|
+
colour="white"
|
|
83
|
+
rounded
|
|
84
|
+
size={1}
|
|
85
|
+
/>
|
|
86
|
+
<p className="text-xxl font-regular">This text is xxl</p>
|
|
87
|
+
</div>
|
|
88
|
+
<h2>Font weights</h2>
|
|
89
|
+
<div className="flex items-center">
|
|
90
|
+
<Icon
|
|
91
|
+
className="mx-4"
|
|
92
|
+
type="check"
|
|
93
|
+
bgColour="success"
|
|
94
|
+
colour="white"
|
|
95
|
+
rounded
|
|
96
|
+
size={1}
|
|
97
|
+
/>
|
|
98
|
+
<p className="text-md font-thin">This font is thin</p>
|
|
99
|
+
</div>
|
|
100
|
+
<div className="flex items-center">
|
|
101
|
+
<Icon
|
|
102
|
+
className="mx-4"
|
|
103
|
+
type="check"
|
|
104
|
+
bgColour="success"
|
|
105
|
+
colour="white"
|
|
106
|
+
rounded
|
|
107
|
+
size={1}
|
|
108
|
+
/>
|
|
109
|
+
<p className="text-md font-extraLight">This font is extra light</p>
|
|
110
|
+
</div>
|
|
111
|
+
<div className="flex items-center">
|
|
112
|
+
<Icon
|
|
113
|
+
className="mx-4"
|
|
114
|
+
type="check"
|
|
115
|
+
bgColour="success"
|
|
116
|
+
colour="white"
|
|
117
|
+
rounded
|
|
118
|
+
size={1}
|
|
119
|
+
/>
|
|
120
|
+
<p className="text-md font-light">This font is light</p>
|
|
121
|
+
</div>
|
|
122
|
+
<div className="flex items-center">
|
|
123
|
+
<Icon
|
|
124
|
+
className="mx-4"
|
|
125
|
+
type="check"
|
|
126
|
+
bgColour="success"
|
|
127
|
+
colour="white"
|
|
128
|
+
rounded
|
|
129
|
+
size={1}
|
|
130
|
+
/>
|
|
131
|
+
<p className="text-md font-regular">This font is regular</p>
|
|
132
|
+
</div>
|
|
133
|
+
<div className="flex items-center">
|
|
134
|
+
<Icon
|
|
135
|
+
className="mx-4"
|
|
136
|
+
type="check"
|
|
137
|
+
bgColour="success"
|
|
138
|
+
colour="white"
|
|
139
|
+
rounded
|
|
140
|
+
size={1}
|
|
141
|
+
/>
|
|
142
|
+
<p className="text-md font-medium">This font is medium</p>
|
|
143
|
+
</div>
|
|
144
|
+
<div className="flex items-center">
|
|
145
|
+
<Icon
|
|
146
|
+
className="mx-4"
|
|
147
|
+
type="check"
|
|
148
|
+
bgColour="success"
|
|
149
|
+
colour="white"
|
|
150
|
+
rounded
|
|
151
|
+
size={1}
|
|
152
|
+
/>
|
|
153
|
+
<p className="text-md font-semiBold">This font is semi bold</p>
|
|
154
|
+
</div>
|
|
155
|
+
<div className="flex items-center">
|
|
156
|
+
<Icon
|
|
157
|
+
className="mx-4"
|
|
158
|
+
type="check"
|
|
159
|
+
bgColour="success"
|
|
160
|
+
colour="white"
|
|
161
|
+
rounded
|
|
162
|
+
size={1}
|
|
163
|
+
/>
|
|
164
|
+
<p className="text-md font-bold">This font is bold</p>
|
|
165
|
+
</div>
|
|
166
|
+
<div className="flex items-center">
|
|
167
|
+
<Icon
|
|
168
|
+
className="mx-4"
|
|
169
|
+
type="check"
|
|
170
|
+
bgColour="success"
|
|
171
|
+
colour="white"
|
|
172
|
+
rounded
|
|
173
|
+
size={1}
|
|
174
|
+
/>
|
|
175
|
+
<p className="text-md font-extraBold">This font is extra bold</p>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
);
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
export default Fonts;
|