Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Chore: Deprecate components available in @grafana/ui #115

Merged
merged 3 commits into from
Feb 8, 2024

Conversation

Clarity-89
Copy link
Contributor

@Clarity-89 Clarity-89 commented Feb 2, 2024

  • Add deprecation warnings to the components that are available in grafana/ui to reduce the imports of those components from this package.
  • Remove the SecretInput and SecretTextArea components.

@Clarity-89 Clarity-89 self-assigned this Feb 2, 2024
src/ConfigEditor/Auth/common/SecretInput.tsx Outdated Show resolved Hide resolved
@@ -10,6 +10,9 @@ export interface SpaceProps {
layout?: 'block' | 'inline';
}

/**
* @deprecated use the Space component from @grafana/ui instead. Available starting from @grafana/[email protected]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10.4 is not released yet, but I've added this here to show that an alternative is available.

@Clarity-89 Clarity-89 requested a review from cletter7 February 2, 2024 07:36
Copy link
Member

@ivanahuckova ivanahuckova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Clarity-89 Clarity-89 merged commit e3b16e2 into main Feb 8, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants