Commit Graph

44 Commits

Author SHA1 Message Date
a60a1f4af7 Improve ListBindGenericSlice
- Add support for encoding.TextMarshaler and encoding.TextUnmarshaler
2023-07-02 01:17:41 +02:00
a0e2314138 Add TextArea component
- Update PageInput
2023-06-27 00:23:07 +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
2f8a3b5016 Add CheckBox and RadioButton input components
- Add support for *bool to FieldBindAny
- Update example page PageInput
2023-06-23 20:41:04 +02:00
159bce4f12 Add dummy variables to packages
Also commit latest sketches.cdr
2023-06-22 10:14:04 +02:00
51289acce3 Add ID tag to input:Field component 2023-06-04 17:45:27 +02:00
4d18fad115 Add input component for tags
- Change ListBinder interface
- Improve ListBindGenericSlice and make it the default
- Update input example page
2023-06-02 11:17:22 +02:00
60823564d4 Change PaginationBinder interface
- Fix typo
2023-05-29 14:32:25 +02:00
c149bbfc06 Use binding mechanism for the Pagination component
- Rename PaginationEvent to PaginateEvent
- Add PaginationBinder interface
2023-05-29 14:23:37 +02:00
37d42e9a94 Change AddToast to use EventEnv instead of Event 2023-05-29 13:39:39 +02:00
f8e63c9772 Remove margin from pagination component 2023-05-28 17:25:46 +02:00
34780386f6 Add loading overlay
- Update overlay example page
- Add LLoadingCircle icon
- Rename LErrorCircle to LWarningCircle
- Change ToastMessageTypeCaution to use LWarningCircle
2023-05-28 16:47:10 +02:00
69160e02c4 Add timeout/duration option to toasts
- Rename overlay-classes.go to interfaces.go
- Add event parameter to AddToast method
- Update overlay example page
2023-05-28 15:04:18 +02:00
c5b642cdc8 Add ContainerHorizontal 2023-05-28 13:52:21 +02:00
9b07b21ab5 Add ToastMessage
- Remove OverlayContainerRef from toast components
- Update overlay example page
2023-05-28 13:39:43 +02:00
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
2023-05-27 23:48:57 +02:00
25f6c47602 Add dropdown component
- Add list binder interface
- Update input example page
2023-05-27 13:37:40 +02:00
bce8b927f7 Put FieldBinder into its own file 2023-05-25 22:55:42 +02:00
25a5cd3a2e Add input field buttons example
- Change d3c-button-transparent to d3c-button-borderless
2023-05-25 17:44:44 +02:00
6e74124634 Change focus line width 2023-05-25 17:22:48 +02:00
c81d49c00d Add FieldBindPassword for the input field 2023-05-25 17:20:12 +02:00
cd35a61dc8 Support button to bind to boolean variables
- Bring back d3c-color-accent
- Reduce number of CSS color variables
2023-05-25 16:37:46 +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
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
2023-05-19 23:45:39 +02:00
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
2023-05-18 23:17:17 +02:00
8c96378190 Remove sidebar body overlay when menu is minimized 2023-05-18 17:46:33 +02:00
b73eb2ecec Set code container overflow to auto 2023-05-18 16:38:27 +02:00
a10028559e Automatically close hovering sidebar on click 2023-05-18 15:48:19 +02:00
05713d8a4d Change theme and coloring
- Use accent color for selected sidebar entries
- Correct faded colors
2023-05-18 14:04:44 +02:00
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
2023-05-18 13:55:48 +02:00
2cce3fc57a Add tag and list container components
- Update example pages
- Move some structures from go into vugu files
- Change sidebar Navigate to MustNavigate
2023-05-17 21:37:24 +02:00
96e125316f Add navigation button example
- Add d3c-button-vertical class to buttons
2023-05-17 12:34:48 +02:00
666cd8756b Use vugu/js instead of syscall/js 2023-05-16 18:39:12 +02:00
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
2023-05-16 18:10:24 +02:00
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
2023-05-15 11:24:25 +02:00
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
2023-05-15 10:22:29 +02:00
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
2023-05-15 08:58:12 +02:00
df7d956874 Add navigation.PageInfo
- Highlight sidebar entries
- Add PageInfo wiring example
2023-05-12 22:07:04 +02:00
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
2023-05-12 12:57:42 +02:00
a573067168 Update generated code 2023-05-09 11:02:53 +02:00
6a8d5ea13d Fix nav button class name 2023-05-09 10:59:57 +02:00
f7d08645fb Fix module name again 2023-05-08 21:14:55 +02:00
30209bf790 Change module name 2023-05-08 21:12:42 +02:00
7d325f6da0 Initial commit 2023-05-08 20:43:07 +02:00