@vscode-elements/elements 2.2.0 → 2.3.1-pre.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 (34) hide show
  1. package/README.md +1 -1
  2. package/custom-elements.json +490 -298
  3. package/dist/bundled.js +150 -59
  4. package/dist/includes/VscElement.js +1 -1
  5. package/dist/includes/VscElement.js.map +1 -1
  6. package/dist/main.d.ts +1 -0
  7. package/dist/main.d.ts.map +1 -1
  8. package/dist/main.js +1 -0
  9. package/dist/main.js.map +1 -1
  10. package/dist/vscode-progress-bar/index.d.ts +2 -0
  11. package/dist/vscode-progress-bar/index.d.ts.map +1 -0
  12. package/dist/vscode-progress-bar/index.js +2 -0
  13. package/dist/vscode-progress-bar/index.js.map +1 -0
  14. package/dist/vscode-progress-bar/vscode-progress-bar.d.ts +45 -0
  15. package/dist/vscode-progress-bar/vscode-progress-bar.d.ts.map +1 -0
  16. package/dist/vscode-progress-bar/vscode-progress-bar.js +135 -0
  17. package/dist/vscode-progress-bar/vscode-progress-bar.js.map +1 -0
  18. package/dist/vscode-progress-bar/vscode-progress-bar.styles.d.ts +4 -0
  19. package/dist/vscode-progress-bar/vscode-progress-bar.styles.d.ts.map +1 -0
  20. package/dist/vscode-progress-bar/vscode-progress-bar.styles.js +82 -0
  21. package/dist/vscode-progress-bar/vscode-progress-bar.styles.js.map +1 -0
  22. package/dist/vscode-radio/vscode-radio.d.ts +9 -12
  23. package/dist/vscode-radio/vscode-radio.d.ts.map +1 -1
  24. package/dist/vscode-radio/vscode-radio.js +44 -42
  25. package/dist/vscode-radio/vscode-radio.js.map +1 -1
  26. package/dist/vscode-radio-group/vscode-radio-group.d.ts +4 -6
  27. package/dist/vscode-radio-group/vscode-radio-group.d.ts.map +1 -1
  28. package/dist/vscode-radio-group/vscode-radio-group.js +37 -27
  29. package/dist/vscode-radio-group/vscode-radio-group.js.map +1 -1
  30. package/dist/vscode-table/vscode-table.js +1 -1
  31. package/dist/vscode-table/vscode-table.js.map +1 -1
  32. package/package.json +1 -1
  33. package/vscode.css-custom-data.json +21 -20
  34. package/vscode.html-custom-data.json +59 -32
@@ -2,6 +2,23 @@
2
2
  "$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
3
3
  "version": 1.1,
4
4
  "tags": [
5
+ {
6
+ "name": "vscode-badge",
7
+ "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.\n---\n\n\n### **CSS Properties:**\n - **--vscode-font-family** - A sans-serif font type depends on the host OS. _(default: sans-serif)_\n- **--vscode-contrastBorder** - undefined _(default: transparent)_\n- **--vscode-badge-background** - default and counter variant background color _(default: #616161)_\n- **--vscode-badge-foreground** - default and counter variant foreground color _(default: #f8f8f8)_\n- **--vscode-activityBarBadge-background** - activity bar variant background color _(default: #0078d4)_\n- **--vscode-activityBarBadge-foreground** - activity bar variant foreground color _(default: #ffffff)_",
8
+ "attributes": [
9
+ {
10
+ "name": "variant",
11
+ "values": [
12
+ { "name": "" },
13
+ { "name": "default" },
14
+ { "name": "counter" },
15
+ { "name": "activity-bar-counter" },
16
+ { "name": "tab-header-counter" }
17
+ ]
18
+ }
19
+ ],
20
+ "references": []
21
+ },
5
22
  {
6
23
  "name": "vscode-button",
7
24
  "description": "Clickable element that are used to trigger actions.\n---\n\n\n### **Slots:**\n - **content-before** - Slot before the main content.\n- **content-after** - Slot after the main content.\n\n### **CSS Properties:**\n - **--vscode-button-background** - undefined _(default: #0078d4)_\n- **--vscode-button-foreground** - undefined _(default: #ffffff)_\n- **--vscode-button-border** - undefined _(default: var(--vscode-button-background, rgba(255, 255, 255, 0.07)))_\n- **--vscode-button-hoverBackground** - undefined _(default: #026ec1)_\n- **--vscode-font-family** - A sans-serif font type depends on the host OS. _(default: sans-serif)_\n- **--vscode-font-size** - undefined _(default: 13px)_\n- **--vscode-font-weight** - undefined _(default: normal)_\n- **--vscode-button-secondaryForeground** - undefined _(default: #cccccc)_\n- **--vscode-button-secondaryBackground** - undefined _(default: #313131)_\n- **--vscode-button-secondaryHoverBackground** - undefined _(default: #3c3c3c)_\n- **--vscode-focusBorder** - undefined _(default: #0078d4)_\n\n### **CSS Parts:**\n - **base** - The main content area of the component.",
@@ -59,28 +76,22 @@
59
76
  "references": []
60
77
  },
61
78
  {
62
- "name": "vscode-badge",
63
- "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.\n---\n\n\n### **CSS Properties:**\n - **--vscode-font-family** - A sans-serif font type depends on the host OS. _(default: sans-serif)_\n- **--vscode-contrastBorder** - undefined _(default: transparent)_\n- **--vscode-badge-background** - default and counter variant background color _(default: #616161)_\n- **--vscode-badge-foreground** - default and counter variant foreground color _(default: #f8f8f8)_\n- **--vscode-activityBarBadge-background** - activity bar variant background color _(default: #0078d4)_\n- **--vscode-activityBarBadge-foreground** - activity bar variant foreground color _(default: #ffffff)_",
79
+ "name": "vscode-button-group",
80
+ "description": "Shows a split button, including several components in a single button. Commonly used to show a button with a dropdown to the right.\n---\n\n\n### **CSS Properties:**\n - **--vscode-button-background** - undefined _(default: #0078d4)_\n- **--vscode-button-foreground** - undefined _(default: #ffffff)_\n- **--vscode-button-border** - undefined _(default: var(--vscode-button-background, rgba(255, 255, 255, 0.07)))_\n- **--vscode-button-hoverBackground** - undefined _(default: #026ec1)_\n- **--vscode-font-family** - A sans-serif font type depends on the host OS. _(default: sans-serif)_\n- **--vscode-font-size** - undefined _(default: 13px)_\n- **--vscode-font-weight** - undefined _(default: normal)_\n- **--vscode-button-secondaryForeground** - undefined _(default: #cccccc)_\n- **--vscode-button-secondaryBackground** - undefined _(default: #313131)_\n- **--vscode-button-secondaryHoverBackground** - undefined _(default: #3c3c3c)_\n- **--vscode-focusBorder** - undefined _(default: #0078d4)_",
81
+ "attributes": [],
82
+ "references": []
83
+ },
84
+ {
85
+ "name": "vscode-checkbox-group",
86
+ "description": "Arranges a group of checkboxes horizontally or vertically.\n---\n",
64
87
  "attributes": [
65
88
  {
66
89
  "name": "variant",
67
- "values": [
68
- { "name": "" },
69
- { "name": "default" },
70
- { "name": "counter" },
71
- { "name": "activity-bar-counter" },
72
- { "name": "tab-header-counter" }
73
- ]
90
+ "values": [{ "name": "horizontal" }, { "name": "vertical" }]
74
91
  }
75
92
  ],
76
93
  "references": []
77
94
  },
78
- {
79
- "name": "vscode-button-group",
80
- "description": "Shows a split button, including several components in a single button. Commonly used to show a button with a dropdown to the right.\n---\n\n\n### **CSS Properties:**\n - **--vscode-button-background** - undefined _(default: #0078d4)_\n- **--vscode-button-foreground** - undefined _(default: #ffffff)_\n- **--vscode-button-border** - undefined _(default: var(--vscode-button-background, rgba(255, 255, 255, 0.07)))_\n- **--vscode-button-hoverBackground** - undefined _(default: #026ec1)_\n- **--vscode-font-family** - A sans-serif font type depends on the host OS. _(default: sans-serif)_\n- **--vscode-font-size** - undefined _(default: 13px)_\n- **--vscode-font-weight** - undefined _(default: normal)_\n- **--vscode-button-secondaryForeground** - undefined _(default: #cccccc)_\n- **--vscode-button-secondaryBackground** - undefined _(default: #313131)_\n- **--vscode-button-secondaryHoverBackground** - undefined _(default: #3c3c3c)_\n- **--vscode-focusBorder** - undefined _(default: #0078d4)_",
81
- "attributes": [],
82
- "references": []
83
- },
84
95
  {
85
96
  "name": "vscode-checkbox",
86
97
  "description": "Allows users to select one or more options from a set. When participating in a form, it supports\nthe `:invalid` pseudo class. Otherwise the error styles can be applied through the `invalid`\nproperty.\n---\n\n\n### **Events:**\n - **change** - Dispatched when checked state is changed. The event is bubbled, so it can be listened on a parent element like the `CheckboxGroup`.\n- **invalid** - Dispatched when the element is invalid and `checkValidity()` has been called or the form containing this element is submitted. [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/invalid_event)\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Returns `true` if the element's value is valid; otherwise, it returns `false`.\nIf the element's value is invalid, an invalid event is triggered on the element.\n\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity)\n- **reportValidity(): _boolean_** - Returns `true` if the element's value is valid; otherwise, it returns `false`.\nIf the element's value is invalid, an invalid event is triggered on the element, and the\nbrowser displays an error message to the user.\n\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity)\n\n### **CSS Properties:**\n - **--vscode-font-family** - undefined _(default: sans-serif)_\n- **--vscode-font-size** - undefined _(default: 13px)_\n- **--vscode-font-weight** - undefined _(default: normal)_\n- **--vscode-foreground** - undefined _(default: #cccccc)_\n- **--vscode-settings-checkboxBackground** - undefined _(default: #313131)_\n- **--vscode-settings-checkboxBorder** - undefined _(default: #3c3c3c)_\n- **--vscode-settings-checkboxForeground** - undefined _(default: #cccccc)_\n- **--vscode-focusBorder** - undefined _(default: #0078d4)_\n- **--vscode-inputValidation-errorBackground** - undefined _(default: #5a1d1d)_\n- **--vscode-inputValidation-errorBorder** - undefined _(default: #be1100)_",
@@ -124,17 +135,6 @@
124
135
  ],
125
136
  "references": []
126
137
  },
127
- {
128
- "name": "vscode-checkbox-group",
129
- "description": "Arranges a group of checkboxes horizontally or vertically.\n---\n",
130
- "attributes": [
131
- {
132
- "name": "variant",
133
- "values": [{ "name": "horizontal" }, { "name": "vertical" }]
134
- }
135
- ],
136
- "references": []
137
- },
138
138
  {
139
139
  "name": "vscode-collapsible",
140
140
  "description": "Allows users to reveal or hide related content on a page.\n---\n\n\n### **Events:**\n - **vsc-collapsible-toggle** - Dispatched when the content visibility is changed.\n\n### **Slots:**\n - _default_ - Main content.\n- **actions** - You can place any action icon in this slot in the header, but it's also possible to use any HTML element in it. It's only visible when the component is open.\n- **decorations** - The elements placed in the decorations slot are always visible.\n\n### **CSS Properties:**\n - **--vscode-sideBar-background** - Background color _(default: #181818)_\n- **--vscode-focusBorder** - Focus border color _(default: #0078d4)_\n- **--vscode-font-family** - Header font family _(default: sans-serif)_\n- **--vscode-sideBarSectionHeader-background** - Header background _(default: #181818)_\n- **--vscode-icon-foreground** - Arrow icon color _(default: #cccccc)_\n- **--vscode-sideBarTitle-foreground** - Header font color _(default: #cccccc)_\n\n### **CSS Parts:**\n - **body** - Container for the toggleable content of the component. The container's overflow content is hidden by default. This CSS part can serve as an escape hatch to modify this behavior.",
@@ -204,6 +204,12 @@
204
204
  ],
205
205
  "references": []
206
206
  },
207
+ {
208
+ "name": "vscode-form-helper",
209
+ "description": "Adds more detailed description to a [FromGroup](https://bendera.github.io/vscode-webview-elements/components/vscode-form-group/)\n---\n\n\n### **CSS Properties:**\n - **--vsc-foreground-translucent** - Default text color. 90% transparency version of `--vscode-foreground` by default. _(default: undefined)_",
210
+ "attributes": [],
211
+ "references": []
212
+ },
207
213
  {
208
214
  "name": "vscode-form-group",
209
215
  "description": "\n---\n\n\n### **CSS Properties:**\n - **--label-width** - The width of the label in horizontal mode _(default: 150px)_\n- **--label-right-margin** - The right margin of the label in horizontal mode _(default: 14px)_",
@@ -212,12 +218,6 @@
212
218
  ],
213
219
  "references": []
214
220
  },
215
- {
216
- "name": "vscode-form-helper",
217
- "description": "Adds more detailed description to a [FromGroup](https://bendera.github.io/vscode-webview-elements/components/vscode-form-group/)\n---\n\n\n### **CSS Properties:**\n - **--vsc-foreground-translucent** - Default text color. 90% transparency version of `--vscode-foreground` by default. _(default: undefined)_",
218
- "attributes": [],
219
- "references": []
220
- },
221
221
  {
222
222
  "name": "vscode-icon",
223
223
  "description": "Display a [Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html).\nIn \"action-icon\" mode it behaves like a button. In this case, it is\nrecommended that a meaningful label is specified with the `label` property.\n---\n\n\n### **CSS Properties:**\n - **--vscode-icon-foreground** - undefined _(default: #cccccc)_\n- **--vscode-toolbar-hoverBackground** - Hover state background color in `active-icon` mode _(default: rgba(90, 93, 94, 0.31))_\n- **--vscode-toolbar-activeBackground** - Active state background color in `active-icon` mode _(default: rgba(99, 102, 103, 0.31))_\n- **--vscode-focusBorder** - undefined _(default: #0078d4)_",
@@ -334,6 +334,33 @@
334
334
  ],
335
335
  "references": []
336
336
  },
337
+ {
338
+ "name": "vscode-progress-bar",
339
+ "description": "\n---\n\n\n### **CSS Properties:**\n - **--vscode-progressBar-background** - undefined _(default: #0078d4)_",
340
+ "attributes": [
341
+ {
342
+ "name": "value",
343
+ "description": "Current value for determinate mode. If undefined/NaN, the bar is indeterminate.",
344
+ "values": []
345
+ },
346
+ {
347
+ "name": "max",
348
+ "description": "Maximum value for determinate mode.",
349
+ "values": []
350
+ },
351
+ {
352
+ "name": "indeterminate",
353
+ "description": "Force indeterminate mode even if value is set.",
354
+ "values": []
355
+ },
356
+ {
357
+ "name": "long-running-threshold",
358
+ "description": "Switch to a gentler animation after this many ms in indeterminate mode.",
359
+ "values": []
360
+ }
361
+ ],
362
+ "references": []
363
+ },
337
364
  {
338
365
  "name": "vscode-progress-ring",
339
366
  "description": "\n---\n\n\n### **CSS Properties:**\n - **--vscode-progressBar-background** - undefined _(default: #0078d4)_",