Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
fa48bd6
feat(type): add data-attribute theme scoping for type custom properti…
jason-capsule42 Aug 13, 2026
1360256
ci: stop deleting post mortem files during build #294
jason-capsule42 Aug 14, 2026
cda6be0
feat!: migrate Sass @import to the module system (@use/@forward) #294
jason-capsule42 Aug 14, 2026
343721c
docs: repoint retired Orion feature-page links to current WCSS docs s…
jason-capsule42 Aug 14, 2026
09b6093
ci: add PR-scoped dist-tag to npm publish for prerelease versions #294
jason-capsule42 Aug 14, 2026
989e3d5
fix(engines): loosen node engine to >=20 to match other Auro repos AB…
jason-capsule42 Aug 14, 2026
e0f0ce5
fix(deps): drop chalk runtime dependency by de-chalking postinstall b…
jason-capsule42 Aug 14, 2026
7d75750
fix(type): restore Dart Sass <1.90 compatibility in type-generator if…
jason-capsule42 Aug 14, 2026
799c24b
fix: correct lg breakpoint token and font-weight custom property in u…
jason-capsule42 Aug 17, 2026
5e592a8
docs: fix auro-1 migration path and theme-config maintenance note #294
jason-capsule42 Aug 17, 2026
b5a4d0a
refactor: remove unused Sass @use imports #294
jason-capsule42 Aug 17, 2026
8f21bca
fix(type): restore Hawaiian accent letter-spacing opt-out and drop de…
jason-capsule42 Aug 17, 2026
4cd87f7
chore: address code-review feedback on Sass module migration #294
jason-capsule42 Aug 17, 2026
e87835d
test(type): guard multi-theme :root scoping and fix review-flagged do…
jason-capsule42 Aug 17, 2026
6dad137
ci: submit rebuild now that dist is commited #294
jason-capsule42 Aug 17, 2026
13de340
build: silence our own deprecation warning during testing #294
jason-capsule42 Aug 17, 2026
275eb34
build: commit generated theme-codes partial and verify build output i…
jason-capsule42 Aug 19, 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
15 changes: 15 additions & 0 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,21 @@ runs:
- name: Build
run: npm run build
shell: bash
- name: Verify committed build output is up to date
# Guardrail: the committed generated files must match what `npm run build`
# produces. This covers both the publishable dist/ bundles and the
# generated Sass partial src/type/mixins/_theme-codes.scss (derived from
# @aurodesignsystem/design-tokens). If this fails, someone changed src/ or
# bumped design-tokens without rebuilding — run `npm run build` locally and
# commit the resulting changes.
run: |
if [ -n "$(git status --porcelain -- dist/ src/type/mixins/_theme-codes.scss)" ]; then
echo "::error::Committed build output is out of date. Run 'npm run build' and commit the changes."
git status --porcelain -- dist/ src/type/mixins/_theme-codes.scss
git diff -- dist/ src/type/mixins/_theme-codes.scss
exit 1
fi
shell: bash
- name: Build SassDoc
run: npm run build:sassdoc
shell: bash
Expand Down
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 --tag pr
# 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: 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