Supports flex-direction, align-items, align-self, justify-content, and various preset flex definitions
Updates
Remove @use statements in .scss files - it seems these weren't doing anything to begin with
Change import paths for foundation components to just foundations
Remove experimental boolean prop api in favor of traditional approach.
TypeScript does not appear to be able to parse/type-check props with hyphens in their name.
I believe, although more verbose, d="flex" is more approachable than dFlex and it resolves the issue of having undefined as an always-valid prop value
Bugfixes
Change absolute import paths to relative because typescript (really javascript...) won't play nice with module resolution for packaged code. i.e. you cannot use absolute import paths for any typescript-specific features (and one that doesn't make sense yet!):
typeguards must be imported using relative paths
global / utility types must be imported using relative paths
global / utility functions(???) must be imported using relative paths
Net New
Flex
subset component ofBox
to reduce prop bloatflex-direction
,align-items
,align-self
,justify-content
, and various presetflex
definitionsUpdates
@use
statements in.scss
files - it seems these weren't doing anything to begin withfoundations
d="flex"
is more approachable thandFlex
and it resolves the issue of havingundefined
as an always-valid prop valueBugfixes