Coder Social home page Coder Social logo

metrostar / comet Goto Github PK

View Code? Open in Web Editor NEW
18.0 10.0 1.0 9.95 MB

React with TypeScript Component Library based on USWDS 3.0

Home Page: https://metrostar.github.io/comet/

License: Apache License 2.0

JavaScript 1.82% TypeScript 93.20% CSS 3.34% MDX 1.64%
component-library design-systems react storybook typescript uswds components ui comet-components cli

comet's People

Contributors

amber-k avatar bapplejax avatar dependabot[bot] avatar jbouder avatar kildre avatar marshyski avatar naatebarber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jbouder

comet's Issues

Create USWDS Utility Class Prop Type for use across components

Discussed in #74

Originally posted by jpandersen87 September 7, 2023
It would be useful for all the possible utility classes (not usa- classes, as that's expected to be the component's responsibility and can be given via className by the user otherwise) to be applicable via a prop object similar to how the native style prop works.

Add USWDS In-page Navigation component to base library

Is your feature request related to a problem? Please describe.
Add the USWDS In-page Navigation component to the base library as a reusable React Component.

Describe the solution you'd like
The following component should be converted to a React component, as part of the base library: https://designsystem.digital.gov/components/in-page-navigation/.

Conversion of this component should include the following:

  • Add new component (tsx)
  • Add Storybook stories as needed (stories.tsx)
  • Add Unit Tests to cover functionality (test.tsx)
  • Add index.ts to export the component
  • Add the component export to the default index.ts

Describe alternatives you've considered
N/A, this is a USWDS component

Additional context
The component should be implemented to make it as reusable and as extensible as possible.

Components with children should accept and render children

Discussed in #75

Originally posted by jpandersen87 September 7, 2023
Either in addition to, or replacement of existing render logic, components should accept and render children. For example, the accordion component currently only accepts a javascript array of items to render instead of allowing the items to be passed manually as children (ex: <Accordion><AccordionItem>...</AccordionItem></Accordion>).

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.