Commit Graph

6 Commits

Author SHA1 Message Date
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
2023-07-03 00:18:58 +02:00
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
2023-06-23 21:10:35 +02:00
51289acce3 Add ID tag to input:Field component 2023-06-04 17:45:27 +02:00
bce8b927f7 Put FieldBinder into its own file 2023-05-25 22:55:42 +02:00
c81d49c00d Add FieldBindPassword for the input field 2023-05-25 17:20:12 +02:00
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
2023-05-25 15:59:13 +02:00