Skip to content

Conversation

@allisonhorst
Copy link
Contributor

Updates all individual inputs pages.

  • Adds API reference link atop each page
  • Adds options at end of each page
  • Updates inputs to lowercase throughout
  • Removes "components" - refers to "inputs" (e.g. "text input") throughout
  • Updates link to d3.group page (per Fil's feedback)
  • Removes athletes.csv and penguins.csv (uses olympians and penguins sample datasets)
  • Updates Inputs.file()

Several remaining TODOs as comments.

@allisonhorst allisonhorst mentioned this pull request Jan 13, 2024
9 tasks
If you specify the *datalist* option as an array of hexadecimal color strings, the color picker will show this set of colors for convenient picking. (The user will still be allowed to pick another color, however; if you want to limit the choice to a specific set, then a radio or select input may be more appropriate.)

<!-- [TODO] update to the new Observable color palette? -->
<!-- [TODO] update to the new Observable10 color palette? -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would be lovely, but depends on d3/d3-scale-chromatic#51

@allisonhorst allisonhorst merged commit 2fe2fbc into components Jan 13, 2024
@allisonhorst allisonhorst deleted the allison/inputs-pages branch January 13, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants