You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WarningIn stale since this refactor breaks the overlay animation focus when pressing a button with onPress. This must be refactored after the integration of the newest Dialog/Overlay components Overlay animation should be done with motion.one
With the newest implementation of rollup-plugin of Vanilla-extract, @codeimage/ui will be ported from a vite setup to Rollup in order to use the rollup-preset-solid package and supports in the future solid-start
Every new component must be in his own folder and must be exported in a index.tsx file. Since there is Vite in library mode enabled, each type exported outside must be import using the import type keywords
Examples of solid-aria show simple styling style attribute. Obviously in @codeimage/ui this is not possible, so every type of style must be made with vanilla-extract.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
solid-aria is the newest SolidJS library that exports primitives to build suer accessible user interface.
This porting currently affect these components:
Popover: feat: add theme gradients #258
Color Picker: feat: add theme gradients #258
Menu: use the newest Popover component and @solid-aria/overlays in
Button refactor: @solid-aria integration #248
Radio: use @solid-aria/radio
TextField: use @solid-aria/textfield
Toggle: use @solid-aria/toggle
Separator: use @solid-aria/separator
Dialog: use @solid-aria/dialog refactor(ui): add @solid-aria/dialog integration #288
Select: use @solid-aria/listbox with
Popover
Label: use @solid-aria/label for
FieldLabel
componentLink: use @solid-aria/link
Implementation notes
Retrocomptibility with Rollup
With the newest implementation of
rollup-plugin
of Vanilla-extract, @codeimage/ui will be ported from a vite setup to Rollup in order to use therollup-preset-solid
package and supports in the future solid-startExports
Every new component must be in his own folder and must be exported in a
index.tsx
file. Since there is Vite in library mode enabled, eachtype
exported outside must be import using theimport type
keywordscodeimage/packages/ui/src/lib/primitives/index.ts
Lines 3 to 9 in 8c51358
Styling
Examples of solid-aria show simple styling
style
attribute. Obviously in @codeimage/ui this is not possible, so every type of style must be made withvanilla-extract
.The recommended approaches are:
style
function and data-attributes (solid-aria will automatically handle these)The text was updated successfully, but these errors were encountered: