@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 @@
|
|
|
1
|
+
export declare const mergeRefs: <T = HTMLElement>(refs: Array<React.MutableRefObject<T> | React.LegacyRef<T>>) => React.RefCallback<T>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ThemeName } from '../theme';
|
|
2
|
+
declare const renderCUI: (children: React.ReactNode, theme?: ThemeName) => {
|
|
3
|
+
rerender: (rerenderChildren: React.ReactNode) => void;
|
|
4
|
+
container: HTMLElement;
|
|
5
|
+
baseElement: HTMLElement;
|
|
6
|
+
debug: (baseElement?: import('react-dom/client').Container | (Element | Document) | Array<import('react-dom/client').Container | (Element | Document)>, maxLength?: number, options?: import('pretty-format').OptionsReceived) => void;
|
|
7
|
+
unmount: () => void;
|
|
8
|
+
asFragment: () => DocumentFragment;
|
|
9
|
+
getByLabelText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement;
|
|
10
|
+
getAllByLabelText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
11
|
+
queryByLabelText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement | null;
|
|
12
|
+
queryAllByLabelText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
13
|
+
findByLabelText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
14
|
+
findAllByLabelText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
15
|
+
getByPlaceholderText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement;
|
|
16
|
+
getAllByPlaceholderText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
17
|
+
queryByPlaceholderText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement | null;
|
|
18
|
+
queryAllByPlaceholderText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
19
|
+
findByPlaceholderText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
20
|
+
findAllByPlaceholderText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
21
|
+
getByText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement;
|
|
22
|
+
getAllByText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
23
|
+
queryByText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement | null;
|
|
24
|
+
queryAllByText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
25
|
+
findByText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
26
|
+
findAllByText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
27
|
+
getByAltText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement;
|
|
28
|
+
getAllByAltText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
29
|
+
queryByAltText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement | null;
|
|
30
|
+
queryAllByAltText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
31
|
+
findByAltText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
32
|
+
findAllByAltText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
33
|
+
getByTitle: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement;
|
|
34
|
+
getAllByTitle: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
35
|
+
queryByTitle: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement | null;
|
|
36
|
+
queryAllByTitle: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
37
|
+
findByTitle: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
38
|
+
findAllByTitle: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
39
|
+
getByDisplayValue: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement;
|
|
40
|
+
getAllByDisplayValue: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
41
|
+
queryByDisplayValue: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement | null;
|
|
42
|
+
queryAllByDisplayValue: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
43
|
+
findByDisplayValue: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
44
|
+
findAllByDisplayValue: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
45
|
+
getByRole: (role: import('@testing-library/dom').ByRoleMatcher, options?: import('@testing-library/dom').ByRoleOptions | undefined) => HTMLElement;
|
|
46
|
+
getAllByRole: (role: import('@testing-library/dom').ByRoleMatcher, options?: import('@testing-library/dom').ByRoleOptions | undefined) => HTMLElement[];
|
|
47
|
+
queryByRole: (role: import('@testing-library/dom').ByRoleMatcher, options?: import('@testing-library/dom').ByRoleOptions | undefined) => HTMLElement | null;
|
|
48
|
+
queryAllByRole: (role: import('@testing-library/dom').ByRoleMatcher, options?: import('@testing-library/dom').ByRoleOptions | undefined) => HTMLElement[];
|
|
49
|
+
findByRole: (role: import('@testing-library/dom').ByRoleMatcher, options?: import('@testing-library/dom').ByRoleOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
50
|
+
findAllByRole: (role: import('@testing-library/dom').ByRoleMatcher, options?: import('@testing-library/dom').ByRoleOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
51
|
+
getByTestId: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement;
|
|
52
|
+
getAllByTestId: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
53
|
+
queryByTestId: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement | null;
|
|
54
|
+
queryAllByTestId: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
55
|
+
findByTestId: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
56
|
+
findAllByTestId: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
57
|
+
};
|
|
58
|
+
export { renderCUI };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* truncateFilename
|
|
3
|
+
*
|
|
4
|
+
* On occasion, we may be dealing with filenames - which could be very large
|
|
5
|
+
* and not practical to display in the user interface. This utility func
|
|
6
|
+
* ensures that we return a name that looks recognisable and fits the
|
|
7
|
+
* component using the data.
|
|
8
|
+
*
|
|
9
|
+
* @param filename
|
|
10
|
+
* @param maxLength
|
|
11
|
+
* @param delimiter
|
|
12
|
+
*/
|
|
13
|
+
export declare const truncateFilename: (filename: string, maxLength?: number, delimiter?: string) => string;
|
package/package.json
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@punkbit/cui",
|
|
3
|
+
"version": "0.0.247-rc.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/click-ui.es.js",
|
|
13
|
+
"require": "./dist/click-ui.umd.js"
|
|
14
|
+
},
|
|
15
|
+
"./bundled": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"import": "./dist/click-ui.bundled.es.js",
|
|
18
|
+
"require": "./dist/click-ui.bundled.umd.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"main": "./dist/click-ui.umd.js",
|
|
22
|
+
"module": "./dist/click-ui.es.js",
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "tsc && vite build && bun build:bundled",
|
|
26
|
+
"build:bundled": "vite build -- bundled",
|
|
27
|
+
"build-storybook": "storybook build",
|
|
28
|
+
"build:watch": "watch 'bun build' ./src",
|
|
29
|
+
"chromatic": "bunx chromatic",
|
|
30
|
+
"dev": "vite",
|
|
31
|
+
"generate-tokens": "node build-tokens.js && prettier --write \"src/theme/tokens/*.ts\" --config .prettierrc",
|
|
32
|
+
"lint": "eslint src --report-unused-disable-directives --max-warnings 0",
|
|
33
|
+
"prettify": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\" --config .prettierrc",
|
|
34
|
+
"prettier:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\" --config .prettierrc",
|
|
35
|
+
"preview": "vite preview",
|
|
36
|
+
"publish:click-ui": "bun test && bun build && bun npm publish",
|
|
37
|
+
"storybook": "storybook dev -p 6006",
|
|
38
|
+
"test": "vitest",
|
|
39
|
+
"typecheck": "tsc --noEmit",
|
|
40
|
+
"watch": "vitest --watch"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@h6s/calendar": "2.0.1",
|
|
44
|
+
"@radix-ui/react-accordion": "1.1.2",
|
|
45
|
+
"@radix-ui/react-avatar": "1.0.4",
|
|
46
|
+
"@radix-ui/react-checkbox": "1.0.4",
|
|
47
|
+
"@radix-ui/react-context-menu": "2.1.5",
|
|
48
|
+
"@radix-ui/react-dialog": "1.0.5",
|
|
49
|
+
"@radix-ui/react-dismissable-layer": "1.0.5",
|
|
50
|
+
"@radix-ui/react-dropdown-menu": "2.0.6",
|
|
51
|
+
"@radix-ui/react-hover-card": "1.0.7",
|
|
52
|
+
"@radix-ui/react-popover": "1.0.7",
|
|
53
|
+
"@radix-ui/react-popper": "1.1.3",
|
|
54
|
+
"@radix-ui/react-radio-group": "1.1.3",
|
|
55
|
+
"@radix-ui/react-separator": "1.0.3",
|
|
56
|
+
"@radix-ui/react-switch": "1.0.2",
|
|
57
|
+
"@radix-ui/react-tabs": "1.0.4",
|
|
58
|
+
"@radix-ui/react-toast": "1.1.5",
|
|
59
|
+
"@radix-ui/react-tooltip": "1.0.7",
|
|
60
|
+
"lodash": "^4.17.21",
|
|
61
|
+
"react-sortablejs": "^6.1.4",
|
|
62
|
+
"react-syntax-highlighter": "^15.5.0",
|
|
63
|
+
"react-virtualized-auto-sizer": "^1.0.20",
|
|
64
|
+
"react-window": "^1.8.9",
|
|
65
|
+
"sortablejs": "^1.15.0"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@storybook/addon-a11y": "^10.0.7",
|
|
69
|
+
"@storybook/addon-docs": "^10.0.7",
|
|
70
|
+
"@storybook/addon-links": "^10.0.7",
|
|
71
|
+
"@storybook/react-vite": "^10.0.7",
|
|
72
|
+
"@testing-library/dom": "^10.1.0",
|
|
73
|
+
"@testing-library/jest-dom": "^6.4.5",
|
|
74
|
+
"@testing-library/react": "^15.0.7",
|
|
75
|
+
"@testing-library/user-event": "^14.5.2",
|
|
76
|
+
"@tokens-studio/sd-transforms": "^1.2.0",
|
|
77
|
+
"@types/lodash-es": "^4.17.7",
|
|
78
|
+
"@types/node": "^24.10.1",
|
|
79
|
+
"@types/react": "18.3.2",
|
|
80
|
+
"@types/react-dom": "18.3.0",
|
|
81
|
+
"@types/react-syntax-highlighter": "^15.5.13",
|
|
82
|
+
"@types/react-window": "^1.8.8",
|
|
83
|
+
"@types/sortablejs": "^1.15.2",
|
|
84
|
+
"@types/styled-components": "^5.1.34",
|
|
85
|
+
"@typescript-eslint/eslint-plugin": "^8",
|
|
86
|
+
"@typescript-eslint/parser": "^8",
|
|
87
|
+
"@vitejs/plugin-react": "^5.1.2",
|
|
88
|
+
"babel-plugin-styled-components": "^2.1.4",
|
|
89
|
+
"chromatic": "^13.3.4",
|
|
90
|
+
"date-fns": "4.1.0",
|
|
91
|
+
"dayjs": "1.11.13",
|
|
92
|
+
"eslint": "^9",
|
|
93
|
+
"eslint-plugin-prefer-arrow-functions": "^3.3.2",
|
|
94
|
+
"eslint-plugin-react-hooks": "^5",
|
|
95
|
+
"eslint-plugin-react-refresh": "0.4.7",
|
|
96
|
+
"eslint-plugin-storybook": "^10.0.7",
|
|
97
|
+
"globals": "^16.5.0",
|
|
98
|
+
"jsdom": "^24.0.0",
|
|
99
|
+
"prettier": "3.7.4",
|
|
100
|
+
"prop-types": "^15.8.1",
|
|
101
|
+
"react": "18.3.1",
|
|
102
|
+
"react-dom": "18.3.1",
|
|
103
|
+
"storybook": "^10.0.7",
|
|
104
|
+
"storybook-addon-pseudo-states": "^10.0.7",
|
|
105
|
+
"style-dictionary": "^5.0.0",
|
|
106
|
+
"styled-components": "prerelease",
|
|
107
|
+
"stylis": "^4.3.0",
|
|
108
|
+
"ts-node": "^10.9.1",
|
|
109
|
+
"typescript": "^5.5.3",
|
|
110
|
+
"typescript-eslint": "^8",
|
|
111
|
+
"vite": "^7.3.0",
|
|
112
|
+
"vite-plugin-dts": "^4.3.0",
|
|
113
|
+
"vitest": "^2.1.8",
|
|
114
|
+
"watch": "^1.0.2"
|
|
115
|
+
},
|
|
116
|
+
"peerDependencies": {
|
|
117
|
+
"dayjs": "^1.11.13",
|
|
118
|
+
"react": "^18.2.0",
|
|
119
|
+
"react-dom": "^18.2.0",
|
|
120
|
+
"styled-components": ">= 5"
|
|
121
|
+
},
|
|
122
|
+
"resolutions": {
|
|
123
|
+
"@types/react": "18.3.2",
|
|
124
|
+
"@types/react-dom": "18.3.0"
|
|
125
|
+
},
|
|
126
|
+
"packageManager": "yarn@4.5.3",
|
|
127
|
+
"engines": {
|
|
128
|
+
"node": ">=22.12.0"
|
|
129
|
+
}
|
|
130
|
+
}
|