Skip to content

Commit f7ae0d3

Browse files
committed
fix(codesandbox): update links to include module view
1 parent 79c61de commit f7ae0d3

4 files changed

Lines changed: 24 additions & 24 deletions

File tree

docs/downshift.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,10 +330,10 @@ repository][examples-code-sandbox].
330330
https://cdb.reacttraining.com/use-a-render-prop-50de598f11ce
331331
[github-page]: https://github.com/downshift-js/downshift
332332
[code-sandbox-get-root-props]:
333-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/downshift/ordered-examples/01-basic-autocomplete.js&moduleview=1
333+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fdownshift%2Fordered-examples%2F01-basic-autocomplete.js&moduleview=1
334334
[code-sandbox-no-get-root-props]:
335-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/downshift/ordered-examples/00-get-root-props-example.js&moduleview=1
335+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fdownshift%2Fordered-examples%2F00-get-root-props-example.js&moduleview=1
336336
[examples-code-sandbox]:
337-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?moduleview=1
337+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Findex.js&moduleview=1
338338
[migration-guide-v8]:
339339
https://github.com/downshift-js/downshift/tree/master/src/hooks/MIGRATION_V8.md

docs/hooks/useCombobox.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,23 +1183,23 @@ repository][examples-code-sandbox].
11831183
[use-combobox-github]:
11841184
https://github.com/downshift-js/downshift/tree/master/src/hooks/useCombobox
11851185
[code-sandbox-basic-usage]:
1186-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useCombobox/basic-usage.js&moduleview=-1
1186+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseSelect%2Fbasic-usage.js&moduleview=1
11871187
[code-sandbox-material-ui-usage]:
1188-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useCombobox/material-ui/index.js&moduleview=-1
1188+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseSelect%2Fmaterial-ui%2Findex.js&moduleview=1
11891189
[code-sandbox-controlling-state]:
1190-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useCombobox/controlling-state.js&moduleview=-1
1190+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseSelect%2Fcontrolling-state.js&moduleview=1
11911191
[code-sandbox-state-reducer]:
1192-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useCombobox/state-reducer.js&moduleview=-1
1192+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseSelect%2Fstate-reducer.js&moduleview=1
11931193
[code-sandbox-custom-window]:
1194-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useCombobox/iframe.js&moduleview=-1
1194+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseSelect%2Fiframe.js&moduleview=1
11951195
[code-sandbox-basic-multiple-selection]:
1196-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useCombobox/basic-multiple-selection.js&moduleview=-1
1196+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseSelect%2Fbasic-multiple-selection.js&moduleview=1
11971197
[code-sandbox-action-props]:
1198-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useCombobox/action-props.js&moduleview=-1
1198+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseSelect%2Faction-props.js&moduleview=1
11991199
[code-sandbox-react-virtual]:
1200-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useCombobox/react-virtual.js&moduleview=-1
1200+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseSelect%2Freact-virtual.js&moduleview=1
12011201
[examples-code-sandbox]:
1202-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?moduleview=-1
1202+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Findex.js&moduleview=1
12031203
[react-virtual-github]: https://github.com/tannerlinsley/react-virtual
12041204
[react-virtualized-github]: https://github.com/bvaughn/react-virtualized
12051205
[react-window-github]: https://github.com/bvaughn/react-window

docs/hooks/useMultipleSelection.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,10 +445,10 @@ To see more cool stuff you can build with _useMultipleSelection_, explore the
445445
[use-multiple-selection-github]:
446446
https://github.com/downshift-js/downshift/tree/master/src/hooks/useMultipleSelection
447447
[code-sandbox-combobox-usage]:
448-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useMultipleSelection/combobox.js&moduleview=-1
448+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseMultipleSelection%2Fcombobox.js&moduleview=1
449449
[code-sandbox-select-usage]:
450-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useMultipleSelection/select.js&moduleview=-1
450+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseMultipleSelection%2Fselect.js&moduleview=1
451451
[examples-code-sandbox]:
452-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?moduleview=-1
452+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Findex.js%3A25%2C12&moduleview=1
453453
[migration-guide-v8]:
454454
https://github.com/downshift-js/downshift/tree/master/src/hooks/MIGRATION_V8.md

docs/hooks/useSelect.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -986,23 +986,23 @@ repository][examples-code-sandbox].
986986
[use-select-github]:
987987
https://github.com/downshift-js/downshift/tree/master/src/hooks/useSelect
988988
[code-sandbox-basic-usage]:
989-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useSelect/basic-usage.js&moduleview=1
989+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseCombobox%2Fbasic-usage.js&moduleview=1
990990
[code-sandbox-material-ui-usage]:
991-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useSelect/material-ui/index.js&moduleview=1
991+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseCombobox%2Fmaterial-ui%2Findex.js&moduleview=1
992992
[code-sandbox-controlling-state]:
993-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useSelect/controlling-state.js&moduleview=1
993+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseCombobox%2Fcontrolling-state.js&moduleview=1
994994
[code-sandbox-state-reducer]:
995-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useSelect/state-reducer.js&moduleview=1
995+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseCombobox%2Fstate-reducer.js&moduleview=1
996996
[code-sandbox-custom-window]:
997-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useSelect/iframe.js&moduleview=1
997+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseCombobox%2Fiframe.js&moduleview=1
998998
[code-sandbox-basic-multiple-selection]:
999-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useSelect/basic-multiple-selection.js&moduleview=1
999+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseCombobox%2Fbasic-multiple-selection.js&moduleview=1
10001000
[code-sandbox-action-props]:
1001-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useSelect/action-props.js&moduleview=1
1001+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseCombobox%2Faction-props.js&moduleview=1
10021002
[code-sandbox-react-virtual]:
1003-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useSelect/react-virtual.js&moduleview=1
1003+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fhooks%2FuseCombobox%2Freact-virtual.js&moduleview=1
10041004
[examples-code-sandbox]:
1005-
https://codesandbox.io/s/github/kentcdodds/downshift-examples?moduleview=1
1005+
https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Findex.js&moduleview=1
10061006
[react-virtual-github]: https://github.com/tannerlinsley/react-virtual
10071007
[react-virtualized-github]: https://github.com/bvaughn/react-virtualized
10081008
[react-window-github]: https://github.com/bvaughn/react-window

0 commit comments

Comments
 (0)