![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@dynatrace/barista-components
Advanced tools
The dt-tag
wraps text or key-value pairs, which then is wrapped by
dt-tag-list
.
You have to import the DtTagModule
to use the dt-tag-list
and the dt-tag
:
@NgModule({
imports: [DtTagModule],
})
class MyModule {}
To display tags in your view, use the <dt-tag-list>
wrapper element put
<dt-tag>
elements inside the wrapper.
In addition <dt-tag>
allows other selectors to be used.
<dt-tag>
or [dt-tag]
or [dtTag]
- To create the tag itself. Attribute
selectors can be used on an anchor tag for example.<dt-tag-key>
or [dt-tag-key]
or [dtTagKey]
- To identify a content child
as a key/attribute for the tag.Name | Type | Default | Description |
---|---|---|---|
value | T | undefined | This can be used to bind a specific value to a tag. |
removable | boolean | false | If this is set to true , the tag can be removed by the user by clicking the abort icon. |
Name | Type | Default | Description |
---|---|---|---|
removed | event<T> | This event is fired, when the user triggers the abort icon. |
The dt-tag-list
element evaluates whether an amount of dt-tag
elements fit
in one line and displays a 'more' button when it doesn't fit. If provided
dt-tag-add
will always be displayed at the end of the dt-tag-list
.
Name | Type | Default | Description |
---|---|---|---|
aria-label | string | undefinded | Used to set the 'aria-label' attribute on the underlying input element. |
The dt-tag-add
button allows manual tag entries to an entity. The tag add
button should be placed inside the dt-tag-list
wrapper and after your dt-tag
elements.
Name | Type | Default | Description |
---|---|---|---|
placeholder | string | undefined | Placeholder string for the add tag input overlay. |
aria-label | string | undefined | Used to set the 'aria-label' attribute on the underlying input element. |
title | string | Add Tag | Title of the overlay and 'Add Tag' button. |
submitLabel | string | Add | Title of the 'Add' submit button. |
label | string | undefined | Title of the 'Add Tag' button. Used to overwrite the default label. |
Name | Type | Description |
---|---|---|
submitted | EventEmitter<event> | Emits event when the form is submitted. With the default form the event contains a tag key that holds the value of the input. |
closed | EventEmitter<void> | Emits event when the input overlay is closed. |
Name | Type | Description |
---|---|---|
open() | void | Opens the input overlay. |
close() | void | Closes the input overlay. |
submit() | void | Triggers submitted if the form is valid. |
A custom form can be passed to the dt-tag-add
component. You need to include a
FormGroupDirective
(from @angular/forms
) inside the ng-content and the
form's value will be used when the form is submitted in the output.
FAQs
Dynatrace components for Angular
The npm package @dynatrace/barista-components receives a total of 18 weekly downloads. As such, @dynatrace/barista-components popularity was classified as not popular.
We found that @dynatrace/barista-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.