@integration-app/react 2.0.2 → 2.0.3-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/_modules/awesome-debounce-promise.cjs +20 -0
- package/dist/cjs/components/Integrations/IntegrationAvatar/index.cjs +57 -0
- package/dist/cjs/components/Integrations/IntegrationItem/index.cjs +56 -0
- package/dist/cjs/components/Integrations/IntegrationItemSkeleton.cjs +45 -0
- package/dist/cjs/contexts/integration-app-context.cjs +48 -0
- package/dist/cjs/hooks/actions/useAction.cjs +37 -0
- package/dist/cjs/hooks/actions/useActionInstance.cjs +51 -0
- package/dist/cjs/hooks/actions/useActionInstances.cjs +21 -0
- package/dist/cjs/hooks/actions/useActions.cjs +21 -0
- package/dist/cjs/hooks/app-data-schemas/useAppDataSchema.cjs +23 -0
- package/dist/cjs/hooks/app-data-schemas/useAppDataSchemaInstance.cjs +38 -0
- package/dist/cjs/hooks/app-data-schemas/useAppDataSchemaInstances.cjs +24 -0
- package/dist/cjs/hooks/app-data-schemas/useAppDataSchemas.cjs +21 -0
- package/dist/cjs/hooks/app-events/useAppEventSubscription.cjs +23 -0
- package/dist/cjs/hooks/app-events/useAppEventSubscriptions.cjs +24 -0
- package/dist/cjs/hooks/app-events/useAppEventType.cjs +23 -0
- package/dist/cjs/hooks/app-events/useAppEventTypes.cjs +21 -0
- package/dist/cjs/hooks/app-events/useAppEvents.cjs +21 -0
- package/dist/cjs/hooks/customers/useCustomer.cjs +23 -0
- package/dist/cjs/hooks/customers/useCustomers.cjs +21 -0
- package/dist/cjs/hooks/data-collections/useDataCollectionSpec.cjs +31 -0
- package/dist/cjs/hooks/data-links/useDataLinkTable.cjs +23 -0
- package/dist/cjs/hooks/data-links/useDataLinkTableInstance.cjs +36 -0
- package/dist/cjs/hooks/data-links/useDataLinkTableInstances.cjs +24 -0
- package/dist/cjs/hooks/data-links/useDataLinkTables.cjs +21 -0
- package/dist/cjs/hooks/data-sources/useDataSource.cjs +37 -0
- package/dist/cjs/hooks/data-sources/useDataSourceInstance.cjs +79 -0
- package/dist/cjs/hooks/data-sources/useDataSourceInstanceCollection.cjs +32 -0
- package/dist/cjs/hooks/data-sources/useDataSourceInstances.cjs +24 -0
- package/dist/cjs/hooks/data-sources/useDataSources.cjs +21 -0
- package/dist/cjs/hooks/external-events/useExternalEventSubscription.cjs +58 -0
- package/dist/cjs/hooks/external-events/useExternalEventSubscriptions.cjs +24 -0
- package/dist/cjs/hooks/field-mappings/useFieldMapping.cjs +37 -0
- package/dist/cjs/hooks/field-mappings/useFieldMappingInstance.cjs +47 -0
- package/dist/cjs/hooks/field-mappings/useFieldMappingInstances.cjs +24 -0
- package/dist/cjs/hooks/field-mappings/useFieldMappings.cjs +21 -0
- package/dist/cjs/hooks/flows/useFlow.cjs +37 -0
- package/dist/cjs/hooks/flows/useFlowInstance.cjs +65 -0
- package/dist/cjs/hooks/flows/useFlowInstances.cjs +21 -0
- package/dist/cjs/hooks/flows/useFlowRun.cjs +35 -0
- package/dist/cjs/hooks/flows/useFlowRuns.cjs +21 -0
- package/dist/cjs/hooks/flows/useFlows.cjs +21 -0
- package/dist/cjs/hooks/integrations/useConnection.cjs +26 -0
- package/dist/cjs/hooks/integrations/useConnections.cjs +21 -0
- package/dist/cjs/hooks/integrations/useConnectorSpec.cjs +23 -0
- package/dist/cjs/hooks/integrations/useIntegration.cjs +23 -0
- package/dist/cjs/hooks/integrations/useIntegrations.cjs +21 -0
- package/dist/cjs/hooks/scenarios/useScenario.cjs +23 -0
- package/dist/cjs/hooks/scenarios/useScenarios.cjs +21 -0
- package/dist/cjs/hooks/screens/useScreen.cjs +23 -0
- package/dist/cjs/hooks/useElement.cjs +124 -0
- package/dist/cjs/hooks/useElements.cjs +76 -0
- package/dist/cjs/hooks/useIntegrationAppSWR.cjs +23 -0
- package/dist/cjs/index.cjs +129 -0
- package/dist/cjs/styled-system/css/conditions.cjs +47 -0
- package/dist/cjs/styled-system/css/css.cjs +58 -0
- package/dist/cjs/styled-system/css/cva.cjs +100 -0
- package/dist/cjs/styled-system/css/cx.cjs +24 -0
- package/dist/cjs/styled-system/helpers.cjs +300 -0
- package/dist/cjs/styled-system/jsx/box.cjs +24 -0
- package/dist/cjs/styled-system/jsx/center.cjs +24 -0
- package/dist/cjs/styled-system/jsx/circle.cjs +24 -0
- package/dist/cjs/styled-system/jsx/factory-helper.cjs +36 -0
- package/dist/cjs/styled-system/jsx/factory.cjs +93 -0
- package/dist/cjs/styled-system/jsx/flex.cjs +24 -0
- package/dist/cjs/styled-system/jsx/is-valid-prop.cjs +24 -0
- package/dist/cjs/styled-system/jsx/visually-hidden.cjs +24 -0
- package/dist/cjs/styled-system/patterns/box.cjs +23 -0
- package/dist/cjs/styled-system/patterns/center.cjs +29 -0
- package/dist/cjs/styled-system/patterns/circle.cjs +33 -0
- package/dist/cjs/styled-system/patterns/flex.cjs +34 -0
- package/dist/cjs/styled-system/patterns/visually-hidden.cjs +26 -0
- package/dist/cjs/styled-system/recipes/avatar.cjs +64 -0
- package/dist/cjs/styled-system/recipes/button.cjs +54 -0
- package/dist/cjs/styled-system/recipes/create-recipe.cjs +94 -0
- package/dist/cjs/styled-system/recipes/icon.cjs +46 -0
- package/dist/cjs/styled-system/recipes/skeleton.cjs +35 -0
- package/dist/cjs/styled-system/recipes/spinner.cjs +45 -0
- package/dist/cjs/styled-system/recipes/text.cjs +52 -0
- package/dist/cjs/ui-kit/avatar.cjs +40 -0
- package/dist/cjs/ui-kit/button.cjs +44 -0
- package/dist/cjs/ui-kit/spinner.cjs +36 -0
- package/dist/cjs/ui-kit/styled/avatar.cjs +31 -0
- package/dist/cjs/ui-kit/styled/button.cjs +22 -0
- package/dist/cjs/ui-kit/styled/icon.cjs +24 -0
- package/dist/cjs/ui-kit/styled/skeleton.cjs +34 -0
- package/dist/cjs/ui-kit/styled/spinner.cjs +22 -0
- package/dist/cjs/ui-kit/styled/text.cjs +21 -0
- package/dist/cjs/ui-kit/styled/utils/create-style-context.cjs +76 -0
- package/dist/esm/_modules/awesome-debounce-promise.mjs +16 -0
- package/dist/esm/components/Integrations/IntegrationAvatar/index.mjs +55 -0
- package/dist/esm/components/Integrations/IntegrationItem/index.mjs +54 -0
- package/dist/esm/components/Integrations/IntegrationItemSkeleton.mjs +43 -0
- package/dist/esm/contexts/integration-app-context.mjs +45 -0
- package/dist/esm/hooks/actions/useAction.mjs +35 -0
- package/dist/esm/hooks/actions/useActionInstance.mjs +49 -0
- package/dist/esm/hooks/actions/useActionInstances.mjs +19 -0
- package/dist/esm/hooks/actions/useActions.mjs +19 -0
- package/dist/esm/hooks/app-data-schemas/useAppDataSchema.mjs +21 -0
- package/dist/esm/hooks/app-data-schemas/useAppDataSchemaInstance.mjs +36 -0
- package/dist/esm/hooks/app-data-schemas/useAppDataSchemaInstances.mjs +22 -0
- package/dist/esm/hooks/app-data-schemas/useAppDataSchemas.mjs +19 -0
- package/dist/esm/hooks/app-events/useAppEventSubscription.mjs +21 -0
- package/dist/esm/hooks/app-events/useAppEventSubscriptions.mjs +22 -0
- package/dist/esm/hooks/app-events/useAppEventType.mjs +21 -0
- package/dist/esm/hooks/app-events/useAppEventTypes.mjs +19 -0
- package/dist/esm/hooks/app-events/useAppEvents.mjs +19 -0
- package/dist/esm/hooks/customers/useCustomer.mjs +21 -0
- package/dist/esm/hooks/customers/useCustomers.mjs +19 -0
- package/dist/esm/hooks/data-collections/useDataCollectionSpec.mjs +29 -0
- package/dist/esm/hooks/data-links/useDataLinkTable.mjs +21 -0
- package/dist/esm/hooks/data-links/useDataLinkTableInstance.mjs +34 -0
- package/dist/esm/hooks/data-links/useDataLinkTableInstances.mjs +22 -0
- package/dist/esm/hooks/data-links/useDataLinkTables.mjs +19 -0
- package/dist/esm/hooks/data-sources/useDataSource.mjs +35 -0
- package/dist/esm/hooks/data-sources/useDataSourceInstance.mjs +77 -0
- package/dist/esm/hooks/data-sources/useDataSourceInstanceCollection.mjs +30 -0
- package/dist/esm/hooks/data-sources/useDataSourceInstances.mjs +22 -0
- package/dist/esm/hooks/data-sources/useDataSources.mjs +19 -0
- package/dist/esm/hooks/external-events/useExternalEventSubscription.mjs +56 -0
- package/dist/esm/hooks/external-events/useExternalEventSubscriptions.mjs +22 -0
- package/dist/esm/hooks/field-mappings/useFieldMapping.mjs +35 -0
- package/dist/esm/hooks/field-mappings/useFieldMappingInstance.mjs +45 -0
- package/dist/esm/hooks/field-mappings/useFieldMappingInstances.mjs +22 -0
- package/dist/esm/hooks/field-mappings/useFieldMappings.mjs +19 -0
- package/dist/esm/hooks/flows/useFlow.mjs +35 -0
- package/dist/esm/hooks/flows/useFlowInstance.mjs +63 -0
- package/dist/esm/hooks/flows/useFlowInstances.mjs +19 -0
- package/dist/esm/hooks/flows/useFlowRun.mjs +33 -0
- package/dist/esm/hooks/flows/useFlowRuns.mjs +19 -0
- package/dist/esm/hooks/flows/useFlows.mjs +19 -0
- package/dist/esm/hooks/integrations/useConnection.mjs +24 -0
- package/dist/esm/hooks/integrations/useConnections.mjs +19 -0
- package/dist/esm/hooks/integrations/useConnectorSpec.mjs +21 -0
- package/dist/esm/hooks/integrations/useIntegration.mjs +21 -0
- package/dist/esm/hooks/integrations/useIntegrations.mjs +19 -0
- package/dist/esm/hooks/scenarios/useScenario.mjs +21 -0
- package/dist/esm/hooks/scenarios/useScenarios.mjs +19 -0
- package/dist/esm/hooks/screens/useScreen.mjs +21 -0
- package/dist/esm/hooks/useElement.mjs +122 -0
- package/dist/esm/hooks/useElements.mjs +74 -0
- package/dist/esm/hooks/useIntegrationAppSWR.mjs +21 -0
- package/dist/esm/index.mjs +62 -0
- package/dist/esm/styled-system/css/conditions.mjs +43 -0
- package/dist/esm/styled-system/css/css.mjs +54 -0
- package/dist/esm/styled-system/css/cva.mjs +96 -0
- package/dist/esm/styled-system/css/cx.mjs +22 -0
- package/dist/esm/styled-system/helpers.mjs +280 -0
- package/dist/esm/styled-system/jsx/box.mjs +22 -0
- package/dist/esm/styled-system/jsx/center.mjs +22 -0
- package/dist/esm/styled-system/jsx/circle.mjs +22 -0
- package/dist/esm/styled-system/jsx/factory-helper.mjs +31 -0
- package/dist/esm/styled-system/jsx/factory.mjs +91 -0
- package/dist/esm/styled-system/jsx/flex.mjs +22 -0
- package/dist/esm/styled-system/jsx/is-valid-prop.mjs +21 -0
- package/dist/esm/styled-system/jsx/visually-hidden.mjs +22 -0
- package/dist/esm/styled-system/patterns/box.mjs +21 -0
- package/dist/esm/styled-system/patterns/center.mjs +27 -0
- package/dist/esm/styled-system/patterns/circle.mjs +31 -0
- package/dist/esm/styled-system/patterns/flex.mjs +32 -0
- package/dist/esm/styled-system/patterns/visually-hidden.mjs +24 -0
- package/dist/esm/styled-system/recipes/avatar.mjs +62 -0
- package/dist/esm/styled-system/recipes/button.mjs +52 -0
- package/dist/esm/styled-system/recipes/create-recipe.mjs +91 -0
- package/dist/esm/styled-system/recipes/icon.mjs +44 -0
- package/dist/esm/styled-system/recipes/skeleton.mjs +33 -0
- package/dist/esm/styled-system/recipes/spinner.mjs +43 -0
- package/dist/esm/styled-system/recipes/text.mjs +50 -0
- package/dist/esm/ui-kit/avatar.mjs +38 -0
- package/dist/esm/ui-kit/button.mjs +42 -0
- package/dist/esm/ui-kit/spinner.mjs +34 -0
- package/dist/esm/ui-kit/styled/avatar.mjs +24 -0
- package/dist/esm/ui-kit/styled/button.mjs +20 -0
- package/dist/esm/ui-kit/styled/icon.mjs +22 -0
- package/dist/esm/ui-kit/styled/skeleton.mjs +32 -0
- package/dist/esm/ui-kit/styled/spinner.mjs +20 -0
- package/dist/esm/ui-kit/styled/text.mjs +19 -0
- package/dist/esm/ui-kit/styled/utils/create-style-context.mjs +74 -0
- package/dist/styles.css +13918 -0
- package/dist/types/_modules/awesome-debounce-promise.d.ts +2 -0
- package/dist/types/components/Integrations/IntegrationAvatar/index.d.ts +6 -0
- package/dist/types/components/Integrations/IntegrationItem/index.d.ts +8 -0
- package/dist/types/components/Integrations/IntegrationItemSkeleton.d.ts +4 -0
- package/dist/types/components/Integrations/index.d.ts +3 -0
- package/dist/types/contexts/index.d.ts +2 -0
- package/dist/types/contexts/integration-app-context.d.ts +14 -0
- package/dist/types/hooks/actions/useAction.d.ts +16 -0
- package/dist/types/hooks/actions/useActionInstance.d.ts +18 -0
- package/dist/types/hooks/actions/useActionInstances.d.ts +11 -0
- package/dist/types/hooks/actions/useActions.d.ts +11 -0
- package/dist/types/hooks/app-data-schemas/useAppDataSchema.d.ts +14 -0
- package/dist/types/hooks/app-data-schemas/useAppDataSchemaInstance.d.ts +15 -0
- package/dist/types/hooks/app-data-schemas/useAppDataSchemaInstances.d.ts +11 -0
- package/dist/types/hooks/app-data-schemas/useAppDataSchemas.d.ts +11 -0
- package/dist/types/hooks/app-events/useAppEventSubscription.d.ts +14 -0
- package/dist/types/hooks/app-events/useAppEventSubscriptions.d.ts +11 -0
- package/dist/types/hooks/app-events/useAppEventType.d.ts +15 -0
- package/dist/types/hooks/app-events/useAppEventTypes.d.ts +11 -0
- package/dist/types/hooks/app-events/useAppEvents.d.ts +11 -0
- package/dist/types/hooks/customers/useCustomer.d.ts +14 -0
- package/dist/types/hooks/customers/useCustomers.d.ts +11 -0
- package/dist/types/hooks/data-collections/useDataCollectionSpec.d.ts +6 -0
- package/dist/types/hooks/data-form/index.d.ts +1 -0
- package/dist/types/hooks/data-links/useDataLinkTable.d.ts +14 -0
- package/dist/types/hooks/data-links/useDataLinkTableInstance.d.ts +17 -0
- package/dist/types/hooks/data-links/useDataLinkTableInstances.d.ts +11 -0
- package/dist/types/hooks/data-links/useDataLinkTables.d.ts +11 -0
- package/dist/types/hooks/data-sources/useDataSource.d.ts +16 -0
- package/dist/types/hooks/data-sources/useDataSourceInstance.d.ts +25 -0
- package/dist/types/hooks/data-sources/useDataSourceInstanceCollection.d.ts +7 -0
- package/dist/types/hooks/data-sources/useDataSourceInstances.d.ts +11 -0
- package/dist/types/hooks/data-sources/useDataSources.d.ts +11 -0
- package/dist/types/hooks/external-events/useExternalEventSubscription.d.ts +19 -0
- package/dist/types/hooks/external-events/useExternalEventSubscriptions.d.ts +11 -0
- package/dist/types/hooks/field-mappings/useFieldMapping.d.ts +16 -0
- package/dist/types/hooks/field-mappings/useFieldMappingInstance.d.ts +17 -0
- package/dist/types/hooks/field-mappings/useFieldMappingInstances.d.ts +11 -0
- package/dist/types/hooks/field-mappings/useFieldMappings.d.ts +11 -0
- package/dist/types/hooks/flows/useFlow.d.ts +16 -0
- package/dist/types/hooks/flows/useFlowInstance.d.ts +21 -0
- package/dist/types/hooks/flows/useFlowInstances.d.ts +11 -0
- package/dist/types/hooks/flows/useFlowRun.d.ts +8 -0
- package/dist/types/hooks/flows/useFlowRuns.d.ts +11 -0
- package/dist/types/hooks/flows/useFlows.d.ts +11 -0
- package/dist/types/hooks/integrations/useConnection.d.ts +14 -0
- package/dist/types/hooks/integrations/useConnections.d.ts +11 -0
- package/dist/types/hooks/integrations/useConnectorSpec.d.ts +6 -0
- package/dist/types/hooks/integrations/useIntegration.d.ts +14 -0
- package/dist/types/hooks/integrations/useIntegrations.d.ts +11 -0
- package/dist/types/hooks/scenarios/useScenario.d.ts +14 -0
- package/dist/types/hooks/scenarios/useScenarios.d.ts +11 -0
- package/dist/types/hooks/screens/useScreen.d.ts +14 -0
- package/dist/types/hooks/useElement.d.ts +22 -0
- package/dist/types/hooks/useElements.d.ts +9 -0
- package/dist/types/hooks/useIntegrationAppSWR.d.ts +1 -0
- package/dist/types/index.d.ts +52 -0
- package/dist/types/storybook-helpers/withColorPalette.d.ts +6 -0
- package/dist/types/styled-system/css/css.d.ts +22 -0
- package/dist/types/styled-system/css/cva.d.ts +6 -0
- package/dist/types/styled-system/css/cx.d.ts +5 -0
- package/dist/types/styled-system/css/index.d.ts +5 -0
- package/dist/types/styled-system/css/sva.d.ts +4 -0
- package/dist/types/styled-system/jsx/aspect-ratio.d.ts +10 -0
- package/dist/types/styled-system/jsx/bleed.d.ts +10 -0
- package/dist/types/styled-system/jsx/box.d.ts +10 -0
- package/dist/types/styled-system/jsx/center.d.ts +10 -0
- package/dist/types/styled-system/jsx/circle.d.ts +10 -0
- package/dist/types/styled-system/jsx/container.d.ts +10 -0
- package/dist/types/styled-system/jsx/cq.d.ts +10 -0
- package/dist/types/styled-system/jsx/divider.d.ts +10 -0
- package/dist/types/styled-system/jsx/factory.d.ts +3 -0
- package/dist/types/styled-system/jsx/flex.d.ts +10 -0
- package/dist/types/styled-system/jsx/float.d.ts +10 -0
- package/dist/types/styled-system/jsx/grid-item.d.ts +10 -0
- package/dist/types/styled-system/jsx/grid.d.ts +10 -0
- package/dist/types/styled-system/jsx/hstack.d.ts +10 -0
- package/dist/types/styled-system/jsx/index.d.ts +24 -0
- package/dist/types/styled-system/jsx/is-valid-prop.d.ts +11 -0
- package/dist/types/styled-system/jsx/link-overlay.d.ts +10 -0
- package/dist/types/styled-system/jsx/spacer.d.ts +10 -0
- package/dist/types/styled-system/jsx/square.d.ts +10 -0
- package/dist/types/styled-system/jsx/stack.d.ts +10 -0
- package/dist/types/styled-system/jsx/visually-hidden.d.ts +10 -0
- package/dist/types/styled-system/jsx/vstack.d.ts +10 -0
- package/dist/types/styled-system/jsx/wrap.d.ts +10 -0
- package/dist/types/styled-system/patterns/aspect-ratio.d.ts +21 -0
- package/dist/types/styled-system/patterns/bleed.d.ts +22 -0
- package/dist/types/styled-system/patterns/box.d.ts +21 -0
- package/dist/types/styled-system/patterns/center.d.ts +21 -0
- package/dist/types/styled-system/patterns/circle.d.ts +21 -0
- package/dist/types/styled-system/patterns/container.d.ts +21 -0
- package/dist/types/styled-system/patterns/cq.d.ts +22 -0
- package/dist/types/styled-system/patterns/divider.d.ts +23 -0
- package/dist/types/styled-system/patterns/flex.d.ts +27 -0
- package/dist/types/styled-system/patterns/float.d.ts +24 -0
- package/dist/types/styled-system/patterns/grid-item.d.ts +26 -0
- package/dist/types/styled-system/patterns/grid.d.ts +25 -0
- package/dist/types/styled-system/patterns/hstack.d.ts +22 -0
- package/dist/types/styled-system/patterns/index.d.ts +21 -0
- package/dist/types/styled-system/patterns/link-overlay.d.ts +21 -0
- package/dist/types/styled-system/patterns/spacer.d.ts +21 -0
- package/dist/types/styled-system/patterns/square.d.ts +21 -0
- package/dist/types/styled-system/patterns/stack.d.ts +24 -0
- package/dist/types/styled-system/patterns/visually-hidden.d.ts +21 -0
- package/dist/types/styled-system/patterns/vstack.d.ts +22 -0
- package/dist/types/styled-system/patterns/wrap.d.ts +25 -0
- package/dist/types/styled-system/recipes/accordion.d.ts +31 -0
- package/dist/types/styled-system/recipes/alert.d.ts +28 -0
- package/dist/types/styled-system/recipes/avatar.d.ts +31 -0
- package/dist/types/styled-system/recipes/badge.d.ts +35 -0
- package/dist/types/styled-system/recipes/button.d.ts +35 -0
- package/dist/types/styled-system/recipes/card.d.ts +28 -0
- package/dist/types/styled-system/recipes/carousel.d.ts +31 -0
- package/dist/types/styled-system/recipes/checkbox.d.ts +31 -0
- package/dist/types/styled-system/recipes/clipboard.d.ts +28 -0
- package/dist/types/styled-system/recipes/code.d.ts +35 -0
- package/dist/types/styled-system/recipes/collapsible.d.ts +28 -0
- package/dist/types/styled-system/recipes/color-picker.d.ts +28 -0
- package/dist/types/styled-system/recipes/combobox.d.ts +31 -0
- package/dist/types/styled-system/recipes/date-picker.d.ts +28 -0
- package/dist/types/styled-system/recipes/dialog.d.ts +28 -0
- package/dist/types/styled-system/recipes/drawer.d.ts +31 -0
- package/dist/types/styled-system/recipes/editable.d.ts +28 -0
- package/dist/types/styled-system/recipes/field.d.ts +28 -0
- package/dist/types/styled-system/recipes/fieldset.d.ts +28 -0
- package/dist/types/styled-system/recipes/file-upload.d.ts +28 -0
- package/dist/types/styled-system/recipes/form-label.d.ts +31 -0
- package/dist/types/styled-system/recipes/hover-card.d.ts +28 -0
- package/dist/types/styled-system/recipes/icon.d.ts +31 -0
- package/dist/types/styled-system/recipes/index.d.ts +54 -0
- package/dist/types/styled-system/recipes/input.d.ts +31 -0
- package/dist/types/styled-system/recipes/kbd.d.ts +31 -0
- package/dist/types/styled-system/recipes/link.d.ts +28 -0
- package/dist/types/styled-system/recipes/menu.d.ts +31 -0
- package/dist/types/styled-system/recipes/number-input.d.ts +31 -0
- package/dist/types/styled-system/recipes/pagination.d.ts +28 -0
- package/dist/types/styled-system/recipes/pin-input.d.ts +31 -0
- package/dist/types/styled-system/recipes/popover.d.ts +28 -0
- package/dist/types/styled-system/recipes/progress.d.ts +31 -0
- package/dist/types/styled-system/recipes/qr-code.d.ts +28 -0
- package/dist/types/styled-system/recipes/radio-button-group.d.ts +35 -0
- package/dist/types/styled-system/recipes/radio-group.d.ts +31 -0
- package/dist/types/styled-system/recipes/rating-group.d.ts +31 -0
- package/dist/types/styled-system/recipes/segment-group.d.ts +31 -0
- package/dist/types/styled-system/recipes/select.d.ts +35 -0
- package/dist/types/styled-system/recipes/signature-pad.d.ts +28 -0
- package/dist/types/styled-system/recipes/skeleton.d.ts +28 -0
- package/dist/types/styled-system/recipes/slider.d.ts +31 -0
- package/dist/types/styled-system/recipes/spinner.d.ts +31 -0
- package/dist/types/styled-system/recipes/splitter.d.ts +28 -0
- package/dist/types/styled-system/recipes/switch-recipe.d.ts +31 -0
- package/dist/types/styled-system/recipes/table.d.ts +35 -0
- package/dist/types/styled-system/recipes/tabs.d.ts +35 -0
- package/dist/types/styled-system/recipes/tags-input.d.ts +31 -0
- package/dist/types/styled-system/recipes/text.d.ts +29 -0
- package/dist/types/styled-system/recipes/textarea.d.ts +31 -0
- package/dist/types/styled-system/recipes/toast.d.ts +28 -0
- package/dist/types/styled-system/recipes/toggle-group.d.ts +35 -0
- package/dist/types/styled-system/recipes/tooltip.d.ts +28 -0
- package/dist/types/styled-system/recipes/tree-view.d.ts +28 -0
- package/dist/types/styled-system/tokens/index.d.ts +9 -0
- package/dist/types/styled-system/tokens/tokens.d.ts +60 -0
- package/dist/types/styled-system/types/composition.d.ts +138 -0
- package/dist/types/styled-system/types/conditions.d.ts +264 -0
- package/dist/types/styled-system/types/csstype.d.ts +21298 -0
- package/dist/types/styled-system/types/global.d.ts +19 -0
- package/dist/types/styled-system/types/index.d.ts +8 -0
- package/dist/types/styled-system/types/jsx.d.ts +52 -0
- package/dist/types/styled-system/types/parts.d.ts +8 -0
- package/dist/types/styled-system/types/pattern.d.ts +78 -0
- package/dist/types/styled-system/types/prop-type.d.ts +245 -0
- package/dist/types/styled-system/types/recipe.d.ts +181 -0
- package/dist/types/styled-system/types/selectors.d.ts +59 -0
- package/dist/types/styled-system/types/static-css.d.ts +51 -0
- package/dist/types/styled-system/types/style-props.d.ts +7468 -0
- package/dist/types/styled-system/types/system-types.d.ts +109 -0
- package/dist/types/ui-kit/avatar.d.ts +6 -0
- package/dist/types/ui-kit/button.d.ts +9 -0
- package/dist/types/ui-kit/icon.d.ts +1 -0
- package/dist/types/ui-kit/skeleton.d.ts +1 -0
- package/dist/types/ui-kit/spinner.d.ts +5 -0
- package/dist/types/ui-kit/styled/avatar.d.ts +12 -0
- package/dist/types/ui-kit/styled/button.d.ts +5 -0
- package/dist/types/ui-kit/styled/icon.d.ts +5 -0
- package/dist/types/ui-kit/styled/skeleton.d.ts +7 -0
- package/dist/types/ui-kit/styled/spinner.d.ts +5 -0
- package/dist/types/ui-kit/styled/text.d.ts +8 -0
- package/dist/types/ui-kit/styled/utils/create-style-context.d.ts +20 -0
- package/dist/types/ui-kit/text.d.ts +1 -0
- package/dist/types/utils/types.d.ts +8 -0
- package/package.json +63 -25
- package/dist/index.d.ts +0 -625
- package/dist/index.js +0 -801
- package/dist/index.js.map +0 -1
- package/dist/index.module.d.mts +0 -625
- package/dist/index.module.mjs +0 -743
- package/dist/index.module.mjs.map +0 -1
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Connection, FindConnectionsQuery } from '@integration-app/sdk';
|
2
|
+
export declare function useConnections(query?: FindConnectionsQuery): {
|
3
|
+
items: Connection[];
|
4
|
+
refresh: () => Promise<void>;
|
5
|
+
refreshing: boolean;
|
6
|
+
loadMore: () => Promise<void>;
|
7
|
+
loadingMore: boolean;
|
8
|
+
loading: boolean;
|
9
|
+
error: any;
|
10
|
+
connections: Connection[];
|
11
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { CreateIntegrationRequest, Integration, IntegrationAccessor, UpdateIntegrationRequest } from '@integration-app/sdk';
|
2
|
+
export declare function useIntegration(idOrKey: string | undefined): {
|
3
|
+
accessor: IntegrationAccessor | undefined;
|
4
|
+
loading: boolean;
|
5
|
+
saving: boolean;
|
6
|
+
error: any;
|
7
|
+
refresh: () => Promise<Integration>;
|
8
|
+
refreshing: boolean;
|
9
|
+
create: (data: CreateIntegrationRequest) => Promise<Integration | undefined>;
|
10
|
+
patch: (data: Partial<UpdateIntegrationRequest>) => Promise<void>;
|
11
|
+
put: (data: UpdateIntegrationRequest) => Promise<void>;
|
12
|
+
archive: () => Promise<void>;
|
13
|
+
integration: Integration | undefined;
|
14
|
+
};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { FindIntegrationsQuery, Integration } from '@integration-app/sdk';
|
2
|
+
export declare function useIntegrations(query?: FindIntegrationsQuery): {
|
3
|
+
items: Integration[];
|
4
|
+
refresh: () => Promise<void>;
|
5
|
+
refreshing: boolean;
|
6
|
+
loadMore: () => Promise<void>;
|
7
|
+
loadingMore: boolean;
|
8
|
+
loading: boolean;
|
9
|
+
error: any;
|
10
|
+
integrations: Integration[];
|
11
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { CreateScenarioRequest, Scenario, ScenarioAccessor, UpdateScenarioRequest } from '@integration-app/sdk';
|
2
|
+
export declare function useScenario(selector: string | undefined): {
|
3
|
+
accessor: ScenarioAccessor | undefined;
|
4
|
+
loading: boolean;
|
5
|
+
saving: boolean;
|
6
|
+
error: any;
|
7
|
+
refresh: () => Promise<Scenario>;
|
8
|
+
refreshing: boolean;
|
9
|
+
create: (data: CreateScenarioRequest) => Promise<Scenario | undefined>;
|
10
|
+
patch: (data: Partial<UpdateScenarioRequest>) => Promise<void>;
|
11
|
+
put: (data: UpdateScenarioRequest) => Promise<void>;
|
12
|
+
archive: () => Promise<void>;
|
13
|
+
scenario: Scenario | undefined;
|
14
|
+
};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Scenario, FindScenariosQuery } from '@integration-app/sdk';
|
2
|
+
export declare function useScenarios(query?: FindScenariosQuery): {
|
3
|
+
items: Scenario[];
|
4
|
+
refresh: () => Promise<void>;
|
5
|
+
refreshing: boolean;
|
6
|
+
loadMore: () => Promise<void>;
|
7
|
+
loadingMore: boolean;
|
8
|
+
loading: boolean;
|
9
|
+
error: any;
|
10
|
+
scenarios: Scenario[];
|
11
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { CreateScreenRequest, Screen, ScreenAccessor, ScreenSelector, UpdateScreenRequest } from '@integration-app/sdk';
|
2
|
+
export declare function useScreen(selector: ScreenSelector | string): {
|
3
|
+
accessor: ScreenAccessor | undefined;
|
4
|
+
loading: boolean;
|
5
|
+
saving: boolean;
|
6
|
+
error: any;
|
7
|
+
refresh: () => Promise<Screen>;
|
8
|
+
refreshing: boolean;
|
9
|
+
create: (data: CreateScreenRequest) => Promise<Screen | undefined>;
|
10
|
+
patch: (data: Partial<UpdateScreenRequest>) => Promise<void>;
|
11
|
+
put: (data: UpdateScreenRequest) => Promise<void>;
|
12
|
+
archive: () => Promise<void>;
|
13
|
+
screen: Screen | undefined;
|
14
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { IntegrationAppClient, WorkspaceElementType } from '@integration-app/sdk';
|
2
|
+
export interface BaseElementAccessor<Element, UpdateRequest, CreateRequest> {
|
3
|
+
getUniqueIdentifier?(): string;
|
4
|
+
get(): Promise<Element>;
|
5
|
+
patch?(data: Partial<UpdateRequest>): Promise<Element>;
|
6
|
+
put?(data: UpdateRequest): Promise<Element>;
|
7
|
+
archive?(): Promise<void>;
|
8
|
+
create?(data: CreateRequest): Promise<Element>;
|
9
|
+
}
|
10
|
+
export declare function useElement<Element, UpdateRequest, CreateRequest, ElementAccessor extends BaseElementAccessor<Element, UpdateRequest, CreateRequest>>(type: WorkspaceElementType, selector: any, accessorGenerator: (integrationAppClient: IntegrationAppClient) => ElementAccessor | undefined): {
|
11
|
+
accessor: ElementAccessor | undefined;
|
12
|
+
item: Element | undefined;
|
13
|
+
loading: boolean;
|
14
|
+
saving: boolean;
|
15
|
+
error: any;
|
16
|
+
refresh: () => Promise<Element>;
|
17
|
+
refreshing: boolean;
|
18
|
+
create: (data: CreateRequest) => Promise<Element | undefined>;
|
19
|
+
patch: (data: Partial<UpdateRequest>) => Promise<void>;
|
20
|
+
put: (data: UpdateRequest) => Promise<void>;
|
21
|
+
archive: () => Promise<void>;
|
22
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function useIntegrationAppSWR(path: string, options?: any): import("swr/_internal").SWRResponse<any, any, any>;
|
@@ -0,0 +1,52 @@
|
|
1
|
+
export * from '@integration-app/sdk';
|
2
|
+
export * from './contexts/index.js';
|
3
|
+
export { useIntegrationAppSWR } from './hooks/useIntegrationAppSWR.js';
|
4
|
+
export { useConnection } from './hooks/integrations/useConnection.js';
|
5
|
+
export { useConnections } from './hooks/integrations/useConnections.js';
|
6
|
+
export { useConnectorSpec } from './hooks/integrations/useConnectorSpec.js';
|
7
|
+
export { useIntegration } from './hooks/integrations/useIntegration.js';
|
8
|
+
export { useIntegrations } from './hooks/integrations/useIntegrations.js';
|
9
|
+
export { useFieldMapping } from './hooks/field-mappings/useFieldMapping.js';
|
10
|
+
export { useFieldMappingInstance } from './hooks/field-mappings/useFieldMappingInstance.js';
|
11
|
+
export { useFieldMappingInstances } from './hooks/field-mappings/useFieldMappingInstances.js';
|
12
|
+
export { useFieldMappings } from './hooks/field-mappings/useFieldMappings.js';
|
13
|
+
export { useDataSource } from './hooks/data-sources/useDataSource.js';
|
14
|
+
export { useDataSourceInstance } from './hooks/data-sources/useDataSourceInstance.js';
|
15
|
+
export { useDataSourceInstanceCollection } from './hooks/data-sources/useDataSourceInstanceCollection.js';
|
16
|
+
export { useDataSourceInstances } from './hooks/data-sources/useDataSourceInstances.js';
|
17
|
+
export { useDataSources } from './hooks/data-sources/useDataSources.js';
|
18
|
+
export { useAppEventSubscription } from './hooks/app-events/useAppEventSubscription.js';
|
19
|
+
export { useAppEventSubscriptions } from './hooks/app-events/useAppEventSubscriptions.js';
|
20
|
+
export { useAppEventType } from './hooks/app-events/useAppEventType.js';
|
21
|
+
export { useAppEventTypes } from './hooks/app-events/useAppEventTypes.js';
|
22
|
+
export { useAppEvents } from './hooks/app-events/useAppEvents.js';
|
23
|
+
export { useAppDataSchema } from './hooks/app-data-schemas/useAppDataSchema.js';
|
24
|
+
export { useAppDataSchemas } from './hooks/app-data-schemas/useAppDataSchemas.js';
|
25
|
+
export { useAppDataSchemaInstance } from './hooks/app-data-schemas/useAppDataSchemaInstance.js';
|
26
|
+
export { useAppDataSchemaInstances } from './hooks/app-data-schemas/useAppDataSchemaInstances.js';
|
27
|
+
export { useFlow } from './hooks/flows/useFlow.js';
|
28
|
+
export { useFlows } from './hooks/flows/useFlows.js';
|
29
|
+
export { useFlowInstance } from './hooks/flows/useFlowInstance.js';
|
30
|
+
export { useFlowInstances } from './hooks/flows/useFlowInstances.js';
|
31
|
+
export { useFlowRun } from './hooks/flows/useFlowRun.js';
|
32
|
+
export { useFlowRuns } from './hooks/flows/useFlowRuns.js';
|
33
|
+
export { useDataLinkTable } from './hooks/data-links/useDataLinkTable.js';
|
34
|
+
export { useDataLinkTableInstance } from './hooks/data-links/useDataLinkTableInstance.js';
|
35
|
+
export { useDataLinkTableInstances } from './hooks/data-links/useDataLinkTableInstances.js';
|
36
|
+
export { useDataLinkTables } from './hooks/data-links/useDataLinkTables.js';
|
37
|
+
export { useAction } from './hooks/actions/useAction.js';
|
38
|
+
export { useActionInstance } from './hooks/actions/useActionInstance.js';
|
39
|
+
export { useActionInstances } from './hooks/actions/useActionInstances.js';
|
40
|
+
export { useActions } from './hooks/actions/useActions.js';
|
41
|
+
export { useScreen } from './hooks/screens/useScreen.js';
|
42
|
+
export { useCustomer } from './hooks/customers/useCustomer.js';
|
43
|
+
export { useCustomers } from './hooks/customers/useCustomers.js';
|
44
|
+
export { useScenario } from './hooks/scenarios/useScenario.js';
|
45
|
+
export { useScenarios } from './hooks/scenarios/useScenarios.js';
|
46
|
+
export { useDataCollectionSpec } from './hooks/data-collections/useDataCollectionSpec.js';
|
47
|
+
export { useExternalEventSubscriptions } from './hooks/external-events/useExternalEventSubscriptions.js';
|
48
|
+
export { useExternalEventSubscription } from './hooks/external-events/useExternalEventSubscription.js';
|
49
|
+
export { DataForm } from '@integration-app/sdk';
|
50
|
+
export * from './ui-kit/button';
|
51
|
+
export * from './ui-kit/spinner';
|
52
|
+
export * from './components/Integrations/index';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export declare const withColorPalette: () => {
|
2
|
+
readonly colorPalette: {
|
3
|
+
readonly control: "select";
|
4
|
+
readonly options: readonly ("ruby" | "blue" | "brown" | "crimson" | "cyan" | "gold" | "green" | "indigo" | "lime" | "olive" | "orange" | "pink" | "plum" | "purple" | "red" | "teal" | "tomato" | "violet" | "yellow" | "amber" | "bronze" | "grass" | "iris" | "jade" | "mauve" | "mint" | "sage" | "sand" | "sky" | "slate" | "neutral")[];
|
5
|
+
};
|
6
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { SystemStyleObject } from '../types/index';
|
3
|
+
|
4
|
+
type Styles = SystemStyleObject | undefined | null | false
|
5
|
+
|
6
|
+
interface CssRawFunction {
|
7
|
+
(styles: Styles): SystemStyleObject
|
8
|
+
(styles: Styles[]): SystemStyleObject
|
9
|
+
(...styles: Array<Styles | Styles[]>): SystemStyleObject
|
10
|
+
(styles: Styles): SystemStyleObject
|
11
|
+
}
|
12
|
+
|
13
|
+
interface CssFunction {
|
14
|
+
(styles: Styles): string
|
15
|
+
(styles: Styles[]): string
|
16
|
+
(...styles: Array<Styles | Styles[]>): string
|
17
|
+
(styles: Styles): string
|
18
|
+
|
19
|
+
raw: CssRawFunction
|
20
|
+
}
|
21
|
+
|
22
|
+
export declare const css: CssFunction;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { AspectRatioProperties } from '../patterns/aspect-ratio';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface AspectRatioProps extends AspectRatioProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof AspectRatioProperties | 'aspectRatio'> {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const AspectRatio: FunctionComponent<AspectRatioProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { BleedProperties } from '../patterns/bleed';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface BleedProps extends BleedProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof BleedProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Bleed: FunctionComponent<BleedProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { BoxProperties } from '../patterns/box';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface BoxProps extends BoxProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof BoxProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Box: FunctionComponent<BoxProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { CenterProperties } from '../patterns/center';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface CenterProps extends CenterProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof CenterProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Center: FunctionComponent<CenterProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { CircleProperties } from '../patterns/circle';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface CircleProps extends CircleProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof CircleProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Circle: FunctionComponent<CircleProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { ContainerProperties } from '../patterns/container';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface ContainerProps extends ContainerProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof ContainerProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Container: FunctionComponent<ContainerProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { CqProperties } from '../patterns/cq';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface CqProps extends CqProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof CqProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Cq: FunctionComponent<CqProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { DividerProperties } from '../patterns/divider';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface DividerProps extends DividerProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof DividerProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Divider: FunctionComponent<DividerProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { FlexProperties } from '../patterns/flex';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface FlexProps extends FlexProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof FlexProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Flex: FunctionComponent<FlexProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { FloatProperties } from '../patterns/float';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface FloatProps extends FloatProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof FloatProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Float: FunctionComponent<FloatProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { GridItemProperties } from '../patterns/grid-item';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface GridItemProps extends GridItemProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof GridItemProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const GridItem: FunctionComponent<GridItemProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { GridProperties } from '../patterns/grid';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface GridProps extends GridProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof GridProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Grid: FunctionComponent<GridProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { HstackProperties } from '../patterns/hstack';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface HstackProps extends HstackProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof HstackProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const HStack: FunctionComponent<HstackProps>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
export * from './factory';
|
3
|
+
export * from './is-valid-prop';
|
4
|
+
export * from './box';
|
5
|
+
export * from './flex';
|
6
|
+
export * from './stack';
|
7
|
+
export * from './vstack';
|
8
|
+
export * from './hstack';
|
9
|
+
export * from './spacer';
|
10
|
+
export * from './square';
|
11
|
+
export * from './circle';
|
12
|
+
export * from './center';
|
13
|
+
export * from './link-overlay';
|
14
|
+
export * from './aspect-ratio';
|
15
|
+
export * from './grid';
|
16
|
+
export * from './grid-item';
|
17
|
+
export * from './wrap';
|
18
|
+
export * from './container';
|
19
|
+
export * from './divider';
|
20
|
+
export * from './float';
|
21
|
+
export * from './bleed';
|
22
|
+
export * from './visually-hidden';
|
23
|
+
export * from './cq';
|
24
|
+
export type { HTMLStyledProps, StyledComponent } from '../types/jsx';
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { DistributiveOmit, HTMLPandaProps, JsxStyleProps, Pretty } from '../types';
|
3
|
+
|
4
|
+
declare const isCssProperty: (value: string) => boolean;
|
5
|
+
|
6
|
+
type CssPropKey = keyof JsxStyleProps
|
7
|
+
type OmittedCssProps<T> = Pretty<DistributiveOmit<T, CssPropKey>>
|
8
|
+
|
9
|
+
declare const splitCssProps: <T>(props: T) => [JsxStyleProps, OmittedCssProps<T>]
|
10
|
+
|
11
|
+
export { isCssProperty, splitCssProps };
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { LinkOverlayProperties } from '../patterns/link-overlay';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface LinkOverlayProps extends LinkOverlayProperties, DistributiveOmit<HTMLStyledProps<'a'>, keyof LinkOverlayProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const LinkOverlay: FunctionComponent<LinkOverlayProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { SpacerProperties } from '../patterns/spacer';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface SpacerProps extends SpacerProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof SpacerProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Spacer: FunctionComponent<SpacerProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { SquareProperties } from '../patterns/square';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface SquareProps extends SquareProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof SquareProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Square: FunctionComponent<SquareProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { StackProperties } from '../patterns/stack';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface StackProps extends StackProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof StackProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Stack: FunctionComponent<StackProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { VisuallyHiddenProperties } from '../patterns/visually-hidden';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface VisuallyHiddenProps extends VisuallyHiddenProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof VisuallyHiddenProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const VisuallyHidden: FunctionComponent<VisuallyHiddenProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { VstackProperties } from '../patterns/vstack';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface VstackProps extends VstackProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof VstackProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const VStack: FunctionComponent<VstackProps>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { FunctionComponent } from 'react'
|
3
|
+
import type { WrapProperties } from '../patterns/wrap';
|
4
|
+
import type { HTMLStyledProps } from '../types/jsx';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
|
7
|
+
export interface WrapProps extends WrapProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof WrapProperties > {}
|
8
|
+
|
9
|
+
|
10
|
+
export declare const Wrap: FunctionComponent<WrapProps>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { SystemStyleObject, ConditionalValue } from '../types/index';
|
3
|
+
import type { Properties } from '../types/csstype';
|
4
|
+
import type { SystemProperties } from '../types/style-props';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
import type { Tokens } from '../tokens/index';
|
7
|
+
|
8
|
+
export interface AspectRatioProperties {
|
9
|
+
ratio?: ConditionalValue<number>
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
interface AspectRatioStyles extends AspectRatioProperties, DistributiveOmit<SystemStyleObject, keyof AspectRatioProperties | 'aspectRatio'> {}
|
14
|
+
|
15
|
+
interface AspectRatioPatternFn {
|
16
|
+
(styles?: AspectRatioStyles): string
|
17
|
+
raw: (styles?: AspectRatioStyles) => SystemStyleObject
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
export declare const aspectRatio: AspectRatioPatternFn;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { SystemStyleObject, ConditionalValue } from '../types/index';
|
3
|
+
import type { Properties } from '../types/csstype';
|
4
|
+
import type { SystemProperties } from '../types/style-props';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
import type { Tokens } from '../tokens/index';
|
7
|
+
|
8
|
+
export interface BleedProperties {
|
9
|
+
inline?: SystemProperties["marginInline"]
|
10
|
+
block?: SystemProperties["marginBlock"]
|
11
|
+
}
|
12
|
+
|
13
|
+
|
14
|
+
interface BleedStyles extends BleedProperties, DistributiveOmit<SystemStyleObject, keyof BleedProperties > {}
|
15
|
+
|
16
|
+
interface BleedPatternFn {
|
17
|
+
(styles?: BleedStyles): string
|
18
|
+
raw: (styles?: BleedStyles) => SystemStyleObject
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
export declare const bleed: BleedPatternFn;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { SystemStyleObject, ConditionalValue } from '../types/index';
|
3
|
+
import type { Properties } from '../types/csstype';
|
4
|
+
import type { SystemProperties } from '../types/style-props';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
import type { Tokens } from '../tokens/index';
|
7
|
+
|
8
|
+
export interface BoxProperties {
|
9
|
+
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
interface BoxStyles extends BoxProperties, DistributiveOmit<SystemStyleObject, keyof BoxProperties > {}
|
14
|
+
|
15
|
+
interface BoxPatternFn {
|
16
|
+
(styles?: BoxStyles): string
|
17
|
+
raw: (styles?: BoxStyles) => SystemStyleObject
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
export declare const box: BoxPatternFn;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { SystemStyleObject, ConditionalValue } from '../types/index';
|
3
|
+
import type { Properties } from '../types/csstype';
|
4
|
+
import type { SystemProperties } from '../types/style-props';
|
5
|
+
import type { DistributiveOmit } from '../types/system-types';
|
6
|
+
import type { Tokens } from '../tokens/index';
|
7
|
+
|
8
|
+
export interface CenterProperties {
|
9
|
+
inline?: ConditionalValue<boolean>
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
interface CenterStyles extends CenterProperties, DistributiveOmit<SystemStyleObject, keyof CenterProperties > {}
|
14
|
+
|
15
|
+
interface CenterPatternFn {
|
16
|
+
(styles?: CenterStyles): string
|
17
|
+
raw: (styles?: CenterStyles) => SystemStyleObject
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
export declare const center: CenterPatternFn;
|