@hiver/connector-admin 4.21.2 → 4.22.0-appsActivation-beta.0

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.
Files changed (28) hide show
  1. package/index.d.ts +18 -1
  2. package/index.d.ts.map +1 -1
  3. package/index.es.js +11181 -10788
  4. package/index.umd.js +821 -679
  5. package/package.json +1 -1
  6. package/v2/app/connectors/pages/app-detail/index.d.ts.map +1 -1
  7. package/v2/app/connectors/pages/app-detail/registry.d.ts.map +1 -1
  8. package/v2/app/connectors/pages/app-detail/style.d.ts +9 -0
  9. package/v2/app/connectors/pages/app-detail/style.d.ts.map +1 -1
  10. package/v2/constants/global-constants.d.ts +1 -0
  11. package/v2/constants/global-constants.d.ts.map +1 -1
  12. package/v2/features/auth/components/connector-auth-card/__tests__/auth-card.test.d.ts +2 -0
  13. package/v2/features/auth/components/connector-auth-card/__tests__/auth-card.test.d.ts.map +1 -0
  14. package/v2/features/auth/components/connector-auth-card/index.d.ts +3 -0
  15. package/v2/features/auth/components/connector-auth-card/index.d.ts.map +1 -0
  16. package/v2/features/auth/components/connector-auth-card/styles.d.ts +51 -0
  17. package/v2/features/auth/components/connector-auth-card/styles.d.ts.map +1 -0
  18. package/v2/features/auth/components/connector-auth-card/types.d.ts +111 -0
  19. package/v2/features/auth/components/connector-auth-card/types.d.ts.map +1 -0
  20. package/v2/features/clickup/__tests__/clickup-controller.test.d.ts +2 -0
  21. package/v2/features/clickup/__tests__/clickup-controller.test.d.ts.map +1 -0
  22. package/v2/features/clickup/controller.d.ts +28 -0
  23. package/v2/features/clickup/controller.d.ts.map +1 -0
  24. package/v2/testing/mocks/handlers/connector-template.d.ts.map +1 -1
  25. package/v2/testing/test-utils.d.ts +11 -1
  26. package/v2/testing/test-utils.d.ts.map +1 -1
  27. package/v2/types/exposedTypes.d.ts +11 -0
  28. package/v2/types/exposedTypes.d.ts.map +1 -1
package/index.d.ts CHANGED
@@ -2,8 +2,25 @@ export { ConnectorsApp } from './bootstrap';
2
2
  export { initConnectorsBifrost, getConnectorsBifrostConfigs, HiverConnectorBifrostAuth } from '@connector/bifrost';
3
3
  export { getMetaData, getEnabledAuthenticatedConnectors, getConnectorFieldDropdownOptions, getConnectorStaticFieldOptions, getConnectorDynamicFieldOptions } from '@connector/utils';
4
4
  export { AutomationMapDefaults } from './app/automation-map-fields';
5
+ export { ConnectorAuthCard } from './v2/features/auth/components/connector-auth-card';
5
6
  export type { ISectionItems, IActionButtons, ISections, IMetaData, ITemplateUpdates, Connector, ConnectorFieldOption } from '@connector/utils';
6
7
  export type { IInboxData, IRolesData, ConnectorsAdminFunctions } from './types/exposedTypes';
7
- export { connectorAdminThemeDefaults, resolveConnectorAdminThemeTokens } from './v2/theme/connector-admin-theme';
8
+ /**
9
+ * The theme tokens, and the CSS-variable map built from them.
10
+ *
11
+ * `connectorAdminThemeCssVariables` is newly exported (2026-09-21) because a host
12
+ * rendering these components **outside** the admin app's own root cannot get the
13
+ * tokens any other way. `style.css` ships only a static subset scoped to
14
+ * `.connectorsAdmin-v2, .connectorAdmin-portal`; the fuller set — including
15
+ * `--connector-admin-primary-action`, which `ConnectorAuthCard`'s CTA paints with
16
+ * — is produced here at runtime and applied by the host as inline variables.
17
+ *
18
+ * `web` hit exactly this: it imports `style.css`, mounts the published
19
+ * `ConnectorAuthCard` in its activation assistant, and the button rendered with
20
+ * no background because that token is not in the stylesheet. Additive export, so
21
+ * no consumer changes.
22
+ */
23
+ export { connectorAdminThemeCssVariables, connectorAdminThemeDefaults, resolveConnectorAdminThemeTokens } from './v2/theme/connector-admin-theme';
8
24
  export type { ConnectorAdminColorScheme, ConnectorAdminThemeConfig, ConnectorAdminThemeTokens } from './v2/theme/connector-admin-theme';
25
+ export type { ConnectorAuthCardState, ConnectorAuthConnectionStatus, ConnectorAuthFieldType, ConnectorAuthOutcome, IConnectorAuthCardProps, IConnectorAuthError, IConnectorAuthField, IConnectorAuthManualConfig, IConnectorAuthProvider } from './v2/features/auth/components/connector-auth-card/types';
9
26
  //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AACrB,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACnH,OAAO,EACL,WAAW,EACX,iCAAiC,EACjC,gCAAgC,EAChC,8BAA8B,EAC9B,+BAA+B,EAChC,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,YAAY,EACV,aAAa,EACb,cAAc,EACd,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,oBAAoB,EACrB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAC7F,OAAO,EAAE,2BAA2B,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AACjH,YAAY,EACV,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,kCAAkC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AACrB,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACnH,OAAO,EACL,WAAW,EACX,iCAAiC,EACjC,gCAAgC,EAChC,8BAA8B,EAC9B,+BAA+B,EAChC,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,m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