-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop Icon suffix in all file and component names
- Loading branch information
1 parent
8940083
commit 37d5db2
Showing
924 changed files
with
5,606 additions
and
5,606 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"))) | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"/>`)) | ||
} |
Oops, something went wrong.