-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into pass-timezone-when-formatting-time
- Loading branch information
Showing
83 changed files
with
952 additions
and
463 deletions.
There are no files selected for viewing
614 changes: 307 additions & 307 deletions
614
.yarn/releases/yarn-4.5.1.cjs → .yarn/releases/yarn-4.5.3.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-4.5.1.cjs | ||
yarnPath: .yarn/releases/yarn-4.5.3.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"name": "mantine-a91763c0e2", | ||
"version": "7.14.2-alpha.0", | ||
"version": "7.14.3", | ||
"description": "Mantine Components Monorepo", | ||
"packageManager": "[email protected].1", | ||
"packageManager": "[email protected].3", | ||
"license": "MIT", | ||
"private": true, | ||
"author": "Vitaly Rtishchev <[email protected]>", | ||
|
53 changes: 53 additions & 0 deletions
53
packages/@docs/demos/src/demos/charts/BarChart/BarChart.demo.valueLabelProps.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import { BarChart } from '@mantine/charts'; | ||
import { MantineDemo } from '@mantinex/demo'; | ||
import { data, dataCode } from './_data'; | ||
|
||
const code = ` | ||
import { BarChart } from '@mantine/charts'; | ||
import { data } from './data'; | ||
function Demo() { | ||
return ( | ||
<BarChart | ||
h={300} | ||
data={data} | ||
dataKey="month" | ||
valueFormatter={(value) => new Intl.NumberFormat('en-US').format(value)} | ||
withBarValueLabel | ||
valueLabelProps={{ position: 'inside', fill: 'white' }} | ||
series={[ | ||
{ name: 'Smartphones', color: 'violet.6' }, | ||
{ name: 'Laptops', color: 'blue.6' }, | ||
{ name: 'Tablets', color: 'teal.6' }, | ||
]} | ||
/> | ||
); | ||
} | ||
`; | ||
|
||
function Demo() { | ||
return ( | ||
<BarChart | ||
h={300} | ||
data={data} | ||
dataKey="month" | ||
valueFormatter={(value) => new Intl.NumberFormat('en-US').format(value)} | ||
withBarValueLabel | ||
valueLabelProps={{ position: 'inside', fill: 'white' }} | ||
series={[ | ||
{ name: 'Smartphones', color: 'violet.6' }, | ||
{ name: 'Laptops', color: 'blue.6' }, | ||
{ name: 'Tablets', color: 'teal.6' }, | ||
]} | ||
/> | ||
); | ||
} | ||
|
||
export const valueLabelProps: MantineDemo = { | ||
type: 'code', | ||
component: Demo, | ||
code: [ | ||
{ code, language: 'tsx', fileName: 'Demo.tsx' }, | ||
{ code: dataCode, language: 'tsx', fileName: 'data.ts' }, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
packages/@docs/demos/src/demos/dates/DatePicker/DatePicker.demo.withWeekNumbers.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { DatePicker } from '@mantine/dates'; | ||
import { MantineDemo } from '@mantinex/demo'; | ||
|
||
const code = ` | ||
import { DatePicker } from '@mantine/dates'; | ||
function Demo() { | ||
return <DatePicker withWeekNumbers />; | ||
} | ||
`; | ||
|
||
function Demo() { | ||
return <DatePicker withWeekNumbers />; | ||
} | ||
|
||
export const withWeekNumbers: MantineDemo = { | ||
type: 'code', | ||
centered: true, | ||
component: Demo, | ||
code, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.