vira 28.17.0 → 28.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -168,6 +168,7 @@ export const ViraInput = defineViraElement()({
|
|
|
168
168
|
margin: ${cssVars['vira-input-padding-vertical'].value} 0;
|
|
169
169
|
flex-grow: 1;
|
|
170
170
|
max-width: 100%;
|
|
171
|
+
text-align: inherit;
|
|
171
172
|
/* fix input element not shrinking by default */
|
|
172
173
|
width: 0;
|
|
173
174
|
text-overflow: ellipsis;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 copying something.
|
|
6
|
+
*
|
|
7
|
+
* @category Icon
|
|
8
|
+
* @category SVG
|
|
9
|
+
* @see https://electrovir.github.io/vira/book/icons/copy24icon
|
|
10
|
+
*/
|
|
11
|
+
export const Copy24Icon = defineIcon({
|
|
12
|
+
name: 'Copy24Icon',
|
|
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="M16 6v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6q.2-1.8 2-2h8a2 2 0 0 1 2 2"
|
|
24
|
+
stroke="none"
|
|
25
|
+
fill=${viraIconCssVars['vira-icon-fill-color'].value}
|
|
26
|
+
/>
|
|
27
|
+
<path
|
|
28
|
+
d="M21 11v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8q.2-1.8 2-2h8a2 2 0 0 1 2 2"
|
|
29
|
+
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
|
|
30
|
+
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
|
|
31
|
+
fill=${viraIconCssVars['vira-icon-fill-color'].value}
|
|
32
|
+
/>
|
|
33
|
+
<path
|
|
34
|
+
d="M7 16H6a2 2 0 0 1-2-2V6q.2-1.8 2-2h8a2 2 0 0 1 2 2v1"
|
|
35
|
+
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
|
|
36
|
+
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
|
|
37
|
+
fill="none"
|
|
38
|
+
/>
|
|
39
|
+
</svg>
|
|
40
|
+
`,
|
|
41
|
+
});
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './icon-svgs/chevron-down-24.icon.js';
|
|
|
8
8
|
export * from './icon-svgs/chevron-up-24.icon.js';
|
|
9
9
|
export * from './icon-svgs/close-x-24.icon.js';
|
|
10
10
|
export * from './icon-svgs/commit-24.icon.js';
|
|
11
|
+
export * from './icon-svgs/copy-24.icon.js';
|
|
11
12
|
export * from './icon-svgs/document-24.icon.js';
|
|
12
13
|
export * from './icon-svgs/document-search-24.icon.js';
|
|
13
14
|
export * from './icon-svgs/double-chevron-24.icon.js';
|
|
@@ -51,6 +52,7 @@ export declare const allIconsByName: {
|
|
|
51
52
|
readonly ChevronUp24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
52
53
|
readonly CloseX24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
53
54
|
readonly Commit24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
55
|
+
readonly Copy24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
54
56
|
readonly Document24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
55
57
|
readonly DocumentSearch24Icon: import("./icon-svg.js").ViraIconSvg;
|
|
56
58
|
readonly DoubleChevron24Icon: import("./icon-svg.js").ViraIconSvg;
|
package/dist/icons/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import { ChevronDown24Icon } from './icon-svgs/chevron-down-24.icon.js';
|
|
|
6
6
|
import { ChevronUp24Icon } from './icon-svgs/chevron-up-24.icon.js';
|
|
7
7
|
import { CloseX24Icon } from './icon-svgs/close-x-24.icon.js';
|
|
8
8
|
import { Commit24Icon } from './icon-svgs/commit-24.icon.js';
|
|
9
|
+
import { Copy24Icon } from './icon-svgs/copy-24.icon.js';
|
|
9
10
|
import { Document24Icon } from './icon-svgs/document-24.icon.js';
|
|
10
11
|
import { DocumentSearch24Icon } from './icon-svgs/document-search-24.icon.js';
|
|
11
12
|
import { DoubleChevron24Icon } from './icon-svgs/double-chevron-24.icon.js';
|
|
@@ -45,6 +46,7 @@ export * from './icon-svgs/chevron-down-24.icon.js';
|
|
|
45
46
|
export * from './icon-svgs/chevron-up-24.icon.js';
|
|
46
47
|
export * from './icon-svgs/close-x-24.icon.js';
|
|
47
48
|
export * from './icon-svgs/commit-24.icon.js';
|
|
49
|
+
export * from './icon-svgs/copy-24.icon.js';
|
|
48
50
|
export * from './icon-svgs/document-24.icon.js';
|
|
49
51
|
export * from './icon-svgs/document-search-24.icon.js';
|
|
50
52
|
export * from './icon-svgs/double-chevron-24.icon.js';
|
|
@@ -88,6 +90,7 @@ export const allIconsByName = {
|
|
|
88
90
|
ChevronUp24Icon,
|
|
89
91
|
CloseX24Icon,
|
|
90
92
|
Commit24Icon,
|
|
93
|
+
Copy24Icon,
|
|
91
94
|
Document24Icon,
|
|
92
95
|
DocumentSearch24Icon,
|
|
93
96
|
DoubleChevron24Icon,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vira",
|
|
3
|
-
"version": "28.
|
|
3
|
+
"version": "28.18.1",
|
|
4
4
|
"description": "A simple and highly versatile design system using element-vir.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design",
|
|
@@ -38,21 +38,21 @@
|
|
|
38
38
|
"test:docs": "virmator docs check"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@augment-vir/assert": "^31.57.
|
|
42
|
-
"@augment-vir/common": "^31.57.
|
|
43
|
-
"@augment-vir/web": "^31.57.
|
|
41
|
+
"@augment-vir/assert": "^31.57.5",
|
|
42
|
+
"@augment-vir/common": "^31.57.5",
|
|
43
|
+
"@augment-vir/web": "^31.57.5",
|
|
44
44
|
"colorjs.io": "^0.6.0",
|
|
45
45
|
"date-vir": "^8.1.0",
|
|
46
46
|
"device-navigation": "^4.5.5",
|
|
47
47
|
"lit-css-vars": "^3.0.11",
|
|
48
|
-
"observavir": "^2.3.
|
|
48
|
+
"observavir": "^2.3.1",
|
|
49
49
|
"page-active": "^1.0.3",
|
|
50
50
|
"spa-router-vir": "^6.4.1",
|
|
51
51
|
"type-fest": "^5.3.1",
|
|
52
52
|
"typed-event-target": "^4.1.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@augment-vir/test": "^31.57.
|
|
55
|
+
"@augment-vir/test": "^31.57.5",
|
|
56
56
|
"@web/dev-server-esbuild": "^1.0.4",
|
|
57
57
|
"@web/test-runner": "^0.20.2",
|
|
58
58
|
"@web/test-runner-commands": "^0.9.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"esbuild": "^0.27.2",
|
|
62
62
|
"istanbul-smart-text-reporter": "^1.1.5",
|
|
63
63
|
"markdown-code-example-inserter": "^3.0.3",
|
|
64
|
-
"theme-vir": "^28.15.
|
|
64
|
+
"theme-vir": "^28.15.4",
|
|
65
65
|
"typedoc": "^0.28.15",
|
|
66
66
|
"typescript": "5.9.3",
|
|
67
67
|
"vite": "^7.3.0",
|