vira 26.13.0 → 26.13.1

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.
@@ -19,7 +19,7 @@ export type ViraLinkRoute = Readonly<{
19
19
  * @category Elements
20
20
  * @see https://electrovir.github.io/vira/book/elements/vira-link
21
21
  */
22
- export declare const ViraLink: import("element-vir").DeclarativeElementDefinition<"vira-link", import("type-fest/source/require-exactly-one.js")._RequireExactlyOne<{
22
+ export declare const ViraLink: import("element-vir").DeclarativeElementDefinition<"vira-link", (((Required<Pick<{
23
23
  /**
24
24
  * A full raw URL link that will navigate the current window away or open a new tab. If this
25
25
  * property is provided for the inputs, don't provide a route property.
@@ -33,7 +33,35 @@ export declare const ViraLink: import("element-vir").DeclarativeElementDefinitio
33
33
  * is provided for the inputs, don't provide a link property.
34
34
  */
35
35
  route: ViraLinkRoute;
36
- }, "link" | "route"> & PartialWithUndefined<{
36
+ }, "link">> & Partial<Record<"route", never>>) | (Required<Pick<{
37
+ /**
38
+ * A full raw URL link that will navigate the current window away or open a new tab. If this
39
+ * property is provided for the inputs, don't provide a route property.
40
+ */
41
+ link: {
42
+ url: string;
43
+ newTab: boolean;
44
+ };
45
+ /**
46
+ * A route that'll change that current page without navigating the window. If this property
47
+ * is provided for the inputs, don't provide a link property.
48
+ */
49
+ route: ViraLinkRoute;
50
+ }, "route">> & Partial<Record<"link", never>>)) & Omit<{
51
+ /**
52
+ * A full raw URL link that will navigate the current window away or open a new tab. If this
53
+ * property is provided for the inputs, don't provide a route property.
54
+ */
55
+ link: {
56
+ url: string;
57
+ newTab: boolean;
58
+ };
59
+ /**
60
+ * A route that'll change that current page without navigating the window. If this property
61
+ * is provided for the inputs, don't provide a link property.
62
+ */
63
+ route: ViraLinkRoute;
64
+ }, "link" | "route">) & PartialWithUndefined<{
37
65
  /** Styles that will be applied directly to the inner elements. */
38
66
  stylePassthrough: Readonly<PartialWithUndefined<{
39
67
  a: CSSResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vira",
3
- "version": "26.13.0",
3
+ "version": "26.13.1",
4
4
  "description": "A simple and highly versatile design system using element-vir.",
5
5
  "keywords": [
6
6
  "design",
@@ -38,21 +38,21 @@
38
38
  "test:docs": "virmator docs check"
39
39
  },
40
40
  "dependencies": {
41
- "@augment-vir/assert": "^31.38.0",
42
- "@augment-vir/common": "^31.38.0",
43
- "@augment-vir/web": "^31.38.0",
41
+ "@augment-vir/assert": "^31.40.0",
42
+ "@augment-vir/common": "^31.40.0",
43
+ "@augment-vir/web": "^31.40.0",
44
44
  "colorjs.io": "^0.5.2",
45
- "date-vir": "^7.4.2",
45
+ "date-vir": "^8.0.0",
46
46
  "device-navigation": "^4.5.5",
47
47
  "lit-css-vars": "^3.0.11",
48
- "observavir": "^2.1.1",
48
+ "observavir": "^2.1.2",
49
49
  "page-active": "^1.0.2",
50
50
  "spa-router-vir": "^6.3.1",
51
- "type-fest": "^5.0.1",
51
+ "type-fest": "^5.1.0",
52
52
  "typed-event-target": "^4.1.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@augment-vir/test": "^31.38.0",
55
+ "@augment-vir/test": "^31.40.0",
56
56
  "@web/dev-server-esbuild": "^1.0.4",
57
57
  "@web/test-runner": "^0.20.2",
58
58
  "@web/test-runner-commands": "^0.9.0",
@@ -61,9 +61,9 @@
61
61
  "esbuild": "^0.25.10",
62
62
  "istanbul-smart-text-reporter": "^1.1.5",
63
63
  "markdown-code-example-inserter": "^3.0.3",
64
- "typedoc": "^0.28.13",
64
+ "typedoc": "^0.28.14",
65
65
  "typescript": "5.9.3",
66
- "vite": "^7.1.7",
66
+ "vite": "^7.1.9",
67
67
  "vite-tsconfig-paths": "^5.1.4"
68
68
  },
69
69
  "peerDependencies": {