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

Release 4.7.0 #1590

Merged
merged 394 commits into from
Dec 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
394 commits
Select commit Hold shift + click to select a range
62b2438
chore: enter prerelease mode
github-bot Jun 14, 2024
ec35223
build(deps): bump tar from 6.1.11 to 6.2.1 (#1229)
dependabot[bot] Jun 14, 2024
b123e0c
chore: enter prerelease mode
github-bot Jun 14, 2024
88b7fd1
react-magma-landing: Remove extra card with version 15 (#1319)
silvalaura Jun 20, 2024
d2d8833
chore: enter prerelease mode
github-bot Jun 20, 2024
da14eec
fix(modal): Update aria labels (#1318)
silvalaura Jun 25, 2024
b4b769d
chore: enter prerelease mode
github-bot Jun 25, 2024
2f317e1
CarbonCharts: Remove exports & remove highlight import (#1332)
silvalaura Jun 25, 2024
19d4d1d
chore: enter prerelease mode
github-bot Jun 25, 2024
f894d4a
chore: Deprecate LineChart (#1326)
silvalaura Jun 27, 2024
9477a73
chore: enter prerelease mode
github-bot Jun 27, 2024
636fa30
fix(NativeSelect): Update arrow placement and color (#1337)
silvalaura Jun 28, 2024
23dc11b
chore: enter prerelease mode
github-bot Jun 28, 2024
65d4172
fix(ProgressBar): Add support for custom colors (#1336)
silvalaura Jun 28, 2024
824e369
chore: enter prerelease mode
github-bot Jun 28, 2024
9f43ba1
docs: Update Charts examples (#1334)
silvalaura Jul 2, 2024
311b5c1
chore: enter prerelease mode
github-bot Jul 2, 2024
ad137c8
fix(Drawer): Update site navigation storybook example (#1345)
silvalaura Jul 3, 2024
64e5eff
chore: enter prerelease mode
github-bot Jul 3, 2024
2837cd4
storybook(TimePicker): Update clear time example (#1329)
silvalaura Jul 3, 2024
d790acf
chore: enter prerelease mode
github-bot Jul 3, 2024
9e38e9e
feat(Stepper): Displays step based content for use in multi-step inte…
chris-cedrone-cengage Jul 3, 2024
d67bff7
chore: enter prerelease mode
github-bot Jul 3, 2024
af3afe7
feat(Stepper): Additions to the Stepper component for accessibility c…
chris-cedrone-cengage Jul 25, 2024
1b09243
chore: enter prerelease mode
github-bot Jul 25, 2024
e24db7a
fix(datePicker): Fix date picker calendar table role issue (#1340) (#…
OlenaYashyna Jul 31, 2024
9c60cab
chore: enter prerelease mode
github-bot Jul 31, 2024
ae668a3
fix (Build) Updating emotion to v11 (#1357)
vverein Aug 2, 2024
b4d8460
chore: enter prerelease mode
github-bot Aug 2, 2024
e43932d
fix(Modal): Nested modal bg overlay (#1360)
yatimov Aug 7, 2024
c57c46b
chore: enter prerelease mode
github-bot Aug 7, 2024
e99e480
fix(Select/Multiselect): Fix console errors (#1363)
yatimov Aug 9, 2024
4dbc1e3
chore: enter prerelease mode
github-bot Aug 9, 2024
bf5537b
fix(Dropzone): Open file browse on button click (#1362)
yatimov Aug 9, 2024
5d3b7b6
chore: enter prerelease mode
github-bot Aug 9, 2024
756d343
fix(datePicker): Fix date picker clearing date issue (#1364)
OlenaYashyna Aug 12, 2024
0f4c793
chore: enter prerelease mode
github-bot Aug 12, 2024
ed3bd5b
fix(Docs): Drawer on small screens is broken (#1372)
chris-cedrone-cengage Aug 19, 2024
dd70134
chore: enter prerelease mode
github-bot Aug 19, 2024
a89964c
Chore/docs drawer revert (#1375)
chris-cedrone-cengage Aug 19, 2024
c1eff0a
chore: enter prerelease mode
github-bot Aug 19, 2024
e554ef7
Manually sync main -> dev (4.5.0) (#1371)
silvalaura Aug 19, 2024
e821129
chore: enter prerelease mode
github-bot Aug 19, 2024
26db2ae
fix(Docs): Drawer on small screens is broken (#1378)
chris-cedrone-cengage Aug 19, 2024
f67f092
chore: enter prerelease mode
github-bot Aug 19, 2024
fdf2dc9
feat(Modal): New prop headerRef exposes the heading element for use i…
silvalaura Aug 20, 2024
1721e6c
chore: enter prerelease mode
github-bot Aug 20, 2024
48b7a55
fix(Breadcrumbs): Fixed alignment issue between elements. (#1389)
chris-cedrone-cengage Aug 21, 2024
83b19bc
chore: enter prerelease mode
github-bot Aug 21, 2024
f4be5a8
fix(Drawer): Fix Drawer Navigation example (#1397)
silvalaura Aug 21, 2024
2cccca8
chore: enter prerelease mode
github-bot Aug 21, 2024
b579733
docs(Drawer): Fix Drawer examples (#1401)
silvalaura Aug 23, 2024
3d1668d
chore: enter prerelease mode
github-bot Aug 23, 2024
1d1dd1d
fix(Pagination): Improved accessibility for classic pagination (#1403)
silvalaura Aug 27, 2024
10f33c4
chore: enter prerelease mode
github-bot Aug 27, 2024
aced1dd
fix(DataGrid): Improved accessibility by adding `aria-live="polite"` …
silvalaura Aug 27, 2024
164c8e4
chore: enter prerelease mode
github-bot Aug 27, 2024
78db20c
fix(ToggleButton): Improved accessibility for Toggle Button icon only…
silvalaura Aug 27, 2024
2125356
chore: enter prerelease mode
github-bot Aug 27, 2024
9214724
fix(NavTabs): Improved accessibility by adding `aria-current="page"` …
silvalaura Aug 28, 2024
3c82478
chore: enter prerelease mode
github-bot Aug 28, 2024
3fa73c6
fix(Button): Improved accessibility for `isLoading` button state (#1402)
silvalaura Sep 4, 2024
f177dba
chore: enter prerelease mode
github-bot Sep 4, 2024
ca58152
Feat(TreeView): Add support for `checkChildren`, `checkParents` props…
k4rnaj1k Sep 4, 2024
003327b
chore: enter prerelease mode
github-bot Sep 4, 2024
63e206e
docs(Modal): Modal Heading example fixes (#1414)
chris-cedrone-cengage Sep 4, 2024
4230984
chore: enter prerelease mode
github-bot Sep 4, 2024
31ee96f
Fix / Modal: Docs Modal Heading icon example fix (#1415)
chris-cedrone-cengage Sep 5, 2024
f4e46b5
chore: enter prerelease mode
github-bot Sep 5, 2024
84a8a17
fix(DatePicker): Fix error when using both onChange and onDateChange …
silvalaura Sep 5, 2024
f0c9c5f
chore: enter prerelease mode
github-bot Sep 5, 2024
6a03750
build(deps): bump elliptic from 6.5.5 to 6.5.7 (#1374)
dependabot[bot] Sep 6, 2024
fce1769
chore: enter prerelease mode
github-bot Sep 6, 2024
3b3a2d7
chore: Update @emotion dependency (#1419)
silvalaura Sep 9, 2024
895241b
chore: enter prerelease mode
github-bot Sep 9, 2024
5764ba3
docs(TreeView): Update TreeView example (#1416)
silvalaura Sep 9, 2024
127d617
chore: enter prerelease mode
github-bot Sep 9, 2024
d4164ca
fix(Modal): Modal disabled background click focus fix. (#1418)
chris-cedrone-cengage Sep 10, 2024
51b64ef
chore: enter prerelease mode
github-bot Sep 10, 2024
5d58c31
Revert "chore: Update @emotion dependency (#1419)" (#1421)
silvalaura Sep 10, 2024
73df6fd
chore: enter prerelease mode
github-bot Sep 10, 2024
6b413fb
fix(List): Updated examples for List component (#1407)
silvalaura Sep 10, 2024
81467c8
chore: enter prerelease mode
github-bot Sep 10, 2024
11bedef
fix(TreeView): Accessibility updates (#1338)
silvalaura Sep 11, 2024
9cff682
build: update package-lock.json using npm install --legacy-peer-deps …
moathabuhamad-cengage Sep 12, 2024
582f5f3
chore: enter prerelease mode
github-bot Sep 12, 2024
1243113
fix(Accordion): Fix focus issue with and buttons (#1422)
artemtrusov-cengage Sep 12, 2024
115fdbe
chore: enter prerelease mode
github-bot Sep 12, 2024
cbc6802
docs: Update changelog text to alert adopters about the emotion updat…
silvalaura Sep 12, 2024
ce120bb
chore: enter prerelease mode
github-bot Sep 12, 2024
dc30744
fix(accordion): fix screen scroll behavior during accordion navigatio…
vitaliirumiantsev-cengage Sep 12, 2024
02fde4e
chore: enter prerelease mode
github-bot Sep 12, 2024
9d840d8
fix(Indeterminate Checkbox): Improved accessibility for `Indeterminat…
olehnoskov-cengage Sep 12, 2024
11fbe62
chore: enter prerelease mode
github-bot Sep 12, 2024
616cbf9
fix(BreadCrumb): replace span with link to fix focus (#1429)
moathabuhamad-cengage Sep 12, 2024
c5aa690
chore: enter prerelease mode
github-bot Sep 12, 2024
facc56d
docs(TreeView): Fix preselected items example (#1432)
artemtrusov-cengage Sep 16, 2024
93951fe
chore: enter prerelease mode
github-bot Sep 16, 2024
ce0dc00
Manually sync main -> dev (4.6.0) (#1442)
silvalaura Sep 19, 2024
86d9b6c
chore: enter prerelease mode
github-bot Sep 19, 2024
f45bdde
fix(DatePicker): Remove the shortcut to open the `HelperInformation` …
nikitaorliak-cengage Sep 19, 2024
6609043
chore: enter prerelease mode
github-bot Sep 19, 2024
c815b89
feat(treeview): add ability to change items selection outside (#1446)
vitaliirumiantsev-cengage Sep 24, 2024
c4ee337
chore: enter prerelease mode
github-bot Sep 24, 2024
5c3d7fc
fix(search): Fix losing focus during loading (#1450)
artemtrusov-cengage Sep 24, 2024
e2348c8
chore: enter prerelease mode
github-bot Sep 24, 2024
a328ebe
fix(Select): Fix accessibility issue. (#1434)
nikitaorliak-cengage Sep 24, 2024
325ed35
chore: enter prerelease mode
github-bot Sep 24, 2024
482268a
fix(Input): Remove flex-shrink to allow inputs to shrink as needed (#…
silvalaura Sep 24, 2024
141d24a
chore: enter prerelease mode
github-bot Sep 24, 2024
631d010
fix(treeview): fix switching to Focus Mode inside `TreeView` (#1453)
vitaliirumiantsev-cengage Sep 25, 2024
82ff625
chore: enter prerelease mode
github-bot Sep 25, 2024
cdb3041
feat(Combobox, Select, Date picker, Dropdown): Update viewport detect…
olehnoskov-cengage Sep 25, 2024
e16206f
chore: enter prerelease mode
github-bot Sep 25, 2024
24680b2
fix(treeview): fix initial expanded items should expand all parents (…
vitaliirumiantsev-cengage Sep 26, 2024
6d9cfa3
chore: enter prerelease mode
github-bot Sep 26, 2024
5b8791d
docs(TreeView): Update examples (#1459)
silvalaura Sep 26, 2024
5783946
chore: enter prerelease mode
github-bot Sep 26, 2024
d109847
fix(dropdown): Fix the dropdown closing on the second button click in…
artemtrusov-cengage Sep 30, 2024
1a3e7c5
chore: enter prerelease mode
github-bot Sep 30, 2024
fbfd75e
fix(Modal): refactor useFocusLock to fix bug with dynamic content ins…
moathabuhamad-cengage Sep 30, 2024
2749d4a
chore: enter prerelease mode
github-bot Sep 30, 2024
e926d3d
feat(Button): Add new color variant `ButtonColor.success` (#1463)
artemtrusov-cengage Sep 30, 2024
f59faaf
chore: enter prerelease mode
github-bot Sep 30, 2024
1d1110d
fix(dropdown): Fix active index communication handled programmaticall…
artemtrusov-cengage Oct 1, 2024
a4d2ef4
chore: enter prerelease mode
github-bot Oct 1, 2024
35d9507
fix(drawer): Fix trapped focus in the drawer (#1467)
artemtrusov-cengage Oct 2, 2024
e5dc831
chore: enter prerelease mode
github-bot Oct 2, 2024
0846b58
docs(Modal): Fix nested modal example focus lock. (#1469)
moathabuhamad-cengage Oct 2, 2024
5d0ded0
chore: enter prerelease mode
github-bot Oct 2, 2024
df1e5c8
docs: add "GATSBY_EMPTY_ALT" as alt text for empty alts. (#1468)
moathabuhamad-cengage Oct 2, 2024
9e15d10
chore: enter prerelease mode
github-bot Oct 2, 2024
8983e14
chore(Lerna): Update Lerna and add local caching for build and test c…
moathabuhamad-cengage Oct 2, 2024
9542c0d
chore: enter prerelease mode
github-bot Oct 2, 2024
68ff224
feat(Stepper): Add vertical orientation for `Stepper`. (#1452)
nikitaorliak-cengage Oct 3, 2024
3f890b9
chore: enter prerelease mode
github-bot Oct 3, 2024
7d8006f
fix(ProgressBar): Remove the animation if the user has a `prefers-red…
nikitaorliak-cengage Oct 3, 2024
8f7917e
chore: enter prerelease mode
github-bot Oct 3, 2024
b3fcc32
fix(combobox): Fix focus issue after triggering the clear button (#1472)
artemtrusov-cengage Oct 4, 2024
ab48562
chore: enter prerelease mode
github-bot Oct 4, 2024
ac6ff21
fix(ListItem, BlockQuote): fix colors respecting the `Theme` context …
nikitaorliak-cengage Oct 4, 2024
6a193d7
chore: enter prerelease mode
github-bot Oct 4, 2024
b49c69e
fix(drawer): Fix focus return to the trigger button after the drawer …
artemtrusov-cengage Oct 4, 2024
113785d
chore: enter prerelease mode
github-bot Oct 4, 2024
1da9900
fix(search): Fix the overlapping content issue around the clear butto…
artemtrusov-cengage Oct 4, 2024
0edf9a5
chore: enter prerelease mode
github-bot Oct 4, 2024
c0aecad
fix(useFocusLock): Fix the `useFocusLock` hook if the first or last e…
nikitaorliak-cengage Oct 8, 2024
a664a3f
chore: enter prerelease mode
github-bot Oct 8, 2024
7adf69a
build: Remove `.stories.` files from the production bundle. (#1482)
nikitaorliak-cengage Oct 8, 2024
463c3f4
chore: enter prerelease mode
github-bot Oct 8, 2024
04f09e8
A11y Documentation: Time Picker - Internationalization (#1485)
moathabuhamad-cengage Oct 9, 2024
e29a9d8
chore: enter prerelease mode
github-bot Oct 9, 2024
2157b47
fix(CheckBox): Fix for unreadable labels in `CheckBox` for screen rea…
nikitaorliak-cengage Oct 9, 2024
b21f4a7
chore: enter prerelease mode
github-bot Oct 9, 2024
1caced4
feat(treeview): add support for isDisabled (#1480)
vitaliirumiantsev-cengage Oct 11, 2024
12f7784
chore: enter prerelease mode
github-bot Oct 11, 2024
eb2b3ab
fix(DatePicker): Fix navigation and accessibility issues. (#1487)
nikitaorliak-cengage Oct 15, 2024
59f21da
chore: enter prerelease mode
github-bot Oct 15, 2024
3c94afd
fix(Input): Style update: Focus style on inputs (#1486)
moathabuhamad-cengage Oct 15, 2024
d13817b
chore: enter prerelease mode
github-bot Oct 15, 2024
270e1f4
fix(Select): Fix the placeholder's color (#1489)
nikitaorliak-cengage Oct 15, 2024
8c86d1f
chore: enter prerelease mode
github-bot Oct 15, 2024
d3eaf4a
feat(react-magma-docs): Implement scrollspy. (#1491)
nikitaorliak-cengage Oct 16, 2024
0dd61d7
chore: enter prerelease mode
github-bot Oct 16, 2024
eb5f11f
fix(treeview): fix TreeView issues from verification (#1492)
vitaliirumiantsev-cengage Oct 16, 2024
ebcaea2
chore: enter prerelease mode
github-bot Oct 16, 2024
40708c7
feat(Tabs, NavTabs): Add support for overwriting `TextTransform`. (#1…
nikitaorliak-cengage Oct 21, 2024
a5655fa
chore: enter prerelease mode
github-bot Oct 21, 2024
d7423eb
fix(Button): Remove animation on `Button` presses. (#1502)
nikitaorliak-cengage Oct 21, 2024
facf8e9
chore: enter prerelease mode
github-bot Oct 21, 2024
5a928ea
feat(ProgressBar): Update colors from danger200/success200 to danger3…
nikitaorliak-cengage Oct 21, 2024
6aed7bc
chore: enter prerelease mode
github-bot Oct 21, 2024
e447c8a
fix(Toast): Fixed loading ring alignment when zooming in Safari. (#1503)
nikitaorliak-cengage Oct 21, 2024
5a7371b
chore: enter prerelease mode
github-bot Oct 21, 2024
d8662d6
Update Input additional children position based on lable position (#1…
moathabuhamad-cengage Oct 22, 2024
840e37d
chore: enter prerelease mode
github-bot Oct 22, 2024
7da83c3
Deprecate schema-renderer and header patterns (#1505)
silvalaura Oct 22, 2024
6a9e274
chore: enter prerelease mode
github-bot Oct 22, 2024
360cf8d
feat(Input): Update colors for error message, icon and border in dark…
nikitaorliak-cengage Oct 24, 2024
066046e
chore: enter prerelease mode
github-bot Oct 24, 2024
ddf476a
fix(Tabs): Center preselected `Tab` on the `Scrollable Tabs`. (#1506)
nikitaorliak-cengage Oct 24, 2024
ea4a9f2
chore: enter prerelease mode
github-bot Oct 24, 2024
7887c50
chore(dropdown): Deprecate `dropDirection` and `alignment` props (#1504)
silvalaura Oct 24, 2024
18ba60b
chore: enter prerelease mode
github-bot Oct 24, 2024
f885d59
fix(Breadcrumb): Hide SVGs from screen readers by adding `aria-hidden…
nikitaorliak-cengage Oct 25, 2024
ed626c5
chore: enter prerelease mode
github-bot Oct 25, 2024
044da05
fix(TimePicker): Fixed AM/PM width in the `TimePicker`. (#1510)
nikitaorliak-cengage Oct 25, 2024
9a85ec1
chore: enter prerelease mode
github-bot Oct 25, 2024
a95d26c
fix(CheckBox): Hide SVGs from screen readers by adding `aria-hidden="…
nikitaorliak-cengage Oct 25, 2024
2a6ba19
chore: enter prerelease mode
github-bot Oct 25, 2024
08deb43
fix(List): Hide SVGs from assistive tech by adding `aria-hidden="true…
nikitaorliak-cengage Oct 25, 2024
662a951
chore: enter prerelease mode
github-bot Oct 25, 2024
acbec5c
fix(Dropdown): Hide SVGs from screen readers by adding `aria-hidden="…
nikitaorliak-cengage Oct 25, 2024
77ec0c9
chore: enter prerelease mode
github-bot Oct 25, 2024
45be51c
fix(TreeView): Fix undefined error (#1519)
silvalaura Oct 29, 2024
f6ae476
chore: enter prerelease mode
github-bot Oct 29, 2024
3a97fe9
feat(Heading): Add a description of the `noTopMargin` and `noBottomMa…
nikitaorliak-cengage Nov 5, 2024
e02cd4e
chore: enter prerelease mode
github-bot Nov 5, 2024
8004c9f
fix(DatePicker): Add `aria-label` to calendar header columns. (#1528)
nikitaorliak-cengage Nov 6, 2024
654d7a1
chore: enter prerelease mode
github-bot Nov 6, 2024
4971408
docs: Update changelog to explain possible issue with emotion/css. (#…
silvalaura Nov 6, 2024
ccbe7df
chore: enter prerelease mode
github-bot Nov 6, 2024
5e39ab2
fix(Select) Multi Select and Multi Combobox selected item focus outli…
moathabuhamad-cengage Nov 6, 2024
fb50e32
chore: enter prerelease mode
github-bot Nov 6, 2024
a328f30
Treeview > Docs > Selectable > Missing references (#1532)
chris-cedrone-cengage Nov 6, 2024
ec53e09
chore: enter prerelease mode
github-bot Nov 6, 2024
78fc319
feat(TreeView): onExpandedChange returns an array of expanded IDs (#1…
moathabuhamad-cengage Nov 8, 2024
15fbcc2
chore: enter prerelease mode
github-bot Nov 8, 2024
8027499
docs: Fix contribution guidelines page (#1548)
silvalaura Nov 13, 2024
ccbb461
chore: enter prerelease mode
github-bot Nov 13, 2024
fbae9ce
fix(Input): Style update: Fix HelpLink position on inputs (#1546)
moathabuhamad-cengage Nov 14, 2024
73b6aaa
chore: enter prerelease mode
github-bot Nov 14, 2024
febf617
fix(TreeView): Fix undefined problem (#1579)
silvalaura Nov 19, 2024
03b5d46
chore: enter prerelease mode
github-bot Nov 19, 2024
f37d5c4
fix(TreeView): Fix undefined problem (#1581)
silvalaura Nov 19, 2024
8801ec4
chore: enter prerelease mode
github-bot Nov 19, 2024
a163f42
fix(Heading): Update margins for `heading2XLarge` (#1569)
silvalaura Nov 19, 2024
b2d3ac3
chore: enter prerelease mode
github-bot Nov 19, 2024
cf959a5
fix(Combobox/Select:): Fix focus color for selected items when using …
silvalaura Nov 20, 2024
ba8e05b
chore: enter prerelease mode
github-bot Nov 20, 2024
6a8ed21
fix(Tag): Update tag focus state (#1582)
silvalaura Nov 20, 2024
bb047dd
chore: enter prerelease mode
github-bot Nov 20, 2024
b8364bb
fix(ToggleButtonGroup): Fix `enforced` and `exclusive` props (#1572)
silvalaura Nov 20, 2024
0b78f03
chore: enter prerelease mode
github-bot Nov 20, 2024
6869467
fix(Charts): Fix circle styles for `Charts`. (#1578)
nikitaorliak-cengage Nov 20, 2024
c319a88
chore: enter prerelease mode
github-bot Nov 20, 2024
46c70e6
fix(TreeView): Fix invalid tree item children (#1584)
silvalaura Nov 21, 2024
22226aa
chore: enter prerelease mode
github-bot Nov 21, 2024
c54190d
fix(TreeView): Fix undefined problem (#1587)
silvalaura Nov 21, 2024
5576b2f
chore: enter prerelease mode
github-bot Nov 21, 2024
78aad09
docs: Various fixes for missing references and general clean-up (#1574)
chris-cedrone-cengage Nov 21, 2024
23f6cf0
chore: enter prerelease mode
github-bot Nov 21, 2024
3567309
chore: Clean up change sets ahead of release (#1586)
silvalaura Nov 22, 2024
816a230
chore: enter prerelease mode
github-bot Nov 22, 2024
0068985
Merging from dev
chris-cedrone-cengage Dec 2, 2024
6838de1
Resolving weird merge conflict
chris-cedrone-cengage Dec 2, 2024
c6a9c0d
Removing duplicate line in Native Select
chris-cedrone-cengage Dec 2, 2024
a09afcc
Removing import from chart.mdx to please Gatsby
chris-cedrone-cengage Dec 3, 2024
04b1cba
No clue what I'm doing, just trying something here
chris-cedrone-cengage Dec 3, 2024
9d1471f
Laura's note, trying to add webpack-filter-warnings-plugin manually t…
chris-cedrone-cengage Dec 3, 2024
26d285e
Changing location of manual install for webpack-filter-warnings-plugin
chris-cedrone-cengage Dec 3, 2024
5a2f0fd
Adding package-lock
chris-cedrone-cengage Dec 3, 2024
e432f97
fix(Input): Improve descriptions for `inputWrapperStyle` and `contain…
silvalaura Dec 11, 2024
d80d3a6
chore: enter prerelease mode
github-bot Dec 11, 2024
4bec9c3
fix(TreeView): Support 'show all' button inside TreeView component (#…
silvalaura Dec 11, 2024
0b591e8
chore: enter prerelease mode
github-bot Dec 11, 2024
4ed9e5c
fix(TreeView): Add more unit tests (#1600)
silvalaura Dec 14, 2024
44857ea
chore: enter prerelease mode
github-bot Dec 14, 2024
a8869e8
Merging dev
chris-cedrone-cengage Dec 16, 2024
f5d5682
Removing unnecessary changesets
chris-cedrone-cengage Dec 16, 2024
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
62 changes: 38 additions & 24 deletions website/react-magma-docs/src/pages/api/chart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,29 @@ title: Chart
---

import { LeadParagraph } from '../../components/LeadParagraph';
import '@react-magma/charts/dist/charts.css';

<PageContent componentName="chart" type="api">

<LeadParagraph>Magma charts enable you to convey precise and compelling narratives around data through visually appealing and accessible visualizations.</LeadParagraph>
<LeadParagraph>
Magma charts enable you to convey precise and compelling narratives around
data through visually appealing and accessible visualizations.
</LeadParagraph>

The CarbonChart component is a wrapper for the [Carbon Design System Simple Charts](https://carbondesignsystem.com/data-visualization/simple-charts).


<Alert variant="warning">
<strong>Important!</strong> CarbonChart is imported from{' '}
<inlineCode>@react-magma/charts</inlineCode> which must be installed as a peer dependency.
<br/><br/>
In addition, you must manually import the styles:<br/><inlineCode>import '@react-magma/charts/dist/charts.css';</inlineCode>
<inlineCode>@react-magma/charts</inlineCode> which must be installed as a peer
dependency.
<br />
<br />
In addition, you must manually import the styles:
<br />
<inlineCode>import '@react-magma/charts/dist/charts.css';</inlineCode>
</Alert>

We currently support the following chart types:

- AreaChart
- StackedAreaChart
- DonutChart
Expand All @@ -33,14 +39,12 @@ We currently support the following chart types:

## Area Chart

Area charts share similarities with line charts, distinguished by the filled areas below the lines, adorned with colors or patterns. Stacked charts, on the other hand, prove valuable for comparing proportional contributions within a category by plotting the relative value each data series contributes to the total.
Area charts share similarities with line charts, distinguished by the filled areas below the lines, adorned with colors or patterns. Stacked charts, on the other hand, prove valuable for comparing proportional contributions within a category by plotting the relative value each data series contributes to the total.

```typescript
import React from 'react';
import { Card } from 'react-magma-dom';
import { CarbonChart, CarbonChartType } from '@react-magma/charts';
// IMPORTANT: Uncomment the line below for the correct styles
// import '@react-magma/charts/dist/charts.css';
silvalaura marked this conversation as resolved.
Show resolved Hide resolved

export function Example() {
const dataSet = [
Expand Down Expand Up @@ -115,7 +119,11 @@ export function Example() {

return (
<Card style={{ padding: '12px' }}>
<CarbonChart dataSet={dataSet} type={CarbonChartType.area} options={options} />
<CarbonChart
dataSet={dataSet}
type={CarbonChartType.area}
options={options}
/>
</Card>
);
}
Expand All @@ -127,8 +135,6 @@ export function Example() {
import React from 'react';
import { Card } from 'react-magma-dom';
import { CarbonChart, CarbonChartType } from '@react-magma/charts';
// IMPORTANT: Uncomment the line below for the correct styles
// import '@react-magma/charts/dist/charts.css';

export function Example() {
const dataSet = [
Expand Down Expand Up @@ -176,13 +182,16 @@ export function Example() {

return (
<Card style={{ padding: '12px' }}>
<CarbonChart dataSet={dataSet} type={CarbonChartType.donut} options={options} />
<CarbonChart
dataSet={dataSet}
type={CarbonChartType.donut}
options={options}
/>
</Card>
);
}
```


## Line Chart

Line charts depict data at regular intervals, connecting the points with lines. These visualizations are valuable for illustrating trends over time and comparing multiple datasets.
Expand All @@ -191,8 +200,6 @@ Line charts depict data at regular intervals, connecting the points with lines.
import React from 'react';
import { Card } from 'react-magma-dom';
import { CarbonChart, CarbonChartType } from '@react-magma/charts';
// IMPORTANT: Uncomment the line below for the correct styles
// import '@react-magma/charts/dist/charts.css';

export function Example() {
const dataSet = [
Expand Down Expand Up @@ -319,7 +326,12 @@ export function Example() {

return (
<Card style={{ padding: '12px' }} isInverse>
<CarbonChart dataSet={dataSet} type={CarbonChartType.line} options={options} isInverse />
<CarbonChart
dataSet={dataSet}
type={CarbonChartType.line}
options={options}
isInverse
/>
</Card>
);
}
Expand All @@ -331,8 +343,6 @@ export function Example() {
import React from 'react';
import { Card } from 'react-magma-dom';
import { CarbonChart, CarbonChartType } from '@react-magma/charts';
// IMPORTANT: Uncomment the line below for the correct styles
// import '@react-magma/charts/dist/charts.css';

export function Example() {
const dataSet = [
Expand Down Expand Up @@ -375,7 +385,12 @@ export function Example() {

return (
<Card style={{ padding: '12px' }} isInverse>
<CarbonChart dataSet={dataSet} type={CarbonChartType.pie} options={options} isInverse />
<CarbonChart
dataSet={dataSet}
type={CarbonChartType.pie}
options={options}
isInverse
/>
</Card>
);
}
Expand All @@ -401,8 +416,7 @@ export function Example() {
],
},
required: true,
description:
'Type of Chart: area, bar, donut, line, etc.',
description: 'Type of Chart: area, bar, donut, line, etc.',
},
dataSet: {
type: {
Expand All @@ -417,7 +431,8 @@ export function Example() {
name: 'object',
},
required: true,
description: 'For a complete list of options, see Carbon Charts documentation',
description:
'For a complete list of options, see Carbon Charts documentation',
defaultValue: '{}',
},
isInverse: {
Expand All @@ -427,7 +442,6 @@ export function Example() {
required: false,
defaultValue: false,
},

}}
/>

Expand Down
Loading