David Vogel
66b229c929
Make ValueBindAny to work with basic types
1 year ago
David Vogel
a587fea398
Rework value and list binder
...
- Rename FieldBinder to ValueBinder
- Split ValueBinder interface into ValueGetter, ValueSetter and HTMLInputTyper
- Add non pointer types to ValueBindAny.StringValue
- Move encoding.TextMarshaler in type switch
- Simplify ListBinder, and reuse ValueBinder logic
- Add ListBindGenericValues type
1 year ago
David Vogel
a60a1f4af7
Improve ListBindGenericSlice
...
- Add support for encoding.TextMarshaler and encoding.TextUnmarshaler
1 year ago
David Vogel
a0e2314138
Add TextArea component
...
- Update PageInput
1 year ago
David Vogel
11199f5e0d
Remove FieldBindPassword & Add support for time.Time
...
- Add Type field to input.Field that can override the input type
- Add support for time.Time to input.Field
- Update example PageInput
1 year ago
David Vogel
2f8a3b5016
Add CheckBox and RadioButton input components
...
- Add support for *bool to FieldBindAny
- Update example page PageInput
1 year ago
David Vogel
87ccd01306
Add icons
...
- Add LKey
- Add LParcelClosed
- Add LParcelInsert
- Add LParcelOpened
- Add LParcelTakeOut
- Add LPrinter
1 year ago
David Vogel
159bce4f12
Add dummy variables to packages
...
Also commit latest sketches.cdr
1 year ago
David Vogel
e3ea9126b4
Change example root.vugu to use correct height
1 year ago
David Vogel
9367d7869a
Add icons
...
- Add LUser, LLogout and LGroup icons
1 year ago
David Vogel
51289acce3
Add ID tag to input:Field component
1 year ago
David Vogel
4d18fad115
Add input component for tags
...
- Change ListBinder interface
- Improve ListBindGenericSlice and make it the default
- Update input example page
1 year ago
David Vogel
0766376a7d
Rename handlePagination to handlePaginate
1 year ago
David Vogel
60823564d4
Change PaginationBinder interface
...
- Fix typo
1 year ago
David Vogel
c149bbfc06
Use binding mechanism for the Pagination component
...
- Rename PaginationEvent to PaginateEvent
- Add PaginationBinder interface
1 year ago
David Vogel
37d42e9a94
Change AddToast to use EventEnv instead of Event
1 year ago
David Vogel
f8e63c9772
Remove margin from pagination component
1 year ago
David Vogel
34780386f6
Add loading overlay
...
- Update overlay example page
- Add LLoadingCircle icon
- Rename LErrorCircle to LWarningCircle
- Change ToastMessageTypeCaution to use LWarningCircle
1 year ago
David Vogel
69160e02c4
Add timeout/duration option to toasts
...
- Rename overlay-classes.go to interfaces.go
- Add event parameter to AddToast method
- Update overlay example page
1 year ago
David Vogel
c5b642cdc8
Add ContainerHorizontal
1 year ago
David Vogel
9b07b21ab5
Add ToastMessage
...
- Remove OverlayContainerRef from toast components
- Update overlay example page
1 year ago
David Vogel
852fd54082
Remove margin from input elements
...
- Remove margin from button
- Remove margin from dropdown
- Remove margin from input field
- Remove margin from sidebar entry
- Remove unnecessary margin: 0 definitions
- Fix sidebar due to removed button margin
- Replace modal requester paragraph with span
- Replace simple toast paragraph with span
1 year ago
David Vogel
97bf0b1e97
Add color to tags on example home page
1 year ago
David Vogel
25f6c47602
Add dropdown component
...
- Add list binder interface
- Update input example page
1 year ago
David Vogel
bce8b927f7
Put FieldBinder into its own file
1 year ago
David Vogel
f41cd6aa46
Add more icons
...
- Add LAccept
- Add LCodeTags
- Add LCodeTagsClosed
- Add LTodoList
- Add missing d3c-color-accent entry on the color example page
1 year ago
David Vogel
114044ba2c
Update and add icons
...
- Add LBell
- Add LBellDisabled
- Add LClock
- Add LEllipsis
- Add LInputField
- Add LQuestionMark
- Update LDelete
- Update LDeliver
- Update LLockClosed
- Update LLockDisabled
- Update LMail
- Update LMailOpened
- Update LWarning
1 year ago
David Vogel
25a5cd3a2e
Add input field buttons example
...
- Change d3c-button-transparent to d3c-button-borderless
1 year ago
David Vogel
6e74124634
Change focus line width
1 year ago
David Vogel
c81d49c00d
Add FieldBindPassword for the input field
1 year ago
David Vogel
cd35a61dc8
Support button to bind to boolean variables
...
- Bring back d3c-color-accent
- Reduce number of CSS color variables
1 year ago
David Vogel
114a7d893c
Add input field and a lot of other fixes
...
- Add input field and general data binding
- Rename SymbolSlot to IconSlot
- Remove d3c-color-accent
- Update icons page
- Add input example page
- Update button to support highlighting
- Update navigation entry to support highlighting
- Add d3c-button-only-icon to button and let sidebar use that
- Use d3c-button-transparent in sidebar
- Add focus indicator to buttons
- Rename CSS color variables and change definition of some
- Let pagination use input:Button
- Add some padding to the inline code component
1 year ago
David Vogel
518c47ab47
Improve overlay package
...
- Add toast overlays
- Add a way to color overlay containers and menus
- Add d3c-button-transparent CSS class
- Update overlay example page
1 year ago
David Vogel
a4b921c261
Add overlay package
...
- Add overlay container that shows any kind of overlay
- Add modals and a basic implementation of a requester
- Add page with overlay examples
- Add shadow color as CSS variable
- Remove background color from layout container
1 year ago
David Vogel
8c96378190
Remove sidebar body overlay when menu is minimized
1 year ago
David Vogel
4b910047e0
Fix deliver icon
1 year ago
David Vogel
b73eb2ecec
Set code container overflow to auto
1 year ago
David Vogel
a10028559e
Automatically close hovering sidebar on click
1 year ago
David Vogel
05713d8a4d
Change theme and coloring
...
- Use accent color for selected sidebar entries
- Correct faded colors
1 year ago
David Vogel
6fbc00655f
Rework colors and theming
...
- Add example colors page
- Store all theme colors in CSS variables
- Add layer container component
- Use accent color for active pagination page
- Automatically use layer-1 color in sidebar, sidebar menu and code containers
- Adjust tag padding
- Add base color scheme/theme
1 year ago
David Vogel
2cce3fc57a
Add tag and list container components
...
- Update example pages
- Move some structures from go into vugu files
- Change sidebar Navigate to MustNavigate
1 year ago
David Vogel
96e125316f
Add navigation button example
...
- Add d3c-button-vertical class to buttons
1 year ago
David Vogel
666cd8756b
Use vugu/js instead of syscall/js
1 year ago
David Vogel
e722ae1d2b
Add pagination component
...
- Add and update example pages
- Add example address component
- Add vugu data tags to struct fields
- Fix some button padding values
- Remove debug log line
- Fix background color of the sidebar menu
1 year ago
David Vogel
c0f61b57ce
Change colors and design
...
- Make sidebar gray
- Give buttons a line border
- Add active selector to buttons
- Change some margins
- Automatically make buttons transparent when they are in a sidebar
1 year ago
David Vogel
079b29a7fd
Use em and rem for most sizes
...
- Removed d3c-size, elements now all scale by em
- Button text is now centered
- Button height is now fixed
1 year ago
David Vogel
e9c2353da3
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 component
1 year ago
David Vogel
df7d956874
Add navigation.PageInfo
...
- Highlight sidebar entries
- Add PageInfo wiring example
1 year ago
David Vogel
0dda9f7767
Several changes
...
- Remove license headers
- Update example pages
- Move ButtonNav into navigation package as SidebarEntry
- Add sidebar collapse and hide functionality
- Add click event
- Add click handler to button
- Add ButtonFullscreen to navigation package
- Fix resulting suffix space in CodeInline
- Fix CSS class of Code
- Update icon sketches.cdr
1 year ago
David Vogel
b49c57c018
Update icons
1 year ago