@clayui/css 3.35.0 → 3.36.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/CHANGELOG.md +62 -0
- package/lib/css/atlas.css +300 -172
- package/lib/css/atlas.css.map +20 -20
- package/lib/css/base.css +199 -162
- package/lib/css/base.css.map +13 -13
- package/package.json +2 -2
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_alerts.scss +1 -5
- package/src/scss/atlas/variables/_buttons.scss +79 -7
- package/src/scss/atlas/variables/_custom-forms.scss +1 -5
- package/src/scss/atlas/variables/_forms.scss +115 -40
- package/src/scss/atlas/variables/_globals.scss +362 -70
- package/src/scss/atlas/variables/_labels.scss +0 -4
- package/src/scss/atlas/variables/_pagination.scss +0 -4
- package/src/scss/cadmin/components/_buttons.scss +25 -263
- package/src/scss/cadmin/components/_forms.scss +24 -92
- package/src/scss/cadmin/components/_utilities-functional-important.scss +4 -0
- package/src/scss/cadmin/variables/_buttons.scss +249 -6
- package/src/scss/cadmin/variables/_forms.scss +124 -8
- package/src/scss/components/_buttons.scss +25 -259
- package/src/scss/components/_forms.scss +21 -92
- package/src/scss/components/_utilities-functional-important.scss +4 -0
- package/src/scss/functions/_global-functions.scss +16 -2
- package/src/scss/mixins/_buttons.scss +34 -7
- package/src/scss/mixins/_forms.scss +28 -3
- package/src/scss/mixins/_globals.scss +12 -0
- package/src/scss/variables/_buttons.scss +250 -7
- package/src/scss/variables/_custom-forms.scss +2 -3
- package/src/scss/variables/_forms.scss +145 -34
- package/src/scss/variables/_globals.scss +26 -24
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,68 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.36.0](https://github.com/liferay/clay/tree/master/packages/clay-css/compare/v3.35.3...v3.36.0) (2021-09-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **@clayui/css:** Atlas Global Variables define all global variables for easier copy and paste for those extending Clay CSS. This should help reduce undefined variable errors when reusing globals. ([acb598e](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/acb598e))
|
|
12
|
+
* **@clayui/css:** Atlas removes Sassdoc comments. All documentation that gets generated should go in Base ([89dc333](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/89dc333)), closes [#4275](https://github.com/liferay/clay/tree/master/packages/clay-css/issues/4275)
|
|
13
|
+
* **@clayui/css:** Base Theme Global variables move settings toward the top of the file. ([b1b309d](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/b1b309d))
|
|
14
|
+
* **@clayui/css:** Buttons and Cadmin Buttons `.btn-monospaced` icons are off center by a pixel, use `display: inline-flex` to center and remove padding. If you need items to display inline in `.btn-monospaced` wrap them in a `span` tag. ([ece0b5b](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/ece0b5b))
|
|
15
|
+
* **@clayui/css:** Buttons create Sass placeholders for Clay CSS btn-* classes to allow theme devs to [@extend](https://github.com/extend) their button classes from it ([f7e50f0](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/f7e50f0)), closes [#4248](https://github.com/liferay/clay/tree/master/packages/clay-css/issues/4248)
|
|
16
|
+
* **@clayui/css:** Global Functions `clay-enable-transitions` should return `$transitions` instead of `$transition` ([ca2d59a](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/ca2d59a))
|
|
17
|
+
* **@clayui/css:** Global Functions `clay-enable-transitions` the variable `$enable-transitions` isn't available in Cadmin, use `$enable` instead ([bd4e1c5](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/bd4e1c5))
|
|
18
|
+
* **@clayui/css:** Mixins `clay-button-variant` adds option to style `:disabled:focus`, mostly for removing focus shadow on disabled `.btn` ([bb942f9](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/bb942f9))
|
|
19
|
+
* **@clayui/css:** Mixins `clay-button-variant` c-inner should work if mobile sizes are enabled ([a0a005c](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/a0a005c))
|
|
20
|
+
* **@clayui/css:** Mixins `clay-button-variant` remove outputting `a.btn, button.btn { cursor: pointer; }` we can pass it in directly to `.btn` ([d5a1942](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/d5a1942))
|
|
21
|
+
* **@clayui/css:** Mixins form-control-variant update hover, focus, disabled to accept nested placeholder maps ([05a85ca](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/05a85ca))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* **@clayui/css:** Buttons convert `.btn-lg` and `.btn-sm` to use `clay-button-variant` mixin ([f6b3e95](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/f6b3e95))
|
|
27
|
+
* **@clayui/css:** Buttons convert `.btn-unstyled`, `.btn-monospaced`, `.btn-monospaced-lg`, `.btn-monospaced-sm`, `.btn-outline-borderless` to use `clay-button-variant` mixin ([4c16ce5](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/4c16ce5))
|
|
28
|
+
* **@clayui/css:** Buttons convert `.btn` to use `clay-button-variant` mixin ([617befc](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/617befc))
|
|
29
|
+
* **@clayui/css:** Cadmin Buttons convert `.btn`, `.btn-lg`, `.btn-sm`, `.btn-monospaced`, `.btn-monospaced-sm`, `.btn-monospaced-lg`, `.btn-unstyled`, and `.btn-outline-borderless` to use `clay-button-variant` mixin ([8481f19](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/8481f19))
|
|
30
|
+
* **@clayui/css:** Cadmin Forms convert label and .form-control to use clay-css mixin ([4226e59](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/4226e59))
|
|
31
|
+
* **@clayui/css:** Forms convert label and .form-control to use clay-css mixin ([6a8b9f0](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/6a8b9f0))
|
|
32
|
+
* **@clayui/css:** Global Functions adds `starts-with($str1, $str2)`. A function that determines whether the string `$str1` begins with the characters of the specified string `$str2`. ([6ddef3e](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/6ddef3e))
|
|
33
|
+
* **@clayui/css:** Mixins `clay-css` if transition has a value other than `null` or `none`, it should output a prefers-reduced-motion media query ([95b5c08](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/95b5c08))
|
|
34
|
+
* **@clayui/css:** Mixins `clay-css` should output any CSS Custom Properties passed into it. ([a78ddfa](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/a78ddfa)), closes [#4252](https://github.com/liferay/clay/tree/master/packages/clay-css/issues/4252)
|
|
35
|
+
* **@clayui/css:** Move .hide from liferay-portal to clay-css ([0e25435](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/0e25435))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## [3.35.3](https://github.com/liferay/clay/tree/master/packages/clay-css/compare/v3.35.2...v3.35.3) (2021-09-09)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Bug Fixes
|
|
45
|
+
|
|
46
|
+
* **@clayui/css:** Forms use fixed value for $input-height-inner, $input-height-inner-half, $input-height-inner-quarter to reduce Sass errors with CSS custom properties in $input-line-height and $input-padding-y ([2fa8ca3](https://github.com/liferay/clay/tree/master/packages/clay-css/commit/2fa8ca3)), closes [#4247](https://github.com/liferay/clay/tree/master/packages/clay-css/issues/4247)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## [3.35.2](https://github.com/liferay/clay/tree/master/packages/clay-css/compare/v3.35.1...v3.35.2) (2021-08-30)
|
|
53
|
+
|
|
54
|
+
**Note:** Version bump only for package @clayui/css
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
## [3.35.1](https://github.com/liferay/clay/tree/master/packages/clay-css/compare/v3.35.0...v3.35.1) (2021-08-30)
|
|
61
|
+
|
|
62
|
+
**Note:** Version bump only for package @clayui/css
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
6
68
|
# [3.35.0](https://github.com/liferay/clay/tree/master/packages/clay-css/compare/v3.34.0...v3.35.0) (2021-08-30)
|
|
7
69
|
|
|
8
70
|
**Note:** Version bump only for package @clayui/css
|