@punkbit/cui 0.0.247-rc.2
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/LICENSE +203 -0
- package/dist/App.d.ts +2 -0
- package/dist/click-ui.bundled.es.js +40872 -0
- package/dist/click-ui.bundled.es.js.map +1 -0
- package/dist/click-ui.bundled.umd.js +1466 -0
- package/dist/click-ui.bundled.umd.js.map +1 -0
- package/dist/click-ui.es.js +39632 -0
- package/dist/click-ui.es.js.map +1 -0
- package/dist/click-ui.umd.js +1407 -0
- package/dist/click-ui.umd.js.map +1 -0
- package/dist/clickhouse-backs.png +0 -0
- package/dist/components/Accordion/Accordion.d.ts +30 -0
- package/dist/components/Alert/Alert.d.ts +31 -0
- package/dist/components/AutoComplete/AutoComplete.d.ts +67 -0
- package/dist/components/AutoComplete/AutoCompleteOptionList.d.ts +8 -0
- package/dist/components/AutoComplete/OptionContext.d.ts +10 -0
- package/dist/components/AutoComplete/useOption.d.ts +9 -0
- package/dist/components/Avatar/Avatar.d.ts +14 -0
- package/dist/components/Badge/Badge.d.ts +35 -0
- package/dist/components/BigStat/BigStat.d.ts +28 -0
- package/dist/components/Button/Button.d.ts +26 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +22 -0
- package/dist/components/CardHorizontal/CardHorizontal.d.ts +40 -0
- package/dist/components/CardPrimary/CardPrimary.d.ts +35 -0
- package/dist/components/CardPrimary/CardPrimaryTopBadge.d.ts +4 -0
- package/dist/components/CardPrimary/withTopBadge.d.ts +6 -0
- package/dist/components/CardPromotion/CardPromotion.d.ts +11 -0
- package/dist/components/CardSecondary/CardSecondary.d.ts +31 -0
- package/dist/components/Checkbox/Checkbox.d.ts +14 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts +14 -0
- package/dist/components/CodeBlock/InlineCodeBlock.d.ts +2 -0
- package/dist/components/CodeBlock/useColorStyle.d.ts +115 -0
- package/dist/components/Collapsible/Collapsible.d.ts +32 -0
- package/dist/components/Collapsible/IconWrapper.d.ts +7 -0
- package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts +30 -0
- package/dist/components/Container/Container.d.ts +49 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts +48 -0
- package/dist/components/DateDetails/DateDetails.d.ts +15 -0
- package/dist/components/DatePicker/Common.d.ts +32 -0
- package/dist/components/DatePicker/DatePicker.d.ts +8 -0
- package/dist/components/DatePicker/DateRangePicker.d.ts +13 -0
- package/dist/components/DatePicker/utils.d.ts +10 -0
- package/dist/components/Dialog/Dialog.d.ts +36 -0
- package/dist/components/Dropdown/Dropdown.d.ts +50 -0
- package/dist/components/EllipsisContent/EllipsisContent.d.ts +7 -0
- package/dist/components/FileTabs/FileTabs.d.ts +55 -0
- package/dist/components/FileUpload/FileMultiUpload.d.ts +32 -0
- package/dist/components/FileUpload/FileUpload.d.ts +26 -0
- package/dist/components/Flyout/Flyout.d.ts +99 -0
- package/dist/components/FormContainer/FormContainer.d.ts +12 -0
- package/dist/components/GenericLabel/GenericLabel.d.ts +8 -0
- package/dist/components/GenericMenu.d.ts +12 -0
- package/dist/components/Grid/Cell.d.ts +7 -0
- package/dist/components/Grid/ColumnResizer.d.ts +27 -0
- package/dist/components/Grid/Grid.d.ts +2 -0
- package/dist/components/Grid/Header.d.ts +22 -0
- package/dist/components/Grid/RowNumberColumn.d.ts +17 -0
- package/dist/components/Grid/StyledCell.d.ts +15 -0
- package/dist/components/Grid/copyGridElements.d.ts +13 -0
- package/dist/components/Grid/types.d.ts +149 -0
- package/dist/components/Grid/useColumns.d.ts +17 -0
- package/dist/components/Grid/useResizingState.d.ts +47 -0
- package/dist/components/Grid/useSelectionActions.d.ts +31 -0
- package/dist/components/GridContainer/GridContainer.d.ts +60 -0
- package/dist/components/HoverCard/HoverCard.d.ts +24 -0
- package/dist/components/Icon/Icon.d.ts +6 -0
- package/dist/components/Icon/IconCommon.d.ts +167 -0
- package/dist/components/Icon/types.d.ts +30 -0
- package/dist/components/IconButton/IconButton.d.ts +13 -0
- package/dist/components/IconWrapper/IconWrapper.d.ts +16 -0
- package/dist/components/Input/InputWrapper.d.ts +29 -0
- package/dist/components/Input/NumberField.d.ts +17 -0
- package/dist/components/Input/PasswordField.d.ts +10 -0
- package/dist/components/Input/SearchField.d.ts +5 -0
- package/dist/components/Input/TextArea.d.ts +15 -0
- package/dist/components/Input/TextField.d.ts +25 -0
- package/dist/components/Label/Label.d.ts +10 -0
- package/dist/components/Link/Link.d.ts +20 -0
- package/dist/components/Link/common.d.ts +6 -0
- package/dist/components/Logos/AWSAthena.d.ts +3 -0
- package/dist/components/Logos/AWSDark.d.ts +3 -0
- package/dist/components/Logos/AWSGlue.d.ts +3 -0
- package/dist/components/Logos/AWSKinesis.d.ts +3 -0
- package/dist/components/Logos/AWSLight.d.ts +3 -0
- package/dist/components/Logos/AWSMsk.d.ts +3 -0
- package/dist/components/Logos/AWSRedshift.d.ts +3 -0
- package/dist/components/Logos/AWS_S3.d.ts +3 -0
- package/dist/components/Logos/Airbyte.d.ts +3 -0
- package/dist/components/Logos/Azure.d.ts +3 -0
- package/dist/components/Logos/AzureBlobStorage.d.ts +3 -0
- package/dist/components/Logos/AzureEventHub.d.ts +3 -0
- package/dist/components/Logos/BigQuery.d.ts +3 -0
- package/dist/components/Logos/Chash.d.ts +3 -0
- package/dist/components/Logos/ClickhouseDark.d.ts +3 -0
- package/dist/components/Logos/ClickhouseLight.d.ts +3 -0
- package/dist/components/Logos/Cloudflare.d.ts +3 -0
- package/dist/components/Logos/Confluent.d.ts +3 -0
- package/dist/components/Logos/DataGrip.d.ts +3 -0
- package/dist/components/Logos/Databricks.d.ts +3 -0
- package/dist/components/Logos/Dbt.d.ts +3 -0
- package/dist/components/Logos/Decodeable.d.ts +3 -0
- package/dist/components/Logos/DeepNote.d.ts +3 -0
- package/dist/components/Logos/DeltaLake.d.ts +3 -0
- package/dist/components/Logos/DigitalOcean.d.ts +3 -0
- package/dist/components/Logos/FeatureDatabaseDark.d.ts +3 -0
- package/dist/components/Logos/FeatureDatabaseLight.d.ts +3 -0
- package/dist/components/Logos/FeatureHexagonDark.d.ts +3 -0
- package/dist/components/Logos/FeatureHexagonLight.d.ts +3 -0
- package/dist/components/Logos/Fivetran.d.ts +3 -0
- package/dist/components/Logos/GCS.d.ts +3 -0
- package/dist/components/Logos/Gcp.d.ts +3 -0
- package/dist/components/Logos/GithubDark.d.ts +3 -0
- package/dist/components/Logos/GithubLight.d.ts +3 -0
- package/dist/components/Logos/GoLang.d.ts +3 -0
- package/dist/components/Logos/Google.d.ts +3 -0
- package/dist/components/Logos/Grafana.d.ts +3 -0
- package/dist/components/Logos/Hex.d.ts +3 -0
- package/dist/components/Logos/Hudi.d.ts +3 -0
- package/dist/components/Logos/Iceberg.d.ts +3 -0
- package/dist/components/Logos/Jdbc.d.ts +3 -0
- package/dist/components/Logos/KafkaDark.d.ts +3 -0
- package/dist/components/Logos/KafkaLight.d.ts +3 -0
- package/dist/components/Logos/Kubenetes.d.ts +3 -0
- package/dist/components/Logos/Logo.d.ts +16 -0
- package/dist/components/Logos/LogosDark.d.ts +4 -0
- package/dist/components/Logos/LogosLight.d.ts +4 -0
- package/dist/components/Logos/MariaDB.d.ts +3 -0
- package/dist/components/Logos/Metabase.d.ts +3 -0
- package/dist/components/Logos/Microsoft.d.ts +3 -0
- package/dist/components/Logos/MongoDb.d.ts +3 -0
- package/dist/components/Logos/MySQL.d.ts +3 -0
- package/dist/components/Logos/Nessie.d.ts +3 -0
- package/dist/components/Logos/NodeJs.d.ts +3 -0
- package/dist/components/Logos/OneLake.d.ts +3 -0
- package/dist/components/Logos/Postgres.d.ts +3 -0
- package/dist/components/Logos/Prequel.d.ts +3 -0
- package/dist/components/Logos/Python.d.ts +3 -0
- package/dist/components/Logos/Redpanda.d.ts +3 -0
- package/dist/components/Logos/RustDark.d.ts +3 -0
- package/dist/components/Logos/RustLight.d.ts +3 -0
- package/dist/components/Logos/Snowflake.d.ts +3 -0
- package/dist/components/Logos/Superset.d.ts +3 -0
- package/dist/components/Logos/TableauDark.d.ts +3 -0
- package/dist/components/Logos/TableauLight.d.ts +3 -0
- package/dist/components/Logos/Upstash.d.ts +3 -0
- package/dist/components/Logos/Vector.d.ts +3 -0
- package/dist/components/Logos/WarpStream.d.ts +3 -0
- package/dist/components/Logos/dBeaver.d.ts +3 -0
- package/dist/components/Logos/types.d.ts +1 -0
- package/dist/components/MultiAccordion/MultiAccordion.d.ts +48 -0
- package/dist/components/MultiAccordion/MultiAccordionDemo.d.ts +3 -0
- package/dist/components/Pagination/Pagination.d.ts +31 -0
- package/dist/components/Panel/Panel.d.ts +38 -0
- package/dist/components/Popover/Popover.d.ts +27 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +40 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +29 -0
- package/dist/components/Select/CheckboxMultiSelect.d.ts +10 -0
- package/dist/components/Select/MultiSelect.d.ts +15 -0
- package/dist/components/Select/MultiSelectValue.d.ts +11 -0
- package/dist/components/Select/SingleSelect.d.ts +17 -0
- package/dist/components/Select/SingleSelectValue.d.ts +6 -0
- package/dist/components/Select/common/InternalSelect.d.ts +14 -0
- package/dist/components/Select/common/OptionContext.d.ts +13 -0
- package/dist/components/Select/common/SelectStyled.d.ts +30 -0
- package/dist/components/Select/common/types.d.ts +92 -0
- package/dist/components/Select/common/useOption.d.ts +10 -0
- package/dist/components/Select/selectOptions.d.ts +3 -0
- package/dist/components/Separator/Separator.d.ts +7 -0
- package/dist/components/SidebarCollapsibleItem/SidebarCollapsibleItem.d.ts +26 -0
- package/dist/components/SidebarCollapsibleTitle/SidebarCollapsibleTitle.d.ts +21 -0
- package/dist/components/SidebarNavigationItem/SidebarNavigationItem.d.ts +25 -0
- package/dist/components/SidebarNavigationTitle/SidebarNavigationTitle.d.ts +19 -0
- package/dist/components/Spacer/Spacer.d.ts +6 -0
- package/dist/components/SplitButton/SplitButton.d.ts +41 -0
- package/dist/components/Switch/Switch.d.ts +16 -0
- package/dist/components/Table/Table.d.ts +53 -0
- package/dist/components/Tabs/Tabs.d.ts +18 -0
- package/dist/components/Toast/Toast.d.ts +36 -0
- package/dist/components/Toast/toastEmitter.d.ts +4 -0
- package/dist/components/Toast/useToast.d.ts +2 -0
- package/dist/components/Tooltip/Tooltip.d.ts +24 -0
- package/dist/components/Typography/Text/Text.d.ts +25 -0
- package/dist/components/Typography/Title/Title.d.ts +20 -0
- package/dist/components/VerticalStepper/VerticalStepper.d.ts +24 -0
- package/dist/components/commonElement.d.ts +16 -0
- package/dist/components/commonTypes.d.ts +2 -0
- package/dist/components/cursorOptions.d.ts +1 -0
- package/dist/components/icons/Activity.d.ts +3 -0
- package/dist/components/icons/Alarm.d.ts +3 -0
- package/dist/components/icons/ArrowDirections.d.ts +3 -0
- package/dist/components/icons/ArrowDown.d.ts +3 -0
- package/dist/components/icons/ArrowLeft.d.ts +3 -0
- package/dist/components/icons/ArrowRight.d.ts +3 -0
- package/dist/components/icons/ArrowTriangle.d.ts +3 -0
- package/dist/components/icons/ArrowUp.d.ts +3 -0
- package/dist/components/icons/AuthApp.d.ts +3 -0
- package/dist/components/icons/AuthSms.d.ts +3 -0
- package/dist/components/icons/Backups.d.ts +3 -0
- package/dist/components/icons/BarChart.d.ts +3 -0
- package/dist/components/icons/Bell.d.ts +3 -0
- package/dist/components/icons/Beta.d.ts +3 -0
- package/dist/components/icons/Blog.d.ts +3 -0
- package/dist/components/icons/Bold.d.ts +3 -0
- package/dist/components/icons/Book.d.ts +3 -0
- package/dist/components/icons/Brackets.d.ts +3 -0
- package/dist/components/icons/Briefcase.d.ts +3 -0
- package/dist/components/icons/Building.d.ts +3 -0
- package/dist/components/icons/BurgerMenu.d.ts +3 -0
- package/dist/components/icons/Calendar.d.ts +3 -0
- package/dist/components/icons/CalendarWithTime.d.ts +3 -0
- package/dist/components/icons/Cards.d.ts +3 -0
- package/dist/components/icons/CellTower.d.ts +3 -0
- package/dist/components/icons/ChartArea.d.ts +3 -0
- package/dist/components/icons/ChartBarHorizontal.d.ts +3 -0
- package/dist/components/icons/ChartDonut.d.ts +3 -0
- package/dist/components/icons/ChartHeatmap.d.ts +3 -0
- package/dist/components/icons/ChartScatter.d.ts +3 -0
- package/dist/components/icons/ChartStackedHorizontal.d.ts +3 -0
- package/dist/components/icons/ChartStackedVertical.d.ts +3 -0
- package/dist/components/icons/ChatIcon.d.ts +3 -0
- package/dist/components/icons/CheckIcon.d.ts +3 -0
- package/dist/components/icons/CheckInCircle.d.ts +3 -0
- package/dist/components/icons/ChevronDown.d.ts +2 -0
- package/dist/components/icons/ChevronLeft.d.ts +3 -0
- package/dist/components/icons/ChevronRight.d.ts +2 -0
- package/dist/components/icons/ChevronUp.d.ts +3 -0
- package/dist/components/icons/Circle.d.ts +3 -0
- package/dist/components/icons/Clock.d.ts +3 -0
- package/dist/components/icons/Cloud.d.ts +3 -0
- package/dist/components/icons/CloudKeys.d.ts +3 -0
- package/dist/components/icons/Code.d.ts +3 -0
- package/dist/components/icons/CodeInSquare.d.ts +3 -0
- package/dist/components/icons/Connect.d.ts +3 -0
- package/dist/components/icons/ConnectAlt.d.ts +3 -0
- package/dist/components/icons/Console.d.ts +3 -0
- package/dist/components/icons/Copy.d.ts +3 -0
- package/dist/components/icons/Cpu.d.ts +3 -0
- package/dist/components/icons/CreditCard.d.ts +3 -0
- package/dist/components/icons/CrossIcon.d.ts +3 -0
- package/dist/components/icons/Data.d.ts +3 -0
- package/dist/components/icons/DataLakes.d.ts +3 -0
- package/dist/components/icons/DatabaseIcon.d.ts +3 -0
- package/dist/components/icons/Disk.d.ts +3 -0
- package/dist/components/icons/Display.d.ts +3 -0
- package/dist/components/icons/Document.d.ts +3 -0
- package/dist/components/icons/Dot.d.ts +3 -0
- package/dist/components/icons/DotsHorizontal.d.ts +3 -0
- package/dist/components/icons/DotsTriangle.d.ts +3 -0
- package/dist/components/icons/DotsVertical.d.ts +3 -0
- package/dist/components/icons/DotsVerticalDouble.d.ts +3 -0
- package/dist/components/icons/DoubleCheckIcon.d.ts +3 -0
- package/dist/components/icons/Download.d.ts +3 -0
- package/dist/components/icons/DownloadInCircle.d.ts +3 -0
- package/dist/components/icons/Email.d.ts +3 -0
- package/dist/components/icons/Empty.d.ts +3 -0
- package/dist/components/icons/Enter.d.ts +3 -0
- package/dist/components/icons/Eye.d.ts +3 -0
- package/dist/components/icons/EyeClosed.d.ts +3 -0
- package/dist/components/icons/FilterIcon.d.ts +3 -0
- package/dist/components/icons/Fire.d.ts +3 -0
- package/dist/components/icons/Flag.d.ts +3 -0
- package/dist/components/icons/Flags/Australia.d.ts +3 -0
- package/dist/components/icons/Flags/Brazil.d.ts +3 -0
- package/dist/components/icons/Flags/Canada.d.ts +3 -0
- package/dist/components/icons/Flags/EuropeanUnion.d.ts +3 -0
- package/dist/components/icons/Flags/Germany.d.ts +3 -0
- package/dist/components/icons/Flags/GreatBritain.d.ts +2 -0
- package/dist/components/icons/Flags/HongKong.d.ts +3 -0
- package/dist/components/icons/Flags/India.d.ts +3 -0
- package/dist/components/icons/Flags/Indonesia.d.ts +3 -0
- package/dist/components/icons/Flags/Ireland.d.ts +3 -0
- package/dist/components/icons/Flags/Israel.d.ts +3 -0
- package/dist/components/icons/Flags/Japan.d.ts +3 -0
- package/dist/components/icons/Flags/Netherlands.d.ts +3 -0
- package/dist/components/icons/Flags/Singapore.d.ts +3 -0
- package/dist/components/icons/Flags/SouthAfrica.d.ts +3 -0
- package/dist/components/icons/Flags/SouthKorea.d.ts +3 -0
- package/dist/components/icons/Flags/Sweden.d.ts +3 -0
- package/dist/components/icons/Flags/Switzerland.d.ts +3 -0
- package/dist/components/icons/Flags/UnitedArabEmirates.d.ts +3 -0
- package/dist/components/icons/Flags/UnitedKingdom.d.ts +3 -0
- package/dist/components/icons/Flags/UnitedStates.d.ts +3 -0
- package/dist/components/icons/Flags/index.d.ts +32 -0
- package/dist/components/icons/Flash.d.ts +3 -0
- package/dist/components/icons/Flask.d.ts +3 -0
- package/dist/components/icons/FolderClosed.d.ts +3 -0
- package/dist/components/icons/FolderOpen.d.ts +3 -0
- package/dist/components/icons/Gear.d.ts +3 -0
- package/dist/components/icons/Gift.d.ts +3 -0
- package/dist/components/icons/GitMerge.d.ts +3 -0
- package/dist/components/icons/Globe.d.ts +3 -0
- package/dist/components/icons/Hexagon.d.ts +3 -0
- package/dist/components/icons/HistoryIcon.d.ts +3 -0
- package/dist/components/icons/Home.d.ts +3 -0
- package/dist/components/icons/HorizontalLoading.d.ts +2 -0
- package/dist/components/icons/Http.d.ts +3 -0
- package/dist/components/icons/HttpMonitoring.d.ts +3 -0
- package/dist/components/icons/InfoInCircleIcon.d.ts +3 -0
- package/dist/components/icons/InformationIcon.d.ts +3 -0
- package/dist/components/icons/InsertRowIcon.d.ts +3 -0
- package/dist/components/icons/Integrations.d.ts +3 -0
- package/dist/components/icons/Italic.d.ts +3 -0
- package/dist/components/icons/Key.d.ts +3 -0
- package/dist/components/icons/Keys.d.ts +3 -0
- package/dist/components/icons/Lifebuoy.d.ts +3 -0
- package/dist/components/icons/LightBulb.d.ts +3 -0
- package/dist/components/icons/LightBulbOn.d.ts +3 -0
- package/dist/components/icons/Lightening.d.ts +3 -0
- package/dist/components/icons/LineInCircle.d.ts +3 -0
- package/dist/components/icons/ListBulleted.d.ts +3 -0
- package/dist/components/icons/ListNumbered.d.ts +3 -0
- package/dist/components/icons/Loading.d.ts +3 -0
- package/dist/components/icons/LoadingAnimated.d.ts +2 -0
- package/dist/components/icons/Lock.d.ts +3 -0
- package/dist/components/icons/MapPin.d.ts +3 -0
- package/dist/components/icons/Mcp.d.ts +3 -0
- package/dist/components/icons/Metrics.d.ts +3 -0
- package/dist/components/icons/MetricsAlt.d.ts +3 -0
- package/dist/components/icons/Minus.d.ts +3 -0
- package/dist/components/icons/Moon.d.ts +3 -0
- package/dist/components/icons/NoCloud.d.ts +3 -0
- package/dist/components/icons/Pause.d.ts +3 -0
- package/dist/components/icons/Payment.d.ts +3 -0
- package/dist/components/icons/Payments/Amex.d.ts +3 -0
- package/dist/components/icons/Payments/MasterCard.d.ts +3 -0
- package/dist/components/icons/Payments/Paypal.d.ts +3 -0
- package/dist/components/icons/Payments/Visa.d.ts +3 -0
- package/dist/components/icons/Payments/index.d.ts +15 -0
- package/dist/components/icons/Pencil.d.ts +3 -0
- package/dist/components/icons/PieChart.d.ts +3 -0
- package/dist/components/icons/Pipe.d.ts +3 -0
- package/dist/components/icons/Play.d.ts +3 -0
- package/dist/components/icons/PlayInCircle.d.ts +3 -0
- package/dist/components/icons/Plug.d.ts +3 -0
- package/dist/components/icons/Plus.d.ts +3 -0
- package/dist/components/icons/Popout.d.ts +3 -0
- package/dist/components/icons/PopoverArrow.d.ts +3 -0
- package/dist/components/icons/PuzzlePiece.d.ts +3 -0
- package/dist/components/icons/Query.d.ts +3 -0
- package/dist/components/icons/Question.d.ts +3 -0
- package/dist/components/icons/Refresh.d.ts +3 -0
- package/dist/components/icons/ResizeArrowsHorizontal.d.ts +3 -0
- package/dist/components/icons/ResizeArrowsVertical.d.ts +3 -0
- package/dist/components/icons/Rocket.d.ts +3 -0
- package/dist/components/icons/SandGlass.d.ts +3 -0
- package/dist/components/icons/Search.d.ts +3 -0
- package/dist/components/icons/Secure.d.ts +3 -0
- package/dist/components/icons/Server.d.ts +3 -0
- package/dist/components/icons/Services.d.ts +3 -0
- package/dist/components/icons/Settings.d.ts +3 -0
- package/dist/components/icons/Share.d.ts +3 -0
- package/dist/components/icons/ShareArrow.d.ts +3 -0
- package/dist/components/icons/ShareNetwork.d.ts +3 -0
- package/dist/components/icons/Sleep.d.ts +3 -0
- package/dist/components/icons/SlideIn.d.ts +3 -0
- package/dist/components/icons/SlideOut.d.ts +3 -0
- package/dist/components/icons/SortAltIcon.d.ts +3 -0
- package/dist/components/icons/SortIcon.d.ts +3 -0
- package/dist/components/icons/Sparkle.d.ts +3 -0
- package/dist/components/icons/Speaker.d.ts +3 -0
- package/dist/components/icons/Speed.d.ts +3 -0
- package/dist/components/icons/Square.d.ts +3 -0
- package/dist/components/icons/Star.d.ts +3 -0
- package/dist/components/icons/Stop.d.ts +3 -0
- package/dist/components/icons/Support.d.ts +3 -0
- package/dist/components/icons/Table.d.ts +3 -0
- package/dist/components/icons/Taxi.d.ts +3 -0
- package/dist/components/icons/TextSlash.d.ts +3 -0
- package/dist/components/icons/ThumbsDown.d.ts +3 -0
- package/dist/components/icons/ThumbsUp.d.ts +3 -0
- package/dist/components/icons/Trash.d.ts +3 -0
- package/dist/components/icons/TreeStructure.d.ts +3 -0
- package/dist/components/icons/Underline.d.ts +3 -0
- package/dist/components/icons/Upgrade.d.ts +3 -0
- package/dist/components/icons/Upload.d.ts +3 -0
- package/dist/components/icons/Url.d.ts +3 -0
- package/dist/components/icons/UserIcon.d.ts +2 -0
- package/dist/components/icons/UsersIcon.d.ts +2 -0
- package/dist/components/icons/WarningIcon.d.ts +3 -0
- package/dist/components/icons/Waves.d.ts +3 -0
- package/dist/components/index.d.ts +75 -0
- package/dist/components/types.d.ts +92 -0
- package/dist/examples/GridExample.d.ts +2 -0
- package/dist/favicon.ico +0 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useUpdateEffect.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/EventEmitter.d.ts +13 -0
- package/dist/lib/getTextFromNodes.d.ts +2 -0
- package/dist/logo.svg +17 -0
- package/dist/main.d.ts +0 -0
- package/dist/theme/ClickUIProvider/ClickUIProvider.d.ts +14 -0
- package/dist/theme/ClickUIProvider/index.d.ts +2 -0
- package/dist/theme/index.d.ts +22 -0
- package/dist/theme/theme.d.ts +6 -0
- package/dist/theme/tokens/types.d.ts +24 -0
- package/dist/theme/tokens/variables.dark.d.ts +3810 -0
- package/dist/theme/tokens/variables.light.d.ts +3795 -0
- package/dist/utils/mergeRefs.d.ts +1 -0
- package/dist/utils/test-utils.d.ts +58 -0
- package/dist/utils/truncate.d.ts +13 -0
- package/package.json +130 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { ComponentType, HTMLAttributes, KeyboardEventHandler, MouseEventHandler, MutableRefObject, ReactNode } from 'react';
|
|
2
|
+
import { VariableSizeGrid, VariableSizeGridProps } from 'react-window';
|
|
3
|
+
import { ContextMenuItemProps } from '..';
|
|
4
|
+
interface CellCommonProps extends HTMLAttributes<HTMLElement> {
|
|
5
|
+
columnIndex: number;
|
|
6
|
+
isScrolling?: boolean;
|
|
7
|
+
}
|
|
8
|
+
interface CellHeaderProps extends CellCommonProps {
|
|
9
|
+
rowIndex?: never;
|
|
10
|
+
type: "header-cell";
|
|
11
|
+
width: number;
|
|
12
|
+
}
|
|
13
|
+
interface CellBodyProps extends CellCommonProps {
|
|
14
|
+
rowIndex: number;
|
|
15
|
+
type: "row-cell";
|
|
16
|
+
width: number;
|
|
17
|
+
}
|
|
18
|
+
type CellComponentProps = CellHeaderProps | CellBodyProps;
|
|
19
|
+
export type CellProps = ComponentType<CellComponentProps>;
|
|
20
|
+
export interface CellSelectionAction {
|
|
21
|
+
type: "normal" | "shiftSelection";
|
|
22
|
+
row: number;
|
|
23
|
+
column: number;
|
|
24
|
+
event?: KeyEventType;
|
|
25
|
+
}
|
|
26
|
+
export interface AllSelection {
|
|
27
|
+
type: "all";
|
|
28
|
+
event?: KeyEventType;
|
|
29
|
+
}
|
|
30
|
+
export interface ColumnSelectionAction {
|
|
31
|
+
type: "columnSelection" | "shiftColumnSelection" | "ctrlColumnSelection";
|
|
32
|
+
column: number;
|
|
33
|
+
event?: KeyEventType;
|
|
34
|
+
}
|
|
35
|
+
export interface RowSelectionAction {
|
|
36
|
+
type: "rowSelection" | "shiftRowSelection" | "ctrlRowSelection";
|
|
37
|
+
row: number;
|
|
38
|
+
event?: KeyEventType;
|
|
39
|
+
}
|
|
40
|
+
export type SelectionAction = AllSelection | CellSelectionAction | ColumnSelectionAction | RowSelectionAction;
|
|
41
|
+
export type SelectionType = "default" | "selectIndirect" | "selectDirect";
|
|
42
|
+
export interface SelectionPos {
|
|
43
|
+
column: number;
|
|
44
|
+
row: number;
|
|
45
|
+
}
|
|
46
|
+
export interface EmptySelection {
|
|
47
|
+
type: "empty";
|
|
48
|
+
}
|
|
49
|
+
export interface RowsSelection {
|
|
50
|
+
type: "rows";
|
|
51
|
+
rows: Set<number>;
|
|
52
|
+
anchorRow: number;
|
|
53
|
+
}
|
|
54
|
+
export interface ColumnsSelection {
|
|
55
|
+
type: "columns";
|
|
56
|
+
columns: Set<number>;
|
|
57
|
+
anchorColumn: number;
|
|
58
|
+
}
|
|
59
|
+
export interface Rectangle {
|
|
60
|
+
left: number;
|
|
61
|
+
right: number;
|
|
62
|
+
top: number;
|
|
63
|
+
bottom: number;
|
|
64
|
+
}
|
|
65
|
+
export interface RectangleSelection {
|
|
66
|
+
type: "rectangle";
|
|
67
|
+
bounds: Rectangle;
|
|
68
|
+
anchor: SelectionPos;
|
|
69
|
+
}
|
|
70
|
+
export type SelectedRegion = EmptySelection | RowsSelection | ColumnsSelection | RectangleSelection;
|
|
71
|
+
export type RoundedType = "none" | "lg" | "md" | "sm";
|
|
72
|
+
export type KeyEventType = "keypress" | "click";
|
|
73
|
+
export type onSelectFn = (action: SelectionAction, selction: SelectedRegion, focus: SelectionFocus) => void;
|
|
74
|
+
type IsAllSelectedType = {
|
|
75
|
+
type: "all";
|
|
76
|
+
};
|
|
77
|
+
type IsRowSelectedType = {
|
|
78
|
+
type: "row";
|
|
79
|
+
row: number;
|
|
80
|
+
};
|
|
81
|
+
type IsColumnSelectedType = {
|
|
82
|
+
type: "column";
|
|
83
|
+
column: number;
|
|
84
|
+
};
|
|
85
|
+
type IsCellSelectedType = {
|
|
86
|
+
type: "cell";
|
|
87
|
+
row: number;
|
|
88
|
+
column: number;
|
|
89
|
+
};
|
|
90
|
+
export type IsSelectedType = IsAllSelectedType | IsRowSelectedType | IsColumnSelectedType | IsCellSelectedType;
|
|
91
|
+
export type SelectionTypeFn = (props: IsSelectedType) => SelectionType;
|
|
92
|
+
export type ColumnResizeFn = (columnIndex: number, newWidth: number, type: "auto" | "manual") => void;
|
|
93
|
+
export type SelectionFocus = {
|
|
94
|
+
row: number;
|
|
95
|
+
column: number;
|
|
96
|
+
};
|
|
97
|
+
export interface ItemDataType {
|
|
98
|
+
showRowNumber: boolean;
|
|
99
|
+
showHeader: boolean;
|
|
100
|
+
getSelectionType: SelectionTypeFn;
|
|
101
|
+
rowCount: number;
|
|
102
|
+
columnCount: number;
|
|
103
|
+
cell: CellProps;
|
|
104
|
+
focus: SelectionFocus;
|
|
105
|
+
rowHeight: number;
|
|
106
|
+
headerHeight: number;
|
|
107
|
+
rowNumberWidth: number;
|
|
108
|
+
rowStart: number;
|
|
109
|
+
rowAutoHeight?: boolean;
|
|
110
|
+
updateRowHeight: (rowIndex: number, height: number) => void;
|
|
111
|
+
getRowHeight: (index: number) => number;
|
|
112
|
+
}
|
|
113
|
+
export interface GridContextMenuItemProps extends Omit<ContextMenuItemProps, "children"> {
|
|
114
|
+
label: ReactNode;
|
|
115
|
+
}
|
|
116
|
+
export interface GridProps extends Omit<VariableSizeGridProps, "height" | "width" | "rowHeight" | "children" | "innerElementType" | "innerRef" | "outerElementType" | "outerRef" | "columnWidth"> {
|
|
117
|
+
autoFocus?: boolean;
|
|
118
|
+
autoHeight?: boolean;
|
|
119
|
+
rowStart?: number;
|
|
120
|
+
rounded?: RoundedType;
|
|
121
|
+
focus?: SelectionFocus;
|
|
122
|
+
rowHeight?: number;
|
|
123
|
+
cell: CellProps;
|
|
124
|
+
showHeader?: boolean;
|
|
125
|
+
showRowNumber?: boolean;
|
|
126
|
+
headerHeight?: number;
|
|
127
|
+
onFocusChange?: (rowIndex: number, columnIndex: number) => void;
|
|
128
|
+
onSelect?: onSelectFn;
|
|
129
|
+
onColumnResize?: (columnIndex: number, newWidth: number) => void;
|
|
130
|
+
getMenuOptions?: (selection: SelectedRegion, focus: SelectionFocus) => Array<GridContextMenuItemProps>;
|
|
131
|
+
onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
132
|
+
selection?: SelectedRegion;
|
|
133
|
+
showToast?: boolean;
|
|
134
|
+
columnWidth?: (index: number) => number;
|
|
135
|
+
onMouseDown?: MouseEventHandler<HTMLDivElement>;
|
|
136
|
+
onMouseMove?: MouseEventHandler<HTMLDivElement>;
|
|
137
|
+
showBorder?: boolean;
|
|
138
|
+
onCopy?: (selection: SelectedRegion, focus: SelectionFocus) => void | Promise<void>;
|
|
139
|
+
onCopyCallback?: (copied: boolean) => void;
|
|
140
|
+
onContextMenu?: MouseEventHandler<HTMLDivElement>;
|
|
141
|
+
forwardedGridRef?: MutableRefObject<VariableSizeGrid>;
|
|
142
|
+
rowAutoHeight?: boolean;
|
|
143
|
+
}
|
|
144
|
+
export type ResizerPosition = {
|
|
145
|
+
left: string;
|
|
146
|
+
top?: string;
|
|
147
|
+
};
|
|
148
|
+
export type GetResizerPositionFn = (clientX: number, width: number, columnIndex: number) => ResizerPosition;
|
|
149
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import { ColumnResizeFn } from './types';
|
|
3
|
+
import { VariableSizeGrid } from 'react-window';
|
|
4
|
+
interface Props {
|
|
5
|
+
columnCount: number;
|
|
6
|
+
columnWidth?: (index: number) => number;
|
|
7
|
+
outerGridRef: RefObject<HTMLDivElement>;
|
|
8
|
+
gridRef: RefObject<VariableSizeGrid>;
|
|
9
|
+
onColumnResize?: (columnIndex: number, newWidth: number) => void;
|
|
10
|
+
}
|
|
11
|
+
declare const useColumns: ({ columnCount, columnWidth: columnWidthProp, outerGridRef, onColumnResize: onColumnResizeProp, gridRef, }: Props) => {
|
|
12
|
+
getColumnHorizontalPosition: (index: number) => number;
|
|
13
|
+
onColumnResize: ColumnResizeFn;
|
|
14
|
+
columnWidth: (columnIndex: number) => number;
|
|
15
|
+
initColumnSize: (containerWidth: number) => void;
|
|
16
|
+
};
|
|
17
|
+
export default useColumns;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ResizerPosition } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Defines the type for pointer information used in resizing.
|
|
4
|
+
* @typedef {Object} PointerType
|
|
5
|
+
* @property {number} width - The width of the pointer component.
|
|
6
|
+
* @property {number} pointerId - Unique identifier for the pointer from a touch event.
|
|
7
|
+
* @property {number} initialClientX - The initial X coordinate of the pointer when resizing started.
|
|
8
|
+
*/
|
|
9
|
+
export type PointerType = {
|
|
10
|
+
width: number;
|
|
11
|
+
pointerId: number;
|
|
12
|
+
initialClientX: number;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Defines the state and methods used for managing the column resizing.
|
|
16
|
+
* @typedef {Object} ResizingState
|
|
17
|
+
* @property {PointerType | null} pointer - The current pointer data, or null if no pointer is active.
|
|
18
|
+
* @property {(pointer: PointerType | null) => void} setPointer - Setter to update the pointer.
|
|
19
|
+
* @property {(columnIndex: number) => boolean} getIsPressed - Indicates if a resizer for the given column is currently pressed/dragged.
|
|
20
|
+
* @property {(columnIndex: number, pressed: boolean) => void} setIsPressed - Sets the pressed state for a given column.
|
|
21
|
+
* @property {(columnIndex: number) => ResizerPosition} getPosition - Gets the position of the resizer for the specified column.
|
|
22
|
+
* @property {(position: ResizerPosition) => void} setPosition - Updates the position of the resizer.
|
|
23
|
+
* @property {number} lastPressedTimestamp - Timestamp of the last time a column was pressed, used to detect double-clicks.
|
|
24
|
+
*/
|
|
25
|
+
export interface ResizingState {
|
|
26
|
+
pointer: PointerType | null;
|
|
27
|
+
setPointer: (pointer: PointerType | null) => void;
|
|
28
|
+
getIsPressed: (columnIndex: number) => boolean;
|
|
29
|
+
setIsPressed: (columnIndex: number, pressed: boolean) => void;
|
|
30
|
+
getPosition: (columnIndex: number) => ResizerPosition;
|
|
31
|
+
setPosition: (position: ResizerPosition) => void;
|
|
32
|
+
lastPressedTimestamp: number;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The initial position of the resizer element.
|
|
36
|
+
* @type {ResizerPosition}
|
|
37
|
+
*/
|
|
38
|
+
export declare const initialPosition: {
|
|
39
|
+
left: string;
|
|
40
|
+
top: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Custom hook that provides the state and methods needed to manage a resizing operation on columns.
|
|
44
|
+
* @returns {ResizingState} The resizing state and methods for controlling resizing behavior.
|
|
45
|
+
*/
|
|
46
|
+
declare const useResizingState: () => ResizingState;
|
|
47
|
+
export default useResizingState;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SelectionAction, SelectedRegion, SelectionPos, Rectangle, KeyEventType, onSelectFn, SelectionTypeFn } from './types';
|
|
2
|
+
interface Props {
|
|
3
|
+
onCellSelect: onSelectFn;
|
|
4
|
+
focus: {
|
|
5
|
+
row: number;
|
|
6
|
+
column: number;
|
|
7
|
+
};
|
|
8
|
+
columnCount: number;
|
|
9
|
+
rowCount: number;
|
|
10
|
+
onFocusChange: (rowIndex: number, columnIndex: number) => void;
|
|
11
|
+
scrollGridTo: (props: {
|
|
12
|
+
row?: number;
|
|
13
|
+
column?: number;
|
|
14
|
+
}) => void;
|
|
15
|
+
selection: SelectedRegion;
|
|
16
|
+
rowStart: number;
|
|
17
|
+
}
|
|
18
|
+
interface SelectionActions {
|
|
19
|
+
getSelectionType: SelectionTypeFn;
|
|
20
|
+
onSelection: (action: SelectionAction) => void;
|
|
21
|
+
mouseMoveCellSelect: (row: number, column: number) => void;
|
|
22
|
+
moveSelection: (columnDiff: number, rowDiff: number, moveAnchor: boolean, event: KeyEventType) => SelectionAction | null;
|
|
23
|
+
}
|
|
24
|
+
export declare const singleCellSelected: (selection: SelectedRegion) => SelectionPos | null;
|
|
25
|
+
export declare const cellRectSelected: (selection: SelectedRegion, x1: number, y1: number, x2: number, y2: number) => boolean;
|
|
26
|
+
export declare const rectangleSelection: (anchorColumn: number, anchorRow: number, focusColumn: number, focusRow: number) => SelectedRegion;
|
|
27
|
+
export declare const emptySelection: () => SelectedRegion;
|
|
28
|
+
export declare const columnIsSelected: (selection: SelectedRegion, column: number, bounds: Rectangle) => boolean;
|
|
29
|
+
export declare const rangeIndices: (a: number, b: number) => number[];
|
|
30
|
+
export declare const useSelectionActions: ({ onCellSelect, focus, columnCount, rowCount, onFocusChange, scrollGridTo, selection, rowStart, }: Props) => SelectionActions;
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ComponentProps, ElementType, ReactNode } from 'react';
|
|
2
|
+
export type FlowOptions = "row" | "column" | "row-dense" | "column-dense";
|
|
3
|
+
type GapOptions = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "unset";
|
|
4
|
+
type ItemsOptions = "start" | "center" | "end" | "stretch";
|
|
5
|
+
type ContentOptions = "center" | "space-between" | "space-around" | "space-evenly" | "start" | "stretch" | "end" | "left" | "right";
|
|
6
|
+
export interface GridContainerProps<T extends ElementType = "div"> {
|
|
7
|
+
/** Custom component to render as */
|
|
8
|
+
component?: T;
|
|
9
|
+
/** Alignment of items along the block axis */
|
|
10
|
+
alignItems?: ItemsOptions;
|
|
11
|
+
/** Alignment of content along the block axis */
|
|
12
|
+
alignContent?: ContentOptions;
|
|
13
|
+
/** The content to display inside the grid container */
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
/** Gap between columns */
|
|
16
|
+
columnGap?: GapOptions;
|
|
17
|
+
/** Gap between rows and columns */
|
|
18
|
+
gap?: GapOptions;
|
|
19
|
+
/** Size of implicitly-created grid columns */
|
|
20
|
+
gridAutoColumns?: string;
|
|
21
|
+
/** How auto-placed items flow into the grid */
|
|
22
|
+
gridAutoFlow?: FlowOptions;
|
|
23
|
+
/** Size of implicitly-created grid rows */
|
|
24
|
+
gridAutoRows?: string;
|
|
25
|
+
/** Named grid areas */
|
|
26
|
+
gridTemplateAreas?: string;
|
|
27
|
+
/** Column track sizes */
|
|
28
|
+
gridTemplateColumns?: string;
|
|
29
|
+
/** Row track sizes */
|
|
30
|
+
gridTemplateRows?: string;
|
|
31
|
+
/** Shorthand for grid-template-rows, grid-template-columns, and grid-template-areas */
|
|
32
|
+
gridTemplate?: string;
|
|
33
|
+
/** Whether to use inline-grid instead of grid */
|
|
34
|
+
inline?: boolean;
|
|
35
|
+
/** Whether to collapse to single column on smaller screens */
|
|
36
|
+
isResponsive?: boolean;
|
|
37
|
+
/** Alignment of content along the inline axis */
|
|
38
|
+
justifyContent?: ContentOptions;
|
|
39
|
+
/** Alignment of items along the inline axis */
|
|
40
|
+
justifyItems?: ItemsOptions;
|
|
41
|
+
/** Gap between rows */
|
|
42
|
+
rowGap?: GapOptions;
|
|
43
|
+
/** Height of the container */
|
|
44
|
+
height?: string;
|
|
45
|
+
/** Maximum height of the container */
|
|
46
|
+
maxHeight?: string;
|
|
47
|
+
/** Minimum height of the container */
|
|
48
|
+
minHeight?: string;
|
|
49
|
+
/** Whether the container should fill the full width of its parent */
|
|
50
|
+
fillWidth?: boolean;
|
|
51
|
+
/** Maximum width of the container */
|
|
52
|
+
maxWidth?: string;
|
|
53
|
+
/** Minimum width of the container */
|
|
54
|
+
minWidth?: string;
|
|
55
|
+
/** CSS overflow behavior */
|
|
56
|
+
overflow?: string;
|
|
57
|
+
}
|
|
58
|
+
type GridContainerPolymorphicComponent = <T extends ElementType = "div">(props: Omit<ComponentProps<T>, keyof T> & GridContainerProps<T>) => ReactNode;
|
|
59
|
+
export declare const GridContainer: GridContainerPolymorphicComponent;
|
|
60
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import * as RadixHoverCard from "@radix-ui/react-hover-card";
|
|
3
|
+
export declare const HoverCard: {
|
|
4
|
+
({ children, ...props }: RadixHoverCard.HoverCardProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
Trigger: {
|
|
6
|
+
({ children, ...props }: RadixHoverCard.HoverCardTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
Content: {
|
|
10
|
+
({ children, showArrow, forceMount, container, ...props }: HoverCardContentProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
interface HoverCardContentProps extends RadixHoverCard.HoverCardContentProps {
|
|
15
|
+
/** Whether to show the arrow pointing to the trigger */
|
|
16
|
+
showArrow?: boolean;
|
|
17
|
+
/** Whether to force mount the content */
|
|
18
|
+
forceMount?: true;
|
|
19
|
+
/** Container element to portal the hover card into */
|
|
20
|
+
container?: HTMLElement | null;
|
|
21
|
+
/** The content to display in the hover card */
|
|
22
|
+
children: ReactNode;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
export declare const ICONS_MAP: {
|
|
2
|
+
activity: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
alarm: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
"arrow-down": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
"arrow-left": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
"arrow-right": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
"arrow-triangle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
"arrow-directions": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
"arrow-up": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
"auth-app": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
"auth-sms": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
backups: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
"bar-chart": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
bell: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
beta: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
blog: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
bold: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
book: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
brackets: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
briefcase: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
building: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
"burger-menu": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
calendar: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
"calendar-with-time": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
cards: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
"cell-tower": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
chat: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
"chart-area": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
"chart-bar-horizontal": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
"chart-donut": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
"chart-heatmap": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
"chart-scatter": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
"chart-stacked-horizontal": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
"chart-stacked-vertical": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
check: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
"check-in-circle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
"chevron-down": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
"chevron-left": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
"chevron-right": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
"chevron-up": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
circle: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
clock: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
cloud: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
"cloud-keys": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
code: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
"code-in-square": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
connect: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
"connect-alt": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
console: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
copy: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
cpu: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
cross: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
"credit-card": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
data: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
database: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
"data-lakes": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
disk: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
display: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
document: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
dot: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
"dots-horizontal": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
62
|
+
"dots-triangle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
"dots-vertical": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
"dots-vertical-double": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
"double-check": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
download: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
67
|
+
"download-in-circle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
email: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
69
|
+
empty: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
70
|
+
enter: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
eye: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
72
|
+
"eye-closed": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
73
|
+
filter: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
74
|
+
fire: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
75
|
+
flag: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
76
|
+
flash: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
77
|
+
flask: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
78
|
+
"folder-closed": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
79
|
+
"folder-open": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
80
|
+
gear: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
81
|
+
gift: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
82
|
+
globe: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
83
|
+
"git-merge": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
84
|
+
hexagon: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
85
|
+
history: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
86
|
+
home: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
87
|
+
"horizontal-loading": import('styled-components').StyledComponent<(props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element, import('styled-components').DefaultTheme, {}, never>;
|
|
88
|
+
http: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
89
|
+
"http-monitoring": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
90
|
+
"info-in-circle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
91
|
+
information: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
92
|
+
"insert-row": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
93
|
+
integrations: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
94
|
+
italic: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
95
|
+
key: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
96
|
+
keys: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
97
|
+
lifebuoy: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
98
|
+
"light-bulb": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
99
|
+
"light-bulb-on": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
100
|
+
lightening: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
101
|
+
"line-in-circle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
102
|
+
"list-bulleted": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
103
|
+
"list-numbered": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
104
|
+
loading: import('styled-components').StyledComponent<(props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element, import('styled-components').DefaultTheme, {}, never>;
|
|
105
|
+
"loading-animated": import('styled-components').StyledComponent<(props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element, import('styled-components').DefaultTheme, {}, never>;
|
|
106
|
+
lock: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
107
|
+
"map-pin": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
108
|
+
mcp: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
109
|
+
metrics: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
110
|
+
"metrics-alt": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
111
|
+
minus: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
112
|
+
moon: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
113
|
+
"no-cloud": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
114
|
+
pause: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
115
|
+
payment: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
116
|
+
pencil: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
117
|
+
"pie-chart": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
118
|
+
pipe: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
119
|
+
play: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
120
|
+
"play-in-circle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
121
|
+
plug: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
122
|
+
plus: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
123
|
+
popout: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
124
|
+
"puzzle-piece": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
125
|
+
query: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
126
|
+
question: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
127
|
+
refresh: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
128
|
+
"resize-arrows-horizontal": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
129
|
+
"resize-arrows-vertical": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
130
|
+
rocket: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
131
|
+
sandglass: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
132
|
+
search: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
133
|
+
secure: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
134
|
+
server: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
135
|
+
services: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
136
|
+
settings: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
137
|
+
share: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
138
|
+
"share-arrow": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
139
|
+
"share-network": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
140
|
+
sleep: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
141
|
+
"slide-in": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
142
|
+
"slide-out": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
143
|
+
"sort-alt": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
144
|
+
sort: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
145
|
+
sparkle: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
146
|
+
speaker: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
147
|
+
speed: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
148
|
+
square: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
149
|
+
star: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
150
|
+
stop: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
151
|
+
support: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
152
|
+
table: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
153
|
+
taxi: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
154
|
+
"text-slash": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
155
|
+
"thumbs-down": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
156
|
+
"thumbs-up": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
157
|
+
trash: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
158
|
+
"tree-structure": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
159
|
+
underline: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
160
|
+
upgrade: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
161
|
+
upload: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
162
|
+
url: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
163
|
+
user: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
164
|
+
users: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
165
|
+
warning: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
166
|
+
waves: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
167
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SVGAttributes } from 'react';
|
|
2
|
+
import { LogoProps } from '../Logos/Logo';
|
|
3
|
+
import { FlagName, FlagProps } from '../icons/Flags';
|
|
4
|
+
import { LogoName } from '../Logos/types';
|
|
5
|
+
import { PaymentName, PaymentProps } from '../icons/Payments';
|
|
6
|
+
export type IconSize = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
7
|
+
export type IconState = "default" | "success" | "warning" | "danger" | "info";
|
|
8
|
+
export declare const ICON_NAMES: readonly ["activity", "alarm", "arrow-down", "arrow-left", "arrow-right", "arrow-triangle", "arrow-directions", "arrow-up", "auth-app", "auth-sms", "backups", "bar-chart", "bell", "beta", "blog", "bold", "book", "brackets", "briefcase", "building", "burger-menu", "calendar", "calendar-with-time", "cards", "cell-tower", "chat", "chart-area", "chart-bar-horizontal", "chart-donut", "chart-heatmap", "chart-scatter", "chart-stacked-horizontal", "chart-stacked-vertical", "check", "check-in-circle", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clock", "cloud", "cloud-keys", "code", "code-in-square", "connect", "connect-alt", "console", "copy", "cpu", "cross", "credit-card", "data", "database", "data-lakes", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "double-check", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flash", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "globe", "hexagon", "history", "horizontal-loading", "home", "http", "http-monitoring", "info-in-circle", "information", "insert-row", "integrations", "italic", "key", "keys", "lifebuoy", "light-bulb", "light-bulb-on", "lightening", "line-in-circle", "list-bulleted", "list-numbered", "loading", "loading-animated", "lock", "map-pin", "metrics", "metrics-alt", "minus", "mcp", "moon", "no-cloud", "pause", "payment", "pencil", "pie-chart", "pipe", "play", "play-in-circle", "plug", "plus", "popout", "puzzle-piece", "query", "question", "resize-arrows-horizontal", "resize-arrows-vertical", "refresh", "rocket", "sandglass", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "sleep", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "square", "star", "stop", "support", "table", "taxi", "text-slash", "thumbs-up", "thumbs-down", "trash", "tree-structure", "upgrade", "upload", "url", "user", "users", "underline", "warning", "waves"];
|
|
9
|
+
export type IconName = (typeof ICON_NAMES)[number];
|
|
10
|
+
export interface IconProps extends SVGAttributes<HTMLOrSVGElement> {
|
|
11
|
+
/** The name of the icon to display */
|
|
12
|
+
name: IconName;
|
|
13
|
+
/** The color of the icon */
|
|
14
|
+
color?: string;
|
|
15
|
+
/** The size of the icon */
|
|
16
|
+
size?: IconSize;
|
|
17
|
+
/** The visual state of the icon */
|
|
18
|
+
state?: IconState;
|
|
19
|
+
}
|
|
20
|
+
type NoThemeType = {
|
|
21
|
+
theme?: never;
|
|
22
|
+
};
|
|
23
|
+
type NoColorType = {
|
|
24
|
+
color?: never;
|
|
25
|
+
};
|
|
26
|
+
export type ImageName = IconName | LogoName | FlagName | PaymentName;
|
|
27
|
+
export type ImageType = ((Omit<IconProps, "name"> & NoThemeType) | (Omit<LogoProps, "name"> & NoColorType) | (Omit<FlagProps, "name"> & NoThemeType & NoColorType) | (Omit<PaymentProps, "name"> & NoThemeType & NoColorType)) & {
|
|
28
|
+
name: ImageName;
|
|
29
|
+
};
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IconName } from '..';
|
|
2
|
+
import { HTMLAttributes } from 'react';
|
|
3
|
+
export interface IconButtonProps extends HTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
/** The size of the icon button */
|
|
5
|
+
size?: "default" | "sm" | "xs";
|
|
6
|
+
/** Whether the button is disabled */
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
/** The visual style variant of the button */
|
|
9
|
+
type?: "primary" | "secondary" | "ghost" | "danger" | "info";
|
|
10
|
+
/** The icon to display in the button */
|
|
11
|
+
icon: IconName;
|
|
12
|
+
}
|
|
13
|
+
export declare const IconButton: import('react').ForwardRefExoticComponent<IconButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { HorizontalDirection, IconName } from '..';
|
|
3
|
+
import { GapOptions } from '../Container/Container';
|
|
4
|
+
import { IconSize } from '../Icon/types';
|
|
5
|
+
interface IconWrapperProps {
|
|
6
|
+
icon?: IconName;
|
|
7
|
+
iconDir?: HorizontalDirection;
|
|
8
|
+
size?: IconSize;
|
|
9
|
+
width?: number | string;
|
|
10
|
+
height?: number | string;
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
ellipsisContent?: boolean;
|
|
13
|
+
gap?: GapOptions;
|
|
14
|
+
}
|
|
15
|
+
declare const IconWrapper: ({ icon, iconDir, size, width, height, children, ellipsisContent, gap, ...props }: IconWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default IconWrapper;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface WrapperProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
id: string;
|
|
5
|
+
label?: ReactNode;
|
|
6
|
+
labelColor?: string;
|
|
7
|
+
error?: ReactNode;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
orientation?: "vertical" | "horizontal";
|
|
11
|
+
dir?: "start" | "end";
|
|
12
|
+
resize?: "none" | "vertical" | "horizontal" | "both";
|
|
13
|
+
}
|
|
14
|
+
export declare const InputWrapper: ({ className, id, label, labelColor, error, disabled, children, orientation, dir, resize, }: WrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const InputElement: import('styled-components').StyledComponent<"input", import('styled-components').DefaultTheme, {
|
|
16
|
+
$hasStartContent?: boolean;
|
|
17
|
+
$hasEndContent?: boolean;
|
|
18
|
+
}, never>;
|
|
19
|
+
export declare const NumberInputElement: import('styled-components').StyledComponent<"input", import('styled-components').DefaultTheme, {
|
|
20
|
+
$hasStartContent?: boolean;
|
|
21
|
+
$hasEndContent?: boolean;
|
|
22
|
+
} & {
|
|
23
|
+
$hideControls?: boolean;
|
|
24
|
+
}, never>;
|
|
25
|
+
export declare const TextAreaElement: import('styled-components').StyledComponent<"textarea", import('styled-components').DefaultTheme, {}, never>;
|
|
26
|
+
export declare const IconButton: import('styled-components').StyledComponent<"button", import('styled-components').DefaultTheme, {}, never>;
|
|
27
|
+
export declare const IconWrapper: import('styled-components').StyledComponent<"svg", import('styled-components').DefaultTheme, {}, never>;
|
|
28
|
+
export declare const InputStartContent: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {}, never>;
|
|
29
|
+
export declare const InputEndContent: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {}, never>;
|