* Add `TextEditor` implementation
Resolves#173.
* Clean up and bump requirements in the demo project
* Use a single `_tokamak-formcontrol` CSS class
* Add missing CSS class to `TextEditor.swift`
Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: Jed Fox <git@jedfox.com>
* Add Image view
* Add image to demo
* Update progress.md
* Alt text
* Use Bundle type to load images, remove systemName
* Add `logo-header.png` resource to `TokamakDemo`
* Reduce image size in the demo
* Allow bundles passed to `Image` to be optional
* Pass `nil` as a default `bundle` to `Image`
Co-authored-by: Max Desiatov <max@desiatov.com>
* Slider MVP
* Update progress.md
* Update Slider.swift
* Update SliderDemo.swift
* Allow any BinaryFloatingPoint
* Add Mac Catalyst Tokamak demo
* Add basic onEditingChanged support
This likely has bugs if you touch down multiple fingers on the slider then lift one finger.
* Demo improvements
* Update ScrollView to match SwiftUI
This isn’t documented but it visually appears to wrap the content in a VStack
* Restyle the sliders
* Update Slider.swift
* Make convert functions private
* Fix line length
* Update progress.md and FIXMEs
* Wrap comments
The rest of the styles will be implemented as separate PRs.
Additionally, `LazyHGrid` demo is wrapped in a horizontal `ScrollView` so that it can be viewed in portrait phone layout in the native demo.
* List and Divider
* Add DisclosureGroup and OutlineGroup
* Add aria attributes
* OutlineGroup List initializers
* Make only chevron clickable
* ListStyle
* Fix line lengths
* Fix demo
* Section
* Modify progressmd
* Remove useless comment
* Switch to hr element
* Disable Divider for last row
* Make list and outline style defaults constant
* Minor cleanup
* ListStyleDeferredToRenderer
* Fix demo
* Add TextFieldStyle
* oops
* Comment out the Semantic UI CSS
* Move the DOM-specific stuff to TokamakDOM
* SecureFIeld is implemented!
* Remove commented-out code
Co-authored-by: Max Desiatov <max@desiatov.com>
* Remove unncessary underscore and proxy method
* Enable building on Xcode for access to IDE tools
* Add an environment variable for TextField style
* Remove mandatory init()
* Update Sources/TokamakCore/CGStubs.swift
Co-authored-by: Max Desiatov <max@desiatov.com>
* Update Sources/TokamakCore/CGStubs.swift
Co-authored-by: Max Desiatov <max@desiatov.com>
* Remove the lock
* Move file to sources folder
Co-authored-by: Max Desiatov <max@desiatov.com>
* Add logo to README.md
* Fix header logo layout in README.md
* Increase header logo width to 640px
* Add Jed Fox as a maintainer to README.md
* Update README.md
Co-authored-by: Jed Fox <git@twopointzero.us>
* Initial Shape support
* Border modifier
* Better demo
* Make Path conform to Shape
* Implement clipShape
* Add shapes/path/shapestyles to progress.md
1. If a Stack has a Spacer as a child, we need to fill the width or height of the parent so the Spacer's flex-grow: 1; works.
2. If a Stack has a child Stack along the cross axis (HStack with a nested VStack and vice vera) we need to fill the cross axis
3. If a Stack has a child Stack along the same axis (HStack with a nested HStack) we need to fill the axis.
I’ve added two TextFields to the demo, which are supposed to have their values synced. Pressing enter in the second one will increment the commit counter.