Add utils package
- Add AttributesAppend type - Add icon class and add styles to icons - Change elements to use AttributesAppend in vg-attr - Move example icons into their own componentmaster
@ -0,0 +1,82 @@
|
|||||||
|
<div vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1683994083"}'>
|
||||||
|
<icons:LArrowDown></icons:LArrowDown>
|
||||||
|
<icons:LArrowLeft></icons:LArrowLeft>
|
||||||
|
<icons:LArrowRight></icons:LArrowRight>
|
||||||
|
<icons:LArrowUp></icons:LArrowUp>
|
||||||
|
<icons:LBackToWindow></icons:LBackToWindow>
|
||||||
|
<icons:LCancel></icons:LCancel>
|
||||||
|
<icons:LChevronDown></icons:LChevronDown>
|
||||||
|
<icons:LChevronLeft></icons:LChevronLeft>
|
||||||
|
<icons:LChevronRight></icons:LChevronRight>
|
||||||
|
<icons:LChevronUp></icons:LChevronUp>
|
||||||
|
<icons:LCircleMinus></icons:LCircleMinus>
|
||||||
|
<icons:LCirclePlus></icons:LCirclePlus>
|
||||||
|
<icons:LCopy></icons:LCopy>
|
||||||
|
<icons:LCustomize></icons:LCustomize>
|
||||||
|
<icons:LCut></icons:LCut>
|
||||||
|
<icons:LDelete></icons:LDelete>
|
||||||
|
<icons:LDeliver></icons:LDeliver>
|
||||||
|
<icons:LDocument></icons:LDocument>
|
||||||
|
<icons:LDocumentBulletList></icons:LDocumentBulletList>
|
||||||
|
<icons:LDocumentCheckboxes></icons:LDocumentCheckboxes>
|
||||||
|
<icons:LDocumentRichText></icons:LDocumentRichText>
|
||||||
|
<icons:LDocumentText></icons:LDocumentText>
|
||||||
|
<icons:LDownload></icons:LDownload>
|
||||||
|
<icons:LEdit></icons:LEdit>
|
||||||
|
<icons:LErrorCircle></icons:LErrorCircle>
|
||||||
|
<icons:LFilter></icons:LFilter>
|
||||||
|
<icons:LFullScreen></icons:LFullScreen>
|
||||||
|
<icons:LGlobalNav></icons:LGlobalNav>
|
||||||
|
<icons:LGlobe></icons:LGlobe>
|
||||||
|
<icons:LHome></icons:LHome>
|
||||||
|
<icons:LHourglass></icons:LHourglass>
|
||||||
|
<icons:LInfoCircle></icons:LInfoCircle>
|
||||||
|
<icons:LLockClosed></icons:LLockClosed>
|
||||||
|
<icons:LLockDisabled></icons:LLockDisabled>
|
||||||
|
<icons:LLockOpened></icons:LLockOpened>
|
||||||
|
<icons:LMail></icons:LMail>
|
||||||
|
<icons:LMailOpened></icons:LMailOpened>
|
||||||
|
<icons:LMinus></icons:LMinus>
|
||||||
|
<icons:LMore></icons:LMore>
|
||||||
|
<icons:LPaste></icons:LPaste>
|
||||||
|
<icons:LPause></icons:LPause>
|
||||||
|
<icons:LPlus></icons:LPlus>
|
||||||
|
<icons:LPowerButton></icons:LPowerButton>
|
||||||
|
<icons:LRedo></icons:LRedo>
|
||||||
|
<icons:LReload></icons:LReload>
|
||||||
|
<icons:LSave></icons:LSave>
|
||||||
|
<icons:LSearch></icons:LSearch>
|
||||||
|
<icons:LSettings></icons:LSettings>
|
||||||
|
<icons:LSort></icons:LSort>
|
||||||
|
<icons:LStar></icons:LStar>
|
||||||
|
<icons:LStart></icons:LStart>
|
||||||
|
<icons:LStop></icons:LStop>
|
||||||
|
<icons:LStopWatch></icons:LStopWatch>
|
||||||
|
<icons:LUndo></icons:LUndo>
|
||||||
|
<icons:LUpload></icons:LUpload>
|
||||||
|
<icons:LWarehouse></icons:LWarehouse>
|
||||||
|
<icons:LWarning></icons:LWarning>
|
||||||
|
<icons:LZoom></icons:LZoom>
|
||||||
|
<icons:LZoomIn></icons:LZoomIn>
|
||||||
|
<icons:LZoomOut></icons:LZoomOut>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.d3c-1683994083 {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 1em;
|
||||||
|
margin: 1em 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<script type="application/x-go">
|
||||||
|
import (
|
||||||
|
"git.d3nexus.de/Dadido3/D3vugu-components/icons"
|
||||||
|
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
||||||
|
)
|
||||||
|
|
||||||
|
type ComponentIcons struct {
|
||||||
|
AttrMap vugu.AttrMap
|
||||||
|
}
|
||||||
|
</script>
|
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 690 B |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 867 B |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 867 B |
Before Width: | Height: | Size: 308 B After Width: | Height: | Size: 868 B |
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 865 B |
Before Width: | Height: | Size: 331 B After Width: | Height: | Size: 891 B |
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 861 B |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 873 B |
Before Width: | Height: | Size: 315 B After Width: | Height: | Size: 875 B |
Before Width: | Height: | Size: 314 B After Width: | Height: | Size: 874 B |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 873 B |
Before Width: | Height: | Size: 441 B After Width: | Height: | Size: 1001 B |
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 1010 B |
Before Width: | Height: | Size: 438 B After Width: | Height: | Size: 998 B |
Before Width: | Height: | Size: 491 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 793 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 382 B After Width: | Height: | Size: 942 B |
Before Width: | Height: | Size: 922 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 651 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 1021 B |
Before Width: | Height: | Size: 577 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 425 B After Width: | Height: | Size: 985 B |
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 944 B |
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 931 B |
Before Width: | Height: | Size: 489 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 537 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 909 B |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 881 B |
Before Width: | Height: | Size: 314 B After Width: | Height: | Size: 874 B |
Before Width: | Height: | Size: 532 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 415 B After Width: | Height: | Size: 975 B |
Before Width: | Height: | Size: 467 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 533 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 533 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 459 B After Width: | Height: | Size: 1019 B |
Before Width: | Height: | Size: 374 B After Width: | Height: | Size: 934 B |
Before Width: | Height: | Size: 356 B After Width: | Height: | Size: 916 B |
Before Width: | Height: | Size: 286 B After Width: | Height: | Size: 846 B |
Before Width: | Height: | Size: 396 B After Width: | Height: | Size: 956 B |
Before Width: | Height: | Size: 607 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 551 B After Width: | Height: | Size: 1.1 KiB |