vira 22.2.2 → 23.1.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 (107) hide show
  1. package/dist/elements/define-vira-element.d.ts +22 -1
  2. package/dist/elements/define-vira-element.js +18 -1
  3. package/dist/elements/dropdown/dropdown-helpers.d.ts +26 -3
  4. package/dist/elements/dropdown/dropdown-helpers.js +25 -3
  5. package/dist/elements/dropdown/vira-dropdown-item.element.d.ts +17 -6
  6. package/dist/elements/dropdown/vira-dropdown-item.element.js +12 -6
  7. package/dist/elements/dropdown/vira-dropdown-options.element.d.ts +14 -3
  8. package/dist/elements/dropdown/vira-dropdown-options.element.js +18 -7
  9. package/dist/elements/dropdown/vira-dropdown.element.d.ts +20 -8
  10. package/dist/elements/dropdown/vira-dropdown.element.js +28 -16
  11. package/dist/elements/index.d.ts +10 -10
  12. package/dist/elements/index.js +10 -10
  13. package/dist/elements/shared-text-input-logic.d.ts +20 -0
  14. package/dist/elements/shared-text-input-logic.js +13 -3
  15. package/dist/elements/vira-button.element.d.ts +17 -5
  16. package/dist/elements/vira-button.element.js +27 -15
  17. package/dist/elements/vira-collapsible-wrapper.element.d.ts +9 -2
  18. package/dist/elements/vira-collapsible-wrapper.element.js +10 -3
  19. package/dist/elements/vira-icon.element.d.ts +10 -3
  20. package/dist/elements/vira-icon.element.js +9 -2
  21. package/dist/elements/vira-image.element.d.ts +7 -7
  22. package/dist/elements/vira-image.element.js +20 -17
  23. package/dist/elements/vira-input.element.d.ts +20 -7
  24. package/dist/elements/vira-input.element.js +32 -16
  25. package/dist/elements/vira-link.element.d.ts +10 -2
  26. package/dist/elements/vira-link.element.js +11 -3
  27. package/dist/icons/icon-color.test-helper.d.ts +6 -0
  28. package/dist/icons/icon-color.test-helper.js +9 -0
  29. package/dist/icons/icon-css-vars.d.ts +10 -3
  30. package/dist/icons/icon-css-vars.js +7 -0
  31. package/dist/icons/icon-svg.d.ts +17 -1
  32. package/dist/icons/icon-svg.js +13 -2
  33. package/dist/icons/icon-svgs/chat-24.icon.d.ts +8 -0
  34. package/dist/icons/icon-svgs/chat-24.icon.js +23 -0
  35. package/dist/icons/icon-svgs/check-24.icon.d.ts +8 -1
  36. package/dist/icons/icon-svgs/check-24.icon.js +9 -2
  37. package/dist/icons/icon-svgs/chevron-up-24.icon.d.ts +8 -1
  38. package/dist/icons/icon-svgs/chevron-up-24.icon.js +9 -2
  39. package/dist/icons/icon-svgs/close-x-24.icon.d.ts +8 -1
  40. package/dist/icons/icon-svgs/close-x-24.icon.js +9 -2
  41. package/dist/icons/icon-svgs/commit-24.icon.d.ts +8 -0
  42. package/dist/icons/icon-svgs/commit-24.icon.js +37 -0
  43. package/dist/icons/icon-svgs/document-24.icon.d.ts +8 -0
  44. package/dist/icons/icon-svgs/document-24.icon.js +29 -0
  45. package/dist/icons/icon-svgs/element-16.icon.d.ts +8 -1
  46. package/dist/icons/icon-svgs/element-16.icon.js +9 -2
  47. package/dist/icons/icon-svgs/element-24.icon.d.ts +8 -1
  48. package/dist/icons/icon-svgs/element-24.icon.js +9 -2
  49. package/dist/icons/icon-svgs/eye-closed-24.icon.d.ts +8 -1
  50. package/dist/icons/icon-svgs/eye-closed-24.icon.js +9 -2
  51. package/dist/icons/icon-svgs/eye-open-24.icon.d.ts +8 -1
  52. package/dist/icons/icon-svgs/eye-open-24.icon.js +9 -3
  53. package/dist/icons/icon-svgs/loader-24.icon.d.ts +8 -1
  54. package/dist/icons/icon-svgs/loader-24.icon.js +9 -2
  55. package/dist/icons/icon-svgs/loader-animated-24.icon.d.ts +8 -1
  56. package/dist/icons/icon-svgs/loader-animated-24.icon.js +10 -3
  57. package/dist/icons/icon-svgs/options-24.icon.d.ts +8 -1
  58. package/dist/icons/icon-svgs/options-24.icon.js +10 -3
  59. package/dist/icons/icon-svgs/pencil-24.icon.d.ts +8 -0
  60. package/dist/icons/icon-svgs/pencil-24.icon.js +29 -0
  61. package/dist/icons/icon-svgs/shield-24.icon.d.ts +8 -0
  62. package/dist/icons/icon-svgs/shield-24.icon.js +23 -0
  63. package/dist/icons/icon-svgs/star-24.icon.d.ts +8 -0
  64. package/dist/icons/icon-svgs/star-24.icon.js +23 -0
  65. package/dist/icons/icon-svgs/status-failure-24.icon.d.ts +8 -1
  66. package/dist/icons/icon-svgs/status-failure-24.icon.js +9 -2
  67. package/dist/icons/icon-svgs/status-in-progress-24.icon.d.ts +8 -1
  68. package/dist/icons/icon-svgs/status-in-progress-24.icon.js +9 -2
  69. package/dist/icons/icon-svgs/status-success-24.icon.d.ts +8 -1
  70. package/dist/icons/icon-svgs/status-success-24.icon.js +9 -2
  71. package/dist/icons/index.d.ts +39 -28
  72. package/dist/icons/index.js +45 -28
  73. package/dist/index.d.ts +5 -5
  74. package/dist/index.js +5 -5
  75. package/dist/re-exports/colorjs-io.d.ts +12 -0
  76. package/dist/re-exports/colorjs-io.js +6 -0
  77. package/dist/re-exports/index.d.ts +1 -1
  78. package/dist/re-exports/index.js +1 -1
  79. package/dist/styles/border.d.ts +7 -1
  80. package/dist/styles/border.js +6 -0
  81. package/dist/styles/color.d.ts +12 -2
  82. package/dist/styles/color.js +14 -8
  83. package/dist/styles/disabled.d.ts +5 -0
  84. package/dist/styles/disabled.js +5 -0
  85. package/dist/styles/durations.d.ts +17 -7
  86. package/dist/styles/durations.js +14 -4
  87. package/dist/styles/focus.d.ts +12 -4
  88. package/dist/styles/focus.js +11 -3
  89. package/dist/styles/form-themes.d.ts +12 -6
  90. package/dist/styles/form-themes.js +7 -1
  91. package/dist/styles/index.d.ts +10 -10
  92. package/dist/styles/index.js +10 -10
  93. package/dist/styles/native-styles.d.ts +11 -0
  94. package/dist/styles/native-styles.js +11 -0
  95. package/dist/styles/scrollbar.d.ts +5 -0
  96. package/dist/styles/scrollbar.js +5 -0
  97. package/dist/styles/shadows.d.ts +5 -0
  98. package/dist/styles/shadows.js +5 -0
  99. package/dist/styles/user-select.d.ts +5 -0
  100. package/dist/styles/user-select.js +5 -0
  101. package/dist/util/index.d.ts +1 -1
  102. package/dist/util/index.js +1 -1
  103. package/dist/util/pop-up-manager.d.ts +61 -6
  104. package/dist/util/pop-up-manager.js +43 -33
  105. package/package.json +35 -31
  106. package/dist/elements/dropdown/dropdown.mock.d.ts +0 -13
  107. package/dist/elements/dropdown/dropdown.mock.js +0 -18
@@ -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
+ * An icon that represents a single commit in git.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/commit24icon
10
+ */
11
+ export const Commit24Icon = defineIcon({
12
+ name: 'Commit24Icon',
13
+ svgTemplate: html `
14
+ <svg
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ xml:space="preserve"
17
+ width="24"
18
+ height="24"
19
+ style="fill-rule:evenodd;clip-rule:evenodd;stroke-miterlimit:1.5"
20
+ >
21
+ <circle
22
+ cx="12"
23
+ cy="12"
24
+ r="4"
25
+ stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
26
+ stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
27
+ fill=${viraIconCssVars['vira-icon-fill-color'].value}
28
+ />
29
+ <path
30
+ d="M12 2v6m0 8v6"
31
+ stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
32
+ stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
33
+ fill="none"
34
+ />
35
+ </svg>
36
+ `,
37
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * An icon that represents a single document file on a computer file system.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/document24icon
7
+ */
8
+ export declare const Document24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -0,0 +1,29 @@
1
+ import { html } from 'element-vir';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * An icon that represents a single document file on a computer file system.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/document24icon
10
+ */
11
+ export const Document24Icon = defineIcon({
12
+ name: 'Document24Icon',
13
+ svgTemplate: html `
14
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="24" height="24">
15
+ <path
16
+ d="m19 9-6-6H5v18h14V9Z"
17
+ stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
18
+ stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
19
+ fill=${viraIconCssVars['vira-icon-fill-color'].value}
20
+ />
21
+ <path
22
+ d="M13 3v6h6"
23
+ stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
24
+ stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
25
+ fill="none"
26
+ />
27
+ </svg>
28
+ `,
29
+ });
@@ -1 +1,8 @@
1
- export declare const Element16Icon: import("../icon-svg").ViraIconSvg;
1
+ /**
2
+ * An icon symbol that represents an HTML element.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/element16icon
7
+ */
8
+ export declare const Element16Icon: import("../icon-svg.js").ViraIconSvg;
@@ -1,6 +1,13 @@
1
1
  import { html } from 'element-vir';
2
- import { viraIconCssVars } from '../icon-css-vars';
3
- import { defineIcon } from '../icon-svg';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * An icon symbol that represents an HTML element.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/element16icon
10
+ */
4
11
  export const Element16Icon = defineIcon({
5
12
  name: 'Element16Icon',
6
13
  svgTemplate: html `
@@ -1 +1,8 @@
1
- export declare const Element24Icon: import("../icon-svg").ViraIconSvg;
1
+ /**
2
+ * An icon symbol that represents an HTML element.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/element24icon
7
+ */
8
+ export declare const Element24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -1,6 +1,13 @@
1
1
  import { html } from 'element-vir';
2
- import { viraIconCssVars } from '../icon-css-vars';
3
- import { defineIcon } from '../icon-svg';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * An icon symbol that represents an HTML element.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/element24icon
10
+ */
4
11
  export const Element24Icon = defineIcon({
5
12
  name: 'Element24Icon',
6
13
  svgTemplate: html `
@@ -1 +1,8 @@
1
- export declare const EyeClosed24Icon: import("../icon-svg").ViraIconSvg;
1
+ /**
2
+ * A closed or disable eye icon.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/eyeclosed24icon
7
+ */
8
+ export declare const EyeClosed24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -1,6 +1,13 @@
1
1
  import { html } from 'element-vir';
2
- import { viraIconCssVars } from '../icon-css-vars';
3
- import { defineIcon } from '../icon-svg';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * A closed or disable eye icon.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/eyeclosed24icon
10
+ */
4
11
  export const EyeClosed24Icon = defineIcon({
5
12
  name: 'EyeClosed24Icon',
6
13
  svgTemplate: html `
@@ -1 +1,8 @@
1
- export declare const EyeOpen24Icon: import("../icon-svg").ViraIconSvg;
1
+ /**
2
+ * An open eye icon.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/eyeopen24icon
7
+ */
8
+ export declare const EyeOpen24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -1,6 +1,13 @@
1
1
  import { html } from 'element-vir';
2
- import { viraIconCssVars } from '../icon-css-vars';
3
- import { defineIcon } from '../icon-svg';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * An open eye icon.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/eyeopen24icon
10
+ */
4
11
  export const EyeOpen24Icon = defineIcon({
5
12
  name: 'EyeOpen24Icon',
6
13
  svgTemplate: html `
@@ -19,4 +26,3 @@ export const EyeOpen24Icon = defineIcon({
19
26
  </svg>
20
27
  `,
21
28
  });
22
- // xml:space="preserve"
@@ -1 +1,8 @@
1
- export declare const Loader24Icon: import("../icon-svg").ViraIconSvg;
1
+ /**
2
+ * A static loading icon.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/loader24icon
7
+ */
8
+ export declare const Loader24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -1,6 +1,13 @@
1
1
  import { html } from 'element-vir';
2
- import { viraIconCssVars } from '../icon-css-vars';
3
- import { defineIcon } from '../icon-svg';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * A static loading icon.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/loader24icon
10
+ */
4
11
  export const Loader24Icon = defineIcon({
5
12
  name: 'Loader24Icon',
6
13
  svgTemplate: html `
@@ -1 +1,8 @@
1
- export declare const LoaderAnimated24Icon: import("../icon-svg").ViraIconSvg;
1
+ /**
2
+ * A variation of {@link Loader24Icon} that spins on its own.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/loaderanimated24icon
7
+ */
8
+ export declare const LoaderAnimated24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -1,7 +1,7 @@
1
1
  import { css, html } from 'element-vir';
2
- import { viraAnimationDurations } from '../../styles/durations';
3
- import { defineIcon } from '../icon-svg';
4
- import { Loader24Icon } from './loader-24.icon';
2
+ import { viraAnimationDurations } from '../../styles/durations.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ import { Loader24Icon } from './loader-24.icon.js';
5
5
  const animatedLoaderStyles = css `
6
6
  @keyframes loader-animated-spin {
7
7
  from {
@@ -17,6 +17,13 @@ const animatedLoaderStyles = css `
17
17
  loader-animated-spin infinite;
18
18
  }
19
19
  `;
20
+ /**
21
+ * A variation of {@link Loader24Icon} that spins on its own.
22
+ *
23
+ * @category Icon
24
+ * @category SVG
25
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/loaderanimated24icon
26
+ */
20
27
  export const LoaderAnimated24Icon = defineIcon({
21
28
  name: 'LoaderAnimated24Icon',
22
29
  svgTemplate: html `
@@ -1 +1,8 @@
1
- export declare const Options24Icon: import("../icon-svg").ViraIconSvg;
1
+ /**
2
+ * An icon that represents configuration options.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/options24icon
7
+ */
8
+ export declare const Options24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -1,6 +1,13 @@
1
1
  import { html } from 'element-vir';
2
- import { viraIconCssVars } from '../icon-css-vars';
3
- import { defineIcon } from '../icon-svg';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * An icon that represents configuration options.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/options24icon
10
+ */
4
11
  export const Options24Icon = defineIcon({
5
12
  name: 'Options24Icon',
6
13
  svgTemplate: html `
@@ -17,7 +24,7 @@ export const Options24Icon = defineIcon({
17
24
  <path
18
25
  d="M3 5.5h3.5m5 0h8.5M3 12.5h11m5 0h2M3 18.5h3m5 0h10"
19
26
  fill="none"
20
- stroke="${viraIconCssVars['vira-icon-stroke-color'].value}"
27
+ stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
21
28
  stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
22
29
  />
23
30
  </svg>
@@ -0,0 +1,8 @@
1
+ /**
2
+ * A pencil icon.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/pencil24icon
7
+ */
8
+ export declare const Pencil24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -0,0 +1,29 @@
1
+ import { html } from 'element-vir';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * A pencil icon.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/pencil24icon
10
+ */
11
+ export const Pencil24Icon = defineIcon({
12
+ name: 'Pencil24Icon',
13
+ svgTemplate: html `
14
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24">
15
+ <path
16
+ d="M20.041 4.966c.303-.418.097-1.085-.459-1.489l-1.771-1.285c-.557-.404-1.255-.393-1.558.025L5.12 17.561l-.167 4.215 3.955-1.467S19.965 5.071 20.041 4.966"
17
+ stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
18
+ stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
19
+ fill=${viraIconCssVars['vira-icon-fill-color'].value}
20
+ />
21
+ <path
22
+ d="m5.384 17.197 3.788 2.749m5.97-16.198 3.788 2.749"
23
+ stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
24
+ stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
25
+ fill="none"
26
+ />
27
+ </svg>
28
+ `,
29
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * A shield icon.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/shield24icon
7
+ */
8
+ export declare const Shield24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -0,0 +1,23 @@
1
+ import { html } from 'element-vir';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * A shield icon.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/shield24icon
10
+ */
11
+ export const Shield24Icon = defineIcon({
12
+ name: 'Shield24Icon',
13
+ svgTemplate: html `
14
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="24" height="24">
15
+ <path
16
+ d="M12 21s-8-3.5-8-10V6s4.8-.1 8-3c3.2 2.9 8 3 8 3v5c0 6.5-8 10-8 10Z"
17
+ stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
18
+ stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
19
+ fill=${viraIconCssVars['vira-icon-fill-color'].value}
20
+ />
21
+ </svg>
22
+ `,
23
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * A star icon.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/star24icon
7
+ */
8
+ export declare const Star24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -0,0 +1,23 @@
1
+ import { html } from 'element-vir';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * A star icon.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/star24icon
10
+ */
11
+ export const Star24Icon = defineIcon({
12
+ name: 'Star24Icon',
13
+ svgTemplate: html `
14
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" stroke-miterlimit="2">
15
+ <path
16
+ d="m12 2 2.25 6.91h7.26l-5.88 4.27 2.25 6.91L12 15.82l-5.88 4.27 2.25-6.91-5.88-4.27h7.27L12 2Z"
17
+ stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
18
+ stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
19
+ fill=${viraIconCssVars['vira-icon-fill-color'].value}
20
+ />
21
+ </svg>
22
+ `,
23
+ });
@@ -1 +1,8 @@
1
- export declare const StatusFailure24Icon: import("../icon-svg").ViraIconSvg;
1
+ /**
2
+ * A status icon with an x that indicates something failed (like a build pipeline).
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/statusfailure24icon
7
+ */
8
+ export declare const StatusFailure24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -1,6 +1,13 @@
1
1
  import { html } from 'element-vir';
2
- import { viraIconCssVars } from '../icon-css-vars';
3
- import { defineIcon } from '../icon-svg';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * A status icon with an x that indicates something failed (like a build pipeline).
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/statusfailure24icon
10
+ */
4
11
  export const StatusFailure24Icon = defineIcon({
5
12
  name: 'StatusFailure24Icon',
6
13
  svgTemplate: html `
@@ -1 +1,8 @@
1
- export declare const StatusInProgress24Icon: import("../icon-svg").ViraIconSvg;
1
+ /**
2
+ * A status icon that indicates that something is still in progress.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/statusinprogress24icon
7
+ */
8
+ export declare const StatusInProgress24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -1,6 +1,13 @@
1
1
  import { html } from 'element-vir';
2
- import { viraIconCssVars } from '../icon-css-vars';
3
- import { defineIcon } from '../icon-svg';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * A status icon that indicates that something is still in progress.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/statusinprogress24icon
10
+ */
4
11
  export const StatusInProgress24Icon = defineIcon({
5
12
  name: 'StatusInProgress24Icon',
6
13
  svgTemplate: html `
@@ -1 +1,8 @@
1
- export declare const StatusSuccess24Icon: import("../icon-svg").ViraIconSvg;
1
+ /**
2
+ * A status icon that indicates success.
3
+ *
4
+ * @category Icon
5
+ * @category SVG
6
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/statussuccess24icon
7
+ */
8
+ export declare const StatusSuccess24Icon: import("../icon-svg.js").ViraIconSvg;
@@ -1,6 +1,13 @@
1
1
  import { html } from 'element-vir';
2
- import { viraIconCssVars } from '../icon-css-vars';
3
- import { defineIcon } from '../icon-svg';
2
+ import { viraIconCssVars } from '../icon-css-vars.js';
3
+ import { defineIcon } from '../icon-svg.js';
4
+ /**
5
+ * A status icon that indicates success.
6
+ *
7
+ * @category Icon
8
+ * @category SVG
9
+ * @see https://electrovir.github.io/element-vir/vira/book/icons/statussuccess24icon
10
+ */
4
11
  export const StatusSuccess24Icon = defineIcon({
5
12
  name: 'StatusSuccess24Icon',
6
13
  svgTemplate: html `
@@ -1,31 +1,42 @@
1
1
  /** This file is automatically updated by update-icon-exports.ts */
2
- export * from './icon-css-vars';
3
- export * from './icon-svg';
4
- export * from './icon-svgs/check-24.icon';
5
- export * from './icon-svgs/chevron-up-24.icon';
6
- export * from './icon-svgs/close-x-24.icon';
7
- export * from './icon-svgs/element-16.icon';
8
- export * from './icon-svgs/element-24.icon';
9
- export * from './icon-svgs/eye-closed-24.icon';
10
- export * from './icon-svgs/eye-open-24.icon';
11
- export * from './icon-svgs/loader-24.icon';
12
- export * from './icon-svgs/loader-animated-24.icon';
13
- export * from './icon-svgs/options-24.icon';
14
- export * from './icon-svgs/status-failure-24.icon';
15
- export * from './icon-svgs/status-in-progress-24.icon';
16
- export * from './icon-svgs/status-success-24.icon';
2
+ export * from './icon-css-vars.js';
3
+ export * from './icon-svg.js';
4
+ export * from './icon-svgs/check-24.icon.js';
5
+ export * from './icon-svgs/chevron-up-24.icon.js';
6
+ export * from './icon-svgs/close-x-24.icon.js';
7
+ export * from './icon-svgs/element-16.icon.js';
8
+ export * from './icon-svgs/element-24.icon.js';
9
+ export * from './icon-svgs/eye-closed-24.icon.js';
10
+ export * from './icon-svgs/eye-open-24.icon.js';
11
+ export * from './icon-svgs/loader-24.icon.js';
12
+ export * from './icon-svgs/loader-animated-24.icon.js';
13
+ export * from './icon-svgs/options-24.icon.js';
14
+ export * from './icon-svgs/status-failure-24.icon.js';
15
+ export * from './icon-svgs/status-in-progress-24.icon.js';
16
+ export * from './icon-svgs/status-success-24.icon.js';
17
+ /**
18
+ * All Vira icons in an object mapped by their icon name.
19
+ *
20
+ * @category Icon
21
+ */
17
22
  export declare const allIconsByName: {
18
- readonly Check24Icon: import("./icon-svg").ViraIconSvg;
19
- readonly ChevronUp24Icon: import("./icon-svg").ViraIconSvg;
20
- readonly CloseX24Icon: import("./icon-svg").ViraIconSvg;
21
- readonly Element16Icon: import("./icon-svg").ViraIconSvg;
22
- readonly Element24Icon: import("./icon-svg").ViraIconSvg;
23
- readonly EyeClosed24Icon: import("./icon-svg").ViraIconSvg;
24
- readonly EyeOpen24Icon: import("./icon-svg").ViraIconSvg;
25
- readonly Loader24Icon: import("./icon-svg").ViraIconSvg;
26
- readonly LoaderAnimated24Icon: import("./icon-svg").ViraIconSvg;
27
- readonly Options24Icon: import("./icon-svg").ViraIconSvg;
28
- readonly StatusFailure24Icon: import("./icon-svg").ViraIconSvg;
29
- readonly StatusInProgress24Icon: import("./icon-svg").ViraIconSvg;
30
- readonly StatusSuccess24Icon: import("./icon-svg").ViraIconSvg;
23
+ readonly Chat24Icon: import("./icon-svg.js").ViraIconSvg;
24
+ readonly Check24Icon: import("./icon-svg.js").ViraIconSvg;
25
+ readonly ChevronUp24Icon: import("./icon-svg.js").ViraIconSvg;
26
+ readonly CloseX24Icon: import("./icon-svg.js").ViraIconSvg;
27
+ readonly Commit24Icon: import("./icon-svg.js").ViraIconSvg;
28
+ readonly Document24Icon: import("./icon-svg.js").ViraIconSvg;
29
+ readonly Element16Icon: import("./icon-svg.js").ViraIconSvg;
30
+ readonly Element24Icon: import("./icon-svg.js").ViraIconSvg;
31
+ readonly EyeClosed24Icon: import("./icon-svg.js").ViraIconSvg;
32
+ readonly EyeOpen24Icon: import("./icon-svg.js").ViraIconSvg;
33
+ readonly Loader24Icon: import("./icon-svg.js").ViraIconSvg;
34
+ readonly LoaderAnimated24Icon: import("./icon-svg.js").ViraIconSvg;
35
+ readonly Options24Icon: import("./icon-svg.js").ViraIconSvg;
36
+ readonly Pencil24Icon: import("./icon-svg.js").ViraIconSvg;
37
+ readonly Shield24Icon: import("./icon-svg.js").ViraIconSvg;
38
+ readonly Star24Icon: import("./icon-svg.js").ViraIconSvg;
39
+ readonly StatusFailure24Icon: import("./icon-svg.js").ViraIconSvg;
40
+ readonly StatusInProgress24Icon: import("./icon-svg.js").ViraIconSvg;
41
+ readonly StatusSuccess24Icon: import("./icon-svg.js").ViraIconSvg;
31
42
  };