File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ import {
1414
1515export type TagType = "primary" | "secondary" | "danger" ;
1616
17+ /**
18+ * @deprecated Use Tag from TEDI-ready instead. This component will be removed from future versions.
19+ */
1720@Component ( {
1821 selector : "tedi-tag" ,
1922 imports : [ SpinnerComponent , IconComponent , TediTranslationPipe ] ,
Original file line number Diff line number Diff line change @@ -75,45 +75,6 @@ type Story = StoryObj<TagComponent & { content: string }>;
7575
7676export const Default : Story = { } ;
7777
78- export const WithCloseButton : Story = {
79- render : ( ) => ( {
80- template : `
81- <tedi-tag [closable]="true">
82- Tag
83- </tedi-tag>
84- ` ,
85- } ) ,
86- } ;
87-
88- export const WithLoader : Story = {
89- render : ( ) => ( {
90- template : `
91- <tedi-tag [loading]="true">
92- taotlus_scan_lk_1.pdf
93- </tedi-tag>
94- ` ,
95- } ) ,
96- } ;
97-
98- export const WithInvalidIcon : Story = {
99- render : ( ) => ( {
100- template : `
101- <tedi-row [gap]="1">
102- <tedi-col>
103- <tedi-tag type="danger">
104- taotlus_scan_lk_1.pdf
105- </tedi-tag>
106- </tedi-col>
107- <tedi-col>
108- <tedi-tag type="danger" [closable]="true">
109- taotlus_scan_lk_1.pdf
110- </tedi-tag>
111- </tedi-col>
112- </tedi-row>
113- ` ,
114- } ) ,
115- } ;
116-
11778export const Primary : Story = {
11879 render : ( props ) => ( {
11980 props,
You can’t perform that action at this time.
0 commit comments