2.36.2 • Published 1 year ago

@sanity/default-layout v2.36.2

Weekly downloads
22,788
License
MIT
Repository
github
Last release
1 year ago

⚠️ THIS PACKAGE IS DEPRECATED

This package is part of Sanity Studio v2, which has been superseded by Sanity Studio v3, the current major version released on Dec 7th, 2022. This package is no longer used/needed for Sanity Studio in its current version and will be retired on Dec 7th, 2023. The core packages for Sanity Studio v2 will only receive critical bug fixes until this date.

Please head over to the documentation for Sanity Studio v3 to learn more.

default-layout

Sidecar

The Sidecar will be enabled in a Studio if there is an implementations of the part part:@sanity/default-layout/sidecar

part:@sanity/default-layout/sidecar

An implementation of part:@sanity/default-layout/sidecar must export these:

  • SidecarToggleButton React component. The button which will appear in the Navbar to toggle on/off the Sidecar
  • SidecarLayout React component. The content of the Sidecar (once it appears)
  • isSidecarEnabled Function. Call this to check if the Sidecar implementation is happy and good to go (typically, the sidecar impl. wants to verify if config is present)

If you need inspiration, the @sanity/studio-hints package is an implementation of this part.

part:@sanity/default-layout/sidecar-datastore

In addition, Sidecar relies on part:@sanity/default-layout/sidecar-datastore. This part already exists and shouldn't be overridden unless there's a good reason. This part exports:

  • isSidecarOpenSetting listen to this to get realtime updates on the sidecar open/close state
  • toggleSidecarOpenState call this to flip the sidecar open/close state
2.36.2

1 year ago

2.35.7

2 years ago

2.36.1

2 years ago

2.35.5

2 years ago

2.35.4

2 years ago

2.35.3

2 years ago

2.34.3-cdr-ga.20

2 years ago

2.34.1-canary.0

2 years ago

2.35.0

2 years ago

2.35.2

2 years ago

2.34.0

2 years ago

2.32.0

2 years ago

2.33.3-edge.8

2 years ago

2.33.0

2 years ago

2.33.3

2 years ago

2.33.2

2 years ago

2.33.4-shopify.8

2 years ago

2.31.1

2 years ago

2.31.0

2 years ago

2.32.1-next.22

2 years ago

2.30.4

2 years ago

2.30.3

2 years ago

2.30.5

2 years ago

2.30.3-shopify.5

2 years ago

2.30.3-shopify.3

2 years ago

2.30.3-shopify.4

2 years ago

2.30.1

3 years ago

2.30.0

3 years ago

2.30.2-shopify.2

2 years ago

2.30.2-shopify.0

2 years ago

2.29.8

3 years ago

2.29.7

3 years ago

2.29.5

3 years ago

2.29.3

3 years ago

2.29.0

3 years ago

2.29.2

3 years ago

2.29.1

3 years ago

2.28.0

3 years ago

2.28.2

3 years ago

2.23.3

3 years ago

2.24.1-pte.127

3 years ago

2.24.1-pte.113

3 years ago

2.24.1-pte.115

3 years ago

2.23.4-pte.99

3 years ago

2.23.4-pte.96

3 years ago

2.23.4-pte.95

3 years ago

2.23.5-next.19

3 years ago

2.26.0

3 years ago

2.24.1

3 years ago

2.24.0

3 years ago

2.24.3-pte.128

3 years ago

2.25.5-next.6

3 years ago

2.27.2

3 years ago

2.27.1

3 years ago

2.27.0

3 years ago

2.23.4-pte.107

3 years ago

2.23.4-pte.101

3 years ago

2.23.4-pte.102

3 years ago

2.25.4

3 years ago

2.25.0

3 years ago

2.25.1

3 years ago

2.23.2

3 years ago

2.23.1

3 years ago

2.23.3-canary.84

3 years ago

2.23.3-next.4

3 years ago

2.23.2-canary.28

3 years ago

2.22.3-next.5

3 years ago

2.22.6-next.104

3 years ago

2.22.6-next.102

3 years ago

2.23.2-next.3

3 years ago

2.22.0

3 years ago

2.22.3

3 years ago

2.22.5

3 years ago

2.22.4

3 years ago

2.23.3-next.34

3 years ago

2.23.3-next.35

3 years ago

2.22.6-next.121

3 years ago

2.21.10

3 years ago

2.23.3-canary.59

3 years ago

2.23.1-next.10

3 years ago

2.23.0

3 years ago

2.21.9

3 years ago

2.21.7

3 years ago

2.21.8-canary.4

3 years ago

2.21.4

3 years ago

2.21.3

3 years ago

2.21.6

3 years ago

2.21.5

3 years ago

2.21.0

3 years ago

2.21.2

3 years ago

2.21.1

3 years ago

2.21.1-canary.2

3 years ago

2.20.0

3 years ago

2.19.4

3 years ago

2.19.0

3 years ago

2.19.1-canary.1

3 years ago

2.18.1-canary.9

3 years ago

2.18.0

3 years ago

2.17.3-canary.0

3 years ago

2.17.2

3 years ago

2.17.0

3 years ago

2.17.1

3 years ago

2.16.0

3 years ago

2.15.1

3 years ago

2.15.1-canary.4

3 years ago

2.15.0

3 years ago

2.14.1-canary.4

3 years ago

2.14.1-canary.36

3 years ago

2.14.0

3 years ago

2.13.2-canary.13

3 years ago

2.13.2-canary.9

3 years ago

2.13.2-canary.7

3 years ago

2.13.1

3 years ago

2.13.0

3 years ago

2.12.3-rc.0

3 years ago

2.12.2

3 years ago

2.12.0

3 years ago

2.11.3-canary.6

3 years ago

2.11.2

3 years ago

2.11.1

3 years ago

2.11.0

3 years ago

2.10.5

4 years ago

2.10.2

4 years ago

2.10.2-next.0

4 years ago

2.10.0

4 years ago

2.8.2-canary.40

4 years ago

2.9.1

4 years ago

2.9.1-canary.15

4 years ago

2.9.0

4 years ago

2.8.1

4 years ago

2.8.0

4 years ago

2.7.5-next.41

4 years ago

2.7.4

4 years ago

2.7.2

4 years ago

2.7.1

4 years ago

2.7.0

4 years ago

2.6.4

4 years ago

2.6.2

4 years ago

2.6.0

4 years ago

2.5.0

4 years ago

2.5.1-canary.79

4 years ago

2.4.4-canary.81

4 years ago

2.4.4-canary.75

4 years ago

2.4.3

4 years ago

2.4.1

4 years ago

2.4.0

4 years ago

2.3.9-canary.32

4 years ago

2.3.8

4 years ago

2.3.7

4 years ago

2.3.7-canary.22

4 years ago

2.3.5-canary.23

4 years ago

2.3.5-canary.22

4 years ago

2.3.6

4 years ago

2.3.5

4 years ago

2.3.5-canary.17

4 years ago

2.3.5-canary.18

4 years ago

2.3.4

4 years ago

2.3.3

4 years ago

2.3.2

4 years ago

2.3.0

4 years ago

2.2.6

4 years ago

2.2.5

4 years ago

2.2.4

4 years ago

2.2.3

4 years ago

2.2.2

4 years ago

2.2.0

4 years ago

2.1.7-next.22

4 years ago

2.1.7-next.21

4 years ago

2.1.6

4 years ago

2.1.5

4 years ago

2.1.5-canary.3

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.1-ui.14

4 years ago

2.1.2-ui.11

4 years ago

2.1.1-ui.13

4 years ago

2.1.1-ui.18

4 years ago

2.1.0

4 years ago

2.0.10-next.46

4 years ago

2.0.10-next.47

4 years ago

2.0.10-canary.11

4 years ago

2.0.10-canary.0

4 years ago

2.0.9

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

1.150.8

4 years ago

1.150.6

4 years ago

1.150.7

4 years ago

1.150.5

4 years ago

1.150.5-canary.6

4 years ago

1.150.3

4 years ago

1.150.2

4 years ago

1.150.2-canary.0

4 years ago

1.150.0

4 years ago

1.150.1

4 years ago

1.149.19

4 years ago

1.149.18

4 years ago

1.149.16

4 years ago

1.149.15

5 years ago

1.149.13

5 years ago

1.149.10

5 years ago

1.149.8

5 years ago

1.149.7

5 years ago

1.149.5

5 years ago

1.149.4

5 years ago

1.149.3

5 years ago

1.149.1

5 years ago

1.149.2

5 years ago

1.149.0

5 years ago

1.148.7

5 years ago

1.148.5

5 years ago

1.148.4

5 years ago

1.148.1

5 years ago

1.148.0

5 years ago

0.147.10-next.23

5 years ago

0.147.8

5 years ago

0.147.9

5 years ago

0.147.6

5 years ago

0.147.4

5 years ago

0.147.3

5 years ago

0.147.2

5 years ago

0.147.0

5 years ago

0.147.0-alpha.1

5 years ago

0.147.0-alpha.2

5 years ago

0.146.3

5 years ago

0.147.0-alpha.0

5 years ago

0.146.0

5 years ago

0.146.0-alpha.2

5 years ago

0.145.1

5 years ago

0.146.0-alpha.1

5 years ago

0.145.0

5 years ago

0.145.0-alpha.32

5 years ago

0.144.2

5 years ago

0.144.1

5 years ago

0.144.0

5 years ago

0.142.10

5 years ago

0.142.9

5 years ago

0.142.7

5 years ago

0.142.6

5 years ago

0.142.5

5 years ago

0.142.4

5 years ago

0.142.3

5 years ago

0.142.2

5 years ago

0.142.1

5 years ago

0.142.0

5 years ago

0.141.7-next.20

5 years ago

0.141.7-next.19

5 years ago

0.141.7-next.18

5 years ago

0.141.6

5 years ago

0.141.5

5 years ago

0.141.4

5 years ago

0.141.3

5 years ago

0.141.1

5 years ago

0.140.38

5 years ago

0.140.36

5 years ago

0.140.35

5 years ago

0.140.34

5 years ago

0.140.33

5 years ago

0.140.32

6 years ago

0.140.30

6 years ago

0.140.25

6 years ago

0.140.21

6 years ago

0.140.20

6 years ago

0.140.18

6 years ago

0.140.17

6 years ago

0.140.16

6 years ago

0.140.14

6 years ago

0.140.12

6 years ago

0.140.11

6 years ago

0.140.10

6 years ago

0.140.9

6 years ago

0.141.0-alpha.12

6 years ago

0.140.8

6 years ago

0.140.7

6 years ago

0.140.6

6 years ago

0.140.4

6 years ago

0.140.3

6 years ago

0.140.3-canary.1

6 years ago

0.140.2

6 years ago

0.140.0

6 years ago

0.139.6

6 years ago

0.139.5-canary.5

6 years ago

0.139.5

6 years ago

0.139.4

6 years ago

0.139.3

6 years ago

0.139.3-parrot.0

6 years ago

0.139.3-canary.0

6 years ago

0.139.2

6 years ago

0.139.1

6 years ago

0.140.0-alpha.4

6 years ago

0.140.0-alpha.3

6 years ago

0.140.0-alpha.1

6 years ago

0.139.0

6 years ago

0.139.0-rc.0

6 years ago

0.138.0

6 years ago

0.138.0-alpha.21

6 years ago

0.138.0-alpha.20

6 years ago

0.138.0-alpha.14

6 years ago

0.137.0

6 years ago

0.136.3

6 years ago

0.136.2

6 years ago

0.136.1

6 years ago

0.136.1-canary.5

6 years ago

0.136.0

6 years ago

0.135.4

6 years ago

0.135.3

6 years ago

0.135.3-next.6

6 years ago

0.135.0

6 years ago

0.135.0-next.2

6 years ago

0.135.0-next.1

6 years ago

0.135.0-next.0

6 years ago

0.134.2

6 years ago

0.134.1

6 years ago

0.135.0-beta.0

6 years ago

0.134.0

6 years ago

0.133.2

6 years ago

0.133.1

6 years ago

0.133.0

6 years ago

0.132.12

6 years ago

0.132.10

6 years ago

0.132.9

6 years ago

0.132.8

6 years ago

0.132.7

6 years ago

0.132.6

6 years ago

0.132.5

6 years ago

0.132.4

6 years ago

0.132.4-next.0

7 years ago

0.132.2

7 years ago

0.132.1

7 years ago

0.132.0

7 years ago

0.131.2

7 years ago

0.131.0

7 years ago

0.130.1

7 years ago

0.130.0

7 years ago

0.129.2

7 years ago

0.129.1

7 years ago

0.129.0

7 years ago

0.128.14

7 years ago

0.128.13

7 years ago

0.128.12

7 years ago

0.128.11

7 years ago

0.128.10

7 years ago

0.128.9

7 years ago

0.128.8

7 years ago

0.128.7

7 years ago

0.128.5

7 years ago

0.128.3

7 years ago

0.128.1

7 years ago

0.128.0

7 years ago

0.127.1

7 years ago

0.127.0

7 years ago

0.126.3

7 years ago

0.126.2

7 years ago

0.126.1

7 years ago

0.126.0

7 years ago

0.125.9

7 years ago

0.125.8

7 years ago

0.125.7

7 years ago

0.125.6

7 years ago

0.125.5

7 years ago

0.125.4

7 years ago

0.125.3

7 years ago

0.125.1

7 years ago

0.125.0

7 years ago

0.125.0-rc.4

7 years ago

0.124.12

7 years ago

0.125.0-rc.3

7 years ago

0.125.0-rc.2

7 years ago

0.125.0-rc.1

7 years ago

0.125.0-rc.0

7 years ago

0.124.11

7 years ago

0.124.10

7 years ago

0.124.9

7 years ago

0.124.8

7 years ago

0.124.7

7 years ago

0.124.6

7 years ago

0.124.5

7 years ago

0.124.4

7 years ago

0.124.3

7 years ago

0.124.2

7 years ago

0.124.1

7 years ago

0.124.0

7 years ago

0.123.1

7 years ago

0.123.0

7 years ago

0.122.7

7 years ago

0.122.6

7 years ago

0.122.5

7 years ago

0.122.4

7 years ago

0.122.3

7 years ago

0.122.2

7 years ago

0.122.1

7 years ago

0.122.0

7 years ago

0.121.0

7 years ago

0.120.0

7 years ago

0.119.0

7 years ago

0.118.4

7 years ago

0.118.3

7 years ago

0.118.2

7 years ago

0.118.1

7 years ago

0.118.0

7 years ago

0.117.1

7 years ago

0.117.0

7 years ago

0.116.2

7 years ago

0.116.1

7 years ago

0.116.0

7 years ago

0.116.0-rc.0

7 years ago

0.115.3

7 years ago

0.115.2

7 years ago

0.115.1

7 years ago

0.115.0

7 years ago

0.114.1

7 years ago

0.114.0

7 years ago

0.113.8

7 years ago

0.113.7

7 years ago

0.113.6

7 years ago

0.113.5

7 years ago

0.113.4

7 years ago

0.113.3

7 years ago

0.113.1

7 years ago

0.113.0

7 years ago

0.113.0-rc.2

7 years ago

0.113.0-rc.1

7 years ago

0.113.0-rc.0

7 years ago

0.112.2

7 years ago

0.112.1

7 years ago

0.112.0

7 years ago

0.111.6-beta.0

7 years ago

0.111.5

7 years ago

0.111.4

7 years ago

0.111.3

7 years ago

0.111.2

7 years ago

0.111.1

7 years ago

0.111.0

7 years ago

0.110.1

7 years ago

0.110.0

7 years ago

0.109.0

7 years ago

0.108.13

7 years ago

0.108.12

7 years ago

0.109.0-beta.0

7 years ago

0.108.11

7 years ago

0.108.10

7 years ago

0.108.9

7 years ago

0.108.8

7 years ago

0.108.7

7 years ago

0.108.6

7 years ago

0.108.5

7 years ago

0.108.4

7 years ago

0.108.3

7 years ago

0.108.2

7 years ago

0.108.1

7 years ago

0.108.0

7 years ago

0.108.0-beta.2

7 years ago

0.108.0-beta.1

7 years ago

0.108.0-beta.0

7 years ago

0.107.29

7 years ago

0.107.28

7 years ago

0.107.27

7 years ago

0.107.27-beta.0

7 years ago

0.107.26

7 years ago

0.107.26-edge.0

7 years ago

0.107.25

7 years ago

0.107.24

7 years ago

0.107.23

7 years ago

0.107.22

7 years ago

0.107.21

7 years ago

0.107.20

7 years ago

0.107.19

7 years ago

0.107.18

7 years ago

0.107.17

7 years ago

0.107.16

7 years ago

0.107.15

7 years ago

0.107.14

7 years ago

0.107.13

7 years ago

0.107.12

7 years ago

0.107.10

7 years ago

0.107.9

7 years ago

0.107.8

7 years ago

0.107.7

7 years ago

0.107.6

7 years ago

0.107.5

7 years ago

0.107.2

7 years ago

0.107.1

7 years ago

0.107.0

7 years ago

0.106.30-next

7 years ago

0.106.33

7 years ago

0.106.32

7 years ago

0.106.31

7 years ago

0.106.30

7 years ago

0.106.29

7 years ago

0.106.28

7 years ago

0.106.27

7 years ago

0.106.28-next

7 years ago

0.106.27-next

7 years ago

0.106.26

7 years ago

0.106.25

7 years ago

0.106.21

7 years ago

0.106.20

7 years ago

0.106.19

7 years ago

0.106.18

7 years ago

0.106.16

7 years ago

0.106.15

7 years ago

0.106.14

7 years ago

0.106.13

7 years ago

0.106.12

7 years ago

0.106.11

7 years ago

0.106.10

8 years ago

0.106.9

8 years ago

0.106.8

8 years ago

0.106.7

8 years ago

0.106.6

8 years ago

0.106.4

8 years ago

0.106.3

8 years ago

0.106.2

8 years ago

0.106.1

8 years ago

0.106.0

8 years ago

0.105.16

8 years ago

0.105.15

8 years ago

0.105.14

8 years ago

0.105.13

8 years ago

0.105.12

8 years ago

0.105.11

8 years ago

0.105.10

8 years ago

0.105.9

8 years ago

0.105.8

8 years ago

0.105.7

8 years ago

0.105.6

8 years ago

0.105.5

8 years ago

0.105.4

8 years ago

0.105.3

8 years ago

0.105.2

8 years ago

0.105.1

8 years ago

0.105.0

8 years ago

0.105.0-drafts.2

8 years ago

0.104.45

8 years ago

0.105.0-drafts.1

8 years ago

0.105.0-drafts.0

8 years ago

0.104.44

8 years ago

0.104.43

8 years ago

0.104.42

8 years ago

0.104.41

8 years ago

0.104.40

8 years ago

0.104.39

8 years ago

0.104.38

8 years ago

0.104.37

8 years ago

0.104.36

8 years ago

0.104.35

8 years ago

0.104.34

8 years ago

0.104.33

8 years ago

0.104.32

8 years ago

0.104.31

8 years ago

0.104.30

8 years ago

0.104.27

8 years ago

0.104.26

8 years ago

0.104.25

8 years ago

0.104.24

8 years ago

0.104.23

8 years ago

0.104.22

8 years ago

0.104.19

8 years ago

0.104.18

8 years ago

0.104.17

8 years ago

0.104.16

8 years ago

0.104.15

8 years ago

0.104.14

8 years ago

0.104.13

8 years ago

0.104.12

8 years ago

0.104.10

8 years ago

0.104.9

8 years ago

0.104.8

8 years ago

0.104.7

8 years ago

0.104.6

8 years ago

0.104.5

8 years ago

0.104.3

8 years ago

0.104.2

8 years ago

0.104.1

8 years ago

0.104.0

8 years ago

0.103.22

8 years ago

0.103.21

8 years ago

0.103.20

8 years ago

0.103.19

8 years ago

0.103.18

8 years ago

0.103.17

8 years ago

0.103.16

8 years ago

0.103.14

8 years ago

0.103.13

8 years ago

0.103.12

8 years ago

0.103.11

8 years ago

0.103.10

8 years ago

0.103.9

8 years ago

0.103.8

8 years ago

0.103.7

8 years ago

0.103.6

8 years ago

0.103.5

8 years ago

0.103.4

8 years ago

0.103.3

8 years ago

0.103.2

8 years ago

0.103.1

8 years ago

0.103.0

8 years ago

0.102.5-next

8 years ago

0.102.4-next

8 years ago

0.102.2-next

8 years ago

0.102.1-next

8 years ago

0.102.0-next

8 years ago

0.101.17

8 years ago

0.101.16

8 years ago

0.101.15

8 years ago

0.101.14

8 years ago

0.101.13

8 years ago

0.101.12

8 years ago

0.101.11

8 years ago

0.101.10

8 years ago

0.101.21-next

8 years ago

0.101.20-next

8 years ago

0.101.18-next

8 years ago

0.101.17-next

8 years ago

0.101.16-next

8 years ago

0.101.15-next

8 years ago

0.101.14-next

8 years ago

0.101.13-next

8 years ago

0.101.12-next

8 years ago

0.101.11-next

8 years ago

0.101.10-next

8 years ago

0.101.9

8 years ago

0.101.8

8 years ago

0.101.7

8 years ago

0.101.6

8 years ago

0.101.7-next

8 years ago

0.101.6-next

8 years ago

0.101.5-next

8 years ago

0.101.5

8 years ago

0.101.4

8 years ago

0.101.3

8 years ago

0.101.2

8 years ago

0.101.1

8 years ago

0.101.0

8 years ago

0.100.16

8 years ago

0.100.15

8 years ago

0.101.0-beta.4

8 years ago

0.101.0-beta.3

8 years ago

0.101.0-beta.2

8 years ago

0.101.0-beta.1

8 years ago

0.100.14

8 years ago

0.101.0-beta.0

8 years ago

0.100.13

8 years ago

0.100.12

8 years ago

0.100.10

8 years ago

0.100.9

8 years ago

0.100.8

8 years ago

0.100.7

8 years ago

0.100.5

8 years ago

0.100.4

8 years ago

0.100.3

8 years ago

0.100.2

8 years ago

0.100.0

8 years ago

0.99.10

8 years ago

0.99.9

8 years ago

0.99.8

8 years ago

0.99.7

8 years ago

0.99.6

8 years ago

0.99.5

8 years ago

0.99.4

8 years ago

0.99.3

8 years ago

0.99.2

8 years ago

0.99.0

8 years ago

0.1.18

8 years ago

0.1.17

8 years ago

0.1.16

8 years ago

0.1.15

8 years ago

0.1.14

8 years ago

0.1.13

8 years ago

0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.1.0-beta.0

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago