* tests/e2e: add test for authentication flow in compatibility mode Signed-off-by: Jens Langhammer <jens@goauthentik.io> * web: Add prefix class to CSS for easier debugging of constructed stylesheets. - Use CSS variables for highlighter. * web: Fix issue where MDX components apply styles out of order. * web: Fix hover color. * web: Fix CSS module types. Clean up globals. * web: Fix issues surrounding availability of shadow root in compatibility mode. * web: Fix typo. * web: Partial fixes for storybook dark theme. * web: Fix overflow. * web: Fix issues surrounding competing interfaces attempting to apply styles. * fix padding in ak-alert in. markdown Signed-off-by: Jens Langhammer <jens@goauthentik.io> * web: Minimize use of sub-module exports. --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Teffen Ellis <teffen@sister.software>
		
			
				
	
	
		
			33 lines
		
	
	
		
			659 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			659 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/// <reference types="../types/css.js" />
 | 
						|
/**
 | 
						|
 * @file Storybook manager configuration.
 | 
						|
 *
 | 
						|
 * @import { Preview } from "@storybook/web-components";
 | 
						|
 */
 | 
						|
import { applyDocumentTheme } from "@goauthentik/web/common/theme.ts";
 | 
						|
 | 
						|
applyDocumentTheme();
 | 
						|
 | 
						|
/**
 | 
						|
 * @satisfies {Preview}
 | 
						|
 */
 | 
						|
const preview = {
 | 
						|
    parameters: {
 | 
						|
        options: {
 | 
						|
            storySort: {
 | 
						|
                method: "alphabetical",
 | 
						|
            },
 | 
						|
        },
 | 
						|
        actions: { argTypesRegex: "^on[A-Z].*" },
 | 
						|
 | 
						|
        controls: {
 | 
						|
            matchers: {
 | 
						|
                color: /(background|color)$/i,
 | 
						|
                date: /Date$/,
 | 
						|
            },
 | 
						|
        },
 | 
						|
    },
 | 
						|
};
 | 
						|
 | 
						|
export default preview;
 |