Valerii Sidorenko
1bf3b54b34
fix(addon-toolbars): suppress deprecation warning
2024-11-05 11:03:50 +01:00
Norbert de Langen
7d08994a74
jsdoc linting fixes
2024-08-15 09:49:25 +02:00
Norbert de Langen
513bb66bb9
apply sorting to code
2024-08-08 13:00:19 +02:00
Norbert de Langen
1b34ca2e6a
Revert "simplify addon-toolbars, enable configuring via parameters, add feature-flag"
...
This reverts commit 86db1e6252a5dd747dbd498126ad80e57a175e9e.
2024-07-30 10:31:30 +02:00
Norbert de Langen
86db1e6252
simplify addon-toolbars, enable configuring via parameters, add feature-flag
2024-07-29 15:52:44 +02:00
Norbert de Langen
2a43164816
fix the globe
text showing in the reset of a toolbar
2024-07-19 10:05:38 +02:00
Norbert de Langen
04919f75f9
fixes for viewports & backgrounds
2024-07-17 16:56:40 +02:00
Norbert de Langen
48d06e5a4c
Merge branch 'next' into tom/23347-story-globals
2024-07-16 15:46:29 +02:00
Norbert de Langen
3a1e61cefe
add an /internal
in the path to core subpaths from storybook
2024-06-28 14:50:56 +02:00
Tom Coleman
d94b58c97a
Update API to include storyGlobals
...
This means we don't need to do any complex checks in addon toolbars to tell if it should be disabled
2024-06-25 15:32:11 +10:00
Tom Coleman
ef80953e5f
Update code/addons/toolbars/src/components/ToolbarMenuList.tsx
...
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2024-06-25 15:22:13 +10:00
Tom Coleman
bd5e5d66d8
Disable toolbars when global is overridden
2024-06-25 15:22:13 +10:00
Norbert de Langen
cb5b778aac
make packages peerDep on storybook
package instead of @storybook/core
2024-06-21 20:31:10 +02:00
Norbert de Langen
e35b884b9e
drop the /dist
part
2024-06-19 11:08:19 +02:00
Norbert de Langen
bc6bd5974a
move ui/components
2024-06-04 14:32:44 +02:00
Norbert de Langen
df0f14abbc
move manager-api
2024-06-03 15:44:03 +02:00
Norbert de Langen
f2218fa40f
wip
2024-05-06 17:14:44 +02:00
Valentin Palkovic
861cfb0b47
Remove 'left' property from TooltipLinkList and Link components and adjust documentation and Migration guide
2024-03-05 15:50:41 +01:00
Charles de Dreuille
eeaf4b58aa
Merge branch 'next' into charles-fix-toolbars-icons
2024-02-05 09:00:01 +00:00
Charles de Dreuille
c2123d45ad
Update props name
2024-02-05 08:58:48 +00:00
Charles de Dreuille
42c6704626
Remove deprecate warning
2024-01-31 12:54:30 +00:00
Charles de Dreuille
324152e099
Bring back old version
2024-01-31 11:57:51 +00:00
Charles de Dreuille
875744d9f9
Update types
2024-01-30 16:55:34 +00:00
Charles de Dreuille
90c65c9a98
Update ToolbarMenuButton.tsx
2024-01-30 16:43:05 +00:00
Charles de Dreuille
b2701d1d15
Remove Icons component
2024-01-30 13:52:48 +00:00
Norbert de Langen
f4ca8008cd
make (out) tools not show on tabs
2024-01-29 16:00:15 +01:00
Charles de Dreuille
0137b8637e
Clean
2023-10-12 10:18:47 +01:00
Charles de Dreuille
d8c611149e
Fix some issues
2023-10-12 10:14:49 +01:00
Norbert de Langen
89726497a9
improve api for manager addon registration, deprecate the extra id
property, remove use in monorepo
2023-07-03 23:51:42 +02:00
Michael Shilman
e516f042bd
Toolbars: Fix dynamicTitle showing reset title
2023-05-10 18:32:28 +08:00
Michael Shilman
755f17a7a9
Toolbars: Warn when there is no title or icon
2023-05-10 18:31:18 +08:00
Michael Shilman
15221b5fb7
Toolbars: Fix duplicate key warning for reset item
2023-05-10 18:30:10 +08:00
Michael Shilman
3d95091272
Toolbars: Fix toolbar title behavior
2023-05-10 17:37:40 +08:00
Valentin Palkovic
99d45e518b
Remove dead code
2023-04-11 09:19:57 +02:00
Valentin Palkovic
ac69c940d5
Refactor ToolbarMenuList component to remove deprecated showName property and update title handling
2023-04-03 10:39:55 +02:00
Valentin Palkovic
a1afb04938
Merge pull request #21650 from storybookjs/valentin/fix-disabled-addon-interactions-issue
...
UI: Fix titles for addons/controls/panel tabs to support render fns and JSX elements
2023-03-22 11:37:30 +01:00
Valentin Palkovic
4d07473e1c
Update titles for addons, controls, and panel tabs to support JSX.Elements
2023-03-20 18:51:53 +01:00
ghidersamihaela
d527c89166
fixed active state for IconButton
2023-03-15 18:48:32 +02:00
Valentin Palkovic
882330a424
Change default behaviour of Tooltip trigger to 'click'
2023-02-07 16:03:23 +01:00
Valentin Palkovic
e5668ffc8e
Menu design upgrades
...
1. Icons are always on the left. If there is one icon in a menu item, every other menu item will have an indent to match the space of the icon as seen in the Storybook menu.
2. If there are no icons, the item label is not indented.
3. There is a node on the right of each menu item that can be populated with keyboard shortcuts, illustrations, etc.
4. Active items (denoted with a checkmark) will be both bold and blue.
5. There will be an optional `description` text node that will be below the item label.
6. Keyboard shortcuts will list all commands in one container.
7. The decorative menu tooltip arrows are no longer shown.
2023-02-06 16:28:41 +01:00
Valentin Palkovic
8ab49a0f5c
Tab UI Improvements
2023-02-01 15:16:32 +01:00
Norbert de Langen
128c2a795c
make changes to typings files to ensure this the check command succeeds
2023-01-13 11:13:24 +01:00
Kasper Peulen
fac2465219
No unused locals in tsconfig to disable deepscan
...
Deep scan is not compatible with TS 4.9 yet. And the only issues it seems to find that are not covered yet by TS or ESLint are unused imports. TSC can catch those by enabling noUnusedLocals in tsconfig.
2022-11-29 16:28:00 +01:00
Tom Coleman
0889eeeff9
Merge remote-tracking branch 'origin/next' into tom/sb-878-cleanup-de-duplicate-storybooktypes
2022-11-28 10:37:07 +11:00
Tom Coleman
6fea833174
Remove duplicate API_
arg related types
...
And clean up some code that used them
2022-11-25 15:28:21 +11:00
Norbert de Langen
94fe6d4240
move code from lib/addons to manager-api, reference manager-api or preview-api instead of lib/addons
2022-11-24 17:12:13 +01:00
Norbert de Langen
adf4799fd4
change usage
2022-11-24 00:02:56 +01:00
Norbert de Langen
ed15e7cfcb
fixes
2022-11-03 19:38:24 +01:00
Norbert de Langen
ed3a8ec642
step 4
2022-11-03 14:39:43 +01:00
Ian VanSchooten
393a12aac3
Use explicit type imports
2022-10-27 19:33:39 -04:00