Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svelte 1.0 #3085

Open
15 of 55 tasks
cschroeter opened this issue Nov 27, 2024 · 3 comments
Open
15 of 55 tasks

Svelte 1.0 #3085

cschroeter opened this issue Nov 27, 2024 · 3 comments
Labels

Comments

@cschroeter
Copy link
Member

cschroeter commented Nov 27, 2024

Roadmap for Svelte 1.0

Basics

  • Setup Package
  • Setup Testing
  • Setup Storybook
  • Setup Template (svelte-kit)
  • Docs

Core

  • Anatomy
  • Collection
  • Factory (asChild)

Providers

  • Environment
  • Locale

Components

  • Accordion
  • Avatar
  • Carousel
  • Checkbox
  • Clipboard
  • Collapsible
  • ColorPicker
  • Combobox
  • DatePicker
  • Dialog
  • Editable
  • Field
  • Fieldset
  • FileUpload
  • Format
  • Frame
  • Highlight
  • HoverCard
  • Menu
  • NumberInput
  • Pagination
  • PinInput
  • Popover
  • Portal
  • Presence
  • Progress
  • QrCode
  • RadioGroup
  • RatingGroup
  • SegmentGroup
  • Select
  • SignaturePad
  • Slider
  • Splitter
  • Steps
  • Switch
  • Tabs
  • TagsInput
  • TimePicker
  • Timer
  • Toast
  • Toggle
  • ToggleGroup
  • Tooltip
  • TreeView
@babakfp
Copy link

babakfp commented Dec 1, 2024

@cschroeter

Hi

In Svelte, when you destructure a reactive variable ($state, $derived), it loses reactivity.

Code like this:

const { dir } = useLocaleContext()
const { getRootNode } = useEnvironmentContext()

Should be written the same way as Vue code:

const env = useEnvironmentContext()
const locale = useLocaleContext(DEFAULT_LOCALE)

Like this one:

const locale = useLocaleContext()
const env = useEnvironmentContext()


Would it be OK to contribute on some of the components?

@cschroeter
Copy link
Member Author

@babakfp Hey mate - thanks for reaching out. Yes this is a good catch. We found also some issues in Zag that we fixed in the latest version. Feel free to convert any of the components left if you have some time to contribute <3

@domuk-k
Copy link

domuk-k commented Dec 23, 2024

Hello! I'm waiting for ark for Svelte, and trying to work on the incomplete items in the Components section from the progress above. I'm attempting to work on the Frame component first (based on solid/frame.tsx) - is there anything I should know beforehand? Or are there any good first issues(component) you'd recommend?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants