Everything I use to build UIs in a monorepo
The component library is builed on a few layers mapping to different libraries:
@dldc/ui-core: The design tokens and css variables defining@dldc/ui-styles: Styles, exporting css classes and functions to generate classes@dldc/ui-components: Component version of styles. Styles + Basic element + Context@dldc/ui-ariakit: Ariakit component with defaultrenderprop set to@dldc/ui-componentsversion of the component@dldc/ui-patterns: Higher level components built using@dldc/ui-ariakit
@dldc/ui-core: defines color variables, spacing variables, typography variables@dldc/ui-styles: defines aframeStylesfunction returning css classes for a frame component@dldc/ui-components: defines aFramecomponent using adivelement withframeStylesapplied and the proper context usage@dldc/ui-ariakit: defines aButtoncomponent wrapping, renderingAriakit'sButtoncomponent with therenderprop set to@dldc/ui-components'sFrame@dldc/ui-patterns: defines aDeleteAlertDialogcomponent using@dldc/ui-ariakit'sDialogandButtoncomponents with custom logic and layout