Skip to content

Commit

Permalink
Drop Icon suffix in all file and component names
Browse files Browse the repository at this point in the history
  • Loading branch information
markuswustenberg committed May 21, 2021
1 parent 8940083 commit 37d5db2
Show file tree
Hide file tree
Showing 924 changed files with 5,606 additions and 5,606 deletions.
14 changes: 14 additions & 0 deletions outline/academic_cap.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func AcademicCap(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path d="M12 14l9-5-9-5-9 5 9 5z"/>
<path d="M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z"/>
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 14l9-5-9-5-9 5 9 5zm0 0l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14zm-4 6v-7.5l4-2.222"/>`))
}
14 changes: 0 additions & 14 deletions outline/academic_cap_icon.go

This file was deleted.

12 changes: 12 additions & 0 deletions outline/adjustments.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func Adjustments(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"/>`))
}
12 changes: 0 additions & 12 deletions outline/adjustments_icon.go

This file was deleted.

16 changes: 0 additions & 16 deletions outline/adjustments_icon_test.go

This file was deleted.

16 changes: 16 additions & 0 deletions outline/adjustments_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package outline_test

import (
"testing"

"github.com/maragudk/gomponents/assert"
. "github.com/maragudk/gomponents/html"

"github.com/maragudk/gomponents-heroicons/outline"
)

func TestAdjustments(t *testing.T) {
t.Run("returns svg component", func(t *testing.T) {
assert.Equal(t, `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" aria-hidden="true" id="hat"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"/></svg>`, outline.Adjustments(ID("hat")))
})
}
12 changes: 12 additions & 0 deletions outline/annotation.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func Annotation(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"/>`))
}
12 changes: 0 additions & 12 deletions outline/annotation_icon.go

This file was deleted.

12 changes: 12 additions & 0 deletions outline/archive.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func Archive(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4"/>`))
}
12 changes: 0 additions & 12 deletions outline/archive_icon.go

This file was deleted.

12 changes: 12 additions & 0 deletions outline/arrow_circle_down.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func ArrowCircleDown(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 13l-3 3m0 0l-3-3m3 3V8m0 13a9 9 0 110-18 9 9 0 010 18z"/>`))
}
12 changes: 0 additions & 12 deletions outline/arrow_circle_down_icon.go

This file was deleted.

12 changes: 12 additions & 0 deletions outline/arrow_circle_left.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func ArrowCircleLeft(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 15l-3-3m0 0l3-3m-3 3h8M3 12a9 9 0 1118 0 9 9 0 01-18 0z"/>`))
}
12 changes: 0 additions & 12 deletions outline/arrow_circle_left_icon.go

This file was deleted.

12 changes: 12 additions & 0 deletions outline/arrow_circle_right.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func ArrowCircleRight(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 9l3 3m0 0l-3 3m3-3H8m13 0a9 9 0 11-18 0 9 9 0 0118 0z"/>`))
}
12 changes: 0 additions & 12 deletions outline/arrow_circle_right_icon.go

This file was deleted.

12 changes: 12 additions & 0 deletions outline/arrow_circle_up.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func ArrowCircleUp(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 11l3-3m0 0l3 3m-3-3v8m0-13a9 9 0 110 18 9 9 0 010-18z"/>`))
}
12 changes: 0 additions & 12 deletions outline/arrow_circle_up_icon.go

This file was deleted.

12 changes: 12 additions & 0 deletions outline/arrow_down.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func ArrowDown(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 14l-7 7m0 0l-7-7m7 7V3"/>`))
}
12 changes: 0 additions & 12 deletions outline/arrow_down_icon.go

This file was deleted.

12 changes: 12 additions & 0 deletions outline/arrow_left.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func ArrowLeft(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18"/>`))
}
12 changes: 0 additions & 12 deletions outline/arrow_left_icon.go

This file was deleted.

12 changes: 12 additions & 0 deletions outline/arrow_narrow_down.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func ArrowNarrowDown(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 17l-4 4m0 0l-4-4m4 4V3"/>`))
}
12 changes: 0 additions & 12 deletions outline/arrow_narrow_down_icon.go

This file was deleted.

12 changes: 12 additions & 0 deletions outline/arrow_narrow_left.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func ArrowNarrowLeft(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16l-4-4m0 0l4-4m-4 4h18"/>`))
}
12 changes: 0 additions & 12 deletions outline/arrow_narrow_left_icon.go

This file was deleted.

12 changes: 12 additions & 0 deletions outline/arrow_narrow_right.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func ArrowNarrowRight(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 8l4 4m0 0l-4 4m4-4H3"/>`))
}
12 changes: 0 additions & 12 deletions outline/arrow_narrow_right_icon.go

This file was deleted.

12 changes: 12 additions & 0 deletions outline/arrow_narrow_up.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package outline

import (
g "github.com/maragudk/gomponents"

h "github.com/maragudk/gomponents-heroicons"
)

func ArrowNarrowUp(children ...g.Node) g.Node {
return h.Outline(g.Group(children),
g.Raw(`<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7l4-4m0 0l4 4m-4-4v18"/>`))
}
Loading

0 comments on commit 37d5db2

Please sign in to comment.