Skip to content

Commit a9d4ef9

Browse files
committed
remove basic since it's not actually supported
1 parent 9d0f3b7 commit a9d4ef9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/tag/tag.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export type TagType = "beta" | "community" | "custom" | "dedicated" | "experimen
1212
/**
1313
* Supported tag types for carbon v10
1414
*/
15-
export type TagTypeExperimental = "basic" | "red" | "magenta" | "purple" | "blue" | "cyan" | "teal" | "green" | "cool-gray" | "warm-gray";
15+
export type TagTypeExperimental = "red" | "magenta" | "purple" | "blue" | "cyan" | "teal" | "green" | "cool-gray" | "warm-gray";
1616

1717
/**
1818
* Component that represents a tag for labelling/categorizing using keywords

src/tag/tag.stories.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ storiesOf("Tag", module)
2121
.add("Basic", () => ({
2222
template: `
2323
<app-experimental-component [(isExperimental)]="experimental"></app-experimental-component>
24-
<ibm-tag [type]="(!experimental ? 'ibm' : 'basic')" class="foo {{test}}">{{ !experimental ? "IBM" : "Basic" }}</ibm-tag>
24+
<ibm-tag [type]="(!experimental ? 'ibm' : 'warm-gray')" class="foo {{test}}">{{ !experimental ? "IBM" : "Warm-gray" }}</ibm-tag>
2525
<br><br>
2626
<ibm-tag [type]="(!experimental ? 'beta' : 'red')">{{ !experimental ? "Beta" : "Red" }}</ibm-tag>
2727
<br><br>
@@ -38,8 +38,6 @@ storiesOf("Tag", module)
3838
<ibm-tag [type]="(!experimental ? 'private' : 'green')">{{ !experimental ? "Private" : "Green" }}</ibm-tag>
3939
<br><br>
4040
<ibm-tag [type]="(!experimental ? 'third-party' : 'cool-gray')">{{ !experimental ? "Third-party" : "Cool-gray" }}</ibm-tag>
41-
<br><br>
42-
<ibm-tag *ngIf="experimental" type="warm-gray">Third-party</ibm-tag>
4341
`,
4442
props: {
4543
experimental: false

0 commit comments

Comments
 (0)