Sebastian Qvarfordt
190f11c8f7
Table component with filter and search ( #600 )
...
* Initial table component with storybook example
* Moved dependencies to package/core
* Removed dependency to @backstage/core from base package.json
* Clean up some examples and remove type from columns, replacing with property align instead
* Removed more unused stuff and added toggle for filter input
* Fixed some lint issues
* Added example with material-table
* Convert column array passed into MaterialTable Backstage component into MT column array. Allow multiple values in one cell
* Removed subheader from MT
* Nicer double value cell
* Added custom sorting to example
* Cleaned up stories a bit
* Setting field instead of customSort
* Improve styling. Still needs better theme integration
* Using more colors from theme
* Fixed typing issue
* Removed react-table implementation and cleaned up material-table implementation
* Fixed some type issues
* Fixed lint issues
2020-05-04 11:10:35 +02:00
Patrik Oldsberg
5448e54e94
packages/storybook: make local core imports resolve to core src
2020-05-01 15:28:08 +02:00
Patrik Oldsberg
db9d9f7f08
packages/storybook: use ts-loader for JS too
2020-05-01 15:28:08 +02:00
Stefan Ålund
516e105bd8
Add padding for all Stories ( #663 )
2020-04-27 22:00:05 +02:00
Muhammad Rivki
b55a2adb7e
fix: remove style that override background ( #634 )
2020-04-23 14:20:53 +02:00
Himanshu Mishra
7a5a57dd31
Disable ProgressPlugin which logs verbose webpack build progress
...
Warnings and Errors are still logged during build.
2020-04-20 21:02:21 +09:00
Himanshu Mishra
c2e2c9363f
Check if dark mode is enabled and toggle
...
Storybook components are wrapped using a decorator in the storybook config. When rendering, useDarkMode() will let the component know which theme (dark/light) to thoose.
2020-04-20 18:00:22 +09:00
Himanshu Mishra
fe972b1e21
Use storybook-dark-mode addon to toggle light/dark mode
...
See the project https://github.com/hipstersmoothie/storybook-dark-mode
2020-04-20 18:00:21 +09:00
Ruairi O Brien
c1ada09d06
Change peerDependencies to dependencies
...
Also removed some duplication.
Addresses #584
2020-04-18 01:41:41 +01:00
Patrik Oldsberg
218ee1a391
Merge pull request #563 from spotify/rugvip/theme-refactor
...
packages/theme: refactor to differ themes by palette only, and expose nicer types
2020-04-16 16:25:13 +02:00
Patrik Oldsberg
e6c444b955
packages/storybook: hoist storybook addons so they can be loaded from other packages
2020-04-16 13:13:55 +02:00
Patrik Oldsberg
d766d7aac4
packages,plugins: use lightTheme/darkTheme exports from theme package
2020-04-16 11:44:30 +02:00
Patrik Oldsberg
8df2089a02
Merge pull request #566 from spotify/rugvip/storybook-dist
...
packages/storybook: depend on dist version of local packages and make sure they are built
2020-04-16 11:44:06 +02:00
Patrik Oldsberg
4f9789f23a
packages/storybook: depend on dist version of local packages and make sure they are built
2020-04-16 10:39:13 +02:00
Patrik Oldsberg
111f75cf3d
packages/storybook: added note in readme explaining why the package exists ( #560 )
2020-04-16 09:02:58 +02:00
Patrik Oldsberg
c4457a7614
v0.1.1-alpha.4
2020-04-15 20:27:06 +02:00
Patrik Oldsberg
dd1ef4eda0
Merge pull request #548 from OrkoHunter/OrkoHunter/#536-show-story-source-code
...
Show code in storybook
2020-04-15 18:14:55 +02:00
Sebastian Qvarfordt
29239b1877
Added global decorator for storybook wrapping stories with the MUI theme ( #556 )
2020-04-15 17:08:03 +02:00
Himanshu Mishra
045ce9ab6b
Add storybook addon storysource which shows code of components in storybook
2020-04-14 09:08:48 +09:00
Muhammad Rivki
6ca4626b78
fix(storybook): add aliases for @backstage/theme ( #539 )
2020-04-13 09:43:52 +02:00
Patrik Oldsberg
56ab5e3296
v0.1.1-alpha.3
2020-04-08 15:16:27 +02:00
Patrik Oldsberg
7463309e58
packages/storybook: make src-relative imports work
2020-04-08 00:41:37 +02:00
Patrik Oldsberg
3b9b16c952
v0.1.1-alpha.2
2020-04-07 13:25:23 +02:00
Patrik Oldsberg
29f2bc2735
v0.1.1-alpha.1
2020-04-03 14:37:54 +02:00
hugomartinez
60d504978e
Storybook background color changed for better lisibility - Issue #450
2020-04-02 18:46:02 +02:00
Mateus Marquezini
b1a2eef8fd
#400 Adding Information Card component to Storybook
2020-03-29 12:11:07 -03:00
Patrik Oldsberg
cf446052bc
packages: add READMEs
2020-03-25 12:57:54 +01:00
Patrik Oldsberg
4852485f9a
package/core: move storybook to separate private and nohoist package
2020-03-23 19:26:56 +01:00