sveltekit-ui 1.0.59 → 1.0.60

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.
@@ -2,7 +2,6 @@ import { create_checkbox_manager } from "../../../../Checkbox/index.svelte.js"
2
2
  import { create_time_input_manager } from "../../../../TimeInput/index.svelte.js"
3
3
  import { create_dropdown_manager } from "../../../../Dropdown/index.svelte.js"
4
4
  import { create_defined_type_input_manager } from "../../DefinedTypeInput/index.svelte.js"
5
- import { set_closurable } from "../../../../../client/index.js"
6
5
  import { time_formats } from "../../../../TimeInput/index.js"
7
6
 
8
7
  export function create_time_input_config_manager(config) {
@@ -3,7 +3,7 @@
3
3
  import Button from "../Button/index.svelte"
4
4
  import LoadingWheel from "../LoadingWheel/index.svelte"
5
5
  import { slide } from "svelte/transition"
6
- import intersection_observer from "$lib/actions/intersection_observer.js"
6
+ import { intersection_observer } from "../../actions/index.js"
7
7
 
8
8
  let { manager } = $props()
9
9
  </script>
@@ -6,7 +6,7 @@
6
6
  import Dropdown from "../Dropdown/index.svelte"
7
7
  import LoadingWheel from "../LoadingWheel/index.svelte"
8
8
  import { slide } from "svelte/transition"
9
- import intersection_observer from "$lib/actions/intersection_observer.js"
9
+ import { intersection_observer } from "../../actions/index.js"
10
10
 
11
11
  let { manager } = $props()
12
12
  </script>
@@ -1,7 +1,7 @@
1
1
  <script>
2
2
  import LoadingWheel from "../LoadingWheel/index.svelte"
3
3
  import ErrorX from "../ErrorX/index.svelte"
4
- import intersection_observer from "$lib/actions/intersection_observer.js"
4
+ import { intersection_observer } from "../../actions/index.js"
5
5
  import Button from "../Button/index.svelte"
6
6
 
7
7
  let { manager } = $props()
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import intersection_observer from "$lib/actions/intersection_observer.js"
2
+ import { intersection_observer } from "../../actions/index.js"
3
3
 
4
4
  let { min_square_width = 10, max_square_width = 25, min_squares_per_row = 2, content } = $props()
5
5
 
@@ -1,4 +1,4 @@
1
- export default function intersection_observer(node) {
1
+ export function intersection_observer(node) {
2
2
  let observer = null
3
3
  observer = new IntersectionObserver(
4
4
  (entries) => {
@@ -1,6 +1,7 @@
1
1
  export * from "./types/index.js"
2
2
  export * from "./astc_formatting/index.js"
3
3
  export * from "$lib/Components/TimeInput/index.js"
4
+ export { intersection_observer } from "../actions/index.js"
4
5
 
5
6
  export function format_date(date, is_add_zero = false) {
6
7
  if (date) {
package/dist/index.js CHANGED
@@ -177,4 +177,5 @@ export {
177
177
  get_time_full_from_object,
178
178
  get_time_object_from_val,
179
179
  get_val_from_time_object,
180
+ intersection_observer,
180
181
  } from "./client/index.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sveltekit-ui",
3
- "version": "1.0.59",
3
+ "version": "1.0.60",
4
4
  "description": "A SvelteKit UI component library for building modern web applications",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -2,7 +2,6 @@ import { create_checkbox_manager } from "$lib/Components/Checkbox/index.svelte.j
2
2
  import { create_time_input_manager } from "$lib/Components/TimeInput/index.svelte.js"
3
3
  import { create_dropdown_manager } from "$lib/Components/Dropdown/index.svelte.js"
4
4
  import { create_defined_type_input_manager } from "$lib/Components/ContentInput/AttributesInput/DefinedTypeInput/index.svelte.js"
5
- import { set_closurable } from "$lib/client/index.js"
6
5
  import { time_formats } from "$lib/Components/TimeInput/index.js"
7
6
 
8
7
  export function create_time_input_config_manager(config) {
@@ -3,7 +3,7 @@
3
3
  import Button from "$lib/Components/Button/index.svelte"
4
4
  import LoadingWheel from "$lib/Components/LoadingWheel/index.svelte"
5
5
  import { slide } from "svelte/transition"
6
- import intersection_observer from "$lib/actions/intersection_observer.js"
6
+ import { intersection_observer } from "$lib/actions/index.js"
7
7
 
8
8
  let { manager } = $props()
9
9
  </script>
@@ -6,7 +6,7 @@
6
6
  import Dropdown from "$lib/Components/Dropdown/index.svelte"
7
7
  import LoadingWheel from "$lib/Components/LoadingWheel/index.svelte"
8
8
  import { slide } from "svelte/transition"
9
- import intersection_observer from "$lib/actions/intersection_observer.js"
9
+ import { intersection_observer } from "$lib/actions/index.js"
10
10
 
11
11
  let { manager } = $props()
12
12
  </script>
@@ -1,7 +1,7 @@
1
1
  <script>
2
2
  import LoadingWheel from "$lib/Components/LoadingWheel/index.svelte"
3
3
  import ErrorX from "$lib/Components/ErrorX/index.svelte"
4
- import intersection_observer from "$lib/actions/intersection_observer.js"
4
+ import { intersection_observer } from "$lib/actions/index.js"
5
5
  import Button from "$lib/Components/Button/index.svelte"
6
6
 
7
7
  let { manager } = $props()
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import intersection_observer from "$lib/actions/intersection_observer.js"
2
+ import { intersection_observer } from "$lib/actions/index.js"
3
3
 
4
4
  let { min_square_width = 10, max_square_width = 25, min_squares_per_row = 2, content } = $props()
5
5
 
@@ -1,4 +1,4 @@
1
- export default function intersection_observer(node) {
1
+ export function intersection_observer(node) {
2
2
  let observer = null
3
3
  observer = new IntersectionObserver(
4
4
  (entries) => {
@@ -1,6 +1,7 @@
1
1
  export * from "./types/index.js"
2
2
  export * from "./astc_formatting/index.js"
3
3
  export * from "$lib/Components/TimeInput/index.js"
4
+ export { intersection_observer } from "$lib/actions/index.js"
4
5
 
5
6
  export function format_date(date, is_add_zero = false) {
6
7
  if (date) {
package/src/lib/index.js CHANGED
@@ -177,4 +177,5 @@ export {
177
177
  get_time_full_from_object,
178
178
  get_time_object_from_val,
179
179
  get_val_from_time_object,
180
+ intersection_observer,
180
181
  } from "./client/index.js"