<commit_before>import React from 'react';
import ReactDOM from 'react-dom';
import { document } from 'global';
import AnsiToHtml from 'ansi-to-html';

import { StoryId, StoryKind, StoryFn, ViewMode, Channel } from '@storybook/addons';
import Events from '@storybook/core-events';
import { logger } from '@storybook/client-logger';
import { StoryStore } from '@storybook/client-api';

import { NoDocs } from './NoDocs';
import { RenderStoryFunction, RenderContext } from './types';

// We have "changed" story if this changes
interface RenderMetadata {
  id: StoryId;
  kind: StoryKind;
  viewMode: ViewMode;
  getDecorated: () => StoryFn<any>;
}

type Layout = keyof typeof layouts;

const layouts = {
  centered: {
    margin: 0,
    padding: '1rem',
    display: 'flex',
    justifyContent: 'center',
    alignItems: 'center',
    minHeight: '100vh',
    boxSizing: 'border-box',
  },
  fullscreen: {
    margin: 0,
    padding: 0,
    display: 'block',
    justifyContent: 'initial',
    alignItems: 'initial',
    minHeight: 'initial',
    boxSizing: 'initial',
  },
  padded: {
    margin: 0,
    padding: '1rem',
    display: 'block',
    justifyContent: 'initial',
    alignItems: 'initial',
    minHeight: 'initial',
    boxSizing: 'initial',
  },
} as const;<commit_msg>REMOVE boxSizing to fix #10940<commit_after>import React from 'react';
import ReactDOM from 'react-dom';
import { document } from 'global';
import AnsiToHtml from 'ansi-to-html';

import { StoryId, StoryKind, StoryFn, ViewMode, Channel } from '@storybook/addons';
import Events from '@storybook/core-events';
import { logger } from '@storybook/client-logger';
import { StoryStore } from '@storybook/client-api';

import { NoDocs } from './NoDocs';
import { RenderStoryFunction, RenderContext } from './types';

// We have "changed" story if this changes
interface RenderMetadata {
  id: StoryId;
  kind: StoryKind;
  viewMode: ViewMode;
  getDecorated: () => StoryFn<any>;
}

type Layout = keyof typeof layouts;

const layouts = {
  centered: {
    margin: 0,
    padding: '1rem',
    display: 'flex',
    justifyContent: 'center',
    alignItems: 'center',
    minHeight: '100vh',
    boxSizing: 'border-box',
  },
  fullscreen: {
    margin: 0,
    padding: 0,
    display: 'block',
    justifyContent: 'initial',
    alignItems: 'initial',
    minHeight: 'initial',
  },
  padded: {
    margin: 0,
    padding: '1rem',
    display: 'block',
    justifyContent: 'initial',
    alignItems: 'initial',
    minHeight: 'initial',
  },
} as const;
{'fraction_non_alphanumeric': 0.14229092350376535, 'fraction_numerical': 0.009116131589377725, 'mean_word_length': 3.771266540642722, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4254900', 'n_tokens_mistral': 831, 'n_tokens_neox': 818, 'n_words': 231}