vira 29.3.2 → 29.5.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/pop-up/pop-up-menu-item.d.ts +5 -0
- package/dist/elements/pop-up/vira-menu.element.js +13 -5
- package/dist/elements/shared-text-input-logic.d.ts +1 -1
- package/dist/elements/shared-text-input-logic.js +5 -3
- package/dist/icons/icon-svgs/arrow-up-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/arrow-up-24.icon.js +31 -0
- package/dist/icons/icon-svgs/auto-theme-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/auto-theme-24.icon.js +36 -0
- package/dist/icons/icon-svgs/globe-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/globe-24.icon.js +39 -0
- package/dist/icons/icon-svgs/link-24.icon.js +6 -1
- package/dist/icons/icon-svgs/magnifying-glass-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/magnifying-glass-24.icon.js +31 -0
- package/dist/icons/icon-svgs/moon-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/moon-24.icon.js +27 -0
- package/dist/icons/icon-svgs/printer-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/printer-24.icon.js +31 -0
- package/dist/icons/icon-svgs/sparkle-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/sparkle-24.icon.js +30 -0
- package/dist/icons/icon-svgs/sun-24.icon.d.ts +8 -0
- package/dist/icons/icon-svgs/sun-24.icon.js +37 -0
- package/dist/icons/index.d.ts +16 -0
- package/dist/icons/index.js +24 -0
- package/package.json +2 -2
|
@@ -19,6 +19,11 @@ export type MenuItem = {
|
|
|
19
19
|
*/
|
|
20
20
|
label: string | HTMLTemplateResult;
|
|
21
21
|
} & PartialWithUndefined<{
|
|
22
|
+
/**
|
|
23
|
+
* If set to `true`, the default hover styles aren't applied to the menu item. This is best used
|
|
24
|
+
* with a template `label` (rather than a plain string).
|
|
25
|
+
*/
|
|
26
|
+
disableDefaultPointerStyles: boolean;
|
|
22
27
|
route: ViraLinkRoute;
|
|
23
28
|
disabled: boolean;
|
|
24
29
|
/** Text assigned to the `title` HTML attribute that'll show on long hover. */
|
|
@@ -54,20 +54,26 @@ export const ViraMenu = defineViraElement()({
|
|
|
54
54
|
will-change: background-color;
|
|
55
55
|
background-color: inherit;
|
|
56
56
|
outline: none;
|
|
57
|
-
|
|
57
|
+
|
|
58
|
+
&.default-pointer-styles {
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
}
|
|
61
|
+
&.no-default-pointer-styles {
|
|
62
|
+
cursor: auto !important;
|
|
63
|
+
}
|
|
58
64
|
}
|
|
59
65
|
|
|
60
66
|
${navAttribute.css({
|
|
61
|
-
baseSelector: '.menu-item:not(.disabled):not(.selected)',
|
|
67
|
+
baseSelector: '.menu-item.default-pointer-styles:not(.disabled):not(.selected)',
|
|
62
68
|
navValue: NavValue.Focused,
|
|
63
|
-
})}, .menu-item:not(.disabled):not(.selected):hover {
|
|
69
|
+
})}, .menu-item.default-pointer-styles:not(.disabled):not(.selected):hover {
|
|
64
70
|
background-color: ${viraFormCssVars['vira-form-selection-hover-color'].value};
|
|
65
71
|
outline: none;
|
|
66
72
|
}
|
|
67
73
|
${navAttribute.css({
|
|
68
|
-
baseSelector: '.menu-item:not(.disabled):not(.selected)',
|
|
74
|
+
baseSelector: '.menu-item.default-pointer-styles:not(.disabled):not(.selected)',
|
|
69
75
|
navValue: NavValue.Active,
|
|
70
|
-
})}, .menu-item:not(.disabled):not(.selected):active {
|
|
76
|
+
})}, .menu-item.default-pointer-styles:not(.disabled):not(.selected):active {
|
|
71
77
|
background-color: ${viraFormCssVars['vira-form-selection-active-color'].value};
|
|
72
78
|
outline: none;
|
|
73
79
|
}
|
|
@@ -147,6 +153,8 @@ export const ViraMenu = defineViraElement()({
|
|
|
147
153
|
class="menu-item ${classMap({
|
|
148
154
|
disabled: !!item.disabled,
|
|
149
155
|
selected,
|
|
156
|
+
'default-pointer-styles': !item.disableDefaultPointerStyles,
|
|
157
|
+
'no-default-pointer-styles': !!item.disableDefaultPointerStyles,
|
|
150
158
|
})}"
|
|
151
159
|
${testId(viraMenuTestIds.item)}
|
|
152
160
|
title=${ifDefined(item.titleText || undefined)}
|
|
@@ -14,7 +14,8 @@ function doesMatch({ input, matcher }) {
|
|
|
14
14
|
return matcher.includes(input);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
function isAllowed({ value, allowed, blocked }) {
|
|
17
|
+
function isAllowed({ value: rawValue, allowed, blocked }) {
|
|
18
|
+
const value = String(rawValue);
|
|
18
19
|
const isAllowedCharacter = allowed
|
|
19
20
|
? doesMatch({
|
|
20
21
|
input: value,
|
|
@@ -35,10 +36,11 @@ function isAllowed({ value, allowed, blocked }) {
|
|
|
35
36
|
* @category Internal
|
|
36
37
|
*/
|
|
37
38
|
export function filterTextInputValue(inputs) {
|
|
39
|
+
const value = String(inputs.value);
|
|
38
40
|
if (!inputs.value) {
|
|
39
|
-
return { filtered:
|
|
41
|
+
return { filtered: value, blocked: '' };
|
|
40
42
|
}
|
|
41
|
-
const { filtered, blocked } =
|
|
43
|
+
const { filtered, blocked } = value.split('').reduce((accum, letter) => {
|
|
42
44
|
const allowed = isAllowed({ ...inputs, value: letter });
|
|
43
45
|
if (allowed) {
|
|
44
46
|
accum.filtered.push(letter);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { html } from 'element-vir';
|
|
2
|
+
import { viraIconCssVars } from '../icon-css-vars.js';
|
|
3
|
+
import { defineIcon } from '../icon-svg.js';
|
|
4
|
+
/**
|
|
5
|
+
* An arrow up icon.
|
|
6
|
+
*
|
|
7
|
+
* @category Icon
|
|
8
|
+
* @category SVG
|
|
9
|
+
* @see https://electrovir.github.io/vira/book/icons/arrowup24icon
|
|
10
|
+
*/
|
|
11
|
+
export const ArrowUp24Icon = defineIcon({
|
|
12
|
+
name: 'ArrowUp24Icon',
|
|
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="M12 19V5m0 0-7 7m7-7 7 7"
|
|
24
|
+
style="fill-rule:nonzero"
|
|
25
|
+
fill="none"
|
|
26
|
+
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
|
|
27
|
+
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
|
|
28
|
+
/>
|
|
29
|
+
</svg>
|
|
30
|
+
`,
|
|
31
|
+
});
|
|
@@ -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 auto theme icon.
|
|
6
|
+
*
|
|
7
|
+
* @category Icon
|
|
8
|
+
* @category SVG
|
|
9
|
+
* @see https://electrovir.github.io/vira/book/icons/autotheme24icon
|
|
10
|
+
*/
|
|
11
|
+
export const AutoTheme24Icon = defineIcon({
|
|
12
|
+
name: 'AutoTheme24Icon',
|
|
13
|
+
svgTemplate: html `
|
|
14
|
+
<svg
|
|
15
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
16
|
+
width="24"
|
|
17
|
+
height="24"
|
|
18
|
+
xml:space="preserve"
|
|
19
|
+
style="fill-rule:evenodd;clip-rule:evenodd"
|
|
20
|
+
viewBox="0 0 24 24"
|
|
21
|
+
>
|
|
22
|
+
<path
|
|
23
|
+
d="M12 4c4.39 0 8 3.61 8 8s-3.61 8-8 8z"
|
|
24
|
+
fill=${viraIconCssVars['vira-icon-stroke-color'].value}
|
|
25
|
+
stroke="none"
|
|
26
|
+
style="fill-rule:nonzero"
|
|
27
|
+
/>
|
|
28
|
+
<path
|
|
29
|
+
d="M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 0v16"
|
|
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
|
+
});
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { html } from 'element-vir';
|
|
2
|
+
import { viraIconCssVars } from '../icon-css-vars.js';
|
|
3
|
+
import { defineIcon } from '../icon-svg.js';
|
|
4
|
+
/**
|
|
5
|
+
* A globe icon.
|
|
6
|
+
*
|
|
7
|
+
* @category Icon
|
|
8
|
+
* @category SVG
|
|
9
|
+
* @see https://electrovir.github.io/vira/book/icons/globe24icon
|
|
10
|
+
*/
|
|
11
|
+
export const Globe24Icon = defineIcon({
|
|
12
|
+
name: 'Globe24Icon',
|
|
13
|
+
svgTemplate: html `
|
|
14
|
+
<svg
|
|
15
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
16
|
+
xml:space="preserve"
|
|
17
|
+
width="24"
|
|
18
|
+
height="24"
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
style="fill-rule:evenodd;clip-rule:evenodd;stroke-miterlimit:1"
|
|
21
|
+
>
|
|
22
|
+
<circle
|
|
23
|
+
cx="12"
|
|
24
|
+
cy="12"
|
|
25
|
+
r="9"
|
|
26
|
+
fill=${viraIconCssVars['vira-icon-fill-color'].value}
|
|
27
|
+
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
|
|
28
|
+
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
|
|
29
|
+
/>
|
|
30
|
+
<path
|
|
31
|
+
d="M21 12c0 5-4 9-9 9m9-9c0-5-4-9-9-9m9 9H3m9 9c-5 0-9-4-9-9m9 9q3.5-3.9 3.6-9 0-5.1-3.6-9m0 18a14 14 0 0 1-3.6-9q0-5.1 3.6-9m-9 9c0-5 4-9 9-9"
|
|
32
|
+
style="fill-rule:nonzero;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4"
|
|
33
|
+
fill="none"
|
|
34
|
+
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
|
|
35
|
+
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
|
|
36
|
+
/>
|
|
37
|
+
</svg>
|
|
38
|
+
`,
|
|
39
|
+
});
|
|
@@ -25,13 +25,18 @@ export const Link24Icon = defineIcon({
|
|
|
25
25
|
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
|
|
26
26
|
fill=${viraIconCssVars['vira-icon-fill-color'].value}
|
|
27
27
|
/>
|
|
28
|
-
|
|
29
28
|
<path
|
|
30
29
|
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
30
|
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
|
|
32
31
|
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
|
|
33
32
|
fill=${viraIconCssVars['vira-icon-fill-color'].value}
|
|
34
33
|
/>
|
|
34
|
+
<path
|
|
35
|
+
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"
|
|
36
|
+
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
|
|
37
|
+
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
|
|
38
|
+
fill="none"
|
|
39
|
+
/>
|
|
35
40
|
</svg>
|
|
36
41
|
`,
|
|
37
42
|
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { html } from 'element-vir';
|
|
2
|
+
import { viraIconCssVars } from '../icon-css-vars.js';
|
|
3
|
+
import { defineIcon } from '../icon-svg.js';
|
|
4
|
+
/**
|
|
5
|
+
* A magnifying glass icon.
|
|
6
|
+
*
|
|
7
|
+
* @category Icon
|
|
8
|
+
* @category SVG
|
|
9
|
+
* @see https://electrovir.github.io/vira/book/icons/magnifyingglass24icon
|
|
10
|
+
*/
|
|
11
|
+
export const MagnifyingGlass24Icon = defineIcon({
|
|
12
|
+
name: 'MagnifyingGlass24Icon',
|
|
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-linecap:round"
|
|
20
|
+
viewBox="0 0 24 24"
|
|
21
|
+
>
|
|
22
|
+
<path
|
|
23
|
+
d="m20 20-4.9-4.9M10.5 4a6.5 6.5 0 1 1 0 13 6.5 6.5 0 0 1 0-13Z"
|
|
24
|
+
style="fill-rule:nonzero"
|
|
25
|
+
fill=${viraIconCssVars['vira-icon-fill-color'].value}
|
|
26
|
+
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
|
|
27
|
+
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
|
|
28
|
+
/>
|
|
29
|
+
</svg>
|
|
30
|
+
`,
|
|
31
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { html } from 'element-vir';
|
|
2
|
+
import { viraIconCssVars } from '../icon-css-vars.js';
|
|
3
|
+
import { defineIcon } from '../icon-svg.js';
|
|
4
|
+
/**
|
|
5
|
+
* A moon icon.
|
|
6
|
+
*
|
|
7
|
+
* @category Icon
|
|
8
|
+
* @category SVG
|
|
9
|
+
* @see https://electrovir.github.io/vira/book/icons/moon24icon
|
|
10
|
+
*/
|
|
11
|
+
export const Moon24Icon = defineIcon({
|
|
12
|
+
name: 'Moon24Icon',
|
|
13
|
+
svgTemplate: html `
|
|
14
|
+
<svg
|
|
15
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
16
|
+
width="24"
|
|
17
|
+
height="24"
|
|
18
|
+
viewBox="0 0 24 24"
|
|
19
|
+
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
|
|
20
|
+
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
|
|
21
|
+
fill=${viraIconCssVars['vira-icon-fill-color'].value}
|
|
22
|
+
stroke-linejoin="round"
|
|
23
|
+
>
|
|
24
|
+
<path d="M18.6 17.72A8 8 0 1 1 15 4.26a8 8 0 0 0 3.6 13.46Z" />
|
|
25
|
+
</svg>
|
|
26
|
+
`,
|
|
27
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { html } from 'element-vir';
|
|
2
|
+
import { viraIconCssVars } from '../icon-css-vars.js';
|
|
3
|
+
import { defineIcon } from '../icon-svg.js';
|
|
4
|
+
/**
|
|
5
|
+
* A printer icon.
|
|
6
|
+
*
|
|
7
|
+
* @category Icon
|
|
8
|
+
* @category SVG
|
|
9
|
+
* @see https://electrovir.github.io/vira/book/icons/printer24icon
|
|
10
|
+
*/
|
|
11
|
+
export const Printer24Icon = defineIcon({
|
|
12
|
+
name: 'Printer24Icon',
|
|
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
|
+
width="24"
|
|
19
|
+
height="24"
|
|
20
|
+
viewBox="0 0 24 24"
|
|
21
|
+
>
|
|
22
|
+
<path
|
|
23
|
+
d="M7 9V4h10v5M7 17H5.6C4.7 17 4 16 4 15.2v-4.6Q4.1 9.1 5.6 9h12.8q1.5.1 1.6 1.6v4.6c0 .9-.7 1.8-1.6 1.8H17M7 14h10v6H7z"
|
|
24
|
+
style="fill-rule:nonzero"
|
|
25
|
+
fill=${viraIconCssVars['vira-icon-fill-color'].value}
|
|
26
|
+
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
|
|
27
|
+
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
|
|
28
|
+
/>
|
|
29
|
+
</svg>
|
|
30
|
+
`,
|
|
31
|
+
});
|
|
@@ -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 sparkle icon.
|
|
6
|
+
*
|
|
7
|
+
* @category Icon
|
|
8
|
+
* @category SVG
|
|
9
|
+
* @see https://electrovir.github.io/vira/book/icons/sparkle24icon
|
|
10
|
+
*/
|
|
11
|
+
export const Sparkle24Icon = defineIcon({
|
|
12
|
+
name: 'Sparkle24Icon',
|
|
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-linejoin:round;stroke-miterlimit:2"
|
|
20
|
+
viewBox="0 0 24 24"
|
|
21
|
+
>
|
|
22
|
+
<path
|
|
23
|
+
d="m18.46 8.14-.73-1.62a.5.5 0 0 0-.23-.23l-1.6-.73 1.61-.72q.15-.08.23-.23L18.47 3l.72 1.62q.08.15.23.23l1.6.72-1.6.73a.5.5 0 0 0-.23.23zm0 7.72.73 1.62q.08.16.23.23l1.6.73-1.6.72a.5.5 0 0 0-.24.23L18.46 21l-.73-1.61a.5.5 0 0 0-.23-.24l-1.6-.72 1.6-.73q.16-.06.23-.23zm-7.3-5.97q.06.15.22.23l3.21 1.46a.46.46 0 0 1 0 .84l-3.21 1.46a.5.5 0 0 0-.23.23L9.7 17.32a.5.5 0 0 1-.42.27.5.5 0 0 1-.42-.27L7.4 14.11a.5.5 0 0 0-.23-.23l-3.21-1.46a.46.46 0 0 1 0-.84l3.21-1.46q.16-.08.23-.23l1.46-3.21a.5.5 0 0 1 .42-.27q.29 0 .42.27z"
|
|
24
|
+
fill=${viraIconCssVars['vira-icon-fill-color'].value}
|
|
25
|
+
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
|
|
26
|
+
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
|
|
27
|
+
/>
|
|
28
|
+
</svg>
|
|
29
|
+
`,
|
|
30
|
+
});
|
|
@@ -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 sun icon.
|
|
6
|
+
*
|
|
7
|
+
* @category Icon
|
|
8
|
+
* @category SVG
|
|
9
|
+
* @see https://electrovir.github.io/vira/book/icons/sun24icon
|
|
10
|
+
*/
|
|
11
|
+
export const Sun24Icon = defineIcon({
|
|
12
|
+
name: 'Sun24Icon',
|
|
13
|
+
svgTemplate: html `
|
|
14
|
+
<svg
|
|
15
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
16
|
+
width="24"
|
|
17
|
+
height="24"
|
|
18
|
+
style="fill-rule:nonzero;stroke:#000;stroke-width:1px;stroke-linecap:round;clip-rule:evenodd;"
|
|
19
|
+
viewBox="0 0 24 24"
|
|
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 2v3m0 14v3M4.22 4.22l2.12 2.12m11.32 11.32 2.12 2.12M2 12h3m14 0h3M4.22 19.78l2.12-2.12M17.66 6.34l2.12-2.12"
|
|
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
|
+
});
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
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/arrow-up-24.icon.js';
|
|
5
|
+
export * from './icon-svgs/auto-theme-24.icon.js';
|
|
4
6
|
export * from './icon-svgs/bell-24.icon.js';
|
|
5
7
|
export * from './icon-svgs/chat-24.icon.js';
|
|
6
8
|
export * from './icon-svgs/check-24.icon.js';
|
|
@@ -18,15 +20,20 @@ export * from './icon-svgs/external-link-24.icon.js';
|
|
|
18
20
|
export * from './icon-svgs/eye-closed-24.icon.js';
|
|
19
21
|
export * from './icon-svgs/eye-open-24.icon.js';
|
|
20
22
|
export * from './icon-svgs/filter-24.icon.js';
|
|
23
|
+
export * from './icon-svgs/globe-24.icon.js';
|
|
21
24
|
export * from './icon-svgs/link-24.icon.js';
|
|
22
25
|
export * from './icon-svgs/loader-24.icon.js';
|
|
23
26
|
export * from './icon-svgs/loader-animated-24.icon.js';
|
|
24
27
|
export * from './icon-svgs/lock-24.icon.js';
|
|
28
|
+
export * from './icon-svgs/magnifying-glass-24.icon.js';
|
|
29
|
+
export * from './icon-svgs/moon-24.icon.js';
|
|
25
30
|
export * from './icon-svgs/options-24.icon.js';
|
|
26
31
|
export * from './icon-svgs/pencil-24.icon.js';
|
|
32
|
+
export * from './icon-svgs/printer-24.icon.js';
|
|
27
33
|
export * from './icon-svgs/shield-24.icon.js';
|
|
28
34
|
export * from './icon-svgs/sort-ascending-24.icon.js';
|
|
29
35
|
export * from './icon-svgs/sort-descending-24.icon.js';
|
|
36
|
+
export * from './icon-svgs/sparkle-24.icon.js';
|
|
30
37
|
export * from './icon-svgs/speaker-loud-24.icon.js';
|
|
31
38
|
export * from './icon-svgs/speaker-medium-24.icon.js';
|
|
32
39
|
export * from './icon-svgs/speaker-muted-24.icon.js';
|
|
@@ -37,6 +44,7 @@ export * from './icon-svgs/status-in-progress-24.icon.js';
|
|
|
37
44
|
export * from './icon-svgs/status-success-24.icon.js';
|
|
38
45
|
export * from './icon-svgs/status-unknown-24.icon.js';
|
|
39
46
|
export * from './icon-svgs/status-warning-24.icon.js';
|
|
47
|
+
export * from './icon-svgs/sun-24.icon.js';
|
|
40
48
|
export * from './icon-svgs/upload-24.icon.js';
|
|
41
49
|
export * from './icon-svgs/x-24.icon.js';
|
|
42
50
|
/**
|
|
@@ -45,6 +53,8 @@ export * from './icon-svgs/x-24.icon.js';
|
|
|
45
53
|
* @category Icon
|
|
46
54
|
*/
|
|
47
55
|
export declare const allIconsByName: {
|
|
56
|
+
readonly ArrowUp24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
57
|
+
readonly AutoTheme24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
48
58
|
readonly Bell24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
49
59
|
readonly Chat24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
50
60
|
readonly Check24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
@@ -62,15 +72,20 @@ export declare const allIconsByName: {
|
|
|
62
72
|
readonly EyeClosed24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
63
73
|
readonly EyeOpen24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
64
74
|
readonly Filter24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
75
|
+
readonly Globe24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
65
76
|
readonly Link24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
66
77
|
readonly Loader24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
67
78
|
readonly LoaderAnimated24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
68
79
|
readonly Lock24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
80
|
+
readonly MagnifyingGlass24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
81
|
+
readonly Moon24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
69
82
|
readonly Options24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
70
83
|
readonly Pencil24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
84
|
+
readonly Printer24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
71
85
|
readonly Shield24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
72
86
|
readonly SortAscending24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
73
87
|
readonly SortDescending24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
88
|
+
readonly Sparkle24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
74
89
|
readonly SpeakerLoud24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
75
90
|
readonly SpeakerMedium24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
76
91
|
readonly SpeakerMuted24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
@@ -81,6 +96,7 @@ export declare const allIconsByName: {
|
|
|
81
96
|
readonly StatusSuccess24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
82
97
|
readonly StatusUnknown24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
83
98
|
readonly StatusWarning24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
99
|
+
readonly Sun24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
84
100
|
readonly Upload24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
85
101
|
readonly X24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
86
102
|
};
|
package/dist/icons/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/** This file is automatically updated by update-icon-exports.ts */
|
|
2
|
+
import { ArrowUp24Icon } from './icon-svgs/arrow-up-24.icon.js';
|
|
3
|
+
import { AutoTheme24Icon } from './icon-svgs/auto-theme-24.icon.js';
|
|
2
4
|
import { Bell24Icon } from './icon-svgs/bell-24.icon.js';
|
|
3
5
|
import { Chat24Icon } from './icon-svgs/chat-24.icon.js';
|
|
4
6
|
import { Check24Icon } from './icon-svgs/check-24.icon.js';
|
|
@@ -16,15 +18,20 @@ import { ExternalLink24Icon } from './icon-svgs/external-link-24.icon.js';
|
|
|
16
18
|
import { EyeClosed24Icon } from './icon-svgs/eye-closed-24.icon.js';
|
|
17
19
|
import { EyeOpen24Icon } from './icon-svgs/eye-open-24.icon.js';
|
|
18
20
|
import { Filter24Icon } from './icon-svgs/filter-24.icon.js';
|
|
21
|
+
import { Globe24Icon } from './icon-svgs/globe-24.icon.js';
|
|
19
22
|
import { Link24Icon } from './icon-svgs/link-24.icon.js';
|
|
20
23
|
import { Loader24Icon } from './icon-svgs/loader-24.icon.js';
|
|
21
24
|
import { LoaderAnimated24Icon } from './icon-svgs/loader-animated-24.icon.js';
|
|
22
25
|
import { Lock24Icon } from './icon-svgs/lock-24.icon.js';
|
|
26
|
+
import { MagnifyingGlass24Icon } from './icon-svgs/magnifying-glass-24.icon.js';
|
|
27
|
+
import { Moon24Icon } from './icon-svgs/moon-24.icon.js';
|
|
23
28
|
import { Options24Icon } from './icon-svgs/options-24.icon.js';
|
|
24
29
|
import { Pencil24Icon } from './icon-svgs/pencil-24.icon.js';
|
|
30
|
+
import { Printer24Icon } from './icon-svgs/printer-24.icon.js';
|
|
25
31
|
import { Shield24Icon } from './icon-svgs/shield-24.icon.js';
|
|
26
32
|
import { SortAscending24Icon } from './icon-svgs/sort-ascending-24.icon.js';
|
|
27
33
|
import { SortDescending24Icon } from './icon-svgs/sort-descending-24.icon.js';
|
|
34
|
+
import { Sparkle24Icon } from './icon-svgs/sparkle-24.icon.js';
|
|
28
35
|
import { SpeakerLoud24Icon } from './icon-svgs/speaker-loud-24.icon.js';
|
|
29
36
|
import { SpeakerMedium24Icon } from './icon-svgs/speaker-medium-24.icon.js';
|
|
30
37
|
import { SpeakerMuted24Icon } from './icon-svgs/speaker-muted-24.icon.js';
|
|
@@ -35,10 +42,13 @@ import { StatusInProgress24Icon } from './icon-svgs/status-in-progress-24.icon.j
|
|
|
35
42
|
import { StatusSuccess24Icon } from './icon-svgs/status-success-24.icon.js';
|
|
36
43
|
import { StatusUnknown24Icon } from './icon-svgs/status-unknown-24.icon.js';
|
|
37
44
|
import { StatusWarning24Icon } from './icon-svgs/status-warning-24.icon.js';
|
|
45
|
+
import { Sun24Icon } from './icon-svgs/sun-24.icon.js';
|
|
38
46
|
import { Upload24Icon } from './icon-svgs/upload-24.icon.js';
|
|
39
47
|
import { X24Icon } from './icon-svgs/x-24.icon.js';
|
|
40
48
|
export * from './icon-css-vars.js';
|
|
41
49
|
export * from './icon-svg.js';
|
|
50
|
+
export * from './icon-svgs/arrow-up-24.icon.js';
|
|
51
|
+
export * from './icon-svgs/auto-theme-24.icon.js';
|
|
42
52
|
export * from './icon-svgs/bell-24.icon.js';
|
|
43
53
|
export * from './icon-svgs/chat-24.icon.js';
|
|
44
54
|
export * from './icon-svgs/check-24.icon.js';
|
|
@@ -56,15 +66,20 @@ export * from './icon-svgs/external-link-24.icon.js';
|
|
|
56
66
|
export * from './icon-svgs/eye-closed-24.icon.js';
|
|
57
67
|
export * from './icon-svgs/eye-open-24.icon.js';
|
|
58
68
|
export * from './icon-svgs/filter-24.icon.js';
|
|
69
|
+
export * from './icon-svgs/globe-24.icon.js';
|
|
59
70
|
export * from './icon-svgs/link-24.icon.js';
|
|
60
71
|
export * from './icon-svgs/loader-24.icon.js';
|
|
61
72
|
export * from './icon-svgs/loader-animated-24.icon.js';
|
|
62
73
|
export * from './icon-svgs/lock-24.icon.js';
|
|
74
|
+
export * from './icon-svgs/magnifying-glass-24.icon.js';
|
|
75
|
+
export * from './icon-svgs/moon-24.icon.js';
|
|
63
76
|
export * from './icon-svgs/options-24.icon.js';
|
|
64
77
|
export * from './icon-svgs/pencil-24.icon.js';
|
|
78
|
+
export * from './icon-svgs/printer-24.icon.js';
|
|
65
79
|
export * from './icon-svgs/shield-24.icon.js';
|
|
66
80
|
export * from './icon-svgs/sort-ascending-24.icon.js';
|
|
67
81
|
export * from './icon-svgs/sort-descending-24.icon.js';
|
|
82
|
+
export * from './icon-svgs/sparkle-24.icon.js';
|
|
68
83
|
export * from './icon-svgs/speaker-loud-24.icon.js';
|
|
69
84
|
export * from './icon-svgs/speaker-medium-24.icon.js';
|
|
70
85
|
export * from './icon-svgs/speaker-muted-24.icon.js';
|
|
@@ -75,6 +90,7 @@ export * from './icon-svgs/status-in-progress-24.icon.js';
|
|
|
75
90
|
export * from './icon-svgs/status-success-24.icon.js';
|
|
76
91
|
export * from './icon-svgs/status-unknown-24.icon.js';
|
|
77
92
|
export * from './icon-svgs/status-warning-24.icon.js';
|
|
93
|
+
export * from './icon-svgs/sun-24.icon.js';
|
|
78
94
|
export * from './icon-svgs/upload-24.icon.js';
|
|
79
95
|
export * from './icon-svgs/x-24.icon.js';
|
|
80
96
|
/**
|
|
@@ -83,6 +99,8 @@ export * from './icon-svgs/x-24.icon.js';
|
|
|
83
99
|
* @category Icon
|
|
84
100
|
*/
|
|
85
101
|
export const allIconsByName = {
|
|
102
|
+
ArrowUp24Icon,
|
|
103
|
+
AutoTheme24Icon,
|
|
86
104
|
Bell24Icon,
|
|
87
105
|
Chat24Icon,
|
|
88
106
|
Check24Icon,
|
|
@@ -100,15 +118,20 @@ export const allIconsByName = {
|
|
|
100
118
|
EyeClosed24Icon,
|
|
101
119
|
EyeOpen24Icon,
|
|
102
120
|
Filter24Icon,
|
|
121
|
+
Globe24Icon,
|
|
103
122
|
Link24Icon,
|
|
104
123
|
Loader24Icon,
|
|
105
124
|
LoaderAnimated24Icon,
|
|
106
125
|
Lock24Icon,
|
|
126
|
+
MagnifyingGlass24Icon,
|
|
127
|
+
Moon24Icon,
|
|
107
128
|
Options24Icon,
|
|
108
129
|
Pencil24Icon,
|
|
130
|
+
Printer24Icon,
|
|
109
131
|
Shield24Icon,
|
|
110
132
|
SortAscending24Icon,
|
|
111
133
|
SortDescending24Icon,
|
|
134
|
+
Sparkle24Icon,
|
|
112
135
|
SpeakerLoud24Icon,
|
|
113
136
|
SpeakerMedium24Icon,
|
|
114
137
|
SpeakerMuted24Icon,
|
|
@@ -119,6 +142,7 @@ export const allIconsByName = {
|
|
|
119
142
|
StatusSuccess24Icon,
|
|
120
143
|
StatusUnknown24Icon,
|
|
121
144
|
StatusWarning24Icon,
|
|
145
|
+
Sun24Icon,
|
|
122
146
|
Upload24Icon,
|
|
123
147
|
X24Icon,
|
|
124
148
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vira",
|
|
3
|
-
"version": "29.
|
|
3
|
+
"version": "29.5.0",
|
|
4
4
|
"description": "A simple and highly versatile design system using element-vir.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"typedoc": "^0.28.16",
|
|
66
66
|
"typescript": "5.9.3",
|
|
67
67
|
"vite": "^7.3.1",
|
|
68
|
-
"vite-tsconfig-paths": "^6.1.
|
|
68
|
+
"vite-tsconfig-paths": "^6.1.1"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"element-vir": "^26.9.1",
|