Skip to content

Commit

Permalink
chore(release): 4.3.1 [skip ci]
Browse files Browse the repository at this point in the history
## [4.3.1](v4.3.0...v4.3.1) (2023-04-25)

### Bug Fixes

* **styles:** fix the auro capitalize function [#148](#148) ([7f75b30](7f75b30))
  • Loading branch information
semantic-release-bot committed Apr 25, 2023
1 parent 7f75b30 commit c18b87e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Semantic Release Automated Changelog

## [4.3.1](https://github.com/AlaskaAirlines/WebCoreStyleSheets/compare/v4.3.0...v4.3.1) (2023-04-25)


### Bug Fixes

* **styles:** fix the auro capitalize function [#148](https://github.com/AlaskaAirlines/WebCoreStyleSheets/issues/148) ([7f75b30](https://github.com/AlaskaAirlines/WebCoreStyleSheets/commit/7f75b3060be2b67328e1d48bb360f91a8c2b7569))

# [4.3.0](https://github.com/AlaskaAirlines/WebCoreStyleSheets/compare/v4.2.0...v4.3.0) (2023-02-07)


Expand Down
8 changes: 5 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,10 @@
}</code>" data-collapsed="// Auro rule
@font-face { ... }"><code>// Auro rule
@font-face { ... }</code></pre></div><h3 class="item__sub-heading">Description</h3><div class="item__description"><p>Baseline font-face setting for using web based custom fonts - font weight light</p></div><h3 class="item__sub-heading">Example</h3><div class="item__example example"><div class="example__description"><p>import src file</p></div><pre class="example__code language-scss"><code>@import &quot;./node_modules/@aurodesignsystem/webcorestylesheets/dist/fonts&quot;;</code></pre></div></section></section></section><section class="main__section"><h1 class="main__heading" id="utility"><div class="container">utility</div></h1><section class="main__sub-section" id="utility-function"><h2 class="main__heading--secondary"><div class="container">functions</div></h2><section class="main__item container item" id="utility-function-auro_capitalize"><h3 class="item__heading"><a class="item__name" href="#function-auro_capitalize">auro_capitalize</a></h3><div class="item__code-wrapper"><pre class="item__code item__code--togglable language-scss" data-current-state="collapsed" data-expanded="@function auro_capitalize($string: null) {
@return to-upper-case(str-slice($string, 1, 1)) + str-slice($string, 2);
@if type-of($string) == string {
@return to-upper-case(str-slice($string, 1, 1)) + str-slice($string, 2);
}
@return #{$string};
}" data-collapsed="@function auro_capitalize($string: null) { ... }"><code>@function auro_capitalize($string: null) { ... }</code></pre></div><h3 class="item__sub-heading">Description</h3><div class="item__description"><p>The purpose of this function is to take a string and capitalize the first letter on output</p></div><h3 class="item__sub-heading">Parameters</h3><table class="item__parameters"><thead><tr><th scope="col"><span class="visually-hidden">parameter </span>Name</th><th scope="col"><span class="visually-hidden">parameter </span>Description</th><th scope="col"><span class="visually-hidden">parameter </span>Type</th><th scope="col"><span class="visually-hidden">parameter </span>Default value</th></tr></thead><tbody><tr class="item__parameter"><th scope="row" data-label="name"><code>$string</code></th><td data-label="desc"><p>pass in string to be capitolized</p></td><td data-label="type"><code>String</code></td><td data-label="default"><code>null</code></td></tr></tbody></table><h3 class="item__sub-heading">Example</h3><div class="item__example example"><div class="example__description"><p>pass string into function</p></div><pre class="example__code language-scss"><code>capitalize(&#39;foo&#39;) =&gt; Foo</code></pre></div><div class="item__example example"><div class="example__description"><p>import dependency</p></div><pre class="example__code language-scss"><code>@import &quot;./node_modules/@aurodesignsystem/webcorestylesheets/dist/utilityFunctions/capitalize&quot;;</code></pre></div><h3 class="item__sub-heading">Used by</h3><ul class="list-unstyled"><li><span class="item__cross-type">[mixin]</span> <a href="#utility-layout-mixin-auro_inset"><code>auro_inset</code></a></li><li><span class="item__cross-type">[mixin]</span> <a href="#utility-layout-mixin-auro_inset"><code>auro_inset</code></a></li><li><span class="item__cross-type">[mixin]</span> <a href="#utility-layout-mixin-auro_spacing"><code>auro_spacing</code></a></li><li><span class="item__cross-type">[mixin]</span> <a href="#utility-layout-mixin-auro_spacing"><code>auro_spacing</code></a></li><li><span class="item__cross-type">[mixin]</span> <a href="#utility-layout-mixin-auro_spacing"><code>auro_spacing</code></a></li><li><span class="item__cross-type">[mixin]</span> <a href="#utility-layout-mixin-auro_spacing"><code>auro_spacing</code></a></li></ul></section><section class="main__item container item" id="utility-function-auro_contains"><h3 class="item__heading"><a class="item__name" href="#function-auro_contains">auro_contains</a></h3><div class="item__code-wrapper"><pre class="item__code item__code--togglable language-scss" data-current-state="collapsed" data-expanded="@function auro_contains($list: null, $var) {
$eval: false;
Expand Down Expand Up @@ -850,7 +853,7 @@
@each $type in $types {
@each $value in $options {
$map: map-keys($tokens);
$var: auro_map-deep-get($tokens, #{$map}, $value);
$var: auro_map-deep-get($tokens, #{$map}, #{$value});
$directions: null;
$properties: null;
Expand Down Expand Up @@ -885,7 +888,6 @@
@for $i from 1 through length($properties) {
$direction: nth($directions, $i);
$property: nth($properties, $i);
@warn &quot;property = #{$property} | value = #{$value}&quot;;
#{$scope}.#{$prefix}util_#{$type}#{auro_capitalize($property)}#{auro_capitalize($value)}--#{$direction} {
#{$property}-#{$direction}: $var $important;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aurodesignsystem/webcorestylesheets",
"description": "Auro core foundation Sass UI Kit",
"version": "4.3.0",
"version": "4.3.1",
"author": "Product design and research",
"main": "src/",
"license": "Apache-2.0",
Expand Down

0 comments on commit c18b87e

Please sign in to comment.