@integration-app/react 2.0.3-beta.0 → 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/{index.d.ts → types/styled-system/types/csstype.d.ts} +9623 -8900
- 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 +41 -26
- package/dist/index.js +0 -1543
- package/dist/index.js.map +0 -1
- package/dist/index.module.d.mts +0 -20575
- package/dist/index.module.mjs +0 -1484
- package/dist/index.module.mjs.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
@@ -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 CircleProperties {
|
9
|
+
size?: SystemProperties["width"]
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
interface CircleStyles extends CircleProperties, DistributiveOmit<SystemStyleObject, keyof CircleProperties > {}
|
14
|
+
|
15
|
+
interface CirclePatternFn {
|
16
|
+
(styles?: CircleStyles): string
|
17
|
+
raw: (styles?: CircleStyles) => SystemStyleObject
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
export declare const circle: CirclePatternFn;
|
@@ -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 ContainerProperties {
|
9
|
+
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
interface ContainerStyles extends ContainerProperties, DistributiveOmit<SystemStyleObject, keyof ContainerProperties > {}
|
14
|
+
|
15
|
+
interface ContainerPatternFn {
|
16
|
+
(styles?: ContainerStyles): string
|
17
|
+
raw: (styles?: ContainerStyles) => SystemStyleObject
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
export declare const container: ContainerPatternFn;
|
@@ -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 CqProperties {
|
9
|
+
name?: ConditionalValue<Tokens["containerNames"] | Properties["containerName"]>
|
10
|
+
type?: SystemProperties["containerType"]
|
11
|
+
}
|
12
|
+
|
13
|
+
|
14
|
+
interface CqStyles extends CqProperties, DistributiveOmit<SystemStyleObject, keyof CqProperties > {}
|
15
|
+
|
16
|
+
interface CqPatternFn {
|
17
|
+
(styles?: CqStyles): string
|
18
|
+
raw: (styles?: CqStyles) => SystemStyleObject
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
export declare const cq: CqPatternFn;
|
@@ -0,0 +1,23 @@
|
|
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 DividerProperties {
|
9
|
+
orientation?: ConditionalValue<"horizontal" | "vertical">
|
10
|
+
thickness?: ConditionalValue<Tokens["sizes"] | Properties["borderWidth"]>
|
11
|
+
color?: ConditionalValue<Tokens["colors"] | Properties["borderColor"]>
|
12
|
+
}
|
13
|
+
|
14
|
+
|
15
|
+
interface DividerStyles extends DividerProperties, DistributiveOmit<SystemStyleObject, keyof DividerProperties > {}
|
16
|
+
|
17
|
+
interface DividerPatternFn {
|
18
|
+
(styles?: DividerStyles): string
|
19
|
+
raw: (styles?: DividerStyles) => SystemStyleObject
|
20
|
+
}
|
21
|
+
|
22
|
+
|
23
|
+
export declare const divider: DividerPatternFn;
|
@@ -0,0 +1,27 @@
|
|
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 FlexProperties {
|
9
|
+
align?: SystemProperties["alignItems"]
|
10
|
+
justify?: SystemProperties["justifyContent"]
|
11
|
+
direction?: SystemProperties["flexDirection"]
|
12
|
+
wrap?: SystemProperties["flexWrap"]
|
13
|
+
basis?: SystemProperties["flexBasis"]
|
14
|
+
grow?: SystemProperties["flexGrow"]
|
15
|
+
shrink?: SystemProperties["flexShrink"]
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
interface FlexStyles extends FlexProperties, DistributiveOmit<SystemStyleObject, keyof FlexProperties > {}
|
20
|
+
|
21
|
+
interface FlexPatternFn {
|
22
|
+
(styles?: FlexStyles): string
|
23
|
+
raw: (styles?: FlexStyles) => SystemStyleObject
|
24
|
+
}
|
25
|
+
|
26
|
+
|
27
|
+
export declare const flex: FlexPatternFn;
|
@@ -0,0 +1,24 @@
|
|
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 FloatProperties {
|
9
|
+
offsetX?: ConditionalValue<Tokens["spacing"] | Properties["left"]>
|
10
|
+
offsetY?: ConditionalValue<Tokens["spacing"] | Properties["top"]>
|
11
|
+
offset?: ConditionalValue<Tokens["spacing"] | Properties["top"]>
|
12
|
+
placement?: ConditionalValue<"bottom-end" | "bottom-start" | "top-end" | "top-start" | "bottom-center" | "top-center" | "middle-center" | "middle-end" | "middle-start">
|
13
|
+
}
|
14
|
+
|
15
|
+
|
16
|
+
interface FloatStyles extends FloatProperties, DistributiveOmit<SystemStyleObject, keyof FloatProperties > {}
|
17
|
+
|
18
|
+
interface FloatPatternFn {
|
19
|
+
(styles?: FloatStyles): string
|
20
|
+
raw: (styles?: FloatStyles) => SystemStyleObject
|
21
|
+
}
|
22
|
+
|
23
|
+
|
24
|
+
export declare const float: FloatPatternFn;
|
@@ -0,0 +1,26 @@
|
|
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 GridItemProperties {
|
9
|
+
colSpan?: ConditionalValue<number>
|
10
|
+
rowSpan?: ConditionalValue<number>
|
11
|
+
colStart?: ConditionalValue<number>
|
12
|
+
rowStart?: ConditionalValue<number>
|
13
|
+
colEnd?: ConditionalValue<number>
|
14
|
+
rowEnd?: ConditionalValue<number>
|
15
|
+
}
|
16
|
+
|
17
|
+
|
18
|
+
interface GridItemStyles extends GridItemProperties, DistributiveOmit<SystemStyleObject, keyof GridItemProperties > {}
|
19
|
+
|
20
|
+
interface GridItemPatternFn {
|
21
|
+
(styles?: GridItemStyles): string
|
22
|
+
raw: (styles?: GridItemStyles) => SystemStyleObject
|
23
|
+
}
|
24
|
+
|
25
|
+
|
26
|
+
export declare const gridItem: GridItemPatternFn;
|
@@ -0,0 +1,25 @@
|
|
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 GridProperties {
|
9
|
+
gap?: SystemProperties["gap"]
|
10
|
+
columnGap?: SystemProperties["gap"]
|
11
|
+
rowGap?: SystemProperties["gap"]
|
12
|
+
columns?: ConditionalValue<number>
|
13
|
+
minChildWidth?: ConditionalValue<Tokens["sizes"] | Properties["width"]>
|
14
|
+
}
|
15
|
+
|
16
|
+
|
17
|
+
interface GridStyles extends GridProperties, DistributiveOmit<SystemStyleObject, keyof GridProperties > {}
|
18
|
+
|
19
|
+
interface GridPatternFn {
|
20
|
+
(styles?: GridStyles): string
|
21
|
+
raw: (styles?: GridStyles) => SystemStyleObject
|
22
|
+
}
|
23
|
+
|
24
|
+
|
25
|
+
export declare const grid: GridPatternFn;
|
@@ -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 HstackProperties {
|
9
|
+
justify?: SystemProperties["justifyContent"]
|
10
|
+
gap?: SystemProperties["gap"]
|
11
|
+
}
|
12
|
+
|
13
|
+
|
14
|
+
interface HstackStyles extends HstackProperties, DistributiveOmit<SystemStyleObject, keyof HstackProperties > {}
|
15
|
+
|
16
|
+
interface HstackPatternFn {
|
17
|
+
(styles?: HstackStyles): string
|
18
|
+
raw: (styles?: HstackStyles) => SystemStyleObject
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
export declare const hstack: HstackPatternFn;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
export * from './box';
|
3
|
+
export * from './flex';
|
4
|
+
export * from './stack';
|
5
|
+
export * from './vstack';
|
6
|
+
export * from './hstack';
|
7
|
+
export * from './spacer';
|
8
|
+
export * from './square';
|
9
|
+
export * from './circle';
|
10
|
+
export * from './center';
|
11
|
+
export * from './link-overlay';
|
12
|
+
export * from './aspect-ratio';
|
13
|
+
export * from './grid';
|
14
|
+
export * from './grid-item';
|
15
|
+
export * from './wrap';
|
16
|
+
export * from './container';
|
17
|
+
export * from './divider';
|
18
|
+
export * from './float';
|
19
|
+
export * from './bleed';
|
20
|
+
export * from './visually-hidden';
|
21
|
+
export * from './cq';
|
@@ -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 LinkOverlayProperties {
|
9
|
+
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
interface LinkOverlayStyles extends LinkOverlayProperties, DistributiveOmit<SystemStyleObject, keyof LinkOverlayProperties > {}
|
14
|
+
|
15
|
+
interface LinkOverlayPatternFn {
|
16
|
+
(styles?: LinkOverlayStyles): string
|
17
|
+
raw: (styles?: LinkOverlayStyles) => SystemStyleObject
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
export declare const linkOverlay: LinkOverlayPatternFn;
|
@@ -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 SpacerProperties {
|
9
|
+
size?: ConditionalValue<Tokens["spacing"]>
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
interface SpacerStyles extends SpacerProperties, DistributiveOmit<SystemStyleObject, keyof SpacerProperties > {}
|
14
|
+
|
15
|
+
interface SpacerPatternFn {
|
16
|
+
(styles?: SpacerStyles): string
|
17
|
+
raw: (styles?: SpacerStyles) => SystemStyleObject
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
export declare const spacer: SpacerPatternFn;
|
@@ -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 SquareProperties {
|
9
|
+
size?: SystemProperties["width"]
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
interface SquareStyles extends SquareProperties, DistributiveOmit<SystemStyleObject, keyof SquareProperties > {}
|
14
|
+
|
15
|
+
interface SquarePatternFn {
|
16
|
+
(styles?: SquareStyles): string
|
17
|
+
raw: (styles?: SquareStyles) => SystemStyleObject
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
export declare const square: SquarePatternFn;
|
@@ -0,0 +1,24 @@
|
|
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 StackProperties {
|
9
|
+
align?: SystemProperties["alignItems"]
|
10
|
+
justify?: SystemProperties["justifyContent"]
|
11
|
+
direction?: SystemProperties["flexDirection"]
|
12
|
+
gap?: SystemProperties["gap"]
|
13
|
+
}
|
14
|
+
|
15
|
+
|
16
|
+
interface StackStyles extends StackProperties, DistributiveOmit<SystemStyleObject, keyof StackProperties > {}
|
17
|
+
|
18
|
+
interface StackPatternFn {
|
19
|
+
(styles?: StackStyles): string
|
20
|
+
raw: (styles?: StackStyles) => SystemStyleObject
|
21
|
+
}
|
22
|
+
|
23
|
+
|
24
|
+
export declare const stack: StackPatternFn;
|
@@ -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 VisuallyHiddenProperties {
|
9
|
+
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
interface VisuallyHiddenStyles extends VisuallyHiddenProperties, DistributiveOmit<SystemStyleObject, keyof VisuallyHiddenProperties > {}
|
14
|
+
|
15
|
+
interface VisuallyHiddenPatternFn {
|
16
|
+
(styles?: VisuallyHiddenStyles): string
|
17
|
+
raw: (styles?: VisuallyHiddenStyles) => SystemStyleObject
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
export declare const visuallyHidden: VisuallyHiddenPatternFn;
|
@@ -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 VstackProperties {
|
9
|
+
justify?: SystemProperties["justifyContent"]
|
10
|
+
gap?: SystemProperties["gap"]
|
11
|
+
}
|
12
|
+
|
13
|
+
|
14
|
+
interface VstackStyles extends VstackProperties, DistributiveOmit<SystemStyleObject, keyof VstackProperties > {}
|
15
|
+
|
16
|
+
interface VstackPatternFn {
|
17
|
+
(styles?: VstackStyles): string
|
18
|
+
raw: (styles?: VstackStyles) => SystemStyleObject
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
export declare const vstack: VstackPatternFn;
|
@@ -0,0 +1,25 @@
|
|
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 WrapProperties {
|
9
|
+
gap?: SystemProperties["gap"]
|
10
|
+
rowGap?: SystemProperties["gap"]
|
11
|
+
columnGap?: SystemProperties["gap"]
|
12
|
+
align?: SystemProperties["alignItems"]
|
13
|
+
justify?: SystemProperties["justifyContent"]
|
14
|
+
}
|
15
|
+
|
16
|
+
|
17
|
+
interface WrapStyles extends WrapProperties, DistributiveOmit<SystemStyleObject, keyof WrapProperties > {}
|
18
|
+
|
19
|
+
interface WrapPatternFn {
|
20
|
+
(styles?: WrapStyles): string
|
21
|
+
raw: (styles?: WrapStyles) => SystemStyleObject
|
22
|
+
}
|
23
|
+
|
24
|
+
|
25
|
+
export declare const wrap: WrapPatternFn;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
4
|
+
|
5
|
+
interface AccordionVariant {
|
6
|
+
/**
|
7
|
+
* @default "md"
|
8
|
+
*/
|
9
|
+
size: "md"
|
10
|
+
}
|
11
|
+
|
12
|
+
type AccordionVariantMap = {
|
13
|
+
[key in keyof AccordionVariant]: Array<AccordionVariant[key]>
|
14
|
+
}
|
15
|
+
|
16
|
+
export type AccordionVariantProps = {
|
17
|
+
[key in keyof AccordionVariant]?: ConditionalValue<AccordionVariant[key]> | undefined
|
18
|
+
}
|
19
|
+
|
20
|
+
export interface AccordionRecipe {
|
21
|
+
__type: AccordionVariantProps
|
22
|
+
(props?: AccordionVariantProps): Pretty<Record<"root" | "item" | "itemTrigger" | "itemContent" | "itemIndicator", string>>
|
23
|
+
raw: (props?: AccordionVariantProps) => AccordionVariantProps
|
24
|
+
variantMap: AccordionVariantMap
|
25
|
+
variantKeys: Array<keyof AccordionVariant>
|
26
|
+
splitVariantProps<Props extends AccordionVariantProps>(props: Props): [AccordionVariantProps, Pretty<DistributiveOmit<Props, keyof AccordionVariantProps>>]
|
27
|
+
getVariantProps: (props?: AccordionVariantProps) => AccordionVariantProps
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
export declare const accordion: AccordionRecipe
|
@@ -0,0 +1,28 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
4
|
+
|
5
|
+
interface AlertVariant {
|
6
|
+
|
7
|
+
}
|
8
|
+
|
9
|
+
type AlertVariantMap = {
|
10
|
+
[key in keyof AlertVariant]: Array<AlertVariant[key]>
|
11
|
+
}
|
12
|
+
|
13
|
+
export type AlertVariantProps = {
|
14
|
+
[key in keyof AlertVariant]?: ConditionalValue<AlertVariant[key]> | undefined
|
15
|
+
}
|
16
|
+
|
17
|
+
export interface AlertRecipe {
|
18
|
+
__type: AlertVariantProps
|
19
|
+
(props?: AlertVariantProps): Pretty<Record<"root" | "content" | "description" | "icon" | "title", string>>
|
20
|
+
raw: (props?: AlertVariantProps) => AlertVariantProps
|
21
|
+
variantMap: AlertVariantMap
|
22
|
+
variantKeys: Array<keyof AlertVariant>
|
23
|
+
splitVariantProps<Props extends AlertVariantProps>(props: Props): [AlertVariantProps, Pretty<DistributiveOmit<Props, keyof AlertVariantProps>>]
|
24
|
+
getVariantProps: (props?: AlertVariantProps) => AlertVariantProps
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
export declare const alert: AlertRecipe
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
4
|
+
|
5
|
+
interface AvatarVariant {
|
6
|
+
/**
|
7
|
+
* @default "md"
|
8
|
+
*/
|
9
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl"
|
10
|
+
}
|
11
|
+
|
12
|
+
type AvatarVariantMap = {
|
13
|
+
[key in keyof AvatarVariant]: Array<AvatarVariant[key]>
|
14
|
+
}
|
15
|
+
|
16
|
+
export type AvatarVariantProps = {
|
17
|
+
[key in keyof AvatarVariant]?: ConditionalValue<AvatarVariant[key]> | undefined
|
18
|
+
}
|
19
|
+
|
20
|
+
export interface AvatarRecipe {
|
21
|
+
__type: AvatarVariantProps
|
22
|
+
(props?: AvatarVariantProps): Pretty<Record<"root" | "image" | "fallback", string>>
|
23
|
+
raw: (props?: AvatarVariantProps) => AvatarVariantProps
|
24
|
+
variantMap: AvatarVariantMap
|
25
|
+
variantKeys: Array<keyof AvatarVariant>
|
26
|
+
splitVariantProps<Props extends AvatarVariantProps>(props: Props): [AvatarVariantProps, Pretty<DistributiveOmit<Props, keyof AvatarVariantProps>>]
|
27
|
+
getVariantProps: (props?: AvatarVariantProps) => AvatarVariantProps
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
export declare const avatar: AvatarRecipe
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
4
|
+
|
5
|
+
interface BadgeVariant {
|
6
|
+
/**
|
7
|
+
* @default "subtle"
|
8
|
+
*/
|
9
|
+
variant: "solid" | "subtle" | "outline"
|
10
|
+
/**
|
11
|
+
* @default "md"
|
12
|
+
*/
|
13
|
+
size: "sm" | "md" | "lg"
|
14
|
+
}
|
15
|
+
|
16
|
+
type BadgeVariantMap = {
|
17
|
+
[key in keyof BadgeVariant]: Array<BadgeVariant[key]>
|
18
|
+
}
|
19
|
+
|
20
|
+
export type BadgeVariantProps = {
|
21
|
+
[key in keyof BadgeVariant]?: ConditionalValue<BadgeVariant[key]> | undefined
|
22
|
+
}
|
23
|
+
|
24
|
+
export interface BadgeRecipe {
|
25
|
+
__type: BadgeVariantProps
|
26
|
+
(props?: BadgeVariantProps): string
|
27
|
+
raw: (props?: BadgeVariantProps) => BadgeVariantProps
|
28
|
+
variantMap: BadgeVariantMap
|
29
|
+
variantKeys: Array<keyof BadgeVariant>
|
30
|
+
splitVariantProps<Props extends BadgeVariantProps>(props: Props): [BadgeVariantProps, Pretty<DistributiveOmit<Props, keyof BadgeVariantProps>>]
|
31
|
+
getVariantProps: (props?: BadgeVariantProps) => BadgeVariantProps
|
32
|
+
}
|
33
|
+
|
34
|
+
|
35
|
+
export declare const badge: BadgeRecipe
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
4
|
+
|
5
|
+
interface ButtonVariant {
|
6
|
+
/**
|
7
|
+
* @default "solid"
|
8
|
+
*/
|
9
|
+
variant: "solid" | "outline" | "ghost" | "link" | "subtle"
|
10
|
+
/**
|
11
|
+
* @default "md"
|
12
|
+
*/
|
13
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl"
|
14
|
+
}
|
15
|
+
|
16
|
+
type ButtonVariantMap = {
|
17
|
+
[key in keyof ButtonVariant]: Array<ButtonVariant[key]>
|
18
|
+
}
|
19
|
+
|
20
|
+
export type ButtonVariantProps = {
|
21
|
+
[key in keyof ButtonVariant]?: ConditionalValue<ButtonVariant[key]> | undefined
|
22
|
+
}
|
23
|
+
|
24
|
+
export interface ButtonRecipe {
|
25
|
+
__type: ButtonVariantProps
|
26
|
+
(props?: ButtonVariantProps): string
|
27
|
+
raw: (props?: ButtonVariantProps) => ButtonVariantProps
|
28
|
+
variantMap: ButtonVariantMap
|
29
|
+
variantKeys: Array<keyof ButtonVariant>
|
30
|
+
splitVariantProps<Props extends ButtonVariantProps>(props: Props): [ButtonVariantProps, Pretty<DistributiveOmit<Props, keyof ButtonVariantProps>>]
|
31
|
+
getVariantProps: (props?: ButtonVariantProps) => ButtonVariantProps
|
32
|
+
}
|
33
|
+
|
34
|
+
|
35
|
+
export declare const button: ButtonRecipe
|
@@ -0,0 +1,28 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
4
|
+
|
5
|
+
interface CardVariant {
|
6
|
+
|
7
|
+
}
|
8
|
+
|
9
|
+
type CardVariantMap = {
|
10
|
+
[key in keyof CardVariant]: Array<CardVariant[key]>
|
11
|
+
}
|
12
|
+
|
13
|
+
export type CardVariantProps = {
|
14
|
+
[key in keyof CardVariant]?: ConditionalValue<CardVariant[key]> | undefined
|
15
|
+
}
|
16
|
+
|
17
|
+
export interface CardRecipe {
|
18
|
+
__type: CardVariantProps
|
19
|
+
(props?: CardVariantProps): Pretty<Record<"root" | "header" | "body" | "footer" | "title" | "description", string>>
|
20
|
+
raw: (props?: CardVariantProps) => CardVariantProps
|
21
|
+
variantMap: CardVariantMap
|
22
|
+
variantKeys: Array<keyof CardVariant>
|
23
|
+
splitVariantProps<Props extends CardVariantProps>(props: Props): [CardVariantProps, Pretty<DistributiveOmit<Props, keyof CardVariantProps>>]
|
24
|
+
getVariantProps: (props?: CardVariantProps) => CardVariantProps
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
export declare const card: CardRecipe
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
4
|
+
|
5
|
+
interface CarouselVariant {
|
6
|
+
/**
|
7
|
+
* @default "md"
|
8
|
+
*/
|
9
|
+
size: "sm" | "md"
|
10
|
+
}
|
11
|
+
|
12
|
+
type CarouselVariantMap = {
|
13
|
+
[key in keyof CarouselVariant]: Array<CarouselVariant[key]>
|
14
|
+
}
|
15
|
+
|
16
|
+
export type CarouselVariantProps = {
|
17
|
+
[key in keyof CarouselVariant]?: ConditionalValue<CarouselVariant[key]> | undefined
|
18
|
+
}
|
19
|
+
|
20
|
+
export interface CarouselRecipe {
|
21
|
+
__type: CarouselVariantProps
|
22
|
+
(props?: CarouselVariantProps): Pretty<Record<"root" | "viewport" | "itemGroup" | "item" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "indicator" | "control", string>>
|
23
|
+
raw: (props?: CarouselVariantProps) => CarouselVariantProps
|
24
|
+
variantMap: CarouselVariantMap
|
25
|
+
variantKeys: Array<keyof CarouselVariant>
|
26
|
+
splitVariantProps<Props extends CarouselVariantProps>(props: Props): [CarouselVariantProps, Pretty<DistributiveOmit<Props, keyof CarouselVariantProps>>]
|
27
|
+
getVariantProps: (props?: CarouselVariantProps) => CarouselVariantProps
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
export declare const carousel: CarouselRecipe
|