yummacss 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.prettierrc ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "semi": true,
3
+ "singleQuote": false,
4
+ "tabWidth": 2,
5
+ "trailingComma": "es5",
6
+ "printWidth": 80,
7
+ "bracketSameLine": true,
8
+ "bracketSpacing": true
9
+ }
package/CHANGELOG.md CHANGED
@@ -2,72 +2,57 @@
2
2
 
3
3
  All notable changes to the Yumma CSS will be documented in this file.
4
4
 
5
- ## [2.0.0]
5
+ ## [2.1.0]
6
6
 
7
7
  ### Added
8
- - Add **Accent Color** utilities
9
- - Add **Aspect Ratio** utilities
10
- - Add **Backdrop Filter** utilities
11
- - Add **Border Collapse** utilities
12
- - Add **Border Style** utilities
13
- - Add **Caption Side** utilities
14
- - Add **Container** utilities
15
- - Add **Font Style** utilities
16
- - Add **Gap** utilities
17
- - Add **Grid Column** utilities
18
- - Add **Grid Row** utilities
19
- - Add **Object Fit** utilities
20
- - Add **Object Position** utilities
21
- - Add **Outline Color** utilities
22
- - Add **Outline Offset** utilities
23
- - Add **Outline Style** utilities
24
- - Add **Outline Width** utilities
25
- - Add **Spacing** utilities
26
- - Add **Table Layout** utilities
27
- - Add **Text Decoration Color** utilities
28
- - Add **Text Decoration Style** utilities
29
- - Add **Text Decoration Thickness** utilities
30
- - Add `_mixin.scss` partial
31
- - Add `core.scss` file
32
- - Add `functions.scss` partial
33
- - Include **Hover** utility variants
34
- - Include **Responsive** utility variants
35
- - Include **Silver** color to the color palette
8
+
9
+ - Add `_borders.scss`, `_box-model.scss`, `_effects.scss`, `_filters.scss`, `_flexbox.scss`, `_grid.scss`, `_layout.scss`, `_interactions.scss`, `_outlines.scss`, `_tables.scss` and `_typography.scss`
10
+ - Add `_extensions.scss` and `_theme.scss`
11
+ - Add `cursor: pointer` to all `<button>` element
12
+ - Add the `0` value to **Opacity** utility variant
13
+ - Add the `auto` property to **Flex** utility variant
36
14
 
37
15
  ### Changed
38
16
 
39
- - **Border Color** utilities no longer have `border-style` and `border-width` properties by default
40
- - Base styles are now optional
41
- - Colors now use HEX color format
42
- - Fix `transparent` having color variants
43
- - Fix conflict between `float: none;` (`f-none`) and `flex: none;` (`f-none`)
44
- - New **Flex Basis** utilities - `fb-full`, `fb-half`
45
- - New `auto` property in **Margin** and **Padding** utilities
46
- - New `max-content` and `min-content` properties in **Grid Auto Columns**, **Grid Auto Rows**, **Height**, **Width**, **Dimension** and **Flex Basis**
47
- - New `xxl` breakpoint utilities
48
- - Simplify **Font Family** fallbacks
49
- - Stylecent now covers the `<optgroup>`
50
- - Update **Container** syntax from `cnn` to `cnt`
51
- - Update **Float** syntax from `f-*static*` to `flo-*`
52
- - Update **Font Family** utility syntaxes from `ff-d` to `ff-s`
53
- - Update **Font Size** Extra large syntax from `fs-2xl` to `fs-xxl`
54
- - Update **Position** syntax from `pos-*` to `p-*`
55
- - Update **Position** syntax from `pos-static` to `p-s`
56
- - Update **Position** syntax from `pos-sticky` to `p-t`
57
- - Update `cnt` utility with new responsive utility rules
58
- - Update property values from `0.75rem` to `0.25rem` for **Margin** and **Padding** utilities
59
- - Update values in breakpoint utilities
17
+ - New `baseline` **Align Content** utility variant
18
+ - New `baseline` **Align Items** utility variant
19
+ - New `cg-0` **Column Gap** and `rg-0` **Row Gap** utilities
20
+ - New `col-resize`, `default`, `ne-resize`, `nesw-resize`, `none`, `nw-resize`, `nwse-resize`, `progress`, `row-resize`, `s-resize`, `se-resize`, `sw-resize`, `w-resize`, `zoom-in`, `zoom-out` **Cursor** utility properties
21
+ - New `f-b` **Font Size** base utility
22
+ - New `font-size: inherit` and `font-weight: inherit` properties for heading and paragraph elements.
23
+ - New `fs-9xl` **Font Size** utility variant
24
+ - New `row dense` and `dense row` **Grid Auto Flow** utility variants
25
+ - New `table`, `inline-table` and `inline-grid` **Display** utility variants
26
+ - New `text` and `all` **User Select** utility variants
27
+ - Rename **Align Content** utility syntax from `ac-stretch` to `ac-s`
28
+ - Rename **Align Items** utility syntax from `ai-stretch` to `ai-s`
29
+ - Rename **Align Self** utility syntax from `as-stretch` to `as-s`
30
+ - Rename **Justify Items** utility syntax from `ji-stretch` to `ji-st`
31
+ - Rename **Justify Self** utility syntax from `js-stretch` to `ji-st`
32
+ - Rename **Object Position** utility syntax from `op-left` to `op-l`
33
+ - Rename **Position** utility syntax from `p-t` to `p-y`
34
+ - Rename **Position** utility syntax from `p-y` to `p-st`
35
+ - Rename `_miscellaneous.scss` to `_interactions.scss`
36
+ - Rename `$yma-direction` base value from `1px` to `0.25rem`
37
+ - Rename color variables from `$yma-colors-*` to `$yma-theme-*`
38
+ - Update **Border Radius** base value from `4px` to `0.25rem`
39
+ - Update **Border Width** base value from `4px` to `1px`
40
+ - Update **Flex Basis** base value from `1rem` to `0.25rem`
41
+ - Update **Flex** utility variants
42
+ - Update **Outline Offset** base value from `2px` to `1px`
43
+ - Update **Outline Width** base value from `2px` to `1px`
44
+ - Update **Spacing X** and **Spacing Y** calculations
60
45
 
61
46
  ### Removed
62
- - Remove **Column** utilities
63
- - Remove **Offset Gap** utilities
64
- - Remove **Row** utility
65
- - Remove `_grid.scss` partial
66
- - Remove `badge-*` component
67
- - Remove `btn-*` component
68
- - Remove `btn-otl-*` component
69
- - Remove `card-*` component
70
- - Remove `ff-i` utility
71
- - Remove `nav-*` component
72
- - Remove Components folder
73
- - Remove extra small value for breakpoint utilities
47
+
48
+ - Delete `_utilities.scss` partial
49
+ - Remove `end` and `start` properties from **Align Content** utilities
50
+ - Remove `end` and `start` properties from **Align Items** utilities
51
+ - Remove `end` and `start` properties from **Align Self** utilities
52
+ - Remove `end`, `left`, `right` and `start` properties from **Justify Content** utilities
53
+ - Remove `er` **Cursor** variant
54
+ - Remove `flex-end`, `flex-start`, `left`, `normal` and `right` properties from **Justify Items** utilities
55
+ - Remove `flex-end`, `flex-start`, `left`, `normal`, `right` and `stretch` properties from **Justify Self** utilities
56
+ - Remove `hidden` property in **Border Style** utilities
57
+ - Remove `hidden` property in **Outline Style** utilities
58
+ - Remove variable inside **Spacing X** and **Spacing Y** utilities
package/README.md CHANGED
@@ -1,54 +1,31 @@
1
- <h3 align="center">Yumma CSS</h3>
1
+ <div align="center">
2
+ <a href="https://yummacss.com" target="_blank">
3
+ <picture>
4
+ <source media="(prefers-color-scheme: dark)" srcset="https://www.yummacss.com/assets/vectors/dark-logo.svg">
5
+ <source media="(prefers-color-scheme: light)" srcset="https://www.yummacss.com/assets/vectors/light-logo.svg">
6
+ <img alt="Yumma CSS" src="https://www.yummacss.com/assets/vectors/light-logo.svg" width="220" style="max-width: 100%;">
7
+ </picture>
8
+ </a>
9
+ </div>
2
10
 
3
11
  <p align="center">
4
- Quickly build applications with less code in your markup.
5
- <br>
6
- <a href="https://yummacss.com"><strong>Explore Yumma CSS Docs ↝</strong></a>
7
- <br>
12
+ All the tools you need in one package, with abbreviated utility classes goodbye, massive codebases!
8
13
  <br>
9
- <a href="https://yummacss.com/blog">Blog</a>
10
-
11
- <a href="https://yummacss.com/blogintroducing-yummacss-intellisense">Intellisense</a>
12
-
13
- <a href="https://github.com/yumma-lib/yumma-css/issues">Issues</a>
14
-
15
- <a href="https://play.yummacss.com">Playground</a>
14
+ <a href="https://yummacss.com"><strong>Read the documentation ↝</strong></a>
16
15
  </p>
17
16
 
18
- <p align="center">
19
- <a href="https://www.npmjs.com/package/yummacss?activeTab=versions">
20
- <img src="https://img.shields.io/npm/v/yummacss" alt="npm version">
21
- </a>
22
- <a href="https://www.npmjs.com/yummacss">
23
- <img src="https://img.shields.io/npm/dt/yummacss" alt="Downloads">
24
- </a>
25
- <a href="https://github.com/yumma-lib/yumma-css-docs?tab=MIT-1-ov-file#readme">
26
- <img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License">
27
- </a>
28
- </p>
29
-
30
- ## Get started
31
-
32
- You can use [npm](https://www.npmjs.com/yummacss) to include the Yumma CSS in your project, or you can add it using [jsDelivr](https://www.jsdelivr.com/):
33
-
34
- ### cdn
35
- ```
36
- <link href="https://cdn.jsdelivr.net/gh/yumma-lib/yumma-css/dist/yumma.min.css" rel="stylesheet" crossorigin="anonymous">
37
- ```
17
+ ---
38
18
 
39
- ### npm
40
- ```
41
- npm install yummacss
42
- ```
19
+ ### Support
43
20
 
44
- ## Community
21
+ [Join our Discord server](https://discord.gg/CGw5vyqmQ6). To get support just createa post in the `#help` channel with the <kbd>yummacss</kbd> tag.
45
22
 
46
- If you have questions or want to stay updated on our projects, here are some ways to connect with us:
23
+ ### Contributing
47
24
 
48
- - Subscribe to our [YouTube](https://www.youtube.com/@yummacss) channel.
49
- - Join our [Discord](https://discord.gg/CGw5vyqmQ6) server.
50
- - Follow us on [Twitter](https://twitter.com/yummacss) for the latest updates.
25
+ I'd love your help with Yumma CSS. I've included some links below which you might find useful.
51
26
 
52
- ## License
27
+ - [Join us on the `#yummacss` channel on Discord](https://discord.gg/V6s5jg5TfX)
28
+
29
+ ### Licensing
53
30
 
54
- The code is the intellectual property of [Renildo Pereira](https://github.com/orgs/yumma-lib/people) and is released under the terms of the MIT license.
31
+ MIT Copyright (c) 2023–present [Renildo Pereira](https://github.com/yumma-lib/yumma-css/graphs/contributors).