@backstage/core-app-api 1.8.2-next.0 → 1.9.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @backstage/core-app-api
2
2
 
3
+ ## 1.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a77ddf7ccd71: add login in popup options to config popup width and height
8
+
9
+ ### Patch Changes
10
+
11
+ - 8174cf4c0edf: Fixing MUI / Material UI references
12
+ - Updated dependencies
13
+ - @backstage/core-plugin-api@1.5.3
14
+ - @backstage/config@1.0.8
15
+ - @backstage/types@1.1.0
16
+ - @backstage/version-bridge@1.0.4
17
+
18
+ ## 1.8.2-next.1
19
+
20
+ ### Patch Changes
21
+
22
+ - 8174cf4c0edf: Fixing MUI / Material UI references
23
+ - Updated dependencies
24
+ - @backstage/core-plugin-api@1.5.3-next.1
25
+ - @backstage/config@1.0.8
26
+ - @backstage/types@1.1.0
27
+ - @backstage/version-bridge@1.0.4
28
+
3
29
  ## 1.8.2-next.0
4
30
 
5
31
  ### Patch Changes
@@ -873,7 +899,7 @@
873
899
 
874
900
  Deprecated the `SamlSession` and `GithubSession` types.
875
901
 
876
- - 784d8078ab: Removed direct and transitive MUI dependencies.
902
+ - 784d8078ab: Removed direct and transitive Material UI dependencies.
877
903
  - Updated dependencies
878
904
  - @backstage/config@0.1.12
879
905
  - @backstage/core-plugin-api@0.5.0
@@ -1072,7 +1098,7 @@
1072
1098
 
1073
1099
  The first and most commonly used one is `createApp` from the new `@backstage/app-defaults` package, which behaves just like the existing `createApp`. In the future this method is likely to be expanded to add more APIs and other pieces into the default setup, for example the Utility APIs from `@backstage/integration-react`.
1074
1100
 
1075
- The other option that we now provide is to use `createSpecializedApp` from `@backstage/core-app-api`. This is a more low-level API where you need to provide a full set of options, including your own `components`, `icons`, `defaultApis`, and `themes`. The `createSpecializedApp` way of creating an app is particularly useful if you are not using `@backstage/core-components` or MUI, as it allows you to avoid those dependencies completely.
1101
+ The other option that we now provide is to use `createSpecializedApp` from `@backstage/core-app-api`. This is a more low-level API where you need to provide a full set of options, including your own `components`, `icons`, `defaultApis`, and `themes`. The `createSpecializedApp` way of creating an app is particularly useful if you are not using `@backstage/core-components` or Material UI, as it allows you to avoid those dependencies completely.
1076
1102
 
1077
1103
  - 475edb5bc5: move the BehaviorSubject init into the constructor
1078
1104
  - Updated dependencies
package/dist/index.d.ts CHANGED
@@ -138,12 +138,29 @@ declare class GoogleAuth {
138
138
  static create(options: OAuthApiCreateOptions): typeof googleAuthApiRef.T;
139
139
  }
140
140
 
141
+ /**
142
+ * Options for login popup
143
+ * @public
144
+ */
145
+ type PopupOptions = {
146
+ size?: {
147
+ width: number;
148
+ height: number;
149
+ fullscreen?: never;
150
+ } | {
151
+ width?: never;
152
+ height?: never;
153
+ fullscreen: boolean;
154
+ };
155
+ };
156
+
141
157
  /**
142
158
  * OAuth2 create options.
143
159
  * @public
144
160
  */
145
161
  type OAuth2CreateOptions = OAuthApiCreateOptions & {
146
162
  scopeTransform?: (scopes: string[]) => string[];
163
+ popupOptions?: PopupOptions;
147
164
  };
148
165
  /**
149
166
  * Implements a generic OAuth2 flow for auth.
@@ -974,7 +991,7 @@ type AppContext = {
974
991
  * however, this low-level API allows you to provide a full set of options,
975
992
  * including your own `components`, `icons`, `defaultApis`, and `themes`. This
976
993
  * is particularly useful if you are not using `@backstage/core-components` or
977
- * MUI, as it allows you to avoid those dependencies completely.
994
+ * Material UI, as it allows you to avoid those dependencies completely.
978
995
  */
979
996
  declare function createSpecializedApp(options: AppOptions): BackstageApp;
980
997
 
@@ -1033,4 +1050,4 @@ type FeatureFlaggedProps = {
1033
1050
  */
1034
1051
  declare const FeatureFlagged: (props: FeatureFlaggedProps) => JSX.Element;
1035
1052
 
1036
- export { AlertApiForwarder, ApiFactoryHolder, ApiFactoryRegistry, ApiFactoryScope, ApiProvider, ApiProviderProps, ApiResolver, AppComponents, AppConfigLoader, AppContext, AppIcons, AppOptions, AppRouteBinder, AppRouter, AppRouterProps, AppThemeSelector, AtlassianAuth, AuthApiCreateOptions, BackstageApp, BitbucketAuth, BitbucketServerAuth, BitbucketServerSession, BitbucketSession, BootErrorPageProps, ErrorAlerter, ErrorApiForwarder, ErrorBoundaryFallbackProps, FeatureFlagged, FeatureFlaggedProps, FetchMiddleware, FetchMiddlewares, FlatRoutes, FlatRoutesProps, FrontendHostDiscovery, GithubAuth, GitlabAuth, GoogleAuth, LocalStorageFeatureFlags, MicrosoftAuth, MultipleAnalyticsApi, NoOpAnalyticsApi, OAuth2, OAuth2CreateOptions, OAuth2Session, OAuthApiCreateOptions, OAuthRequestManager, OktaAuth, OneLoginAuth, OneLoginAuthCreateOptions, SamlAuth, SignInPageProps, UnhandledErrorForwarder, UrlPatternDiscovery, WebStorage, createFetchApi, createSpecializedApp, defaultConfigLoader };
1053
+ export { AlertApiForwarder, ApiFactoryHolder, ApiFactoryRegistry, ApiFactoryScope, ApiProvider, ApiProviderProps, ApiResolver, AppComponents, AppConfigLoader, AppContext, AppIcons, AppOptions, AppRouteBinder, AppRouter, AppRouterProps, AppThemeSelector, AtlassianAuth, AuthApiCreateOptions, BackstageApp, BitbucketAuth, BitbucketServerAuth, BitbucketServerSession, BitbucketSession, BootErrorPageProps, ErrorAlerter, ErrorApiForwarder, ErrorBoundaryFallbackProps, FeatureFlagged, FeatureFlaggedProps, FetchMiddleware, FetchMiddlewares, FlatRoutes, FlatRoutesProps, FrontendHostDiscovery, GithubAuth, GitlabAuth, GoogleAuth, LocalStorageFeatureFlags, MicrosoftAuth, MultipleAnalyticsApi, NoOpAnalyticsApi, OAuth2, OAuth2CreateOptions, OAuth2Session, OAuthApiCreateOptions, OAuthRequestManager, OktaAuth, OneLoginAuth, OneLoginAuthCreateOptions, PopupOptions, SamlAuth, SignInPageProps, UnhandledErrorForwarder, UrlPatternDiscovery, WebStorage, createFetchApi, createSpecializedApp, defaultConfigLoader };