vira 26.9.1 → 26.10.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.
Files changed (78) hide show
  1. package/README.md +1 -1
  2. package/dist/elements/pop-up/vira-pop-up-trigger.element.d.ts +1 -1
  3. package/dist/elements/pop-up/vira-pop-up-trigger.element.js +2 -1
  4. package/dist/elements/vira-button.element.d.ts +1 -1
  5. package/dist/elements/vira-button.element.js +1 -1
  6. package/dist/elements/vira-checkbox.element.d.ts +1 -1
  7. package/dist/elements/vira-checkbox.element.js +1 -1
  8. package/dist/elements/vira-collapsible-wrapper.element.d.ts +1 -1
  9. package/dist/elements/vira-collapsible-wrapper.element.js +2 -1
  10. package/dist/elements/vira-dropdown.element.d.ts +1 -1
  11. package/dist/elements/vira-dropdown.element.js +2 -1
  12. package/dist/elements/vira-icon.element.d.ts +1 -1
  13. package/dist/elements/vira-icon.element.js +1 -1
  14. package/dist/elements/vira-image.element.d.ts +1 -1
  15. package/dist/elements/vira-image.element.js +1 -1
  16. package/dist/elements/vira-input.element.d.ts +1 -1
  17. package/dist/elements/vira-input.element.js +6 -1
  18. package/dist/elements/vira-link.element.d.ts +1 -1
  19. package/dist/elements/vira-link.element.js +1 -1
  20. package/dist/elements/vira-progress.element.d.ts +1 -1
  21. package/dist/elements/vira-progress.element.js +2 -1
  22. package/dist/icons/icon-svgs/chat-24.icon.d.ts +1 -1
  23. package/dist/icons/icon-svgs/chat-24.icon.js +1 -1
  24. package/dist/icons/icon-svgs/check-24.icon.d.ts +1 -1
  25. package/dist/icons/icon-svgs/check-24.icon.js +1 -1
  26. package/dist/icons/icon-svgs/chevron-up-24.icon.d.ts +1 -1
  27. package/dist/icons/icon-svgs/chevron-up-24.icon.js +1 -1
  28. package/dist/icons/icon-svgs/close-x-24.icon.d.ts +1 -1
  29. package/dist/icons/icon-svgs/close-x-24.icon.js +2 -1
  30. package/dist/icons/icon-svgs/commit-24.icon.d.ts +1 -1
  31. package/dist/icons/icon-svgs/commit-24.icon.js +2 -1
  32. package/dist/icons/icon-svgs/document-24.icon.d.ts +1 -1
  33. package/dist/icons/icon-svgs/document-24.icon.js +2 -1
  34. package/dist/icons/icon-svgs/element-16.icon.d.ts +1 -1
  35. package/dist/icons/icon-svgs/element-16.icon.js +1 -1
  36. package/dist/icons/icon-svgs/element-24.icon.d.ts +1 -1
  37. package/dist/icons/icon-svgs/element-24.icon.js +1 -1
  38. package/dist/icons/icon-svgs/external-link-24.icon.d.ts +8 -0
  39. package/dist/icons/icon-svgs/external-link-24.icon.js +36 -0
  40. package/dist/icons/icon-svgs/eye-closed-24.icon.d.ts +1 -1
  41. package/dist/icons/icon-svgs/eye-closed-24.icon.js +1 -1
  42. package/dist/icons/icon-svgs/eye-open-24.icon.d.ts +1 -1
  43. package/dist/icons/icon-svgs/eye-open-24.icon.js +1 -1
  44. package/dist/icons/icon-svgs/link-24.icon.d.ts +8 -0
  45. package/dist/icons/icon-svgs/link-24.icon.js +37 -0
  46. package/dist/icons/icon-svgs/loader-24.icon.d.ts +1 -1
  47. package/dist/icons/icon-svgs/loader-24.icon.js +1 -1
  48. package/dist/icons/icon-svgs/loader-animated-24.icon.d.ts +1 -1
  49. package/dist/icons/icon-svgs/loader-animated-24.icon.js +1 -1
  50. package/dist/icons/icon-svgs/lock-24.icon.d.ts +8 -0
  51. package/dist/icons/icon-svgs/lock-24.icon.js +51 -0
  52. package/dist/icons/icon-svgs/options-24.icon.d.ts +1 -1
  53. package/dist/icons/icon-svgs/options-24.icon.js +4 -1
  54. package/dist/icons/icon-svgs/pencil-24.icon.d.ts +1 -1
  55. package/dist/icons/icon-svgs/pencil-24.icon.js +2 -1
  56. package/dist/icons/icon-svgs/shield-24.icon.d.ts +1 -1
  57. package/dist/icons/icon-svgs/shield-24.icon.js +1 -1
  58. package/dist/icons/icon-svgs/speaker-loud-24.icon.d.ts +1 -1
  59. package/dist/icons/icon-svgs/speaker-loud-24.icon.js +2 -1
  60. package/dist/icons/icon-svgs/speaker-medium-24.icon.d.ts +1 -1
  61. package/dist/icons/icon-svgs/speaker-medium-24.icon.js +2 -1
  62. package/dist/icons/icon-svgs/speaker-muted-24.icon.d.ts +1 -1
  63. package/dist/icons/icon-svgs/speaker-muted-24.icon.js +2 -1
  64. package/dist/icons/icon-svgs/speaker-quiet-24.icon.d.ts +1 -1
  65. package/dist/icons/icon-svgs/speaker-quiet-24.icon.js +1 -1
  66. package/dist/icons/icon-svgs/star-24.icon.d.ts +1 -1
  67. package/dist/icons/icon-svgs/star-24.icon.js +1 -1
  68. package/dist/icons/icon-svgs/status-failure-24.icon.d.ts +1 -1
  69. package/dist/icons/icon-svgs/status-failure-24.icon.js +2 -1
  70. package/dist/icons/icon-svgs/status-in-progress-24.icon.d.ts +1 -1
  71. package/dist/icons/icon-svgs/status-in-progress-24.icon.js +4 -1
  72. package/dist/icons/icon-svgs/status-success-24.icon.d.ts +1 -1
  73. package/dist/icons/icon-svgs/status-success-24.icon.js +2 -1
  74. package/dist/icons/icon-svgs/status-warning-24.icon.d.ts +1 -1
  75. package/dist/icons/icon-svgs/status-warning-24.icon.js +3 -1
  76. package/dist/icons/index.d.ts +8 -1
  77. package/dist/icons/index.js +11 -1
  78. package/package.json +12 -12
package/README.md CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  The Vira design system.
4
4
 
5
- https://electrovir.github.io/element-vir/vira
5
+ https://electrovir.github.io/vira
6
6
 
7
7
  WIP.
@@ -39,7 +39,7 @@ export declare enum HorizontalAnchor {
39
39
  *
40
40
  * @category PopUp
41
41
  * @category Elements
42
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-pop-up-trigger
42
+ * @see https://electrovir.github.io/vira/book/elements/vira-pop-up-trigger
43
43
  */
44
44
  export declare const ViraPopUpTrigger: import("element-vir").DeclarativeElementDefinition<"vira-pop-up-trigger", PartialWithUndefined<{
45
45
  isDisabled: boolean;
@@ -35,7 +35,7 @@ export var HorizontalAnchor;
35
35
  *
36
36
  * @category PopUp
37
37
  * @category Elements
38
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-pop-up-trigger
38
+ * @see https://electrovir.github.io/vira/book/elements/vira-pop-up-trigger
39
39
  */
40
40
  export const ViraPopUpTrigger = defineViraElement()({
41
41
  tagName: 'vira-pop-up-trigger',
@@ -265,6 +265,7 @@ export const ViraPopUpTrigger = defineViraElement()({
265
265
  <div class="dropdown-trigger">
266
266
  <slot name=${slotNames.trigger}></slot>
267
267
  </div>
268
+
268
269
  <div
269
270
  class="pop-up-positioner ${classMap({
270
271
  'right-aligned': inputs.horizontalAnchor === HorizontalAnchor.Right,
@@ -14,7 +14,7 @@ export declare enum ViraButtonStyle {
14
14
  *
15
15
  * @category Button
16
16
  * @category Elements
17
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-button
17
+ * @see https://electrovir.github.io/vira/book/elements/vira-button
18
18
  */
19
19
  export declare const ViraButton: import("element-vir").DeclarativeElementDefinition<"vira-button", PartialWithUndefined<{
20
20
  text: string;
@@ -22,7 +22,7 @@ export var ViraButtonStyle;
22
22
  *
23
23
  * @category Button
24
24
  * @category Elements
25
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-button
25
+ * @see https://electrovir.github.io/vira/book/elements/vira-button
26
26
  */
27
27
  export const ViraButton = defineViraElement()({
28
28
  tagName: 'vira-button',
@@ -24,7 +24,7 @@ export type ViraCheckboxInputs = PartialWithUndefined<{
24
24
  *
25
25
  * @category Input
26
26
  * @category Elements
27
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-checkbox
27
+ * @see https://electrovir.github.io/vira/book/elements/vira-checkbox
28
28
  */
29
29
  export declare const ViraCheckbox: import("element-vir").DeclarativeElementDefinition<"vira-checkbox", Readonly<ViraCheckboxInputs>, {}, {
30
30
  valueChange: import("element-vir").DefineEvent<boolean>;
@@ -11,7 +11,7 @@ import { ViraIcon } from './vira-icon.element.js';
11
11
  *
12
12
  * @category Input
13
13
  * @category Elements
14
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-checkbox
14
+ * @see https://electrovir.github.io/vira/book/elements/vira-checkbox
15
15
  */
16
16
  export const ViraCheckbox = defineViraElement()({
17
17
  tagName: 'vira-checkbox',
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @category Collapsible
5
5
  * @category Elements
6
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-collapsible-wrapper
6
+ * @see https://electrovir.github.io/vira/book/elements/vira-collapsible-wrapper
7
7
  */
8
8
  export declare const ViraCollapsibleWrapper: import("element-vir").DeclarativeElementDefinition<"vira-collapsible-wrapper", {
9
9
  expanded: boolean;
@@ -6,7 +6,7 @@ import { defineViraElement } from './define-vira-element.js';
6
6
  *
7
7
  * @category Collapsible
8
8
  * @category Elements
9
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-collapsible-wrapper
9
+ * @see https://electrovir.github.io/vira/book/elements/vira-collapsible-wrapper
10
10
  */
11
11
  export const ViraCollapsibleWrapper = defineViraElement()({
12
12
  tagName: 'vira-collapsible-wrapper',
@@ -65,6 +65,7 @@ export const ViraCollapsibleWrapper = defineViraElement()({
65
65
  >
66
66
  <slot name=${slotNames.header}>Header</slot>
67
67
  </button>
68
+
68
69
  <div class="collapsing-element" style=${collapsingStyles} disabled="disabled">
69
70
  <div
70
71
  ${onResize(({ contentRect }) => {
@@ -18,7 +18,7 @@ export declare const viraDropdownTestIds: {
18
18
  *
19
19
  * @category Dropdown
20
20
  * @category Elements
21
- * @see https://electrovir.github.io/element-vir/vira/book/elements/dropdown/vira-dropdown
21
+ * @see https://electrovir.github.io/vira/book/elements/dropdown/vira-dropdown
22
22
  */
23
23
  export declare const ViraDropdown: import("element-vir").DeclarativeElementDefinition<"vira-dropdown", {
24
24
  options: ReadonlyArray<Readonly<MenuItem>>;
@@ -24,7 +24,7 @@ export const viraDropdownTestIds = {
24
24
  *
25
25
  * @category Dropdown
26
26
  * @category Elements
27
- * @see https://electrovir.github.io/element-vir/vira/book/elements/dropdown/vira-dropdown
27
+ * @see https://electrovir.github.io/vira/book/elements/dropdown/vira-dropdown
28
28
  */
29
29
  export const ViraDropdown = defineViraElement()({
30
30
  tagName: 'vira-dropdown',
@@ -167,6 +167,7 @@ export const ViraDropdown = defineViraElement()({
167
167
  >
168
168
  ${prefixTemplate} ${selectionDisplay}
169
169
  </span>
170
+
170
171
  <span class="trigger-icon-wrapper">
171
172
  <${ViraIcon.assign({ icon: ChevronUp24Icon })}
172
173
  class="trigger-icon"
@@ -4,7 +4,7 @@ import { type ViraIconSvg } from '../icons/icon-svg.js';
4
4
  *
5
5
  * @category Icon
6
6
  * @category Elements
7
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-icon
7
+ * @see https://electrovir.github.io/vira/book/elements/vira-icon
8
8
  */
9
9
  export declare const ViraIcon: import("element-vir").DeclarativeElementDefinition<"vira-icon", {
10
10
  icon: Pick<ViraIconSvg, "svgTemplate"> | undefined;
@@ -5,7 +5,7 @@ import { defineViraElement } from './define-vira-element.js';
5
5
  *
6
6
  * @category Icon
7
7
  * @category Elements
8
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-icon
8
+ * @see https://electrovir.github.io/vira/book/elements/vira-icon
9
9
  */
10
10
  export const ViraIcon = defineViraElement()({
11
11
  tagName: 'vira-icon',
@@ -9,7 +9,7 @@ import { type Duration, type DurationUnit } from 'date-vir';
9
9
  *
10
10
  * @category Image
11
11
  * @category Elements
12
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-image
12
+ * @see https://electrovir.github.io/vira/book/elements/vira-image
13
13
  */
14
14
  export declare const ViraImage: import("element-vir").DeclarativeElementDefinition<"vira-image", {
15
15
  /** The URL of the image to load. This is passed directly to the `<img>` element. */
@@ -12,7 +12,7 @@ import { ViraIcon } from './vira-icon.element.js';
12
12
  *
13
13
  * @category Image
14
14
  * @category Elements
15
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-image
15
+ * @see https://electrovir.github.io/vira/book/elements/vira-image
16
16
  */
17
17
  export const ViraImage = defineViraElement()({
18
18
  tagName: 'vira-image',
@@ -17,7 +17,7 @@ export declare enum ViraInputType {
17
17
  *
18
18
  * @category Input
19
19
  * @category Elements
20
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-input
20
+ * @see https://electrovir.github.io/vira/book/elements/vira-input
21
21
  */
22
22
  export declare const ViraInput: import("element-vir").DeclarativeElementDefinition<"vira-input", {
23
23
  icon?: undefined | Pick<ViraIconSvg, "svgTemplate">;
@@ -26,7 +26,7 @@ export var ViraInputType;
26
26
  *
27
27
  * @category Input
28
28
  * @category Elements
29
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-input
29
+ * @see https://electrovir.github.io/vira/book/elements/vira-input
30
30
  */
31
31
  export const ViraInput = defineViraElement()({
32
32
  tagName: 'vira-input',
@@ -297,6 +297,7 @@ export const ViraInput = defineViraElement()({
297
297
  <pre>${filteredValue || inputs.placeholder || nothing}</pre>
298
298
  </span>
299
299
  `)}
300
+
300
301
  <input
301
302
  type=${calculateEffectiveInputType(inputs.type, state.showPassword)}
302
303
  style=${forcedInputWidthStyles}
@@ -322,6 +323,7 @@ export const ViraInput = defineViraElement()({
322
323
  placeholder=${ifDefined(inputs.placeholder || undefined)}
323
324
  ${attributes(inputs.attributePassthrough)}
324
325
  />
326
+
325
327
  ${renderIf(!!(inputs.showClearButton && inputs.value), html `
326
328
  <button
327
329
  class="clear-x-button"
@@ -355,11 +357,14 @@ export const ViraInput = defineViraElement()({
355
357
  ${renderIf(!!inputs.suffix, html `
356
358
  <div class="suffix">${inputs.suffix}</div>
357
359
  `)}
360
+
358
361
  <!--
359
362
  These separate style elements are necessary so that we can select them as
360
363
  siblings of the focused <input> element.
361
364
  -->
365
+
362
366
  <div class="border-style focus-border"></div>
367
+
363
368
  <div class="border-style wrapper-border"></div>
364
369
  </span>
365
370
  `;
@@ -17,7 +17,7 @@ export type ViraLinkRoute = Readonly<{
17
17
  *
18
18
  * @category Link
19
19
  * @category Elements
20
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-link
20
+ * @see https://electrovir.github.io/vira/book/elements/vira-link
21
21
  */
22
22
  export declare const ViraLink: import("element-vir").DeclarativeElementDefinition<"vira-link", import("type-fest/source/require-exactly-one.js")._RequireExactlyOne<{
23
23
  /**
@@ -6,7 +6,7 @@ import { defineViraElement } from './define-vira-element.js';
6
6
  *
7
7
  * @category Link
8
8
  * @category Elements
9
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-link
9
+ * @see https://electrovir.github.io/vira/book/elements/vira-link
10
10
  */
11
11
  export const ViraLink = defineViraElement()({
12
12
  tagName: 'vira-link',
@@ -6,7 +6,7 @@ import { type PartialWithUndefined } from '@augment-vir/common';
6
6
  *
7
7
  * @category Progress
8
8
  * @category Elements
9
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-progress
9
+ * @see https://electrovir.github.io/vira/book/elements/vira-progress
10
10
  */
11
11
  export declare const ViraProgress: import("element-vir").DeclarativeElementDefinition<"vira-progress", Readonly<{
12
12
  value: number;
@@ -9,7 +9,7 @@ import { defineViraElement } from './define-vira-element.js';
9
9
  *
10
10
  * @category Progress
11
11
  * @category Elements
12
- * @see https://electrovir.github.io/element-vir/vira/book/elements/vira-progress
12
+ * @see https://electrovir.github.io/vira/book/elements/vira-progress
13
13
  */
14
14
  export const ViraProgress = defineViraElement()({
15
15
  tagName: 'vira-progress',
@@ -69,6 +69,7 @@ export const ViraProgress = defineViraElement()({
69
69
  display: none;
70
70
  `}
71
71
  ></div>
72
+
72
73
  <div class="background-bar"></div>
73
74
  `;
74
75
  },
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * @category Icon
5
5
  * @category SVG
6
- * @see https://electrovir.github.io/element-vir/vira/book/icons/chat24icon
6
+ * @see https://electrovir.github.io/vira/book/icons/chat24icon
7
7
  */
8
8
  export declare const Chat24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -6,7 +6,7 @@ import { defineIcon } from '../icon-svg.js';
6
6
  *
7
7
  * @category Icon
8
8
  * @category SVG
9
- * @see https://electrovir.github.io/element-vir/vira/book/icons/chat24icon
9
+ * @see https://electrovir.github.io/vira/book/icons/chat24icon
10
10
  */
11
11
  export const Chat24Icon = defineIcon({
12
12
  name: 'Chat24Icon',
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * @category Icon
5
5
  * @category SVG
6
- * @see https://electrovir.github.io/element-vir/vira/book/icons/check24icon
6
+ * @see https://electrovir.github.io/vira/book/icons/check24icon
7
7
  */
8
8
  export declare const Check24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -6,7 +6,7 @@ import { defineIcon } from '../icon-svg.js';
6
6
  *
7
7
  * @category Icon
8
8
  * @category SVG
9
- * @see https://electrovir.github.io/element-vir/vira/book/icons/check24icon
9
+ * @see https://electrovir.github.io/vira/book/icons/check24icon
10
10
  */
11
11
  export const Check24Icon = defineIcon({
12
12
  name: 'Check24Icon',
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * @category Icon
5
5
  * @category SVG
6
- * @see https://electrovir.github.io/element-vir/vira/book/icons/chevronup24icon
6
+ * @see https://electrovir.github.io/vira/book/icons/chevronup24icon
7
7
  */
8
8
  export declare const ChevronUp24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -6,7 +6,7 @@ import { defineIcon } from '../icon-svg.js';
6
6
  *
7
7
  * @category Icon
8
8
  * @category SVG
9
- * @see https://electrovir.github.io/element-vir/vira/book/icons/chevronup24icon
9
+ * @see https://electrovir.github.io/vira/book/icons/chevronup24icon
10
10
  */
11
11
  export const ChevronUp24Icon = defineIcon({
12
12
  name: 'ChevronUp24Icon',
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * @category Icon
5
5
  * @category SVG
6
- * @see https://electrovir.github.io/element-vir/vira/book/icons/closex24icon
6
+ * @see https://electrovir.github.io/vira/book/icons/closex24icon
7
7
  */
8
8
  export declare const CloseX24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -6,7 +6,7 @@ import { defineIcon } from '../icon-svg.js';
6
6
  *
7
7
  * @category Icon
8
8
  * @category SVG
9
- * @see https://electrovir.github.io/element-vir/vira/book/icons/closex24icon
9
+ * @see https://electrovir.github.io/vira/book/icons/closex24icon
10
10
  */
11
11
  export const CloseX24Icon = defineIcon({
12
12
  name: 'CloseX24Icon',
@@ -20,6 +20,7 @@ export const CloseX24Icon = defineIcon({
20
20
  stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
21
21
  stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
22
22
  />
23
+
23
24
  <path
24
25
  d="M9 8.5l6 7m0 -7l-6 7"
25
26
  fill="none"
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * @category Icon
5
5
  * @category SVG
6
- * @see https://electrovir.github.io/element-vir/vira/book/icons/commit24icon
6
+ * @see https://electrovir.github.io/vira/book/icons/commit24icon
7
7
  */
8
8
  export declare const Commit24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -6,7 +6,7 @@ import { defineIcon } from '../icon-svg.js';
6
6
  *
7
7
  * @category Icon
8
8
  * @category SVG
9
- * @see https://electrovir.github.io/element-vir/vira/book/icons/commit24icon
9
+ * @see https://electrovir.github.io/vira/book/icons/commit24icon
10
10
  */
11
11
  export const Commit24Icon = defineIcon({
12
12
  name: 'Commit24Icon',
@@ -27,6 +27,7 @@ export const Commit24Icon = defineIcon({
27
27
  stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
28
28
  fill=${viraIconCssVars['vira-icon-fill-color'].value}
29
29
  />
30
+
30
31
  <path
31
32
  d="M12 2v6m0 8v6"
32
33
  stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * @category Icon
5
5
  * @category SVG
6
- * @see https://electrovir.github.io/element-vir/vira/book/icons/document24icon
6
+ * @see https://electrovir.github.io/vira/book/icons/document24icon
7
7
  */
8
8
  export declare const Document24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -6,7 +6,7 @@ import { defineIcon } from '../icon-svg.js';
6
6
  *
7
7
  * @category Icon
8
8
  * @category SVG
9
- * @see https://electrovir.github.io/element-vir/vira/book/icons/document24icon
9
+ * @see https://electrovir.github.io/vira/book/icons/document24icon
10
10
  */
11
11
  export const Document24Icon = defineIcon({
12
12
  name: 'Document24Icon',
@@ -24,6 +24,7 @@ export const Document24Icon = defineIcon({
24
24
  stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
25
25
  fill=${viraIconCssVars['vira-icon-fill-color'].value}
26
26
  />
27
+
27
28
  <path
28
29
  d="M13 3v6h6"
29
30
  stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * @category Icon
5
5
  * @category SVG
6
- * @see https://electrovir.github.io/element-vir/vira/book/icons/element16icon
6
+ * @see https://electrovir.github.io/vira/book/icons/element16icon
7
7
  */
8
8
  export declare const Element16Icon: import("../icon-svg.js").ViraIconSvg;
@@ -6,7 +6,7 @@ import { defineIcon } from '../icon-svg.js';
6
6
  *
7
7
  * @category Icon
8
8
  * @category SVG
9
- * @see https://electrovir.github.io/element-vir/vira/book/icons/element16icon
9
+ * @see https://electrovir.github.io/vira/book/icons/element16icon
10
10
  */
11
11
  export const Element16Icon = defineIcon({
12
12
  name: 'Element16Icon',
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * @category Icon
5
5
  * @category SVG
6
- * @see https://electrovir.github.io/element-vir/vira/book/icons/element24icon
6
+ * @see https://electrovir.github.io/vira/book/icons/element24icon
7
7
  */
8
8
  export declare const Element24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -6,7 +6,7 @@ import { defineIcon } from '../icon-svg.js';
6
6
  *
7
7
  * @category Icon
8
8
  * @category SVG
9
- * @see https://electrovir.github.io/element-vir/vira/book/icons/element24icon
9
+ * @see https://electrovir.github.io/vira/book/icons/element24icon
10
10
  */
11
11
  export const Element24Icon = defineIcon({
12
12
  name: 'Element24Icon',
@@ -0,0 +1,8 @@
1
+ /**
2
+ * An external link icon.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/vira/book/icons/externallink24icon
7
+ */
8
+ export declare const ExternalLink24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -0,0 +1,36 @@
1
+ import { html } from 'element-vir';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * An external link icon.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/vira/book/icons/externallink24icon
10
+ */
11
+ export const ExternalLink24Icon = defineIcon({
12
+ name: 'ExternalLink24Icon',
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 7H6a2 2 0 0 0-2 2v9c0 1.1.9 2 2 2h9a2 2 0 0 0 2-2v-5"
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
+ <path
29
+ d="M10 14 20 4m-5 0h5v5"
30
+ stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
31
+ stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
32
+ fill="none"
33
+ />
34
+ </svg>
35
+ `,
36
+ });
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * @category Icon
5
5
  * @category SVG
6
- * @see https://electrovir.github.io/element-vir/vira/book/icons/eyeclosed24icon
6
+ * @see https://electrovir.github.io/vira/book/icons/eyeclosed24icon
7
7
  */
8
8
  export declare const EyeClosed24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -6,7 +6,7 @@ import { defineIcon } from '../icon-svg.js';
6
6
  *
7
7
  * @category Icon
8
8
  * @category SVG
9
- * @see https://electrovir.github.io/element-vir/vira/book/icons/eyeclosed24icon
9
+ * @see https://electrovir.github.io/vira/book/icons/eyeclosed24icon
10
10
  */
11
11
  export const EyeClosed24Icon = defineIcon({
12
12
  name: 'EyeClosed24Icon',
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * @category Icon
5
5
  * @category SVG
6
- * @see https://electrovir.github.io/element-vir/vira/book/icons/eyeopen24icon
6
+ * @see https://electrovir.github.io/vira/book/icons/eyeopen24icon
7
7
  */
8
8
  export declare const EyeOpen24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -6,7 +6,7 @@ import { defineIcon } from '../icon-svg.js';
6
6
  *
7
7
  * @category Icon
8
8
  * @category SVG
9
- * @see https://electrovir.github.io/element-vir/vira/book/icons/eyeopen24icon
9
+ * @see https://electrovir.github.io/vira/book/icons/eyeopen24icon
10
10
  */
11
11
  export const EyeOpen24Icon = defineIcon({
12
12
  name: 'EyeOpen24Icon',
@@ -0,0 +1,8 @@
1
+ /**
2
+ * A link icon.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/vira/book/icons/link24icon
7
+ */
8
+ export declare const Link24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -0,0 +1,37 @@
1
+ import { html } from 'element-vir';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * A link icon.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/vira/book/icons/link24icon
10
+ */
11
+ export const Link24Icon = defineIcon({
12
+ name: 'Link24Icon',
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-miterlimit:2"
18
+ viewBox="0 0 24 24"
19
+ width="24"
20
+ height="24"
21
+ >
22
+ <path
23
+ d="M11.6 14.4a4 4 0 0 1-1.5-6.6l4.2-4.2A4 4 0 0 1 20 9.3l-3 2.9"
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
+
29
+ <path
30
+ d="M12.4 9.6c.5.1 1 .5 1.5.9a4 4 0 0 1 0 5.7l-4.2 4.2A4 4 0 0 1 4 14.7l3-2.9"
31
+ stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
32
+ stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
33
+ fill=${viraIconCssVars['vira-icon-fill-color'].value}
34
+ />
35
+ </svg>
36
+ `,
37
+ });
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * @category Icon
5
5
  * @category SVG
6
- * @see https://electrovir.github.io/element-vir/vira/book/icons/loader24icon
6
+ * @see https://electrovir.github.io/vira/book/icons/loader24icon
7
7
  */
8
8
  export declare const Loader24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -6,7 +6,7 @@ import { defineIcon } from '../icon-svg.js';
6
6
  *
7
7
  * @category Icon
8
8
  * @category SVG
9
- * @see https://electrovir.github.io/element-vir/vira/book/icons/loader24icon
9
+ * @see https://electrovir.github.io/vira/book/icons/loader24icon
10
10
  */
11
11
  export const Loader24Icon = defineIcon({
12
12
  name: 'Loader24Icon',
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * @category Icon
5
5
  * @category SVG
6
- * @see https://electrovir.github.io/element-vir/vira/book/icons/loaderanimated24icon
6
+ * @see https://electrovir.github.io/vira/book/icons/loaderanimated24icon
7
7
  */
8
8
  export declare const LoaderAnimated24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -22,7 +22,7 @@ const animatedLoaderStyles = css `
22
22
  *
23
23
  * @category Icon
24
24
  * @category SVG
25
- * @see https://electrovir.github.io/element-vir/vira/book/icons/loaderanimated24icon
25
+ * @see https://electrovir.github.io/vira/book/icons/loaderanimated24icon
26
26
  */
27
27
  export const LoaderAnimated24Icon = defineIcon({
28
28
  name: 'LoaderAnimated24Icon',
@@ -0,0 +1,8 @@
1
+ /**
2
+ * A lock icon.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/vira/book/icons/lock24icon
7
+ */
8
+ export declare const Lock24Icon: import("../icon-svg.js").ViraIconSvg;