sveltekit-ui 1.0.97 → 1.0.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,7 +68,7 @@
68
68
  <ImageConfig manager={manager?.attributes_manager} />
69
69
  {:else if manager?.content_type == "audio"}
70
70
  <AudioConfig manager={manager?.attributes_manager} />
71
- {:else if ["h1", "h2", "h3", "h4", "h5", "base_text", "em", "strong", "strong_em"].includes(manager?.content_type)}
71
+ {:else if ["h1", "h2", "h3", "h4", "h5", "base_text", "em", "strong", "strong_em", "pre"].includes(manager?.content_type)}
72
72
  <DefinedTypeInput manager={manager?.attributes_manager?.content_defined_type_input_manager}>
73
73
  {#snippet content()}
74
74
  <TextInput manager={manager?.attributes_manager?.content_text_input_manager} />
@@ -519,7 +519,9 @@ export function create_attributes_input_manager(config) {
519
519
  val: config?.val,
520
520
  get_defined_options: config?.get_defined_options,
521
521
  })
522
- } else if (["h1", "h2", "h3", "h4", "h5", "base_text", "em", "strong", "strong_em"].includes(content_type)) {
522
+ } else if (
523
+ ["h1", "h2", "h3", "h4", "h5", "base_text", "em", "strong", "strong_em", "pre"].includes(content_type)
524
+ ) {
523
525
  let content_text_input_manager = $state(
524
526
  create_text_input_manager({
525
527
  type: "text_area",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sveltekit-ui",
3
- "version": "1.0.97",
3
+ "version": "1.0.99",
4
4
  "description": "A SvelteKit UI component library for building modern web applications",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -68,7 +68,7 @@
68
68
  <ImageConfig manager={manager?.attributes_manager} />
69
69
  {:else if manager?.content_type == "audio"}
70
70
  <AudioConfig manager={manager?.attributes_manager} />
71
- {:else if ["h1", "h2", "h3", "h4", "h5", "base_text", "em", "strong", "strong_em"].includes(manager?.content_type)}
71
+ {:else if ["h1", "h2", "h3", "h4", "h5", "base_text", "em", "strong", "strong_em", "pre"].includes(manager?.content_type)}
72
72
  <DefinedTypeInput manager={manager?.attributes_manager?.content_defined_type_input_manager}>
73
73
  {#snippet content()}
74
74
  <TextInput manager={manager?.attributes_manager?.content_text_input_manager} />
@@ -519,7 +519,9 @@ export function create_attributes_input_manager(config) {
519
519
  val: config?.val,
520
520
  get_defined_options: config?.get_defined_options,
521
521
  })
522
- } else if (["h1", "h2", "h3", "h4", "h5", "base_text", "em", "strong", "strong_em"].includes(content_type)) {
522
+ } else if (
523
+ ["h1", "h2", "h3", "h4", "h5", "base_text", "em", "strong", "strong_em", "pre"].includes(content_type)
524
+ ) {
523
525
  let content_text_input_manager = $state(
524
526
  create_text_input_manager({
525
527
  type: "text_area",