@tempots/ui 0.14.1 → 0.15.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tempots/ui",
3
- "version": "0.14.1",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
@@ -41,6 +41,6 @@
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@tempots/dom": "19.3.1",
44
- "@tempots/std": "0.10.7"
44
+ "@tempots/std": "0.15.0"
45
45
  }
46
46
  }
@@ -1,5 +1,4 @@
1
1
  import { TNode, Value } from '@tempots/dom';
2
-
3
2
  /**
4
3
  * Creates an anchor element with the specified href and children.
5
4
  * When the anchor element is clicked, the location is updated to the specified href.
@@ -1,5 +1,4 @@
1
1
  import { Signal, TNode } from '@tempots/dom';
2
-
3
2
  /**
4
3
  * Defines the possible appearance types for the application.
5
4
  *
@@ -1,6 +1,5 @@
1
1
  import { TNode, Signal, Value, Renderable } from '@tempots/dom';
2
2
  import { AsyncResult } from '@tempots/std';
3
-
4
3
  /**
5
4
  * Represents the options for rendering an asynchronous result view.
6
5
  *
@@ -1,5 +1,4 @@
1
1
  import { Renderable } from '@tempots/dom';
2
-
3
2
  /**
4
3
  * Creates a renderable function that focuses on the element after a specified delay.
5
4
  *
@@ -1,5 +1,4 @@
1
1
  import { Renderable } from '@tempots/dom';
2
-
3
2
  /**
4
3
  * Creates a renderable function that automatically selects the content of an input element after a specified delay.
5
4
  * @param delay - The delay in milliseconds before selecting the content. Default is 10 milliseconds.
@@ -1,5 +1,4 @@
1
1
  import { Renderable } from '@tempots/dom';
2
-
3
2
  /**
4
3
  * Hides the element when it is empty and restores its initial state when necessary.
5
4
  *
@@ -1,5 +1,4 @@
1
1
  import { Value } from '@tempots/dom';
2
-
3
2
  /**
4
3
  * Creates an HTML title element with the specified title.
5
4
  *
@@ -1,5 +1,4 @@
1
1
  import { Signal, TNode, Renderable } from '@tempots/dom';
2
-
3
2
  /**
4
3
  * Represents the mode for determining if an element is in the viewport.
5
4
  *
@@ -1,5 +1,4 @@
1
1
  import { TNode, DOMContext, Value } from '@tempots/dom';
2
-
3
2
  /**
4
3
  * Represents the placement options for a pop-over.
5
4
  *
@@ -1,6 +1,5 @@
1
1
  import { TNode, Signal, Value, Renderable } from '@tempots/dom';
2
2
  import { Result } from '@tempots/std';
3
-
4
3
  /**
5
4
  * Represents the signal for a result.
6
5
  *
@@ -1,5 +1,4 @@
1
1
  import { TNode, Prop } from '@tempots/dom';
2
-
3
2
  /**
4
3
  * Represents the data for a location.
5
4
  *
@@ -1,5 +1,4 @@
1
1
  import { ExtractParams, Route } from './route-info';
2
-
3
2
  /**
4
3
  * The result of a route match.
5
4
  *
@@ -1,5 +1,4 @@
1
1
  import { SplitLiteral, TupleToUnion } from '@tempots/std';
2
-
3
2
  /**
4
3
  * Represents information about a route.
5
4
  *
@@ -1,6 +1,5 @@
1
1
  import { TNode, Renderable, Signal } from '@tempots/dom';
2
2
  import { ExtractParams, MakeParams, RouteInfo } from './route-info';
3
-
4
3
  /**
5
4
  * Creates a router that maps routes to corresponding renderable components.
6
5
  *
@@ -1,5 +1,4 @@
1
1
  import { DOMContext, Signal, TNode, Size } from '@tempots/dom';
2
-
3
2
  /**
4
3
  * Creates a renderable function that monitors the size of an element and provides it as a signal.
5
4
  *