Skip to content

Commit

Permalink
docs(tile) feature flag usage, style, code tab update (#4266)
Browse files Browse the repository at this point in the history
* update usage.mdx

* update the rest of usage.mdx

* update style.mdx

* update code.mdx

* update usage.mdx

* update style.mdx

* update code.mdx

* format

* update

* update style tab

* Fixed a few images, copy & links

* chore: testing

* link shortened

* link shortened-2

* adding <Title>

* Update src/pages/components/tile/usage.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/components/tile/usage.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/components/tile/usage.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/components/tile/usage.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/components/tile/usage.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/components/tile/usage.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/components/tile/usage.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/components/tile/usage.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/components/tile/style.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* update selectable anatomy from review

* update usage.mdx

* update typos

* fix: fixed wrong change

* fix: fixed yarn lock

* fix: changed package.json

* fix: ran yarn dedupe

* fix: fixed yarn.lock with main

* fix: fix

* update

* update headings

---------

Co-authored-by: kritvi-bhatia17 <[email protected]>
Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: Anna Gonzales <[email protected]>
Co-authored-by: guidari <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
6 people authored Oct 11, 2024
1 parent 2605bef commit e0c518e
Show file tree
Hide file tree
Showing 100 changed files with 770 additions and 275 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
TEST

# Carbon Design System

![Deployment status](https://github.com/carbon-design-system/carbon-website/workflows/Deployment%20status/badge.svg)
Expand Down
27 changes: 27 additions & 0 deletions src/pages/components/tile/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ description:
tabs: ['Usage', 'Style', 'Code', 'Accessibility']
---

import { CheckmarkFilled } from '@carbon/icons-react';
import { Tag } from '@carbon/react';

<PageDescription>

Preview the tile component with the React live demo. For detailed code usage
Expand All @@ -23,6 +26,7 @@ documentation, see the Storybooks for each framework below.
>

<MdxIcon name="react" />
<Tag type="blue">Feature flag</Tag>

</ResourceCard>
</Column>
Expand Down Expand Up @@ -58,6 +62,29 @@ documentation, see the Storybooks for each framework below.
</Column>
</Row>

### Feature flags

[Feature flags](/components/overview/feature-flags/) have been added to the
clickable, selectable, and expandable variants of tile to improve accessibility
and changes its visual appearance, not its functionality. For more code-specific
feature flag information, refer to the
[@carbon/react](https://react.carbondesignsystem.com/?path=/docs/experimental-feature-flags-tile--overview)
framework.

- The `enable-experimental-tile-contrast` flag adds a border to the tile with
improved contrast for accessibility and to visually indicate they are
operable.
- The `enable-v12-tile-default-icons` flag enables the rendering of default
icons on the clickable variant of tile like the ArrowRight icon for navigation
or Error icon when it is disabled if the user hasn't configured a different
icon already.
- The `enable-v12-tile-default-icons` flag enables the rendering of default
icons on the clickable variant of a tile, such as the ArrowRight icon for
navigation or the Error icon when the tile is disabled. If the user hasn't
configured a different icon, these defaults will be used.
- The `enable-v12-tile-radio-icons` flag changes RadioTile to use radio button
icons instead of a checkmark icons.

## Live demo

<StorybookDemo
Expand Down
Binary file removed src/pages/components/tile/images/Tile_structure.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed src/pages/components/tile/images/tile-style-1.png
Binary file not shown.
Binary file removed src/pages/components/tile/images/tile-style-10.png
Binary file not shown.
Binary file removed src/pages/components/tile/images/tile-style-11.png
Binary file not shown.
Binary file removed src/pages/components/tile/images/tile-style-12.png
Binary file not shown.
Binary file removed src/pages/components/tile/images/tile-style-2.png
Binary file not shown.
Binary file removed src/pages/components/tile/images/tile-style-3.png
Binary file not shown.
Binary file removed src/pages/components/tile/images/tile-style-4.png
Binary file not shown.
Binary file removed src/pages/components/tile/images/tile-style-5.png
Binary file not shown.
Binary file removed src/pages/components/tile/images/tile-style-6.png
Binary file not shown.
Binary file removed src/pages/components/tile/images/tile-style-7.png
Binary file not shown.
Binary file removed src/pages/components/tile/images/tile-style-8.png
Binary file not shown.
Binary file removed src/pages/components/tile/images/tile-style-9.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/pages/components/tile/images/tile-usage-1.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-10.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-11.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-12.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-13.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-14.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-15.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-16.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-17.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-19.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-2.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-20.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-21.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-22.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-23.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-24.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-25.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-26.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-27.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-28.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-3.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-4.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-5.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-6.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-7.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-8.png
Diff not rendered.
Binary file removed src/pages/components/tile/images/tile-usage-9.png
Diff not rendered.
Loading

0 comments on commit e0c518e

Please sign in to comment.