sveltekit-ui 1.0.96 → 1.0.98
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.
- package/dist/Components/ContentInput/AttributesInput/index.svelte.js +3 -1
- package/dist/Components/StoragePicker/index.svelte.js +0 -1
- package/dist/client/types/index.js +3 -1
- package/package.json +3 -3
- package/src/lib/Components/ContentInput/AttributesInput/index.svelte.js +3 -1
- package/src/lib/Components/StoragePicker/index.svelte.js +0 -1
- package/src/lib/client/types/index.js +3 -1
|
@@ -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 (
|
|
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",
|
|
@@ -424,7 +424,6 @@ export function create_storage_picker_manager(config) {
|
|
|
424
424
|
file_extension: mime_type_extensions?.[file?.type],
|
|
425
425
|
size_kb: file?.size ? Math.round(file?.size * 0.001) : null,
|
|
426
426
|
}
|
|
427
|
-
console.log("file999", file)
|
|
428
427
|
const base64_content = await convert_file_to_base64(file)
|
|
429
428
|
file_obj.base64_content = base64_content
|
|
430
429
|
locally_uploaded_files_to_add[id] = file_obj
|
|
@@ -2084,7 +2084,9 @@ export const content_types = {
|
|
|
2084
2084
|
category: "content",
|
|
2085
2085
|
name: "Preformatted Text",
|
|
2086
2086
|
display_order: 44,
|
|
2087
|
-
attributes: {
|
|
2087
|
+
attributes: {
|
|
2088
|
+
content: { type: "text_literal" },
|
|
2089
|
+
},
|
|
2088
2090
|
child_elements: {},
|
|
2089
2091
|
},
|
|
2090
2092
|
ref: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sveltekit-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.98",
|
|
4
4
|
"description": "A SvelteKit UI component library for building modern web applications",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"context-filter-polyfill": "^0.3.23",
|
|
21
21
|
"qr-code-styling": "^1.9.2",
|
|
22
|
-
"svelte": "^5.43.
|
|
22
|
+
"svelte": "^5.43.3"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@sveltejs/kit": "^2.22.2"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
|
32
32
|
"@vercel/analytics": "^1.5.0",
|
|
33
33
|
"typescript": "^5.9.3",
|
|
34
|
-
"vite": "^7.
|
|
34
|
+
"vite": "^7.2.0"
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://www.sveltekit-ui.com",
|
|
37
37
|
"keywords": [
|
|
@@ -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 (
|
|
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",
|
|
@@ -424,7 +424,6 @@ export function create_storage_picker_manager(config) {
|
|
|
424
424
|
file_extension: mime_type_extensions?.[file?.type],
|
|
425
425
|
size_kb: file?.size ? Math.round(file?.size * 0.001) : null,
|
|
426
426
|
}
|
|
427
|
-
console.log("file999", file)
|
|
428
427
|
const base64_content = await convert_file_to_base64(file)
|
|
429
428
|
file_obj.base64_content = base64_content
|
|
430
429
|
locally_uploaded_files_to_add[id] = file_obj
|
|
@@ -2084,7 +2084,9 @@ export const content_types = {
|
|
|
2084
2084
|
category: "content",
|
|
2085
2085
|
name: "Preformatted Text",
|
|
2086
2086
|
display_order: 44,
|
|
2087
|
-
attributes: {
|
|
2087
|
+
attributes: {
|
|
2088
|
+
content: { type: "text_literal" },
|
|
2089
|
+
},
|
|
2088
2090
|
child_elements: {},
|
|
2089
2091
|
},
|
|
2090
2092
|
ref: {
|