AgnosticUI / agnosticui

AgnosticUI is a set of UI primitives that start their lives in clean HTML and CSS. These standards compliant components are then copied to our framework implementations in: React, Vue 3, Angular, and Svelte.
https://agnosticui.com
Apache License 2.0
723 stars 47 forks source link

Port Table / Pagination to Astro #213

Open roblevintennis opened 2 years ago

roblevintennis commented 2 years ago

Must go on a next branch!

https://discord.com/channels/830184174198718474/961848242281259078/976275440379510854

Table and Pagination ported to Astro

Package is agnostic/astro and we'll need to add these components to that package.


Blocker: We should do https://github.com/AgnosticUI/agnosticui/issues/191 to realize feature completeness first

I think we should actually wait on https://github.com/AgnosticUI/agnosticui/issues/167 and do the Astro port first since our deadline for submission is coming up next week and we can always tackle #167 after


How

We'll need to add these to: https://github.com/AgnosticUI/agnosticui/tree/master/agnostic-astro/src/lib/components e.g. Table.astro and Pagination.astro. We can glean a lot by looking at other examples. Probably Tabs and Menu are most complex and thus useful examples.

The test pages are here and can be adapted as these components are actually realized: https://github.com/AgnosticUI/agnosticui/blob/master/agnostic-astro/src/pages/en-v1/table.astro https://github.com/AgnosticUI/agnosticui/blob/master/agnostic-astro/src/pages/en-v1/pagination.astro

roblevintennis commented 2 years ago

@Croug ☝️