Module
HeroUI.Internal
- Package
- purescript-yoga-heroui
- Repository
- rowtype-yoga/purescript-yoga-heroui
#createElementTransformImpl Source
createElementTransformImpl :: forall transforms component props children. Fn4 transforms component props children JSX#CoerceHeroProps Source
class CoerceHeroProps :: forall k. Type -> k -> Type -> Constraintclass CoerceHeroProps props strippedProps targetProps | props -> strippedProps
Like Yoga.React.DOM.Internal.CoerceReactProps, but additionally
accepts (and silently passes through) aria-* attributes. HeroUI's
underlying components forward them to the DOM — see issue #1.
Instances
(WithoutPassthroughProps (Record props) (Record strippedProps), Union strippedProps missing targetProps) => CoerceHeroProps (Record props) (Record strippedProps) (Record targetProps)
#coerceHeroProps Source
coerceHeroProps :: forall props strippedProps targetProps. CoerceHeroProps props strippedProps targetProps => props -> targetProps#WithoutPassthroughProps Source
class WithoutPassthroughProps props without whereMembers
unsafeHidePassthroughProps :: props -> without
Instances
(RowToList r rl, ListToRow strippedRL stripped, WithoutPassthroughRL rl strippedRL) => WithoutPassthroughProps (Record r) (Record stripped)
#WithoutPassthroughRL Source
class WithoutPassthroughRL :: RowList Type -> RowList Type -> Constraintclass WithoutPassthroughRL (from :: RowList Type) (to :: RowList Type) | from -> to
Instances
WithoutPassthroughRL Nil Nil(DoesStartWith "data-" propName isData, DoesStartWith "aria-" propName isAria, BoolOr isData isAria exclude, MaybeWithoutPassthroughRL exclude propName propVal from to) => WithoutPassthroughRL (Cons propName propVal from) to
#MaybeWithoutPassthroughRL Source
class MaybeWithoutPassthroughRL :: Boolean -> Symbol -> Type -> RowList Type -> RowList Type -> Constraintclass MaybeWithoutPassthroughRL (exclude :: Boolean) (propName :: Symbol) (propVal :: Type) (from :: RowList Type) (to :: RowList Type) | exclude propName propVal from -> to
Instances
(WithoutPassthroughRL from to) => MaybeWithoutPassthroughRL False propName propVal from (Cons propName propVal to)(WithoutPassthroughRL from to) => MaybeWithoutPassthroughRL True propName propVal from to
- Modules
- HeroUI
- HeroUI.
Accordion - HeroUI.
Alert - HeroUI.
Autocomplete - HeroUI.
Avatar - HeroUI.
Badge - HeroUI.
Breadcrumbs - HeroUI.
Button - HeroUI.
Calendar - HeroUI.
Card - HeroUI.
Checkbox - HeroUI.
Chip - HeroUI.
Code - HeroUI.
DateInput - HeroUI.
DatePicker - HeroUI.
Divider - HeroUI.
Drawer - HeroUI.
Dropdown - HeroUI.
Form - HeroUI.
Hooks - HeroUI.
Image - HeroUI.
Input - HeroUI.
InputOTP - HeroUI.
Internal - HeroUI.
Kbd - HeroUI.
Link - HeroUI.
Listbox - HeroUI.
Menu - HeroUI.
Modal - HeroUI.
Navbar - HeroUI.
NumberInput - HeroUI.
Pagination - HeroUI.
Popover - HeroUI.
Progress - HeroUI.
Provider - HeroUI.
Radio - HeroUI.
Raw - HeroUI.
Ripple - HeroUI.
ScrollShadow - HeroUI.
Select - HeroUI.
Skeleton - HeroUI.
Slider - HeroUI.
Snippet - HeroUI.
Spacer - HeroUI.
Spinner - HeroUI.
Switch - HeroUI.
Table - HeroUI.
Tabs - HeroUI.
Toast - HeroUI.
Tooltip - HeroUI.
Types - HeroUI.
User - HeroUI.
VisuallyHidden