Skip to content

Commit

Permalink
[DPEDE-3136] Prepare Chi 6.19.0 release (#1462)
Browse files Browse the repository at this point in the history
* [DPEDE-3136] Prepare Chi 6.19.0 release

* [DPEDE-3136] Added SRI
  • Loading branch information
josecarlosgonzalezv authored Dec 19, 2024
1 parent c7098d4 commit 1e54159
Show file tree
Hide file tree
Showing 28 changed files with 191 additions and 56 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

## 6.19.0 (December 19, 2024)

### Components

#### Added

- Added: Tooltip Vue component now supports `wrapper`property.

## 6.18.0 (December 18, 2024)

### Components
Expand Down
123 changes: 119 additions & 4 deletions lib/chi-custom-elements/docs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"timestamp": "2024-12-16T11:07:21",
"timestamp": "2024-12-19T09:41:53",
"compiler": {
"name": "@stencil/core",
"version": "4.22.3",
Expand Down Expand Up @@ -729,9 +729,15 @@
"styles": [],
"slots": [],
"parts": [],
"dependents": [],
"dependents": [
"chi-tags"
],
"dependencies": [],
"dependencyGraph": {}
"dependencyGraph": {
"chi-tags": [
"chi-badge"
]
}
},
{
"filePath": "src/components/brand/brand.tsx",
Expand Down Expand Up @@ -1116,7 +1122,8 @@
"chi-copy-text",
"chi-dropdown",
"chi-label",
"chi-popover"
"chi-popover",
"chi-tags"
],
"dependencies": [
"chi-icon"
Expand Down Expand Up @@ -1145,6 +1152,9 @@
],
"chi-popover": [
"chi-button"
],
"chi-tags": [
"chi-button"
]
}
},
Expand Down Expand Up @@ -9754,6 +9764,106 @@
]
}
},
{
"filePath": "src/components/tags/tags.tsx",
"encapsulation": "none",
"tag": "chi-tags",
"docs": "",
"docsTags": [],
"usage": {},
"props": [
{
"name": "placeholder",
"type": "string",
"complexType": {
"original": "string",
"resolved": "string",
"references": {}
},
"mutable": false,
"attr": "placeholder",
"reflectToAttr": false,
"docs": "To define placeholder of Text input",
"docsTags": [],
"default": "''",
"values": [
{
"type": "string"
}
],
"optional": false,
"required": false
},
{
"name": "tags",
"type": "Tag[]",
"complexType": {
"original": "Tag[]",
"resolved": "Tag[]",
"references": {
"Tag": {
"location": "import",
"path": "../../constants/types",
"id": "src/constants/types.ts::Tag"
}
}
},
"mutable": false,
"reflectToAttr": false,
"docs": "To add tags",
"docsTags": [],
"default": "[]",
"values": [
{
"type": "Tag[]"
}
],
"optional": false,
"required": false
}
],
"methods": [],
"events": [
{
"event": "chiChange",
"detail": "Tag[]",
"bubbles": true,
"complexType": {
"original": "Tag[]",
"resolved": "Tag[]",
"references": {
"Tag": {
"location": "import",
"path": "../../constants/types",
"id": "src/constants/types.ts::Tag"
}
}
},
"cancelable": true,
"composed": true,
"docs": "Triggered when the user selects or deselects an option",
"docsTags": []
}
],
"listeners": [],
"styles": [],
"slots": [],
"parts": [],
"dependents": [],
"dependencies": [
"chi-badge",
"chi-button"
],
"dependencyGraph": {
"chi-tags": [
"chi-badge",
"chi-button"
],
"chi-button": [
"chi-icon"
]
}
},
{
"filePath": "src/components/text-input/text-input.tsx",
"encapsulation": "scoped",
Expand Down Expand Up @@ -11856,6 +11966,11 @@
"docstring": "",
"path": "src/constants/size.ts"
},
"src/constants/types.ts::Tag": {
"declaration": "export interface Tag {\n name: string;\n}",
"docstring": "",
"path": "src/constants/types.ts"
},
"src/constants/constants.ts::TextInputTypes": {
"declaration": "\"number\" | \"time\" | \"text\" | \"datetime\" | \"date\" | \"datetime-local\" | \"email\" | \"month\" | \"password\" | \"search\" | \"tel\" | \"url\" | \"week\"",
"docstring": "",
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": "6.18.0",
"version": "6.19.0",
"description": "Chi is Lumen's design system for building consistent digital products and experiences.",
"license": "MIT",
"main": "bin/chi.js",
Expand Down
10 changes: 5 additions & 5 deletions src/boilerplates/stencil/chi-stencil-boilerplate/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@
<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/6.18.0/chi.css" integrity="sha256-dTZULQ5pWZi5LGK6y6Qyl+S8pjnl7aaXl9Y8FVFHrvU=" crossorigin="anonymous">
<link rel="stylesheet" href="https://lib.lumen.com/chi/6.19.0/chi.css" integrity="sha256-IFDQyZ7l8U3JeFogpjFKPklAwmgA0aeTmUYkX9AhfQo=" crossorigin="anonymous">
<link
rel="icon"
type="image/svg+xml"
href="https://lib.lumen.com/chi/6.18.0/assets/themes/lumen/images/favicon.svg"
href="https://lib.lumen.com/chi/6.19.0/assets/themes/lumen/images/favicon.svg"
integrity="sha256-s8cfYbPxhcrLj+FL/OxALhZoDmlCwvX2/K3I0hq1PAs="
crossorigin="anonymous"
/>
<link
rel="alternate icon"
href="https://lib.lumen.com/chi/6.18.0/assets/themes/lumen/images/favicon.ico"
href="https://lib.lumen.com/chi/6.19.0/assets/themes/lumen/images/favicon.ico"
integrity="sha256-EkKmbH+i/VIQAtUl7NF4bPVaaJZCeBc5xWx8LTcMJp0="
crossorigin="anonymous"
/>
<script src="https://lib.lumen.com/chi/6.18.0/js/chi.js" integrity="sha256-EVoPuMqk72qbdw1lZZ1eA8cNZoxY8BkI0l2XJlj/BTg=" crossorigin="anonymous"></script>
<script src="https://lib.lumen.com/chi/6.19.0/js/chi.js" integrity="sha256-EVoPuMqk72qbdw1lZZ1eA8cNZoxY8BkI0l2XJlj/BTg=" crossorigin="anonymous"></script>
<script
type="module"
src="https://lib.lumen.com/chi/6.18.0/js/ce/ux-chi-ce/ux-chi-ce.esm.js"
src="https://lib.lumen.com/chi/6.19.0/js/ce/ux-chi-ce/ux-chi-ce.esm.js"
integrity="sha256-a0ZSR7NiZJKPthjDZsYVLrCU3rLgDiVK8yhyCQ15gfg="
crossorigin="anonymous"
></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 = '6.18.0';
export const CHI_VERSION = '6.19.0';
1 change: 1 addition & 0 deletions src/documentation/constants/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ export const NAVIGATION_FOUNDATIONS = [
];

export const CHI_VISIBLE_VERSION = [
'6.19.0',
'6.18.0',
'6.17.0',
'6.16.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="6.18.0";
window.chiCurrentVersion="6.19.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('6.18.0');
const redirectionURL = pageURL.split('latest').join('6.19.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 @@ -250,9 +250,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") v6.18.0
button.chi-button.-flat.-px--1.chi-dropdown__trigger.-animate(data-position='bottom-end', id='version-dropdown', aria-label="Toggle Chi version") v6.19.0
.chi-dropdown__menu(style='width:10rem;')#versionDropdown
a.chi-dropdown__menu-item.-active(href='https://lib.lumen.com/chi/6.18.0') v6.18.0
a.chi-dropdown__menu-item.-active(href='https://lib.lumen.com/chi/6.19.0') v6.19.0
a.chi-dropdown__menu-item(href='https://lib.lumen.com/chi/6.18.0') v6.18.0
a.chi-dropdown__menu-item(href='https://lib.lumen.com/chi/6.17.0') v6.17.0
a.chi-dropdown__menu-item(href='https://lib.lumen.com/chi/6.16.0') v6.16.0
a.chi-dropdown__menu-item(href='https://lib.lumen.com/chi/6.15.0') v6.15.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/6.18.0/chi.css
| https://lib.lumen.com/chi/6.19.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/6.18.0/chi-centurylink.css
| https://lib.lumen.com/chi/6.19.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/6.18.0/chi-portal.css
| https://lib.lumen.com/chi/6.19.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/6.18.0/js/chi.js
| https://lib.lumen.com/chi/6.19.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/6.18.0/assets/themes/lumen/images/favicon.svg
| https://lib.lumen.com/chi/6.19.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/6.18.0/assets/themes/lumen/images/favicon.ico
| https://lib.lumen.com/chi/6.19.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/6.18.0/assets/themes/centurylink/images/favicon.svg
| https://lib.lumen.com/chi/6.19.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/6.18.0/assets/themes/centurylink/images/favicon.ico
| https://lib.lumen.com/chi/6.19.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/6.18.0/js/ce/ux-chi-ce/ux-chi-ce.esm.js
| https://lib.lumen.com/chi/6.19.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/6.18.0/js/ce/ux-chi-ce/ux-chi-ce.js
| https://lib.lumen.com/chi/6.19.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 v6.18.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 v6.19.0
else
.chi-grid__container
h1.docs-titlebar__title=title
Expand Down
4 changes: 2 additions & 2 deletions src/website/views/components/button/_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>,<code>Space</code>
td Activates the button
p.-text
| For comprehensive details on keyboard support for buttons, refer to our <a href="https://lib.lumen.com/chi/6.18.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/6.19.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 @@ -85,7 +85,7 @@ ul.-text

h3 Other recommendations
p.-text
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/6.18.0/foundations/accessibility/overview" target="_blank">Accessibility Guide.</a>
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/6.19.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/date-picker/_accessibility.pug
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ table.chi-table


p.-text
| For comprehensive details on keyboard support, refer to our <a href="https://lib.lumen.com/chi/6.18.0/foundations/accessibility/using-keyboard/" target="_blank">Keyboard Control Guide.</a>
| For comprehensive details on keyboard support, refer to our <a href="https://lib.lumen.com/chi/6.19.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/6.18.0/foundations/accessibility/overview" target="_blank">Accessibility Guide.</a>
| Explore additional accessibility tips in the general <a href="https://lib.lumen.com/chi/6.19.0/foundations/accessibility/overview" target="_blank">Accessibility Guide.</a>

h3 WCAG 2.2 Guidelines
ul.-text
Expand Down
Loading

0 comments on commit 1e54159

Please sign in to comment.