Skip to content

Commit 7b220c5

Browse files
TDS sunset warning added for Core components and Gitbook pages (#1907)
* chore(other): update package-lock.json * chore(other): update package.json * docs(docs): update guide docs * chore(github): update templates * docs(other): update component docs * docs(docs): update component docs * chore(config): update config
1 parent 8ddf3d3 commit 7b220c5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+1173
-368
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ about: Create a report to help us improve
44
title: ''
55
labels: ''
66
assignees: ''
7-
87
---
98

109
**Describe the bug**
10+
1111
> We're sunsetting the maintenance of TDS
12-
> Make sure to verify if your bug has [not been fixed](https://github.com/telus/universal-design-system) yet in [UDS / Allium](https://sites.google.com/telus.com/thinkcontentxdesign/about-us-our-products/allium)
13-
> We encourage everyone to switch to UDS / Allium
14-
Either way, feel free to fix the issue if you can't switch / pick the corresponding component from Allium.
12+
> Make sure to verify if your bug has [not been fixed](https://github.com/telus/universal-design-system/issues) yet in [UDS](https://github.com/telus/universal-design-system)
13+
> We encourage everyone to switch to UDS
14+
> Either way, feel free to fix the issue if you can't switch / pick the corresponding component from UDS.
1515
1616
A clear and concise description of what the bug is.
1717

1818
**To Reproduce**
1919
Steps to reproduce the behavior:
20+
2021
1. Go to '...'
2122
2. Click on '....'
2223
3. Scroll down to '....'
@@ -29,15 +30,17 @@ A clear and concise description of what you expected to happen.
2930
If applicable, add screenshots to help explain your problem.
3031

3132
**Desktop (please complete the following information):**
32-
- OS: [e.g. iOS]
33-
- Browser [e.g. chrome, safari]
34-
- Version [e.g. 22]
33+
34+
- OS: [e.g. iOS]
35+
- Browser [e.g. chrome, safari]
36+
- Version [e.g. 22]
3537

3638
**Smartphone (please complete the following information):**
37-
- Device: [e.g. iPhone6]
38-
- OS: [e.g. iOS8.1]
39-
- Browser [e.g. stock browser, safari]
40-
- Version [e.g. 22]
39+
40+
- Device: [e.g. iPhone6]
41+
- OS: [e.g. iOS8.1]
42+
- Browser [e.g. stock browser, safari]
43+
- Version [e.g. 22]
4144

4245
**Additional context**
4346
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_template.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ about: Suggest an idea for tds-core
44
title: ''
55
labels: ''
66
assignees: ''
7-
87
---
98

109
> We're sunsetting the maintenance of TDS
11-
> Make sure to verify if your bug has [not been fixed](https://github.com/telus/universal-design-system) yet in [UDS / Allium](https://sites.google.com/telus.com/thinkcontentxdesign/about-us-our-products/allium)
12-
> We encourage everyone to switch to UDS / Allium
13-
Either way, feel free to fix the issue if you can't switch / pick the corresponding component from Allium.
10+
> Make sure to verify if your bug has [not been fixed](https://github.com/telus/universal-design-system/issues) yet in [UDS](https://github.com/telus/universal-design-system)
11+
> We encourage everyone to switch to UDS
12+
> Either way, feel free to fix the issue if you can't switch / pick the corresponding component from UDS.
1413
1514
<!--
1615
### IMPORTANT SECURITY NOTE ###

.github/ISSUE_TEMPLATE/icon_template.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ about: Request a new icon
44
title: ''
55
labels: ''
66
assignees: ''
7-
87
---
98

109
> We're sunsetting the maintenance of TDS
11-
> Make sure to verify if your bug has [not been fixed](https://github.com/telus/universal-design-system) yet in [UDS / Allium](https://sites.google.com/telus.com/thinkcontentxdesign/about-us-our-products/allium)
12-
> We encourage everyone to switch to UDS / Allium
13-
Either way, feel free to fix the issue if you can't switch / pick the corresponding component from Allium.
10+
> Make sure to verify if your bug has [not been fixed](https://github.com/telus/universal-design-system/issues) yet in [UDS](https://github.com/telus/universal-design-system/)
11+
> We encourage everyone to switch to UDS
12+
> Either way, feel free to fix the issue if you can't switch / pick the corresponding component from UDS.
1413
1514
<!--
1615
### IMPORTANT SECURITY NOTE ###
@@ -22,7 +21,7 @@ Either way, feel free to fix the issue if you can't switch / pick the correspond
2221
Also, do not include links to sites on staging.
2322
-->
2423

25-
<!--
24+
<!--
2625
### TDS Timeline for releasing icons ###
2726
2827
New icon requests will be released midway in the next month.
@@ -37,7 +36,7 @@ Either way, feel free to fix the issue if you can't switch / pick the correspond
3736
## Actions
3837

3938
1. Did you check to see if there are icons available in TDS that can be used instead? Yes/No
40-
2. Is your proposed icon from the TELUS Brand-approved set from one of the appointed designers*? Yes/No
39+
2. Is your proposed icon from the TELUS Brand-approved set from one of the appointed designers\*? Yes/No
4140
3. If your design lead has approved this change, please note their name: [design lead name]
4241
4. If the art director has approved this change, please have them **comment on this issue**.
4342

config/styleguide.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,10 @@ module.exports = {
516516
test: /\.(png|jpg|svg)$/,
517517
use: 'url-loader',
518518
},
519+
{
520+
test: /\.html$/i,
521+
loader: 'html-loader',
522+
},
519523
],
520524
},
521525
},

docs/Lists.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
</Paragraph>
77
<Paragraph>
88
We encourage you to use our new component{' '}
9-
<Link href="https://telus.github.io/allium-design-system/components/components/list">
9+
<Link href="https://telus.github.io/universal-design-system/components/allium/web/list">
1010
List
1111
</Link>{' '}
12-
from Allium
12+
from UDS
1313
</Paragraph>
1414
</Box>
1515
</Notification>

docs/Typography.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
</Paragraph>
77
<Paragraph>
88
We encourage you to use our new component{' '}
9-
<Link href="https://telus.github.io/allium-design-system/components/components/typography">
9+
<Link href="https://telus.github.io/universal-design-system/components/allium/web/typography">
1010
Typography
1111
</Link>{' '}
12-
from Allium
12+
from UDS
1313
</Paragraph>
1414
</Box>
1515
</Notification>

docs/components/overrides/StyleGuide/StyleGuideRenderer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import Markdown from 'rsg-components/Markdown'
88
import FlexGrid from '../../../../packages/FlexGrid/FlexGrid'
99
import CSSReset from '../../../../packages/css-reset'
1010
import GlobalStyleGuide from './GlobalStyleGuide'
11+
import tdsSunsetWarning from '../../../../guide/tds-sunset.html'
1112

1213
const styles = ({ color, fontFamily, fontSize, sidebarWidth, mq, space, maxWidth }) => ({
1314
root: {
@@ -78,6 +79,7 @@ const TdsGrid = ({ children }) => (
7879
export function StyleGuideRenderer({ classes, title, homepageUrl, children, toc, hasSidebar }) {
7980
const main = (
8081
<main className={cx(hasSidebar && classes.content)}>
82+
<div dangerouslySetInnerHTML={{ __html: tdsSunsetWarning }} />
8183
{children}
8284
<footer className={classes.footer}>
8385
<Markdown text={`Generated with [React Styleguidist](${homepageUrl})`} />

docs/icons.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
</Paragraph>
77
<Paragraph>
88
We encourage you to use our new component{' '}
9-
<Link href="https://telus.github.io/allium-design-system/components/components/icon">
9+
<Link href="https://telus.github.io/universal-design-system/components/allium/web/icon">
1010
Icons
1111
</Link>{' '}
12-
from Allium
12+
from UDS
1313
</Paragraph>
1414
</Box>
1515
</Notification>

guide/README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
11
# TELUS Design System
22

3-
<div style="display: flex; flex-direction: row; wrap: nowrap; padding: 1rem; background-color: rgb(255, 249, 238); margin-bottom: 1rem;">
3+
<div
4+
style="display: flex; flex-direction: row; wrap: nowrap; padding: 1rem; background-color: rgb(255, 248, 230); margin-bottom: 1rem; border: 1px solid rgb(230, 167, 0); border-radius: 6px;">
45
<div style="margin-right: 1rem; height: 100%;">
56
<svg style="display: inline-block; vertical-align: middle;" width="20" height="20">
6-
<path
7-
fill="#8C5415"
8-
fill-rule="evenodd"
9-
d="M10.878 1.61l8.315 15.244a1 1 0 0 1-.878 1.48H1.685a1 1 0 0 1-.878-1.48L9.122 1.61a1 1 0 0 1 1.756 0zM10 16.794c.46 0 .833-.402.833-.898 0-.495-.373-.897-.833-.897-.46 0-.833.402-.833.897 0 .496.373.898.833.898zm-.022-2.885c.347 0 .63-.297.64-.67l.179-6.698c.01-.388-.28-.709-.64-.709h-.35c-.361 0-.65.32-.64.708l.171 6.699c.01.373.294.67.64.67z"
10-
/>
7+
<path fill="#8C5415" fill-rule="evenodd"
8+
d="M10.878 1.61l8.315 15.244a1 1 0 0 1-.878 1.48H1.685a1 1 0 0 1-.878-1.48L9.122 1.61a1 1 0 0 1 1.756 0zM10 16.794c.46 0 .833-.402.833-.898 0-.495-.373-.897-.833-.897-.46 0-.833.402-.833.897 0 .496.373.898.833.898zm-.022-2.885c.347 0 .63-.297.64-.67l.179-6.698c.01-.388-.28-.709-.64-.709h-.35c-.361 0-.65.32-.64.708l.171 6.699c.01.373.294.67.64.67z" />
119
</svg>
1210
</div>
1311
<div>
1412
<p>
15-
The evolution of the TELUS brand continues! The brand new <a href="https://telus.github.io/allium-design-system/">Allium Design System</a> is now available and all teams are encouraged to transition their applications to Allium components in order to better reflect the latest vision of the TELUS brand.
13+
The evolution of the TELUS brand continues! The brand new <a
14+
href="https://telus.github.io/universal-design-system/">Universal Design System</a> is now available and all
15+
teams are
16+
encouraged to transition their applications to UDS components in order to better reflect the latest vision of
17+
the TELUS brand.
1618
</p>
1719
<p>TDS Core and TDS Community will continue with limited support and restrict new feature requests.</p>
1820
<p>While diving into this documentation, you’ll notice some new updates:</p>
1921
<ul>
20-
<li>We’ll provide direct links to corresponding Allium component from either tds-core / tds-community</li>
21-
<li>We’ll provide notice about deprecated components (that may not be implemented on Allium in the near future)</li>
22+
<li>We’ll provide direct links to corresponding UDS components from either tds-core / tds-community</li>
23+
<li>We’ll provide notice about deprecated components (that may not be implemented on UDS in the near future)
24+
</li>
2225
</ul>
2326
<p style="margin-bottom: 0;">
24-
<a href="/contact.html">Contact us</a> for more information on how to get support. And <a href="https://telusdigital.slack.com/archives/C2WK9TP5F">join our TELUS Slack channel</a> for updates.
27+
<a href="/contact.html">Contact us</a> for more information on how to get support. And <a
28+
href="https://telusdigital.slack.com/archives/C2WK9TP5F">join our TELUS Slack channel</a> for updates.
2529
</p>
2630
</div>
2731
</div>

guide/SUMMARY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
!INCLUDE "tds-sunset.html"
2+
13
## TELUS Design System
24

35
- [Home](README.md)

0 commit comments

Comments
 (0)