@galaxy-io/dls 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -0
- package/dist/accordion/Accordion.d.ts +30 -0
- package/dist/accordion/Accordion.js +147 -0
- package/dist/animations/Fade.d.ts +6 -0
- package/dist/animations/Fade.js +22 -0
- package/dist/animations/Flashing.d.ts +3 -0
- package/dist/animations/Flashing.js +14 -0
- package/dist/animations/RotateWithTransition.d.ts +8 -0
- package/dist/animations/RotateWithTransition.js +28 -0
- package/dist/animations/ScaleFade.d.ts +6 -0
- package/dist/animations/ScaleFade.js +31 -0
- package/dist/animations/SpinAnimation.d.ts +7 -0
- package/dist/animations/SpinAnimation.js +20 -0
- package/dist/animations/SpinVerticalAnimation.d.ts +6 -0
- package/dist/animations/SpinVerticalAnimation.js +19 -0
- package/dist/assets/components/GalaxyLogomarkDark.d.ts +3 -0
- package/dist/assets/components/GalaxyLogomarkDark.js +11 -0
- package/dist/assets/components/GalaxyLogomarkLight.d.ts +3 -0
- package/dist/assets/components/GalaxyLogomarkLight.js +17 -0
- package/dist/assets/components/GalaxyWordmarkDark.d.ts +3 -0
- package/dist/assets/components/GalaxyWordmarkDark.js +15 -0
- package/dist/assets/components/GalaxyWordmarkLight.d.ts +3 -0
- package/dist/assets/components/GalaxyWordmarkLight.js +28 -0
- package/dist/assets/components/enrichment/PerplexityIcon.d.ts +3 -0
- package/dist/assets/components/enrichment/PerplexityIcon.js +35 -0
- package/dist/assets/components/enrichment/TavilyIcon.d.ts +3 -0
- package/dist/assets/components/enrichment/TavilyIcon.js +15 -0
- package/dist/assets/components/onboarding/TenantSetupDark.d.ts +3 -0
- package/dist/assets/components/onboarding/TenantSetupDark.js +498 -0
- package/dist/assets/components/onboarding/TenantSetupLight.d.ts +3 -0
- package/dist/assets/components/onboarding/TenantSetupLight.js +482 -0
- package/dist/assets/components/onboarding/UserSetupDark.d.ts +3 -0
- package/dist/assets/components/onboarding/UserSetupDark.js +1086 -0
- package/dist/assets/components/onboarding/UserSetupLight.d.ts +3 -0
- package/dist/assets/components/onboarding/UserSetupLight.js +1024 -0
- package/dist/assets/components/onboarding/WorkspaceSetupBuildDark.d.ts +3 -0
- package/dist/assets/components/onboarding/WorkspaceSetupBuildDark.js +466 -0
- package/dist/assets/components/onboarding/WorkspaceSetupBuildLight.d.ts +3 -0
- package/dist/assets/components/onboarding/WorkspaceSetupBuildLight.js +460 -0
- package/dist/assets/components/onboarding/WorkspaceSetupConnectDark.d.ts +3 -0
- package/dist/assets/components/onboarding/WorkspaceSetupConnectDark.js +336 -0
- package/dist/assets/components/onboarding/WorkspaceSetupConnectLight.d.ts +3 -0
- package/dist/assets/components/onboarding/WorkspaceSetupConnectLight.js +336 -0
- package/dist/assets/components/onboarding/WorkspaceSetupIntegrateDark.d.ts +3 -0
- package/dist/assets/components/onboarding/WorkspaceSetupIntegrateDark.js +153 -0
- package/dist/assets/components/onboarding/WorkspaceSetupIntegrateLight.d.ts +3 -0
- package/dist/assets/components/onboarding/WorkspaceSetupIntegrateLight.js +153 -0
- package/dist/assets/components/projects/MappingMethodAutoIntrospectDark.d.ts +3 -0
- package/dist/assets/components/projects/MappingMethodAutoIntrospectDark.js +117 -0
- package/dist/assets/components/projects/MappingMethodAutoIntrospectLight.d.ts +3 -0
- package/dist/assets/components/projects/MappingMethodAutoIntrospectLight.js +117 -0
- package/dist/assets/components/projects/MappingMethodBlankDark.d.ts +3 -0
- package/dist/assets/components/projects/MappingMethodBlankDark.js +150 -0
- package/dist/assets/components/projects/MappingMethodBlankDarkHovered.d.ts +3 -0
- package/dist/assets/components/projects/MappingMethodBlankDarkHovered.js +150 -0
- package/dist/assets/components/projects/MappingMethodBlankLight.d.ts +3 -0
- package/dist/assets/components/projects/MappingMethodBlankLight.js +150 -0
- package/dist/assets/components/projects/MappingMethodBlankLightHovered.d.ts +3 -0
- package/dist/assets/components/projects/MappingMethodBlankLightHovered.js +150 -0
- package/dist/assets/components/projects/MappingMethodJsonDark.d.ts +3 -0
- package/dist/assets/components/projects/MappingMethodJsonDark.js +90 -0
- package/dist/assets/components/projects/MappingMethodJsonDarkHovered.d.ts +3 -0
- package/dist/assets/components/projects/MappingMethodJsonDarkHovered.js +90 -0
- package/dist/assets/components/projects/MappingMethodJsonLight.d.ts +3 -0
- package/dist/assets/components/projects/MappingMethodJsonLight.js +90 -0
- package/dist/assets/components/projects/MappingMethodJsonLightHovered.d.ts +3 -0
- package/dist/assets/components/projects/MappingMethodJsonLightHovered.js +90 -0
- package/dist/assets/components/projects/ProjectsEmptyStateDark.d.ts +3 -0
- package/dist/assets/components/projects/ProjectsEmptyStateDark.js +454 -0
- package/dist/assets/components/projects/ProjectsEmptyStateLight.d.ts +3 -0
- package/dist/assets/components/projects/ProjectsEmptyStateLight.js +456 -0
- package/dist/assets/components/root/CreateProjectActionCardDark.d.ts +3 -0
- package/dist/assets/components/root/CreateProjectActionCardDark.js +1796 -0
- package/dist/assets/components/root/CreateProjectActionCardDarkHovered.d.ts +3 -0
- package/dist/assets/components/root/CreateProjectActionCardDarkHovered.js +1796 -0
- package/dist/assets/components/root/CreateProjectActionCardLight.d.ts +3 -0
- package/dist/assets/components/root/CreateProjectActionCardLight.js +1786 -0
- package/dist/assets/components/root/CreateProjectActionCardLightHovered.d.ts +3 -0
- package/dist/assets/components/root/CreateProjectActionCardLightHovered.js +1786 -0
- package/dist/assets/components/root/CreateSourceActionCardDark.d.ts +3 -0
- package/dist/assets/components/root/CreateSourceActionCardDark.js +879 -0
- package/dist/assets/components/root/CreateSourceActionCardDarkHovered.d.ts +3 -0
- package/dist/assets/components/root/CreateSourceActionCardDarkHovered.js +879 -0
- package/dist/assets/components/root/CreateSourceActionCardLight.d.ts +3 -0
- package/dist/assets/components/root/CreateSourceActionCardLight.js +889 -0
- package/dist/assets/components/root/CreateSourceActionCardLightHovered.d.ts +3 -0
- package/dist/assets/components/root/CreateSourceActionCardLightHovered.js +889 -0
- package/dist/assets/components/sources/AttioIcon.d.ts +3 -0
- package/dist/assets/components/sources/AttioIcon.js +11 -0
- package/dist/assets/components/sources/BigquerySourceIcon.d.ts +3 -0
- package/dist/assets/components/sources/BigquerySourceIcon.js +39 -0
- package/dist/assets/components/sources/BrowserbaseSourceIcon.d.ts +3 -0
- package/dist/assets/components/sources/BrowserbaseSourceIcon.js +35 -0
- package/dist/assets/components/sources/ClickhouseLogoSourceIconDark.d.ts +3 -0
- package/dist/assets/components/sources/ClickhouseLogoSourceIconDark.js +13 -0
- package/dist/assets/components/sources/ClickhouseLogoSourceIconLight.d.ts +3 -0
- package/dist/assets/components/sources/ClickhouseLogoSourceIconLight.js +13 -0
- package/dist/assets/components/sources/ConfluenceSourceIcon.d.ts +3 -0
- package/dist/assets/components/sources/ConfluenceSourceIcon.js +30 -0
- package/dist/assets/components/sources/GalaxyFileUploadSourceIcon.d.ts +3 -0
- package/dist/assets/components/sources/GalaxyFileUploadSourceIcon.js +16 -0
- package/dist/assets/components/sources/GalaxyTextSourceIcon.d.ts +3 -0
- package/dist/assets/components/sources/GalaxyTextSourceIcon.js +16 -0
- package/dist/assets/components/sources/GalaxyWebhookSourceIcon.d.ts +3 -0
- package/dist/assets/components/sources/GalaxyWebhookSourceIcon.js +16 -0
- package/dist/assets/components/sources/GithubSourceIcon.d.ts +3 -0
- package/dist/assets/components/sources/GithubSourceIcon.js +27 -0
- package/dist/assets/components/sources/GoogleDriveIcon.d.ts +3 -0
- package/dist/assets/components/sources/GoogleDriveIcon.js +45 -0
- package/dist/assets/components/sources/HubspotSourceIcon.d.ts +3 -0
- package/dist/assets/components/sources/HubspotSourceIcon.js +14 -0
- package/dist/assets/components/sources/JiraSourceIcon.d.ts +3 -0
- package/dist/assets/components/sources/JiraSourceIcon.js +54 -0
- package/dist/assets/components/sources/LinearSourceIcon.d.ts +3 -0
- package/dist/assets/components/sources/LinearSourceIcon.js +14 -0
- package/dist/assets/components/sources/MysqlLogoSourceIconDark.d.ts +3 -0
- package/dist/assets/components/sources/MysqlLogoSourceIconDark.js +17 -0
- package/dist/assets/components/sources/MysqlLogoSourceIconLight.d.ts +3 -0
- package/dist/assets/components/sources/MysqlLogoSourceIconLight.js +17 -0
- package/dist/assets/components/sources/NetsuiteSourceIcon.d.ts +3 -0
- package/dist/assets/components/sources/NetsuiteSourceIcon.js +32 -0
- package/dist/assets/components/sources/NotionIcon.d.ts +3 -0
- package/dist/assets/components/sources/NotionIcon.js +20 -0
- package/dist/assets/components/sources/NotionLogoSourceIconDark.d.ts +3 -0
- package/dist/assets/components/sources/NotionLogoSourceIconDark.js +10 -0
- package/dist/assets/components/sources/NotionLogoSourceIconLight.d.ts +3 -0
- package/dist/assets/components/sources/NotionLogoSourceIconLight.js +13 -0
- package/dist/assets/components/sources/PostgresLogoSourceIconDark.d.ts +3 -0
- package/dist/assets/components/sources/PostgresLogoSourceIconDark.js +28 -0
- package/dist/assets/components/sources/PostgresLogoSourceIconLight.d.ts +3 -0
- package/dist/assets/components/sources/PostgresLogoSourceIconLight.js +28 -0
- package/dist/assets/components/sources/PostgresqlIcon.d.ts +3 -0
- package/dist/assets/components/sources/PostgresqlIcon.js +61 -0
- package/dist/assets/components/sources/PostgresqlLogoSourceIconDark.d.ts +3 -0
- package/dist/assets/components/sources/PostgresqlLogoSourceIconDark.js +10 -0
- package/dist/assets/components/sources/PostgresqlLogoSourceIconLight.d.ts +3 -0
- package/dist/assets/components/sources/PostgresqlLogoSourceIconLight.js +13 -0
- package/dist/assets/components/sources/S3Icon.d.ts +3 -0
- package/dist/assets/components/sources/S3Icon.js +76 -0
- package/dist/assets/components/sources/S3LogoSourceIconDark.d.ts +3 -0
- package/dist/assets/components/sources/S3LogoSourceIconDark.js +10 -0
- package/dist/assets/components/sources/S3LogoSourceIconLight.d.ts +3 -0
- package/dist/assets/components/sources/S3LogoSourceIconLight.js +13 -0
- package/dist/assets/components/sources/SalesforceSourceIcon.d.ts +3 -0
- package/dist/assets/components/sources/SalesforceSourceIcon.js +23 -0
- package/dist/assets/components/sources/SlackIcon.d.ts +3 -0
- package/dist/assets/components/sources/SlackIcon.js +32 -0
- package/dist/assets/components/sources/SlackLogoSourceIconDark.d.ts +3 -0
- package/dist/assets/components/sources/SlackLogoSourceIconDark.js +15 -0
- package/dist/assets/components/sources/SlackLogoSourceIconLight.d.ts +3 -0
- package/dist/assets/components/sources/SlackLogoSourceIconLight.js +15 -0
- package/dist/assets/components/sources/SnowflakeLogoSourceIconDark.d.ts +3 -0
- package/dist/assets/components/sources/SnowflakeLogoSourceIconDark.js +14 -0
- package/dist/assets/components/sources/SnowflakeLogoSourceIconLight.d.ts +3 -0
- package/dist/assets/components/sources/SnowflakeLogoSourceIconLight.js +14 -0
- package/dist/assets/components/sources/SourcesEmptyStateDark.d.ts +3 -0
- package/dist/assets/components/sources/SourcesEmptyStateDark.js +432 -0
- package/dist/assets/components/sources/SourcesEmptyStateLight.d.ts +3 -0
- package/dist/assets/components/sources/SourcesEmptyStateLight.js +434 -0
- package/dist/assets/components/sources/WikipediaSourceIcon.d.ts +3 -0
- package/dist/assets/components/sources/WikipediaSourceIcon.js +1490 -0
- package/dist/assets/models/galaxy-logomark.js +4 -0
- package/dist/avatar/Avatar.d.ts +9 -0
- package/dist/avatar/Avatar.js +52 -0
- package/dist/avatar/AvatarEmpty.d.ts +36 -0
- package/dist/avatar/AvatarEmpty.js +43 -0
- package/dist/avatar/AvatarShimmer.d.ts +28 -0
- package/dist/avatar/AvatarShimmer.js +21 -0
- package/dist/avatar/GalaxyAvatar.d.ts +6 -0
- package/dist/avatar/GalaxyAvatar.js +36 -0
- package/dist/avatar/types.d.ts +5 -0
- package/dist/avatar/types.js +9 -0
- package/dist/backgrounds/CellGridBackground.d.ts +13 -0
- package/dist/backgrounds/CellGridBackground.js +39 -0
- package/dist/backgrounds/CrossGridBackground.d.ts +14 -0
- package/dist/backgrounds/CrossGridBackground.js +45 -0
- package/dist/backgrounds/DotGridBackground.d.ts +13 -0
- package/dist/backgrounds/DotGridBackground.js +43 -0
- package/dist/badge/Badge.d.ts +30 -0
- package/dist/badge/Badge.js +92 -0
- package/dist/beacons/Beacon.d.ts +43 -0
- package/dist/beacons/Beacon.js +68 -0
- package/dist/buttons/Button.d.ts +30 -0
- package/dist/buttons/Button.js +173 -0
- package/dist/charts/BarChart.d.ts +21 -0
- package/dist/charts/BarChart.js +264 -0
- package/dist/charts/ChartAxis.d.ts +28 -0
- package/dist/charts/ChartAxis.js +94 -0
- package/dist/charts/ChartLegend.d.ts +7 -0
- package/dist/charts/ChartLegend.js +30 -0
- package/dist/charts/ChartTooltip.d.ts +7 -0
- package/dist/charts/ChartTooltip.js +66 -0
- package/dist/charts/LineChart.d.ts +22 -0
- package/dist/charts/LineChart.js +250 -0
- package/dist/charts/PieChart.d.ts +35 -0
- package/dist/charts/PieChart.js +183 -0
- package/dist/charts/constants.d.ts +22 -0
- package/dist/charts/constants.js +38 -0
- package/dist/charts/types.d.ts +80 -0
- package/dist/charts/types.js +0 -0
- package/dist/charts/utils.d.ts +29 -0
- package/dist/charts/utils.js +62 -0
- package/dist/chips/Chip.d.ts +39 -0
- package/dist/chips/Chip.js +185 -0
- package/dist/containers/FlexItem.d.ts +28 -0
- package/dist/containers/FlexItem.js +93 -0
- package/dist/containers/FlexWrapper.d.ts +147 -0
- package/dist/containers/FlexWrapper.js +122 -0
- package/dist/containers/GridWrapper.d.ts +120 -0
- package/dist/containers/GridWrapper.js +117 -0
- package/dist/containers/Spacing.d.ts +13 -0
- package/dist/containers/Spacing.js +52 -0
- package/dist/containers/Wrapper.d.ts +16 -0
- package/dist/containers/Wrapper.js +50 -0
- package/dist/dividers/HorizontalDivider.d.ts +2 -0
- package/dist/dividers/HorizontalDivider.js +17 -0
- package/dist/dividers/VerticalDivider.d.ts +2 -0
- package/dist/dividers/VerticalDivider.js +17 -0
- package/dist/drawer/Drawer.d.ts +13 -0
- package/dist/drawer/Drawer.js +70 -0
- package/dist/dropdown/Dropdown.d.ts +51 -0
- package/dist/dropdown/Dropdown.js +136 -0
- package/dist/dropdown/DropdownButton.d.ts +18 -0
- package/dist/dropdown/DropdownButton.js +179 -0
- package/dist/dropdown/DropdownFooter.d.ts +10 -0
- package/dist/dropdown/DropdownFooter.js +35 -0
- package/dist/dropdown/DropdownItem.d.ts +10 -0
- package/dist/dropdown/DropdownItem.js +38 -0
- package/dist/editor/CodeEditor.d.ts +68 -0
- package/dist/editor/CodeEditor.js +435 -0
- package/dist/editor/CodeEditorReactWidget.d.ts +35 -0
- package/dist/editor/CodeEditorReactWidget.js +47 -0
- package/dist/hooks/useDismiss.d.ts +27 -0
- package/dist/hooks/useDismiss.js +37 -0
- package/dist/hooks/useElementWidth.d.ts +22 -0
- package/dist/hooks/useElementWidth.js +44 -0
- package/dist/hooks/useResize.d.ts +83 -0
- package/dist/hooks/useResize.js +114 -0
- package/dist/hotkeys/HotKeyBindings.d.ts +7 -0
- package/dist/hotkeys/HotKeyBindings.js +23 -0
- package/dist/hotkeys/HotKeySymbol.d.ts +13 -0
- package/dist/hotkeys/HotKeySymbol.js +49 -0
- package/dist/icons/BackIcon.d.ts +3 -0
- package/dist/icons/BackIcon.js +13 -0
- package/dist/icons/CloseIcon.d.ts +3 -0
- package/dist/icons/CloseIcon.js +13 -0
- package/dist/icons/CreateIcon.d.ts +3 -0
- package/dist/icons/CreateIcon.js +13 -0
- package/dist/icons/ForwardIcon.d.ts +3 -0
- package/dist/icons/ForwardIcon.js +13 -0
- package/dist/icons/GalaxyLogomark.d.ts +5 -0
- package/dist/icons/GalaxyLogomark.js +21 -0
- package/dist/icons/GalaxyLogomark3D.d.ts +41 -0
- package/dist/icons/GalaxyLogomark3D.js +310 -0
- package/dist/icons/GalaxyWordmark.d.ts +5 -0
- package/dist/icons/GalaxyWordmark.js +21 -0
- package/dist/icons/HelpIcon.d.ts +3 -0
- package/dist/icons/HelpIcon.js +14 -0
- package/dist/icons/Icon.d.ts +41 -0
- package/dist/icons/Icon.js +51 -0
- package/dist/icons/ProjectsIcon.d.ts +3 -0
- package/dist/icons/ProjectsIcon.js +12 -0
- package/dist/icons/SearchIcon.d.ts +3 -0
- package/dist/icons/SearchIcon.js +12 -0
- package/dist/icons/SourcesIcon.d.ts +3 -0
- package/dist/icons/SourcesIcon.js +12 -0
- package/dist/icons/TextIcon.d.ts +4 -0
- package/dist/icons/TextIcon.js +22 -0
- package/dist/icons/WebScrapeIcon.d.ts +4 -0
- package/dist/icons/WebScrapeIcon.js +22 -0
- package/dist/icons/WebhookIcon.d.ts +4 -0
- package/dist/icons/WebhookIcon.js +22 -0
- package/dist/icons/sources/AttioLogomark.d.ts +4 -0
- package/dist/icons/sources/AttioLogomark.js +8 -0
- package/dist/icons/sources/BrowserbaseLogomark.d.ts +4 -0
- package/dist/icons/sources/BrowserbaseLogomark.js +8 -0
- package/dist/icons/sources/ClickhouseLogomark.d.ts +4 -0
- package/dist/icons/sources/ClickhouseLogomark.js +16 -0
- package/dist/icons/sources/ConfluenceLogomark.d.ts +4 -0
- package/dist/icons/sources/ConfluenceLogomark.js +8 -0
- package/dist/icons/sources/GithubLogomark.d.ts +4 -0
- package/dist/icons/sources/GithubLogomark.js +8 -0
- package/dist/icons/sources/GoogleBigqueryLogomark.d.ts +4 -0
- package/dist/icons/sources/GoogleBigqueryLogomark.js +8 -0
- package/dist/icons/sources/GoogleDriveLogomark.d.ts +4 -0
- package/dist/icons/sources/GoogleDriveLogomark.js +8 -0
- package/dist/icons/sources/HubspotLogomark.d.ts +4 -0
- package/dist/icons/sources/HubspotLogomark.js +8 -0
- package/dist/icons/sources/JiraLogomark.d.ts +4 -0
- package/dist/icons/sources/JiraLogomark.js +8 -0
- package/dist/icons/sources/LinearLogomark.d.ts +4 -0
- package/dist/icons/sources/LinearLogomark.js +8 -0
- package/dist/icons/sources/MySQLLogomark.d.ts +4 -0
- package/dist/icons/sources/MySQLLogomark.js +8 -0
- package/dist/icons/sources/NetsuiteLogomark.d.ts +4 -0
- package/dist/icons/sources/NetsuiteLogomark.js +8 -0
- package/dist/icons/sources/NotionLogomark.d.ts +4 -0
- package/dist/icons/sources/NotionLogomark.js +8 -0
- package/dist/icons/sources/PostgresLogomark.d.ts +4 -0
- package/dist/icons/sources/PostgresLogomark.js +8 -0
- package/dist/icons/sources/S3Logomark.d.ts +4 -0
- package/dist/icons/sources/S3Logomark.js +8 -0
- package/dist/icons/sources/SalesforceLogomark.d.ts +4 -0
- package/dist/icons/sources/SalesforceLogomark.js +8 -0
- package/dist/icons/sources/SlackLogoIconmark.d.ts +4 -0
- package/dist/icons/sources/SlackLogoIconmark.js +8 -0
- package/dist/icons/sources/SnowflakeLogomark.d.ts +4 -0
- package/dist/icons/sources/SnowflakeLogomark.js +16 -0
- package/dist/icons/sources/WikipediaLogomark.d.ts +4 -0
- package/dist/icons/sources/WikipediaLogomark.js +8 -0
- package/dist/inputs/CheckboxInput.d.ts +20 -0
- package/dist/inputs/CheckboxInput.js +97 -0
- package/dist/inputs/ColorInput.d.ts +20 -0
- package/dist/inputs/ColorInput.js +368 -0
- package/dist/inputs/CopyInput.d.ts +15 -0
- package/dist/inputs/CopyInput.js +46 -0
- package/dist/inputs/DateInput.d.ts +19 -0
- package/dist/inputs/DateInput.js +498 -0
- package/dist/inputs/Input.d.ts +91 -0
- package/dist/inputs/Input.js +205 -0
- package/dist/inputs/MultiSelectInput.d.ts +38 -0
- package/dist/inputs/MultiSelectInput.js +566 -0
- package/dist/inputs/MultiTextInput.d.ts +27 -0
- package/dist/inputs/MultiTextInput.js +178 -0
- package/dist/inputs/NumberInput.d.ts +4 -0
- package/dist/inputs/NumberInput.js +34 -0
- package/dist/inputs/PasswordInput.d.ts +4 -0
- package/dist/inputs/PasswordInput.js +40 -0
- package/dist/inputs/RadioInput.d.ts +20 -0
- package/dist/inputs/RadioInput.js +108 -0
- package/dist/inputs/SelectInput.d.ts +51 -0
- package/dist/inputs/SelectInput.js +528 -0
- package/dist/inputs/SliderInput.d.ts +16 -0
- package/dist/inputs/SliderInput.js +172 -0
- package/dist/inputs/TextAreaInput.d.ts +40 -0
- package/dist/inputs/TextAreaInput.js +238 -0
- package/dist/inputs/TextInput.d.ts +4 -0
- package/dist/inputs/TextInput.js +53 -0
- package/dist/inputs/ToggleInput.d.ts +11 -0
- package/dist/inputs/ToggleInput.js +100 -0
- package/dist/inputs/hooks.d.ts +10 -0
- package/dist/inputs/hooks.js +22 -0
- package/dist/links/Link.d.ts +2 -0
- package/dist/links/Link.js +10 -0
- package/dist/lists/BulletedList.d.ts +11 -0
- package/dist/lists/BulletedList.js +41 -0
- package/dist/metrics/MetricItem.d.ts +15 -0
- package/dist/metrics/MetricItem.js +53 -0
- package/dist/metrics/ProgressBar.d.ts +15 -0
- package/dist/metrics/ProgressBar.js +60 -0
- package/dist/modal/Modal.d.ts +7 -0
- package/dist/modal/Modal.js +52 -0
- package/dist/overlay/OverlayProvider.d.ts +26 -0
- package/dist/overlay/OverlayProvider.js +92 -0
- package/dist/overlay/constants.d.ts +27 -0
- package/dist/overlay/constants.js +36 -0
- package/dist/overlay/useOverlay.d.ts +7 -0
- package/dist/overlay/useOverlay.js +46 -0
- package/dist/resizable/HorizontalResizeHandle.d.ts +10 -0
- package/dist/resizable/HorizontalResizeHandle.js +32 -0
- package/dist/resizable/VerticalResizeHandle.d.ts +11 -0
- package/dist/resizable/VerticalResizeHandle.js +33 -0
- package/dist/shapes/Circle.d.ts +6 -0
- package/dist/shapes/Circle.js +25 -0
- package/dist/spreadsheet/InfiniteSpreadsheet.d.ts +3 -0
- package/dist/spreadsheet/InfiniteSpreadsheet.js +265 -0
- package/dist/spreadsheet/SpreadsheetAddColumnButton.d.ts +6 -0
- package/dist/spreadsheet/SpreadsheetAddColumnButton.js +32 -0
- package/dist/spreadsheet/SpreadsheetCell.d.ts +19 -0
- package/dist/spreadsheet/SpreadsheetCell.js +115 -0
- package/dist/spreadsheet/SpreadsheetCellEditor.d.ts +11 -0
- package/dist/spreadsheet/SpreadsheetCellEditor.js +95 -0
- package/dist/spreadsheet/SpreadsheetHeaderCell.d.ts +13 -0
- package/dist/spreadsheet/SpreadsheetHeaderCell.js +125 -0
- package/dist/spreadsheet/SpreadsheetRow.d.ts +21 -0
- package/dist/spreadsheet/SpreadsheetRow.js +68 -0
- package/dist/spreadsheet/SpreadsheetRowActionCell.d.ts +11 -0
- package/dist/spreadsheet/SpreadsheetRowActionCell.js +60 -0
- package/dist/spreadsheet/hooks/useColumnResize.d.ts +6 -0
- package/dist/spreadsheet/hooks/useColumnResize.js +46 -0
- package/dist/spreadsheet/hooks/useSpreadsheetEditing.d.ts +13 -0
- package/dist/spreadsheet/hooks/useSpreadsheetEditing.js +41 -0
- package/dist/spreadsheet/types.d.ts +92 -0
- package/dist/spreadsheet/types.js +21 -0
- package/dist/styles.css +213 -0
- package/dist/switcher/Switcher.d.ts +11 -0
- package/dist/switcher/Switcher.js +41 -0
- package/dist/table/InfiniteTable.d.ts +83 -0
- package/dist/table/InfiniteTable.js +711 -0
- package/dist/table/VirtualizedInfiniteTable.d.ts +28 -0
- package/dist/table/VirtualizedInfiniteTable.js +359 -0
- package/dist/text/Bold.d.ts +3 -0
- package/dist/text/Bold.js +17 -0
- package/dist/text/Code.d.ts +3 -0
- package/dist/text/Code.js +27 -0
- package/dist/text/EditableText.d.ts +7 -0
- package/dist/text/EditableText.js +141 -0
- package/dist/text/Ellipsis.d.ts +10 -0
- package/dist/text/Ellipsis.js +28 -0
- package/dist/text/MarkdownText.d.ts +7 -0
- package/dist/text/MarkdownText.js +295 -0
- package/dist/text/Paragraph.d.ts +16 -0
- package/dist/text/Paragraph.js +76 -0
- package/dist/text/RequiredMarker.d.ts +6 -0
- package/dist/text/RequiredMarker.js +44 -0
- package/dist/text/Selectable.d.ts +3 -0
- package/dist/text/Selectable.js +15 -0
- package/dist/text/Text.d.ts +47 -0
- package/dist/text/Text.js +104 -0
- package/dist/text/TextShimmer.d.ts +7 -0
- package/dist/text/TextShimmer.js +30 -0
- package/dist/theme/GalaxyTheme.d.ts +36 -0
- package/dist/theme/GalaxyTheme.js +107 -0
- package/dist/theme/constants.d.ts +13 -0
- package/dist/theme/constants.js +43 -0
- package/dist/theme/index.d.ts +6 -0
- package/dist/theme/index.js +6 -0
- package/dist/theme/types.d.ts +174 -0
- package/dist/theme/types.js +0 -0
- package/dist/theme/typography.d.ts +2 -0
- package/dist/theme/typography.js +73 -0
- package/dist/theme/variants/dark.d.ts +2 -0
- package/dist/theme/variants/dark.js +125 -0
- package/dist/theme/variants/light.d.ts +2 -0
- package/dist/theme/variants/light.js +125 -0
- package/dist/tooltip/Tooltip.d.ts +37 -0
- package/dist/tooltip/Tooltip.js +79 -0
- package/dist/utils/colors.d.ts +84 -0
- package/dist/utils/colors.js +323 -0
- package/dist/utils/linaria.d.ts +1 -0
- package/dist/utils/linaria.js +8 -0
- package/dist/widget/Widget.d.ts +28 -0
- package/dist/widget/Widget.js +99 -0
- package/package.json +268 -0
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
import { useGalaxyTheme } from "../theme/GalaxyTheme.js";
|
|
2
|
+
import { getCssSizeValue } from "../utils/linaria.js";
|
|
3
|
+
import galaxy_logomark_default from "../assets/models/galaxy-logomark.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import { styled } from "@linaria/react";
|
|
6
|
+
import { Suspense, useEffect, useRef, useState } from "react";
|
|
7
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { Center, Environment, OrbitControls } from "@react-three/drei";
|
|
9
|
+
import { Canvas, useFrame, useLoader } from "@react-three/fiber";
|
|
10
|
+
import * as THREE from "three";
|
|
11
|
+
import { OBJLoader } from "three/examples/jsm/loaders/OBJLoader.js";
|
|
12
|
+
//#region src/icons/GalaxyLogomark3D.tsx
|
|
13
|
+
var _exp2 = () => ({ $height }) => getCssSizeValue($height);
|
|
14
|
+
var CanvasContainer = /*#__PURE__*/ styled("div")({
|
|
15
|
+
name: "CanvasContainer",
|
|
16
|
+
class: "c17zkoob",
|
|
17
|
+
propsAsIs: false,
|
|
18
|
+
vars: { "c17zkoob-0": [_exp2()] }
|
|
19
|
+
});
|
|
20
|
+
var DEFAULT_MATERIAL = {
|
|
21
|
+
metalness: 0,
|
|
22
|
+
roughness: 0,
|
|
23
|
+
transmission: 0,
|
|
24
|
+
thickness: 0,
|
|
25
|
+
ior: 1,
|
|
26
|
+
envMapIntensity: 0,
|
|
27
|
+
clearcoat: 0,
|
|
28
|
+
clearcoatRoughness: 0,
|
|
29
|
+
sheen: 1,
|
|
30
|
+
sheenRoughness: 0
|
|
31
|
+
};
|
|
32
|
+
var DRAMATIC_MATERIAL = {
|
|
33
|
+
metalness: 0,
|
|
34
|
+
roughness: .9,
|
|
35
|
+
transmission: 0,
|
|
36
|
+
thickness: 0,
|
|
37
|
+
ior: 1,
|
|
38
|
+
envMapIntensity: 0,
|
|
39
|
+
clearcoat: 0,
|
|
40
|
+
clearcoatRoughness: 0,
|
|
41
|
+
sheen: 1,
|
|
42
|
+
sheenRoughness: .5
|
|
43
|
+
};
|
|
44
|
+
function LogoMesh({ color, isDark, isAutoRotate = false, isHoverable = true, isHovered = false, speed = 1.5, isDramaticMode = false, material }) {
|
|
45
|
+
const groupRef = useRef(null);
|
|
46
|
+
const obj = useLoader(OBJLoader, galaxy_logomark_default);
|
|
47
|
+
const animationStartTime = useRef(null);
|
|
48
|
+
const wasHovered = useRef(false);
|
|
49
|
+
const animationDuration = .5 / speed;
|
|
50
|
+
const axisMultipliers = useRef({
|
|
51
|
+
x: 1,
|
|
52
|
+
y: -1,
|
|
53
|
+
z: 0
|
|
54
|
+
});
|
|
55
|
+
useEffect(() => {
|
|
56
|
+
axisMultipliers.current = {
|
|
57
|
+
x: Math.random() > .3 ? Math.random() > .5 ? 1 : -1 : 0,
|
|
58
|
+
y: Math.random() > .3 ? Math.random() > .5 ? 1 : -1 : 0,
|
|
59
|
+
z: Math.random() > .3 ? Math.random() > .5 ? 1 : -1 : 0
|
|
60
|
+
};
|
|
61
|
+
}, []);
|
|
62
|
+
useFrame((state) => {
|
|
63
|
+
if (!groupRef.current) return;
|
|
64
|
+
if (isHoverable) {
|
|
65
|
+
if (isHovered && !wasHovered.current) {
|
|
66
|
+
animationStartTime.current = state.clock.elapsedTime;
|
|
67
|
+
let x = Math.random() > .4 ? Math.random() > .5 ? 1 : -1 : 0;
|
|
68
|
+
let y = Math.random() > .4 ? Math.random() > .5 ? 1 : -1 : 0;
|
|
69
|
+
let z = Math.random() > .4 ? Math.random() > .5 ? 1 : -1 : 0;
|
|
70
|
+
if (x === 0 && y === 0 && z === 0) {
|
|
71
|
+
const fallback = Math.floor(Math.random() * 3);
|
|
72
|
+
if (fallback === 0) x = 1;
|
|
73
|
+
else if (fallback === 1) y = 1;
|
|
74
|
+
else z = 1;
|
|
75
|
+
}
|
|
76
|
+
axisMultipliers.current = {
|
|
77
|
+
x,
|
|
78
|
+
y,
|
|
79
|
+
z
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
wasHovered.current = isHovered;
|
|
83
|
+
if (animationStartTime.current !== null && state.clock.elapsedTime - animationStartTime.current < animationDuration) {
|
|
84
|
+
const progress = (state.clock.elapsedTime - animationStartTime.current) / animationDuration;
|
|
85
|
+
const rotation = (1 - Math.pow(1 - progress, 4)) * Math.PI * 4;
|
|
86
|
+
groupRef.current.rotation.x = rotation * axisMultipliers.current.x;
|
|
87
|
+
groupRef.current.rotation.y = rotation * axisMultipliers.current.y;
|
|
88
|
+
groupRef.current.rotation.z = rotation * axisMultipliers.current.z;
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
if (isAutoRotate) {
|
|
93
|
+
groupRef.current.rotation.x = THREE.MathUtils.lerp(groupRef.current.rotation.x, 0, .1);
|
|
94
|
+
groupRef.current.rotation.y = state.clock.elapsedTime * speed;
|
|
95
|
+
groupRef.current.rotation.z = THREE.MathUtils.lerp(groupRef.current.rotation.z, 0, .1);
|
|
96
|
+
} else {
|
|
97
|
+
groupRef.current.rotation.x = THREE.MathUtils.lerp(groupRef.current.rotation.x, 0, .1);
|
|
98
|
+
groupRef.current.rotation.y = THREE.MathUtils.lerp(groupRef.current.rotation.y, 0, .1);
|
|
99
|
+
groupRef.current.rotation.z = THREE.MathUtils.lerp(groupRef.current.rotation.z, 0, .1);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
const mergedMaterial = {
|
|
103
|
+
...isDramaticMode ? DRAMATIC_MATERIAL : DEFAULT_MATERIAL,
|
|
104
|
+
...material
|
|
105
|
+
};
|
|
106
|
+
if (!isDramaticMode && material?.envMapIntensity === void 0) mergedMaterial.envMapIntensity = isDark ? .3 : 1.5;
|
|
107
|
+
const clonedObj = obj.clone();
|
|
108
|
+
clonedObj.traverse((child) => {
|
|
109
|
+
if (child instanceof THREE.Mesh) {
|
|
110
|
+
if (isDramaticMode) child.castShadow = true;
|
|
111
|
+
child.material = new THREE.MeshPhysicalMaterial({
|
|
112
|
+
color,
|
|
113
|
+
metalness: mergedMaterial.metalness,
|
|
114
|
+
roughness: mergedMaterial.roughness,
|
|
115
|
+
transmission: mergedMaterial.transmission,
|
|
116
|
+
thickness: mergedMaterial.thickness,
|
|
117
|
+
ior: mergedMaterial.ior,
|
|
118
|
+
envMapIntensity: mergedMaterial.envMapIntensity,
|
|
119
|
+
clearcoat: mergedMaterial.clearcoat,
|
|
120
|
+
clearcoatRoughness: mergedMaterial.clearcoatRoughness,
|
|
121
|
+
sheen: mergedMaterial.sheen,
|
|
122
|
+
sheenRoughness: mergedMaterial.sheenRoughness,
|
|
123
|
+
sheenColor: mergedMaterial.sheenColor ? new THREE.Color(mergedMaterial.sheenColor) : new THREE.Color(color),
|
|
124
|
+
...mergedMaterial.transmission > 0 ? {
|
|
125
|
+
attenuationColor: new THREE.Color(color),
|
|
126
|
+
attenuationDistance: .5
|
|
127
|
+
} : {}
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
return /* @__PURE__ */ jsx("group", {
|
|
132
|
+
ref: groupRef,
|
|
133
|
+
scale: [
|
|
134
|
+
.088,
|
|
135
|
+
.088,
|
|
136
|
+
.088
|
|
137
|
+
],
|
|
138
|
+
children: /* @__PURE__ */ jsx(Center, { children: /* @__PURE__ */ jsx("primitive", { object: clonedObj }) })
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
function SimpleLighting() {
|
|
142
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
143
|
+
/* @__PURE__ */ jsx("ambientLight", { intensity: .5 }),
|
|
144
|
+
/* @__PURE__ */ jsx("directionalLight", {
|
|
145
|
+
position: [
|
|
146
|
+
10,
|
|
147
|
+
10,
|
|
148
|
+
5
|
|
149
|
+
],
|
|
150
|
+
intensity: 1
|
|
151
|
+
}),
|
|
152
|
+
/* @__PURE__ */ jsx("directionalLight", {
|
|
153
|
+
position: [
|
|
154
|
+
-10,
|
|
155
|
+
-10,
|
|
156
|
+
-5
|
|
157
|
+
],
|
|
158
|
+
intensity: .5
|
|
159
|
+
})
|
|
160
|
+
] });
|
|
161
|
+
}
|
|
162
|
+
function DramaticLighting({ backlight, spotlight, fillLight }) {
|
|
163
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
164
|
+
/* @__PURE__ */ jsx("ambientLight", { intensity: .15 }),
|
|
165
|
+
/* @__PURE__ */ jsx("directionalLight", {
|
|
166
|
+
position: [
|
|
167
|
+
0,
|
|
168
|
+
0,
|
|
169
|
+
5
|
|
170
|
+
],
|
|
171
|
+
intensity: .3
|
|
172
|
+
}),
|
|
173
|
+
/* @__PURE__ */ jsx("spotLight", {
|
|
174
|
+
position: [
|
|
175
|
+
0,
|
|
176
|
+
6,
|
|
177
|
+
5
|
|
178
|
+
],
|
|
179
|
+
angle: Math.PI / 4,
|
|
180
|
+
penumbra: .6,
|
|
181
|
+
intensity: backlight.intensity,
|
|
182
|
+
color: backlight.color,
|
|
183
|
+
castShadow: true,
|
|
184
|
+
distance: 20,
|
|
185
|
+
decay: 1.5
|
|
186
|
+
}),
|
|
187
|
+
/* @__PURE__ */ jsx("pointLight", {
|
|
188
|
+
position: [
|
|
189
|
+
-3,
|
|
190
|
+
2,
|
|
191
|
+
4
|
|
192
|
+
],
|
|
193
|
+
intensity: backlight.intensity * .3,
|
|
194
|
+
color: backlight.color,
|
|
195
|
+
distance: 15,
|
|
196
|
+
decay: 2
|
|
197
|
+
}),
|
|
198
|
+
/* @__PURE__ */ jsx("spotLight", {
|
|
199
|
+
position: [
|
|
200
|
+
4,
|
|
201
|
+
5,
|
|
202
|
+
2
|
|
203
|
+
],
|
|
204
|
+
"target-position": [
|
|
205
|
+
0,
|
|
206
|
+
0,
|
|
207
|
+
0
|
|
208
|
+
],
|
|
209
|
+
angle: Math.PI / 6,
|
|
210
|
+
penumbra: .4,
|
|
211
|
+
intensity: spotlight.intensity,
|
|
212
|
+
color: spotlight.color,
|
|
213
|
+
distance: 15,
|
|
214
|
+
decay: 1
|
|
215
|
+
}),
|
|
216
|
+
/* @__PURE__ */ jsx("pointLight", {
|
|
217
|
+
position: [
|
|
218
|
+
-5,
|
|
219
|
+
-1,
|
|
220
|
+
2
|
|
221
|
+
],
|
|
222
|
+
intensity: fillLight.intensity,
|
|
223
|
+
color: fillLight.color,
|
|
224
|
+
distance: 15,
|
|
225
|
+
decay: 1.5
|
|
226
|
+
})
|
|
227
|
+
] });
|
|
228
|
+
}
|
|
229
|
+
function Scene({ color, isDark, isAutoRotate, isInteractive, isHoverable, isHovered, speed, isDramaticMode, backlight, spotlight, fillLight, material, environmentPreset }) {
|
|
230
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
231
|
+
isDramaticMode && backlight && spotlight && fillLight ? /* @__PURE__ */ jsx(DramaticLighting, {
|
|
232
|
+
backlight,
|
|
233
|
+
spotlight,
|
|
234
|
+
fillLight
|
|
235
|
+
}) : /* @__PURE__ */ jsx(SimpleLighting, {}),
|
|
236
|
+
/* @__PURE__ */ jsx(LogoMesh, {
|
|
237
|
+
color,
|
|
238
|
+
isDark,
|
|
239
|
+
isAutoRotate,
|
|
240
|
+
isHoverable,
|
|
241
|
+
isHovered,
|
|
242
|
+
speed,
|
|
243
|
+
isDramaticMode,
|
|
244
|
+
material
|
|
245
|
+
}),
|
|
246
|
+
/* @__PURE__ */ jsx(Environment, { preset: environmentPreset }),
|
|
247
|
+
/* @__PURE__ */ jsx(OrbitControls, {
|
|
248
|
+
autoRotate: false,
|
|
249
|
+
enableZoom: isInteractive,
|
|
250
|
+
enablePan: isInteractive,
|
|
251
|
+
enableRotate: isInteractive
|
|
252
|
+
})
|
|
253
|
+
] });
|
|
254
|
+
}
|
|
255
|
+
var GalaxyLogomark3D = ({ height, isDark = false, isAutoRotate = false, isInteractive = false, isHoverable = false, speed = 2, backlight, spotlight, fillLight, material, color: colorOverride, environmentPreset }) => {
|
|
256
|
+
const [isHovered, setIsHovered] = useState(false);
|
|
257
|
+
const { theme } = useGalaxyTheme();
|
|
258
|
+
const color = colorOverride ?? (isDark ? theme.color.background.primary : theme.color.background.primaryAlt);
|
|
259
|
+
const isDramaticMode = !!(backlight || spotlight || fillLight);
|
|
260
|
+
return /* @__PURE__ */ jsx(CanvasContainer, {
|
|
261
|
+
$height: height,
|
|
262
|
+
onMouseEnter: () => setIsHovered(true),
|
|
263
|
+
onMouseLeave: () => setIsHovered(false),
|
|
264
|
+
children: /* @__PURE__ */ jsx(Canvas, {
|
|
265
|
+
camera: {
|
|
266
|
+
position: [
|
|
267
|
+
0,
|
|
268
|
+
0,
|
|
269
|
+
4
|
|
270
|
+
],
|
|
271
|
+
fov: 45
|
|
272
|
+
},
|
|
273
|
+
style: { background: "transparent" },
|
|
274
|
+
gl: {
|
|
275
|
+
alpha: true,
|
|
276
|
+
antialias: true
|
|
277
|
+
},
|
|
278
|
+
shadows: isDramaticMode,
|
|
279
|
+
children: /* @__PURE__ */ jsx(Suspense, {
|
|
280
|
+
fallback: null,
|
|
281
|
+
children: /* @__PURE__ */ jsx(Scene, {
|
|
282
|
+
color,
|
|
283
|
+
isDark,
|
|
284
|
+
isAutoRotate,
|
|
285
|
+
isInteractive,
|
|
286
|
+
isHoverable,
|
|
287
|
+
isHovered,
|
|
288
|
+
speed,
|
|
289
|
+
isDramaticMode,
|
|
290
|
+
backlight: isDramaticMode ? {
|
|
291
|
+
intensity: backlight?.intensity ?? 8,
|
|
292
|
+
color: backlight?.color ?? "#ffffff"
|
|
293
|
+
} : void 0,
|
|
294
|
+
spotlight: isDramaticMode ? {
|
|
295
|
+
intensity: spotlight?.intensity ?? 30,
|
|
296
|
+
color: spotlight?.color ?? "#ff0000"
|
|
297
|
+
} : void 0,
|
|
298
|
+
fillLight: isDramaticMode ? {
|
|
299
|
+
intensity: fillLight?.intensity ?? 10,
|
|
300
|
+
color: fillLight?.color ?? "#B57EDC"
|
|
301
|
+
} : void 0,
|
|
302
|
+
material,
|
|
303
|
+
environmentPreset: environmentPreset ?? (isDramaticMode ? "night" : "studio")
|
|
304
|
+
})
|
|
305
|
+
})
|
|
306
|
+
})
|
|
307
|
+
});
|
|
308
|
+
};
|
|
309
|
+
//#endregion
|
|
310
|
+
export { GalaxyLogomark3D as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { GalaxyTheme } from "../theme/constants.js";
|
|
2
|
+
import { useGalaxyTheme } from "../theme/GalaxyTheme.js";
|
|
3
|
+
import SvgGalaxyWordmarkDark from "../assets/components/GalaxyWordmarkDark.js";
|
|
4
|
+
import SvgGalaxyWordmarkLight from "../assets/components/GalaxyWordmarkLight.js";
|
|
5
|
+
import { match } from "ts-pattern";
|
|
6
|
+
import { useMemo } from "react";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
//#region src/icons/GalaxyWordmark.tsx
|
|
9
|
+
var GalaxyWordmark = ({ height, isDark }) => {
|
|
10
|
+
const { galaxyTheme } = useGalaxyTheme();
|
|
11
|
+
return useMemo(() => {
|
|
12
|
+
if (isDark) return /* @__PURE__ */ jsx(SvgGalaxyWordmarkLight, { height });
|
|
13
|
+
return match(galaxyTheme).with(GalaxyTheme.DARK, () => /* @__PURE__ */ jsx(SvgGalaxyWordmarkLight, { height })).with(GalaxyTheme.LIGHT, () => /* @__PURE__ */ jsx(SvgGalaxyWordmarkDark, { height })).exhaustive();
|
|
14
|
+
}, [
|
|
15
|
+
height,
|
|
16
|
+
isDark,
|
|
17
|
+
galaxyTheme
|
|
18
|
+
]);
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { GalaxyWordmark as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Icon, { IconVariant } from "./Icon.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { InfoIcon } from "@phosphor-icons/react";
|
|
4
|
+
//#region src/icons/HelpIcon.tsx
|
|
5
|
+
var HelpIcon = ({ size = 12, variant = IconVariant.TERTIARY, ...props }) => {
|
|
6
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
7
|
+
component: InfoIcon,
|
|
8
|
+
variant,
|
|
9
|
+
size,
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { HelpIcon as default };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { Icon as PhosphorIcon, IconWeight as PhosphorIconWeight } from "@phosphor-icons/react";
|
|
2
|
+
export declare enum IconVariant {
|
|
3
|
+
PRIMARY = "PRIMARY",
|
|
4
|
+
PRIMARY_ALT = "PRIMARY_ALT",
|
|
5
|
+
SECONDARY = "SECONDARY",
|
|
6
|
+
SECONDARY_ALT = "SECONDARY_ALT",
|
|
7
|
+
TERTIARY = "TERTIARY",
|
|
8
|
+
TERTIARY_ALT = "TERTIARY_ALT",
|
|
9
|
+
SUCCESS = "SUCCESS",
|
|
10
|
+
ERROR = "ERROR",
|
|
11
|
+
WARNING = "WARNING",
|
|
12
|
+
LOADING = "LOADING",
|
|
13
|
+
DISABLED = "DISABLED",
|
|
14
|
+
BLUE = "BLUE",
|
|
15
|
+
LIME = "LIME",
|
|
16
|
+
TEAL = "TEAL",
|
|
17
|
+
YELLOW = "YELLOW",
|
|
18
|
+
ORANGE = "ORANGE",
|
|
19
|
+
PURPLE = "PURPLE",
|
|
20
|
+
PINK = "PINK"
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Direct mapping to the Phosphor Icons `IconWeight` type.
|
|
24
|
+
*/
|
|
25
|
+
export declare enum IconWeight {
|
|
26
|
+
THIN = "thin",
|
|
27
|
+
LIGHT = "light",
|
|
28
|
+
REGULAR = "regular",
|
|
29
|
+
BOLD = "bold",
|
|
30
|
+
FILL = "fill",
|
|
31
|
+
DUOTONE = "duotone"
|
|
32
|
+
}
|
|
33
|
+
export interface IconProps {
|
|
34
|
+
component: PhosphorIcon;
|
|
35
|
+
size?: number;
|
|
36
|
+
weight?: PhosphorIconWeight;
|
|
37
|
+
variant?: IconVariant;
|
|
38
|
+
alt?: string;
|
|
39
|
+
}
|
|
40
|
+
declare const Icon: ({ component: IconComponent, variant, size, weight, alt, }: IconProps) => import("react").JSX.Element;
|
|
41
|
+
export default Icon;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { useGalaxyTheme } from "../theme/GalaxyTheme.js";
|
|
2
|
+
import { match } from "ts-pattern";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
//#region src/icons/Icon.tsx
|
|
5
|
+
var IconVariant = /* @__PURE__ */ function(IconVariant) {
|
|
6
|
+
IconVariant["PRIMARY"] = "PRIMARY";
|
|
7
|
+
IconVariant["PRIMARY_ALT"] = "PRIMARY_ALT";
|
|
8
|
+
IconVariant["SECONDARY"] = "SECONDARY";
|
|
9
|
+
IconVariant["SECONDARY_ALT"] = "SECONDARY_ALT";
|
|
10
|
+
IconVariant["TERTIARY"] = "TERTIARY";
|
|
11
|
+
IconVariant["TERTIARY_ALT"] = "TERTIARY_ALT";
|
|
12
|
+
IconVariant["SUCCESS"] = "SUCCESS";
|
|
13
|
+
IconVariant["ERROR"] = "ERROR";
|
|
14
|
+
IconVariant["WARNING"] = "WARNING";
|
|
15
|
+
IconVariant["LOADING"] = "LOADING";
|
|
16
|
+
IconVariant["DISABLED"] = "DISABLED";
|
|
17
|
+
IconVariant["BLUE"] = "BLUE";
|
|
18
|
+
IconVariant["LIME"] = "LIME";
|
|
19
|
+
IconVariant["TEAL"] = "TEAL";
|
|
20
|
+
IconVariant["YELLOW"] = "YELLOW";
|
|
21
|
+
IconVariant["ORANGE"] = "ORANGE";
|
|
22
|
+
IconVariant["PURPLE"] = "PURPLE";
|
|
23
|
+
IconVariant["PINK"] = "PINK";
|
|
24
|
+
return IconVariant;
|
|
25
|
+
}({});
|
|
26
|
+
/**
|
|
27
|
+
* Direct mapping to the Phosphor Icons `IconWeight` type.
|
|
28
|
+
*/
|
|
29
|
+
var IconWeight = /* @__PURE__ */ function(IconWeight) {
|
|
30
|
+
IconWeight["THIN"] = "thin";
|
|
31
|
+
IconWeight["LIGHT"] = "light";
|
|
32
|
+
IconWeight["REGULAR"] = "regular";
|
|
33
|
+
IconWeight["BOLD"] = "bold";
|
|
34
|
+
IconWeight["FILL"] = "fill";
|
|
35
|
+
IconWeight["DUOTONE"] = "duotone";
|
|
36
|
+
return IconWeight;
|
|
37
|
+
}({});
|
|
38
|
+
function getIconColor(variant, theme) {
|
|
39
|
+
return match(variant).with("PRIMARY", () => theme.color.icon.primary).with("PRIMARY_ALT", () => theme.color.icon.primaryAlt).with("SECONDARY", () => theme.color.icon.secondary).with("SECONDARY_ALT", () => theme.color.icon.secondaryAlt).with("TERTIARY", () => theme.color.icon.tertiary).with("TERTIARY_ALT", () => theme.color.icon.tertiaryAlt).with("SUCCESS", () => theme.color.icon.success).with("ERROR", () => theme.color.icon.error).with("WARNING", () => theme.color.icon.warning).with("LOADING", () => theme.color.icon.primary).with("LIME", () => theme.color.icon.lime).with("BLUE", () => theme.color.icon.blue).with("TEAL", () => theme.color.icon.teal).with("YELLOW", () => theme.color.icon.yellow).with("ORANGE", () => theme.color.icon.orange).with("PURPLE", () => theme.color.icon.purple).with("PINK", () => theme.color.icon.pink).with("DISABLED", () => theme.color.text.disabled).with(void 0, () => theme.color.icon.primary).exhaustive();
|
|
40
|
+
}
|
|
41
|
+
var Icon = ({ component: IconComponent, variant = "PRIMARY", size = 16, weight = "bold", alt }) => {
|
|
42
|
+
const { theme } = useGalaxyTheme();
|
|
43
|
+
return /* @__PURE__ */ jsx(IconComponent, {
|
|
44
|
+
size,
|
|
45
|
+
weight,
|
|
46
|
+
color: getIconColor(variant, theme),
|
|
47
|
+
alt
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
//#endregion
|
|
51
|
+
export { IconVariant, IconWeight, Icon as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Icon from "./Icon.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { SphereIcon } from "@phosphor-icons/react";
|
|
4
|
+
//#region src/icons/ProjectsIcon.tsx
|
|
5
|
+
var ProjectsIcon = (props) => {
|
|
6
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
7
|
+
component: SphereIcon,
|
|
8
|
+
...props
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ProjectsIcon as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Icon from "./Icon.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { MagnifyingGlassIcon } from "@phosphor-icons/react";
|
|
4
|
+
//#region src/icons/SearchIcon.tsx
|
|
5
|
+
var SearchIcon = (props) => {
|
|
6
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
7
|
+
component: MagnifyingGlassIcon,
|
|
8
|
+
...props
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { SearchIcon as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Icon from "./Icon.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { CirclesFourIcon } from "@phosphor-icons/react";
|
|
4
|
+
//#region src/icons/SourcesIcon.tsx
|
|
5
|
+
var SourcesIcon = (props) => {
|
|
6
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
7
|
+
component: CirclesFourIcon,
|
|
8
|
+
...props
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { SourcesIcon as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { GalaxyTheme } from "../theme/constants.js";
|
|
2
|
+
import { useGalaxyTheme } from "../theme/GalaxyTheme.js";
|
|
3
|
+
import Icon, { IconVariant, IconWeight } from "./Icon.js";
|
|
4
|
+
import { match } from "ts-pattern";
|
|
5
|
+
import { useMemo } from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { TextTIcon } from "@phosphor-icons/react";
|
|
8
|
+
//#region src/icons/TextIcon.tsx
|
|
9
|
+
var TextIcon = ({ size = 16 }) => {
|
|
10
|
+
const { galaxyTheme } = useGalaxyTheme();
|
|
11
|
+
const variant = useMemo(() => {
|
|
12
|
+
return match(galaxyTheme).with(GalaxyTheme.DARK, () => IconVariant.PRIMARY_ALT).with(GalaxyTheme.LIGHT, () => IconVariant.PRIMARY).exhaustive();
|
|
13
|
+
}, [galaxyTheme]);
|
|
14
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
15
|
+
component: TextTIcon,
|
|
16
|
+
weight: IconWeight.FILL,
|
|
17
|
+
variant,
|
|
18
|
+
size
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { TextIcon as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { GalaxyTheme } from "../theme/constants.js";
|
|
2
|
+
import { useGalaxyTheme } from "../theme/GalaxyTheme.js";
|
|
3
|
+
import Icon, { IconVariant, IconWeight } from "./Icon.js";
|
|
4
|
+
import { match } from "ts-pattern";
|
|
5
|
+
import { useMemo } from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { GlobeIcon } from "@phosphor-icons/react";
|
|
8
|
+
//#region src/icons/WebScrapeIcon.tsx
|
|
9
|
+
var WebScrapeIcon = ({ size = 16 }) => {
|
|
10
|
+
const { galaxyTheme } = useGalaxyTheme();
|
|
11
|
+
const variant = useMemo(() => {
|
|
12
|
+
return match(galaxyTheme).with(GalaxyTheme.DARK, () => IconVariant.PRIMARY_ALT).with(GalaxyTheme.LIGHT, () => IconVariant.PRIMARY).exhaustive();
|
|
13
|
+
}, [galaxyTheme]);
|
|
14
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
15
|
+
component: GlobeIcon,
|
|
16
|
+
weight: IconWeight.FILL,
|
|
17
|
+
variant,
|
|
18
|
+
size
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { WebScrapeIcon as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { GalaxyTheme } from "../theme/constants.js";
|
|
2
|
+
import { useGalaxyTheme } from "../theme/GalaxyTheme.js";
|
|
3
|
+
import Icon, { IconVariant, IconWeight } from "./Icon.js";
|
|
4
|
+
import { match } from "ts-pattern";
|
|
5
|
+
import { useMemo } from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { WebhooksLogoIcon } from "@phosphor-icons/react";
|
|
8
|
+
//#region src/icons/WebhookIcon.tsx
|
|
9
|
+
var WebhookIcon = ({ size = 16 }) => {
|
|
10
|
+
const { galaxyTheme } = useGalaxyTheme();
|
|
11
|
+
const variant = useMemo(() => {
|
|
12
|
+
return match(galaxyTheme).with(GalaxyTheme.DARK, () => IconVariant.PRIMARY_ALT).with(GalaxyTheme.LIGHT, () => IconVariant.PRIMARY).exhaustive();
|
|
13
|
+
}, [galaxyTheme]);
|
|
14
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
15
|
+
component: WebhooksLogoIcon,
|
|
16
|
+
weight: IconWeight.FILL,
|
|
17
|
+
variant,
|
|
18
|
+
size
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { WebhookIcon as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import SvgAttioIcon from "../../assets/components/sources/AttioIcon.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/sources/AttioLogomark.tsx
|
|
4
|
+
var AttioLogomark = ({ height }) => {
|
|
5
|
+
return /* @__PURE__ */ jsx(SvgAttioIcon, { height });
|
|
6
|
+
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { AttioLogomark as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import SvgBrowserbaseSourceIcon from "../../assets/components/sources/BrowserbaseSourceIcon.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/sources/BrowserbaseLogomark.tsx
|
|
4
|
+
var BrowserbaseLogomark = ({ height }) => {
|
|
5
|
+
return /* @__PURE__ */ jsx(SvgBrowserbaseSourceIcon, { height });
|
|
6
|
+
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { BrowserbaseLogomark as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GalaxyTheme } from "../../theme/constants.js";
|
|
2
|
+
import { useGalaxyTheme } from "../../theme/GalaxyTheme.js";
|
|
3
|
+
import SvgClickhouseLogoSourceIconDark from "../../assets/components/sources/ClickhouseLogoSourceIconDark.js";
|
|
4
|
+
import SvgClickhouseLogoSourceIconLight from "../../assets/components/sources/ClickhouseLogoSourceIconLight.js";
|
|
5
|
+
import { match } from "ts-pattern";
|
|
6
|
+
import { useMemo } from "react";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
//#region src/icons/sources/ClickhouseLogomark.tsx
|
|
9
|
+
var ClickhouseLogomark = ({ height }) => {
|
|
10
|
+
const { galaxyTheme } = useGalaxyTheme();
|
|
11
|
+
return useMemo(() => {
|
|
12
|
+
return match(galaxyTheme).with(GalaxyTheme.DARK, () => /* @__PURE__ */ jsx(SvgClickhouseLogoSourceIconLight, { height })).with(GalaxyTheme.LIGHT, () => /* @__PURE__ */ jsx(SvgClickhouseLogoSourceIconDark, { height })).exhaustive();
|
|
13
|
+
}, [galaxyTheme, height]);
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ClickhouseLogomark as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import SvgConfluenceSourceIcon from "../../assets/components/sources/ConfluenceSourceIcon.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/sources/ConfluenceLogomark.tsx
|
|
4
|
+
var ConfluenceLogomark = ({ height }) => {
|
|
5
|
+
return /* @__PURE__ */ jsx(SvgConfluenceSourceIcon, { height });
|
|
6
|
+
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ConfluenceLogomark as default };
|