@vscode-elements/elements 2.2.0 → 2.3.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/README.md +1 -1
- package/custom-elements.json +330 -125
- package/dist/bundled.js +148 -57
- package/dist/includes/VscElement.js +1 -1
- package/dist/includes/VscElement.js.map +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +1 -0
- package/dist/main.js.map +1 -1
- package/dist/vscode-progress-bar/index.d.ts +2 -0
- package/dist/vscode-progress-bar/index.d.ts.map +1 -0
- package/dist/vscode-progress-bar/index.js +2 -0
- package/dist/vscode-progress-bar/index.js.map +1 -0
- package/dist/vscode-progress-bar/vscode-progress-bar.d.ts +45 -0
- package/dist/vscode-progress-bar/vscode-progress-bar.d.ts.map +1 -0
- package/dist/vscode-progress-bar/vscode-progress-bar.js +135 -0
- package/dist/vscode-progress-bar/vscode-progress-bar.js.map +1 -0
- package/dist/vscode-progress-bar/vscode-progress-bar.styles.d.ts +4 -0
- package/dist/vscode-progress-bar/vscode-progress-bar.styles.d.ts.map +1 -0
- package/dist/vscode-progress-bar/vscode-progress-bar.styles.js +82 -0
- package/dist/vscode-progress-bar/vscode-progress-bar.styles.js.map +1 -0
- package/dist/vscode-table/vscode-table.js +1 -1
- package/dist/vscode-table/vscode-table.js.map +1 -1
- package/package.json +1 -1
- package/vscode.css-custom-data.json +16 -15
- package/vscode.html-custom-data.json +44 -17
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# VSCode Elements
|
|
2
2
|
|
|
3
|
-
For the end-user documentation, [click here](https://vscode-elements.github.io).
|
|
3
|
+
For the end-user documentation, [click here](https://vscode-elements.github.io). This site is also mirrored at [https://vscode-elements.netlify.app](https://vscode-elements.netlify.app), where users behind the [GFW](https://en.wikipedia.org/wiki/Great_Firewall) can access it more quickly.
|
|
4
4
|
|
|
5
5
|
This documentation is intended for developers who would like to contribute to or modify the code on their own.
|
|
6
6
|
|
package/custom-elements.json
CHANGED
|
@@ -604,6 +604,131 @@
|
|
|
604
604
|
}
|
|
605
605
|
]
|
|
606
606
|
},
|
|
607
|
+
{
|
|
608
|
+
"kind": "javascript-module",
|
|
609
|
+
"path": "src/vscode-badge/vscode-badge.styles.ts",
|
|
610
|
+
"declarations": [
|
|
611
|
+
{
|
|
612
|
+
"kind": "variable",
|
|
613
|
+
"name": "styles",
|
|
614
|
+
"type": {
|
|
615
|
+
"text": "CSSResultGroup"
|
|
616
|
+
},
|
|
617
|
+
"default": "[ defaultStyles, css` :host { display: inline-block; } .root { background-color: var(--vscode-badge-background, #616161); border: 1px solid var(--vscode-contrastBorder, transparent); border-radius: 2px; box-sizing: border-box; color: var(--vscode-badge-foreground, #f8f8f8); display: block; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: 11px; font-weight: 400; line-height: 14px; min-width: 18px; padding: 2px 3px; text-align: center; white-space: nowrap; } :host([variant='counter']) .root { border-radius: 11px; line-height: 11px; min-height: 18px; min-width: 18px; padding: 3px 6px; } :host([variant='activity-bar-counter']) .root { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 20px; color: var(--vscode-activityBarBadge-foreground, #ffffff); font-size: 9px; font-weight: 600; line-height: 16px; padding: 0 4px; } :host([variant='tab-header-counter']) .root { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 10px; color: var(--vscode-activityBarBadge-foreground, #ffffff); line-height: 10px; min-height: 16px; min-width: 16px; padding: 3px 5px; } `, ]"
|
|
618
|
+
}
|
|
619
|
+
],
|
|
620
|
+
"exports": [
|
|
621
|
+
{
|
|
622
|
+
"kind": "js",
|
|
623
|
+
"name": "default",
|
|
624
|
+
"declaration": {
|
|
625
|
+
"name": "styles",
|
|
626
|
+
"module": "src/vscode-badge/vscode-badge.styles.ts"
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
]
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"kind": "javascript-module",
|
|
633
|
+
"path": "src/vscode-badge/vscode-badge.ts",
|
|
634
|
+
"declarations": [
|
|
635
|
+
{
|
|
636
|
+
"kind": "class",
|
|
637
|
+
"description": "Show counts or status information. Badges can also be used within [Textfield](https://vscode-elements.github.io/components/textfield) and [TabHeader](https://vscode-elements.github.io/components/tabs) components.",
|
|
638
|
+
"name": "VscodeBadge",
|
|
639
|
+
"cssProperties": [
|
|
640
|
+
{
|
|
641
|
+
"description": "A sans-serif font type depends on the host OS.",
|
|
642
|
+
"name": "--vscode-font-family",
|
|
643
|
+
"default": "sans-serif"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"name": "--vscode-contrastBorder",
|
|
647
|
+
"default": "transparent"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"description": "default and counter variant background color",
|
|
651
|
+
"name": "--vscode-badge-background",
|
|
652
|
+
"default": "#616161"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"description": "default and counter variant foreground color",
|
|
656
|
+
"name": "--vscode-badge-foreground",
|
|
657
|
+
"default": "#f8f8f8"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"description": "activity bar variant background color",
|
|
661
|
+
"name": "--vscode-activityBarBadge-background",
|
|
662
|
+
"default": "#0078d4"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"description": "activity bar variant foreground color",
|
|
666
|
+
"name": "--vscode-activityBarBadge-foreground",
|
|
667
|
+
"default": "#ffffff"
|
|
668
|
+
}
|
|
669
|
+
],
|
|
670
|
+
"members": [
|
|
671
|
+
{
|
|
672
|
+
"kind": "field",
|
|
673
|
+
"name": "variant",
|
|
674
|
+
"type": {
|
|
675
|
+
"text": "| 'default'\n | 'counter'\n | 'activity-bar-counter'\n | 'tab-header-counter'"
|
|
676
|
+
},
|
|
677
|
+
"default": "'default'",
|
|
678
|
+
"attribute": "variant",
|
|
679
|
+
"reflects": true
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"kind": "field",
|
|
683
|
+
"name": "version",
|
|
684
|
+
"type": {
|
|
685
|
+
"text": "string"
|
|
686
|
+
},
|
|
687
|
+
"description": "VSCode Elements version",
|
|
688
|
+
"readonly": true,
|
|
689
|
+
"inheritedFrom": {
|
|
690
|
+
"name": "VscElement",
|
|
691
|
+
"module": "src/includes/VscElement.ts"
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
],
|
|
695
|
+
"attributes": [
|
|
696
|
+
{
|
|
697
|
+
"name": "variant",
|
|
698
|
+
"type": {
|
|
699
|
+
"text": "| 'default'\n | 'counter'\n | 'activity-bar-counter'\n | 'tab-header-counter'"
|
|
700
|
+
},
|
|
701
|
+
"default": "'default'",
|
|
702
|
+
"fieldName": "variant"
|
|
703
|
+
}
|
|
704
|
+
],
|
|
705
|
+
"superclass": {
|
|
706
|
+
"name": "VscElement",
|
|
707
|
+
"module": "/src/includes/VscElement.js"
|
|
708
|
+
},
|
|
709
|
+
"tagName": "vscode-badge",
|
|
710
|
+
"customElement": true
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
"exports": [
|
|
714
|
+
{
|
|
715
|
+
"kind": "js",
|
|
716
|
+
"name": "VscodeBadge",
|
|
717
|
+
"declaration": {
|
|
718
|
+
"name": "VscodeBadge",
|
|
719
|
+
"module": "src/vscode-badge/vscode-badge.ts"
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"kind": "custom-element-definition",
|
|
724
|
+
"name": "vscode-badge",
|
|
725
|
+
"declaration": {
|
|
726
|
+
"name": "VscodeBadge",
|
|
727
|
+
"module": "src/vscode-badge/vscode-badge.ts"
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
]
|
|
731
|
+
},
|
|
607
732
|
{
|
|
608
733
|
"kind": "javascript-module",
|
|
609
734
|
"path": "src/vscode-button/vscode-button.styles.ts",
|
|
@@ -1099,131 +1224,6 @@
|
|
|
1099
1224
|
}
|
|
1100
1225
|
]
|
|
1101
1226
|
},
|
|
1102
|
-
{
|
|
1103
|
-
"kind": "javascript-module",
|
|
1104
|
-
"path": "src/vscode-badge/vscode-badge.styles.ts",
|
|
1105
|
-
"declarations": [
|
|
1106
|
-
{
|
|
1107
|
-
"kind": "variable",
|
|
1108
|
-
"name": "styles",
|
|
1109
|
-
"type": {
|
|
1110
|
-
"text": "CSSResultGroup"
|
|
1111
|
-
},
|
|
1112
|
-
"default": "[ defaultStyles, css` :host { display: inline-block; } .root { background-color: var(--vscode-badge-background, #616161); border: 1px solid var(--vscode-contrastBorder, transparent); border-radius: 2px; box-sizing: border-box; color: var(--vscode-badge-foreground, #f8f8f8); display: block; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: 11px; font-weight: 400; line-height: 14px; min-width: 18px; padding: 2px 3px; text-align: center; white-space: nowrap; } :host([variant='counter']) .root { border-radius: 11px; line-height: 11px; min-height: 18px; min-width: 18px; padding: 3px 6px; } :host([variant='activity-bar-counter']) .root { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 20px; color: var(--vscode-activityBarBadge-foreground, #ffffff); font-size: 9px; font-weight: 600; line-height: 16px; padding: 0 4px; } :host([variant='tab-header-counter']) .root { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 10px; color: var(--vscode-activityBarBadge-foreground, #ffffff); line-height: 10px; min-height: 16px; min-width: 16px; padding: 3px 5px; } `, ]"
|
|
1113
|
-
}
|
|
1114
|
-
],
|
|
1115
|
-
"exports": [
|
|
1116
|
-
{
|
|
1117
|
-
"kind": "js",
|
|
1118
|
-
"name": "default",
|
|
1119
|
-
"declaration": {
|
|
1120
|
-
"name": "styles",
|
|
1121
|
-
"module": "src/vscode-badge/vscode-badge.styles.ts"
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
]
|
|
1125
|
-
},
|
|
1126
|
-
{
|
|
1127
|
-
"kind": "javascript-module",
|
|
1128
|
-
"path": "src/vscode-badge/vscode-badge.ts",
|
|
1129
|
-
"declarations": [
|
|
1130
|
-
{
|
|
1131
|
-
"kind": "class",
|
|
1132
|
-
"description": "Show counts or status information. Badges can also be used within [Textfield](https://vscode-elements.github.io/components/textfield) and [TabHeader](https://vscode-elements.github.io/components/tabs) components.",
|
|
1133
|
-
"name": "VscodeBadge",
|
|
1134
|
-
"cssProperties": [
|
|
1135
|
-
{
|
|
1136
|
-
"description": "A sans-serif font type depends on the host OS.",
|
|
1137
|
-
"name": "--vscode-font-family",
|
|
1138
|
-
"default": "sans-serif"
|
|
1139
|
-
},
|
|
1140
|
-
{
|
|
1141
|
-
"name": "--vscode-contrastBorder",
|
|
1142
|
-
"default": "transparent"
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
"description": "default and counter variant background color",
|
|
1146
|
-
"name": "--vscode-badge-background",
|
|
1147
|
-
"default": "#616161"
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
"description": "default and counter variant foreground color",
|
|
1151
|
-
"name": "--vscode-badge-foreground",
|
|
1152
|
-
"default": "#f8f8f8"
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
"description": "activity bar variant background color",
|
|
1156
|
-
"name": "--vscode-activityBarBadge-background",
|
|
1157
|
-
"default": "#0078d4"
|
|
1158
|
-
},
|
|
1159
|
-
{
|
|
1160
|
-
"description": "activity bar variant foreground color",
|
|
1161
|
-
"name": "--vscode-activityBarBadge-foreground",
|
|
1162
|
-
"default": "#ffffff"
|
|
1163
|
-
}
|
|
1164
|
-
],
|
|
1165
|
-
"members": [
|
|
1166
|
-
{
|
|
1167
|
-
"kind": "field",
|
|
1168
|
-
"name": "variant",
|
|
1169
|
-
"type": {
|
|
1170
|
-
"text": "| 'default'\n | 'counter'\n | 'activity-bar-counter'\n | 'tab-header-counter'"
|
|
1171
|
-
},
|
|
1172
|
-
"default": "'default'",
|
|
1173
|
-
"attribute": "variant",
|
|
1174
|
-
"reflects": true
|
|
1175
|
-
},
|
|
1176
|
-
{
|
|
1177
|
-
"kind": "field",
|
|
1178
|
-
"name": "version",
|
|
1179
|
-
"type": {
|
|
1180
|
-
"text": "string"
|
|
1181
|
-
},
|
|
1182
|
-
"description": "VSCode Elements version",
|
|
1183
|
-
"readonly": true,
|
|
1184
|
-
"inheritedFrom": {
|
|
1185
|
-
"name": "VscElement",
|
|
1186
|
-
"module": "src/includes/VscElement.ts"
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
],
|
|
1190
|
-
"attributes": [
|
|
1191
|
-
{
|
|
1192
|
-
"name": "variant",
|
|
1193
|
-
"type": {
|
|
1194
|
-
"text": "| 'default'\n | 'counter'\n | 'activity-bar-counter'\n | 'tab-header-counter'"
|
|
1195
|
-
},
|
|
1196
|
-
"default": "'default'",
|
|
1197
|
-
"fieldName": "variant"
|
|
1198
|
-
}
|
|
1199
|
-
],
|
|
1200
|
-
"superclass": {
|
|
1201
|
-
"name": "VscElement",
|
|
1202
|
-
"module": "/src/includes/VscElement.js"
|
|
1203
|
-
},
|
|
1204
|
-
"tagName": "vscode-badge",
|
|
1205
|
-
"customElement": true
|
|
1206
|
-
}
|
|
1207
|
-
],
|
|
1208
|
-
"exports": [
|
|
1209
|
-
{
|
|
1210
|
-
"kind": "js",
|
|
1211
|
-
"name": "VscodeBadge",
|
|
1212
|
-
"declaration": {
|
|
1213
|
-
"name": "VscodeBadge",
|
|
1214
|
-
"module": "src/vscode-badge/vscode-badge.ts"
|
|
1215
|
-
}
|
|
1216
|
-
},
|
|
1217
|
-
{
|
|
1218
|
-
"kind": "custom-element-definition",
|
|
1219
|
-
"name": "vscode-badge",
|
|
1220
|
-
"declaration": {
|
|
1221
|
-
"name": "VscodeBadge",
|
|
1222
|
-
"module": "src/vscode-badge/vscode-badge.ts"
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
]
|
|
1226
|
-
},
|
|
1227
1227
|
{
|
|
1228
1228
|
"kind": "javascript-module",
|
|
1229
1229
|
"path": "src/vscode-button-group/vscode-button-group.styles.ts",
|
|
@@ -5286,6 +5286,211 @@
|
|
|
5286
5286
|
}
|
|
5287
5287
|
]
|
|
5288
5288
|
},
|
|
5289
|
+
{
|
|
5290
|
+
"kind": "javascript-module",
|
|
5291
|
+
"path": "src/vscode-progress-bar/vscode-progress-bar.styles.ts",
|
|
5292
|
+
"declarations": [
|
|
5293
|
+
{
|
|
5294
|
+
"kind": "variable",
|
|
5295
|
+
"name": "styles",
|
|
5296
|
+
"type": {
|
|
5297
|
+
"text": "CSSResultGroup"
|
|
5298
|
+
},
|
|
5299
|
+
"default": "[ defaultStyles, css` :host { display: block; height: 2px; width: 100%; outline: none; } .container { position: relative; width: 100%; height: 100%; overflow: hidden; } .track { position: absolute; inset: 0; background: transparent; } .indicator { position: absolute; left: 0; top: 0; bottom: 0; height: 100%; background: var(--vscode-progressBar-background, #0078d4); will-change: transform, width, left; } /* Determinate mode: width is set inline via style attribute */ .discrete .indicator { transition: width 100ms linear; } /* Indeterminate mode: VS Code style progress bit */ .infinite .indicator { width: 2%; animation-name: progress; animation-duration: 4s; animation-iteration-count: infinite; animation-timing-function: linear; transform: translate3d(0px, 0px, 0px); } /* Long running: reduce GPU pressure using stepped animation */ .infinite.infinite-long-running .indicator { animation-timing-function: steps(100); } /* Keyframes adapted from VS Code */ @keyframes progress { from { transform: translateX(0%) scaleX(1); } 50% { transform: translateX(2500%) scaleX(3); } to { transform: translateX(4900%) scaleX(1); } } @media (prefers-reduced-motion: reduce) { .discrete .indicator { transition: none; } .infinite .indicator, .infinite-long-running .indicator { animation: none; width: 100%; } } `, ]"
|
|
5300
|
+
}
|
|
5301
|
+
],
|
|
5302
|
+
"exports": [
|
|
5303
|
+
{
|
|
5304
|
+
"kind": "js",
|
|
5305
|
+
"name": "default",
|
|
5306
|
+
"declaration": {
|
|
5307
|
+
"name": "styles",
|
|
5308
|
+
"module": "src/vscode-progress-bar/vscode-progress-bar.styles.ts"
|
|
5309
|
+
}
|
|
5310
|
+
}
|
|
5311
|
+
]
|
|
5312
|
+
},
|
|
5313
|
+
{
|
|
5314
|
+
"kind": "javascript-module",
|
|
5315
|
+
"path": "src/vscode-progress-bar/vscode-progress-bar.ts",
|
|
5316
|
+
"declarations": [
|
|
5317
|
+
{
|
|
5318
|
+
"kind": "class",
|
|
5319
|
+
"description": "",
|
|
5320
|
+
"name": "VscodeProgressBar",
|
|
5321
|
+
"cssProperties": [
|
|
5322
|
+
{
|
|
5323
|
+
"name": "--vscode-progressBar-background",
|
|
5324
|
+
"default": "#0078d4"
|
|
5325
|
+
}
|
|
5326
|
+
],
|
|
5327
|
+
"members": [
|
|
5328
|
+
{
|
|
5329
|
+
"kind": "field",
|
|
5330
|
+
"name": "value",
|
|
5331
|
+
"type": {
|
|
5332
|
+
"text": "number | undefined"
|
|
5333
|
+
},
|
|
5334
|
+
"description": "Current value for determinate mode. If undefined/NaN, the bar is indeterminate.",
|
|
5335
|
+
"attribute": "value",
|
|
5336
|
+
"reflects": true
|
|
5337
|
+
},
|
|
5338
|
+
{
|
|
5339
|
+
"kind": "field",
|
|
5340
|
+
"name": "max",
|
|
5341
|
+
"type": {
|
|
5342
|
+
"text": "number"
|
|
5343
|
+
},
|
|
5344
|
+
"default": "100",
|
|
5345
|
+
"description": "Maximum value for determinate mode.",
|
|
5346
|
+
"attribute": "max",
|
|
5347
|
+
"reflects": true
|
|
5348
|
+
},
|
|
5349
|
+
{
|
|
5350
|
+
"kind": "field",
|
|
5351
|
+
"name": "indeterminate",
|
|
5352
|
+
"type": {
|
|
5353
|
+
"text": "boolean"
|
|
5354
|
+
},
|
|
5355
|
+
"default": "false",
|
|
5356
|
+
"description": "Force indeterminate mode even if value is set.",
|
|
5357
|
+
"attribute": "indeterminate",
|
|
5358
|
+
"reflects": true
|
|
5359
|
+
},
|
|
5360
|
+
{
|
|
5361
|
+
"kind": "field",
|
|
5362
|
+
"name": "longRunningThreshold",
|
|
5363
|
+
"type": {
|
|
5364
|
+
"text": "number"
|
|
5365
|
+
},
|
|
5366
|
+
"default": "15000",
|
|
5367
|
+
"description": "Switch to a gentler animation after this many ms in indeterminate mode.",
|
|
5368
|
+
"attribute": "long-running-threshold"
|
|
5369
|
+
},
|
|
5370
|
+
{
|
|
5371
|
+
"kind": "field",
|
|
5372
|
+
"name": "_longRunning",
|
|
5373
|
+
"type": {
|
|
5374
|
+
"text": "boolean"
|
|
5375
|
+
},
|
|
5376
|
+
"privacy": "private",
|
|
5377
|
+
"default": "false"
|
|
5378
|
+
},
|
|
5379
|
+
{
|
|
5380
|
+
"kind": "field",
|
|
5381
|
+
"name": "_longRunningHandle",
|
|
5382
|
+
"type": {
|
|
5383
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
5384
|
+
},
|
|
5385
|
+
"privacy": "private"
|
|
5386
|
+
},
|
|
5387
|
+
{
|
|
5388
|
+
"kind": "field",
|
|
5389
|
+
"name": "_isDeterminate",
|
|
5390
|
+
"type": {
|
|
5391
|
+
"text": "boolean"
|
|
5392
|
+
},
|
|
5393
|
+
"privacy": "private",
|
|
5394
|
+
"readonly": true
|
|
5395
|
+
},
|
|
5396
|
+
{
|
|
5397
|
+
"kind": "method",
|
|
5398
|
+
"name": "_maybeStartLongRunningTimer",
|
|
5399
|
+
"privacy": "private",
|
|
5400
|
+
"return": {
|
|
5401
|
+
"type": {
|
|
5402
|
+
"text": "void"
|
|
5403
|
+
}
|
|
5404
|
+
}
|
|
5405
|
+
},
|
|
5406
|
+
{
|
|
5407
|
+
"kind": "method",
|
|
5408
|
+
"name": "_clearLongRunningTimer",
|
|
5409
|
+
"privacy": "private",
|
|
5410
|
+
"return": {
|
|
5411
|
+
"type": {
|
|
5412
|
+
"text": "void"
|
|
5413
|
+
}
|
|
5414
|
+
}
|
|
5415
|
+
},
|
|
5416
|
+
{
|
|
5417
|
+
"kind": "field",
|
|
5418
|
+
"name": "version",
|
|
5419
|
+
"type": {
|
|
5420
|
+
"text": "string"
|
|
5421
|
+
},
|
|
5422
|
+
"description": "VSCode Elements version",
|
|
5423
|
+
"readonly": true,
|
|
5424
|
+
"inheritedFrom": {
|
|
5425
|
+
"name": "VscElement",
|
|
5426
|
+
"module": "src/includes/VscElement.ts"
|
|
5427
|
+
}
|
|
5428
|
+
}
|
|
5429
|
+
],
|
|
5430
|
+
"attributes": [
|
|
5431
|
+
{
|
|
5432
|
+
"name": "value",
|
|
5433
|
+
"type": {
|
|
5434
|
+
"text": "number | undefined"
|
|
5435
|
+
},
|
|
5436
|
+
"description": "Current value for determinate mode. If undefined/NaN, the bar is indeterminate.",
|
|
5437
|
+
"fieldName": "value"
|
|
5438
|
+
},
|
|
5439
|
+
{
|
|
5440
|
+
"name": "max",
|
|
5441
|
+
"type": {
|
|
5442
|
+
"text": "number"
|
|
5443
|
+
},
|
|
5444
|
+
"default": "100",
|
|
5445
|
+
"description": "Maximum value for determinate mode.",
|
|
5446
|
+
"fieldName": "max"
|
|
5447
|
+
},
|
|
5448
|
+
{
|
|
5449
|
+
"name": "indeterminate",
|
|
5450
|
+
"type": {
|
|
5451
|
+
"text": "boolean"
|
|
5452
|
+
},
|
|
5453
|
+
"default": "false",
|
|
5454
|
+
"description": "Force indeterminate mode even if value is set.",
|
|
5455
|
+
"fieldName": "indeterminate"
|
|
5456
|
+
},
|
|
5457
|
+
{
|
|
5458
|
+
"name": "long-running-threshold",
|
|
5459
|
+
"type": {
|
|
5460
|
+
"text": "number"
|
|
5461
|
+
},
|
|
5462
|
+
"default": "15000",
|
|
5463
|
+
"description": "Switch to a gentler animation after this many ms in indeterminate mode.",
|
|
5464
|
+
"fieldName": "longRunningThreshold"
|
|
5465
|
+
}
|
|
5466
|
+
],
|
|
5467
|
+
"superclass": {
|
|
5468
|
+
"name": "VscElement",
|
|
5469
|
+
"module": "/src/includes/VscElement.js"
|
|
5470
|
+
},
|
|
5471
|
+
"tagName": "vscode-progress-bar",
|
|
5472
|
+
"customElement": true
|
|
5473
|
+
}
|
|
5474
|
+
],
|
|
5475
|
+
"exports": [
|
|
5476
|
+
{
|
|
5477
|
+
"kind": "js",
|
|
5478
|
+
"name": "VscodeProgressBar",
|
|
5479
|
+
"declaration": {
|
|
5480
|
+
"name": "VscodeProgressBar",
|
|
5481
|
+
"module": "src/vscode-progress-bar/vscode-progress-bar.ts"
|
|
5482
|
+
}
|
|
5483
|
+
},
|
|
5484
|
+
{
|
|
5485
|
+
"kind": "custom-element-definition",
|
|
5486
|
+
"name": "vscode-progress-bar",
|
|
5487
|
+
"declaration": {
|
|
5488
|
+
"name": "VscodeProgressBar",
|
|
5489
|
+
"module": "src/vscode-progress-bar/vscode-progress-bar.ts"
|
|
5490
|
+
}
|
|
5491
|
+
}
|
|
5492
|
+
]
|
|
5493
|
+
},
|
|
5289
5494
|
{
|
|
5290
5495
|
"kind": "javascript-module",
|
|
5291
5496
|
"path": "src/vscode-progress-ring/vscode-progress-ring.styles.ts",
|