Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): v10.9.2 #5020

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
e2fa31a
fix(multi-select): close button for tags (#4890)
Dec 17, 2019
bb634cc
fix(list-box): update chevron position for IE11 (#4898)
joshblack Dec 17, 2019
e9d49c6
chore(project): update sassdoc
joshblack Dec 17, 2019
954226b
chore(release): v10.9.0-rc.1
joshblack Dec 17, 2019
0190b1f
chore(package): v10.9.0
joshblack Dec 19, 2019
ca15c78
chore(project): update @carbon/cli
joshblack Dec 19, 2019
7663fe6
fix(data-table): update menu to match visible and accessible labels (…
joshblack Dec 11, 2019
8495b36
fix(button): update focus styles to use box-shadow (#4867)
joshblack Dec 13, 2019
3d59203
chore(project): sync generated files
carbon-bot Dec 13, 2019
0d463f1
Update stalebot with new labels (#4878)
mattrosno Dec 13, 2019
07311c2
chore(project): set yarn version to 1.21.1 (#4866)
joshblack Dec 14, 2019
c3148ff
chore: add system squad label to issue template (#4887)
mattrosno Dec 16, 2019
ed2da5c
docs(style): add style preference for writing code explicitly (#4879)
joshblack Dec 16, 2019
04ed480
fix(UIshell): adds story for SkipToContent and removes the tabIndex p…
abbeyhrt Dec 16, 2019
0fa982a
fix(styles): replace old spacing vars with new syntax (#4889)
jendowns Dec 16, 2019
50d0cfa
chore(project): sync generated files
carbon-bot Dec 16, 2019
f65f115
fix(table-header): forward ref for <th> (#4877)
tay1orjones Dec 16, 2019
16f50a6
fix(inline-notification): add 8px right padding if close button is hi…
jendowns Dec 16, 2019
4bd9776
fix(devenv): use content margin style for expanded side nav (#4886)
asudoh Dec 17, 2019
6a9c02b
chore(project): sync generated files
carbon-bot Dec 17, 2019
0c5274e
fix(multi-select): close button for tags (#4890)
Dec 17, 2019
85f555c
chore(project): sync generated files
carbon-bot Dec 17, 2019
cfada31
fix(list-box): update chevron position for IE11 (#4898)
joshblack Dec 17, 2019
42025b4
chore(project): sync generated files
carbon-bot Dec 17, 2019
0aaf60d
chore: add GH action to auto-label the system squad (#4892)
mattrosno Dec 17, 2019
0144dfe
fix(button): add elementType to 'as' property type check (#4893) (#4895)
t-soares Dec 17, 2019
91d9381
docs(pagination): update knob description for forwardText prop (#4910)
jendowns Dec 17, 2019
dca1cc4
docs(style): add section for naming event handlers (#4880)
joshblack Dec 18, 2019
caf8087
chore(react): update composed modal story (#4904)
joshblack Dec 18, 2019
62dee03
fix(search): adjust icon and hover styles on Close16 button for Chrom…
abbeyhrt Dec 18, 2019
52145ed
fix(code-snippet): maxheight 100% for expanded multi and add padding …
jendowns Dec 18, 2019
f6f989d
chore(project): sync generated files
carbon-bot Dec 19, 2019
69d495a
fix(styles): update placeholder colors (#4799)
asudoh Dec 19, 2019
33808ef
chore(project): sync generated files
carbon-bot Dec 19, 2019
956b719
chore(project): v10.9.0 (#4925)
joshblack Dec 19, 2019
8eaba7c
chore(data-table): update storybook to use correct button variant (#4…
joshblack Dec 19, 2019
76107aa
fix(type): add units to carbon--rem usage for expressive-type maps (#…
jendowns Dec 20, 2019
27a2303
chore(project): sync generated files
carbon-bot Dec 20, 2019
057fade
docs(sketch): fix typo in manifest.json example (#4929)
mathieudutour Dec 20, 2019
51558b6
fix(styles): add error handling for rem & em sass functions (#4931)
jendowns Dec 23, 2019
90feb07
chore(project): sync generated files
carbon-bot Dec 23, 2019
a506f76
fix(dropdown): revert id change to have stable identifier (#4935)
joshblack Jan 6, 2020
21025ae
chore: fix labeler action globs and add auto add package labels (#4946)
mattrosno Jan 6, 2020
00786f8
fix(tag): adds various fixes for screen reader accessibility; adds AA…
dakahn Jan 6, 2020
ded1d8c
chore(project): sync generated files
carbon-bot Jan 6, 2020
74ad05f
chore(project): v10.9.1-rc.0
joshblack Jan 6, 2020
39adfad
chore(project): release v10.9.1
joshblack Jan 13, 2020
4ca6a2d
chore: fix PR labeler syntax (#4956)
mattrosno Jan 6, 2020
c168321
fix(date-picker): support changing date format (#4856)
asudoh Jan 6, 2020
85dc01d
chore(project): update CODEOWNERS (#4955)
joshblack Jan 7, 2020
f6f040e
fix(DatePicker): explicitly update minDate and maxDate (#4912)
figfofu Jan 7, 2020
d05cb9a
fix(checkbox-skeleton): apply skeleton class to checkbox (#4923)
abbeyhrt Jan 7, 2020
136e2f9
chore(project): sync generated files
carbon-bot Jan 7, 2020
12217d1
fix(ComboBox): bring IME support back (#4952)
asudoh Jan 8, 2020
0843ca2
docs(project): fix documentation links location (#4975)
sc0rp10 Jan 8, 2020
6392d5d
fix(radio-tile, selectable-tile): deprecate iconDescription and add h…
abbeyhrt Jan 8, 2020
aca7748
fix(breadcrumb): set visited color to link-01 token (#4976)
jendowns Jan 8, 2020
c9b70d9
chore(project): sync generated files
carbon-bot Jan 8, 2020
30ce0d2
Delete ISSUE_TEMPLATE.md
joshblack Jan 8, 2020
5be7a29
Create ISSUE_TEMPLATE.md
joshblack Jan 8, 2020
767015a
Create config.yml
joshblack Jan 8, 2020
6399f9b
Delete ISSUE_TEMPLATE.md
joshblack Jan 8, 2020
e4a4e18
Update issue templates
joshblack Jan 8, 2020
6a6797a
Update accessibility-issue.md
joshblack Jan 8, 2020
f56c621
Update accessibility-issue.md
joshblack Jan 8, 2020
071ba2f
Delete bug_report.md
joshblack Jan 8, 2020
bf01047
Update bug-report.md
joshblack Jan 8, 2020
a34498d
Update feature-request-or-enhancement.md
joshblack Jan 8, 2020
deeb77c
Update question.md
joshblack Jan 8, 2020
a27fb33
chore: remove labeler github action because it wasn't dependable (#4984)
mattrosno Jan 9, 2020
67b2bc2
fix(Tabs): ignore disabled tabs on keyboard navigation (#4784)
emyarod Jan 9, 2020
ff08e44
fix(accordion-skeleton): add margin between icon & text when align=en…
jendowns Jan 9, 2020
0b685cf
chore(project): sync generated files
carbon-bot Jan 9, 2020
e09cd28
fix(v9 theme): updated interactive values (#4978)
aagonzales Jan 9, 2020
286cb64
chore(project): sync generated files
carbon-bot Jan 9, 2020
f315d22
fix(text-area): change disabled light textarea background colors (#4983)
tw15egan Jan 9, 2020
e610389
chore(project): sync generated files
carbon-bot Jan 9, 2020
5da97e7
fix(uishell): add bgcolor to active links (#4980)
jendowns Jan 9, 2020
399260b
chore(project): sync generated files
carbon-bot Jan 9, 2020
d9eb1db
fix(CodeSnippet): use tooltip styles for feedback and add animation (…
emyarod Jan 9, 2020
2a275ab
chore(project): sync generated files
carbon-bot Jan 10, 2020
766e2e4
fix(DatePicker): fix calendar dropdown position (#4846)
asudoh Jan 10, 2020
f19b795
fix(DatePicker): fix programmatic set of date in range mode (#4814)
asudoh Jan 10, 2020
be3a798
fix(multi-select): fix DAP violations (#4991)
Jan 10, 2020
0188730
fix(Tag): ignore click events when disabled (#4792)
emyarod Jan 10, 2020
e03967a
chore(project): sync generated files
carbon-bot Jan 10, 2020
9f02b35
chore(project): fix build issues on windows (#4823)
sichangi Jan 10, 2020
4efb3a9
fix(grid): moved vertical spacing to col (#4960)
photodow Jan 10, 2020
0e9c181
chore(project): sync generated files
carbon-bot Jan 10, 2020
93b2b9e
chore(project): update prettier to 1.19.1 (#5014)
joshblack Jan 11, 2020
2d67d76
chore(project): update yargs to 15.1.0 (#5011)
joshblack Jan 11, 2020
d13d540
chore(project): update core-js to 3.6.2 (#5010)
joshblack Jan 11, 2020
75c4f68
chore(release): v10.9.2-rc.0
joshblack Jan 13, 2020
edbc0fc
chore(project): update @carbon/cli dependency
joshblack Jan 13, 2020
99606a8
Revert "fix(multi-select): fix DAP violations (#4991)"
joshblack Jan 13, 2020
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
63 changes: 0 additions & 63 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/accessibility-issue.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Accessibility Issue
name: Accessibility Issue
about: Report an accessibility or usability issue
title: ''
labels: 'type: a11y ♿'
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: "Bug Report \U0001F41B"
name: 'Bug Report 🐛'
about: Something isn't working as expected? Here is the right place to report.
title: ''
labels: "type: bug \U0001F41B"
labels: 'type: bug 🐛'
assignees: ''
---

Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: true
16 changes: 12 additions & 4 deletions .github/ISSUE_TEMPLATE/feature-request-or-enhancement.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: "Feature request or enhancement \U0001F4A1"
name: 'Feature request or enhancement 💡'
about: Suggest an idea for this project
title: ''
labels: "type: enhancement \U0001F4A1"
labels: 'type: enhancement 💡'
assignees: ''
---

Expand All @@ -15,18 +15,22 @@ If you are reporting a bug or problem, please use the bug template instead.

Please describe your request in one or two sentences.

Clarify if you are asking for both design and development, or just design, or
just development.
Clarify if you are asking for design, development, or both design and
development.

### Justification

Provide the business reasons for this request.

### Desired UX and success metrics

<!--alex disable failure-->

Describe the full user experience for this feature. Also define the metrics by
which we can measure success/failure for the user.

<!--alex enable failure-->

### "Must have" functionality

Highlight any "must have" needs and functionality for the request.
Expand All @@ -36,9 +40,13 @@ you to define functionality based on the desired UX.

### Specific timeline issues / requests

<!--alex disable period-->

Do you want this work within a specific time period? Is it related to an
upcoming release?

<!--alex enable period-->

_NB: The Carbon team will try to work with your timeline, but it's not
guaranteed. The earlier you make a request in advance of a desired delivery
date, the better!_
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: Question ❓
about: Usage question or discussion about Carbon Components.
about: Usage question or discussion about Carbon components
title: ''
labels: 'type: question :question:'
labels: 'type: question '
assignees: ''
---

Expand Down
8 changes: 4 additions & 4 deletions .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ daysUntilClose: 3
exemptLabels:
- 'type: a11y ♿'
- 'type: bug 🐛'
- 'Severity 1 🚨'
- 'priority: high'
- 'v11'
- 'severity: 1 🚨'
- 'impact: 1'
- 'version: 11'
# Label to use when marking an issue as stale
staleLabel: inactive
staleLabel: 'status: inactive'
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
We've marked this issue as stale because there hasn't been any activity for a couple of weeks.
Expand Down
Binary file added .yarn/offline-mirror/@types-color-name-1.1.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/ansi-regex-5.0.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/ansi-styles-4.2.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/cliui-6.0.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/color-convert-2.0.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/core-js-2.6.11.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/core-js-3.4.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/core-js-3.6.2.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/prettier-1.19.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/string-width-4.2.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/strip-ansi-6.0.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/wrap-ansi-6.2.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/yargs-15.1.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/yargs-parser-16.1.0.tgz
Binary file not shown.
309 changes: 204 additions & 105 deletions .yarn/releases/yarn-1.19.1.js → .yarn/releases/yarn-1.21.1.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .yarnrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# yarn lockfile v1


lastUpdateCheck 1570572520160
lastUpdateCheck 1576080308559
yarn-offline-mirror "./.yarn/offline-mirror"
yarn-offline-mirror-pruning true
yarn-path ".yarn/releases/yarn-1.19.1.js"
yarn-path ".yarn/releases/yarn-1.21.1.js"
6 changes: 3 additions & 3 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Default global
* @carbon-design-system/developers-system

# Core icons
/packages/icons/src/svg/16/ @laurenmrice @carbon-design-system/developers-system
/packages/icons/src/svg/glyph/ @laurenmrice @carbon-design-system/developers-system
# Core icons and pictograms
/packages/icons/svg/ @laurenmrice @conradennis @carbon-design-system/developers-system
/packages/pictograms/svg/ @laurenmrice @conradennis @carbon-design-system/developers-system

# Angular icons
/packages/icons-angular/ @cal-smith @carbon-design-system/developers-system
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ we support!
## :books: Documentation

- See our documentation site
[here](http://carbondesignsystem.com/getting-started/developers) for full
[here](https://www.carbondesignsystem.com/get-started/develop/react) for full
how-to docs and guidelines
- [Contributing](/.github/CONTRIBUTING.md): Guidelines for making contributions
to this repo.
Expand Down
128 changes: 128 additions & 0 deletions docs/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ row before the </tbody></table> line.
## Table of Contents

- [Introduction](#introduction)
- [JavaScript](#javascript)
- [Style](#style)
- [Be explicit](#be-explicit)
- [React](#react)
- [Guidelines](#guidelines)
- [Writing a component](#writing-a-component)
Expand Down Expand Up @@ -90,6 +93,69 @@ code:
_Inspired by
[Minimal API Surface Area](https://www.youtube.com/watch?v=4anAwXYqLG8)_

## JavaScript

### Style

#### Be explicit

<table>
<thead><tr><th>Unpreferred</th><th>Preferred</th></tr></thead>
<tbody>
<tr><td>

```jsx
const add = (a, b) => a + b;
```

</td><td>

```jsx
const add = (a, b) => {
return a + b;
};
```

</td></tr>
</tbody></table>

Certain features in JavaScript have implicit behavior. One of these that we see
most often is the implicit return behavior of arrow function expressions, for
example:

```js
const add = (a, b) => a + b;
```

We've found that, while this style is terse and compact, it can be at odds with
the fact that code is revisited often and that developers need to peak inside
sometimes to see what is going on. For example, if we needed to debug a specific
value in the function above then we would go through the following steps:

```js
// Step 1. The code as originally authored
const add = (a, b) => a + b;

// Step 2. Update the code to no longer use the implicit return
const add = (a, b) => {
return a + b;
};

// Step 3. Add any debugging code or ways to introspect its values
const add = (a, b) => {
console.log(a);
return a + b;
};

// Step 4. Undo these changes and bring back to original format
const add = (a, b) => a + b;
```

If instead we had written this code without the implicit return then we would
have saved three out of the four steps above. As a result, we tend to favor
being explicit in how JavaScript is written instead of relying on implicit
behavior.

## React

### Guidelines
Expand Down Expand Up @@ -141,3 +207,65 @@ MyComponent.propTypes = {
_Note: not every component will mirror the structure above. Some will need to
incorporate `useEffect`, some will not. You can think of the outline above as
slots that you can fill if you need this functionality in a component._

### Style

#### Naming event handlers

<table>
<thead><tr><th>Unpreferred</th><th>Preferred</th></tr></thead>
<tbody>
<tr><td>

```jsx
function MyComponent() {
function click() {
// ...
}
return <button onClick={click} />;
}
```

</td><td>

```jsx
function MyComponent() {
function onClick() {
// ...
}
return <button onClick={onClick} />;
}
```

</td></tr>
<tr><td>

```jsx
function MyComponent({ onClick }) {
function handleClick(event) {
// ...
onClick(event);
}
return <button onClick={handleClick} />;
}
```

</td><td>

```jsx
function MyComponent({ onClick }) {
function handleOnClick(event) {
// ...
onClick(event);
}
return <button onClick={handleOnClick} />;
}
```

</td></tr>
</tbody></table>

When writing event handlers, we prefer using the exact name, `onClick` to a
shorthand. If that name is already being used in a given scope, which often
happens if the component supports a prop `onClick`, then we prefer to specify
the function as `handleOnClick`.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@babel/preset-env": "^7.4.4",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.4.4",
"@carbon/cli": "10.7.0-rc.0",
"@carbon/cli": "10.7.1-rc.0",
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"@ibma/aat": "https://able.ibm.com/tools/dist/ibma-aat-2.0.3-alpha.tgz",
Expand All @@ -65,7 +65,7 @@
"jest-junit": "^6.4.0",
"lerna": "^3.13.4",
"lint-staged": "^8.1.5",
"prettier": "^1.17.0",
"prettier": "^1.19.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"rimraf": "^2.6.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/bundler/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/bundler",
"description": "Bundler used for libraries in the Carbon Design System",
"version": "10.5.0-rc.0",
"version": "10.5.1-rc.0",
"license": "Apache-2.0",
"bin": {
"bundler": "./bin/bundler.js"
Expand Down
5 changes: 4 additions & 1 deletion packages/bundler/src/bundlers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
const javascript = require('./javascript');
const scss = require('./scss');

const bundlers = new Map([['.js', javascript], ['.scss', scss]]);
const bundlers = new Map([
['.js', javascript],
['.scss', scss],
]);

module.exports = bundlers;
Loading