Coder Social home page Coder Social logo

outposthq / jengaui Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 3.0 8.2 MB

Jenga UI is built with TastyCSS and ships with modular & accessible React components for your React apps.

License: MIT License

JavaScript 0.94% Shell 0.01% HTML 56.74% TypeScript 42.15% CSS 0.16%
a11y accessible design-system jenga-ui react react-components reactjs storybook ui-library uikit

jengaui's People

Contributors

aj-ya avatar anishkr92 avatar deepsourcebot avatar github-actions[bot] avatar khubo avatar mohit-nano avatar mohitbhansali avatar rrhul0 avatar sahilshahane avatar shubham-kaushal avatar staranbeer avatar tenphi avatar vdeep avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jengaui's Issues

[DialogForm] OnDismiss not triggered on outside click

Description

expected behaviour - ondismiss to be triggered

Link to Reproduction

Steps to reproduce

  • create a dialog form
  • write a console log in onDismiss prop
  • open it.
  • click outside.
  • no console log on dismiss

Jenga UI Version

0.1.5

Browser

No response

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

none

Organisms

  • Contextual Save Bar
  • Navigation
  • Navigation
  • Product Card
  • Topbar

[FileInput] labelStyles doesnt work for FileInput

Description

expected behaviour - labelStyles to apply styles

Link to Reproduction

Steps to reproduce

Create a FileInput component and try to apply label styles.

Jenga UI Version

0.1.5

Browser

No response

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

List of Contents for Home/Index Page Design

API

  • Unstyled
  • Composable
  • Customizable
  • Consistent

Accessibility

  • WAI-ARIA Compliant
  • Screen Reader Support
  • Typehead Support
  • Keyboard Navigation
  • Focus Management
  • RTL Support

Features

  • Incremental adoption
  • TypeScript support
  • Save Time. Ship Faster.

Pending Components Migration

  • GridProvider
  • BreakpointsProvider
  • StylesProvider
  • CopySnippet
  • Form
  • PrismCode
  • Tabs
  • DirectoryTree
  • SearchResults
  • TopBar
  • AlertDialog (Stories)
  • Dialog (Stories)
  • Notification
  • Tooltip

Button Props for FileInput

Description

Problem Statement/Justification

Proposed Solution or API

give a prop that accepts JengaButtonProps and is consumed by the file-upload button

Alternatives

<FileInput styles={{Button:{...button styles}}} /> //basically data-element=Button

but this is no use to give predefined themes like outlined, clear, etc.

Additional Information

Atoms

  • Avatar
  • Badge
  • Buttons
  • Button Groups
  • Checkboxes
  • Chips
  • Exception List
  • Footer Help
  • Footer
  • Links
  • Message Error
  • Pagination & Icon Button
  • Progress Bar
  • Radio Buttons
  • Range Slider
  • Switches
  • Tags
  • Text Inputs
  • Thumbnails

Accordian Update

Checklist:

  • Item Context :{isExpanded,setExpanded}
  • fix current disclosure icon
  • item styling
  • title styling
  • allow other icons for disclosure

... reply to add other features

Layout Effect Warning

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 ->

[Form,Field,Input] Responsive `labelPosition`

Description

currently, the labelPosistion prop for form, field, and a lot of input components accepts one value of type LabelPosition which is not responsive.

Problem Statement/Justification

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.

Proposed Solution or API

To make things responsive, change the prop to accept LabelPostion | LabelPostion[] and stylize the labels and inputs according to the breakpoint.

Alternatives

None.

Additional Information

current-labelPosition

Jenga-UI Docs

Creating Documentation for Jenga-UI.

Task List

  • Header
  • SideBar
  • Footer
  • Doc Pages
  • Blog List Page
  • Blog Page
  • Index/Home Page
  • Policy Page

setting a border on the select element sets two borders

Description

setting a border on the select element sets two borders

Link to Reproduction

local

Steps to reproduce

Code:
Screenshot from 2022-10-26 16-02-16

Result:
image

Jenga UI Version

latest

Browser

No response

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

Table failing in react 18

The table component fails with react 18 ( controlplane) , works fine in react 17 (next-app folder) due to react-stately
image
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

Molecules

  • Account Connection
  • Action List
  • Banner
  • Bottom Navigation
  • Card
  • Callout Card
  • Choice List
  • Color Picker
  • Data Table
  • Date Picker
  • Dialogue Box
  • Dropzone
  • Empty State
  • Filters
  • Forms
  • Menus
  • Media Card
  • Modal
  • Option List
  • Page Action
  • Popover
  • Resource List
  • Search
  • Sheet
  • Setting Toggle
  • Tabs
  • Text Area
  • Toast
  • Tooltip

There is no way to set color to placeholder text in TextInputs

Description

There is no way to set color to placeholder text in TextInputs

Link to Reproduction

.

Steps to reproduce

Use any TextInput element with a background color.

Jenga UI Version

latest

Browser

No response

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.