TheoryOfNekomata
1838385fe8
Attempt to style storybook instance
Apply theming to storybook.
vor 3 Jahren
TheoryOfNekomata
a330c7ffdd
Add more stories for text inputs
Add stories for components inside fieldsets.
vor 3 Jahren
TheoryOfNekomata
394e50a4cc
Fix multiline input styling
Make styles similar to regular text input component.
vor 3 Jahren
TheoryOfNekomata
f31c76492d
Migrate to pridepack, reorganize documentation
The build system has been migrated from rollup to pridepack, and the
propTypes for the components have been deprecated, as the prop typing is
now done in TypeScript type declarations.
The documentation is in the process of migration from Next to Storybook.
Issues with docgen remain for components with forwarded refs.
vor 3 Jahren
TheoryOfNekomata
9971797b27
Update package data, test README publishing
Use lower npm version to publish packages.
vor 3 Jahren
TheoryOfNekomata
bf0a79140a
Correct typo
For republishing.
vor 3 Jahren
TheoryOfNekomata
e672dc4371
Bump version
For republishing.
vor 3 Jahren
TheoryOfNekomata
d50b3e3936
Declare dependencies
Move devDependencies to dependencies so consumer packages do not have to install the same dependencies over and over
when this package is installed.
vor 3 Jahren
TheoryOfNekomata
d9995902ec
Bump version
For republishing.
vor 3 Jahren
TheoryOfNekomata
1ba89be19e
Add name
Add name prop for values to be bound in TextInput component.
vor 3 Jahren
TheoryOfNekomata
fca1838487
Add value props, fix styling of docs page
Add value, defaultValue, and checked props to appropriate elements.
Add link to Feather Icons for the Icon component.
The styling of TextInput docs has been fixed.
vor 3 Jahren
TheoryOfNekomata
e50eb72ecb
Improve compatibility of docs, theme
Test docs against Lynx, also make docs print-friendly.
vor 3 Jahren
TheoryOfNekomata
307b480705
Fix font declarations
Fix mononoki italic font-face declarations
vor 3 Jahren
TheoryOfNekomata
ded5fbf377
Adjust brand
Use thinner weight for version number
vor 3 Jahren
TheoryOfNekomata
73c8f7d028
Implement variable fonts, print styles
Use Encode Sans variable axes from Google Fonts. Also specified code blocks and images to be grayscale in print mode.
vor 3 Jahren
TheoryOfNekomata
8310ded3d7
Improve links
Use Next.js router links instead of the ordinary `<a>` tags.
vor 3 Jahren
TheoryOfNekomata
c62c0deb5a
Improve documentation
Parse descriptions as Markdown. Also improve loading of current theme.
vor 3 Jahren
TheoryOfNekomata
c4413725cc
Hide empty cells in prop table
Remove awkward space when no default value is specified in the prop definition.
vor 3 Jahren
TheoryOfNekomata
bfb49948d5
Improve font loading
Include web fonts in loading.
vor 3 Jahren
TheoryOfNekomata
50ea1b6366
Make theme toggle smooth
Add compatibility for a smoother transition of themes.
vor 3 Jahren
TheoryOfNekomata
db7ee9046a
Adjust theme
Set colors for dark and light theme.
vor 3 Jahren
TheoryOfNekomata
129dc6b31b
Fix rel
vor 3 Jahren
TheoryOfNekomata
48881294f8
Fix stylesheet toggle
Use rel attributes to specify currently selected theme.
vor 3 Jahren
TheoryOfNekomata
65d4b3334e
Improve look and feel
Add syntax highlighting + improved props table.
vor 3 Jahren
TheoryOfNekomata
2058df416e
Update ignores
Ignore node_modules files under packages.
vor 3 Jahren
TheoryOfNekomata
1b17751ebe
Remove trailing slash
vor 3 Jahren
TheoryOfNekomata
bfe89bddf6
Add trailing slash
vor 3 Jahren
TheoryOfNekomata
6dfaa99c15
Fix routes
Return basePath, use public URL for CSS.
vor 3 Jahren
TheoryOfNekomata
c79d07b5a2
Modify next config
Test some stuff...
vor 3 Jahren
TheoryOfNekomata
c88efc4b3d
Set base path
Use base path for domain.
vor 3 Jahren
TheoryOfNekomata
7cbb51481e
Prepare for building
Prepare requirements for Next to build the documentation.
vor 3 Jahren
TheoryOfNekomata
7f36127089
Bump version
For republishing.
vor 3 Jahren
TheoryOfNekomata
1166e17118
Improve navigation on mobile
Make sidebar toggleable on mobile.
vor 3 Jahren
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
vor 3 Jahren
TheoryOfNekomata
825249c3c6
Update docs
Make docs use the latest (bleeding edge) of the components by importing them directly.
vor 3 Jahren
TheoryOfNekomata
489dcfd2dc
Add props parsing
Display prop table in each component's props section
vor 4 Jahren
TheoryOfNekomata
17411a44b1
Add pascal-case
Peer dependency required for components with icons.
vor 4 Jahren
TheoryOfNekomata
386f5a365b
Update directory structure, generator code
Use src/ for react-common source
TODO: put other package-related files in packages/react-common/
vor 4 Jahren
TheoryOfNekomata
47a5ee040d
Improve styling
vor 4 Jahren
TheoryOfNekomata
36954ed21c
Add Next.js + MDX support
Implement Next.js MDX
Separate the docs from the code and tests.
vor 4 Jahren
TheoryOfNekomata
8cef8cb7c7
Update README
Correctly refer to versions in badges.
vor 4 Jahren
TheoryOfNekomata
8ce5a80ba5
Explicitly define available props for components
Add event handler props for components.
vor 4 Jahren
TheoryOfNekomata
068ce5ed47
Bump version
For republishing.
vor 4 Jahren
TheoryOfNekomata
bad7f4106f
Set sizing of button
Use 100% for `<button>` element because it is auto-size by default.
vor 4 Jahren
TheoryOfNekomata
dd7de30957
Add opt-in features
Button, Select, and TextInput has now opt-in borders.
vor 4 Jahren
TheoryOfNekomata
ca631e30b7
Add docs content, adjust component props and metrics
Force TextInput and Select to be `block`. Also, removed props regarding styling.
vor 4 Jahren
TheoryOfNekomata
936bb3a66d
Remove doczrc
Use environment variables to define arguments.
vor 4 Jahren
TheoryOfNekomata
415d815f33
Add example env file
Add example file for guiding on setting secrets in the app.
vor 4 Jahren
TheoryOfNekomata
0f208f359a
Bump version
Increment patch version due to relicensing.
vor 4 Jahren
TheoryOfNekomata
a518eb19da
Add README, LICENSE
Put additional links in README. Also, re-license library to MIT.
vor 4 Jahren