469 Commits

Author SHA1 Message Date
domyen
65239eefd4 Use Link component instead of raw <a> 2019-02-06 17:50:06 -05:00
domyen
6505ec2bfa Fix regression: Use the buttons from form instead of the other storybook buttons
Temporarily fixes regression from having 2 types of buttons, need to consolidate in the future
2019-02-06 17:43:35 -05:00
domyen
f534311fc3 Refactor the Placeholder API for better backwards compat 2019-02-05 16:34:49 -05:00
domyen
053e132d4e Minor non-breaking tweaks 2019-02-04 14:25:07 -05:00
domyen
343ef6d70a Rename panel_actionbar to ActionBar & update API (see comment)
API updated so consumers don't have to compose ActionBar + ActionButton in situ every usage. This removes needing to export 2 components from @storybook/components and then import them in addons and elsewhere in the UI. What do you think @ndelangen @tmeasday?
2019-02-04 14:04:45 -05:00
Norbert de Langen
b1c7a7befc
Merge pull request #5414 from tnbmorais/add-property-name-to-form-fields
Added property name into form fields on addon knobs
2019-01-31 13:26:23 +01:00
Tiago Morais
1aba44043d Added property name into form fields on addon knobs 2019-01-30 14:04:27 +00:00
Norbert de Langen
a4798da648 FIX panel tests 2019-01-27 22:16:01 +01:00
Norbert de Langen
eedd2290f7 WIP 2019-01-25 14:48:42 +01:00
Norbert de Langen
ae9e32f8d0
MIGRATE to wrap emotion into a @storybook/theming package
- This ensures a single version
- This adds a good place to add themes
- Addons can take a dependency on something storybook
- We could migrate to another styling lib without asking all users to migrate with us
2019-01-14 22:48:33 +01:00
Michael Shilman
6ed78f0058 Fix anglurshots snapshots 2019-01-11 18:49:10 +08:00
Michael Shilman
2a5904f092 Get knobs tests passing 2019-01-11 18:27:08 +08:00
Michael Shilman
c8d1af341e Simplify knobs panel logic 2019-01-11 16:58:48 +08:00
Michael Shilman
cc3056a6a6 Deprecate onStory 2019-01-11 16:58:11 +08:00
Tom Coleman
27b9e3a133 Sort of fix broken merge 2019-01-10 12:27:19 +11:00
Norbert de Langen
2178a07e77
Merge branch '5.0.0' into tech/overhaul-ui
# Conflicts:
#	addons/a11y/package.json
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/cssresources/package.json
#	addons/events/package.json
#	addons/google-analytics/package.json
#	addons/info/package.json
#	addons/jest/package.json
#	addons/knobs/package.json
#	addons/knobs/src/components/__tests__/Panel.js
#	addons/links/package.json
#	addons/notes/package.json
#	addons/ondevice-backgrounds/package.json
#	addons/ondevice-knobs/package.json
#	addons/ondevice-notes/package.json
#	addons/options/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storyshots/storyshots-puppeteer/package.json
#	addons/storysource/package.json
#	addons/viewport/package.json
#	app/react/package.json
#	examples/angular-cli/package.json
#	examples/cra-kitchen-sink/package.json
#	examples/mithril-kitchen-sink/package.json
#	examples/official-storybook/package.json
#	examples/preact-kitchen-sink/package.json
#	lib/addons/package.json
#	lib/channel-websocket/package.json
#	lib/client-logger/src/index.js
#	lib/components/package.json
#	lib/core-events/index.js
#	lib/core/package.json
#	lib/ui/package.json
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/__snapshots__/index.stories.storyshot
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/tree_decorators.js
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/tree_decorators_utils.js
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/tree_decorators_utils.test.js
#	yarn.lock
2019-01-07 10:05:59 +01:00
Norbert de Langen
b31a405ffb
REMOVE typedef comments (going to move to typescript later) 2019-01-04 19:50:47 +01:00
Jessica
716fc1eee1 Fix #4829: render non-grouped knobs in the ALL tab 2019-01-04 19:09:16 +01:00
Norbert de Langen
d73653d40a
FIX grid 2019-01-03 11:48:54 +01:00
Tom Coleman
5ecc23eaf4 Fix up key warning in addons panel
cc @ndelangen -- not sure if this was what you had in mind?
2018-12-31 13:12:18 +11:00
Norbert de Langen
6c9e73e560
CLEANUP deprecated APIs 2018-12-29 11:58:25 +01:00
Norbert de Langen
ad1651956a
Merge branch '5.0.0' into tech/overhaul-ui
# Conflicts:
#	addons/a11y/package.json
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/backgrounds/src/__tests__/BackgroundPanel.js
#	addons/backgrounds/src/__tests__/Swatch.js
#	addons/cssresources/package.json
#	addons/events/package.json
#	addons/google-analytics/package.json
#	addons/info/package.json
#	addons/jest/package.json
#	addons/knobs/package.json
#	addons/knobs/src/components/__tests__/Panel.js
#	addons/links/package.json
#	addons/notes/package.json
#	addons/notes/src/index.ts
#	addons/notes/src/register.tsx
#	addons/notes/src/typings.d.ts
#	addons/storyshots/storyshots-core/package.json
#	addons/viewport/package.json
#	app/react/package.json
#	docs/package.json
#	docs/yarn.lock
#	examples/cra-kitchen-sink/package.json
#	examples/official-storybook/package.json
#	examples/preact-kitchen-sink/package.json
#	lib/addons/package.json
#	lib/addons/src/index.js
#	lib/channel-websocket/package.json
#	lib/components/package.json
#	lib/core/package.json
#	lib/ui/package.json
#	yarn.lock
2018-12-27 15:46:11 +01:00
Norbert de Langen
75306ba38f
CLEANUP && FIX Tabs 2018-12-27 12:32:49 +01:00
Hypnosphi
9f4ab900ac Lint-fix 2018-12-25 16:03:27 +01:00
Norbert de Langen
2bb5172038
FIX first-child issue && ADD new Heading type 2018-12-21 17:10:38 +01:00
Norbert de Langen
18c6333f4b
FIX tests 2018-12-21 13:33:45 +01:00
Norbert de Langen
1c899c900f
FIX storyshots 2018-12-20 16:34:18 +01:00
Norbert de Langen
f1d76a81fd
Merge branch 'next' into tech/overhaul-ui
# Conflicts:
#	addons/a11y/package.json
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/cssresources/package.json
#	addons/events/package.json
#	addons/google-analytics/package.json
#	addons/info/package.json
#	addons/jest/package.json
#	addons/knobs/package.json
#	addons/links/package.json
#	addons/notes/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/viewport/package.json
#	app/react/package.json
#	docs/package.json
#	docs/src/pages/configurations/theming/index.md
#	examples/cra-kitchen-sink/package.json
#	examples/official-storybook/package.json
#	examples/preact-kitchen-sink/package.json
#	lib/addons/package.json
#	lib/channel-websocket/package.json
#	lib/components/package.json
#	lib/core/package.json
#	lib/ui/package.json
#	yarn.lock
2018-12-19 22:37:36 +01:00
Norbert de Langen
dec1d9dccb
Merge branch 'next' into 3972-options-knob-on-next
# Conflicts:
#	yarn.lock
2018-12-19 16:58:13 +01:00
Norbert de Langen
d7bfb78ff5
FIX some typescript issues 2018-12-17 11:35:39 +01:00
Norbert de Langen
2fae294e11
Merge branch 'pr/lifeiscontent/4925' into tech/overhaul-ui
# Conflicts:
#	addons/a11y/package.json
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/cssresources/package.json
#	addons/events/package.json
#	addons/info/package.json
#	addons/info/src/__snapshots__/index.test.js.snap
#	addons/jest/package.json
#	addons/knobs/package.json
#	addons/notes/package.json
#	addons/viewport/package.json
#	app/react/package.json
#	examples/cra-kitchen-sink/package.json
#	examples/official-storybook/config.js
#	examples/official-storybook/package.json
#	lib/components/package.json
#	lib/components/src/layout/desktop.js
#	lib/components/src/layout/index.js
#	lib/core/package.json
#	lib/ui/package.json
#	lib/ui/src/modules/ui/components/search_box.js
#	lib/ui/src/modules/ui/components/shortcuts_help.js
#	lib/ui/src/modules/ui/components/stories_panel/__snapshots__/index.stories.storyshot
#	lib/ui/src/modules/ui/components/stories_panel/__snapshots__/text_filter.stories.storyshot
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/__snapshots__/index.stories.storyshot
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/tree_decorators.js
#	package.json
#	yarn.lock
2018-12-12 15:47:20 +01:00
Norbert de Langen
51c176ca1c
CLEANUP 2018-12-12 15:02:15 +01:00
Norbert de Langen
ec82d04797
REFACTOR a11y addon && FIX issues with decorators reloading 2018-12-10 19:27:12 +01:00
Norbert de Langen
ba4780d0fc
Merge branch 'next' into tech/overhaul-ui 2018-12-10 10:51:09 +01:00
Wei-Wei Wu
2cc36de0ed
Merge pull request #4507 from janssen92/addon-knobs-fix-missing-key
Addon-Knob: Add missing key property in Panel
2018-12-08 23:28:27 -08:00
Norbert de Langen
a9ee8a5dad
Merge branch 'next' into tech/overhaul-ui
# Conflicts:
#	.babelrc.js
#	addons/a11y/package.json
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/cssresources/package.json
#	addons/events/package.json
#	addons/graphql/package.json
#	addons/info/package.json
#	addons/info/src/components/PropTable.js
#	addons/jest/package.json
#	addons/knobs/package.json
#	addons/links/package.json
#	addons/notes/package.json
#	addons/ondevice-backgrounds/package.json
#	addons/options/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storyshots/storyshots-puppeteer/package.json
#	addons/storysource/package.json
#	app/angular/package.json
#	app/ember/package.json
#	app/html/package.json
#	app/marko/package.json
#	app/mithril/package.json
#	app/polymer/package.json
#	app/react/package.json
#	app/riot/package.json
#	app/svelte/package.json
#	app/vue/package.json
#	examples/official-storybook/stories/addon-a11y.stories.js
#	examples/official-storybook/stories/addon-actions.stories.js
#	lib/addons/package.json
#	lib/channel-postmessage/package.json
#	lib/channel-websocket/package.json
#	lib/components/package.json
#	lib/components/src/layout/mobile.js
#	lib/core/package.json
#	lib/core/src/server/common/babel.js
#	lib/ui/package.json
#	lib/ui/src/modules/ui/components/stories_panel/index.js
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/index.test.js
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/tree_decorators_utils.js
#	lib/ui/src/modules/ui/components/stories_panel/text_filter.js
#	yarn.lock
2018-12-06 16:49:52 +01:00
Aaron Reisman
4ef4c2389a Upgrade emotion@10.0.2 2018-12-04 18:47:58 -08:00
Hypnosphi
6936c27fae Run prettier 2018-12-04 19:54:10 +01:00
Tim Holt
02c0372110 fix select options text color 2018-11-26 22:12:57 +09:00
Tim Holt
155931cdf7 fix failing test 2018-11-26 22:12:56 +09:00
Tim Holt
e05132db22 added 'options' knob to addon-knobs with select, radio and checkbox display variants 2018-11-26 22:12:56 +09:00
Norbert de Langen
bae5a23a93
FIX issue with knobs and possibly more addons 2018-11-14 16:40:08 +01:00
Norbert de Langen
13781c39e5 Merge branch 'next' into tech/overhaul-ui 2018-11-08 12:03:03 +01:00
Tarik Hamilton
bdc8f6b3ee Fix PropTypes
If knob.value is null or undefined, it gets converted to a string, but the PropTypes did not reflect this.
2018-10-31 09:29:07 -04:00
Steven Sinatra
86743801fa Streamline tests 2018-10-26 17:27:48 +11:00
Steven Sinatra
a39bec15cc Fix Select array values showing k 2018-10-26 17:22:51 +11:00
Norbert de Langen
c98a11a561
FIX tests && FIX snapshots 2018-10-23 14:32:23 +02:00
Norbert de Langen
3f6f69914b
FIX knobs select to actually support rich values 2018-10-23 09:49:34 +02:00
Michael Janssen
4cfb6ca573 Addon-Knob: Add missing key property in Panel 2018-10-22 10:04:04 +02:00
Norbert de Langen
3908fd3e00
FIX Proptype & add example 2018-10-17 15:11:26 +02:00