Git Product home page Git Product logo

react-uxp-spectrum's Introduction

React UXP Spectrum Components

Adobe UXP Spectrum Web Components for React

Install

npm install react-uxp-spectrum
# or
yarn add react-uxp-spectrum

About

A complete set of react components for use in Adobe UXP extensions.

At the time of this writing React Spectrum is not entirely universal and their exists many quirks to the use of Spectrum components in react.

This package aims to make development of UXP plugins using react a breeze and encapsulates all of the quirks and oddities that come with a web-component based library being used in react.

Contribute

Pull Requests welcome!

These components are derived from the documentation for uxp spectrum and use in my own projects. The components may very well be missing features that are loosely documented or undocumented and will need patches as things change or are discovered.

react-uxp-spectrum's People

Contributors

cameronmcefee avatar thejustinwalsh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-uxp-spectrum's Issues

Missing text field props?

Are these props available also in UXP-spectrum components?

<input
	type="number"
	value={this.state.maxItemsFocus ? this.state.maxItemsTempValue : maximumItems}
	onChange={e => this.setMaxItems(e.currentTarget.value)}

	required={true}
	minLength={1}
	maxLength={5}
	min={3}
	max={99999}
	onBlur={e => {
		this.setMaxItems(maximumItems.toString(), false);
		this.props.onSetMaximumItems(e.currentTarget.value);
	}}
	onFocus={() => this.setMaxItems(maximumItems.toString(), true)}
/>

Also for type="number" can value also the type of "number"?

Long checkbox label

I think it needs white-space: normal; because by default text goes off the panel and is not visible

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.