TheoryOfNekomata
8310ded3d7
Improve links
Use Next.js router links instead of the ordinary `<a>` tags.
pirms 3 gadiem
TheoryOfNekomata
c62c0deb5a
Improve documentation
Parse descriptions as Markdown. Also improve loading of current theme.
pirms 3 gadiem
TheoryOfNekomata
c4413725cc
Hide empty cells in prop table
Remove awkward space when no default value is specified in the prop definition.
pirms 3 gadiem
TheoryOfNekomata
bfb49948d5
Improve font loading
Include web fonts in loading.
pirms 3 gadiem
TheoryOfNekomata
50ea1b6366
Make theme toggle smooth
Add compatibility for a smoother transition of themes.
pirms 3 gadiem
TheoryOfNekomata
db7ee9046a
Adjust theme
Set colors for dark and light theme.
pirms 3 gadiem
TheoryOfNekomata
129dc6b31b
Fix rel
pirms 3 gadiem
TheoryOfNekomata
48881294f8
Fix stylesheet toggle
Use rel attributes to specify currently selected theme.
pirms 3 gadiem
TheoryOfNekomata
65d4b3334e
Improve look and feel
Add syntax highlighting + improved props table.
pirms 3 gadiem
TheoryOfNekomata
2058df416e
Update ignores
Ignore node_modules files under packages.
pirms 3 gadiem
TheoryOfNekomata
1b17751ebe
Remove trailing slash
pirms 3 gadiem
TheoryOfNekomata
bfe89bddf6
Add trailing slash
pirms 3 gadiem
TheoryOfNekomata
6dfaa99c15
Fix routes
Return basePath, use public URL for CSS.
pirms 3 gadiem
TheoryOfNekomata
c79d07b5a2
Modify next config
Test some stuff...
pirms 3 gadiem
TheoryOfNekomata
c88efc4b3d
Set base path
Use base path for domain.
pirms 3 gadiem
TheoryOfNekomata
7cbb51481e
Prepare for building
Prepare requirements for Next to build the documentation.
pirms 3 gadiem
TheoryOfNekomata
7f36127089
Bump version
For republishing.
pirms 3 gadiem
TheoryOfNekomata
1166e17118
Improve navigation on mobile
Make sidebar toggleable on mobile.
pirms 3 gadiem
Allan Crisostomo
6a12d9c524
Merge pull request 'feature/docs' ( #1 ) from feature/docs into master
Reviewed-on: https://code.modal.sh/tesseract-design/react-common/pulls/1
pirms 3 gadiem
TheoryOfNekomata
825249c3c6
Update docs
Make docs use the latest (bleeding edge) of the components by importing them directly.
pirms 3 gadiem
TheoryOfNekomata
489dcfd2dc
Add props parsing
Display prop table in each component's props section
pirms 4 gadiem
TheoryOfNekomata
17411a44b1
Add pascal-case
Peer dependency required for components with icons.
pirms 4 gadiem
TheoryOfNekomata
386f5a365b
Update directory structure, generator code
Use src/ for react-common source
TODO: put other package-related files in packages/react-common/
pirms 4 gadiem
TheoryOfNekomata
47a5ee040d
Improve styling
pirms 4 gadiem
TheoryOfNekomata
36954ed21c
Add Next.js + MDX support
Implement Next.js MDX
Separate the docs from the code and tests.
pirms 4 gadiem
TheoryOfNekomata
8cef8cb7c7
Update README
Correctly refer to versions in badges.
pirms 4 gadiem
TheoryOfNekomata
8ce5a80ba5
Explicitly define available props for components
Add event handler props for components.
pirms 4 gadiem
TheoryOfNekomata
068ce5ed47
Bump version
For republishing.
pirms 4 gadiem
TheoryOfNekomata
bad7f4106f
Set sizing of button
Use 100% for `<button>` element because it is auto-size by default.
pirms 4 gadiem
TheoryOfNekomata
dd7de30957
Add opt-in features
Button, Select, and TextInput has now opt-in borders.
pirms 4 gadiem
TheoryOfNekomata
ca631e30b7
Add docs content, adjust component props and metrics
Force TextInput and Select to be `block`. Also, removed props regarding styling.
pirms 4 gadiem
TheoryOfNekomata
936bb3a66d
Remove doczrc
Use environment variables to define arguments.
pirms 4 gadiem
TheoryOfNekomata
415d815f33
Add example env file
Add example file for guiding on setting secrets in the app.
pirms 4 gadiem
TheoryOfNekomata
0f208f359a
Bump version
Increment patch version due to relicensing.
pirms 4 gadiem
TheoryOfNekomata
a518eb19da
Add README, LICENSE
Put additional links in README. Also, re-license library to MIT.
pirms 4 gadiem
TheoryOfNekomata
0ab9e93b18
Update documentation
Include a section on theming.
pirms 4 gadiem
TheoryOfNekomata
f83cd94cda
Improve test coverage
Cover scenarios primarily for adjusted behavior on Button, as well as ensure components are exported correctly.
pirms 4 gadiem
TheoryOfNekomata
792904c4b7
Fix types value
Point types to correct path in the build.
pirms 4 gadiem
TheoryOfNekomata
543755efc8
Update rollup
Point entry to correct path.
pirms 4 gadiem
TheoryOfNekomata
837084335d
Revert file move
Put `index.ts` back to `lib` for a simpler npmignore.
pirms 4 gadiem
TheoryOfNekomata
5225cdd5e7
Update package info
Add types for TypeScript type search.
pirms 4 gadiem
TheoryOfNekomata
c8c92aafd8
Remove index.ts
Remove file from tarball.
pirms 4 gadiem
TheoryOfNekomata
0dc8d65446
Update build structure
Make TypeScript recognize types.
pirms 4 gadiem
TheoryOfNekomata
00e4217b21
Add env variable
Set NODE_ENV to production when publishing to ensure smaller packed size.
pirms 4 gadiem
TheoryOfNekomata
5ea49ff321
Update script
Use prepublishOnly instead of prepublish.
pirms 4 gadiem
TheoryOfNekomata
e1a19f117b
Fix extraneous props
Remove props from Slider that has something to do with incorrectly setting `orientation` to a `div`-like element.
Also, we fix the import in the Icon test.
pirms 4 gadiem
TheoryOfNekomata
0bb320cf3a
Update publish script
Make sure to build scripts before publishing to registry.
pirms 4 gadiem
TheoryOfNekomata
674ae59072
Update README
Point to correct URLs.
pirms 4 gadiem
TheoryOfNekomata
5196f92baa
Update npmignore
Add .docz to npmignore.
pirms 4 gadiem
TheoryOfNekomata
55afe4f23f
Add missing dependency, update base URI
Add @reach/slider because build encounters errors.
Also add base URI to correct paths.
pirms 4 gadiem