REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.20 KB
Close
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@adminjs/design-system/.storybook/preview.mjs
Text
Base64
import { MINIMAL_VIEWPORTS } from '@storybook/addon-viewport' import ThemeDecorator from './theme-decorator.js' import { theme } from './manager.mjs' /** @type { import('@storybook/react').Preview['parameters'] } */ export const parameters = { actions: { argTypesRegex: '^on[A-Z].*' }, docs: { source: { language: 'tsx', type: 'auto', }, theme, }, controls: { matchers: { color: /(background|color)$/i, date: /Date$/, }, exclude: [/^on[A-Z].*/, /^aria\-.*/], sort: 'requiredFirst', expanded: true, hideNoControlsWarning: true, }, options: { storySort: { order: ['Default'], }, }, dependencies: { withStoriesOnly: true, hideEmpty: true, }, viewport: { viewports: MINIMAL_VIEWPORTS }, } /** @type { import('@storybook/react').Preview['decorators'] } */ export const decorators = [ThemeDecorator] /** @type { import('@storybook/react').Preview['globalTypes'] } */ export const globalTypes = { theme: { title: 'Theme', description: 'Theme for components', defaultValue: 'default', toolbar: { icon: 'paintbrush', dynamicTitle: true, items: ['default', 'red', 'green', 'orange'], }, }, }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
main.mjs
2.49 KB
lrw-r--r--
2026-02-28 00:31:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
manager.mjs
1004 B
lrw-r--r--
2026-02-28 00:31:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
preview-head.html
221 B
lrw-r--r--
2026-02-28 00:27:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
preview.mjs
1.20 KB
lrw-r--r--
2026-02-28 00:31:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
theme-decorator.js
829 B
lrw-r--r--
2026-02-28 00:31:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).