28 Commits (66b229c92939)

Author SHA1 Message Date
David Vogel 66b229c929 Make ValueBindAny to work with basic types 11 months 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
11 months ago
David Vogel a60a1f4af7 Improve ListBindGenericSlice
- Add support for encoding.TextMarshaler and encoding.TextUnmarshaler
11 months ago
David Vogel a0e2314138 Add TextArea component
- Update PageInput
11 months 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
11 months ago
David Vogel 2f8a3b5016 Add CheckBox and RadioButton input components
- Add support for *bool to FieldBindAny
- Update example page PageInput
11 months ago
David Vogel 159bce4f12 Add dummy variables to packages
Also commit latest sketches.cdr
11 months ago
David Vogel 51289acce3 Add ID tag to input:Field component 12 months ago
David Vogel 4d18fad115 Add input component for tags
- Change ListBinder interface
- Improve ListBindGenericSlice and make it the default
- Update input example page
12 months 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
12 months 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 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 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 96e125316f Add navigation button example
- Add d3c-button-vertical class to buttons
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 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 a573067168 Update generated code 1 year ago
David Vogel 6a8d5ea13d Fix nav button class name 1 year ago
David Vogel 7d325f6da0 Initial commit 1 year ago