Comments (80)
x38
from primeui.
https://twitter.com/cagataycivici/status/1666090548380450816
from primeui.
https://twitter.com/cagataycivici/status/1617873847071408130
from primeui.
I started the migration of primereact to svelte using project name "jazzsvelte" (jazz is a lieutenant of optimus...). This is a temporary name. I use a private Github repository initialized with a clone of primereact. I removed the React & NextJs dependencies and add svelte svelteKit. The React source code direcrories are renamed with a "_" suffix to hav the references
My constaints
The svelte components must
- generate the same DOM than React component
- use the same css classes (compatibility with prime themes)
Use typescript (only .ts or .Svelte files)
Whath is already done ?
The documentation framework is migrated from "js / React / NextJs" to "typescipt / Svelte / SvelteKit" (except search tool)
The "Getting started" and "Information" pages are migrated
These components are migrated (including documenation pages but without playground)
- Ripple
- Badge
- Button
- TextField
- Tooltip
A migration tool for components documentation automatically migrate 95% of the doc (from jsx to svelte files)
###To do###
So many things....
- Migrate all components
- Build (Rollup)
- Testing
- General documentation
- ...
I will clean up the project (the list of contibutors is still that of primreact projet...) and move it to public (I never do that).
from primeui.
I started a private repo and recreated several components, but it is very very tedious to do on your own.
I noticed that Prime's components really build on top of eachother.
In order to have badges on buttons and avatars you have to first create a badge. You have to have a dropdown component before you can have a SplitButton, AutoComplete, or Dropdown. You have to create a Paginator before the Table component. The list goes on.
Creating the elements is the easy part, that's just a matter of inspecting Prime's examples and using the same classes. If you use the same classes it is compatible with any of their CSS packs. The hard part is finding out and building the tree of base components that all other components need. Not only that, but each component is so flexible. If you add a badge to a button, the classes applied and layout change.
It is definitely possible, but even after reverse-engineering all of it, you'd still be looking at full-time maintenance without Prime's help.
I think we can all agree that there are plenty of UI component libraries out there for Svelte or even tailwind. What we are really needing are form libraries. Validation libraries exist, but none that include form UI components like Prime does.
from primeui.
https://twitter.com/cagataycivici/status/1666090548380450816
Svelte has caught up a lot of traction lately as opposed to web components as far as I know. I might be missing something but I'm curious about the reasons for dismissing Svelte and going for something less popular instead.
from primeui.
x2
from primeui.
i hope
from primeui.
x3
from primeui.
x4
from primeui.
Waiting ..
from primeui.
x6
from primeui.
x7
from primeui.
x9
from primeui.
x10
from primeui.
x11
from primeui.
X12
from primeui.
Please .. prime ui tรด svelte kit
from primeui.
I have been very tempted to make a Prime Svelte 3rd party fork myself, but I lack the time it would take to maintain it afterwards.
from primeui.
x14
from primeui.
x16
from primeui.
x17
from primeui.
x18
from primeui.
x19
from primeui.
x20
from primeui.
X21
from primeui.
x22
from primeui.
X23
from primeui.
x24
from primeui.
x25
from primeui.
x26
from primeui.
x27
from primeui.
x28
from primeui.
x29
from primeui.
x30
from primeui.
x31
from primeui.
x32
from primeui.
x33
from primeui.
x34
from primeui.
x35
from primeui.
x36
from primeui.
x37
from primeui.
@cagataycivici is there any good news?
from primeui.
x39
from primeui.
PrimeSvelte would win the hackathon ๐๐
from primeui.
x40 - The world needs and deserves PrimeSvelte... ๐
from primeui.
x41
from primeui.
x42
from primeui.
x43
from primeui.
x44
from primeui.
x45
from primeui.
x46
from primeui.
x47
from primeui.
x48
from primeui.
x49
from primeui.
But a version providing web component exists, we can directly use it in Svelte right ?
from primeui.
x50
from primeui.
x51
from primeui.
x52
from primeui.
x53
from primeui.
x54
from primeui.
x55
from primeui.
x56
from primeui.
x57
from primeui.
x58
from primeui.
X59
from primeui.
X60
from primeui.
X61
from primeui.
x62
from primeui.
x63
from primeui.
x64
from primeui.
x65
from primeui.
x66
from primeui.
X67
from primeui.
Related Issues (20)
- New Component: Sidebar
- New Component: Chips
- Indeterminate mode for ProgressBar
- New component: ProgressSpinner
- Compatibility IE 10
- Environment Variables
- Datatable not displaying any data with Scrollable:true
- Functions declared twice in menu.js
- Change event for multiselect
- Global Filter not working with upper case values
- Primeui not working in modular environment
- Added ui-state-filled class to InputText
- Sorting does not work after filtering results
- Check gitleaks for compromised private keys HOT 1
- Ability to disable all buttons with puidialog when background process working
- Paginator resets current page when setTotalRecords called.
- Error: cannot call methods on puidropdown prior to initialization; attempted to call method 'option'
- enhancement - accordion wrap each tab inside div - SEO FAQ
- Probably not possible.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from primeui.