Skip to content

Commit

Permalink
Update documentation and add classes (#15724)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrill authored Dec 6, 2024
1 parent 6f6b9e3 commit 7aa487f
Show file tree
Hide file tree
Showing 4 changed files with 270 additions and 238 deletions.
19 changes: 18 additions & 1 deletion extensions/tailwindcss/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Tailwind CSS Changelog

## [Update documentation and add classes] - 2024-12-06

- Reformatted the documentation links to mirror the order and content of the Tailwind website as of v3.4
- Added some more classes introduced in v3.4 like `Dynamic viewport units`, `Text Wrap` and `Subgrid`

## [Add `size-` classes to the JSON file.] - 2024-08-20

- Updated classes file to support `size-` utilities introduced in Tailwind v3.4
Expand All @@ -13,37 +18,46 @@
- Fixed incorrect color sorting when querying colors.

## [Update] - 2023-09-06

- Updated "Copy CSS" shortcut in Search Classes to cmd+shift+.
- Updated Tailwind

## [Add a preference to display CSS spacing units in pixels] - 2023-09-03

## [Allow for HEX value search] - 2023-07-22

- Add HEX values as possible keyword for the `Search Colors` command

## [Add actions to copy color class names] - 2023-03-12

- Add actions to copy colors as background, text and border class names for the `Search Colors` command

## [Default Action for Search Classes] - 2023-03-12

- Add a preference to set the default action for the `Search Classes` command

## [Search Classes command improvements] - 2023-01-21

- Search by class content instead of only by selector
- Add an action to copy the class name

## [Updated CSS classes] - 2022-11-29

## [Generate all CSS classes] - 2022-11-27

- Generate all CSS classes for the `Search Classes` command

## [Fixed typo] - 2022-09-12

- Renamed grid-col- to grid-cols

## [Search Colors and Components command] - 2022-06-27

- Add `Search Colors` command
- Add `Search Components` command

## [Search Classes command & Chores] - 2022-06-10

- Update to the latest version of Raycast
- Remove unnecessary dependencies
- Add `Search Classes` command
Expand All @@ -52,10 +66,13 @@
- Rename the extension to `Tailwind CSS`

## [Categories & Screenshots] - 2022-03-12

- Add categories and screenshots for the store

## [Upgrade for Tailwind v3] - 2022-01-27
- Update links for Tailwind v3

- Update links for Tailwind v3

## [Added Tailwind CSS] - 2021-11-08

- Initial version code
3 changes: 2 additions & 1 deletion extensions/tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"description": "Utilities to work with Tailwind CSS",
"icon": "tailwind-icon.png",
"author": "vimtor",
"contributors": ["cy-98", "emilsharier", "pernielsentikaer", "erich2s", "ridemountainpig", "jor"],
"contributors": ["cy-98", "emilsharier", "pernielsentikaer", "erich2s", "ridemountainpig", "jor",
"garrill"],
"license": "MIT",
"commands": [
{
Expand Down
14 changes: 14 additions & 0 deletions extensions/tailwindcss/src/classes.json
Original file line number Diff line number Diff line change
Expand Up @@ -1650,6 +1650,15 @@
{ "selector": ".h-min", "classes": "height: -moz-min-content; height: min-content;" },
{ "selector": ".h-px", "classes": "height: 1px;" },
{ "selector": ".h-screen", "classes": "height: 100vh;" },
{ "selector": ".h-svh", "classes": "height: 100svh;" },
{ "selector": ".h-lvh", "classes": "height: 100lvh;" },
{ "selector": ".h-dvh", "classes": "height: 100dvh;" },
{ "selector": ".min-h-svh", "classes": "min-height: 100svh;" },
{ "selector": ".min-h-lvh", "classes": "min-height: 100lvh;" },
{ "selector": ".min-h-dvh", "classes": "min-height: 100dvh;" },
{ "selector": ".max-h-svh", "classes": "max-height: 100svh;" },
{ "selector": ".max-h-lvh", "classes": "max-height: 100lvh;" },
{ "selector": ".max-h-dvh", "classes": "max-height: 100dvh;" },
{ "selector": ".max-h-0", "classes": "max-height: 0px;" },
{ "selector": ".max-h-0.5", "classes": "max-height: 0.125rem;" },
{ "selector": ".max-h-1", "classes": "max-height: 0.25rem;" },
Expand Down Expand Up @@ -4588,6 +4597,7 @@
{ "selector": ".grid-cols-8", "classes": "grid-template-columns: repeat(8, minmax(0, 1fr));" },
{ "selector": ".grid-cols-9", "classes": "grid-template-columns: repeat(9, minmax(0, 1fr));" },
{ "selector": ".grid-cols-none", "classes": "grid-template-columns: none;" },
{ "selector": ".grid-cols-subgrid", "classes": "grid-template-columns: subgrid;" },
{ "selector": ".grid-rows-1", "classes": "grid-template-rows: repeat(1, minmax(0, 1fr));" },
{ "selector": ".grid-rows-2", "classes": "grid-template-rows: repeat(2, minmax(0, 1fr));" },
{ "selector": ".grid-rows-3", "classes": "grid-template-rows: repeat(3, minmax(0, 1fr));" },
Expand Down Expand Up @@ -131544,6 +131554,10 @@
{ "selector": ".text-justify", "classes": "text-align: justify;" },
{ "selector": ".text-start", "classes": "text-align: start;" },
{ "selector": ".text-end", "classes": "text-align: end;" },
{ "selector": ".text-wrap", "classes": "text-wrap: wrap;" },
{ "selector": ".text-nowrap", "classes": "text-wrap: nowrap;" },
{ "selector": ".text-balance", "classes": "text-wrap: balance;" },
{ "selector": ".text-pretty", "classes": "text-wrap: pretty;" },
{ "selector": ".-indent-0", "classes": "text-indent: -0px;" },
{ "selector": ".-indent-0.5", "classes": "text-indent: -0.125rem;" },
{ "selector": ".-indent-1", "classes": "text-indent: -0.25rem;" },
Expand Down
Loading

0 comments on commit 7aa487f

Please sign in to comment.