<commit_before>import * as caret from './caret';
import * as componentElements from './component-elements';
import * as headComponents from './head-components';
import icon from './icon.vue';
import interpolate from './interpolate';
import label from './label';
import * as promises from './promises';
import * as references from './references';
import * as urls from './urls';
import getAvailableComponents from './available-components';
import * as local from './local';
import * as validationHelpers from '../validators/helpers';

// these utilities are exported so 3rd party plugins/validators/behaviors/panes can access them.
// note: the store is passed into those things automatically, so don't export it here
const api = {
  componentElements,
  caret,
  headComponents,
  icon,
  interpolate,
  label,
  promises,
  references,
  urls,
  getAvailableComponents,
  local,
  validationHelpers,
  version: process.env.KILN_VERSION
};

export default api;
<commit_msg>add create method to public api (#912)<commit_after>import * as caret from './caret';
import * as create from '../component-data/create';
import * as componentElements from './component-elements';
import * as headComponents from './head-components';
import icon from './icon.vue';
import interpolate from './interpolate';
import label from './label';
import * as promises from './promises';
import * as references from './references';
import * as urls from './urls';
import getAvailableComponents from './available-components';
import * as local from './local';
import * as validationHelpers from '../validators/helpers';

// these utilities are exported so 3rd party plugins/validators/behaviors/panes can access them.
// note: the store is passed into those things automatically, so don't export it here
const api = {
  componentElements,
  caret,
  create,
  headComponents,
  icon,
  interpolate,
  label,
  promises,
  references,
  urls,
  getAvailableComponents,
  local,
  validationHelpers,
  version: process.env.KILN_VERSION
};

export default api;

{'fraction_non_alphanumeric': 0.11264141662567634, 'fraction_numerical': 0.002459419576979833, 'mean_word_length': 4.310704960835509, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6912039', 'n_tokens_mistral': 559, 'n_tokens_neox': 554, 'n_words': 212}