@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,31 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
4
|
+
|
5
|
+
interface MenuVariant {
|
6
|
+
/**
|
7
|
+
* @default "md"
|
8
|
+
*/
|
9
|
+
size: "xs" | "sm" | "md" | "lg"
|
10
|
+
}
|
11
|
+
|
12
|
+
type MenuVariantMap = {
|
13
|
+
[key in keyof MenuVariant]: Array<MenuVariant[key]>
|
14
|
+
}
|
15
|
+
|
16
|
+
export type MenuVariantProps = {
|
17
|
+
[key in keyof MenuVariant]?: ConditionalValue<MenuVariant[key]> | undefined
|
18
|
+
}
|
19
|
+
|
20
|
+
export interface MenuRecipe {
|
21
|
+
__type: MenuVariantProps
|
22
|
+
(props?: MenuVariantProps): Pretty<Record<"arrow" | "arrowTip" | "content" | "contextTrigger" | "indicator" | "item" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "positioner" | "separator" | "trigger" | "triggerItem", string>>
|
23
|
+
raw: (props?: MenuVariantProps) => MenuVariantProps
|
24
|
+
variantMap: MenuVariantMap
|
25
|
+
variantKeys: Array<keyof MenuVariant>
|
26
|
+
splitVariantProps<Props extends MenuVariantProps>(props: Props): [MenuVariantProps, Pretty<DistributiveOmit<Props, keyof MenuVariantProps>>]
|
27
|
+
getVariantProps: (props?: MenuVariantProps) => MenuVariantProps
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
export declare const menu: MenuRecipe
|
@@ -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 NumberInputVariant {
|
6
|
+
/**
|
7
|
+
* @default "md"
|
8
|
+
*/
|
9
|
+
size: "md" | "lg" | "xl"
|
10
|
+
}
|
11
|
+
|
12
|
+
type NumberInputVariantMap = {
|
13
|
+
[key in keyof NumberInputVariant]: Array<NumberInputVariant[key]>
|
14
|
+
}
|
15
|
+
|
16
|
+
export type NumberInputVariantProps = {
|
17
|
+
[key in keyof NumberInputVariant]?: ConditionalValue<NumberInputVariant[key]> | undefined
|
18
|
+
}
|
19
|
+
|
20
|
+
export interface NumberInputRecipe {
|
21
|
+
__type: NumberInputVariantProps
|
22
|
+
(props?: NumberInputVariantProps): Pretty<Record<"root" | "label" | "input" | "control" | "valueText" | "incrementTrigger" | "decrementTrigger" | "scrubber", string>>
|
23
|
+
raw: (props?: NumberInputVariantProps) => NumberInputVariantProps
|
24
|
+
variantMap: NumberInputVariantMap
|
25
|
+
variantKeys: Array<keyof NumberInputVariant>
|
26
|
+
splitVariantProps<Props extends NumberInputVariantProps>(props: Props): [NumberInputVariantProps, Pretty<DistributiveOmit<Props, keyof NumberInputVariantProps>>]
|
27
|
+
getVariantProps: (props?: NumberInputVariantProps) => NumberInputVariantProps
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
export declare const numberInput: NumberInputRecipe
|
@@ -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 PaginationVariant {
|
6
|
+
|
7
|
+
}
|
8
|
+
|
9
|
+
type PaginationVariantMap = {
|
10
|
+
[key in keyof PaginationVariant]: Array<PaginationVariant[key]>
|
11
|
+
}
|
12
|
+
|
13
|
+
export type PaginationVariantProps = {
|
14
|
+
[key in keyof PaginationVariant]?: ConditionalValue<PaginationVariant[key]> | undefined
|
15
|
+
}
|
16
|
+
|
17
|
+
export interface PaginationRecipe {
|
18
|
+
__type: PaginationVariantProps
|
19
|
+
(props?: PaginationVariantProps): Pretty<Record<"root" | "item" | "ellipsis" | "prevTrigger" | "nextTrigger", string>>
|
20
|
+
raw: (props?: PaginationVariantProps) => PaginationVariantProps
|
21
|
+
variantMap: PaginationVariantMap
|
22
|
+
variantKeys: Array<keyof PaginationVariant>
|
23
|
+
splitVariantProps<Props extends PaginationVariantProps>(props: Props): [PaginationVariantProps, Pretty<DistributiveOmit<Props, keyof PaginationVariantProps>>]
|
24
|
+
getVariantProps: (props?: PaginationVariantProps) => PaginationVariantProps
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
export declare const pagination: PaginationRecipe
|
@@ -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 PinInputVariant {
|
6
|
+
/**
|
7
|
+
* @default "md"
|
8
|
+
*/
|
9
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl"
|
10
|
+
}
|
11
|
+
|
12
|
+
type PinInputVariantMap = {
|
13
|
+
[key in keyof PinInputVariant]: Array<PinInputVariant[key]>
|
14
|
+
}
|
15
|
+
|
16
|
+
export type PinInputVariantProps = {
|
17
|
+
[key in keyof PinInputVariant]?: ConditionalValue<PinInputVariant[key]> | undefined
|
18
|
+
}
|
19
|
+
|
20
|
+
export interface PinInputRecipe {
|
21
|
+
__type: PinInputVariantProps
|
22
|
+
(props?: PinInputVariantProps): Pretty<Record<"root" | "label" | "input" | "control", string>>
|
23
|
+
raw: (props?: PinInputVariantProps) => PinInputVariantProps
|
24
|
+
variantMap: PinInputVariantMap
|
25
|
+
variantKeys: Array<keyof PinInputVariant>
|
26
|
+
splitVariantProps<Props extends PinInputVariantProps>(props: Props): [PinInputVariantProps, Pretty<DistributiveOmit<Props, keyof PinInputVariantProps>>]
|
27
|
+
getVariantProps: (props?: PinInputVariantProps) => PinInputVariantProps
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
export declare const pinInput: PinInputRecipe
|
@@ -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 PopoverVariant {
|
6
|
+
|
7
|
+
}
|
8
|
+
|
9
|
+
type PopoverVariantMap = {
|
10
|
+
[key in keyof PopoverVariant]: Array<PopoverVariant[key]>
|
11
|
+
}
|
12
|
+
|
13
|
+
export type PopoverVariantProps = {
|
14
|
+
[key in keyof PopoverVariant]?: ConditionalValue<PopoverVariant[key]> | undefined
|
15
|
+
}
|
16
|
+
|
17
|
+
export interface PopoverRecipe {
|
18
|
+
__type: PopoverVariantProps
|
19
|
+
(props?: PopoverVariantProps): Pretty<Record<"arrow" | "arrowTip" | "anchor" | "trigger" | "indicator" | "positioner" | "content" | "title" | "description" | "closeTrigger", string>>
|
20
|
+
raw: (props?: PopoverVariantProps) => PopoverVariantProps
|
21
|
+
variantMap: PopoverVariantMap
|
22
|
+
variantKeys: Array<keyof PopoverVariant>
|
23
|
+
splitVariantProps<Props extends PopoverVariantProps>(props: Props): [PopoverVariantProps, Pretty<DistributiveOmit<Props, keyof PopoverVariantProps>>]
|
24
|
+
getVariantProps: (props?: PopoverVariantProps) => PopoverVariantProps
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
export declare const popover: PopoverRecipe
|
@@ -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 ProgressVariant {
|
6
|
+
/**
|
7
|
+
* @default "md"
|
8
|
+
*/
|
9
|
+
size: "sm" | "md" | "lg"
|
10
|
+
}
|
11
|
+
|
12
|
+
type ProgressVariantMap = {
|
13
|
+
[key in keyof ProgressVariant]: Array<ProgressVariant[key]>
|
14
|
+
}
|
15
|
+
|
16
|
+
export type ProgressVariantProps = {
|
17
|
+
[key in keyof ProgressVariant]?: ConditionalValue<ProgressVariant[key]> | undefined
|
18
|
+
}
|
19
|
+
|
20
|
+
export interface ProgressRecipe {
|
21
|
+
__type: ProgressVariantProps
|
22
|
+
(props?: ProgressVariantProps): Pretty<Record<"root" | "label" | "track" | "range" | "valueText" | "view" | "circle" | "circleTrack" | "circleRange", string>>
|
23
|
+
raw: (props?: ProgressVariantProps) => ProgressVariantProps
|
24
|
+
variantMap: ProgressVariantMap
|
25
|
+
variantKeys: Array<keyof ProgressVariant>
|
26
|
+
splitVariantProps<Props extends ProgressVariantProps>(props: Props): [ProgressVariantProps, Pretty<DistributiveOmit<Props, keyof ProgressVariantProps>>]
|
27
|
+
getVariantProps: (props?: ProgressVariantProps) => ProgressVariantProps
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
export declare const progress: ProgressRecipe
|
@@ -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 QrCodeVariant {
|
6
|
+
|
7
|
+
}
|
8
|
+
|
9
|
+
type QrCodeVariantMap = {
|
10
|
+
[key in keyof QrCodeVariant]: Array<QrCodeVariant[key]>
|
11
|
+
}
|
12
|
+
|
13
|
+
export type QrCodeVariantProps = {
|
14
|
+
[key in keyof QrCodeVariant]?: ConditionalValue<QrCodeVariant[key]> | undefined
|
15
|
+
}
|
16
|
+
|
17
|
+
export interface QrCodeRecipe {
|
18
|
+
__type: QrCodeVariantProps
|
19
|
+
(props?: QrCodeVariantProps): Pretty<Record<"root" | "frame" | "pattern" | "overlay", string>>
|
20
|
+
raw: (props?: QrCodeVariantProps) => QrCodeVariantProps
|
21
|
+
variantMap: QrCodeVariantMap
|
22
|
+
variantKeys: Array<keyof QrCodeVariant>
|
23
|
+
splitVariantProps<Props extends QrCodeVariantProps>(props: Props): [QrCodeVariantProps, Pretty<DistributiveOmit<Props, keyof QrCodeVariantProps>>]
|
24
|
+
getVariantProps: (props?: QrCodeVariantProps) => QrCodeVariantProps
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
export declare const qrCode: QrCodeRecipe
|
@@ -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 RadioButtonGroupVariant {
|
6
|
+
/**
|
7
|
+
* @default "solid"
|
8
|
+
*/
|
9
|
+
variant: "solid" | "outline"
|
10
|
+
/**
|
11
|
+
* @default "md"
|
12
|
+
*/
|
13
|
+
size: "sm" | "md" | "lg" | "xl"
|
14
|
+
}
|
15
|
+
|
16
|
+
type RadioButtonGroupVariantMap = {
|
17
|
+
[key in keyof RadioButtonGroupVariant]: Array<RadioButtonGroupVariant[key]>
|
18
|
+
}
|
19
|
+
|
20
|
+
export type RadioButtonGroupVariantProps = {
|
21
|
+
[key in keyof RadioButtonGroupVariant]?: ConditionalValue<RadioButtonGroupVariant[key]> | undefined
|
22
|
+
}
|
23
|
+
|
24
|
+
export interface RadioButtonGroupRecipe {
|
25
|
+
__type: RadioButtonGroupVariantProps
|
26
|
+
(props?: RadioButtonGroupVariantProps): Pretty<Record<"root" | "label" | "item" | "itemText" | "itemControl" | "indicator", string>>
|
27
|
+
raw: (props?: RadioButtonGroupVariantProps) => RadioButtonGroupVariantProps
|
28
|
+
variantMap: RadioButtonGroupVariantMap
|
29
|
+
variantKeys: Array<keyof RadioButtonGroupVariant>
|
30
|
+
splitVariantProps<Props extends RadioButtonGroupVariantProps>(props: Props): [RadioButtonGroupVariantProps, Pretty<DistributiveOmit<Props, keyof RadioButtonGroupVariantProps>>]
|
31
|
+
getVariantProps: (props?: RadioButtonGroupVariantProps) => RadioButtonGroupVariantProps
|
32
|
+
}
|
33
|
+
|
34
|
+
|
35
|
+
export declare const radioButtonGroup: RadioButtonGroupRecipe
|
@@ -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 RadioGroupVariant {
|
6
|
+
/**
|
7
|
+
* @default "md"
|
8
|
+
*/
|
9
|
+
size: "sm" | "md" | "lg"
|
10
|
+
}
|
11
|
+
|
12
|
+
type RadioGroupVariantMap = {
|
13
|
+
[key in keyof RadioGroupVariant]: Array<RadioGroupVariant[key]>
|
14
|
+
}
|
15
|
+
|
16
|
+
export type RadioGroupVariantProps = {
|
17
|
+
[key in keyof RadioGroupVariant]?: ConditionalValue<RadioGroupVariant[key]> | undefined
|
18
|
+
}
|
19
|
+
|
20
|
+
export interface RadioGroupRecipe {
|
21
|
+
__type: RadioGroupVariantProps
|
22
|
+
(props?: RadioGroupVariantProps): Pretty<Record<"root" | "label" | "item" | "itemText" | "itemControl" | "indicator", string>>
|
23
|
+
raw: (props?: RadioGroupVariantProps) => RadioGroupVariantProps
|
24
|
+
variantMap: RadioGroupVariantMap
|
25
|
+
variantKeys: Array<keyof RadioGroupVariant>
|
26
|
+
splitVariantProps<Props extends RadioGroupVariantProps>(props: Props): [RadioGroupVariantProps, Pretty<DistributiveOmit<Props, keyof RadioGroupVariantProps>>]
|
27
|
+
getVariantProps: (props?: RadioGroupVariantProps) => RadioGroupVariantProps
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
export declare const radioGroup: RadioGroupRecipe
|
@@ -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 RatingGroupVariant {
|
6
|
+
/**
|
7
|
+
* @default "md"
|
8
|
+
*/
|
9
|
+
size: "sm" | "md" | "lg"
|
10
|
+
}
|
11
|
+
|
12
|
+
type RatingGroupVariantMap = {
|
13
|
+
[key in keyof RatingGroupVariant]: Array<RatingGroupVariant[key]>
|
14
|
+
}
|
15
|
+
|
16
|
+
export type RatingGroupVariantProps = {
|
17
|
+
[key in keyof RatingGroupVariant]?: ConditionalValue<RatingGroupVariant[key]> | undefined
|
18
|
+
}
|
19
|
+
|
20
|
+
export interface RatingGroupRecipe {
|
21
|
+
__type: RatingGroupVariantProps
|
22
|
+
(props?: RatingGroupVariantProps): Pretty<Record<"root" | "label" | "item" | "control", string>>
|
23
|
+
raw: (props?: RatingGroupVariantProps) => RatingGroupVariantProps
|
24
|
+
variantMap: RatingGroupVariantMap
|
25
|
+
variantKeys: Array<keyof RatingGroupVariant>
|
26
|
+
splitVariantProps<Props extends RatingGroupVariantProps>(props: Props): [RatingGroupVariantProps, Pretty<DistributiveOmit<Props, keyof RatingGroupVariantProps>>]
|
27
|
+
getVariantProps: (props?: RatingGroupVariantProps) => RatingGroupVariantProps
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
export declare const ratingGroup: RatingGroupRecipe
|
@@ -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 SegmentGroupVariant {
|
6
|
+
/**
|
7
|
+
* @default "md"
|
8
|
+
*/
|
9
|
+
size: "sm" | "md"
|
10
|
+
}
|
11
|
+
|
12
|
+
type SegmentGroupVariantMap = {
|
13
|
+
[key in keyof SegmentGroupVariant]: Array<SegmentGroupVariant[key]>
|
14
|
+
}
|
15
|
+
|
16
|
+
export type SegmentGroupVariantProps = {
|
17
|
+
[key in keyof SegmentGroupVariant]?: ConditionalValue<SegmentGroupVariant[key]> | undefined
|
18
|
+
}
|
19
|
+
|
20
|
+
export interface SegmentGroupRecipe {
|
21
|
+
__type: SegmentGroupVariantProps
|
22
|
+
(props?: SegmentGroupVariantProps): Pretty<Record<"root" | "label" | "item" | "itemText" | "itemControl" | "indicator", string>>
|
23
|
+
raw: (props?: SegmentGroupVariantProps) => SegmentGroupVariantProps
|
24
|
+
variantMap: SegmentGroupVariantMap
|
25
|
+
variantKeys: Array<keyof SegmentGroupVariant>
|
26
|
+
splitVariantProps<Props extends SegmentGroupVariantProps>(props: Props): [SegmentGroupVariantProps, Pretty<DistributiveOmit<Props, keyof SegmentGroupVariantProps>>]
|
27
|
+
getVariantProps: (props?: SegmentGroupVariantProps) => SegmentGroupVariantProps
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
export declare const segmentGroup: SegmentGroupRecipe
|
@@ -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 SelectVariant {
|
6
|
+
/**
|
7
|
+
* @default "outline"
|
8
|
+
*/
|
9
|
+
variant: "outline" | "ghost"
|
10
|
+
/**
|
11
|
+
* @default "md"
|
12
|
+
*/
|
13
|
+
size: "sm" | "md" | "lg"
|
14
|
+
}
|
15
|
+
|
16
|
+
type SelectVariantMap = {
|
17
|
+
[key in keyof SelectVariant]: Array<SelectVariant[key]>
|
18
|
+
}
|
19
|
+
|
20
|
+
export type SelectVariantProps = {
|
21
|
+
[key in keyof SelectVariant]?: ConditionalValue<SelectVariant[key]> | undefined
|
22
|
+
}
|
23
|
+
|
24
|
+
export interface SelectRecipe {
|
25
|
+
__type: SelectVariantProps
|
26
|
+
(props?: SelectVariantProps): Pretty<Record<"label" | "positioner" | "trigger" | "indicator" | "clearTrigger" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "list" | "content" | "root" | "control" | "valueText", string>>
|
27
|
+
raw: (props?: SelectVariantProps) => SelectVariantProps
|
28
|
+
variantMap: SelectVariantMap
|
29
|
+
variantKeys: Array<keyof SelectVariant>
|
30
|
+
splitVariantProps<Props extends SelectVariantProps>(props: Props): [SelectVariantProps, Pretty<DistributiveOmit<Props, keyof SelectVariantProps>>]
|
31
|
+
getVariantProps: (props?: SelectVariantProps) => SelectVariantProps
|
32
|
+
}
|
33
|
+
|
34
|
+
|
35
|
+
export declare const select: SelectRecipe
|
@@ -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 SignaturePadVariant {
|
6
|
+
|
7
|
+
}
|
8
|
+
|
9
|
+
type SignaturePadVariantMap = {
|
10
|
+
[key in keyof SignaturePadVariant]: Array<SignaturePadVariant[key]>
|
11
|
+
}
|
12
|
+
|
13
|
+
export type SignaturePadVariantProps = {
|
14
|
+
[key in keyof SignaturePadVariant]?: ConditionalValue<SignaturePadVariant[key]> | undefined
|
15
|
+
}
|
16
|
+
|
17
|
+
export interface SignaturePadRecipe {
|
18
|
+
__type: SignaturePadVariantProps
|
19
|
+
(props?: SignaturePadVariantProps): Pretty<Record<"root" | "control" | "segment" | "segmentPath" | "guide" | "clearTrigger" | "label", string>>
|
20
|
+
raw: (props?: SignaturePadVariantProps) => SignaturePadVariantProps
|
21
|
+
variantMap: SignaturePadVariantMap
|
22
|
+
variantKeys: Array<keyof SignaturePadVariant>
|
23
|
+
splitVariantProps<Props extends SignaturePadVariantProps>(props: Props): [SignaturePadVariantProps, Pretty<DistributiveOmit<Props, keyof SignaturePadVariantProps>>]
|
24
|
+
getVariantProps: (props?: SignaturePadVariantProps) => SignaturePadVariantProps
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
export declare const signaturePad: SignaturePadRecipe
|
@@ -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 SkeletonVariant {
|
6
|
+
|
7
|
+
}
|
8
|
+
|
9
|
+
type SkeletonVariantMap = {
|
10
|
+
[key in keyof SkeletonVariant]: Array<SkeletonVariant[key]>
|
11
|
+
}
|
12
|
+
|
13
|
+
export type SkeletonVariantProps = {
|
14
|
+
[key in keyof SkeletonVariant]?: ConditionalValue<SkeletonVariant[key]> | undefined
|
15
|
+
}
|
16
|
+
|
17
|
+
export interface SkeletonRecipe {
|
18
|
+
__type: SkeletonVariantProps
|
19
|
+
(props?: SkeletonVariantProps): string
|
20
|
+
raw: (props?: SkeletonVariantProps) => SkeletonVariantProps
|
21
|
+
variantMap: SkeletonVariantMap
|
22
|
+
variantKeys: Array<keyof SkeletonVariant>
|
23
|
+
splitVariantProps<Props extends SkeletonVariantProps>(props: Props): [SkeletonVariantProps, Pretty<DistributiveOmit<Props, keyof SkeletonVariantProps>>]
|
24
|
+
getVariantProps: (props?: SkeletonVariantProps) => SkeletonVariantProps
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
export declare const skeleton: SkeletonRecipe
|
@@ -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 SliderVariant {
|
6
|
+
/**
|
7
|
+
* @default "md"
|
8
|
+
*/
|
9
|
+
size: "sm" | "md" | "lg"
|
10
|
+
}
|
11
|
+
|
12
|
+
type SliderVariantMap = {
|
13
|
+
[key in keyof SliderVariant]: Array<SliderVariant[key]>
|
14
|
+
}
|
15
|
+
|
16
|
+
export type SliderVariantProps = {
|
17
|
+
[key in keyof SliderVariant]?: ConditionalValue<SliderVariant[key]> | undefined
|
18
|
+
}
|
19
|
+
|
20
|
+
export interface SliderRecipe {
|
21
|
+
__type: SliderVariantProps
|
22
|
+
(props?: SliderVariantProps): Pretty<Record<"root" | "label" | "thumb" | "valueText" | "track" | "range" | "control" | "markerGroup" | "marker", string>>
|
23
|
+
raw: (props?: SliderVariantProps) => SliderVariantProps
|
24
|
+
variantMap: SliderVariantMap
|
25
|
+
variantKeys: Array<keyof SliderVariant>
|
26
|
+
splitVariantProps<Props extends SliderVariantProps>(props: Props): [SliderVariantProps, Pretty<DistributiveOmit<Props, keyof SliderVariantProps>>]
|
27
|
+
getVariantProps: (props?: SliderVariantProps) => SliderVariantProps
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
export declare const slider: SliderRecipe
|
@@ -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 SpinnerVariant {
|
6
|
+
/**
|
7
|
+
* @default "md"
|
8
|
+
*/
|
9
|
+
size: "xs" | "sm" | "md" | "lg" | "xl"
|
10
|
+
}
|
11
|
+
|
12
|
+
type SpinnerVariantMap = {
|
13
|
+
[key in keyof SpinnerVariant]: Array<SpinnerVariant[key]>
|
14
|
+
}
|
15
|
+
|
16
|
+
export type SpinnerVariantProps = {
|
17
|
+
[key in keyof SpinnerVariant]?: ConditionalValue<SpinnerVariant[key]> | undefined
|
18
|
+
}
|
19
|
+
|
20
|
+
export interface SpinnerRecipe {
|
21
|
+
__type: SpinnerVariantProps
|
22
|
+
(props?: SpinnerVariantProps): string
|
23
|
+
raw: (props?: SpinnerVariantProps) => SpinnerVariantProps
|
24
|
+
variantMap: SpinnerVariantMap
|
25
|
+
variantKeys: Array<keyof SpinnerVariant>
|
26
|
+
splitVariantProps<Props extends SpinnerVariantProps>(props: Props): [SpinnerVariantProps, Pretty<DistributiveOmit<Props, keyof SpinnerVariantProps>>]
|
27
|
+
getVariantProps: (props?: SpinnerVariantProps) => SpinnerVariantProps
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
export declare const spinner: SpinnerRecipe
|
@@ -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 SplitterVariant {
|
6
|
+
|
7
|
+
}
|
8
|
+
|
9
|
+
type SplitterVariantMap = {
|
10
|
+
[key in keyof SplitterVariant]: Array<SplitterVariant[key]>
|
11
|
+
}
|
12
|
+
|
13
|
+
export type SplitterVariantProps = {
|
14
|
+
[key in keyof SplitterVariant]?: ConditionalValue<SplitterVariant[key]> | undefined
|
15
|
+
}
|
16
|
+
|
17
|
+
export interface SplitterRecipe {
|
18
|
+
__type: SplitterVariantProps
|
19
|
+
(props?: SplitterVariantProps): Pretty<Record<"root" | "panel" | "resizeTrigger", string>>
|
20
|
+
raw: (props?: SplitterVariantProps) => SplitterVariantProps
|
21
|
+
variantMap: SplitterVariantMap
|
22
|
+
variantKeys: Array<keyof SplitterVariant>
|
23
|
+
splitVariantProps<Props extends SplitterVariantProps>(props: Props): [SplitterVariantProps, Pretty<DistributiveOmit<Props, keyof SplitterVariantProps>>]
|
24
|
+
getVariantProps: (props?: SplitterVariantProps) => SplitterVariantProps
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
export declare const splitter: SplitterRecipe
|
@@ -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 SwitchRecipeVariant {
|
6
|
+
/**
|
7
|
+
* @default "md"
|
8
|
+
*/
|
9
|
+
size: "sm" | "md" | "lg"
|
10
|
+
}
|
11
|
+
|
12
|
+
type SwitchRecipeVariantMap = {
|
13
|
+
[key in keyof SwitchRecipeVariant]: Array<SwitchRecipeVariant[key]>
|
14
|
+
}
|
15
|
+
|
16
|
+
export type SwitchRecipeVariantProps = {
|
17
|
+
[key in keyof SwitchRecipeVariant]?: ConditionalValue<SwitchRecipeVariant[key]> | undefined
|
18
|
+
}
|
19
|
+
|
20
|
+
export interface SwitchRecipeRecipe {
|
21
|
+
__type: SwitchRecipeVariantProps
|
22
|
+
(props?: SwitchRecipeVariantProps): Pretty<Record<"root" | "label" | "control" | "thumb", string>>
|
23
|
+
raw: (props?: SwitchRecipeVariantProps) => SwitchRecipeVariantProps
|
24
|
+
variantMap: SwitchRecipeVariantMap
|
25
|
+
variantKeys: Array<keyof SwitchRecipeVariant>
|
26
|
+
splitVariantProps<Props extends SwitchRecipeVariantProps>(props: Props): [SwitchRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof SwitchRecipeVariantProps>>]
|
27
|
+
getVariantProps: (props?: SwitchRecipeVariantProps) => SwitchRecipeVariantProps
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
export declare const switchRecipe: SwitchRecipeRecipe
|
@@ -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 TableVariant {
|
6
|
+
/**
|
7
|
+
* @default "plain"
|
8
|
+
*/
|
9
|
+
variant: "outline" | "plain"
|
10
|
+
/**
|
11
|
+
* @default "md"
|
12
|
+
*/
|
13
|
+
size: "sm" | "md"
|
14
|
+
}
|
15
|
+
|
16
|
+
type TableVariantMap = {
|
17
|
+
[key in keyof TableVariant]: Array<TableVariant[key]>
|
18
|
+
}
|
19
|
+
|
20
|
+
export type TableVariantProps = {
|
21
|
+
[key in keyof TableVariant]?: ConditionalValue<TableVariant[key]> | undefined
|
22
|
+
}
|
23
|
+
|
24
|
+
export interface TableRecipe {
|
25
|
+
__type: TableVariantProps
|
26
|
+
(props?: TableVariantProps): Pretty<Record<"root" | "body" | "cell" | "footer" | "head" | "header" | "row" | "caption", string>>
|
27
|
+
raw: (props?: TableVariantProps) => TableVariantProps
|
28
|
+
variantMap: TableVariantMap
|
29
|
+
variantKeys: Array<keyof TableVariant>
|
30
|
+
splitVariantProps<Props extends TableVariantProps>(props: Props): [TableVariantProps, Pretty<DistributiveOmit<Props, keyof TableVariantProps>>]
|
31
|
+
getVariantProps: (props?: TableVariantProps) => TableVariantProps
|
32
|
+
}
|
33
|
+
|
34
|
+
|
35
|
+
export declare const table: TableRecipe
|
@@ -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 TabsVariant {
|
6
|
+
/**
|
7
|
+
* @default "line"
|
8
|
+
*/
|
9
|
+
variant: "enclosed" | "line" | "outline"
|
10
|
+
/**
|
11
|
+
* @default "md"
|
12
|
+
*/
|
13
|
+
size: "sm" | "md" | "lg"
|
14
|
+
}
|
15
|
+
|
16
|
+
type TabsVariantMap = {
|
17
|
+
[key in keyof TabsVariant]: Array<TabsVariant[key]>
|
18
|
+
}
|
19
|
+
|
20
|
+
export type TabsVariantProps = {
|
21
|
+
[key in keyof TabsVariant]?: TabsVariant[key] | undefined
|
22
|
+
}
|
23
|
+
|
24
|
+
export interface TabsRecipe {
|
25
|
+
__type: TabsVariantProps
|
26
|
+
(props?: TabsVariantProps): Pretty<Record<"root" | "list" | "trigger" | "content" | "indicator", string>>
|
27
|
+
raw: (props?: TabsVariantProps) => TabsVariantProps
|
28
|
+
variantMap: TabsVariantMap
|
29
|
+
variantKeys: Array<keyof TabsVariant>
|
30
|
+
splitVariantProps<Props extends TabsVariantProps>(props: Props): [TabsVariantProps, Pretty<DistributiveOmit<Props, keyof TabsVariantProps>>]
|
31
|
+
getVariantProps: (props?: TabsVariantProps) => TabsVariantProps
|
32
|
+
}
|
33
|
+
|
34
|
+
|
35
|
+
export declare const tabs: TabsRecipe
|