@spinnaker/core 0.11.4 → 0.12.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 (49) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/dist/cloudProvider/CloudProviderLogo.d.ts +0 -5
  3. package/dist/config/settings.d.ts +1 -0
  4. package/dist/core.module.d.ts +1 -1
  5. package/dist/index.js +40 -32
  6. package/dist/index.js.map +1 -1
  7. package/dist/managed/constraints/registry.d.ts +1 -1
  8. package/dist/managed/environmentBaseElements/EnvironmentsRender.d.ts +3 -2
  9. package/dist/managed/graphql/graphql-sdk.d.ts +35 -0
  10. package/dist/managed/overview/PreviewEnvironments.d.ts +8 -0
  11. package/dist/managed/resources/ToggleResourceManagement.d.ts +9 -0
  12. package/dist/managed/resources/resourceRegistry.d.ts +1 -1
  13. package/dist/managed/utils/defaults.d.ts +1 -1
  14. package/dist/managed/utils/useNotifyOnError.hook.d.ts +6 -0
  15. package/dist/pipeline/service/execution.service.d.ts +2 -1
  16. package/package.json +6 -6
  17. package/src/cloudProvider/CloudProviderLogo.tsx +0 -5
  18. package/src/cloudProvider/CloudProviderRegistry.ts +6 -65
  19. package/src/cloudProvider/providerSelection/ProviderSelectionService.spec.ts +96 -0
  20. package/src/cloudProvider/providerSelection/ProviderSelectionService.ts +6 -8
  21. package/src/cluster/allClusters.html +1 -0
  22. package/src/config/settings.ts +2 -0
  23. package/src/core.module.ts +1 -1
  24. package/src/function/function.dataSource.ts +1 -0
  25. package/src/instance/details/multipleInstances.controller.js +6 -0
  26. package/src/instance/details/multipleInstances.view.html +1 -0
  27. package/src/managed/config/Configuration.tsx +8 -1
  28. package/src/managed/config/DeliveryConfig.tsx +3 -9
  29. package/src/managed/config/GitIntegration.tsx +8 -1
  30. package/src/managed/environmentBaseElements/EnvironmentsRender.tsx +7 -1
  31. package/src/managed/externals/toggleResourceManagement.tsx +12 -59
  32. package/src/managed/graphql/graphql-sdk.ts +54 -0
  33. package/src/managed/graphql/schema.graphql +1 -0
  34. package/src/managed/overview/EnvironmentsOverview.tsx +8 -11
  35. package/src/managed/overview/PreviewEnvironments.tsx +47 -0
  36. package/src/managed/overview/Resource.tsx +76 -34
  37. package/src/managed/overview/artifact/ArtifactVersionTasks.tsx +3 -10
  38. package/src/managed/overview/artifact/Constraints.tsx +3 -11
  39. package/src/managed/overview/queries.graphql +8 -0
  40. package/src/managed/resources/ToggleResourceManagement.tsx +53 -0
  41. package/src/managed/utils/defaults.ts +1 -1
  42. package/src/managed/utils/useNotifyOnError.hook.ts +22 -0
  43. package/src/modal/modals.less +1 -1
  44. package/src/pipeline/details/SingleExecutionDetails.tsx +1 -1
  45. package/src/pipeline/service/execution.service.ts +7 -2
  46. package/src/presentation/main.less +3 -3
  47. package/src/serverGroup/details/multipleServerGroups.controller.js +6 -0
  48. package/src/serverGroup/details/multipleServerGroups.view.html +1 -0
  49. package/src/utils/clipboard/CopyToClipboard.tsx +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,59 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.12.0](https://github.com/spinnaker/deck/compare/@spinnaker/core@0.11.7...@spinnaker/core@0.12.0) (2021-09-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **core:** Ensure text is stringin CopyToClipboard ([#9704](https://github.com/spinnaker/deck/issues/9704)) ([78da1d8](https://github.com/spinnaker/deck/commit/78da1d8fd2a98533fd202506369d320207e45fc8))
12
+ * **kubernetes:** hide ad-hoc infrastructure action buttons when spinnaker has multiple accounts ([#9707](https://github.com/spinnaker/deck/issues/9707)) ([337ec29](https://github.com/spinnaker/deck/commit/337ec291494bc8d7ff863cd2a44ce38ab98229c1))
13
+
14
+
15
+ ### Features
16
+
17
+ * **md:** added a default component if preview environments configured but don't exist ([#9713](https://github.com/spinnaker/deck/issues/9713)) ([9432fd0](https://github.com/spinnaker/deck/commit/9432fd0e5419b0c2015f1b968b95c305acb928e1))
18
+
19
+
20
+
21
+
22
+
23
+ ## [0.11.7](https://github.com/spinnaker/deck/compare/@spinnaker/core@0.11.6...@spinnaker/core@0.11.7) (2021-09-24)
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * **core/cloudProvider:** remove unused ICloudProviderLogoState interface ([57d606c](https://github.com/spinnaker/deck/commit/57d606cb2442b5eb1e465b3cd5bc9f5235ae9d92))
29
+ * **core:** previous commit updated the font to sans serif 3, but not the styleguide. ([#9700](https://github.com/spinnaker/deck/issues/9700)) ([b01afa9](https://github.com/spinnaker/deck/commit/b01afa95ca19455e7a316844101f080adef99ca9))
30
+ * **md:** allow users to enable resource management ([#9690](https://github.com/spinnaker/deck/issues/9690)) ([455be38](https://github.com/spinnaker/deck/commit/455be38a5fee8fbcb2345b6026844e00923418fb))
31
+
32
+
33
+
34
+
35
+
36
+ ## [0.11.6](https://github.com/spinnaker/deck/compare/@spinnaker/core@0.11.5...@spinnaker/core@0.11.6) (2021-09-23)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * **md:** notify users on error in mutation ([#9691](https://github.com/spinnaker/deck/issues/9691)) ([ad99afb](https://github.com/spinnaker/deck/commit/ad99afbef6fa55bb570d8c2530667b24b2d02c79))
42
+
43
+
44
+
45
+
46
+
47
+ ## [0.11.5](https://github.com/spinnaker/deck/compare/@spinnaker/core@0.11.4...@spinnaker/core@0.11.5) (2021-09-23)
48
+
49
+
50
+ ### Bug Fixes
51
+
52
+ * **aws/lambda:** Fix functions icon on menu ([#9686](https://github.com/spinnaker/deck/issues/9686)) ([9e6aae3](https://github.com/spinnaker/deck/commit/9e6aae34af206ea6d280fac1b892d7aba7f38abc))
53
+ * **pipelines:** Reduce pipelineConfig fetches ([#9677](https://github.com/spinnaker/deck/issues/9677)) ([106d00b](https://github.com/spinnaker/deck/commit/106d00b942ce19c5a316a130963c411171893108))
54
+
55
+
56
+
57
+
58
+
6
59
  ## [0.11.4](https://github.com/spinnaker/deck/compare/@spinnaker/core@0.11.3...@spinnaker/core@0.11.4) (2021-09-21)
7
60
 
8
61
 
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './cloudProviderLogo.less';
3
2
  export interface ICloudProviderLogoProps {
4
3
  provider: string;
@@ -6,8 +5,4 @@ export interface ICloudProviderLogoProps {
6
5
  width: string;
7
6
  showTooltip?: boolean;
8
7
  }
9
- export interface ICloudProviderLogoState {
10
- tooltip?: string;
11
- logo: React.ComponentType<React.SVGProps<HTMLOrSVGElement>>;
12
- }
13
8
  export declare const CloudProviderLogo: ({ height, provider, showTooltip, width }: ICloudProviderLogoProps) => JSX.Element;
@@ -81,6 +81,7 @@ export interface IManagedDeliveryURLs {
81
81
  pinning: string;
82
82
  resourceStatus: string;
83
83
  markAsBad: string;
84
+ previewEnvironments?: string;
84
85
  }
85
86
  export interface ISpinnakerSettings {
86
87
  [key: string]: any;
@@ -10,7 +10,7 @@ import 'ui-select/dist/select.css';
10
10
  import '@spinnaker/styleguide/public/styleguide.min.css';
11
11
  import 'Select2/select2.css';
12
12
  import 'select2-bootstrap-css/select2-bootstrap.css';
13
- import 'source-sans-pro/source-sans-pro.css';
13
+ import 'source-sans/source-sans-3.css';
14
14
  import './fonts/icons.css';
15
15
  import '@uirouter/angularjs/release/stateEvents';
16
16
  import './analytics/GoogleAnalyticsInitializer';