Skip to content

Commit

Permalink
[DPEDE-1711] Prepare Chi 5.59.0 release (#1165)
Browse files Browse the repository at this point in the history
  • Loading branch information
jllr authored Apr 18, 2024
1 parent 5728fd7 commit ffa5252
Show file tree
Hide file tree
Showing 25 changed files with 288 additions and 237 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# CHANGELOG

## 5.59.0 (April 18, 2024)

### Components

#### Changed

- Changed: Helper message icon colors have been updated in Portal theme for consistency with Brand guidelines.

### Documentation

#### Added

- Added: Toggle switch accessibility page.

#### Changed

- Changed: Accessibility using the keyboard page to WCAG 2.2.
- Changed: Accessibility text page to WCAG 2.2.

## 5.58.0 (April 12, 2024)

### Components
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@centurylink/chi",
"version": "5.58.0",
"version": "5.59.0",
"description": "Chi is Lumen's design system for building consistent digital products and experiences.",
"license": "MIT",
"main": "bin/chi.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link href="/build/app.css" rel="stylesheet" />

<link rel="apple-touch-icon" href="/assets/icon/icon.png" />
<link rel="stylesheet" href="https://lib.lumen.com/chi/5.58.0/chi.css" integrity="sha256-R8QmP3u/ladpNx7TpA1YFRfetGjZU1RhgiGuLqX0CsY=" crossorigin="anonymous">
<link rel="stylesheet" href="https://lib.lumen.com/chi/5.59.0/chi.css" integrity="sha256-OKCsesPwhscb5QuWr6nbBr7ltUCgvvWEOvK7HDQEY6k=" crossorigin="anonymous">
<link
rel="icon"
type="image/svg+xml"
Expand All @@ -28,7 +28,7 @@
integrity="sha256-EkKmbH+i/VIQAtUl7NF4bPVaaJZCeBc5xWx8LTcMJp0="
crossorigin="anonymous"
/>
<script src="https://lib.lumen.com/chi/5.58.0/js/chi.js" integrity="sha256-Qyk85r9sIsP8AQ9hGlV+bkIFp/MQw0cWNtRrjHcZlCU=" crossorigin="anonymous"></script>
<script src="https://lib.lumen.com/chi/5.59.0/js/chi.js" integrity="sha256-Qyk85r9sIsP8AQ9hGlV+bkIFp/MQw0cWNtRrjHcZlCU=" crossorigin="anonymous"></script>
<script
type="module"
src="https://lib.lumen.com/chi/5.50.0/js/ce/ux-chi-ce/ux-chi-ce.esm.js"
Expand Down
10 changes: 5 additions & 5 deletions src/chi-vue/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<title>Chi Vue</title>
<link rel="stylesheet" href="https://lib.lumen.com/chi/5.58.0/chi-portal.css" />
<link rel="icon" type="image/svg+xml" href="https://lib.lumen.com/chi/5.58.0/assets/images/favicon.svg" />
<link rel="alternate icon" href="https://lib.lumen.com/chi/5.58.0/assets/images/favicon.ico" />
<script src="https://lib.lumen.com/chi/5.58.0/js/chi.js"></script>
<script type="module" src="https://lib.lumen.com/chi/5.58.0/js/ce/ux-chi-ce/ux-chi-ce.esm.js"></script>
<link rel="stylesheet" href="https://lib.lumen.com/chi/5.59.0/chi-portal.css" />
<link rel="icon" type="image/svg+xml" href="https://lib.lumen.com/chi/5.59.0/assets/images/favicon.svg" />
<link rel="alternate icon" href="https://lib.lumen.com/chi/5.59.0/assets/images/favicon.ico" />
<script src="https://lib.lumen.com/chi/5.59.0/js/chi.js"></script>
<script type="module" src="https://lib.lumen.com/chi/5.59.0/js/ce/ux-chi-ce/ux-chi-ce.esm.js"></script>
</head>
<body>
<noscript>
Expand Down
387 changes: 199 additions & 188 deletions src/chi-vue/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/chi-vue/src/build/plugin/constants.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const CHI_VERSION = '5.58.0';
export const CHI_VERSION = '5.59.0';
export const CHI_LIB_LUMEN = 'https://lib.lumen.com/chi';
6 changes: 3 additions & 3 deletions src/custom-elements/docs/docs.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"timestamp": "2024-04-11T12:36:35",
"timestamp": "2024-04-18T09:45:29",
"compiler": {
"name": "@stencil/core",
"version": "4.15.0",
"typescriptVersion": "5.4.4"
"version": "4.16.0",
"typescriptVersion": "5.4.5"
},
"components": [
{
Expand Down
6 changes: 3 additions & 3 deletions src/custom-elements/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/custom-elements/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<link
rel="icon"
type="image/svg+xml"
href="https://lib.lumen.com/chi/5.58.0/assets/themes/lumen/images/favicon.svg"
href="https://lib.lumen.com/chi/5.59.0/assets/themes/lumen/images/favicon.svg"
/>
<link rel="alternate icon" href="https://lib.lumen.com/chi/5.58.0/assets/themes/lumen/images/favicon.ico" />
<link rel="alternate icon" href="https://lib.lumen.com/chi/5.59.0/assets/themes/lumen/images/favicon.ico" />
<!-- <link rel="stylesheet" href="http://localhost:8000/chi.css"> -->
<link rel="stylesheet" href="https://lib.lumen.com/chi/5.58.0/chi-portal.css" />
<script src="https://lib.lumen.com/chi/5.58.0/js/chi.js"></script>
<link rel="stylesheet" href="https://lib.lumen.com/chi/5.59.0/chi-portal.css" />
<script src="https://lib.lumen.com/chi/5.59.0/js/chi.js"></script>
<link rel="icon" href="assets/favicon.ico" />
<title>Chi - Custom elements</title>
<script type="module" src="/build/ux-chi-ce.esm.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion src/documentation/constants/configs.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const DEFAULT_THEME = 'lumen';
export const CHI_VERSION = '5.58.0';
export const CHI_VERSION = '5.59.0';
1 change: 1 addition & 0 deletions src/documentation/constants/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ export const NAVIGATION_FOUNDATIONS = [
];

export const CHI_VISIBLE_VERSION = [
'5.59.0',
'5.58.0',
'5.57.0',
'5.56.0',
Expand Down
2 changes: 1 addition & 1 deletion src/website/assets/scripts/globalConfigs.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
window.chiCurrentVersion="5.58.0";
window.chiCurrentVersion="5.59.0";
2 changes: 1 addition & 1 deletion src/website/layouts/default.pug
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ html.chi(lang="en")
const pageURL = window.location.href;

if (pageURL.includes('latest')) {
const redirectionURL = pageURL.split('latest').join('5.58.0');
const redirectionURL = pageURL.split('latest').join('5.59.0');

window.location.href = redirectionURL;
}
Expand Down
5 changes: 3 additions & 2 deletions src/website/layouts/partials/header.pug
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,10 @@ header.chi-header.docs-header.-z--20
#docsearch.-chi-search
.chi-header__end
.chi-dropdown
button.chi-button.-flat.-px--1.chi-dropdown__trigger.-animate(data-position='bottom-end', id='version-dropdown', aria-label="Toggle Chi version") v5.58.0
button.chi-button.-flat.-px--1.chi-dropdown__trigger.-animate(data-position='bottom-end', id='version-dropdown', aria-label="Toggle Chi version") v5.59.0
.chi-dropdown__menu(style='width:10rem;')#versionDropdown
a.chi-dropdown__menu-item.-active(href='https://lib.lumen.com/chi/5.58.0') v5.58.0
a.chi-dropdown__menu-item.-active(href='https://lib.lumen.com/chi/5.59.0') v5.59.0
a.chi-dropdown__menu-item(href='https://lib.lumen.com/chi/5.58.0') v5.58.0
a.chi-dropdown__menu-item(href='https://lib.lumen.com/chi/5.57.0') v5.57.0
a.chi-dropdown__menu-item(href='https://lib.lumen.com/chi/5.56.0') v5.56.0
a.chi-dropdown__menu-item(href='https://lib.lumen.com/chi/5.55.0') v5.55.0
Expand Down
20 changes: 10 additions & 10 deletions src/website/layouts/partials/sriDoc.pug
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if name === 'css-lumen'
span.token.attr-value
span.token.punctuation.attr-equals =
span.token.punctuation &quot;
| https://lib.lumen.com/chi/5.58.0/chi.css
| https://lib.lumen.com/chi/5.59.0/chi.css
span.token.punctuation &quot;
span.token.attr-name integrity
span.token.attr-value
Expand Down Expand Up @@ -48,7 +48,7 @@ if name === 'css-centurylink'
span.token.attr-value
span.token.punctuation.attr-equals =
span.token.punctuation &quot;
| https://lib.lumen.com/chi/5.58.0/chi-centurylink.css
| https://lib.lumen.com/chi/5.59.0/chi-centurylink.css
span.token.punctuation &quot;
span.token.attr-name integrity
span.token.attr-value
Expand Down Expand Up @@ -81,7 +81,7 @@ if name === 'css-portal'
span.token.attr-value
span.token.punctuation.attr-equals =
span.token.punctuation &quot;
| https://lib.lumen.com/chi/5.58.0/chi-portal.css
| https://lib.lumen.com/chi/5.59.0/chi-portal.css
span.token.punctuation &quot;
span.token.attr-name integrity
span.token.attr-value
Expand All @@ -108,7 +108,7 @@ if name === 'js'
span.token.attr-value
span.token.punctuation.attr-equals =
span.token.punctuation &quot;
| https://lib.lumen.com/chi/5.58.0/js/chi.js
| https://lib.lumen.com/chi/5.59.0/js/chi.js
span.token.punctuation &quot;
span.token.attr-name integrity
span.token.attr-value
Expand Down Expand Up @@ -153,7 +153,7 @@ if name === 'favicon-lumen'
span.token.attr-value
span.token.punctuation.attr-equals =
span.token.punctuation &quot;
| https://lib.lumen.com/chi/5.58.0/assets/themes/lumen/images/favicon.svg
| https://lib.lumen.com/chi/5.59.0/assets/themes/lumen/images/favicon.svg
span.token.punctuation &quot;
span.token.attr-name integrity
span.token.attr-value
Expand Down Expand Up @@ -182,7 +182,7 @@ if name === 'favicon-lumen'
span.token.attr-value
span.token.punctuation.attr-equals =
span.token.punctuation &quot;
| https://lib.lumen.com/chi/5.58.0/assets/themes/lumen/images/favicon.ico
| https://lib.lumen.com/chi/5.59.0/assets/themes/lumen/images/favicon.ico
span.token.punctuation &quot;
span.token.attr-name integrity
span.token.attr-value
Expand Down Expand Up @@ -221,7 +221,7 @@ if name === 'favicon-centurylink'
span.token.attr-value
span.token.punctuation.attr-equals =
span.token.punctuation &quot;
| https://lib.lumen.com/chi/5.58.0/assets/themes/centurylink/images/favicon.svg
| https://lib.lumen.com/chi/5.59.0/assets/themes/centurylink/images/favicon.svg
span.token.punctuation &quot;
span.token.attr-name integrity
span.token.attr-value
Expand Down Expand Up @@ -250,7 +250,7 @@ if name === 'favicon-centurylink'
span.token.attr-value
span.token.punctuation.attr-equals =
span.token.punctuation &quot;
| https://lib.lumen.com/chi/5.58.0/assets/themes/centurylink/images/favicon.ico
| https://lib.lumen.com/chi/5.59.0/assets/themes/centurylink/images/favicon.ico
span.token.punctuation &quot;
span.token.attr-name integrity
span.token.attr-value
Expand Down Expand Up @@ -283,7 +283,7 @@ if name === 'web-components'
span.token.attr-value
span.token.punctuation.attr-equals =
span.token.punctuation &quot;
| https://lib.lumen.com/chi/5.58.0/js/ce/ux-chi-ce/ux-chi-ce.esm.js
| https://lib.lumen.com/chi/5.59.0/js/ce/ux-chi-ce/ux-chi-ce.esm.js
span.token.punctuation &quot;
span.token.attr-name integrity
span.token.attr-value
Expand Down Expand Up @@ -317,7 +317,7 @@ if name === 'web-components'
span.token.attr-value
span.token.punctuation.attr-equals =
span.token.punctuation &quot;
| https://lib.lumen.com/chi/5.58.0/js/ce/ux-chi-ce/ux-chi-ce.js
| https://lib.lumen.com/chi/5.59.0/js/ce/ux-chi-ce/ux-chi-ce.js
span.token.punctuation &quot;
span.token.attr-name integrity
span.token.attr-value
Expand Down
2 changes: 1 addition & 1 deletion src/website/layouts/partials/titlebar.pug
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if introduction
h2.docs-titlebar__description=introductionSubtitle
.docs-titlebar__buttons
a.chi-button.-primary.-lg.-uppercase.-px--4.-mb--2.-mb-sm--0(href='../getting-started/installation') Install Chi
a.chi-button.-dark.-outline.-lg.-uppercase.-px--4.-ml-sm--2.-mb--2.-mb-sm--0(href='../getting-started/whats-new') See What's New In v5.58.0
a.chi-button.-dark.-outline.-lg.-uppercase.-px--4.-ml-sm--2.-mb--2.-mb-sm--0(href='../getting-started/whats-new') See What's New In v5.59.0
else
.chi-grid__container
h1.docs-titlebar__title=title
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ table.chi-table
td <code>Space</code>
td Toggles checkbox between checked and unchecked states
p.-text
| For comprehensive details on keyboard support for input fields, refer to our <a href="https://lib.lumen.com/chi/5.58.0/foundations/accessibility/using-keyboard/" target="_blank">Keyboard Control Guide.</a>
| For comprehensive details on keyboard support for input fields, refer to our <a href="https://lib.lumen.com/chi/5.59.0/foundations/accessibility/using-keyboard/" target="_blank">Keyboard Control Guide.</a>
p.-text
| Visit <a href="https://webaim.org/techniques/keyboard/" target="_blank">WebAIM</a> for keyboard techniques.

Expand Down Expand Up @@ -84,7 +84,7 @@ ul.-text

h3 Other recommendations
p.-text
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/5.58.0/foundations/accessibility/overview" target="_blank">Accessibility Guide.</a>
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/5.59.0/foundations/accessibility/overview" target="_blank">Accessibility Guide.</a>

h3 WCAG 2.2 Guidelines
ul.-text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ table.chi-table
td <code>Space</code>
td Toggles the selection state of the radio button between checked and unchecked
p.-text
| For comprehensive details on keyboard support for input fields, refer to our <a href="https://lib.lumen.com/chi/5.58.0/foundations/accessibility/using-keyboard/" target="_blank">Keyboard Control Guide.</a>
| For comprehensive details on keyboard support for input fields, refer to our <a href="https://lib.lumen.com/chi/5.59.0/foundations/accessibility/using-keyboard/" target="_blank">Keyboard Control Guide.</a>
p.-text
| Visit <a href="https://webaim.org/techniques/keyboard/" target="_blank">WebAIM</a> for keyboard techniques.

Expand Down Expand Up @@ -81,7 +81,7 @@ ul.-text

h3 Other recommendations
p.-text
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/5.58.0/foundations/accessibility/overview" target="_blank">Accessibility Guide.</a>
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/5.59.0/foundations/accessibility/overview" target="_blank">Accessibility Guide.</a>

h3 WCAG 2.2 Guidelines
ul.-text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ table.chi-table
td Activates the button

p.-text
| For comprehensive details on keyboard support for input fields, refer to our <a href="https://lib.lumen.com/chi/5.58.0/foundations/accessibility/using-keyboard/" target="_blank">Keyboard Control Guide.</a>
| For comprehensive details on keyboard support for input fields, refer to our <a href="https://lib.lumen.com/chi/5.59.0/foundations/accessibility/using-keyboard/" target="_blank">Keyboard Control Guide.</a>
p.-text
| Visit <a href="https://webaim.org/techniques/keyboard/" target="_blank">WebAIM</a> for keyboard techniques.

Expand Down Expand Up @@ -69,7 +69,7 @@ ul.-text

h3 Other recommendations
p.-text
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/5.58.0/foundations/accessibility/links-and-forms/" target="_blank">Accessibility Guide.</a>
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/5.59.0/foundations/accessibility/links-and-forms/" target="_blank">Accessibility Guide.</a>

h3 WCAG 2.2 Guidelines
ul.-text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ table.chi-table
td Activates the button

p.-text
| For comprehensive details on keyboard support for input fields, refer to our <a href="https://lib.lumen.com/chi/5.58.0/foundations/accessibility/using-keyboard/" target="_blank">Keyboard Control Guide.</a>
| For comprehensive details on keyboard support for input fields, refer to our <a href="https://lib.lumen.com/chi/5.59.0/foundations/accessibility/using-keyboard/" target="_blank">Keyboard Control Guide.</a>
p.-text
| Visit <a href="https://webaim.org/techniques/keyboard/" target="_blank">WebAIM</a> for keyboard techniques.

Expand Down Expand Up @@ -69,7 +69,7 @@ ul.-text

h3 Other recommendations
p.-text
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/5.58.0/foundations/accessibility/links-and-forms/" target="_blank">Accessibility Guide.</a>
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/5.59.0/foundations/accessibility/links-and-forms/" target="_blank">Accessibility Guide.</a>

h3 WCAG 2.2 Guidelines
ul.-text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ table.chi-table
td <code>Space</code>,<code>Enter</code>
td Changes state of the switch to checked or not checked.
p.-text
| For comprehensive details on keyboard support for toggle switch, refer to our <a href="https://lib.lumen.com/chi/5.58.0/foundations/accessibility/using-keyboard/" target="_blank">Keyboard Control Guide.</a>
| For comprehensive details on keyboard support for toggle switch, refer to our <a href="https://lib.lumen.com/chi/5.59.0/foundations/accessibility/using-keyboard/" target="_blank">Keyboard Control Guide.</a>
p.-text
| Visit <a href="https://webaim.org/techniques/keyboard/" target="_blank">WebAIM</a> for keyboard techniques.

Expand Down Expand Up @@ -75,7 +75,7 @@ ul.-text

h3 Other recommendations
p.-text
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/5.58.0/foundations/accessibility/overview" target="_blank">Accessibility Guide.</a>
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/5.59.0/foundations/accessibility/overview" target="_blank">Accessibility Guide.</a>

h3 WCAG 2.2 Guidelines
ul.-text
Expand Down
4 changes: 2 additions & 2 deletions src/website/views/components/link/_accessibility.pug
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ table.chi-table
td <code>Enter</code>
td Activates the link
p.-text
| For comprehensive details on keyboard support for buttons, refer to our <a href="https://lib.lumen.com/chi/5.58.0/foundations/accessibility/using-keyboard/" target="_blank">Keyboard Control Guide.</a>
| For comprehensive details on keyboard support for buttons, refer to our <a href="https://lib.lumen.com/chi/5.59.0/foundations/accessibility/using-keyboard/" target="_blank">Keyboard Control Guide.</a>
p.-text
| Visit <a href="https://webaim.org/techniques/keyboard/" target="_blank">WebAIM</a> for keyboard techniques.

Expand Down Expand Up @@ -97,7 +97,7 @@ ul.-text

h3 Other recommendations
p.-text
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/5.58.0/foundations/accessibility/overview" target="_blank">Accessibility Guide.</a>
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/5.59.0/foundations/accessibility/overview" target="_blank">Accessibility Guide.</a>

h3 WCAG 2.2 Guidelines
ul.-text
Expand Down
2 changes: 1 addition & 1 deletion src/website/views/getting-started/installation.pug
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ ul#chi-vue-tabs.chi-tabs.-border
<!-- UMD asset -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://lib.lumen.com/chi/5.58.0/chi-vue/umd/index.umd.js"></script>
<script src="https://lib.lumen.com/chi/5.59.0/chi-vue/umd/index.umd.js"></script>

<!-- Vue component example -->
const exampleVueComponent = Vue.createApp({
Expand Down
19 changes: 19 additions & 0 deletions src/website/views/getting-started/whats-new.pug
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@ title: What's new
order: 5
---

.changelog__version.-py--1
h2.-text--h2.-text--bold.-mb--1 <a href="https://github.com/CenturyLink/Chi/releases/tag/v5.59.0" target="_blank">Chi v5.59.0</a>
.-text--grey.-text--md April 18, 2024
.-pt--1
h3.-text--h3.-text--bold Components
h4.-text--h4.-text--bold Changed
ul.-text.-pl--2
li Changed: Helper message icon colors have been updated in Portal theme for consistency with Brand guidelines.
h3.-text--h3.-text--bold Documentation
h4.-text--h4.-text--bold Added
ul.-text.-pl--2
li Added: Toggle switch accessibility page.
h4.-text--h4.-text--bold Changed
ul.-text.-pl--2
li Changed: Accessibility using the keyboard page to WCAG 2.2.
li Changed: Accessibility text page to WCAG 2.2.

.chi-divider.-my--4

.changelog__version.-py--1
h2.-text--h2.-text--bold.-mb--1 <a href="https://github.com/CenturyLink/Chi/releases/tag/v5.58.0" target="_blank">Chi v5.58.0</a>
.-text--grey.-text--md April 12, 2024
Expand Down
Loading

0 comments on commit ffa5252

Please sign in to comment.