Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
design-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
design-system
Commits
ee1b5270
Commit
ee1b5270
authored
1 year ago
by
Alissa Cheng
Browse files
Options
Downloads
Plain Diff
Merge branch 'add-up-icon' into 'main'
Add up icon See merge request
!28
parents
d48aca5e
39a2f742
No related branches found
No related tags found
1 merge request
!28
Add up icon
Pipeline
#73836
passed
1 year ago
Stage: test
Stage: build
Stage: release
Stage: deploy
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/assets/icons/index.ts
+2
-0
2 additions, 0 deletions
src/assets/icons/index.ts
src/assets/icons/up.svg
+13
-0
13 additions, 0 deletions
src/assets/icons/up.svg
src/components/Icon.tsx
+2
-0
2 additions, 0 deletions
src/components/Icon.tsx
with
17 additions
and
0 deletions
src/assets/icons/index.ts
+
2
−
0
View file @
ee1b5270
...
@@ -16,6 +16,7 @@ import Minus from "./minus.svg";
...
@@ -16,6 +16,7 @@ import Minus from "./minus.svg";
import
Next
from
"
./next.svg
"
;
import
Next
from
"
./next.svg
"
;
import
Plus
from
"
./plus.svg
"
;
import
Plus
from
"
./plus.svg
"
;
import
Previous
from
"
./previous.svg
"
;
import
Previous
from
"
./previous.svg
"
;
import
Up
from
"
./up.svg
"
;
export
default
{
export
default
{
AttentionCircle
,
AttentionCircle
,
...
@@ -36,4 +37,5 @@ export default {
...
@@ -36,4 +37,5 @@ export default {
Next
,
Next
,
Plus
,
Plus
,
Previous
,
Previous
,
Up
,
};
};
This diff is collapsed.
Click to expand it.
src/assets/icons/up.svg
0 → 100644
+
13
−
0
View file @
ee1b5270
<svg
width=
"14"
height=
"8"
viewBox=
"0 0 14 8"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M13 7L7 1L1 7"
stroke=
"currentColor"
stroke-width=
"2"
stroke-linecap=
"round"
stroke-linejoin=
"round"
/>
</svg>
This diff is collapsed.
Click to expand it.
src/components/Icon.tsx
+
2
−
0
View file @
ee1b5270
...
@@ -23,6 +23,7 @@ export const iconNameOptions = [
...
@@ -23,6 +23,7 @@ export const iconNameOptions = [
"
next
"
,
"
next
"
,
"
plus
"
,
"
plus
"
,
"
previous
"
,
"
previous
"
,
"
up
"
,
]
as const
;
// for storybook dropdown
]
as const
;
// for storybook dropdown
export
type
IconName
=
(
typeof
iconNameOptions
)[
number
];
// for storybook dropdown
export
type
IconName
=
(
typeof
iconNameOptions
)[
number
];
// for storybook dropdown
...
@@ -46,6 +47,7 @@ const iconMap = {
...
@@ -46,6 +47,7 @@ const iconMap = {
next
:
Icons
.
Next
,
next
:
Icons
.
Next
,
plus
:
Icons
.
Plus
,
plus
:
Icons
.
Plus
,
previous
:
Icons
.
Previous
,
previous
:
Icons
.
Previous
,
up
:
Icons
.
Up
,
};
};
type
IconProps
=
{
type
IconProps
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment