Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: reverted DB logo instead of placeholder usage #3541

Merged
merged 9 commits into from
Dec 17, 2024
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@
- text: Number
- spinbutton "Number": "123456"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / "
- text: x_placeholder" / "
- link "Requirement arrow_up_right\" / \""
- text: Label
- textbox "Label"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@
- text: Number
- spinbutton "Number": "123456"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / "
- text: x_placeholder" / "
- link "Requirement arrow_up_right\" / \""
- text: Label
- textbox "Label"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@
- text: Number
- spinbutton "Number": "123456"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / "
- text: x_placeholder" / "
- link "Requirement arrow_up_right\" / \""
- text: Label
- textbox "Label"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@
- text: Number
- spinbutton "Number": "123456"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / "
- text: x_placeholder" / "
- link "Requirement arrow_up_right\" / \""
- text: Label
- textbox "Label"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@
- text: Number
- spinbutton "Number": "123456"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / "
- text: x_placeholder" / "
- link "Requirement arrow_up_right\" / \""
- text: Label
- textbox "Label"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- text: (Default) Text
- text: (Default) Text
- status
- text: chevron_down" / " db" / " Label
- text: chevron_down" / " x_placeholder" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- text: (Default) Text
- text: (Default) Text
- status
- text: chevron_down" / " db" / " Label
- text: chevron_down" / " x_placeholder" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- text: (Default) Text
- text: (Default) Text
- status
- text: chevron_down" / " db" / " Label
- text: chevron_down" / " x_placeholder" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- text: (Default) Text
- text: (Default) Text
- status
- text: chevron_down" / " db" / " Label
- text: chevron_down" / " x_placeholder" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- text: (Default) Text
- text: (Default) Text
- status
- text: chevron_down" / " db" / " Label
- text: chevron_down" / " x_placeholder" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
- tab "(Default) Text": "on"
- text: (Default) Text
- tablist:
- text: db" / "
- tab "db\" / \" Text - Icon (Leading)": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Text - Icon (Leading)": "on"
- text: Text - Icon (Leading)
- tablist:
- tab "Text - Icon (Trailing) db\" / \"": "on"
- text: Text - Icon (Trailing) db" / "
- tab "Text - Icon (Trailing) x_placeholder\" / \"": "on"
- text: Text - Icon (Trailing) x_placeholder" / "
- tablist:
- text: db" / "
- tab "db\" / \" Icon": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Icon": "on"
- text: Icon
- link "Behaviour arrow_up_right\" / \""
- tablist:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
- tab "(Default) Text": "on"
- text: (Default) Text
- tablist:
- text: db" / "
- tab "db\" / \" Text - Icon (Leading)": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Text - Icon (Leading)": "on"
- text: Text - Icon (Leading)
- tablist:
- tab "Text - Icon (Trailing) db\" / \"": "on"
- text: Text - Icon (Trailing) db" / "
- tab "Text - Icon (Trailing) x_placeholder\" / \"": "on"
- text: Text - Icon (Trailing) x_placeholder" / "
- tablist:
- text: db" / "
- tab "db\" / \" Icon": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Icon": "on"
- text: Icon
- link "Behaviour arrow_up_right\" / \""
- tablist:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
- tab "(Default) Text": "on"
- text: (Default) Text
- tablist:
- text: db" / "
- tab "db\" / \" Text - Icon (Leading)": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Text - Icon (Leading)": "on"
- text: Text - Icon (Leading)
- tablist:
- tab "Text - Icon (Trailing) db\" / \"": "on"
- text: Text - Icon (Trailing) db" / "
- tab "Text - Icon (Trailing) x_placeholder\" / \"": "on"
- text: Text - Icon (Trailing) x_placeholder" / "
- tablist:
- text: db" / "
- tab "db\" / \" Icon": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Icon": "on"
- text: Icon
- link "Behaviour arrow_up_right\" / \""
- tablist:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
- tab "(Default) Text": "on"
- text: (Default) Text
- tablist:
- text: db" / "
- tab "db\" / \" Text - Icon (Leading)": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Text - Icon (Leading)": "on"
- text: Text - Icon (Leading)
- tablist:
- tab "Text - Icon (Trailing) db\" / \"": "on"
- text: Text - Icon (Trailing) db" / "
- tab "Text - Icon (Trailing) x_placeholder\" / \"": "on"
- text: Text - Icon (Trailing) x_placeholder" / "
- tablist:
- text: db" / "
- tab "db\" / \" Icon": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Icon": "on"
- text: Icon
- link "Behaviour arrow_up_right\" / \""
- tablist:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
- tab "(Default) Text": "on"
- text: (Default) Text
- tablist:
- text: db" / "
- tab "db\" / \" Text - Icon (Leading)": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Text - Icon (Leading)": "on"
- text: Text - Icon (Leading)
- tablist:
- tab "Text - Icon (Trailing) db\" / \"": "on"
- text: Text - Icon (Trailing) db" / "
- tab "Text - Icon (Trailing) x_placeholder\" / \"": "on"
- text: Text - Icon (Trailing) x_placeholder" / "
- tablist:
- text: db" / "
- tab "db\" / \" Icon": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Icon": "on"
- text: Icon
- link "Behaviour arrow_up_right\" / \""
- tablist:
Expand Down
11 changes: 8 additions & 3 deletions packages/components/src/components/tab-item/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
active
</label>

<label class="db-tab-item" htmlFor="test3" role="tab" data-icon="db">
<label
class="db-tab-item"
htmlFor="test3"
role="tab"
data-icon="x_placeholder"
>
<input type="radio" name="test" id="test3" />
icon - text (leading)
</label>
Expand All @@ -25,7 +30,7 @@
class="db-tab-item"
htmlFor="test4"
role="tab"
data-icon-after="db"
data-icon-after="x_placeholder"
>
<input type="radio" name="test" id="test4" />
text - icon (trailing)
Expand All @@ -35,7 +40,7 @@
class="db-tab-item"
htmlFor="test5"
role="tab"
data-icon="db"
data-icon="x_placeholder"
data-no-text="true"
>
<input type="radio" name="test" id="test5" />
Expand Down
18 changes: 14 additions & 4 deletions packages/components/src/components/tab-list/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ <h1>Horizontal</h1>
active
</label>

<label class="db-tab" htmlFor="test3" role="tab" data-icon="db">
<label
class="db-tab"
htmlFor="test3"
role="tab"
data-icon="x_placeholder"
>
<input type="radio" name="test" id="test3" />
icon - text (leading)
</label>
Expand All @@ -31,7 +36,7 @@ <h1>Horizontal</h1>
class="db-tab"
htmlFor="test4"
role="tab"
data-icon-after="db"
data-icon-after="x_placeholder"
>
<input type="radio" name="test" id="test4" />
text - icon (trailing)
Expand All @@ -54,7 +59,12 @@ <h1>Vertical</h1>
active
</label>

<label class="db-tab" htmlFor="test3v" role="tab" data-icon="db">
<label
class="db-tab"
htmlFor="test3v"
role="tab"
data-icon="x_placeholder"
>
<input type="radio" name="testv" id="test3v" />
icon - text (leading)
</label>
Expand All @@ -63,7 +73,7 @@ <h1>Vertical</h1>
class="db-tab"
htmlFor="test4v"
role="tab"
data-icon-after="db"
data-icon-after="x_placeholder"
>
<input type="radio" name="testv" id="test4v" />
text - icon (trailing)
Expand Down
8 changes: 4 additions & 4 deletions showcases/shared/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,22 +161,22 @@
"name": "Text - Leading Icon",
"props": {
"label": "Label",
"icon": "db"
"icon": "x_placeholder"
}
},
{
"name": "Text - Leading Icon - Trailing Icon",
"props": {
"label": "Label",
"icon": "db",
"iconAfter": "db"
"icon": "x_placeholder",
"iconAfter": "x_placeholder"
}
},
{
"name": "Text - Trailing Icon",
"props": {
"label": "Label",
"iconAfter": "db"
"iconAfter": "x_placeholder"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion showcases/shared/select.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
}
],
"label": "Label",
"icon": "db"
"icon": "x_placeholder"
}
}
]
Expand Down
6 changes: 3 additions & 3 deletions showcases/shared/tab-item.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,20 @@
"name": "Text - Icon (Leading)",
"props": {
"label": "Text - Icon (Leading)",
"icon": "db"
"icon": "x_placeholder"
}
},
{
"name": "Text - Icon (Trailing)",
"props": {
"label": "Text - Icon (Trailing)",
"iconAfter": "db"
"iconAfter": "x_placeholder"
}
},
{
"name": "Icon",
"props": {
"icon": "db",
"icon": "x_placeholder",
"noText": true
}
}
Expand Down
Loading