sveltekit-ui 1.0.18 → 1.0.20

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.
@@ -114,7 +114,6 @@ export function create_content_manager(config) {
114
114
  return
115
115
  }
116
116
  let cleaned_path = clean_variable_path(path)
117
- console.log("path77", { cleaned_path, path })
118
117
  if (typeof config?.on_event == "function") {
119
118
  if (type == "insert") {
120
119
  return config?.on_event({
@@ -49,11 +49,9 @@ export function create_attributes_input_manager(config) {
49
49
  ]
50
50
 
51
51
  function init(config) {
52
- console.log("dt_yyy", config?.defined_data_type)
53
52
  val_original = set_closurable(config?.val, null)
54
53
  content_type = config?.content_type
55
54
  defined_data_type = config?.defined_data_type
56
- console.log("att_defined_data_type", defined_data_type)
57
55
  popover_manager = create_popover_manager({
58
56
  header: config?.header ?? "Edit Attributes",
59
57
  type: "panel",
@@ -47,7 +47,6 @@ export function create_cron_input_manager(config) {
47
47
  })
48
48
 
49
49
  function clean_val(input) {
50
- console.log("input", input)
51
50
  if (!input) {
52
51
  return null
53
52
  }
@@ -76,6 +76,7 @@ export function create_sort_by_input_manager(config) {
76
76
  popover_manager = create_popover_manager({
77
77
  header: "Sort By",
78
78
  type: "dropdown",
79
+ target_height: 300,
79
80
  anchor_id: () =>
80
81
  is_show_popover_toggle_button ? `button_${popover_toggle_button_manager?.id}` : popover_anchor_id,
81
82
  })
@@ -748,7 +748,7 @@ export function create_table_advanced_manager(config) {
748
748
  table_id = config?.table_id
749
749
  table_name = config?.table_name
750
750
  table_description = config?.table_description
751
- sort_by = config?.table?.sort_by
751
+ sort_by = config?.sort_by
752
752
  rows_data_from_variable_path = config?.rows_data_from_variable_path
753
753
  row_iter_identifier = config?.row_iter_identifier ?? "row_i"
754
754
  definition_stack = config?.definition_stack
@@ -673,7 +673,7 @@ export function variables_data_type_remaining_to_astc(
673
673
  if (preferred_content_use == "input") {
674
674
  return astc_element("dropdown", [], {
675
675
  options: time_zone_options,
676
- is_compressed: true,
676
+ is_button_compressed: true,
677
677
  val_from_variable_path: leading_variable_path,
678
678
  ...(variables_data_type_remaining?.attributes ?? {}),
679
679
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sveltekit-ui",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "A SvelteKit UI component library for building modern web applications",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -19,19 +19,19 @@
19
19
  "dependencies": {
20
20
  "context-filter-polyfill": "^0.3.23",
21
21
  "qr-code-styling": "^1.9.2",
22
- "svelte": "^5.38.0"
22
+ "svelte": "^5.38.1"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@sveltejs/kit": "^2.22.2"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@sveltejs/adapter-vercel": "^5.8.2",
29
- "@sveltejs/kit": "^2.27.3",
29
+ "@sveltejs/kit": "^2.29.0",
30
30
  "@sveltejs/package": "^2.4.1",
31
- "@sveltejs/vite-plugin-svelte": "^6.1.0",
31
+ "@sveltejs/vite-plugin-svelte": "^6.1.2",
32
32
  "@vercel/analytics": "^1.5.0",
33
33
  "typescript": "^5.9.2",
34
- "vite": "^7.1.1"
34
+ "vite": "^7.1.2"
35
35
  },
36
36
  "homepage": "https://www.sveltekit-ui.com",
37
37
  "keywords": [
@@ -114,7 +114,6 @@ export function create_content_manager(config) {
114
114
  return
115
115
  }
116
116
  let cleaned_path = clean_variable_path(path)
117
- console.log("path77", { cleaned_path, path })
118
117
  if (typeof config?.on_event == "function") {
119
118
  if (type == "insert") {
120
119
  return config?.on_event({
@@ -49,11 +49,9 @@ export function create_attributes_input_manager(config) {
49
49
  ]
50
50
 
51
51
  function init(config) {
52
- console.log("dt_yyy", config?.defined_data_type)
53
52
  val_original = set_closurable(config?.val, null)
54
53
  content_type = config?.content_type
55
54
  defined_data_type = config?.defined_data_type
56
- console.log("att_defined_data_type", defined_data_type)
57
55
  popover_manager = create_popover_manager({
58
56
  header: config?.header ?? "Edit Attributes",
59
57
  type: "panel",
@@ -47,7 +47,6 @@ export function create_cron_input_manager(config) {
47
47
  })
48
48
 
49
49
  function clean_val(input) {
50
- console.log("input", input)
51
50
  if (!input) {
52
51
  return null
53
52
  }
@@ -76,6 +76,7 @@ export function create_sort_by_input_manager(config) {
76
76
  popover_manager = create_popover_manager({
77
77
  header: "Sort By",
78
78
  type: "dropdown",
79
+ target_height: 300,
79
80
  anchor_id: () =>
80
81
  is_show_popover_toggle_button ? `button_${popover_toggle_button_manager?.id}` : popover_anchor_id,
81
82
  })
@@ -748,7 +748,7 @@ export function create_table_advanced_manager(config) {
748
748
  table_id = config?.table_id
749
749
  table_name = config?.table_name
750
750
  table_description = config?.table_description
751
- sort_by = config?.table?.sort_by
751
+ sort_by = config?.sort_by
752
752
  rows_data_from_variable_path = config?.rows_data_from_variable_path
753
753
  row_iter_identifier = config?.row_iter_identifier ?? "row_i"
754
754
  definition_stack = config?.definition_stack
@@ -673,7 +673,7 @@ export function variables_data_type_remaining_to_astc(
673
673
  if (preferred_content_use == "input") {
674
674
  return astc_element("dropdown", [], {
675
675
  options: time_zone_options,
676
- is_compressed: true,
676
+ is_button_compressed: true,
677
677
  val_from_variable_path: leading_variable_path,
678
678
  ...(variables_data_type_remaining?.attributes ?? {}),
679
679
  })
@@ -451,7 +451,12 @@
451
451
  row_input_content: data?.row_input_content,
452
452
  // storage_items: null,
453
453
  // storage_default_folder_path: null,
454
- // sort_by: null, tbd
454
+ sort_by: [
455
+ {
456
+ is_ascending: true,
457
+ variable_path: ["first_name"],
458
+ },
459
+ ],
455
460
  is_data_editable: true,
456
461
  is_paginate: true,
457
462
  nav_items: [