Skip to content

Commit

Permalink
Merge branch 'main' into image-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kritvi-bhatia17 authored Oct 2, 2024
2 parents 0f07362 + a1bbca6 commit 649a187
Show file tree
Hide file tree
Showing 20 changed files with 226 additions and 33 deletions.
16 changes: 8 additions & 8 deletions src/data/guidelines/color-tokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -4054,7 +4054,7 @@ const colorTokens = {
},
g90: {
name: 'Gray 80',
hex: '#8d8d8d',
hex: '#393939',
},
g100: {
name: 'Gray 90',
Expand All @@ -4075,7 +4075,7 @@ const colorTokens = {
},
g90: {
name: 'Gray 80',
hex: '#8d8d8d',
hex: '#393939',
},
g100: {
name: 'Gray 90',
Expand All @@ -4096,7 +4096,7 @@ const colorTokens = {
},
g90: {
name: 'Gray 80',
hex: '#8d8d8d',
hex: '#393939',
},
g100: {
name: 'Gray 90',
Expand All @@ -4108,16 +4108,16 @@ const colorTokens = {
role: ['Warning low contrast notification background'],
value: {
white: {
name: 'Yellow 30, White',
hex: '#f1c21b, #ffffff',
name: 'Yellow 10',
hex: '#fcf4d6',
},
g10: {
name: 'Yellow 30, White',
hex: '#f1c21b, #ffffff',
name: 'Yellow 10',
hex: '#fcf4d6',
},
g90: {
name: 'Gray 80',
hex: '#8d8d8d',
hex: '#393939',
},
g100: {
name: 'Gray 90',
Expand Down
8 changes: 3 additions & 5 deletions src/data/nav-items.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@
- title: Contributing
pages:
- title: Get started
path: /contributing/get-started/
- title: Code
path: /contributing/code/
- title: Design
path: /contributing/design/
path: /contributing/get-started/overview
- title: Component checklist
path: /contributing/component-checklist/
- title: Documentation
path: /contributing/documentation/
- title: Migrating
Expand Down
2 changes: 1 addition & 1 deletion src/pages/components/ai-label/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ documentation, see the Storybooks for each framework below.
<Column colLg={4} colMd={4} noGutterSm>
<ResourceCard
subTitle="React"
href="https://react.carbondesignsystem.com/?path=/docs/experimental-unstable-slug--overview"
href="https://react.carbondesignsystem.com/?path=/story/components-ailabel--default"
>

<MdxIcon name="react" />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/components/breadcrumb/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ usage documentation, see the Storybooks for each framework below.
<Column colLg={4} colMd={4} noGutterSm>
<ResourceCard
subTitle="React"
href="https://react.carbondesignsystem.com/?path=/story/components-breadcrumb--breadcrumb"
href="https://react.carbondesignsystem.com/?path=/story/components-breadcrumb--default"
>

<MdxIcon name="react" />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/components/file-uploader/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ usage documentation, see the Storybooks for each framework below.
<Column colLg={4} colMd={4} noGutterSm>
<ResourceCard
subTitle="React"
href="https://react.carbondesignsystem.com/?path=/story/components-fileuploader--file-uploader"
href="https://react.carbondesignsystem.com/?path=/story/components-fileuploader--default"
>

<MdxIcon name="react" />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/components/inline-loading/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ usage documentation, see the Storybooks for each framework below.
<Column colLg={4} colMd={4} noGutterSm>
<ResourceCard
subTitle="React"
href="https://react.carbondesignsystem.com/?path=/story/components-inlineloading--inline-loading"
href="https://react.carbondesignsystem.com/?path=/story/components-inlineloading--default"
>

<MdxIcon name="react" />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/components/menu/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ documentation, see the Storybooks for each framework below.
variants={[
{
label: 'Menu',
variant: 'components-context-menu--default',
variant: 'components-menu--playground',
},
]}
/>
159 changes: 159 additions & 0 deletions src/pages/contributing/component-checklist/index.mdx

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
title: Code
title: Getting started
description:
Code contributions can include anything from squashing bugs to adding feature
requests. Check out the instructions below to contribute code effectively.
tabs: ['Overview', 'Code', 'Design']
---

export const Title = () => <span>Contribute code</span>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: Design
title: Getting started
description:
Design contributions can involve anything from creating design specs for
feature requests to maintaining Figma libraries. Below you'll find tips and
best practices to get started.
tabs: ['Overview', 'Code', 'Design']
---

export const Title = () => <span>Contribute design</span>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: Get started
title: Getting started
description:
The Carbon Design System is made possible through a vibrant community of
designers and developers. Anyone can contribute code, design, documentation,
and ideas. Here's how you can contribute, too!
Design contributions can involve anything from creating design specs for
feature requests to maintaining Figma libraries. Below you'll find tips and
best practices to get started.
tabs: ['Overview', 'Code', 'Design']
---

<PageDescription>
Expand Down Expand Up @@ -192,6 +193,15 @@ solutions and then creating a design spec for developers.
[Here are issues](https://github.com/carbon-design-system/carbon/issues?q=is%3Aopen+is%3Aissue+label%3A%22needs%3A+community+contribution%22+)
in our enhancement backlog that need design or development work.

### New components

New components are a large multidiscipline contribution and must be contributed
in phases to insure quality and business value. To propose a net new component,
follow the [phased contribution process](/contributing/contribution-process) and
complete all requirements in the
[component checklist](contributing/component-checklist). All requirement
categories must be completed before a component can be considered done.

### Design kits

This work is all about creating and updating reusable components in Figma.
Expand Down Expand Up @@ -226,8 +236,14 @@ on the IBM Design Language site.

## The process

Whether you're contributing code, designs, or documentation, there's a process
to follow. Here's what it looks like:
Whether you’re contributing code, designs, or documentation, there’s a process
to follow.  For larger contributions like new components or patterns a more
rigorous process must be followed to insure production level quality and
business value. We have laid out the phases and criteria on the next page in
[contribution process](contributing/contribution-process).

For smaller contributions like small additions, enhancements, or bug fixes
follow the process below.

### 1. Find a project to work on

Expand Down Expand Up @@ -262,7 +278,7 @@ Guild, Data Viz Guild, or office hours. In these sessions, it is common to share
work in progress and ask lots of questions. As you make progress, update your
GitHub issue.

### 3. Review and publish
### 3. Submit for review

#### Code deliverables

Expand Down
13 changes: 7 additions & 6 deletions src/pages/designing/get-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,19 @@ guidance and components.

_For IBMers only:_

IBMers should get a license for Figma, our primary design kit tool. You may also
access tools we no longer support, Sketch, Adobe XD, and Axure, by heading to
the [Design Toolbox](https://w3.ibm.com/design/toolbox/). However, we no longer
maintain or update the kits for these tools. We recommend you migrate to Figma
to get the most updated kits we offer.
IBMers should get a license for Figma, our primary design kit tool. We no longer
maintain or support the libraries in Sketch, Adobe XD, and Axure, but you can
view the
[w3 Apps Software Licenses](https://ibm.service-now.com/slm?id=toolbox_ibm&sys_id=823b779e1b047c508c6099f9bc4bcb4a)
page to see license availability for these design tools if needed. We recommend
you migrate to Figma to get our most updated kits.

<Row className="resource-card-group">

<Column colLg={4} colMd={4} noGutterSm>
<ResourceCard
subTitle="Get Figma"
href="https://w3.ibm.com/design/toolbox/?&_ga=2.49792614.1500760159.1682969477-2020417520.1680805833#/ui-design-tools/figma/README"
href="https://ibmtest.service-now.com/slm?id=toolbox_ibm&sys_id=f850fa5f4758dd10d9607351e36d43b8"
actionIcon="launch">
<MdxIcon name="figma" />
</ResourceCard>
Expand Down
16 changes: 16 additions & 0 deletions src/styles/_component-checklist.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//---------------------------------------
// Contributing / Component checklist
//---------------------------------------

// custom table styles
// align to grid
.table--component-checklist .page-table {
th:first-child {
// 2 columns
width: 15.4%;
}
th:nth-child(2) {
// 5 columns
width: 43%;
}
}
1 change: 1 addition & 0 deletions src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@import 'structured-list';
@import 'plex-serif';
@import 'meetups';
@import 'component-checklist';
@import 'overrides';
@import 'src/components/ColorBlock/color-block.scss';
@import 'src/components/ColorGrid/color-grid.scss';
Expand Down

0 comments on commit 649a187

Please sign in to comment.