@integration-app/react 2.0.2 → 2.0.3-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 CheckboxVariant {
|
|
6
|
+
/**
|
|
7
|
+
* @default "md"
|
|
8
|
+
*/
|
|
9
|
+
size: "sm" | "md" | "lg"
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type CheckboxVariantMap = {
|
|
13
|
+
[key in keyof CheckboxVariant]: Array<CheckboxVariant[key]>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type CheckboxVariantProps = {
|
|
17
|
+
[key in keyof CheckboxVariant]?: ConditionalValue<CheckboxVariant[key]> | undefined
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface CheckboxRecipe {
|
|
21
|
+
__type: CheckboxVariantProps
|
|
22
|
+
(props?: CheckboxVariantProps): Pretty<Record<"root" | "label" | "control" | "indicator" | "group", string>>
|
|
23
|
+
raw: (props?: CheckboxVariantProps) => CheckboxVariantProps
|
|
24
|
+
variantMap: CheckboxVariantMap
|
|
25
|
+
variantKeys: Array<keyof CheckboxVariant>
|
|
26
|
+
splitVariantProps<Props extends CheckboxVariantProps>(props: Props): [CheckboxVariantProps, Pretty<DistributiveOmit<Props, keyof CheckboxVariantProps>>]
|
|
27
|
+
getVariantProps: (props?: CheckboxVariantProps) => CheckboxVariantProps
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export declare const checkbox: CheckboxRecipe
|
|
@@ -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 ClipboardVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type ClipboardVariantMap = {
|
|
10
|
+
[key in keyof ClipboardVariant]: Array<ClipboardVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type ClipboardVariantProps = {
|
|
14
|
+
[key in keyof ClipboardVariant]?: ConditionalValue<ClipboardVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface ClipboardRecipe {
|
|
18
|
+
__type: ClipboardVariantProps
|
|
19
|
+
(props?: ClipboardVariantProps): Pretty<Record<"root" | "control" | "trigger" | "indicator" | "input" | "label", string>>
|
|
20
|
+
raw: (props?: ClipboardVariantProps) => ClipboardVariantProps
|
|
21
|
+
variantMap: ClipboardVariantMap
|
|
22
|
+
variantKeys: Array<keyof ClipboardVariant>
|
|
23
|
+
splitVariantProps<Props extends ClipboardVariantProps>(props: Props): [ClipboardVariantProps, Pretty<DistributiveOmit<Props, keyof ClipboardVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: ClipboardVariantProps) => ClipboardVariantProps
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const clipboard: ClipboardRecipe
|
|
@@ -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 CodeVariant {
|
|
6
|
+
/**
|
|
7
|
+
* @default "outline"
|
|
8
|
+
*/
|
|
9
|
+
variant: "outline" | "ghost"
|
|
10
|
+
/**
|
|
11
|
+
* @default "md"
|
|
12
|
+
*/
|
|
13
|
+
size: "sm" | "md" | "lg"
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
type CodeVariantMap = {
|
|
17
|
+
[key in keyof CodeVariant]: Array<CodeVariant[key]>
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export type CodeVariantProps = {
|
|
21
|
+
[key in keyof CodeVariant]?: ConditionalValue<CodeVariant[key]> | undefined
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface CodeRecipe {
|
|
25
|
+
__type: CodeVariantProps
|
|
26
|
+
(props?: CodeVariantProps): string
|
|
27
|
+
raw: (props?: CodeVariantProps) => CodeVariantProps
|
|
28
|
+
variantMap: CodeVariantMap
|
|
29
|
+
variantKeys: Array<keyof CodeVariant>
|
|
30
|
+
splitVariantProps<Props extends CodeVariantProps>(props: Props): [CodeVariantProps, Pretty<DistributiveOmit<Props, keyof CodeVariantProps>>]
|
|
31
|
+
getVariantProps: (props?: CodeVariantProps) => CodeVariantProps
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
export declare const code: CodeRecipe
|
|
@@ -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 CollapsibleVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type CollapsibleVariantMap = {
|
|
10
|
+
[key in keyof CollapsibleVariant]: Array<CollapsibleVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type CollapsibleVariantProps = {
|
|
14
|
+
[key in keyof CollapsibleVariant]?: ConditionalValue<CollapsibleVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface CollapsibleRecipe {
|
|
18
|
+
__type: CollapsibleVariantProps
|
|
19
|
+
(props?: CollapsibleVariantProps): Pretty<Record<"root" | "trigger" | "content", string>>
|
|
20
|
+
raw: (props?: CollapsibleVariantProps) => CollapsibleVariantProps
|
|
21
|
+
variantMap: CollapsibleVariantMap
|
|
22
|
+
variantKeys: Array<keyof CollapsibleVariant>
|
|
23
|
+
splitVariantProps<Props extends CollapsibleVariantProps>(props: Props): [CollapsibleVariantProps, Pretty<DistributiveOmit<Props, keyof CollapsibleVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: CollapsibleVariantProps) => CollapsibleVariantProps
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const collapsible: CollapsibleRecipe
|
|
@@ -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 ColorPickerVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type ColorPickerVariantMap = {
|
|
10
|
+
[key in keyof ColorPickerVariant]: Array<ColorPickerVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type ColorPickerVariantProps = {
|
|
14
|
+
[key in keyof ColorPickerVariant]?: ConditionalValue<ColorPickerVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface ColorPickerRecipe {
|
|
18
|
+
__type: ColorPickerVariantProps
|
|
19
|
+
(props?: ColorPickerVariantProps): Pretty<Record<"root" | "label" | "control" | "trigger" | "positioner" | "content" | "area" | "areaThumb" | "valueText" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect" | "view", string>>
|
|
20
|
+
raw: (props?: ColorPickerVariantProps) => ColorPickerVariantProps
|
|
21
|
+
variantMap: ColorPickerVariantMap
|
|
22
|
+
variantKeys: Array<keyof ColorPickerVariant>
|
|
23
|
+
splitVariantProps<Props extends ColorPickerVariantProps>(props: Props): [ColorPickerVariantProps, Pretty<DistributiveOmit<Props, keyof ColorPickerVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: ColorPickerVariantProps) => ColorPickerVariantProps
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const colorPicker: ColorPickerRecipe
|
|
@@ -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 ComboboxVariant {
|
|
6
|
+
/**
|
|
7
|
+
* @default "md"
|
|
8
|
+
*/
|
|
9
|
+
size: "sm" | "md" | "lg"
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type ComboboxVariantMap = {
|
|
13
|
+
[key in keyof ComboboxVariant]: Array<ComboboxVariant[key]>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type ComboboxVariantProps = {
|
|
17
|
+
[key in keyof ComboboxVariant]?: ConditionalValue<ComboboxVariant[key]> | undefined
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface ComboboxRecipe {
|
|
21
|
+
__type: ComboboxVariantProps
|
|
22
|
+
(props?: ComboboxVariantProps): Pretty<Record<"root" | "clearTrigger" | "content" | "control" | "input" | "item" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "label" | "list" | "positioner" | "trigger", string>>
|
|
23
|
+
raw: (props?: ComboboxVariantProps) => ComboboxVariantProps
|
|
24
|
+
variantMap: ComboboxVariantMap
|
|
25
|
+
variantKeys: Array<keyof ComboboxVariant>
|
|
26
|
+
splitVariantProps<Props extends ComboboxVariantProps>(props: Props): [ComboboxVariantProps, Pretty<DistributiveOmit<Props, keyof ComboboxVariantProps>>]
|
|
27
|
+
getVariantProps: (props?: ComboboxVariantProps) => ComboboxVariantProps
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export declare const combobox: ComboboxRecipe
|
|
@@ -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 DatePickerVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type DatePickerVariantMap = {
|
|
10
|
+
[key in keyof DatePickerVariant]: Array<DatePickerVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type DatePickerVariantProps = {
|
|
14
|
+
[key in keyof DatePickerVariant]?: ConditionalValue<DatePickerVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface DatePickerRecipe {
|
|
18
|
+
__type: DatePickerVariantProps
|
|
19
|
+
(props?: DatePickerVariantProps): Pretty<Record<"root" | "label" | "clearTrigger" | "content" | "control" | "input" | "monthSelect" | "nextTrigger" | "positioner" | "prevTrigger" | "rangeText" | "table" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "trigger" | "viewTrigger" | "viewControl" | "yearSelect" | "presetTrigger" | "view", string>>
|
|
20
|
+
raw: (props?: DatePickerVariantProps) => DatePickerVariantProps
|
|
21
|
+
variantMap: DatePickerVariantMap
|
|
22
|
+
variantKeys: Array<keyof DatePickerVariant>
|
|
23
|
+
splitVariantProps<Props extends DatePickerVariantProps>(props: Props): [DatePickerVariantProps, Pretty<DistributiveOmit<Props, keyof DatePickerVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: DatePickerVariantProps) => DatePickerVariantProps
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const datePicker: DatePickerRecipe
|
|
@@ -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 DialogVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type DialogVariantMap = {
|
|
10
|
+
[key in keyof DialogVariant]: Array<DialogVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type DialogVariantProps = {
|
|
14
|
+
[key in keyof DialogVariant]?: ConditionalValue<DialogVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface DialogRecipe {
|
|
18
|
+
__type: DialogVariantProps
|
|
19
|
+
(props?: DialogVariantProps): Pretty<Record<"trigger" | "backdrop" | "positioner" | "content" | "title" | "description" | "closeTrigger", string>>
|
|
20
|
+
raw: (props?: DialogVariantProps) => DialogVariantProps
|
|
21
|
+
variantMap: DialogVariantMap
|
|
22
|
+
variantKeys: Array<keyof DialogVariant>
|
|
23
|
+
splitVariantProps<Props extends DialogVariantProps>(props: Props): [DialogVariantProps, Pretty<DistributiveOmit<Props, keyof DialogVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: DialogVariantProps) => DialogVariantProps
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const dialog: DialogRecipe
|
|
@@ -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 DrawerVariant {
|
|
6
|
+
/**
|
|
7
|
+
* @default "right"
|
|
8
|
+
*/
|
|
9
|
+
variant: "left" | "right"
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type DrawerVariantMap = {
|
|
13
|
+
[key in keyof DrawerVariant]: Array<DrawerVariant[key]>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type DrawerVariantProps = {
|
|
17
|
+
[key in keyof DrawerVariant]?: ConditionalValue<DrawerVariant[key]> | undefined
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface DrawerRecipe {
|
|
21
|
+
__type: DrawerVariantProps
|
|
22
|
+
(props?: DrawerVariantProps): Pretty<Record<"trigger" | "backdrop" | "positioner" | "content" | "title" | "description" | "closeTrigger" | "header" | "body" | "footer", string>>
|
|
23
|
+
raw: (props?: DrawerVariantProps) => DrawerVariantProps
|
|
24
|
+
variantMap: DrawerVariantMap
|
|
25
|
+
variantKeys: Array<keyof DrawerVariant>
|
|
26
|
+
splitVariantProps<Props extends DrawerVariantProps>(props: Props): [DrawerVariantProps, Pretty<DistributiveOmit<Props, keyof DrawerVariantProps>>]
|
|
27
|
+
getVariantProps: (props?: DrawerVariantProps) => DrawerVariantProps
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export declare const drawer: DrawerRecipe
|
|
@@ -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 EditableVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type EditableVariantMap = {
|
|
10
|
+
[key in keyof EditableVariant]: Array<EditableVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type EditableVariantProps = {
|
|
14
|
+
[key in keyof EditableVariant]?: ConditionalValue<EditableVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface EditableRecipe {
|
|
18
|
+
__type: EditableVariantProps
|
|
19
|
+
(props?: EditableVariantProps): Pretty<Record<"root" | "area" | "label" | "preview" | "input" | "editTrigger" | "submitTrigger" | "cancelTrigger" | "control", string>>
|
|
20
|
+
raw: (props?: EditableVariantProps) => EditableVariantProps
|
|
21
|
+
variantMap: EditableVariantMap
|
|
22
|
+
variantKeys: Array<keyof EditableVariant>
|
|
23
|
+
splitVariantProps<Props extends EditableVariantProps>(props: Props): [EditableVariantProps, Pretty<DistributiveOmit<Props, keyof EditableVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: EditableVariantProps) => EditableVariantProps
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const editable: EditableRecipe
|
|
@@ -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 FieldVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type FieldVariantMap = {
|
|
10
|
+
[key in keyof FieldVariant]: Array<FieldVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type FieldVariantProps = {
|
|
14
|
+
[key in keyof FieldVariant]?: ConditionalValue<FieldVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface FieldRecipe {
|
|
18
|
+
__type: FieldVariantProps
|
|
19
|
+
(props?: FieldVariantProps): Pretty<Record<"root" | "errorText" | "helperText" | "input" | "label" | "select" | "textarea", string>>
|
|
20
|
+
raw: (props?: FieldVariantProps) => FieldVariantProps
|
|
21
|
+
variantMap: FieldVariantMap
|
|
22
|
+
variantKeys: Array<keyof FieldVariant>
|
|
23
|
+
splitVariantProps<Props extends FieldVariantProps>(props: Props): [FieldVariantProps, Pretty<DistributiveOmit<Props, keyof FieldVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: FieldVariantProps) => FieldVariantProps
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const field: FieldRecipe
|
|
@@ -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 FieldsetVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type FieldsetVariantMap = {
|
|
10
|
+
[key in keyof FieldsetVariant]: Array<FieldsetVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type FieldsetVariantProps = {
|
|
14
|
+
[key in keyof FieldsetVariant]?: ConditionalValue<FieldsetVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface FieldsetRecipe {
|
|
18
|
+
__type: FieldsetVariantProps
|
|
19
|
+
(props?: FieldsetVariantProps): Pretty<Record<"root" | "errorText" | "helperText" | "legend" | "control", string>>
|
|
20
|
+
raw: (props?: FieldsetVariantProps) => FieldsetVariantProps
|
|
21
|
+
variantMap: FieldsetVariantMap
|
|
22
|
+
variantKeys: Array<keyof FieldsetVariant>
|
|
23
|
+
splitVariantProps<Props extends FieldsetVariantProps>(props: Props): [FieldsetVariantProps, Pretty<DistributiveOmit<Props, keyof FieldsetVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: FieldsetVariantProps) => FieldsetVariantProps
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const fieldset: FieldsetRecipe
|
|
@@ -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 FileUploadVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type FileUploadVariantMap = {
|
|
10
|
+
[key in keyof FileUploadVariant]: Array<FileUploadVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type FileUploadVariantProps = {
|
|
14
|
+
[key in keyof FileUploadVariant]?: ConditionalValue<FileUploadVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface FileUploadRecipe {
|
|
18
|
+
__type: FileUploadVariantProps
|
|
19
|
+
(props?: FileUploadVariantProps): Pretty<Record<"root" | "dropzone" | "item" | "itemDeleteTrigger" | "itemGroup" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "label" | "trigger", string>>
|
|
20
|
+
raw: (props?: FileUploadVariantProps) => FileUploadVariantProps
|
|
21
|
+
variantMap: FileUploadVariantMap
|
|
22
|
+
variantKeys: Array<keyof FileUploadVariant>
|
|
23
|
+
splitVariantProps<Props extends FileUploadVariantProps>(props: Props): [FileUploadVariantProps, Pretty<DistributiveOmit<Props, keyof FileUploadVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: FileUploadVariantProps) => FileUploadVariantProps
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const fileUpload: FileUploadRecipe
|
|
@@ -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 FormLabelVariant {
|
|
6
|
+
/**
|
|
7
|
+
* @default "md"
|
|
8
|
+
*/
|
|
9
|
+
size: "sm" | "md" | "lg" | "xl"
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type FormLabelVariantMap = {
|
|
13
|
+
[key in keyof FormLabelVariant]: Array<FormLabelVariant[key]>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type FormLabelVariantProps = {
|
|
17
|
+
[key in keyof FormLabelVariant]?: ConditionalValue<FormLabelVariant[key]> | undefined
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface FormLabelRecipe {
|
|
21
|
+
__type: FormLabelVariantProps
|
|
22
|
+
(props?: FormLabelVariantProps): string
|
|
23
|
+
raw: (props?: FormLabelVariantProps) => FormLabelVariantProps
|
|
24
|
+
variantMap: FormLabelVariantMap
|
|
25
|
+
variantKeys: Array<keyof FormLabelVariant>
|
|
26
|
+
splitVariantProps<Props extends FormLabelVariantProps>(props: Props): [FormLabelVariantProps, Pretty<DistributiveOmit<Props, keyof FormLabelVariantProps>>]
|
|
27
|
+
getVariantProps: (props?: FormLabelVariantProps) => FormLabelVariantProps
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export declare const formLabel: FormLabelRecipe
|
|
@@ -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 HoverCardVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type HoverCardVariantMap = {
|
|
10
|
+
[key in keyof HoverCardVariant]: Array<HoverCardVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type HoverCardVariantProps = {
|
|
14
|
+
[key in keyof HoverCardVariant]?: ConditionalValue<HoverCardVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface HoverCardRecipe {
|
|
18
|
+
__type: HoverCardVariantProps
|
|
19
|
+
(props?: HoverCardVariantProps): Pretty<Record<"arrow" | "arrowTip" | "trigger" | "positioner" | "content", string>>
|
|
20
|
+
raw: (props?: HoverCardVariantProps) => HoverCardVariantProps
|
|
21
|
+
variantMap: HoverCardVariantMap
|
|
22
|
+
variantKeys: Array<keyof HoverCardVariant>
|
|
23
|
+
splitVariantProps<Props extends HoverCardVariantProps>(props: Props): [HoverCardVariantProps, Pretty<DistributiveOmit<Props, keyof HoverCardVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: HoverCardVariantProps) => HoverCardVariantProps
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const hoverCard: HoverCardRecipe
|
|
@@ -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 IconVariant {
|
|
6
|
+
/**
|
|
7
|
+
* @default "md"
|
|
8
|
+
*/
|
|
9
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl"
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type IconVariantMap = {
|
|
13
|
+
[key in keyof IconVariant]: Array<IconVariant[key]>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type IconVariantProps = {
|
|
17
|
+
[key in keyof IconVariant]?: ConditionalValue<IconVariant[key]> | undefined
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface IconRecipe {
|
|
21
|
+
__type: IconVariantProps
|
|
22
|
+
(props?: IconVariantProps): string
|
|
23
|
+
raw: (props?: IconVariantProps) => IconVariantProps
|
|
24
|
+
variantMap: IconVariantMap
|
|
25
|
+
variantKeys: Array<keyof IconVariant>
|
|
26
|
+
splitVariantProps<Props extends IconVariantProps>(props: Props): [IconVariantProps, Pretty<DistributiveOmit<Props, keyof IconVariantProps>>]
|
|
27
|
+
getVariantProps: (props?: IconVariantProps) => IconVariantProps
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export declare const icon: IconRecipe
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
export * from './badge';
|
|
3
|
+
export * from './button';
|
|
4
|
+
export * from './code';
|
|
5
|
+
export * from './form-label';
|
|
6
|
+
export * from './icon';
|
|
7
|
+
export * from './input';
|
|
8
|
+
export * from './kbd';
|
|
9
|
+
export * from './link';
|
|
10
|
+
export * from './skeleton';
|
|
11
|
+
export * from './spinner';
|
|
12
|
+
export * from './textarea';
|
|
13
|
+
export * from './text';
|
|
14
|
+
export * from './accordion';
|
|
15
|
+
export * from './alert';
|
|
16
|
+
export * from './avatar';
|
|
17
|
+
export * from './card';
|
|
18
|
+
export * from './carousel';
|
|
19
|
+
export * from './checkbox';
|
|
20
|
+
export * from './clipboard';
|
|
21
|
+
export * from './collapsible';
|
|
22
|
+
export * from './color-picker';
|
|
23
|
+
export * from './combobox';
|
|
24
|
+
export * from './date-picker';
|
|
25
|
+
export * from './dialog';
|
|
26
|
+
export * from './drawer';
|
|
27
|
+
export * from './editable';
|
|
28
|
+
export * from './field';
|
|
29
|
+
export * from './fieldset';
|
|
30
|
+
export * from './file-upload';
|
|
31
|
+
export * from './hover-card';
|
|
32
|
+
export * from './menu';
|
|
33
|
+
export * from './number-input';
|
|
34
|
+
export * from './pagination';
|
|
35
|
+
export * from './pin-input';
|
|
36
|
+
export * from './popover';
|
|
37
|
+
export * from './progress';
|
|
38
|
+
export * from './radio-button-group';
|
|
39
|
+
export * from './radio-group';
|
|
40
|
+
export * from './rating-group';
|
|
41
|
+
export * from './segment-group';
|
|
42
|
+
export * from './select';
|
|
43
|
+
export * from './signature-pad';
|
|
44
|
+
export * from './slider';
|
|
45
|
+
export * from './splitter';
|
|
46
|
+
export * from './switch-recipe';
|
|
47
|
+
export * from './table';
|
|
48
|
+
export * from './tabs';
|
|
49
|
+
export * from './tags-input';
|
|
50
|
+
export * from './toast';
|
|
51
|
+
export * from './toggle-group';
|
|
52
|
+
export * from './tooltip';
|
|
53
|
+
export * from './tree-view';
|
|
54
|
+
export * from './qr-code';
|
|
@@ -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 InputVariant {
|
|
6
|
+
/**
|
|
7
|
+
* @default "md"
|
|
8
|
+
*/
|
|
9
|
+
size: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl"
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type InputVariantMap = {
|
|
13
|
+
[key in keyof InputVariant]: Array<InputVariant[key]>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type InputVariantProps = {
|
|
17
|
+
[key in keyof InputVariant]?: ConditionalValue<InputVariant[key]> | undefined
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface InputRecipe {
|
|
21
|
+
__type: InputVariantProps
|
|
22
|
+
(props?: InputVariantProps): string
|
|
23
|
+
raw: (props?: InputVariantProps) => InputVariantProps
|
|
24
|
+
variantMap: InputVariantMap
|
|
25
|
+
variantKeys: Array<keyof InputVariant>
|
|
26
|
+
splitVariantProps<Props extends InputVariantProps>(props: Props): [InputVariantProps, Pretty<DistributiveOmit<Props, keyof InputVariantProps>>]
|
|
27
|
+
getVariantProps: (props?: InputVariantProps) => InputVariantProps
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export declare const input: InputRecipe
|
|
@@ -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 KbdVariant {
|
|
6
|
+
/**
|
|
7
|
+
* @default "md"
|
|
8
|
+
*/
|
|
9
|
+
size: "sm" | "md" | "lg"
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type KbdVariantMap = {
|
|
13
|
+
[key in keyof KbdVariant]: Array<KbdVariant[key]>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type KbdVariantProps = {
|
|
17
|
+
[key in keyof KbdVariant]?: ConditionalValue<KbdVariant[key]> | undefined
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface KbdRecipe {
|
|
21
|
+
__type: KbdVariantProps
|
|
22
|
+
(props?: KbdVariantProps): string
|
|
23
|
+
raw: (props?: KbdVariantProps) => KbdVariantProps
|
|
24
|
+
variantMap: KbdVariantMap
|
|
25
|
+
variantKeys: Array<keyof KbdVariant>
|
|
26
|
+
splitVariantProps<Props extends KbdVariantProps>(props: Props): [KbdVariantProps, Pretty<DistributiveOmit<Props, keyof KbdVariantProps>>]
|
|
27
|
+
getVariantProps: (props?: KbdVariantProps) => KbdVariantProps
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export declare const kbd: KbdRecipe
|
|
@@ -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 LinkVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type LinkVariantMap = {
|
|
10
|
+
[key in keyof LinkVariant]: Array<LinkVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type LinkVariantProps = {
|
|
14
|
+
[key in keyof LinkVariant]?: ConditionalValue<LinkVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface LinkRecipe {
|
|
18
|
+
__type: LinkVariantProps
|
|
19
|
+
(props?: LinkVariantProps): string
|
|
20
|
+
raw: (props?: LinkVariantProps) => LinkVariantProps
|
|
21
|
+
variantMap: LinkVariantMap
|
|
22
|
+
variantKeys: Array<keyof LinkVariant>
|
|
23
|
+
splitVariantProps<Props extends LinkVariantProps>(props: Props): [LinkVariantProps, Pretty<DistributiveOmit<Props, keyof LinkVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: LinkVariantProps) => LinkVariantProps
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const link: LinkRecipe
|