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.
- package/dist/elements/define-vira-element.d.ts +22 -1
- package/dist/elements/define-vira-element.js +18 -1
- package/dist/elements/dropdown/dropdown-helpers.d.ts +26 -3
- package/dist/elements/dropdown/dropdown-helpers.js +25 -3
- package/dist/elements/dropdown/vira-dropdown-item.element.d.ts +17 -6
- package/dist/elements/dropdown/vira-dropdown-item.element.js +12 -6
- package/dist/elements/dropdown/vira-dropdown-options.element.d.ts +14 -3
- package/dist/elements/dropdown/vira-dropdown-options.element.js +18 -7
- package/dist/elements/dropdown/vira-dropdown.element.d.ts +20 -8
- package/dist/elements/dropdown/vira-dropdown.element.js +28 -16
- package/dist/elements/index.d.ts +10 -10
- package/dist/elements/index.js +10 -10
- package/dist/elements/shared-text-input-logic.d.ts +20 -0
- package/dist/elements/shared-text-input-logic.js +13 -3
- package/dist/elements/vira-button.element.d.ts +17 -5
- package/dist/elements/vira-button.element.js +27 -15
- package/dist/elements/vira-collapsible-wrapper.element.d.ts +9 -2
- package/dist/elements/vira-collapsible-wrapper.element.js +10 -3
- package/dist/elements/vira-icon.element.d.ts +10 -3
- package/dist/elements/vira-icon.element.js +9 -2
- package/dist/elements/vira-image.element.d.ts +7 -7
- package/dist/elements/vira-image.element.js +20 -17
- package/dist/elements/vira-input.element.d.ts +20 -7
- package/dist/elements/vira-input.element.js +32 -16
- package/dist/elements/vira-link.element.d.ts +10 -2
- package/dist/elements/vira-link.element.js +11 -3
- package/dist/icons/icon-color.test-helper.d.ts +6 -0
- package/dist/icons/icon-color.test-helper.js +9 -0
- package/dist/icons/icon-css-vars.d.ts +10 -3
- package/dist/icons/icon-css-vars.js +7 -0
- package/dist/icons/icon-svg.d.ts +17 -1
- package/dist/icons/icon-svg.js +13 -2
- package/dist/icons/icon-svgs/chat-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/chat-24.icon.js +23 -0
- package/dist/icons/icon-svgs/check-24.icon.d.ts +8 -1
- package/dist/icons/icon-svgs/check-24.icon.js +9 -2
- package/dist/icons/icon-svgs/chevron-up-24.icon.d.ts +8 -1
- package/dist/icons/icon-svgs/chevron-up-24.icon.js +9 -2
- package/dist/icons/icon-svgs/close-x-24.icon.d.ts +8 -1
- package/dist/icons/icon-svgs/close-x-24.icon.js +9 -2
- package/dist/icons/icon-svgs/commit-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/commit-24.icon.js +37 -0
- package/dist/icons/icon-svgs/document-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/document-24.icon.js +29 -0
- package/dist/icons/icon-svgs/element-16.icon.d.ts +8 -1
- package/dist/icons/icon-svgs/element-16.icon.js +9 -2
- package/dist/icons/icon-svgs/element-24.icon.d.ts +8 -1
- package/dist/icons/icon-svgs/element-24.icon.js +9 -2
- package/dist/icons/icon-svgs/eye-closed-24.icon.d.ts +8 -1
- package/dist/icons/icon-svgs/eye-closed-24.icon.js +9 -2
- package/dist/icons/icon-svgs/eye-open-24.icon.d.ts +8 -1
- package/dist/icons/icon-svgs/eye-open-24.icon.js +9 -3
- package/dist/icons/icon-svgs/loader-24.icon.d.ts +8 -1
- package/dist/icons/icon-svgs/loader-24.icon.js +9 -2
- package/dist/icons/icon-svgs/loader-animated-24.icon.d.ts +8 -1
- package/dist/icons/icon-svgs/loader-animated-24.icon.js +10 -3
- package/dist/icons/icon-svgs/options-24.icon.d.ts +8 -1
- package/dist/icons/icon-svgs/options-24.icon.js +10 -3
- package/dist/icons/icon-svgs/pencil-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/pencil-24.icon.js +29 -0
- package/dist/icons/icon-svgs/shield-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/shield-24.icon.js +23 -0
- package/dist/icons/icon-svgs/star-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/star-24.icon.js +23 -0
- package/dist/icons/icon-svgs/status-failure-24.icon.d.ts +8 -1
- package/dist/icons/icon-svgs/status-failure-24.icon.js +9 -2
- package/dist/icons/icon-svgs/status-in-progress-24.icon.d.ts +8 -1
- package/dist/icons/icon-svgs/status-in-progress-24.icon.js +9 -2
- package/dist/icons/icon-svgs/status-success-24.icon.d.ts +8 -1
- package/dist/icons/icon-svgs/status-success-24.icon.js +9 -2
- package/dist/icons/index.d.ts +39 -28
- package/dist/icons/index.js +45 -28
- package/dist/index.d.ts +5 -5
- package/dist/index.js +5 -5
- package/dist/re-exports/colorjs-io.d.ts +12 -0
- package/dist/re-exports/colorjs-io.js +6 -0
- package/dist/re-exports/index.d.ts +1 -1
- package/dist/re-exports/index.js +1 -1
- package/dist/styles/border.d.ts +7 -1
- package/dist/styles/border.js +6 -0
- package/dist/styles/color.d.ts +12 -2
- package/dist/styles/color.js +14 -8
- package/dist/styles/disabled.d.ts +5 -0
- package/dist/styles/disabled.js +5 -0
- package/dist/styles/durations.d.ts +17 -7
- package/dist/styles/durations.js +14 -4
- package/dist/styles/focus.d.ts +12 -4
- package/dist/styles/focus.js +11 -3
- package/dist/styles/form-themes.d.ts +12 -6
- package/dist/styles/form-themes.js +7 -1
- package/dist/styles/index.d.ts +10 -10
- package/dist/styles/index.js +10 -10
- package/dist/styles/native-styles.d.ts +11 -0
- package/dist/styles/native-styles.js +11 -0
- package/dist/styles/scrollbar.d.ts +5 -0
- package/dist/styles/scrollbar.js +5 -0
- package/dist/styles/shadows.d.ts +5 -0
- package/dist/styles/shadows.js +5 -0
- package/dist/styles/user-select.d.ts +5 -0
- package/dist/styles/user-select.js +5 -0
- package/dist/util/index.d.ts +1 -1
- package/dist/util/index.js +1 -1
- package/dist/util/pop-up-manager.d.ts +61 -6
- package/dist/util/pop-up-manager.js +43 -33
- package/package.json +35 -31
- package/dist/elements/dropdown/dropdown.mock.d.ts +0 -13
- 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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,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,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,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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 `
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -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
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
30
|
-
readonly
|
|
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
|
};
|