Releases: CityOfNewYork/nyco-patterns
Patterns CLI v1 and Data Catalog Enhancements
Migration details to come in the final release. Note changes below.
Enhancements
- Patterns CLI v1 integration and config update
- New and expanded color scales with embedded Figma color scales file
- Updated Footer Object design
- Add copy-to-clipboard utility
- Update Mailchimp sign up form colors
- Remove deprecated layout column elements (use Tailwindcss grid utilities)
- Update make command config
- Update homepage
- Update color swatch documentation including clipboard copy
- Add first last utility
- Add description lists element
- Update input focus states
- Replace feather icon implementation with package dependency
Data Catalog Components
- Card component created
- Search input added to the input element list
- Record Hero Component created
- Add badge element
- Add grid config
- Add Tailwindcss logical utility plugin
Tailwindcss 2
Please read the upgrade guide for Tailwindcss before upgrading to this version of the NYCO Patterns. While most things are the same some utility selectors may have updated from v1 to v2.
All of the core plugins of Tailwindcss are included in this distribution and it is highly recommended, if not required, for you to install and configure PurgeCSS in your project to remove unused utilities. More about optimizing the Tailwindcss build for production can be read about in this guide.
Tailwind CSS Grid Utilities and UI Example; Responsive prefix change
Tailwindcss Updates
This release includes Tailwind CSS Grid utilities and an initial example from the Tailwind UI component preview. See the NYCO Patterns Tailwindcss Docs for details.
Responsive Utility Prefix Update
Introduces a breaking change with responsive utility prefixes. They have been abbreviated as demonstrated below;
screen-desktop
is now desktop
screen-tablet
is now tablet
screen-mobile
is now mobile
screen-sm-mobile
is now small
Any instance of the responsive prefix in your HTML will need to be updated accordingly. For example screen-desktop:block
would become desktop:block
.
v1.0.0
This is the first major version with a complete rewrite of the site generator app and Feed Object