outposthq / jengaui Goto Github PK
View Code? Open in Web Editor NEWJenga UI is built with TastyCSS and ships with modular & accessible React components for your React apps.
License: MIT License
Jenga UI is built with TastyCSS and ships with modular & accessible React components for your React apps.
License: MIT License
expected behaviour - ondismiss to be triggered
0.1.5
No response
none
expected behaviour - labelStyles to apply styles
Create a FileInput
component and try to apply label styles.
0.1.5
No response
No response
https://spectrum.adobe.com/page/tree-view/
https://mui.com/material-ui/react-tree-view/#main-content
https://react-spectrum.adobe.com/react-stately/useTreeData.html
https://react-spectrum.adobe.com/react-stately/useTreeState.html
https://github.com/adobe/react-spectrum/tree/main/packages/%40react-spectrum/tree
give a prop that accepts JengaButtonProps and is consumed by the file-upload button
<FileInput styles={{Button:{...button styles}}} /> //basically data-element=Button
but this is no use to give predefined themes like outlined, clear, etc.
Checklist:
... reply to add other features
Warning:
Warning: useLayoutEffect does nothing on the server because its effect cannot be encoded into the server renderer’s output format.
This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client
Root Issue: facebook/react#14927
Details about useLayoutEffect:
Possible Solutions ->
currently, the labelPosistion
prop for form
, field
, and a lot of input
components accepts one value of type LabelPosition
which is not responsive.
A responsive label position will make writing form components less redundant as you won't have to write two or more components with identical content but different styles while catering to different viewports.
This will also help save the current state of the form when there is a resize.
To make things responsive, change the prop to accept LabelPostion | LabelPostion[]
and stylize the labels and inputs according to the breakpoint.
None.
Creating Documentation for Jenga-UI.
Task List
The table component fails with react 18 ( controlplane) , works fine in react 17 (next-app folder) due to react-stately
This Invalid Hook Call is due to mismatched react and react-dom version.
I have tried downgrading deps of react-aria,react-stately to the [15-feb release verisons] (https://react-spectrum.adobe.com/releases/2022-02-15.html)( before react 18 support)
I have also tried upgrading deps(newpackage.json) to the newest versions.
Both fail to solve this issue.
Branch -> https://github.com/OutpostHQ/jenga-ui/tree/table-deps-change/controlplane
For Reference -> adobe/react-spectrum#2800
Accordion
export from @jenga-ui/react
(Accordion
Import from Accordion package is working, however from @jenga-ui/react
there is an issue).use-alert-dialog-api.test.tsx
and notification.test.tsx
)Jenga-UI currently lacks an accordion component like Chakra UI Accordion
There is no way to set color to placeholder text in TextInputs
.
Use any TextInput element with a background color.
latest
No response
No response
NextJs provides the 'next/link' component that helps with client-side routing for internal pages which currently cannot be used in conjunction with the 'Jenga-UI/link' component.
possible approach -> https://chakra-ui.com/docs/components/link#usage-with-nextjs
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.