-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: added props,csblink,composition,example generation script (#160)
* chore(accordion): refactored & cleaned up accordion types (#153) * test(select): added select tests (#154) * test(select): added test for select component * test(select): added typeahead tests * chore: window.setTimeout -> setTimeout * chore: fix comment * test(select): added multi select tests * chore: moduleNameWrapper for renderless-component in jest * chore: try fix * chore: update import path * chore: wip prop generation * docs: fixed props types generator script * chore: removed redundant utils code * chore: outdent template strings * chore: unify getJsDocs function * chore: added inject-md-content script * docs: run docsgen:example & docsgen:props * build(props-docgen): 🐛 fix rangecalendar types * chore: accordion types reorder * chore: run prettier on markdown * chore: fixed perttier not working * docs: added composition generation script * docs: added prettify script and run once * refactor: refactored inject prop script * chore(accordion): 🏷️ update type declaration for prop generation (#163) * chore: regenerate docs * docs: added codesandbox link generation script * docs: improve sandbox script to add short sandbox url * docs: hardcode reakit dep & fixed extraDep * docs(calendar): 📝 update jsdocs for the calendar (#166) * docs(calendar): 📝 update jsdocs for the calendar * docs(calendar): 📝 update the examples with headings * docs: added calendar sandbox link * docs: added link_title support for csblinks generation * docs: added support for multiple csb links * chore: rename fsUtils to fs-utils * docs: added links in main readme * fix(docs): refactored & fixed multiple sandbox link generation * docs: fix csblinks path & regenerate docs * chore: renamed generate-docs to inject-examples & better chalk logs Co-authored-by: Navin <[email protected]>
- Loading branch information
1 parent
2c007ce
commit 781b130
Showing
40 changed files
with
2,121 additions
and
397 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
## Calendar | ||
|
||
Accessible `Calendar` component. | ||
|
||
<!-- CODESANDBOX | ||
link_title: Calendar - Open On Sandbox | ||
js: src/calendar/stories/__js/CalendarBase.component.jsx | ||
css: src/calendar/stories/CalendarBase.css | ||
--> | ||
|
||
<!-- CODESANDBOX | ||
link_title: RangeCalendar - Open On Sandbox | ||
js: src/calendar/stories/__js/CalendarRange.component.jsx | ||
css: src/calendar/stories/CalendarRange.css | ||
--> | ||
|
||
# Props | ||
|
||
<!-- INJECT_PROPS src/calendar --> | ||
|
||
# Composition | ||
|
||
<!-- INJECT_COMPOSITION src/calendar --> | ||
|
||
### Example | ||
|
||
#### Base Calendar | ||
|
||
```js | ||
<!-- IMPORT_EXAMPLE src/calendar/stories/__js/CalendarBase.component.jsx --> | ||
``` | ||
|
||
#### Range Calendar | ||
|
||
```js | ||
<!-- IMPORT_EXAMPLE src/calendar/stories/__js/CalendarRange.component.jsx --> | ||
``` |
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
Oops, something went wrong.