Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Commit 0c1ab8c

Browse files
authored
chore: upgrade packages (#130)
1 parent b585cd1 commit 0c1ab8c

25 files changed

+2189
-1757
lines changed

docs/basics/Emotion.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ function App() {
2626
}
2727
```
2828

29-
> Including `Normalize` is strongly recommended, see [guide](/docs-basics-normalize)].
29+
> Including `Normalize` is strongly recommended, see [guide](/docs-basics-normalize).

docs/components/Alert.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Alert
33
menu: Components
44
---
55

6-
import { PropsTable, Playground } from 'docz'
7-
import { PropDesc, themeProp, getSystemPropDesc } from '@docs/utils'
6+
import { Playground } from 'docz'
7+
import { Props, PropDesc, themeProp, getSystemPropDesc } from '@docs/utils'
88
import { Alert } from '@smooth-ui/core-sc'
99

1010
# Alert
@@ -28,8 +28,8 @@ Set variants using `variant` prop.
2828

2929
### Alert
3030

31-
<PropsTable
32-
of={PropDesc({
31+
<Props
32+
props={PropDesc({
3333
children: PropDesc.node,
3434
variant: PropDesc.oneOf(themeProp('colorVariants')).defaultTo('primary'),
3535
...getSystemPropDesc(Alert),

docs/components/Box.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Box
33
menu: Components
44
---
55

6-
import { PropsTable, Playground } from 'docz'
7-
import { PropDesc, getSystemPropDesc } from '@docs/utils'
6+
import { Playground } from 'docz'
7+
import { Props, PropDesc, getSystemPropDesc } from '@docs/utils'
88
import { Box } from '@smooth-ui/core-sc'
99

1010
# Box
@@ -36,4 +36,4 @@ Box is a simple component that supports all system properties. You can do nearly
3636

3737
### Box
3838

39-
<PropsTable of={PropDesc(getSystemPropDesc(Box))} />
39+
<Props props={PropDesc(getSystemPropDesc(Box))} />

docs/components/Button.mdx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@ name: Button
33
menu: Components
44
---
55

6-
import { PropsTable, Playground } from 'docz'
7-
import { BlockList, PropDesc, themeProp, getSystemPropDesc } from '@docs/utils'
6+
import { Playground } from 'docz'
7+
import {
8+
Props,
9+
BlockList,
10+
PropDesc,
11+
themeProp,
12+
getSystemPropDesc,
13+
} from '@docs/utils'
814
import { Button } from '@smooth-ui/core-sc'
915

1016
# Button
@@ -54,8 +60,8 @@ Disable using `disabled` prop.
5460

5561
### Button
5662

57-
<PropsTable
58-
of={PropDesc({
63+
<Props
64+
props={PropDesc({
5965
children: PropDesc.node,
6066
disabled: PropDesc.bool,
6167
size: PropDesc.oneOf(['sm', 'lg']),

docs/components/Checkbox.mdx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@ name: Checkbox
33
menu: Components
44
---
55

6-
import { PropsTable, Playground } from 'docz'
7-
import { BlockList, PropDesc, themeProp, getSystemPropDesc } from '@docs/utils'
6+
import { Playground } from 'docz'
7+
import {
8+
Props,
9+
BlockList,
10+
PropDesc,
11+
themeProp,
12+
getSystemPropDesc,
13+
} from '@docs/utils'
814
import { Checkbox, FormCheck, FormCheckLabel } from '@smooth-ui/core-sc'
915

1016
# Checkbox
@@ -95,8 +101,8 @@ Disable using `disabled` prop.
95101

96102
### Checkbox
97103

98-
<PropsTable
99-
of={PropDesc({
104+
<Props
105+
props={PropDesc({
100106
checked: PropDesc.bool,
101107
control: PropDesc.bool,
102108
disabled: PropDesc.bool,

docs/components/FormCheck.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: FormCheck
33
menu: Components
44
---
55

6-
import { PropsTable, Playground } from 'docz'
7-
import { PropDesc, getSystemPropDesc } from '@docs/utils'
6+
import { Playground } from 'docz'
7+
import { Props, PropDesc, getSystemPropDesc } from '@docs/utils'
88
import { Checkbox, FormCheck, FormCheckLabel } from '@smooth-ui/core-sc'
99

1010
# FormCheck
@@ -43,8 +43,8 @@ Set inline with `inline` props.
4343

4444
### FormCheck
4545

46-
<PropsTable
47-
of={PropDesc({
46+
<Props
47+
props={PropDesc({
4848
children: PropDesc.node,
4949
inline: PropDesc.bool,
5050
...getSystemPropDesc(FormCheck),
@@ -53,8 +53,8 @@ Set inline with `inline` props.
5353

5454
### FormCheckLabel
5555

56-
<PropsTable
57-
of={PropDesc({
56+
<Props
57+
props={PropDesc({
5858
children: PropDesc.node,
5959
...getSystemPropDesc(FormCheckLabel),
6060
})}

docs/components/Input.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Input
33
menu: Components
44
---
55

6-
import { PropsTable, Playground } from 'docz'
7-
import { BlockList, PropDesc, getSystemPropDesc } from '@docs/utils'
6+
import { Playground } from 'docz'
7+
import { Props, BlockList, PropDesc, getSystemPropDesc } from '@docs/utils'
88
import { Input } from '@smooth-ui/core-sc'
99

1010
# Input
@@ -54,8 +54,8 @@ Disable using `disabled` prop.
5454

5555
### Input
5656

57-
<PropsTable
58-
of={PropDesc({
57+
<Props
58+
props={PropDesc({
5959
control: PropDesc.bool,
6060
size: PropDesc.oneOf(['sm', 'lg']),
6161
valid: PropDesc.bool,

docs/components/Modal.mdx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Modal
33
menu: Components
44
---
55

6-
import { PropsTable, Playground } from 'docz'
7-
import { BlockList, PropDesc, getSystemPropDesc } from '@docs/utils'
6+
import { Playground } from 'docz'
7+
import { Props, BlockList, PropDesc, getSystemPropDesc } from '@docs/utils'
88
import {
99
Modal,
1010
ModalCloseButton,
@@ -217,8 +217,8 @@ When modals become too long for the user’s viewport or device, they scroll ind
217217

218218
### Modal
219219

220-
<PropsTable
221-
of={PropDesc({
220+
<Props
221+
props={PropDesc({
222222
children: PropDesc.node,
223223
onClose: PropDesc.func,
224224
opened: PropDesc.bool,
@@ -229,53 +229,53 @@ When modals become too long for the user’s viewport or device, they scroll ind
229229

230230
### ModalBody
231231

232-
<PropsTable
233-
of={PropDesc({
232+
<Props
233+
props={PropDesc({
234234
children: PropDesc.node,
235235
...getSystemPropDesc(ModalBody),
236236
})}
237237
/>
238238

239239
### ModalContent
240240

241-
<PropsTable
242-
of={PropDesc({
241+
<Props
242+
props={PropDesc({
243243
children: PropDesc.node,
244244
...getSystemPropDesc(ModalContent),
245245
})}
246246
/>
247247

248248
### ModalDialog
249249

250-
<PropsTable
251-
of={PropDesc({
250+
<Props
251+
props={PropDesc({
252252
children: PropDesc.node,
253253
...getSystemPropDesc(ModalDialog),
254254
})}
255255
/>
256256

257257
### ModalFooter
258258

259-
<PropsTable
260-
of={PropDesc({
259+
<Props
260+
props={PropDesc({
261261
children: PropDesc.node,
262262
...getSystemPropDesc(ModalFooter),
263263
})}
264264
/>
265265

266266
### ModalHeader
267267

268-
<PropsTable
269-
of={PropDesc({
268+
<Props
269+
props={PropDesc({
270270
children: PropDesc.node,
271271
...getSystemPropDesc(ModalHeader),
272272
})}
273273
/>
274274

275275
### ModalCloseButton
276276

277-
<PropsTable
278-
of={PropDesc({
277+
<Props
278+
props={PropDesc({
279279
children: PropDesc.node,
280280
...getSystemPropDesc(ModalCloseButton),
281281
})}

docs/components/Popover.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Popover
33
menu: Components
44
---
55

6-
import { PropsTable, Playground } from 'docz'
7-
import { BlockList, PropDesc, getSystemPropDesc } from '@docs/utils'
6+
import { Playground } from 'docz'
7+
import { Props, BlockList, PropDesc, getSystemPropDesc } from '@docs/utils'
88
import { Popover, Toggler, Button, Box } from '@smooth-ui/core-sc'
99

1010
# Popover
@@ -39,8 +39,8 @@ Add a `<Popover />` in a component and it will automatically be displayed. Popov
3939

4040
### Popover
4141

42-
<PropsTable
43-
of={PropDesc({
42+
<Props
43+
props={PropDesc({
4444
children: PropDesc.node,
4545
onHide: PropDesc.func,
4646
placement: PropDesc.oneOf([

docs/components/Radio.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Radio
33
menu: Components
44
---
55

6-
import { PropsTable, Playground } from 'docz'
7-
import { BlockList, PropDesc, getSystemPropDesc } from '@docs/utils'
6+
import { Playground } from 'docz'
7+
import { Props, BlockList, PropDesc, getSystemPropDesc } from '@docs/utils'
88
import {
99
Radio,
1010
RadioGroup,
@@ -88,8 +88,8 @@ In most of case you don't need a `RadioGroup`. It is only necessary if you use [
8888

8989
### Radio
9090

91-
<PropsTable
92-
of={PropDesc({
91+
<Props
92+
props={PropDesc({
9393
checked: PropDesc.bool,
9494
control: PropDesc.bool,
9595
disabled: PropDesc.bool,
@@ -103,8 +103,8 @@ In most of case you don't need a `RadioGroup`. It is only necessary if you use [
103103

104104
### RadioGroup
105105

106-
<PropsTable
107-
of={PropDesc({
106+
<Props
107+
props={PropDesc({
108108
children: PropDesc.node,
109109
})}
110110
/>

0 commit comments

Comments
 (0)