vira 26.12.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;
@@ -10,5 +10,5 @@ export declare const viraIconCssVars: import("lit-css-vars").CssVarDefinitions<{
10
10
  readonly 'vira-icon-stroke-color': "currentColor";
11
11
  /** To be used for coloring an icon's fill. */
12
12
  readonly 'vira-icon-fill-color': "none";
13
- readonly 'vira-icon-stroke-width': "1px";
13
+ readonly 'vira-icon-stroke-width': "1.5px";
14
14
  }>;
@@ -11,5 +11,5 @@ export const viraIconCssVars = defineCssVars({
11
11
  'vira-icon-stroke-color': 'currentColor',
12
12
  /** To be used for coloring an icon's fill. */
13
13
  'vira-icon-fill-color': 'none',
14
- 'vira-icon-stroke-width': '1px',
14
+ 'vira-icon-stroke-width': '1.5px',
15
15
  });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * A bell icon.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/vira/book/icons/bell24icon
7
+ */
8
+ export declare const Bell24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -0,0 +1,30 @@
1
+ import { html } from 'element-vir';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * A bell icon.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/vira/book/icons/bell24icon
10
+ */
11
+ export const Bell24Icon = defineIcon({
12
+ name: 'Bell24Icon',
13
+ svgTemplate: html `
14
+ <svg
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ xml:space="preserve"
17
+ style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round"
18
+ viewBox="0 0 24 24"
19
+ width="24"
20
+ height="24"
21
+ >
22
+ <path
23
+ d="M11.3 4c-2.7 0-5 3.5-5 6.4v3.3q0 1.2-.7 2.2l-1 1.1h14.8l-1-1.1q-.7-1-.8-2.2v-3.3c0-3-2.3-6.4-5-6.4zM10 17v1q.2 1.8 2 2a2 2 0 0 0 2-2v-1"
24
+ stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
25
+ stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
26
+ fill=${viraIconCssVars['vira-icon-fill-color'].value}
27
+ />
28
+ </svg>
29
+ `,
30
+ });
@@ -1,6 +1,7 @@
1
1
  /** This file is automatically updated by update-icon-exports.ts */
2
2
  export * from './icon-css-vars.js';
3
3
  export * from './icon-svg.js';
4
+ export * from './icon-svgs/bell-24.icon.js';
4
5
  export * from './icon-svgs/chat-24.icon.js';
5
6
  export * from './icon-svgs/check-24.icon.js';
6
7
  export * from './icon-svgs/chevron-up-24.icon.js';
@@ -35,6 +36,7 @@ export * from './icon-svgs/upload-24.icon.js';
35
36
  * @category Icon
36
37
  */
37
38
  export declare const allIconsByName: {
39
+ readonly Bell24Icon: import("./icon-svg.js").ViraIconSvg;
38
40
  readonly Chat24Icon: import("./icon-svg.js").ViraIconSvg;
39
41
  readonly Check24Icon: import("./icon-svg.js").ViraIconSvg;
40
42
  readonly ChevronUp24Icon: import("./icon-svg.js").ViraIconSvg;
@@ -1,4 +1,5 @@
1
1
  /** This file is automatically updated by update-icon-exports.ts */
2
+ import { Bell24Icon } from './icon-svgs/bell-24.icon.js';
2
3
  import { Chat24Icon } from './icon-svgs/chat-24.icon.js';
3
4
  import { Check24Icon } from './icon-svgs/check-24.icon.js';
4
5
  import { ChevronUp24Icon } from './icon-svgs/chevron-up-24.icon.js';
@@ -29,6 +30,7 @@ import { StatusWarning24Icon } from './icon-svgs/status-warning-24.icon.js';
29
30
  import { Upload24Icon } from './icon-svgs/upload-24.icon.js';
30
31
  export * from './icon-css-vars.js';
31
32
  export * from './icon-svg.js';
33
+ export * from './icon-svgs/bell-24.icon.js';
32
34
  export * from './icon-svgs/chat-24.icon.js';
33
35
  export * from './icon-svgs/check-24.icon.js';
34
36
  export * from './icon-svgs/chevron-up-24.icon.js';
@@ -63,6 +65,7 @@ export * from './icon-svgs/upload-24.icon.js';
63
65
  * @category Icon
64
66
  */
65
67
  export const allIconsByName = {
68
+ Bell24Icon,
66
69
  Chat24Icon,
67
70
  Check24Icon,
68
71
  ChevronUp24Icon,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vira",
3
- "version": "26.12.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": {