Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
2cffb8d
feat(type): add data-attribute theme scoping for type custom properti…
jason-capsule42 Aug 13, 2026
0dbbedc
ci: stop deleting post mortem files during build #294
jason-capsule42 Aug 14, 2026
ac84dbf
feat!: migrate Sass @import to the module system (@use/@forward) #294
jason-capsule42 Aug 14, 2026
81cdecd
docs: repoint retired Orion feature-page links to current WCSS docs s…
jason-capsule42 Aug 14, 2026
8103f6d
ci: add PR-scoped dist-tag to npm publish for prerelease versions #294
jason-capsule42 Aug 14, 2026
a9116be
fix(engines): loosen node engine to >=20 to match other Auro repos AB…
jason-capsule42 Aug 14, 2026
d4cbe89
fix(deps): drop chalk runtime dependency by de-chalking postinstall b…
jason-capsule42 Aug 14, 2026
dff21cd
fix(type): restore Dart Sass <1.90 compatibility in type-generator if…
jason-capsule42 Aug 14, 2026
b050ad9
fix: correct lg breakpoint token and font-weight custom property in u…
jason-capsule42 Aug 17, 2026
72d0658
docs: fix auro-1 migration path and theme-config maintenance note #294
jason-capsule42 Aug 17, 2026
4fcdae0
refactor: remove unused Sass @use imports #294
jason-capsule42 Aug 17, 2026
b3986e9
fix(type): restore Hawaiian accent letter-spacing opt-out and drop de…
jason-capsule42 Aug 17, 2026
11b3c68
chore: address code-review feedback on Sass module migration #294
jason-capsule42 Aug 17, 2026
23baec6
test(type): guard multi-theme :root scoping and fix review-flagged do…
jason-capsule42 Aug 17, 2026
720ba1c
build: track generated dist bundle and theme-codes partial
jason-capsule42 Aug 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ jobs:
return packageJson;
result-encoding: string
- name: Publish to NPM
run: npm publish --registry=https://registry.npmjs.org
# Prerelease versions require an explicit dist-tag. Use a PR-scoped tag
# so PR releases never move the shared `latest` tag.
run: npm publish --registry=https://registry.npmjs.org --tag pr${{ github.event.pull_request.number }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Fallback only
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # Fallback only
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ build
test
results
coverage/
dist
example/temp
example/prodBuild/
example/tokensBuild/
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ src/scripts/
# overrides
!CHANGELOG.md
!README.md
!MIGRATION.md
1 change: 1 addition & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"warn",
"extend",
"use",
"forward",
"layer"
]
}]
Expand Down
8 changes: 4 additions & 4 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ The following are frequently asked questions.

## I updated my version and am now getting a missing variable error?

When you update to v2.8, if you get an error that there are missing Sass variables with the Auro namespace, e.g. `$auro- ...` simply import the new Auro Sass variables generated from the tokens.
When you update to v2.8, if you get an error that there are missing Sass variables with the Auro namespace, e.g. `$auro- ...` simply load the new Auro Sass variables generated from the tokens.

```scss
@import "~@aurodesignsystem/design-tokens/dist/auro-classic/SCSSVariables";
@use "~@aurodesignsystem/design-tokens/dist/auro-classic/SCSSVariables" as *;
```

## I updated my version, now some utility selectors are no longer there?
Expand All @@ -18,10 +18,10 @@ If you have been using selectors from the now deprecated `_layoutProperties.scss
.util_[margin/padding][Top/Right/Bottom/Left]--[none/xs/md/lg/xl]
```

The easy fix is to import the new layout properties generator file that will fill this gap.
The easy fix is to load the new layout properties generator file that will fill this gap.

```scss
@import "./node_modules/@aurodesignsystem/webcorestylesheets/dist/utilityMixins/layoutPropertiesGenerator";
@use "./node_modules/@aurodesignsystem/webcorestylesheets/dist/utilityMixins/layoutPropertiesGenerator" as *;
```

For full details on this generator, please see the [generator documentation](https://alaskaairlines.github.io/WebCoreStyleSheets/#utility-layout-mixin-auro_layoutPropertiesGenerator).
34 changes: 17 additions & 17 deletions FEATURES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ For the full API, please see the [WCSS docs site](https://alaskaairlines.github.

## Scoping

Be sure to see the [prefixing and scoping API](http://alaskaairlines.github.io/OrionWebCoreStyleSheets/#scope-prefix) in the documentation site.
Be sure to see the [prefixing and scoping API](https://alaskaairlines.github.io/WebCoreStyleSheets/#scope-prefix) in the documentation site.

When supporting legacy UIs there may be issues with importing a Sass file and its selectors. To enable scoping simply set the `$scope` variable to be `true` before importing any selectors that support this setting.
When supporting legacy UIs there may be issues with importing a Sass file and its selectors. Under the Sass module system, configure the `$scope` value via `@use ... with (...)` on the `manageScope` module. This must be done **before** loading any selectors that support this setting (the first `@use` of `manageScope` is the one that carries configuration).

```scss
$scope: true;
@import "~@aurodesignsystem/webcorestylesheets/dist/ ... "
@use "~@aurodesignsystem/webcorestylesheets/dist/libSupport/manageScope" with ($scope: true);
@use "~@aurodesignsystem/webcorestylesheets/dist/ ... ";
```

This setting will result in the following CSS selectors
Expand All @@ -24,11 +24,11 @@ html.auro { ... }

## Prefixing

To enable prefixing simply set the `$prefix` variable to be `true` before importing any selectors that support this setting.
To enable prefixing, configure the `$prefix` value via `@use ... with (...)` on the `manageScope` module, **before** loading any selectors that support this setting.

```scss
$prefix: true;
@import "~@aurodesignsystem/webcorestylesheets/dist/ ... "
@use "~@aurodesignsystem/webcorestylesheets/dist/libSupport/manageScope" with ($prefix: true);
@use "~@aurodesignsystem/webcorestylesheets/dist/ ... ";
```

This setting will result in the following CSS selectors
Expand All @@ -42,12 +42,11 @@ body,

## Scoping and prefixing

If needed, both `$scope` and `prefix` can work in tandem. To enable, simply set both the `scope` and `prefix` variables as `true` before importing any selectors that support these settings.
If needed, both `$scope` and `$prefix` can work in tandem. Configure both on the `manageScope` module in a single `@use ... with (...)`, **before** loading any selectors that support these settings.

```scss
$scope: true;
$prefix: true;
@import "~@aurodesignsystem/webcorestylesheets/dist/ ... "
@use "~@aurodesignsystem/webcorestylesheets/dist/libSupport/manageScope" with ($scope: true, $prefix: true);
@use "~@aurodesignsystem/webcorestylesheets/dist/ ... ";
```

This setting will result in the following CSS selectors
Expand All @@ -61,10 +60,11 @@ html.auro { ... }

## Importing utility classes and using the !important flag

When importing utility selectors developers have the option to invoke the `!important` CSS flag. Within WCSS the global `$important` variable is `null` by default. To change, simply change the value of the variable before importing any utility partials.
When importing utility selectors developers have the option to invoke the `!important` CSS flag. Within WCSS the `$important` variable is `null` by default. To change it, configure the `important` module via `@use ... with (...)` **before** loading any utility partials.

```scss
$important: true;
@use "~@aurodesignsystem/webcorestylesheets/dist/utilityVariables/important" with ($important: true);
@use "~@aurodesignsystem/webcorestylesheets/dist/utilityClasses/ ... ";
```

The output of default selector
Expand All @@ -83,7 +83,7 @@ The output with `$important: true`
}
```

See !important [spec](http://alaskaairlines.github.io/OrionWebCoreStyleSheets/#utility-variable-important)
See !important [spec](https://alaskaairlines.github.io/WebCoreStyleSheets/#utility-variable-important)


## layoutPropertiesGenerator
Expand All @@ -94,7 +94,7 @@ Importing this file will auto-generates all available utility selectors. Output
none, xs, md, lg, xl
```

See [API](http://alaskaairlines.github.io/OrionWebCoreStyleSheets/#utility-layout-mixin-auro_layoutPropertiesGenerator)
See [API](https://alaskaairlines.github.io/WebCoreStyleSheets/#utility-layout-mixin-auro_layoutPropertiesGenerator)

## insetUtility selector generator

Expand All @@ -104,7 +104,7 @@ Importing this file will return a series of pre-defined inset (_the padding arou
none, xxxs, xxs, xs, sm, md, lg, xl, xxl, xxxl
```

See [API](http://alaskaairlines.github.io/OrionWebCoreStyleSheets/#utility-layout-mixin-auro_inset)
See [API](https://alaskaairlines.github.io/WebCoreStyleSheets/#utility-inset)

## spacingUtility selector generator

Expand All @@ -116,4 +116,4 @@ Importing this file will return a series of pre-defined selectors based on the s
none, xxxs, xxs, xs, sm, md, lg, xl, xxl, xxxl
```

See [API](http://alaskaairlines.github.io/OrionWebCoreStyleSheets/#utility-layout-mixin-auro_spacing)
See [API](https://alaskaairlines.github.io/WebCoreStyleSheets/#utility-layout-mixin-auro_spacing)
Loading
Loading