@augment-vir/web 31.14.1 → 31.15.0

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.
@@ -1,4 +1,4 @@
1
- import type { Coords } from '@augment-vir/common';
1
+ import { type Coords } from '@augment-vir/common';
2
2
  /**
3
3
  * Checks if the current element is completely visible in its scroll view.
4
4
  *
@@ -1,5 +1,5 @@
1
- import { PartialWithUndefined } from '@augment-vir/common';
2
- import { Constructor } from 'type-fest';
1
+ import { type PartialWithUndefined } from '@augment-vir/common';
2
+ import { type Constructor } from 'type-fest';
3
3
  /**
4
4
  * Extract the event target element from an Event.
5
5
  *
@@ -1,4 +1,4 @@
1
- import type { PartialWithUndefined } from '@augment-vir/common';
1
+ import { type PartialWithUndefined } from '@augment-vir/common';
2
2
  /**
3
3
  * Options for {@link queryThroughShadow}.
4
4
  *
@@ -1,5 +1,5 @@
1
- import { DeclarativeElementDefinition } from 'element-vir';
2
- import { SpecTagName } from 'html-spec-tags';
1
+ import { type DeclarativeElementDefinition } from 'element-vir';
2
+ import { type SpecTagName } from 'html-spec-tags';
3
3
  /**
4
4
  * Reduce an element down to its tag name or its element definition if it's a custom element defined
5
5
  * by element-vir. Note that the types for this won't work in your project if you use custom element
@@ -1,5 +1,5 @@
1
- import { Dimensions, type PartialWithUndefined } from '@augment-vir/common';
2
- import type { AnyDuration } from '@date-vir/duration';
1
+ import { type Dimensions, type PartialWithUndefined } from '@augment-vir/common';
2
+ import { type AnyDuration } from '@date-vir/duration';
3
3
  /**
4
4
  * Calculate the dimensions needed for an element's text. This is a relatively expensive operation,
5
5
  * so it should not be called excessively.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augment-vir/web",
3
- "version": "31.14.1",
3
+ "version": "31.15.0",
4
4
  "description": "A collection of augments, helpers types, functions, and classes only for web (frontend) JavaScript environments.",
5
5
  "keywords": [
6
6
  "augment",
@@ -36,14 +36,14 @@
36
36
  "test:update": "npm test"
37
37
  },
38
38
  "dependencies": {
39
- "@augment-vir/assert": "^31.14.1",
40
- "@augment-vir/common": "^31.14.1",
39
+ "@augment-vir/assert": "^31.15.0",
40
+ "@augment-vir/common": "^31.15.0",
41
41
  "@date-vir/duration": "^7.3.1",
42
42
  "html-spec-tags": "^2.2.2",
43
43
  "type-fest": "^4.40.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@augment-vir/test": "^31.14.1",
46
+ "@augment-vir/test": "^31.15.0",
47
47
  "bowser": "^2.11.0",
48
48
  "typescript": "^5.8.3"
49
49
  },