* 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 "Modular structure" section to `README.md`
This clarifies the general structure of the `Tokamak` package and lays out "the underscore rules" to indicate "package private" access for symbols that aren't intended for public use.
* Refine wording in the "Modular structure" section
* 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>
I think that while public functions giving access to private properties does the job, they pollute the global namespace of `TokamakCore`, while for every property you need to create a separate function. These functions read a bit weird at their place of use, so I'm wondering whether the Proxy pattern could work better here. While it's more verbose, I find it a bit more readable, while also adding some sort of structure here for grouping multiple properties if needed.
* 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.
* Text styles and Environment setup for View font
* Text modifiers and demo
* Format Source files
* Fix font-size and add font-family when no Font is specified
* Add TextStyle
* PR fixes
* Format files
* Add note about Text modifiers