docs: refactor to use TypeScript, ESLint, and Tailwind CSS (#4136)

* docs(refactoring): configured eslint and typescript (#3511)

* docs: configured eslint and typescript

* fixed yarn.lock

* docs(refactoring): migrate components directory to typescript (#3517)

* docs: migrate components directory to typescript

* removed vscode settings

* fix following merge

* docs: refactored QueryNote component (#3576)

* docs: refactored first batch of theme components (#3579)

* docs: refactored second batch of theme components (#3580)

* added missing badge styles

* fix after merge

* docs(refactoring): migrated remaining component to TypeScript (#3770)

* docs(refactoring): configured eslint and typescript (#3511)

* docs: configured eslint and typescript

* fixed yarn.lock

* docs(refactoring): migrate components directory to typescript (#3517)

* docs: migrate components directory to typescript

* removed vscode settings

* fix following merge

* docs: refactored QueryNote component (#3576)

* docs: refactored first batch of theme components (#3579)

* docs: refactored second batch of theme components (#3580)

* added missing badge styles

* docs: refactoring second batch of theme components

* fix after merge

* refactored icons and other components

* docs: refactored all components

* docs(refactoring): set up and configured Tailwind Css (#3841)

* docs: added tailwind config

* docs: added more tailwind configurations

* add includes option

* added more tailwind configurations

* fix to configurations

* docs(refactoring): use tailwind css (#4134)

* docs: added tailwind config

* docs: added more tailwind configurations

* add includes option

* added more tailwind configurations

* fix to configurations

* docs(refactoring): refactored all styles to use tailwind css (#4132)

* refactored Badge component to use tailwind css

* refactored Bordered component to use tailwind css

* updated to latest docusaurus

* refactored BorderedIcon component to use tailwind css

* refactored Feedback component to use tailwind css

* refactored icons and footersociallinks to tailwind css

* start refactoring of large card

* refactored large card styling

* refactored until admonitions

* refactored until codeblock

* refactored until Tabs

* refactored Tabs (without testing

* finished refactoring styles to tailwind css

* upgraded to version 2.4.1

* general fixes

* adjusted eslint configurations

* fixed ignore files

* fixes to large card

* fix search styling

* fix npx command

* updated tabs to use isCodeTabs prop

* fixed os tabs

* removed os-tabs class in favor of general styling

* improvements to buttons

* fix for searchbar

* fixed redocly download button

* chore: added eslint code action (#4135)

* small change in commerce modules page
This commit is contained in:
Shahed Nasser
2023-05-19 14:56:48 +03:00
committed by GitHub
parent 29a88bbf98
commit 94907730d2
292 changed files with 11721 additions and 42102 deletions
+174 -167
View File
@@ -1,169 +1,176 @@
import IconAcademicCapSolid from './AcademicCapSolid';
import IconAdjustments from './Adjustments';
import IconAlert from './Alert';
import IconArrowDownTray from './ArrowDownTray';
import IconBackArrow from './BackArrow';
import IconBell from './Bell';
import IconBellAlertSolid from './BellAlertSolid';
import IconBolt from './Bolt';
import IconBoltSolid from './BoltSolid';
import IconBookOpen from './BookOpen';
import IconBug from './Bug';
import IconBugAntSolid from './BugAntSolid';
import IconBuildingSolid from './BuildingSolid';
import IconBuildingStorefront from './BuildingStorefront';
import IconBuildingTax from './BuildingTax';
import IconCalendar from './Calendar';
import IconCashSolid from './CashSolid';
import IconChannels from './Channels';
import IconChannelsSolid from './ChannelsSolid';
import IconCheckCircleSolid from './CheckCircleSolid';
import IconCircleStack from './CircleStack';
import IconCircleStackSolid from './CircleStackSolid';
import IconClockSolidMini from './ClockSolidMini';
import IconClose from './Close';
import IconCloudArrowUp from './CloudArrowUp';
import IconCogSixTooth from './CogSixTooth';
import IconCogSixToothSolid from './CogSixToothSolid';
import IconCommandLine from './CommandLine';
import IconCommandLineSolid from './CommandLineSolid';
import IconComponentSolid from './ComponentSolid';
import IconComputerDesktop from './ComputerDesktop';
import IconComputerDesktopSolid from './ComputerDesktopSolid';
import IconCopy from './Copy';
import IconCreditCardSolid from './CreditCardSolid';
import IconCubeSolid from './CubeSolid';
import IconCurrencyDollar from './CurrencyDollar';
import IconCurrencyDollarSolid from './CurrencyDollarSolid';
import IconDarkMode from './DarkMode';
import IconDiscord from './Discord';
import IconDocumentText from './DocumentText';
import IconExternalLink from './ExternalLink';
import IconFlyingBox from './FlyingBox';
import IconFolder from './Folder';
import IconFolderOpen from './FolderOpen';
import IconGatsby from './Gatsby';
import IconGiftSolid from './GiftSolid';
import IconGitHub from './GitHub';
import IconGlobeEurope from './GlobeEurope';
import IconGlobeEuropeSolid from './GlobeEuropeSolid';
import IconJavaScript from './JavaScript';
import IconKey from './Key';
import IconKeySolid from './KeySolid';
import IconLightBulb from './LightBulb';
import IconLightBulbSolid from './LightBulbSolid';
import IconLightMode from './LightMode';
import IconLinkedIn from './LinkedIn';
import IconNextjs from './Nextjs';
import IconPencilSquareSolid from './PencilSquareSolid';
import IconPuzzle from './Puzzle';
import IconPuzzleSolid from './PuzzleSolid';
import IconReact from './React';
import IconReceiptPercent from './ReceiptPercent';
import IconReport from './Report';
import IconRocketLaunch from './RocketLaunch';
import IconServer from './Server';
import IconServerSolid from './ServerSolid';
import IconServerStack from './ServerStack';
import IconServerStackSolid from './ServerStackSolid';
import IconShoppingCart from './ShoppingCart';
import IconShoppingCartSolid from './ShoppingCartSolid';
import IconSparkles from './Sparkles';
import IconSparklesSolid from './SparklesSolid';
import IconSquaresPlus from './SquaresPlus';
import IconSquaresPlusSolid from './SquaresPlusSolid';
import IconStar from './Star';
import IconStripe from './Stripe';
import IconSwatchSolid from './SwatchSolid';
import IconTagSolid from './TagSolid';
import IconTools from './Tools';
import IconToolsSolid from './ToolsSolid';
import IconTwitter from './Twitter';
import IconUser from './User';
import IconUsersSolid from './UsersSolid';
import IconAcademicCapSolid from "./AcademicCapSolid"
import IconAdjustments from "./Adjustments"
import IconAlert from "./Alert"
import IconArrowDownTray from "./ArrowDownTray"
import IconBackArrow from "./BackArrow"
import IconBell from "./Bell"
import IconBellAlertSolid from "./BellAlertSolid"
import IconBolt from "./Bolt"
import IconBoltSolid from "./BoltSolid"
import IconBookOpen from "./BookOpen"
import IconBug from "./Bug"
import IconBugAntSolid from "./BugAntSolid"
import IconBuildingSolid from "./BuildingSolid"
import IconBuildingStorefront from "./BuildingStorefront"
import IconBuildingTax from "./BuildingTax"
import IconCalendar from "./Calendar"
import IconCashSolid from "./CashSolid"
import IconChannels from "./Channels"
import IconChannelsSolid from "./ChannelsSolid"
import IconCheckCircleSolid from "./CheckCircleSolid"
import IconCircleStack from "./CircleStack"
import IconCircleStackSolid from "./CircleStackSolid"
import IconClockSolidMini from "./ClockSolidMini"
import IconClose from "./Close"
import IconCloudArrowUp from "./CloudArrowUp"
import IconCogSixTooth from "./CogSixTooth"
import IconCogSixToothSolid from "./CogSixToothSolid"
import IconCommandLine from "./CommandLine"
import IconCommandLineSolid from "./CommandLineSolid"
import IconComponentSolid from "./ComponentSolid"
import IconComputerDesktop from "./ComputerDesktop"
import IconComputerDesktopSolid from "./ComputerDesktopSolid"
import IconCopy from "./Copy"
import IconCreditCardSolid from "./CreditCardSolid"
import IconCubeSolid from "./CubeSolid"
import IconCurrencyDollar from "./CurrencyDollar"
import IconCurrencyDollarSolid from "./CurrencyDollarSolid"
import IconDarkMode from "./DarkMode"
import IconDiscord from "./Discord"
import IconDocumentText from "./DocumentText"
import IconExternalLink from "./ExternalLink"
import IconFlyingBox from "./FlyingBox"
import IconFolder from "./Folder"
import IconFolderOpen from "./FolderOpen"
import IconGatsby from "./Gatsby"
import IconGiftSolid from "./GiftSolid"
import IconGitHub from "./GitHub"
import IconGlobeEurope from "./GlobeEurope"
import IconGlobeEuropeSolid from "./GlobeEuropeSolid"
import IconJavaScript from "./JavaScript"
import IconKey from "./Key"
import IconKeySolid from "./KeySolid"
import IconLightBulb from "./LightBulb"
import IconLightBulbSolid from "./LightBulbSolid"
import IconLightMode from "./LightMode"
import IconLinkedIn from "./LinkedIn"
import IconNextjs from "./Nextjs"
import IconPencilSquareSolid from "./PencilSquareSolid"
import IconPuzzle from "./Puzzle"
import IconPuzzleSolid from "./PuzzleSolid"
import IconReact from "./React"
import IconReceiptPercent from "./ReceiptPercent"
import IconReport from "./Report"
import IconRocketLaunch from "./RocketLaunch"
import IconServer from "./Server"
import IconServerSolid from "./ServerSolid"
import IconServerStack from "./ServerStack"
import IconServerStackSolid from "./ServerStackSolid"
import IconShoppingCart from "./ShoppingCart"
import IconShoppingCartSolid from "./ShoppingCartSolid"
import IconSparkles from "./Sparkles"
import IconSparklesSolid from "./SparklesSolid"
import IconSquaresPlus from "./SquaresPlus"
import IconSquaresPlusSolid from "./SquaresPlusSolid"
import IconStar from "./Star"
import IconStripe from "./Stripe"
import IconSwatchSolid from "./SwatchSolid"
import IconTagSolid from "./TagSolid"
import IconTools from "./Tools"
import IconToolsSolid from "./ToolsSolid"
import IconTwitter from "./Twitter"
import IconUser from "./User"
import IconUsersSolid from "./UsersSolid"
export type IconProps = {
width?: number
height?: number
strokeWidth?: number | string
iconColorClassName?: string
} & React.HTMLAttributes<SVGElement>
export default {
'academic-cap-solid': IconAcademicCapSolid,
'adjustments': IconAdjustments,
'alert': IconAlert,
'arrow-down-tray': IconArrowDownTray,
'back-arrow': IconBackArrow,
'bell': IconBell,
'bell-alert-solid': IconBellAlertSolid,
'bolt': IconBolt,
'bolt-solid': IconBoltSolid,
'book-open': IconBookOpen,
'bug': IconBug,
'bug-ant-solid': IconBugAntSolid,
'building-solid': IconBuildingSolid,
'building-storefront': IconBuildingStorefront,
'building-tax': IconBuildingTax,
'calendar': IconCalendar,
'cash-solid': IconCashSolid,
'channels-solid': IconChannelsSolid,
'channels': IconChannels,
'check-circle-solid': IconCheckCircleSolid,
'circle-stack': IconCircleStack,
'circle-stack-solid': IconCircleStackSolid,
'clock-solid-mini': IconClockSolidMini,
'close': IconClose,
'cloud-arrow-up': IconCloudArrowUp,
'cog-six-tooth': IconCogSixTooth,
'cog-six-tooth-solid': IconCogSixToothSolid,
'command-line': IconCommandLine,
'command-line-solid': IconCommandLineSolid,
'component-solid': IconComponentSolid,
'computer-desktop': IconComputerDesktop,
'computer-desktop-solid': IconComputerDesktopSolid,
'copy': IconCopy,
'credit-card-solid': IconCreditCardSolid,
'cube-solid': IconCubeSolid,
'currency-dollar': IconCurrencyDollar,
'currency-dollar-solid': IconCurrencyDollarSolid,
'dark-mode': IconDarkMode,
'discord': IconDiscord,
'document-text': IconDocumentText,
'external-link': IconExternalLink,
'flying-box': IconFlyingBox,
'folder': IconFolder,
'folder-open': IconFolderOpen,
'gatsby': IconGatsby,
'gift-solid': IconGiftSolid,
'github': IconGitHub,
'globe-europe': IconGlobeEurope,
'globe-europe-solid': IconGlobeEuropeSolid,
'javascript': IconJavaScript,
'key': IconKey,
'key-solid': IconKeySolid,
'light-bulb': IconLightBulb,
'light-bulb-solid': IconLightBulbSolid,
'light-mode': IconLightMode,
'linkedin': IconLinkedIn,
'nextjs': IconNextjs,
'pencil-square-solid': IconPencilSquareSolid,
'puzzle': IconPuzzle,
'puzzle-solid': IconPuzzleSolid,
'react': IconReact,
'receipt-percent': IconReceiptPercent,
'report': IconReport,
'rocket-launch': IconRocketLaunch,
'server': IconServer,
'server-solid': IconServerSolid,
'server-stack': IconServerStack,
'server-stack-solid': IconServerStackSolid,
'shopping-cart': IconShoppingCart,
'shopping-cart-solid': IconShoppingCartSolid,
'sparkles': IconSparkles,
'sparkles-solid': IconSparklesSolid,
'squares-plus': IconSquaresPlus,
'squares-plus-solid': IconSquaresPlusSolid,
'star': IconStar,
'stripe': IconStripe,
'swatch-solid': IconSwatchSolid,
'tag-solid': IconTagSolid,
'tools': IconTools,
'tools-solid': IconToolsSolid,
'twitter': IconTwitter,
'user': IconUser,
'users-solid': IconUsersSolid,
}
"academic-cap-solid": IconAcademicCapSolid,
adjustments: IconAdjustments,
alert: IconAlert,
"arrow-down-tray": IconArrowDownTray,
"back-arrow": IconBackArrow,
bell: IconBell,
"bell-alert-solid": IconBellAlertSolid,
bolt: IconBolt,
"bolt-solid": IconBoltSolid,
"book-open": IconBookOpen,
bug: IconBug,
"bug-ant-solid": IconBugAntSolid,
"building-solid": IconBuildingSolid,
"building-storefront": IconBuildingStorefront,
"building-tax": IconBuildingTax,
calendar: IconCalendar,
"cash-solid": IconCashSolid,
"channels-solid": IconChannelsSolid,
channels: IconChannels,
"check-circle-solid": IconCheckCircleSolid,
"circle-stack": IconCircleStack,
"circle-stack-solid": IconCircleStackSolid,
"clock-solid-mini": IconClockSolidMini,
close: IconClose,
"cloud-arrow-up": IconCloudArrowUp,
"cog-six-tooth": IconCogSixTooth,
"cog-six-tooth-solid": IconCogSixToothSolid,
"command-line": IconCommandLine,
"command-line-solid": IconCommandLineSolid,
"component-solid": IconComponentSolid,
"computer-desktop": IconComputerDesktop,
"computer-desktop-solid": IconComputerDesktopSolid,
copy: IconCopy,
"credit-card-solid": IconCreditCardSolid,
"cube-solid": IconCubeSolid,
"currency-dollar": IconCurrencyDollar,
"currency-dollar-solid": IconCurrencyDollarSolid,
"dark-mode": IconDarkMode,
discord: IconDiscord,
"document-text": IconDocumentText,
"external-link": IconExternalLink,
"flying-box": IconFlyingBox,
folder: IconFolder,
"folder-open": IconFolderOpen,
gatsby: IconGatsby,
"gift-solid": IconGiftSolid,
github: IconGitHub,
"globe-europe": IconGlobeEurope,
"globe-europe-solid": IconGlobeEuropeSolid,
javascript: IconJavaScript,
key: IconKey,
"key-solid": IconKeySolid,
"light-bulb": IconLightBulb,
"light-bulb-solid": IconLightBulbSolid,
"light-mode": IconLightMode,
linkedin: IconLinkedIn,
nextjs: IconNextjs,
"pencil-square-solid": IconPencilSquareSolid,
puzzle: IconPuzzle,
"puzzle-solid": IconPuzzleSolid,
react: IconReact,
"receipt-percent": IconReceiptPercent,
report: IconReport,
"rocket-launch": IconRocketLaunch,
server: IconServer,
"server-solid": IconServerSolid,
"server-stack": IconServerStack,
"server-stack-solid": IconServerStackSolid,
"shopping-cart": IconShoppingCart,
"shopping-cart-solid": IconShoppingCartSolid,
sparkles: IconSparkles,
"sparkles-solid": IconSparklesSolid,
"squares-plus": IconSquaresPlus,
"squares-plus-solid": IconSquaresPlusSolid,
star: IconStar,
stripe: IconStripe,
"swatch-solid": IconSwatchSolid,
"tag-solid": IconTagSolid,
tools: IconTools,
"tools-solid": IconToolsSolid,
twitter: IconTwitter,
user: IconUser,
"users-solid": IconUsersSolid,
}