@vscode-elements/elements 2.0.0 → 2.0.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.
@@ -2978,7 +2978,7 @@
2978
2978
  },
2979
2979
  {
2980
2980
  "kind": "javascript-module",
2981
- "path": "src/vscode-form-helper/vscode-form-helper.styles.ts",
2981
+ "path": "src/vscode-form-group/vscode-form-group.styles.ts",
2982
2982
  "declarations": [
2983
2983
  {
2984
2984
  "kind": "variable",
@@ -2986,7 +2986,7 @@
2986
2986
  "type": {
2987
2987
  "text": "CSSResultGroup"
2988
2988
  },
2989
- "default": "[ defaultStyles, css` :host { display: block; line-height: 1.4em; margin-bottom: 4px; margin-top: 4px; max-width: 720px; opacity: 0.9; } :host([vertical]) { margin-left: 0; } `, ]"
2989
+ "default": "[ defaultStyles, css` :host { --label-right-margin: 14px; --label-width: 150px; display: block; margin: 15px 0; } :host([variant='settings-group']) { margin: 0; padding: 12px 14px 18px; max-width: 727px; } .wrapper { display: flex; flex-wrap: wrap; } :host([variant='vertical']) .wrapper, :host([variant='settings-group']) .wrapper { display: block; } :host([variant='horizontal']) ::slotted(vscode-checkbox-group), :host([variant='horizontal']) ::slotted(vscode-radio-group) { width: calc(100% - calc(var(--label-width) + var(--label-right-margin))); } :host([variant='horizontal']) ::slotted(vscode-label) { margin-right: var(--label-right-margin); text-align: right; width: var(--label-width); } :host([variant='settings-group']) ::slotted(vscode-label) { height: 18px; line-height: 18px; margin-bottom: 4px; margin-right: 0; padding: 0; } ::slotted(vscode-form-helper) { margin-left: calc(var(--label-width) + var(--label-right-margin)); } :host([variant='vertical']) ::slotted(vscode-form-helper), :host([variant='settings-group']) ::slotted(vscode-form-helper) { display: block; margin-left: 0; } :host([variant='settings-group']) ::slotted(vscode-form-helper) { margin-bottom: 0; margin-top: 0; } :host([variant='vertical']) ::slotted(vscode-label), :host([variant='settings-group']) ::slotted(vscode-label) { display: block; margin-left: 0; text-align: left; } :host([variant='settings-group']) ::slotted(vscode-inputbox), :host([variant='settings-group']) ::slotted(vscode-textfield), :host([variant='settings-group']) ::slotted(vscode-textarea), :host([variant='settings-group']) ::slotted(vscode-single-select), :host([variant='settings-group']) ::slotted(vscode-multi-select) { margin-top: 9px; } ::slotted(vscode-button:first-child) { margin-left: calc(var(--label-width) + var(--label-right-margin)); } :host([variant='vertical']) ::slotted(vscode-button) { margin-left: 0; } ::slotted(vscode-button) { margin-right: 4px; } `, ]"
2990
2990
  }
2991
2991
  ],
2992
2992
  "exports": [
@@ -2995,30 +2995,41 @@
2995
2995
  "name": "default",
2996
2996
  "declaration": {
2997
2997
  "name": "styles",
2998
- "module": "src/vscode-form-helper/vscode-form-helper.styles.ts"
2998
+ "module": "src/vscode-form-group/vscode-form-group.styles.ts"
2999
2999
  }
3000
3000
  }
3001
3001
  ]
3002
3002
  },
3003
3003
  {
3004
3004
  "kind": "javascript-module",
3005
- "path": "src/vscode-form-helper/vscode-form-helper.ts",
3005
+ "path": "src/vscode-form-group/vscode-form-group.ts",
3006
3006
  "declarations": [
3007
3007
  {
3008
3008
  "kind": "class",
3009
- "description": "Adds more detailed description to a [FromGroup](https://bendera.github.io/vscode-webview-elements/components/vscode-form-group/)",
3010
- "name": "VscodeFormHelper",
3009
+ "description": "",
3010
+ "name": "VscodeFormGroup",
3011
3011
  "cssProperties": [
3012
3012
  {
3013
- "description": "Default text color. 90% transparency version of `--vscode-foreground` by default.",
3014
- "name": "--vsc-foreground-translucent"
3013
+ "description": "The width of the label in horizontal mode",
3014
+ "name": "--label-width",
3015
+ "default": "150px"
3016
+ },
3017
+ {
3018
+ "description": "The right margin of the label in horizontal mode",
3019
+ "name": "--label-right-margin",
3020
+ "default": "14px"
3015
3021
  }
3016
3022
  ],
3017
3023
  "members": [
3018
3024
  {
3019
- "kind": "method",
3020
- "name": "_injectLightDOMStyles",
3021
- "privacy": "private"
3025
+ "kind": "field",
3026
+ "name": "variant",
3027
+ "type": {
3028
+ "text": "FormGroupVariant"
3029
+ },
3030
+ "default": "'horizontal'",
3031
+ "attribute": "variant",
3032
+ "reflects": true
3022
3033
  },
3023
3034
  {
3024
3035
  "kind": "field",
@@ -3034,36 +3045,46 @@
3034
3045
  }
3035
3046
  }
3036
3047
  ],
3048
+ "attributes": [
3049
+ {
3050
+ "name": "variant",
3051
+ "type": {
3052
+ "text": "FormGroupVariant"
3053
+ },
3054
+ "default": "'horizontal'",
3055
+ "fieldName": "variant"
3056
+ }
3057
+ ],
3037
3058
  "superclass": {
3038
3059
  "name": "VscElement",
3039
3060
  "module": "/src/includes/VscElement.js"
3040
3061
  },
3041
- "tagName": "vscode-form-helper",
3062
+ "tagName": "vscode-form-group",
3042
3063
  "customElement": true
3043
3064
  }
3044
3065
  ],
3045
3066
  "exports": [
3046
3067
  {
3047
3068
  "kind": "js",
3048
- "name": "VscodeFormHelper",
3069
+ "name": "VscodeFormGroup",
3049
3070
  "declaration": {
3050
- "name": "VscodeFormHelper",
3051
- "module": "src/vscode-form-helper/vscode-form-helper.ts"
3071
+ "name": "VscodeFormGroup",
3072
+ "module": "src/vscode-form-group/vscode-form-group.ts"
3052
3073
  }
3053
3074
  },
3054
3075
  {
3055
3076
  "kind": "custom-element-definition",
3056
- "name": "vscode-form-helper",
3077
+ "name": "vscode-form-group",
3057
3078
  "declaration": {
3058
- "name": "VscodeFormHelper",
3059
- "module": "src/vscode-form-helper/vscode-form-helper.ts"
3079
+ "name": "VscodeFormGroup",
3080
+ "module": "src/vscode-form-group/vscode-form-group.ts"
3060
3081
  }
3061
3082
  }
3062
3083
  ]
3063
3084
  },
3064
3085
  {
3065
3086
  "kind": "javascript-module",
3066
- "path": "src/vscode-icon/vscode-icon.styles.ts",
3087
+ "path": "src/vscode-form-helper/vscode-form-helper.styles.ts",
3067
3088
  "declarations": [
3068
3089
  {
3069
3090
  "kind": "variable",
@@ -3071,7 +3092,7 @@
3071
3092
  "type": {
3072
3093
  "text": "CSSResultGroup"
3073
3094
  },
3074
- "default": "[ defaultStyles, css` :host { color: var(--vscode-icon-foreground, #cccccc); display: inline-block; } .codicon[class*='codicon-'] { display: block; } .icon, .button { background-color: transparent; display: block; padding: 0; } .button { border-color: transparent; border-style: solid; border-width: 1px; border-radius: 5px; color: currentColor; cursor: pointer; padding: 2px; } .button:hover { background-color: var( --vscode-toolbar-hoverBackground, rgba(90, 93, 94, 0.31) ); } .button:active { background-color: var( --vscode-toolbar-activeBackground, rgba(99, 102, 103, 0.31) ); } .button:focus { outline: none; } .button:focus-visible { border-color: var(--vscode-focusBorder, #0078d4); } @keyframes icon-spin { 100% { transform: rotate(360deg); } } .spin { animation-name: icon-spin; animation-timing-function: linear; animation-iteration-count: infinite; } `, ]"
3095
+ "default": "[ defaultStyles, css` :host { display: block; line-height: 1.4em; margin-bottom: 4px; margin-top: 4px; max-width: 720px; opacity: 0.9; } :host([vertical]) { margin-left: 0; } `, ]"
3075
3096
  }
3076
3097
  ],
3077
3098
  "exports": [
@@ -3080,136 +3101,29 @@
3080
3101
  "name": "default",
3081
3102
  "declaration": {
3082
3103
  "name": "styles",
3083
- "module": "src/vscode-icon/vscode-icon.styles.ts"
3104
+ "module": "src/vscode-form-helper/vscode-form-helper.styles.ts"
3084
3105
  }
3085
3106
  }
3086
3107
  ]
3087
3108
  },
3088
3109
  {
3089
3110
  "kind": "javascript-module",
3090
- "path": "src/vscode-icon/vscode-icon.ts",
3111
+ "path": "src/vscode-form-helper/vscode-form-helper.ts",
3091
3112
  "declarations": [
3092
3113
  {
3093
3114
  "kind": "class",
3094
- "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.",
3095
- "name": "VscodeIcon",
3115
+ "description": "Adds more detailed description to a [FromGroup](https://bendera.github.io/vscode-webview-elements/components/vscode-form-group/)",
3116
+ "name": "VscodeFormHelper",
3096
3117
  "cssProperties": [
3097
3118
  {
3098
- "name": "--vscode-icon-foreground",
3099
- "default": "#cccccc"
3100
- },
3101
- {
3102
- "description": "Hover state background color in `active-icon` mode",
3103
- "name": "--vscode-toolbar-hoverBackground",
3104
- "default": "rgba(90, 93, 94, 0.31)"
3105
- },
3106
- {
3107
- "description": "Active state background color in `active-icon` mode",
3108
- "name": "--vscode-toolbar-activeBackground",
3109
- "default": "rgba(99, 102, 103, 0.31)"
3110
- },
3111
- {
3112
- "name": "--vscode-focusBorder",
3113
- "default": "#0078d4"
3119
+ "description": "Default text color. 90% transparency version of `--vscode-foreground` by default.",
3120
+ "name": "--vsc-foreground-translucent"
3114
3121
  }
3115
3122
  ],
3116
3123
  "members": [
3117
- {
3118
- "kind": "field",
3119
- "name": "label",
3120
- "type": {
3121
- "text": "string"
3122
- },
3123
- "default": "''",
3124
- "description": "Set a meaningful label in `action-icon` mode for the screen readers",
3125
- "attribute": "label"
3126
- },
3127
- {
3128
- "kind": "field",
3129
- "name": "name",
3130
- "type": {
3131
- "text": "string"
3132
- },
3133
- "default": "''",
3134
- "description": "[Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) icon name.",
3135
- "attribute": "name"
3136
- },
3137
- {
3138
- "kind": "field",
3139
- "name": "size",
3140
- "type": {
3141
- "text": "number"
3142
- },
3143
- "default": "16",
3144
- "description": "Icon size in pixels",
3145
- "attribute": "size"
3146
- },
3147
- {
3148
- "kind": "field",
3149
- "name": "spin",
3150
- "type": {
3151
- "text": "boolean"
3152
- },
3153
- "default": "false",
3154
- "description": "Enable rotation animation",
3155
- "attribute": "spin",
3156
- "reflects": true
3157
- },
3158
- {
3159
- "kind": "field",
3160
- "name": "spinDuration",
3161
- "type": {
3162
- "text": "number"
3163
- },
3164
- "default": "1.5",
3165
- "description": "Animation duration in seconds",
3166
- "attribute": "spin-duration"
3167
- },
3168
- {
3169
- "kind": "field",
3170
- "name": "actionIcon",
3171
- "type": {
3172
- "text": "boolean"
3173
- },
3174
- "default": "false",
3175
- "description": "Behaves like a button",
3176
- "attribute": "action-icon",
3177
- "reflects": true
3178
- },
3179
- {
3180
- "kind": "field",
3181
- "name": "stylesheetHref",
3182
- "type": {
3183
- "text": "string | undefined"
3184
- },
3185
- "privacy": "private",
3186
- "static": true,
3187
- "default": "''"
3188
- },
3189
- {
3190
- "kind": "field",
3191
- "name": "nonce",
3192
- "type": {
3193
- "text": "string | undefined"
3194
- },
3195
- "privacy": "private",
3196
- "static": true,
3197
- "default": "''"
3198
- },
3199
3124
  {
3200
3125
  "kind": "method",
3201
- "name": "_getStylesheetConfig",
3202
- "privacy": "private",
3203
- "return": {
3204
- "type": {
3205
- "text": "{\n href: string | undefined;\n nonce: string | undefined;\n }"
3206
- }
3207
- },
3208
- "description": "For using web fonts in web components, the font stylesheet must be included\ntwice: on the page and in the web component. This function looks for the\nfont stylesheet on the page and returns the stylesheet URL and the nonce\nid."
3209
- },
3210
- {
3211
- "kind": "field",
3212
- "name": "_onButtonClick",
3126
+ "name": "_injectLightDOMStyles",
3213
3127
  "privacy": "private"
3214
3128
  },
3215
3129
  {
@@ -3226,85 +3140,29 @@
3226
3140
  }
3227
3141
  }
3228
3142
  ],
3229
- "attributes": [
3230
- {
3231
- "name": "label",
3232
- "type": {
3233
- "text": "string"
3234
- },
3235
- "default": "''",
3236
- "description": "Set a meaningful label in `action-icon` mode for the screen readers",
3237
- "fieldName": "label"
3238
- },
3239
- {
3240
- "name": "name",
3241
- "type": {
3242
- "text": "string"
3243
- },
3244
- "default": "''",
3245
- "description": "[Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) icon name.",
3246
- "fieldName": "name"
3247
- },
3248
- {
3249
- "name": "size",
3250
- "type": {
3251
- "text": "number"
3252
- },
3253
- "default": "16",
3254
- "description": "Icon size in pixels",
3255
- "fieldName": "size"
3256
- },
3257
- {
3258
- "name": "spin",
3259
- "type": {
3260
- "text": "boolean"
3261
- },
3262
- "default": "false",
3263
- "description": "Enable rotation animation",
3264
- "fieldName": "spin"
3265
- },
3266
- {
3267
- "name": "spin-duration",
3268
- "type": {
3269
- "text": "number"
3270
- },
3271
- "default": "1.5",
3272
- "description": "Animation duration in seconds",
3273
- "fieldName": "spinDuration"
3274
- },
3275
- {
3276
- "name": "action-icon",
3277
- "type": {
3278
- "text": "boolean"
3279
- },
3280
- "default": "false",
3281
- "description": "Behaves like a button",
3282
- "fieldName": "actionIcon"
3283
- }
3284
- ],
3285
3143
  "superclass": {
3286
3144
  "name": "VscElement",
3287
3145
  "module": "/src/includes/VscElement.js"
3288
3146
  },
3289
- "tagName": "vscode-icon",
3147
+ "tagName": "vscode-form-helper",
3290
3148
  "customElement": true
3291
3149
  }
3292
3150
  ],
3293
3151
  "exports": [
3294
3152
  {
3295
3153
  "kind": "js",
3296
- "name": "VscodeIcon",
3154
+ "name": "VscodeFormHelper",
3297
3155
  "declaration": {
3298
- "name": "VscodeIcon",
3299
- "module": "src/vscode-icon/vscode-icon.ts"
3156
+ "name": "VscodeFormHelper",
3157
+ "module": "src/vscode-form-helper/vscode-form-helper.ts"
3300
3158
  }
3301
3159
  },
3302
3160
  {
3303
3161
  "kind": "custom-element-definition",
3304
- "name": "vscode-icon",
3162
+ "name": "vscode-form-helper",
3305
3163
  "declaration": {
3306
- "name": "VscodeIcon",
3307
- "module": "src/vscode-icon/vscode-icon.ts"
3164
+ "name": "VscodeFormHelper",
3165
+ "module": "src/vscode-form-helper/vscode-form-helper.ts"
3308
3166
  }
3309
3167
  }
3310
3168
  ]
@@ -3490,112 +3348,6 @@
3490
3348
  }
3491
3349
  ]
3492
3350
  },
3493
- {
3494
- "kind": "javascript-module",
3495
- "path": "src/vscode-form-group/vscode-form-group.styles.ts",
3496
- "declarations": [
3497
- {
3498
- "kind": "variable",
3499
- "name": "styles",
3500
- "type": {
3501
- "text": "CSSResultGroup"
3502
- },
3503
- "default": "[ defaultStyles, css` :host { --label-right-margin: 14px; --label-width: 150px; display: block; margin: 15px 0; } :host([variant='settings-group']) { margin: 0; padding: 12px 14px 18px; max-width: 727px; } .wrapper { display: flex; flex-wrap: wrap; } :host([variant='vertical']) .wrapper, :host([variant='settings-group']) .wrapper { display: block; } :host([variant='horizontal']) ::slotted(vscode-checkbox-group), :host([variant='horizontal']) ::slotted(vscode-radio-group) { width: calc(100% - calc(var(--label-width) + var(--label-right-margin))); } :host([variant='horizontal']) ::slotted(vscode-label) { margin-right: var(--label-right-margin); text-align: right; width: var(--label-width); } :host([variant='settings-group']) ::slotted(vscode-label) { height: 18px; line-height: 18px; margin-bottom: 4px; margin-right: 0; padding: 0; } ::slotted(vscode-form-helper) { margin-left: calc(var(--label-width) + var(--label-right-margin)); } :host([variant='vertical']) ::slotted(vscode-form-helper), :host([variant='settings-group']) ::slotted(vscode-form-helper) { display: block; margin-left: 0; } :host([variant='settings-group']) ::slotted(vscode-form-helper) { margin-bottom: 0; margin-top: 0; } :host([variant='vertical']) ::slotted(vscode-label), :host([variant='settings-group']) ::slotted(vscode-label) { display: block; margin-left: 0; text-align: left; } :host([variant='settings-group']) ::slotted(vscode-inputbox), :host([variant='settings-group']) ::slotted(vscode-textfield), :host([variant='settings-group']) ::slotted(vscode-textarea), :host([variant='settings-group']) ::slotted(vscode-single-select), :host([variant='settings-group']) ::slotted(vscode-multi-select) { margin-top: 9px; } ::slotted(vscode-button:first-child) { margin-left: calc(var(--label-width) + var(--label-right-margin)); } :host([variant='vertical']) ::slotted(vscode-button) { margin-left: 0; } ::slotted(vscode-button) { margin-right: 4px; } `, ]"
3504
- }
3505
- ],
3506
- "exports": [
3507
- {
3508
- "kind": "js",
3509
- "name": "default",
3510
- "declaration": {
3511
- "name": "styles",
3512
- "module": "src/vscode-form-group/vscode-form-group.styles.ts"
3513
- }
3514
- }
3515
- ]
3516
- },
3517
- {
3518
- "kind": "javascript-module",
3519
- "path": "src/vscode-form-group/vscode-form-group.ts",
3520
- "declarations": [
3521
- {
3522
- "kind": "class",
3523
- "description": "",
3524
- "name": "VscodeFormGroup",
3525
- "cssProperties": [
3526
- {
3527
- "description": "The width of the label in horizontal mode",
3528
- "name": "--label-width",
3529
- "default": "150px"
3530
- },
3531
- {
3532
- "description": "The right margin of the label in horizontal mode",
3533
- "name": "--label-right-margin",
3534
- "default": "14px"
3535
- }
3536
- ],
3537
- "members": [
3538
- {
3539
- "kind": "field",
3540
- "name": "variant",
3541
- "type": {
3542
- "text": "FormGroupVariant"
3543
- },
3544
- "default": "'horizontal'",
3545
- "attribute": "variant",
3546
- "reflects": true
3547
- },
3548
- {
3549
- "kind": "field",
3550
- "name": "version",
3551
- "type": {
3552
- "text": "string"
3553
- },
3554
- "description": "VSCode Elements version",
3555
- "readonly": true,
3556
- "inheritedFrom": {
3557
- "name": "VscElement",
3558
- "module": "src/includes/VscElement.ts"
3559
- }
3560
- }
3561
- ],
3562
- "attributes": [
3563
- {
3564
- "name": "variant",
3565
- "type": {
3566
- "text": "FormGroupVariant"
3567
- },
3568
- "default": "'horizontal'",
3569
- "fieldName": "variant"
3570
- }
3571
- ],
3572
- "superclass": {
3573
- "name": "VscElement",
3574
- "module": "/src/includes/VscElement.js"
3575
- },
3576
- "tagName": "vscode-form-group",
3577
- "customElement": true
3578
- }
3579
- ],
3580
- "exports": [
3581
- {
3582
- "kind": "js",
3583
- "name": "VscodeFormGroup",
3584
- "declaration": {
3585
- "name": "VscodeFormGroup",
3586
- "module": "src/vscode-form-group/vscode-form-group.ts"
3587
- }
3588
- },
3589
- {
3590
- "kind": "custom-element-definition",
3591
- "name": "vscode-form-group",
3592
- "declaration": {
3593
- "name": "VscodeFormGroup",
3594
- "module": "src/vscode-form-group/vscode-form-group.ts"
3595
- }
3596
- }
3597
- ]
3598
- },
3599
3351
  {
3600
3352
  "kind": "javascript-module",
3601
3353
  "path": "src/vscode-multi-select/vscode-multi-select.styles.ts",
@@ -5028,77 +4780,153 @@
5028
4780
  },
5029
4781
  {
5030
4782
  "kind": "javascript-module",
5031
- "path": "src/vscode-option/vscode-option.styles.ts",
5032
- "declarations": [],
4783
+ "path": "src/vscode-icon/vscode-icon.styles.ts",
4784
+ "declarations": [
4785
+ {
4786
+ "kind": "variable",
4787
+ "name": "styles",
4788
+ "type": {
4789
+ "text": "CSSResultGroup"
4790
+ },
4791
+ "default": "[ defaultStyles, css` :host { color: var(--vscode-icon-foreground, #cccccc); display: inline-block; } .codicon[class*='codicon-'] { display: block; } .icon, .button { background-color: transparent; display: block; padding: 0; } .button { border-color: transparent; border-style: solid; border-width: 1px; border-radius: 5px; color: currentColor; cursor: pointer; padding: 2px; } .button:hover { background-color: var( --vscode-toolbar-hoverBackground, rgba(90, 93, 94, 0.31) ); } .button:active { background-color: var( --vscode-toolbar-activeBackground, rgba(99, 102, 103, 0.31) ); } .button:focus { outline: none; } .button:focus-visible { border-color: var(--vscode-focusBorder, #0078d4); } @keyframes icon-spin { 100% { transform: rotate(360deg); } } .spin { animation-name: icon-spin; animation-timing-function: linear; animation-iteration-count: infinite; } `, ]"
4792
+ }
4793
+ ],
5033
4794
  "exports": [
5034
4795
  {
5035
4796
  "kind": "js",
5036
4797
  "name": "default",
5037
4798
  "declaration": {
5038
4799
  "name": "styles",
5039
- "module": "src/vscode-option/vscode-option.styles.ts"
4800
+ "module": "src/vscode-icon/vscode-icon.styles.ts"
5040
4801
  }
5041
4802
  }
5042
4803
  ]
5043
4804
  },
5044
4805
  {
5045
4806
  "kind": "javascript-module",
5046
- "path": "src/vscode-option/vscode-option.ts",
4807
+ "path": "src/vscode-icon/vscode-icon.ts",
5047
4808
  "declarations": [
5048
4809
  {
5049
4810
  "kind": "class",
5050
- "description": "",
5051
- "name": "VscodeOption",
4811
+ "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.",
4812
+ "name": "VscodeIcon",
4813
+ "cssProperties": [
4814
+ {
4815
+ "name": "--vscode-icon-foreground",
4816
+ "default": "#cccccc"
4817
+ },
4818
+ {
4819
+ "description": "Hover state background color in `active-icon` mode",
4820
+ "name": "--vscode-toolbar-hoverBackground",
4821
+ "default": "rgba(90, 93, 94, 0.31)"
4822
+ },
4823
+ {
4824
+ "description": "Active state background color in `active-icon` mode",
4825
+ "name": "--vscode-toolbar-activeBackground",
4826
+ "default": "rgba(99, 102, 103, 0.31)"
4827
+ },
4828
+ {
4829
+ "name": "--vscode-focusBorder",
4830
+ "default": "#0078d4"
4831
+ }
4832
+ ],
5052
4833
  "members": [
5053
4834
  {
5054
4835
  "kind": "field",
5055
- "name": "value",
4836
+ "name": "label",
5056
4837
  "type": {
5057
- "text": "string | undefined | undefined"
4838
+ "text": "string"
5058
4839
  },
5059
- "attribute": "value"
4840
+ "default": "''",
4841
+ "description": "Set a meaningful label in `action-icon` mode for the screen readers",
4842
+ "attribute": "label"
5060
4843
  },
5061
4844
  {
5062
4845
  "kind": "field",
5063
- "name": "description",
4846
+ "name": "name",
5064
4847
  "type": {
5065
4848
  "text": "string"
5066
4849
  },
5067
4850
  "default": "''",
5068
- "attribute": "description"
4851
+ "description": "[Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) icon name.",
4852
+ "attribute": "name"
5069
4853
  },
5070
4854
  {
5071
4855
  "kind": "field",
5072
- "name": "selected",
4856
+ "name": "size",
4857
+ "type": {
4858
+ "text": "number"
4859
+ },
4860
+ "default": "16",
4861
+ "description": "Icon size in pixels",
4862
+ "attribute": "size"
4863
+ },
4864
+ {
4865
+ "kind": "field",
4866
+ "name": "spin",
5073
4867
  "type": {
5074
4868
  "text": "boolean"
5075
4869
  },
5076
4870
  "default": "false",
5077
- "attribute": "selected",
4871
+ "description": "Enable rotation animation",
4872
+ "attribute": "spin",
5078
4873
  "reflects": true
5079
4874
  },
5080
4875
  {
5081
4876
  "kind": "field",
5082
- "name": "disabled",
4877
+ "name": "spinDuration",
4878
+ "type": {
4879
+ "text": "number"
4880
+ },
4881
+ "default": "1.5",
4882
+ "description": "Animation duration in seconds",
4883
+ "attribute": "spin-duration"
4884
+ },
4885
+ {
4886
+ "kind": "field",
4887
+ "name": "actionIcon",
5083
4888
  "type": {
5084
4889
  "text": "boolean"
5085
4890
  },
5086
4891
  "default": "false",
5087
- "attribute": "disabled",
4892
+ "description": "Behaves like a button",
4893
+ "attribute": "action-icon",
5088
4894
  "reflects": true
5089
4895
  },
5090
4896
  {
5091
4897
  "kind": "field",
5092
- "name": "_initialized",
4898
+ "name": "stylesheetHref",
5093
4899
  "type": {
5094
- "text": "boolean"
4900
+ "text": "string | undefined"
5095
4901
  },
5096
4902
  "privacy": "private",
5097
- "default": "false"
4903
+ "static": true,
4904
+ "default": "''"
5098
4905
  },
5099
4906
  {
5100
4907
  "kind": "field",
5101
- "name": "_handleSlotChange",
4908
+ "name": "nonce",
4909
+ "type": {
4910
+ "text": "string | undefined"
4911
+ },
4912
+ "privacy": "private",
4913
+ "static": true,
4914
+ "default": "''"
4915
+ },
4916
+ {
4917
+ "kind": "method",
4918
+ "name": "_getStylesheetConfig",
4919
+ "privacy": "private",
4920
+ "return": {
4921
+ "type": {
4922
+ "text": "{\n href: string | undefined;\n nonce: string | undefined;\n }"
4923
+ }
4924
+ },
4925
+ "description": "For using web fonts in web components, the font stylesheet must be included\ntwice: on the page and in the web component. This function looks for the\nfont stylesheet on the page and returns the stylesheet URL and the nonce\nid."
4926
+ },
4927
+ {
4928
+ "kind": "field",
4929
+ "name": "_onButtonClick",
5102
4930
  "privacy": "private"
5103
4931
  },
5104
4932
  {
@@ -5117,36 +4945,208 @@
5117
4945
  ],
5118
4946
  "attributes": [
5119
4947
  {
5120
- "name": "value",
4948
+ "name": "label",
5121
4949
  "type": {
5122
- "text": "string | undefined | undefined"
4950
+ "text": "string"
5123
4951
  },
5124
- "fieldName": "value"
4952
+ "default": "''",
4953
+ "description": "Set a meaningful label in `action-icon` mode for the screen readers",
4954
+ "fieldName": "label"
5125
4955
  },
5126
4956
  {
5127
- "name": "description",
4957
+ "name": "name",
5128
4958
  "type": {
5129
4959
  "text": "string"
5130
4960
  },
5131
4961
  "default": "''",
5132
- "fieldName": "description"
4962
+ "description": "[Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) icon name.",
4963
+ "fieldName": "name"
5133
4964
  },
5134
4965
  {
5135
- "name": "selected",
4966
+ "name": "size",
4967
+ "type": {
4968
+ "text": "number"
4969
+ },
4970
+ "default": "16",
4971
+ "description": "Icon size in pixels",
4972
+ "fieldName": "size"
4973
+ },
4974
+ {
4975
+ "name": "spin",
5136
4976
  "type": {
5137
4977
  "text": "boolean"
5138
4978
  },
5139
4979
  "default": "false",
5140
- "fieldName": "selected"
4980
+ "description": "Enable rotation animation",
4981
+ "fieldName": "spin"
5141
4982
  },
5142
4983
  {
5143
- "name": "disabled",
4984
+ "name": "spin-duration",
4985
+ "type": {
4986
+ "text": "number"
4987
+ },
4988
+ "default": "1.5",
4989
+ "description": "Animation duration in seconds",
4990
+ "fieldName": "spinDuration"
4991
+ },
4992
+ {
4993
+ "name": "action-icon",
5144
4994
  "type": {
5145
4995
  "text": "boolean"
5146
4996
  },
5147
4997
  "default": "false",
5148
- "fieldName": "disabled"
5149
- }
4998
+ "description": "Behaves like a button",
4999
+ "fieldName": "actionIcon"
5000
+ }
5001
+ ],
5002
+ "superclass": {
5003
+ "name": "VscElement",
5004
+ "module": "/src/includes/VscElement.js"
5005
+ },
5006
+ "tagName": "vscode-icon",
5007
+ "customElement": true
5008
+ }
5009
+ ],
5010
+ "exports": [
5011
+ {
5012
+ "kind": "js",
5013
+ "name": "VscodeIcon",
5014
+ "declaration": {
5015
+ "name": "VscodeIcon",
5016
+ "module": "src/vscode-icon/vscode-icon.ts"
5017
+ }
5018
+ },
5019
+ {
5020
+ "kind": "custom-element-definition",
5021
+ "name": "vscode-icon",
5022
+ "declaration": {
5023
+ "name": "VscodeIcon",
5024
+ "module": "src/vscode-icon/vscode-icon.ts"
5025
+ }
5026
+ }
5027
+ ]
5028
+ },
5029
+ {
5030
+ "kind": "javascript-module",
5031
+ "path": "src/vscode-option/vscode-option.styles.ts",
5032
+ "declarations": [],
5033
+ "exports": [
5034
+ {
5035
+ "kind": "js",
5036
+ "name": "default",
5037
+ "declaration": {
5038
+ "name": "styles",
5039
+ "module": "src/vscode-option/vscode-option.styles.ts"
5040
+ }
5041
+ }
5042
+ ]
5043
+ },
5044
+ {
5045
+ "kind": "javascript-module",
5046
+ "path": "src/vscode-option/vscode-option.ts",
5047
+ "declarations": [
5048
+ {
5049
+ "kind": "class",
5050
+ "description": "",
5051
+ "name": "VscodeOption",
5052
+ "members": [
5053
+ {
5054
+ "kind": "field",
5055
+ "name": "value",
5056
+ "type": {
5057
+ "text": "string | undefined | undefined"
5058
+ },
5059
+ "attribute": "value"
5060
+ },
5061
+ {
5062
+ "kind": "field",
5063
+ "name": "description",
5064
+ "type": {
5065
+ "text": "string"
5066
+ },
5067
+ "default": "''",
5068
+ "attribute": "description"
5069
+ },
5070
+ {
5071
+ "kind": "field",
5072
+ "name": "selected",
5073
+ "type": {
5074
+ "text": "boolean"
5075
+ },
5076
+ "default": "false",
5077
+ "attribute": "selected",
5078
+ "reflects": true
5079
+ },
5080
+ {
5081
+ "kind": "field",
5082
+ "name": "disabled",
5083
+ "type": {
5084
+ "text": "boolean"
5085
+ },
5086
+ "default": "false",
5087
+ "attribute": "disabled",
5088
+ "reflects": true
5089
+ },
5090
+ {
5091
+ "kind": "field",
5092
+ "name": "_initialized",
5093
+ "type": {
5094
+ "text": "boolean"
5095
+ },
5096
+ "privacy": "private",
5097
+ "default": "false"
5098
+ },
5099
+ {
5100
+ "kind": "field",
5101
+ "name": "_handleSlotChange",
5102
+ "privacy": "private"
5103
+ },
5104
+ {
5105
+ "kind": "field",
5106
+ "name": "version",
5107
+ "type": {
5108
+ "text": "string"
5109
+ },
5110
+ "description": "VSCode Elements version",
5111
+ "readonly": true,
5112
+ "inheritedFrom": {
5113
+ "name": "VscElement",
5114
+ "module": "src/includes/VscElement.ts"
5115
+ }
5116
+ }
5117
+ ],
5118
+ "attributes": [
5119
+ {
5120
+ "name": "value",
5121
+ "type": {
5122
+ "text": "string | undefined | undefined"
5123
+ },
5124
+ "fieldName": "value"
5125
+ },
5126
+ {
5127
+ "name": "description",
5128
+ "type": {
5129
+ "text": "string"
5130
+ },
5131
+ "default": "''",
5132
+ "fieldName": "description"
5133
+ },
5134
+ {
5135
+ "name": "selected",
5136
+ "type": {
5137
+ "text": "boolean"
5138
+ },
5139
+ "default": "false",
5140
+ "fieldName": "selected"
5141
+ },
5142
+ {
5143
+ "name": "disabled",
5144
+ "type": {
5145
+ "text": "boolean"
5146
+ },
5147
+ "default": "false",
5148
+ "fieldName": "disabled"
5149
+ }
5150
5150
  ],
5151
5151
  "superclass": {
5152
5152
  "name": "VscElement",
@@ -7965,7 +7965,7 @@
7965
7965
  },
7966
7966
  {
7967
7967
  "kind": "javascript-module",
7968
- "path": "src/vscode-split-layout/vscode-split-layout.styles.ts",
7968
+ "path": "src/vscode-tab-header/vscode-tab-header.styles.ts",
7969
7969
  "declarations": [
7970
7970
  {
7971
7971
  "kind": "variable",
@@ -7973,7 +7973,7 @@
7973
7973
  "type": {
7974
7974
  "text": "CSSResultGroup"
7975
7975
  },
7976
- "default": "[ defaultStyles, css` :host { --separator-border: var(--vscode-editorWidget-border, #454545); border: 1px solid var(--vscode-editorWidget-border, #454545); display: block; overflow: hidden; position: relative; } ::slotted(*) { height: 100%; width: 100%; } ::slotted(vscode-split-layout) { border: 0; } .wrapper { display: flex; height: 100%; width: 100%; } .wrapper.horizontal { flex-direction: column; } .start { box-sizing: border-box; flex: 1; min-height: 0; min-width: 0; } :host([split='vertical']) .start { border-right: 1px solid var(--separator-border); } :host([split='horizontal']) .start { border-bottom: 1px solid var(--separator-border); } .end { flex: 1; min-height: 0; min-width: 0; } :host([split='vertical']) .start, :host([split='vertical']) .end { height: 100%; } :host([split='horizontal']) .start, :host([split='horizontal']) .end { width: 100%; } .handle-overlay { display: none; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 1; } .handle-overlay.active { display: block; } .handle-overlay.split-vertical { cursor: ew-resize; } .handle-overlay.split-horizontal { cursor: ns-resize; } .handle { background-color: transparent; position: absolute; z-index: 2; } .handle.hover { transition: background-color 0.1s ease-out 0.3s; background-color: var(--vscode-sash-hoverBorder, #0078d4); } .handle.hide { background-color: transparent; transition: background-color 0.1s ease-out; } .handle.split-vertical { cursor: ew-resize; height: 100%; } .handle.split-horizontal { cursor: ns-resize; width: 100%; } `, ]"
7976
+ "default": "[ defaultStyles, css` :host { cursor: pointer; display: block; user-select: none; } .wrapper { align-items: center; border-bottom: 1px solid transparent; color: var(--vscode-foreground, #cccccc); display: flex; min-height: 20px; overflow: hidden; padding: 7px 8px; position: relative; text-overflow: ellipsis; white-space: nowrap; } :host([active]) .wrapper { border-bottom-color: var(--vscode-panelTitle-activeForeground, #cccccc); color: var(--vscode-panelTitle-activeForeground, #cccccc); } :host([panel]) .wrapper { border-bottom: 0; margin-bottom: 0; padding: 0; } :host(:focus-visible) { outline: none; } .wrapper { align-items: center; color: var(--vscode-foreground, #cccccc); display: flex; min-height: 20px; overflow: inherit; text-overflow: inherit; position: relative; } .wrapper.panel { color: var(--vscode-panelTitle-inactiveForeground, #9d9d9d); } .wrapper.panel.active, .wrapper.panel:hover { color: var(--vscode-panelTitle-activeForeground, #cccccc); } :host([panel]) .wrapper { display: flex; font-size: 11px; height: 31px; padding: 2px 10px; text-transform: uppercase; } .main { overflow: inherit; text-overflow: inherit; } .active-indicator { display: none; } .active-indicator.panel.active { border-top: 1px solid var(--vscode-panelTitle-activeBorder, #0078d4); bottom: 4px; display: block; left: 8px; pointer-events: none; position: absolute; right: 8px; } :host(:focus-visible) .wrapper { outline-color: var(--vscode-focusBorder, #0078d4); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host(:focus-visible) .wrapper.panel { outline-offset: -2px; } slot[name='content-before']::slotted(vscode-badge) { margin-right: 8px; } slot[name='content-after']::slotted(vscode-badge) { margin-left: 8px; } `, ]"
7977
7977
  }
7978
7978
  ],
7979
7979
  "exports": [
@@ -7982,1708 +7982,1820 @@
7982
7982
  "name": "default",
7983
7983
  "declaration": {
7984
7984
  "name": "styles",
7985
- "module": "src/vscode-split-layout/vscode-split-layout.styles.ts"
7985
+ "module": "src/vscode-tab-header/vscode-tab-header.styles.ts"
7986
7986
  }
7987
7987
  }
7988
7988
  ]
7989
7989
  },
7990
7990
  {
7991
7991
  "kind": "javascript-module",
7992
- "path": "src/vscode-split-layout/vscode-split-layout.ts",
7992
+ "path": "src/vscode-tab-header/vscode-tab-header.ts",
7993
7993
  "declarations": [
7994
- {
7995
- "kind": "function",
7996
- "name": "parseValue",
7997
- "return": {
7998
- "type": {
7999
- "text": "{value: number; unit: PositionUnit}"
8000
- }
8001
- },
8002
- "parameters": [
8003
- {
8004
- "name": "raw",
8005
- "type": {
8006
- "text": "string"
8007
- }
8008
- }
8009
- ]
8010
- },
8011
- {
8012
- "kind": "function",
8013
- "name": "pxToPercent",
8014
- "parameters": [
8015
- {
8016
- "name": "current",
8017
- "type": {
8018
- "text": "number"
8019
- }
8020
- },
8021
- {
8022
- "name": "max",
8023
- "type": {
8024
- "text": "number"
8025
- }
8026
- }
8027
- ]
8028
- },
8029
- {
8030
- "kind": "function",
8031
- "name": "percentToPx",
8032
- "parameters": [
8033
- {
8034
- "name": "current",
8035
- "type": {
8036
- "text": "number"
8037
- }
8038
- },
8039
- {
8040
- "name": "max",
8041
- "type": {
8042
- "text": "number"
8043
- }
8044
- }
8045
- ]
8046
- },
8047
7994
  {
8048
7995
  "kind": "class",
8049
7996
  "description": "",
8050
- "name": "VscodeSplitLayout",
7997
+ "name": "VscodeTabHeader",
8051
7998
  "cssProperties": [
8052
7999
  {
8053
- "name": "--separator-border",
8054
- "default": "#454545"
8000
+ "name": "--vscode-focusBorder",
8001
+ "default": "#0078d4"
8055
8002
  },
8056
8003
  {
8057
- "name": "--vscode-editorWidget-border",
8058
- "default": "#454545"
8004
+ "name": "--vscode-foreground",
8005
+ "default": "#cccccc"
8059
8006
  },
8060
8007
  {
8061
- "name": "--vscode-sash-hoverBorder",
8008
+ "name": "--vscode-panelTitle-activeBorder",
8062
8009
  "default": "#0078d4"
8010
+ },
8011
+ {
8012
+ "name": "--vscode-panelTitle-activeForeground",
8013
+ "default": "#cccccc"
8014
+ },
8015
+ {
8016
+ "name": "--vscode-panelTitle-inactiveForeground",
8017
+ "default": "#9d9d9d"
8063
8018
  }
8064
8019
  ],
8065
8020
  "members": [
8066
8021
  {
8067
8022
  "kind": "field",
8068
- "name": "split",
8069
- "description": "Direction of the divider.",
8023
+ "name": "active",
8070
8024
  "type": {
8071
- "text": "Orientation"
8025
+ "text": "boolean"
8072
8026
  },
8073
- "attribute": "split",
8027
+ "default": "false",
8028
+ "attribute": "active",
8074
8029
  "reflects": true
8075
8030
  },
8076
8031
  {
8077
8032
  "kind": "field",
8078
- "name": "_split",
8079
- "type": {
8080
- "text": "Orientation"
8081
- },
8082
- "privacy": "private",
8083
- "default": "'vertical'"
8084
- },
8085
- {
8086
- "kind": "field",
8087
- "name": "resetOnDblClick",
8033
+ "name": "panel",
8088
8034
  "type": {
8089
8035
  "text": "boolean"
8090
8036
  },
8091
8037
  "default": "false",
8092
- "description": "Controls whether the handle position should reset to the value set in the\n`initialHandlePosition` when it is double-clicked.",
8093
- "attribute": "reset-on-dbl-click",
8038
+ "description": "Panel-like look",
8039
+ "attribute": "panel",
8094
8040
  "reflects": true
8095
8041
  },
8096
8042
  {
8097
8043
  "kind": "field",
8098
- "name": "handleSize",
8099
- "type": {
8100
- "text": "number"
8101
- },
8102
- "default": "4",
8103
- "description": "Controls the draggable area size in pixels. it is intended to use the value\nof `workbench.sash.size`.",
8104
- "attribute": "handle-size",
8105
- "reflects": true
8106
- },
8107
- {
8108
- "kind": "field",
8109
- "name": "initialHandlePosition",
8044
+ "name": "version",
8110
8045
  "type": {
8111
8046
  "text": "string"
8112
8047
  },
8113
- "default": "'50%'",
8114
- "description": "The handler position will reset to this position when it is double-clicked,\nor the `resetHandlePosition()` is called.",
8115
- "attribute": "initial-handle-position",
8116
- "reflects": true
8117
- },
8118
- {
8119
- "kind": "field",
8120
- "name": "handlePosition",
8121
- "description": "Set the handle position programmatically. The value must include a unit,\neither `%` or `px`. If no unit is specified, the value is interpreted as\n`px`.",
8122
- "type": {
8123
- "text": "string | undefined"
8124
- },
8125
- "attribute": "handle-position"
8126
- },
8127
- {
8128
- "kind": "field",
8129
- "name": "_rawHandlePosition",
8130
- "type": {
8131
- "text": "string | undefined"
8132
- },
8133
- "privacy": "private"
8134
- },
8048
+ "description": "VSCode Elements version",
8049
+ "readonly": true,
8050
+ "inheritedFrom": {
8051
+ "name": "VscElement",
8052
+ "module": "src/includes/VscElement.ts"
8053
+ }
8054
+ }
8055
+ ],
8056
+ "attributes": [
8135
8057
  {
8136
- "kind": "field",
8137
- "name": "fixedPane",
8138
- "description": "The size of the fixed pane will not change when the component is resized.",
8058
+ "name": "active",
8139
8059
  "type": {
8140
- "text": "'start' | 'end' | 'none'"
8060
+ "text": "boolean"
8141
8061
  },
8142
- "attribute": "fixed-pane"
8062
+ "default": "false",
8063
+ "fieldName": "active"
8143
8064
  },
8144
8065
  {
8145
- "kind": "field",
8146
- "name": "_fixedPane",
8066
+ "name": "panel",
8147
8067
  "type": {
8148
- "text": "FixedPaneType"
8068
+ "text": "boolean"
8149
8069
  },
8150
- "privacy": "private",
8151
- "default": "'none'"
8152
- },
8070
+ "default": "false",
8071
+ "description": "Panel-like look",
8072
+ "fieldName": "panel"
8073
+ }
8074
+ ],
8075
+ "superclass": {
8076
+ "name": "VscElement",
8077
+ "module": "/src/includes/VscElement.js"
8078
+ },
8079
+ "tagName": "vscode-tab-header",
8080
+ "customElement": true
8081
+ }
8082
+ ],
8083
+ "exports": [
8084
+ {
8085
+ "kind": "js",
8086
+ "name": "VscodeTabHeader",
8087
+ "declaration": {
8088
+ "name": "VscodeTabHeader",
8089
+ "module": "src/vscode-tab-header/vscode-tab-header.ts"
8090
+ }
8091
+ },
8092
+ {
8093
+ "kind": "custom-element-definition",
8094
+ "name": "vscode-tab-header",
8095
+ "declaration": {
8096
+ "name": "VscodeTabHeader",
8097
+ "module": "src/vscode-tab-header/vscode-tab-header.ts"
8098
+ }
8099
+ }
8100
+ ]
8101
+ },
8102
+ {
8103
+ "kind": "javascript-module",
8104
+ "path": "src/vscode-tab-panel/vscode-tab-panel.styles.ts",
8105
+ "declarations": [
8106
+ {
8107
+ "kind": "variable",
8108
+ "name": "styles",
8109
+ "type": {
8110
+ "text": "CSSResultGroup"
8111
+ },
8112
+ "default": "[ defaultStyles, css` :host { display: block; overflow: hidden; } :host(:focus-visible) { outline-color: var(--vscode-focusBorder, #0078d4); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host([panel]) { background-color: var(--vscode-panel-background, #181818); } `, ]"
8113
+ }
8114
+ ],
8115
+ "exports": [
8116
+ {
8117
+ "kind": "js",
8118
+ "name": "default",
8119
+ "declaration": {
8120
+ "name": "styles",
8121
+ "module": "src/vscode-tab-panel/vscode-tab-panel.styles.ts"
8122
+ }
8123
+ }
8124
+ ]
8125
+ },
8126
+ {
8127
+ "kind": "javascript-module",
8128
+ "path": "src/vscode-tab-panel/vscode-tab-panel.ts",
8129
+ "declarations": [
8130
+ {
8131
+ "kind": "class",
8132
+ "description": "",
8133
+ "name": "VscodeTabPanel",
8134
+ "cssProperties": [
8153
8135
  {
8154
- "kind": "field",
8155
- "name": "_handlePosition",
8156
- "type": {
8157
- "text": "number"
8158
- },
8159
- "privacy": "private",
8160
- "default": "0"
8136
+ "name": "--vscode-focusBorder",
8137
+ "default": "#0078d4"
8161
8138
  },
8162
8139
  {
8163
- "kind": "field",
8164
- "name": "_isDragActive",
8165
- "type": {
8166
- "text": "boolean"
8167
- },
8168
- "privacy": "private",
8169
- "default": "false"
8170
- },
8140
+ "name": "--vscode-panel--background",
8141
+ "default": "#181818"
8142
+ }
8143
+ ],
8144
+ "members": [
8171
8145
  {
8172
8146
  "kind": "field",
8173
- "name": "_hover",
8147
+ "name": "hidden",
8174
8148
  "type": {
8175
8149
  "text": "boolean"
8176
8150
  },
8177
- "privacy": "private",
8178
- "default": "false"
8151
+ "default": "false",
8152
+ "attribute": "hidden",
8153
+ "reflects": true
8179
8154
  },
8180
8155
  {
8181
8156
  "kind": "field",
8182
- "name": "_hide",
8157
+ "name": "panel",
8183
8158
  "type": {
8184
8159
  "text": "boolean"
8185
8160
  },
8186
- "privacy": "private",
8187
- "default": "false"
8161
+ "default": "false",
8162
+ "description": "Panel-like look",
8163
+ "attribute": "panel",
8164
+ "reflects": true
8188
8165
  },
8189
8166
  {
8190
8167
  "kind": "field",
8191
- "name": "_wrapperEl",
8168
+ "name": "version",
8192
8169
  "type": {
8193
- "text": "HTMLDivElement"
8170
+ "text": "string"
8194
8171
  },
8195
- "privacy": "private"
8196
- },
8172
+ "description": "VSCode Elements version",
8173
+ "readonly": true,
8174
+ "inheritedFrom": {
8175
+ "name": "VscElement",
8176
+ "module": "src/includes/VscElement.ts"
8177
+ }
8178
+ }
8179
+ ],
8180
+ "attributes": [
8197
8181
  {
8198
- "kind": "field",
8199
- "name": "_handleEl",
8182
+ "name": "hidden",
8200
8183
  "type": {
8201
- "text": "HTMLDivElement"
8184
+ "text": "boolean"
8202
8185
  },
8203
- "privacy": "private"
8186
+ "default": "false",
8187
+ "fieldName": "hidden"
8204
8188
  },
8205
8189
  {
8206
- "kind": "field",
8207
- "name": "_nestedLayoutsAtStart",
8190
+ "name": "panel",
8208
8191
  "type": {
8209
- "text": "HTMLElement[]"
8192
+ "text": "boolean"
8210
8193
  },
8211
- "privacy": "private"
8212
- },
8194
+ "default": "false",
8195
+ "description": "Panel-like look",
8196
+ "fieldName": "panel"
8197
+ }
8198
+ ],
8199
+ "superclass": {
8200
+ "name": "VscElement",
8201
+ "module": "/src/includes/VscElement.js"
8202
+ },
8203
+ "tagName": "vscode-tab-panel",
8204
+ "customElement": true
8205
+ }
8206
+ ],
8207
+ "exports": [
8208
+ {
8209
+ "kind": "js",
8210
+ "name": "VscodeTabPanel",
8211
+ "declaration": {
8212
+ "name": "VscodeTabPanel",
8213
+ "module": "src/vscode-tab-panel/vscode-tab-panel.ts"
8214
+ }
8215
+ },
8216
+ {
8217
+ "kind": "custom-element-definition",
8218
+ "name": "vscode-tab-panel",
8219
+ "declaration": {
8220
+ "name": "VscodeTabPanel",
8221
+ "module": "src/vscode-tab-panel/vscode-tab-panel.ts"
8222
+ }
8223
+ }
8224
+ ]
8225
+ },
8226
+ {
8227
+ "kind": "javascript-module",
8228
+ "path": "src/vscode-table/helpers.ts",
8229
+ "declarations": [
8230
+ {
8231
+ "kind": "function",
8232
+ "name": "rawValueToPercentage",
8233
+ "return": {
8234
+ "type": {
8235
+ "text": "number | null"
8236
+ }
8237
+ },
8238
+ "parameters": [
8213
8239
  {
8214
- "kind": "field",
8215
- "name": "_nestedLayoutsAtEnd",
8240
+ "name": "raw",
8216
8241
  "type": {
8217
- "text": "HTMLElement[]"
8218
- },
8219
- "privacy": "private"
8242
+ "text": "string | number"
8243
+ }
8220
8244
  },
8221
8245
  {
8222
- "kind": "field",
8223
- "name": "_boundRect",
8224
- "type": {
8225
- "text": "DOMRect"
8226
- },
8227
- "privacy": "private",
8228
- "default": "new DOMRect()"
8229
- },
8230
- {
8231
- "kind": "field",
8232
- "name": "_handleOffset",
8246
+ "name": "base",
8233
8247
  "type": {
8234
8248
  "text": "number"
8249
+ }
8250
+ }
8251
+ ]
8252
+ }
8253
+ ],
8254
+ "exports": [
8255
+ {
8256
+ "kind": "js",
8257
+ "name": "rawValueToPercentage",
8258
+ "declaration": {
8259
+ "name": "rawValueToPercentage",
8260
+ "module": "src/vscode-table/helpers.ts"
8261
+ }
8262
+ }
8263
+ ]
8264
+ },
8265
+ {
8266
+ "kind": "javascript-module",
8267
+ "path": "src/vscode-table/vscode-table.styles.ts",
8268
+ "declarations": [
8269
+ {
8270
+ "kind": "variable",
8271
+ "name": "styles",
8272
+ "type": {
8273
+ "text": "CSSResultGroup"
8274
+ },
8275
+ "default": "[ baseStyles, css` :host { display: block; --vsc-row-even-background: transparent; --vsc-row-odd-background: transparent; --vsc-row-border-bottom-width: 0; --vsc-row-border-top-width: 0; --vsc-row-display: table-row; } :host([bordered]), :host([bordered-rows]) { --vsc-row-border-bottom-width: 1px; } :host([compact]) { --vsc-row-display: block; } :host([bordered][compact]), :host([bordered-rows][compact]) { --vsc-row-border-bottom-width: 0; --vsc-row-border-top-width: 1px; } :host([zebra]) { --vsc-row-even-background: var( --vscode-keybindingTable-rowsBackground, rgba(204, 204, 204, 0.04) ); } :host([zebra-odd]) { --vsc-row-odd-background: var( --vscode-keybindingTable-rowsBackground, rgba(204, 204, 204, 0.04) ); } ::slotted(vscode-table-row) { width: 100%; } .wrapper { height: 100%; max-width: 100%; overflow: hidden; position: relative; width: 100%; } .wrapper.select-disabled { user-select: none; } .wrapper.resize-cursor { cursor: ew-resize; } .wrapper.compact-view .header-slot-wrapper { height: 0; overflow: hidden; } .scrollable { height: 100%; } .scrollable:before { background-color: transparent; content: ''; display: block; height: 1px; position: absolute; width: 100%; } .wrapper:not(.compact-view) .scrollable:not([scrolled]):before { background-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); } .sash { visibility: hidden; } :host([bordered-columns]) .sash, :host([bordered]) .sash { visibility: visible; } :host([resizable]) .wrapper:hover .sash { visibility: visible; } .sash { height: 100%; position: absolute; top: 0; width: 1px; } .wrapper.compact-view .sash { display: none; } .sash.resizable { cursor: ew-resize; } .sash-visible { background-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); height: 100%; position: absolute; top: 30px; width: 1px; } .sash.hover .sash-visible { background-color: var(--vscode-sash-hoverBorder, #0078d4); transition: background-color 50ms linear 300ms; } .sash .sash-clickable { background-color: transparent; height: 100%; left: -2px; position: absolute; width: 5px; } `, ]"
8276
+ }
8277
+ ],
8278
+ "exports": [
8279
+ {
8280
+ "kind": "js",
8281
+ "name": "default",
8282
+ "declaration": {
8283
+ "name": "styles",
8284
+ "module": "src/vscode-table/vscode-table.styles.ts"
8285
+ }
8286
+ }
8287
+ ]
8288
+ },
8289
+ {
8290
+ "kind": "javascript-module",
8291
+ "path": "src/vscode-table/vscode-table.ts",
8292
+ "declarations": [
8293
+ {
8294
+ "kind": "class",
8295
+ "description": "",
8296
+ "name": "VscodeTable",
8297
+ "cssProperties": [
8298
+ {
8299
+ "name": "--vscode-editorGroup-border",
8300
+ "default": "rgba(255, 255, 255, 0.09)"
8301
+ },
8302
+ {
8303
+ "name": "--vscode-keybindingTable-rowsBackground",
8304
+ "default": "rgba(204, 204, 204, 0.04)"
8305
+ },
8306
+ {
8307
+ "name": "--vscode-sash-hoverBorder",
8308
+ "default": "#0078d4"
8309
+ }
8310
+ ],
8311
+ "members": [
8312
+ {
8313
+ "kind": "field",
8314
+ "name": "resizable",
8315
+ "type": {
8316
+ "text": "boolean"
8235
8317
  },
8236
- "privacy": "private",
8237
- "default": "0"
8318
+ "default": "false",
8319
+ "attribute": "resizable",
8320
+ "reflects": true
8238
8321
  },
8239
8322
  {
8240
8323
  "kind": "field",
8241
- "name": "_resizeObserver",
8324
+ "name": "responsive",
8242
8325
  "type": {
8243
- "text": "ResizeObserver"
8326
+ "text": "boolean"
8244
8327
  },
8245
- "privacy": "private",
8246
- "default": "new ResizeObserver(this._handleResize)"
8328
+ "default": "false",
8329
+ "attribute": "responsive",
8330
+ "reflects": true
8247
8331
  },
8248
8332
  {
8249
8333
  "kind": "field",
8250
- "name": "_wrapperObserved",
8334
+ "name": "bordered",
8251
8335
  "type": {
8252
8336
  "text": "boolean"
8253
8337
  },
8254
- "privacy": "private",
8255
- "default": "false"
8338
+ "default": "false",
8339
+ "description": "Both rows and columns are separated by borders.",
8340
+ "attribute": "bordered",
8341
+ "reflects": true
8256
8342
  },
8257
8343
  {
8258
8344
  "kind": "field",
8259
- "name": "_fixedPaneSize",
8345
+ "name": "borderedColumns",
8260
8346
  "type": {
8261
- "text": "number"
8347
+ "text": "boolean"
8262
8348
  },
8263
- "privacy": "private",
8264
- "default": "0"
8349
+ "default": "false",
8350
+ "description": "Columns are separated by borders.",
8351
+ "attribute": "bordered-columns",
8352
+ "reflects": true
8265
8353
  },
8266
8354
  {
8267
- "kind": "method",
8268
- "name": "resetHandlePosition",
8269
- "description": "Sets the handle position to the value specified in the `initialHandlePosition` property."
8355
+ "kind": "field",
8356
+ "name": "borderedRows",
8357
+ "type": {
8358
+ "text": "boolean"
8359
+ },
8360
+ "default": "false",
8361
+ "description": "Rows are separated by borders.",
8362
+ "attribute": "bordered-rows",
8363
+ "reflects": true
8270
8364
  },
8271
8365
  {
8272
- "kind": "method",
8273
- "name": "_handlePositionPropChanged",
8274
- "privacy": "private"
8366
+ "kind": "field",
8367
+ "name": "breakpoint",
8368
+ "type": {
8369
+ "text": "number"
8370
+ },
8371
+ "default": "300",
8372
+ "attribute": "breakpoint"
8275
8373
  },
8276
8374
  {
8277
- "kind": "method",
8278
- "name": "_fixedPanePropChanged",
8279
- "privacy": "private"
8375
+ "kind": "field",
8376
+ "name": "columns",
8377
+ "description": "Initial column sizes in a JSON-encoded array.\nAccepted values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
8378
+ "type": {
8379
+ "text": "string[]"
8380
+ },
8381
+ "attribute": "columns"
8280
8382
  },
8281
8383
  {
8282
- "kind": "method",
8283
- "name": "_initFixedPane",
8284
- "privacy": "private"
8384
+ "kind": "field",
8385
+ "name": "minColumnWidth",
8386
+ "type": {
8387
+ "text": "string"
8388
+ },
8389
+ "default": "'50px'",
8390
+ "description": "Minimum column width. Valid values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
8391
+ "attribute": "min-column-width"
8285
8392
  },
8286
8393
  {
8287
8394
  "kind": "field",
8288
- "name": "_handleResize",
8289
- "privacy": "private"
8395
+ "name": "delayedResizing",
8396
+ "type": {
8397
+ "text": "boolean"
8398
+ },
8399
+ "default": "false",
8400
+ "attribute": "delayed-resizing",
8401
+ "reflects": true
8290
8402
  },
8291
8403
  {
8292
- "kind": "method",
8293
- "name": "_setPosition",
8294
- "privacy": "private",
8295
- "parameters": [
8296
- {
8297
- "name": "value",
8298
- "type": {
8299
- "text": "number"
8300
- }
8301
- },
8302
- {
8303
- "name": "unit",
8304
- "type": {
8305
- "text": "PositionUnit"
8306
- }
8307
- }
8308
- ]
8404
+ "kind": "field",
8405
+ "name": "zebra",
8406
+ "type": {
8407
+ "text": "boolean"
8408
+ },
8409
+ "default": "false",
8410
+ "description": "Zebra stripes, even rows are tinted.",
8411
+ "attribute": "zebra",
8412
+ "reflects": true
8309
8413
  },
8310
8414
  {
8311
- "kind": "method",
8312
- "name": "_handleMouseOver",
8313
- "privacy": "private"
8415
+ "kind": "field",
8416
+ "name": "zebraOdd",
8417
+ "type": {
8418
+ "text": "boolean"
8419
+ },
8420
+ "default": "false",
8421
+ "description": "Zebra stripes, odd rows are tinted.",
8422
+ "attribute": "zebra-odd",
8423
+ "reflects": true
8314
8424
  },
8315
8425
  {
8316
- "kind": "method",
8317
- "name": "_handleMouseOut",
8318
- "privacy": "private",
8319
- "parameters": [
8320
- {
8321
- "name": "event",
8322
- "type": {
8323
- "text": "MouseEvent"
8324
- }
8325
- }
8326
- ]
8426
+ "kind": "field",
8427
+ "name": "_bodySlot",
8428
+ "type": {
8429
+ "text": "HTMLSlotElement"
8430
+ },
8431
+ "privacy": "private"
8327
8432
  },
8328
8433
  {
8329
- "kind": "method",
8330
- "name": "_handleMouseDown",
8331
- "privacy": "private",
8332
- "parameters": [
8333
- {
8334
- "name": "event",
8335
- "type": {
8336
- "text": "MouseEvent"
8337
- }
8338
- }
8339
- ]
8434
+ "kind": "field",
8435
+ "name": "_headerElement",
8436
+ "type": {
8437
+ "text": "HTMLDivElement"
8438
+ },
8439
+ "privacy": "private"
8340
8440
  },
8341
8441
  {
8342
8442
  "kind": "field",
8343
- "name": "_handleMouseUp",
8443
+ "name": "_scrollableElement",
8444
+ "type": {
8445
+ "text": "VscodeScrollable"
8446
+ },
8344
8447
  "privacy": "private"
8345
8448
  },
8346
8449
  {
8347
8450
  "kind": "field",
8348
- "name": "_handleMouseMove",
8451
+ "name": "_sashVisibleElements",
8452
+ "type": {
8453
+ "text": "HTMLDivElement[]"
8454
+ },
8349
8455
  "privacy": "private"
8350
8456
  },
8351
8457
  {
8352
- "kind": "method",
8353
- "name": "_handleDblClick",
8458
+ "kind": "field",
8459
+ "name": "_assignedElements",
8460
+ "type": {
8461
+ "text": "NodeListOf<HTMLElement>"
8462
+ },
8354
8463
  "privacy": "private"
8355
8464
  },
8356
8465
  {
8357
- "kind": "method",
8358
- "name": "_handleSlotChange",
8466
+ "kind": "field",
8467
+ "name": "_assignedHeaderElements",
8468
+ "type": {
8469
+ "text": "NodeListOf<VscodeTableHeader>"
8470
+ },
8359
8471
  "privacy": "private"
8360
8472
  },
8361
8473
  {
8362
8474
  "kind": "field",
8363
- "name": "version",
8475
+ "name": "_assignedBodyElements",
8364
8476
  "type": {
8365
- "text": "string"
8477
+ "text": "NodeListOf<VscodeTableBody>"
8366
8478
  },
8367
- "description": "VSCode Elements version",
8368
- "readonly": true,
8369
- "inheritedFrom": {
8370
- "name": "VscElement",
8371
- "module": "src/includes/VscElement.ts"
8372
- }
8373
- }
8374
- ],
8375
- "attributes": [
8479
+ "privacy": "private"
8480
+ },
8376
8481
  {
8377
- "name": "split",
8378
- "description": "Direction of the divider.",
8482
+ "kind": "field",
8483
+ "name": "_sashPositions",
8379
8484
  "type": {
8380
- "text": "Orientation"
8485
+ "text": "number[]"
8381
8486
  },
8382
- "fieldName": "split"
8487
+ "privacy": "private",
8488
+ "default": "[]",
8489
+ "description": "Sash positions in percentage"
8383
8490
  },
8384
8491
  {
8385
- "name": "reset-on-dbl-click",
8492
+ "kind": "field",
8493
+ "name": "_isDragging",
8386
8494
  "type": {
8387
8495
  "text": "boolean"
8388
8496
  },
8389
- "default": "false",
8390
- "description": "Controls whether the handle position should reset to the value set in the\n`initialHandlePosition` when it is double-clicked.",
8391
- "fieldName": "resetOnDblClick"
8497
+ "privacy": "private",
8498
+ "default": "false"
8392
8499
  },
8393
8500
  {
8394
- "name": "handle-size",
8501
+ "kind": "field",
8502
+ "name": "_sashHovers",
8395
8503
  "type": {
8396
- "text": "number"
8504
+ "text": "boolean[]"
8397
8505
  },
8398
- "default": "4",
8399
- "description": "Controls the draggable area size in pixels. it is intended to use the value\nof `workbench.sash.size`.",
8400
- "fieldName": "handleSize"
8506
+ "privacy": "private",
8507
+ "default": "[]",
8508
+ "description": "Sash hover state flags, used in the render."
8401
8509
  },
8402
8510
  {
8403
- "name": "initial-handle-position",
8511
+ "kind": "field",
8512
+ "name": "_columns",
8404
8513
  "type": {
8405
- "text": "string"
8514
+ "text": "string[]"
8406
8515
  },
8407
- "default": "DEFAULT_INITIAL_POSITION",
8408
- "description": "The handler position will reset to this position when it is double-clicked,\nor the `resetHandlePosition()` is called.",
8409
- "fieldName": "initialHandlePosition"
8516
+ "privacy": "private",
8517
+ "default": "[]"
8410
8518
  },
8411
8519
  {
8412
- "name": "handle-position",
8413
- "description": "Set the handle position programmatically. The value must include a unit,\neither `%` or `px`. If no unit is specified, the value is interpreted as\n`px`.",
8520
+ "kind": "field",
8521
+ "name": "_componentResizeObserver",
8414
8522
  "type": {
8415
- "text": "string | undefined"
8523
+ "text": "ResizeObserver | undefined"
8416
8524
  },
8417
- "fieldName": "handlePosition"
8525
+ "privacy": "private"
8418
8526
  },
8419
8527
  {
8420
- "name": "fixed-pane",
8421
- "description": "The size of the fixed pane will not change when the component is resized.",
8528
+ "kind": "field",
8529
+ "name": "_headerResizeObserver",
8422
8530
  "type": {
8423
- "text": "'start' | 'end' | 'none'"
8531
+ "text": "ResizeObserver | undefined"
8424
8532
  },
8425
- "fieldName": "fixedPane"
8426
- }
8427
- ],
8428
- "superclass": {
8429
- "name": "VscElement",
8430
- "module": "/src/includes/VscElement.js"
8431
- },
8432
- "tagName": "vscode-split-layout",
8433
- "customElement": true
8434
- }
8435
- ],
8436
- "exports": [
8437
- {
8438
- "kind": "js",
8439
- "name": "parseValue",
8440
- "declaration": {
8441
- "name": "parseValue",
8442
- "module": "src/vscode-split-layout/vscode-split-layout.ts"
8443
- }
8444
- },
8445
- {
8446
- "kind": "js",
8447
- "name": "pxToPercent",
8448
- "declaration": {
8449
- "name": "pxToPercent",
8450
- "module": "src/vscode-split-layout/vscode-split-layout.ts"
8451
- }
8452
- },
8453
- {
8454
- "kind": "js",
8455
- "name": "percentToPx",
8456
- "declaration": {
8457
- "name": "percentToPx",
8458
- "module": "src/vscode-split-layout/vscode-split-layout.ts"
8459
- }
8460
- },
8461
- {
8462
- "kind": "js",
8463
- "name": "VscodeSplitLayout",
8464
- "declaration": {
8465
- "name": "VscodeSplitLayout",
8466
- "module": "src/vscode-split-layout/vscode-split-layout.ts"
8467
- }
8468
- },
8469
- {
8470
- "kind": "custom-element-definition",
8471
- "name": "vscode-split-layout",
8472
- "declaration": {
8473
- "name": "VscodeSplitLayout",
8474
- "module": "src/vscode-split-layout/vscode-split-layout.ts"
8475
- }
8476
- }
8477
- ]
8478
- },
8479
- {
8480
- "kind": "javascript-module",
8481
- "path": "src/vscode-tab-header/vscode-tab-header.styles.ts",
8482
- "declarations": [
8483
- {
8484
- "kind": "variable",
8485
- "name": "styles",
8486
- "type": {
8487
- "text": "CSSResultGroup"
8488
- },
8489
- "default": "[ defaultStyles, css` :host { cursor: pointer; display: block; user-select: none; } .wrapper { align-items: center; border-bottom: 1px solid transparent; color: var(--vscode-foreground, #cccccc); display: flex; min-height: 20px; overflow: hidden; padding: 7px 8px; position: relative; text-overflow: ellipsis; white-space: nowrap; } :host([active]) .wrapper { border-bottom-color: var(--vscode-panelTitle-activeForeground, #cccccc); color: var(--vscode-panelTitle-activeForeground, #cccccc); } :host([panel]) .wrapper { border-bottom: 0; margin-bottom: 0; padding: 0; } :host(:focus-visible) { outline: none; } .wrapper { align-items: center; color: var(--vscode-foreground, #cccccc); display: flex; min-height: 20px; overflow: inherit; text-overflow: inherit; position: relative; } .wrapper.panel { color: var(--vscode-panelTitle-inactiveForeground, #9d9d9d); } .wrapper.panel.active, .wrapper.panel:hover { color: var(--vscode-panelTitle-activeForeground, #cccccc); } :host([panel]) .wrapper { display: flex; font-size: 11px; height: 31px; padding: 2px 10px; text-transform: uppercase; } .main { overflow: inherit; text-overflow: inherit; } .active-indicator { display: none; } .active-indicator.panel.active { border-top: 1px solid var(--vscode-panelTitle-activeBorder, #0078d4); bottom: 4px; display: block; left: 8px; pointer-events: none; position: absolute; right: 8px; } :host(:focus-visible) .wrapper { outline-color: var(--vscode-focusBorder, #0078d4); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host(:focus-visible) .wrapper.panel { outline-offset: -2px; } slot[name='content-before']::slotted(vscode-badge) { margin-right: 8px; } slot[name='content-after']::slotted(vscode-badge) { margin-left: 8px; } `, ]"
8490
- }
8491
- ],
8492
- "exports": [
8493
- {
8494
- "kind": "js",
8495
- "name": "default",
8496
- "declaration": {
8497
- "name": "styles",
8498
- "module": "src/vscode-tab-header/vscode-tab-header.styles.ts"
8499
- }
8500
- }
8501
- ]
8502
- },
8503
- {
8504
- "kind": "javascript-module",
8505
- "path": "src/vscode-tab-header/vscode-tab-header.ts",
8506
- "declarations": [
8507
- {
8508
- "kind": "class",
8509
- "description": "",
8510
- "name": "VscodeTabHeader",
8511
- "cssProperties": [
8533
+ "privacy": "private"
8534
+ },
8512
8535
  {
8513
- "name": "--vscode-focusBorder",
8514
- "default": "#0078d4"
8536
+ "kind": "field",
8537
+ "name": "_bodyResizeObserver",
8538
+ "type": {
8539
+ "text": "ResizeObserver | undefined"
8540
+ },
8541
+ "privacy": "private"
8515
8542
  },
8516
8543
  {
8517
- "name": "--vscode-foreground",
8518
- "default": "#cccccc"
8544
+ "kind": "field",
8545
+ "name": "_activeSashElementIndex",
8546
+ "type": {
8547
+ "text": "number"
8548
+ },
8549
+ "privacy": "private",
8550
+ "default": "-1"
8519
8551
  },
8520
8552
  {
8521
- "name": "--vscode-panelTitle-activeBorder",
8522
- "default": "#0078d4"
8553
+ "kind": "field",
8554
+ "name": "_activeSashCursorOffset",
8555
+ "type": {
8556
+ "text": "number"
8557
+ },
8558
+ "privacy": "private",
8559
+ "default": "0"
8523
8560
  },
8524
8561
  {
8525
- "name": "--vscode-panelTitle-activeForeground",
8526
- "default": "#cccccc"
8562
+ "kind": "field",
8563
+ "name": "_componentX",
8564
+ "type": {
8565
+ "text": "number"
8566
+ },
8567
+ "privacy": "private",
8568
+ "default": "0"
8527
8569
  },
8528
8570
  {
8529
- "name": "--vscode-panelTitle-inactiveForeground",
8530
- "default": "#9d9d9d"
8531
- }
8532
- ],
8533
- "members": [
8571
+ "kind": "field",
8572
+ "name": "_componentH",
8573
+ "type": {
8574
+ "text": "number"
8575
+ },
8576
+ "privacy": "private",
8577
+ "default": "0"
8578
+ },
8534
8579
  {
8535
8580
  "kind": "field",
8536
- "name": "active",
8581
+ "name": "_componentW",
8537
8582
  "type": {
8538
- "text": "boolean"
8583
+ "text": "number"
8539
8584
  },
8540
- "default": "false",
8541
- "attribute": "active",
8542
- "reflects": true
8585
+ "privacy": "private",
8586
+ "default": "0"
8543
8587
  },
8544
8588
  {
8545
8589
  "kind": "field",
8546
- "name": "panel",
8590
+ "name": "_headerCells",
8547
8591
  "type": {
8548
- "text": "boolean"
8592
+ "text": "VscodeTableHeaderCell[]"
8549
8593
  },
8550
- "default": "false",
8551
- "description": "Panel-like look",
8552
- "attribute": "panel",
8553
- "reflects": true
8594
+ "privacy": "private",
8595
+ "default": "[]",
8596
+ "description": "Cached querySelectorAll result. Updated when the header slot changes.\nIt shouldn't be used directly, check the \"_getHeaderCells\" function."
8554
8597
  },
8555
8598
  {
8556
8599
  "kind": "field",
8557
- "name": "version",
8600
+ "name": "_cellsOfFirstRow",
8558
8601
  "type": {
8559
- "text": "string"
8602
+ "text": "VscodeTableCell[]"
8560
8603
  },
8561
- "description": "VSCode Elements version",
8562
- "readonly": true,
8563
- "inheritedFrom": {
8564
- "name": "VscElement",
8565
- "module": "src/includes/VscElement.ts"
8566
- }
8567
- }
8568
- ],
8569
- "attributes": [
8604
+ "privacy": "private",
8605
+ "default": "[]",
8606
+ "description": "Cached querySelectorAll result. Updated when the body slot changes.\nIt shouldn't be used directly, check the \"_getCellsOfFirstRow\" function."
8607
+ },
8570
8608
  {
8571
- "name": "active",
8609
+ "kind": "field",
8610
+ "name": "_cellsToResize",
8572
8611
  "type": {
8573
- "text": "boolean"
8612
+ "text": "VscodeTableCell[]"
8574
8613
  },
8575
- "default": "false",
8576
- "fieldName": "active"
8614
+ "privacy": "private"
8577
8615
  },
8578
8616
  {
8579
- "name": "panel",
8617
+ "kind": "field",
8618
+ "name": "_headerCellsToResize",
8580
8619
  "type": {
8581
- "text": "boolean"
8620
+ "text": "VscodeTableHeaderCell[]"
8582
8621
  },
8583
- "default": "false",
8584
- "description": "Panel-like look",
8585
- "fieldName": "panel"
8586
- }
8587
- ],
8588
- "superclass": {
8589
- "name": "VscElement",
8590
- "module": "/src/includes/VscElement.js"
8591
- },
8592
- "tagName": "vscode-tab-header",
8593
- "customElement": true
8594
- }
8595
- ],
8596
- "exports": [
8597
- {
8598
- "kind": "js",
8599
- "name": "VscodeTabHeader",
8600
- "declaration": {
8601
- "name": "VscodeTabHeader",
8602
- "module": "src/vscode-tab-header/vscode-tab-header.ts"
8603
- }
8604
- },
8605
- {
8606
- "kind": "custom-element-definition",
8607
- "name": "vscode-tab-header",
8608
- "declaration": {
8609
- "name": "VscodeTabHeader",
8610
- "module": "src/vscode-tab-header/vscode-tab-header.ts"
8611
- }
8612
- }
8613
- ]
8614
- },
8615
- {
8616
- "kind": "javascript-module",
8617
- "path": "src/vscode-tab-panel/vscode-tab-panel.styles.ts",
8618
- "declarations": [
8619
- {
8620
- "kind": "variable",
8621
- "name": "styles",
8622
- "type": {
8623
- "text": "CSSResultGroup"
8624
- },
8625
- "default": "[ defaultStyles, css` :host { display: block; overflow: hidden; } :host(:focus-visible) { outline-color: var(--vscode-focusBorder, #0078d4); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host([panel]) { background-color: var(--vscode-panel-background, #181818); } `, ]"
8626
- }
8627
- ],
8628
- "exports": [
8629
- {
8630
- "kind": "js",
8631
- "name": "default",
8632
- "declaration": {
8633
- "name": "styles",
8634
- "module": "src/vscode-tab-panel/vscode-tab-panel.styles.ts"
8635
- }
8636
- }
8637
- ]
8638
- },
8639
- {
8640
- "kind": "javascript-module",
8641
- "path": "src/vscode-tab-panel/vscode-tab-panel.ts",
8642
- "declarations": [
8643
- {
8644
- "kind": "class",
8645
- "description": "",
8646
- "name": "VscodeTabPanel",
8647
- "cssProperties": [
8648
- {
8649
- "name": "--vscode-focusBorder",
8650
- "default": "#0078d4"
8622
+ "privacy": "private"
8651
8623
  },
8652
- {
8653
- "name": "--vscode-panel--background",
8654
- "default": "#181818"
8655
- }
8656
- ],
8657
- "members": [
8658
8624
  {
8659
8625
  "kind": "field",
8660
- "name": "hidden",
8626
+ "name": "_prevHeaderHeight",
8661
8627
  "type": {
8662
- "text": "boolean"
8628
+ "text": "number"
8663
8629
  },
8664
- "default": "false",
8665
- "attribute": "hidden",
8666
- "reflects": true
8630
+ "privacy": "private",
8631
+ "default": "0"
8667
8632
  },
8668
8633
  {
8669
8634
  "kind": "field",
8670
- "name": "panel",
8635
+ "name": "_prevComponentHeight",
8671
8636
  "type": {
8672
- "text": "boolean"
8637
+ "text": "number"
8673
8638
  },
8674
- "default": "false",
8675
- "description": "Panel-like look",
8676
- "attribute": "panel",
8677
- "reflects": true
8639
+ "privacy": "private",
8640
+ "default": "0"
8678
8641
  },
8679
8642
  {
8680
- "kind": "field",
8681
- "name": "version",
8682
- "type": {
8683
- "text": "string"
8684
- },
8685
- "description": "VSCode Elements version",
8686
- "readonly": true,
8687
- "inheritedFrom": {
8688
- "name": "VscElement",
8689
- "module": "src/includes/VscElement.ts"
8690
- }
8691
- }
8692
- ],
8693
- "attributes": [
8694
- {
8695
- "name": "hidden",
8696
- "type": {
8697
- "text": "boolean"
8698
- },
8699
- "default": "false",
8700
- "fieldName": "hidden"
8643
+ "kind": "method",
8644
+ "name": "_px2Percent",
8645
+ "privacy": "private",
8646
+ "parameters": [
8647
+ {
8648
+ "name": "px",
8649
+ "type": {
8650
+ "text": "number"
8651
+ }
8652
+ }
8653
+ ]
8701
8654
  },
8702
8655
  {
8703
- "name": "panel",
8704
- "type": {
8705
- "text": "boolean"
8706
- },
8707
- "default": "false",
8708
- "description": "Panel-like look",
8709
- "fieldName": "panel"
8710
- }
8711
- ],
8712
- "superclass": {
8713
- "name": "VscElement",
8714
- "module": "/src/includes/VscElement.js"
8715
- },
8716
- "tagName": "vscode-tab-panel",
8717
- "customElement": true
8718
- }
8719
- ],
8720
- "exports": [
8721
- {
8722
- "kind": "js",
8723
- "name": "VscodeTabPanel",
8724
- "declaration": {
8725
- "name": "VscodeTabPanel",
8726
- "module": "src/vscode-tab-panel/vscode-tab-panel.ts"
8727
- }
8728
- },
8729
- {
8730
- "kind": "custom-element-definition",
8731
- "name": "vscode-tab-panel",
8732
- "declaration": {
8733
- "name": "VscodeTabPanel",
8734
- "module": "src/vscode-tab-panel/vscode-tab-panel.ts"
8735
- }
8736
- }
8737
- ]
8738
- },
8739
- {
8740
- "kind": "javascript-module",
8741
- "path": "src/vscode-table/helpers.ts",
8742
- "declarations": [
8743
- {
8744
- "kind": "function",
8745
- "name": "rawValueToPercentage",
8746
- "return": {
8747
- "type": {
8748
- "text": "number | null"
8749
- }
8750
- },
8751
- "parameters": [
8656
+ "kind": "method",
8657
+ "name": "_percent2Px",
8658
+ "privacy": "private",
8659
+ "parameters": [
8660
+ {
8661
+ "name": "percent",
8662
+ "type": {
8663
+ "text": "number"
8664
+ }
8665
+ }
8666
+ ]
8667
+ },
8752
8668
  {
8753
- "name": "raw",
8754
- "type": {
8755
- "text": "string | number"
8756
- }
8669
+ "kind": "method",
8670
+ "name": "_memoizeComponentDimensions",
8671
+ "privacy": "private"
8757
8672
  },
8758
8673
  {
8759
- "name": "base",
8760
- "type": {
8761
- "text": "number"
8762
- }
8763
- }
8764
- ]
8765
- }
8766
- ],
8767
- "exports": [
8768
- {
8769
- "kind": "js",
8770
- "name": "rawValueToPercentage",
8771
- "declaration": {
8772
- "name": "rawValueToPercentage",
8773
- "module": "src/vscode-table/helpers.ts"
8774
- }
8775
- }
8776
- ]
8777
- },
8778
- {
8779
- "kind": "javascript-module",
8780
- "path": "src/vscode-table/vscode-table.styles.ts",
8781
- "declarations": [
8782
- {
8783
- "kind": "variable",
8784
- "name": "styles",
8785
- "type": {
8786
- "text": "CSSResultGroup"
8787
- },
8788
- "default": "[ baseStyles, css` :host { display: block; --vsc-row-even-background: transparent; --vsc-row-odd-background: transparent; --vsc-row-border-bottom-width: 0; --vsc-row-border-top-width: 0; --vsc-row-display: table-row; } :host([bordered]), :host([bordered-rows]) { --vsc-row-border-bottom-width: 1px; } :host([compact]) { --vsc-row-display: block; } :host([bordered][compact]), :host([bordered-rows][compact]) { --vsc-row-border-bottom-width: 0; --vsc-row-border-top-width: 1px; } :host([zebra]) { --vsc-row-even-background: var( --vscode-keybindingTable-rowsBackground, rgba(204, 204, 204, 0.04) ); } :host([zebra-odd]) { --vsc-row-odd-background: var( --vscode-keybindingTable-rowsBackground, rgba(204, 204, 204, 0.04) ); } ::slotted(vscode-table-row) { width: 100%; } .wrapper { height: 100%; max-width: 100%; overflow: hidden; position: relative; width: 100%; } .wrapper.select-disabled { user-select: none; } .wrapper.resize-cursor { cursor: ew-resize; } .wrapper.compact-view .header-slot-wrapper { height: 0; overflow: hidden; } .scrollable { height: 100%; } .scrollable:before { background-color: transparent; content: ''; display: block; height: 1px; position: absolute; width: 100%; } .wrapper:not(.compact-view) .scrollable:not([scrolled]):before { background-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); } .sash { visibility: hidden; } :host([bordered-columns]) .sash, :host([bordered]) .sash { visibility: visible; } :host([resizable]) .wrapper:hover .sash { visibility: visible; } .sash { height: 100%; position: absolute; top: 0; width: 1px; } .wrapper.compact-view .sash { display: none; } .sash.resizable { cursor: ew-resize; } .sash-visible { background-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); height: 100%; position: absolute; top: 30px; width: 1px; } .sash.hover .sash-visible { background-color: var(--vscode-sash-hoverBorder, #0078d4); transition: background-color 50ms linear 300ms; } .sash .sash-clickable { background-color: transparent; height: 100%; left: -2px; position: absolute; width: 5px; } `, ]"
8789
- }
8790
- ],
8791
- "exports": [
8792
- {
8793
- "kind": "js",
8794
- "name": "default",
8795
- "declaration": {
8796
- "name": "styles",
8797
- "module": "src/vscode-table/vscode-table.styles.ts"
8798
- }
8799
- }
8800
- ]
8801
- },
8802
- {
8803
- "kind": "javascript-module",
8804
- "path": "src/vscode-table/vscode-table.ts",
8805
- "declarations": [
8806
- {
8807
- "kind": "class",
8808
- "description": "",
8809
- "name": "VscodeTable",
8810
- "cssProperties": [
8674
+ "kind": "method",
8675
+ "name": "_queryHeaderCells",
8676
+ "privacy": "private"
8677
+ },
8811
8678
  {
8812
- "name": "--vscode-editorGroup-border",
8813
- "default": "rgba(255, 255, 255, 0.09)"
8679
+ "kind": "method",
8680
+ "name": "_getHeaderCells",
8681
+ "privacy": "private",
8682
+ "description": "Get cached header cells"
8814
8683
  },
8815
8684
  {
8816
- "name": "--vscode-keybindingTable-rowsBackground",
8817
- "default": "rgba(204, 204, 204, 0.04)"
8685
+ "kind": "method",
8686
+ "name": "_queryCellsOfFirstRow",
8687
+ "privacy": "private"
8818
8688
  },
8819
8689
  {
8820
- "name": "--vscode-sash-hoverBorder",
8821
- "default": "#0078d4"
8690
+ "kind": "method",
8691
+ "name": "_getCellsOfFirstRow",
8692
+ "privacy": "private",
8693
+ "description": "Get cached cells of first row"
8694
+ },
8695
+ {
8696
+ "kind": "method",
8697
+ "name": "_resizeTableBody",
8698
+ "privacy": "private"
8699
+ },
8700
+ {
8701
+ "kind": "method",
8702
+ "name": "_initResizeObserver",
8703
+ "privacy": "private"
8704
+ },
8705
+ {
8706
+ "kind": "field",
8707
+ "name": "_componentResizeObserverCallback",
8708
+ "privacy": "private"
8709
+ },
8710
+ {
8711
+ "kind": "field",
8712
+ "name": "_headerResizeObserverCallback",
8713
+ "privacy": "private"
8714
+ },
8715
+ {
8716
+ "kind": "field",
8717
+ "name": "_bodyResizeObserverCallback",
8718
+ "privacy": "private"
8719
+ },
8720
+ {
8721
+ "kind": "method",
8722
+ "name": "_calcColWidthPercentages",
8723
+ "privacy": "private",
8724
+ "return": {
8725
+ "type": {
8726
+ "text": "number[]"
8727
+ }
8728
+ }
8729
+ },
8730
+ {
8731
+ "kind": "method",
8732
+ "name": "_initHeaderCellSizes",
8733
+ "privacy": "private",
8734
+ "parameters": [
8735
+ {
8736
+ "name": "colWidths",
8737
+ "type": {
8738
+ "text": "number[]"
8739
+ }
8740
+ }
8741
+ ]
8742
+ },
8743
+ {
8744
+ "kind": "method",
8745
+ "name": "_initBodyColumnSizes",
8746
+ "privacy": "private",
8747
+ "parameters": [
8748
+ {
8749
+ "name": "colWidths",
8750
+ "type": {
8751
+ "text": "number[]"
8752
+ }
8753
+ }
8754
+ ]
8755
+ },
8756
+ {
8757
+ "kind": "method",
8758
+ "name": "_initSashes",
8759
+ "privacy": "private",
8760
+ "parameters": [
8761
+ {
8762
+ "name": "colWidths",
8763
+ "type": {
8764
+ "text": "number[]"
8765
+ }
8766
+ }
8767
+ ]
8768
+ },
8769
+ {
8770
+ "kind": "method",
8771
+ "name": "_initDefaultColumnSizes",
8772
+ "privacy": "private"
8773
+ },
8774
+ {
8775
+ "kind": "method",
8776
+ "name": "_updateResizeHandlersSize",
8777
+ "privacy": "private"
8778
+ },
8779
+ {
8780
+ "kind": "method",
8781
+ "name": "_applyCompactViewColumnLabels",
8782
+ "privacy": "private"
8783
+ },
8784
+ {
8785
+ "kind": "method",
8786
+ "name": "_clearCompactViewColumnLabels",
8787
+ "privacy": "private"
8788
+ },
8789
+ {
8790
+ "kind": "method",
8791
+ "name": "_toggleCompactView",
8792
+ "privacy": "private"
8793
+ },
8794
+ {
8795
+ "kind": "method",
8796
+ "name": "_onDefaultSlotChange",
8797
+ "privacy": "private"
8798
+ },
8799
+ {
8800
+ "kind": "method",
8801
+ "name": "_onHeaderSlotChange",
8802
+ "privacy": "private"
8803
+ },
8804
+ {
8805
+ "kind": "method",
8806
+ "name": "_onBodySlotChange",
8807
+ "privacy": "private"
8808
+ },
8809
+ {
8810
+ "kind": "method",
8811
+ "name": "_onSashMouseOver",
8812
+ "privacy": "private",
8813
+ "parameters": [
8814
+ {
8815
+ "name": "event",
8816
+ "type": {
8817
+ "text": "MouseEvent"
8818
+ }
8819
+ }
8820
+ ]
8821
+ },
8822
+ {
8823
+ "kind": "method",
8824
+ "name": "_onSashMouseOut",
8825
+ "privacy": "private",
8826
+ "parameters": [
8827
+ {
8828
+ "name": "event",
8829
+ "type": {
8830
+ "text": "MouseEvent"
8831
+ }
8832
+ }
8833
+ ]
8834
+ },
8835
+ {
8836
+ "kind": "method",
8837
+ "name": "_onSashMouseDown",
8838
+ "privacy": "private",
8839
+ "parameters": [
8840
+ {
8841
+ "name": "event",
8842
+ "type": {
8843
+ "text": "MouseEvent"
8844
+ }
8845
+ }
8846
+ ]
8847
+ },
8848
+ {
8849
+ "kind": "method",
8850
+ "name": "_updateActiveSashPosition",
8851
+ "privacy": "private",
8852
+ "parameters": [
8853
+ {
8854
+ "name": "mouseX",
8855
+ "type": {
8856
+ "text": "number"
8857
+ }
8858
+ }
8859
+ ]
8860
+ },
8861
+ {
8862
+ "kind": "method",
8863
+ "name": "_getSashPositions",
8864
+ "privacy": "private",
8865
+ "return": {
8866
+ "type": {
8867
+ "text": "{\n sashPos: number;\n prevSashPos: number;\n nextSashPos: number;\n }"
8868
+ }
8869
+ }
8870
+ },
8871
+ {
8872
+ "kind": "method",
8873
+ "name": "_resizeColumns",
8874
+ "privacy": "private",
8875
+ "parameters": [
8876
+ {
8877
+ "name": "resizeBodyCells",
8878
+ "default": "true"
8879
+ }
8880
+ ]
8881
+ },
8882
+ {
8883
+ "kind": "field",
8884
+ "name": "_onResizingMouseMove",
8885
+ "privacy": "private"
8886
+ },
8887
+ {
8888
+ "kind": "field",
8889
+ "name": "_onResizingMouseUp",
8890
+ "privacy": "private"
8891
+ },
8892
+ {
8893
+ "kind": "field",
8894
+ "name": "version",
8895
+ "type": {
8896
+ "text": "string"
8897
+ },
8898
+ "description": "VSCode Elements version",
8899
+ "readonly": true,
8900
+ "inheritedFrom": {
8901
+ "name": "VscElement",
8902
+ "module": "src/includes/VscElement.ts"
8903
+ }
8822
8904
  }
8823
8905
  ],
8824
- "members": [
8906
+ "attributes": [
8825
8907
  {
8826
- "kind": "field",
8827
8908
  "name": "resizable",
8828
8909
  "type": {
8829
8910
  "text": "boolean"
8830
8911
  },
8831
8912
  "default": "false",
8832
- "attribute": "resizable",
8833
- "reflects": true
8913
+ "fieldName": "resizable"
8834
8914
  },
8835
8915
  {
8836
- "kind": "field",
8837
8916
  "name": "responsive",
8838
8917
  "type": {
8839
8918
  "text": "boolean"
8840
8919
  },
8841
8920
  "default": "false",
8842
- "attribute": "responsive",
8843
- "reflects": true
8921
+ "fieldName": "responsive"
8844
8922
  },
8845
8923
  {
8846
- "kind": "field",
8847
8924
  "name": "bordered",
8848
8925
  "type": {
8849
8926
  "text": "boolean"
8850
8927
  },
8851
8928
  "default": "false",
8852
8929
  "description": "Both rows and columns are separated by borders.",
8853
- "attribute": "bordered",
8854
- "reflects": true
8930
+ "fieldName": "bordered"
8855
8931
  },
8856
8932
  {
8857
- "kind": "field",
8858
- "name": "borderedColumns",
8933
+ "name": "bordered-columns",
8859
8934
  "type": {
8860
8935
  "text": "boolean"
8861
8936
  },
8862
8937
  "default": "false",
8863
8938
  "description": "Columns are separated by borders.",
8864
- "attribute": "bordered-columns",
8865
- "reflects": true
8939
+ "fieldName": "borderedColumns"
8866
8940
  },
8867
8941
  {
8868
- "kind": "field",
8869
- "name": "borderedRows",
8942
+ "name": "bordered-rows",
8870
8943
  "type": {
8871
8944
  "text": "boolean"
8872
8945
  },
8873
8946
  "default": "false",
8874
8947
  "description": "Rows are separated by borders.",
8875
- "attribute": "bordered-rows",
8876
- "reflects": true
8948
+ "fieldName": "borderedRows"
8877
8949
  },
8878
8950
  {
8879
- "kind": "field",
8880
8951
  "name": "breakpoint",
8881
8952
  "type": {
8882
8953
  "text": "number"
8883
8954
  },
8884
8955
  "default": "300",
8885
- "attribute": "breakpoint"
8956
+ "fieldName": "breakpoint"
8886
8957
  },
8887
8958
  {
8888
- "kind": "field",
8889
8959
  "name": "columns",
8890
8960
  "description": "Initial column sizes in a JSON-encoded array.\nAccepted values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
8891
8961
  "type": {
8892
8962
  "text": "string[]"
8893
8963
  },
8894
- "attribute": "columns"
8964
+ "fieldName": "columns"
8895
8965
  },
8896
8966
  {
8897
- "kind": "field",
8898
- "name": "minColumnWidth",
8967
+ "name": "min-column-width",
8899
8968
  "type": {
8900
8969
  "text": "string"
8901
8970
  },
8902
8971
  "default": "'50px'",
8903
8972
  "description": "Minimum column width. Valid values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
8904
- "attribute": "min-column-width"
8973
+ "fieldName": "minColumnWidth"
8905
8974
  },
8906
8975
  {
8907
- "kind": "field",
8908
- "name": "delayedResizing",
8976
+ "name": "delayed-resizing",
8909
8977
  "type": {
8910
8978
  "text": "boolean"
8911
8979
  },
8912
8980
  "default": "false",
8913
- "attribute": "delayed-resizing",
8914
- "reflects": true
8981
+ "fieldName": "delayedResizing"
8915
8982
  },
8916
8983
  {
8917
- "kind": "field",
8918
8984
  "name": "zebra",
8919
8985
  "type": {
8920
8986
  "text": "boolean"
8921
8987
  },
8922
8988
  "default": "false",
8923
8989
  "description": "Zebra stripes, even rows are tinted.",
8924
- "attribute": "zebra",
8925
- "reflects": true
8990
+ "fieldName": "zebra"
8926
8991
  },
8927
8992
  {
8928
- "kind": "field",
8929
- "name": "zebraOdd",
8993
+ "name": "zebra-odd",
8930
8994
  "type": {
8931
8995
  "text": "boolean"
8932
8996
  },
8933
8997
  "default": "false",
8934
8998
  "description": "Zebra stripes, odd rows are tinted.",
8935
- "attribute": "zebra-odd",
8936
- "reflects": true
8937
- },
8938
- {
8939
- "kind": "field",
8940
- "name": "_bodySlot",
8941
- "type": {
8942
- "text": "HTMLSlotElement"
8943
- },
8944
- "privacy": "private"
8945
- },
8946
- {
8947
- "kind": "field",
8948
- "name": "_headerElement",
8949
- "type": {
8950
- "text": "HTMLDivElement"
8951
- },
8952
- "privacy": "private"
8953
- },
8999
+ "fieldName": "zebraOdd"
9000
+ }
9001
+ ],
9002
+ "superclass": {
9003
+ "name": "VscElement",
9004
+ "module": "/src/includes/VscElement.js"
9005
+ },
9006
+ "tagName": "vscode-table",
9007
+ "customElement": true
9008
+ }
9009
+ ],
9010
+ "exports": [
9011
+ {
9012
+ "kind": "js",
9013
+ "name": "VscodeTable",
9014
+ "declaration": {
9015
+ "name": "VscodeTable",
9016
+ "module": "src/vscode-table/vscode-table.ts"
9017
+ }
9018
+ },
9019
+ {
9020
+ "kind": "custom-element-definition",
9021
+ "name": "vscode-table",
9022
+ "declaration": {
9023
+ "name": "VscodeTable",
9024
+ "module": "src/vscode-table/vscode-table.ts"
9025
+ }
9026
+ }
9027
+ ]
9028
+ },
9029
+ {
9030
+ "kind": "javascript-module",
9031
+ "path": "src/vscode-table-body/vscode-table-body.styles.ts",
9032
+ "declarations": [
9033
+ {
9034
+ "kind": "variable",
9035
+ "name": "styles",
9036
+ "type": {
9037
+ "text": "CSSResultGroup"
9038
+ },
9039
+ "default": "[ defaultStyles, css` :host { display: table; table-layout: fixed; width: 100%; } ::slotted(vscode-table-row:nth-child(even)) { background-color: var(--vsc-row-even-background); } ::slotted(vscode-table-row:nth-child(odd)) { background-color: var(--vsc-row-odd-background); } `, ]"
9040
+ }
9041
+ ],
9042
+ "exports": [
9043
+ {
9044
+ "kind": "js",
9045
+ "name": "default",
9046
+ "declaration": {
9047
+ "name": "styles",
9048
+ "module": "src/vscode-table-body/vscode-table-body.styles.ts"
9049
+ }
9050
+ }
9051
+ ]
9052
+ },
9053
+ {
9054
+ "kind": "javascript-module",
9055
+ "path": "src/vscode-table-body/vscode-table-body.ts",
9056
+ "declarations": [
9057
+ {
9058
+ "kind": "class",
9059
+ "description": "",
9060
+ "name": "VscodeTableBody",
9061
+ "members": [
8954
9062
  {
8955
9063
  "kind": "field",
8956
- "name": "_scrollableElement",
9064
+ "name": "version",
8957
9065
  "type": {
8958
- "text": "VscodeScrollable"
9066
+ "text": "string"
8959
9067
  },
8960
- "privacy": "private"
8961
- },
9068
+ "description": "VSCode Elements version",
9069
+ "readonly": true,
9070
+ "inheritedFrom": {
9071
+ "name": "VscElement",
9072
+ "module": "src/includes/VscElement.ts"
9073
+ }
9074
+ }
9075
+ ],
9076
+ "superclass": {
9077
+ "name": "VscElement",
9078
+ "module": "/src/includes/VscElement.js"
9079
+ },
9080
+ "tagName": "vscode-table-body",
9081
+ "customElement": true
9082
+ }
9083
+ ],
9084
+ "exports": [
9085
+ {
9086
+ "kind": "js",
9087
+ "name": "VscodeTableBody",
9088
+ "declaration": {
9089
+ "name": "VscodeTableBody",
9090
+ "module": "src/vscode-table-body/vscode-table-body.ts"
9091
+ }
9092
+ },
9093
+ {
9094
+ "kind": "custom-element-definition",
9095
+ "name": "vscode-table-body",
9096
+ "declaration": {
9097
+ "name": "VscodeTableBody",
9098
+ "module": "src/vscode-table-body/vscode-table-body.ts"
9099
+ }
9100
+ }
9101
+ ]
9102
+ },
9103
+ {
9104
+ "kind": "javascript-module",
9105
+ "path": "src/vscode-table-cell/vscode-table-cell.styles.ts",
9106
+ "declarations": [
9107
+ {
9108
+ "kind": "variable",
9109
+ "name": "styles",
9110
+ "type": {
9111
+ "text": "CSSResultGroup"
9112
+ },
9113
+ "default": "[ defaultStyles, css` :host { border-bottom-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); border-bottom-style: solid; border-bottom-width: var(--vsc-row-border-bottom-width); box-sizing: border-box; color: var(--vscode-foreground, #cccccc); display: table-cell; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); height: 24px; overflow: hidden; padding-left: 10px; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; } :host([compact]) { display: block; height: auto; padding-bottom: 5px; width: 100% !important; } :host([compact]:first-child) { padding-top: 10px; } :host([compact]:last-child) { padding-bottom: 10px; } .wrapper { overflow: inherit; text-overflow: inherit; white-space: inherit; width: 100%; } .column-label { font-weight: bold; } `, ]"
9114
+ }
9115
+ ],
9116
+ "exports": [
9117
+ {
9118
+ "kind": "js",
9119
+ "name": "default",
9120
+ "declaration": {
9121
+ "name": "styles",
9122
+ "module": "src/vscode-table-cell/vscode-table-cell.styles.ts"
9123
+ }
9124
+ }
9125
+ ]
9126
+ },
9127
+ {
9128
+ "kind": "javascript-module",
9129
+ "path": "src/vscode-table-cell/vscode-table-cell.ts",
9130
+ "declarations": [
9131
+ {
9132
+ "kind": "class",
9133
+ "description": "",
9134
+ "name": "VscodeTableCell",
9135
+ "cssProperties": [
8962
9136
  {
8963
- "kind": "field",
8964
- "name": "_sashVisibleElements",
8965
- "type": {
8966
- "text": "HTMLDivElement[]"
8967
- },
8968
- "privacy": "private"
9137
+ "name": "--vscode-editorGroup-border",
9138
+ "default": "rgba(255, 255, 255, 0.09)"
8969
9139
  },
8970
9140
  {
8971
- "kind": "field",
8972
- "name": "_assignedElements",
8973
- "type": {
8974
- "text": "NodeListOf<HTMLElement>"
8975
- },
8976
- "privacy": "private"
9141
+ "name": "--vscode-foreground",
9142
+ "default": "#cccccc"
8977
9143
  },
8978
9144
  {
8979
- "kind": "field",
8980
- "name": "_assignedHeaderElements",
8981
- "type": {
8982
- "text": "NodeListOf<VscodeTableHeader>"
8983
- },
8984
- "privacy": "private"
9145
+ "name": "--vscode-font-family",
9146
+ "default": "sans-serif"
8985
9147
  },
8986
9148
  {
8987
- "kind": "field",
8988
- "name": "_assignedBodyElements",
8989
- "type": {
8990
- "text": "NodeListOf<VscodeTableBody>"
8991
- },
8992
- "privacy": "private"
8993
- },
9149
+ "name": "--vscode-font-size",
9150
+ "default": "13px"
9151
+ }
9152
+ ],
9153
+ "members": [
8994
9154
  {
8995
9155
  "kind": "field",
8996
- "name": "_sashPositions",
9156
+ "name": "columnLabel",
8997
9157
  "type": {
8998
- "text": "number[]"
9158
+ "text": "string"
8999
9159
  },
9000
- "privacy": "private",
9001
- "default": "[]",
9002
- "description": "Sash positions in percentage"
9160
+ "default": "''",
9161
+ "description": "Cell label in the compact view of the responsive mode. For internal use only.",
9162
+ "attribute": "column-label"
9003
9163
  },
9004
9164
  {
9005
9165
  "kind": "field",
9006
- "name": "_isDragging",
9166
+ "name": "compact",
9007
9167
  "type": {
9008
9168
  "text": "boolean"
9009
9169
  },
9010
- "privacy": "private",
9011
- "default": "false"
9170
+ "default": "false",
9171
+ "description": "Enable compact view in the responsive mode. For internal use only.",
9172
+ "attribute": "compact",
9173
+ "reflects": true
9012
9174
  },
9013
9175
  {
9014
9176
  "kind": "field",
9015
- "name": "_sashHovers",
9177
+ "name": "version",
9016
9178
  "type": {
9017
- "text": "boolean[]"
9179
+ "text": "string"
9018
9180
  },
9019
- "privacy": "private",
9020
- "default": "[]",
9021
- "description": "Sash hover state flags, used in the render."
9022
- },
9181
+ "description": "VSCode Elements version",
9182
+ "readonly": true,
9183
+ "inheritedFrom": {
9184
+ "name": "VscElement",
9185
+ "module": "src/includes/VscElement.ts"
9186
+ }
9187
+ }
9188
+ ],
9189
+ "attributes": [
9023
9190
  {
9024
- "kind": "field",
9025
- "name": "_columns",
9191
+ "name": "column-label",
9026
9192
  "type": {
9027
- "text": "string[]"
9193
+ "text": "string"
9028
9194
  },
9029
- "privacy": "private",
9030
- "default": "[]"
9195
+ "default": "''",
9196
+ "description": "Cell label in the compact view of the responsive mode. For internal use only.",
9197
+ "fieldName": "columnLabel"
9031
9198
  },
9032
9199
  {
9033
- "kind": "field",
9034
- "name": "_componentResizeObserver",
9200
+ "name": "compact",
9035
9201
  "type": {
9036
- "text": "ResizeObserver | undefined"
9202
+ "text": "boolean"
9037
9203
  },
9038
- "privacy": "private"
9039
- },
9040
- {
9041
- "kind": "field",
9042
- "name": "_headerResizeObserver",
9043
- "type": {
9044
- "text": "ResizeObserver | undefined"
9045
- },
9046
- "privacy": "private"
9047
- },
9048
- {
9049
- "kind": "field",
9050
- "name": "_bodyResizeObserver",
9051
- "type": {
9052
- "text": "ResizeObserver | undefined"
9053
- },
9054
- "privacy": "private"
9055
- },
9056
- {
9057
- "kind": "field",
9058
- "name": "_activeSashElementIndex",
9059
- "type": {
9060
- "text": "number"
9061
- },
9062
- "privacy": "private",
9063
- "default": "-1"
9064
- },
9065
- {
9066
- "kind": "field",
9067
- "name": "_activeSashCursorOffset",
9068
- "type": {
9069
- "text": "number"
9070
- },
9071
- "privacy": "private",
9072
- "default": "0"
9073
- },
9074
- {
9075
- "kind": "field",
9076
- "name": "_componentX",
9077
- "type": {
9078
- "text": "number"
9079
- },
9080
- "privacy": "private",
9081
- "default": "0"
9082
- },
9204
+ "default": "false",
9205
+ "description": "Enable compact view in the responsive mode. For internal use only.",
9206
+ "fieldName": "compact"
9207
+ }
9208
+ ],
9209
+ "superclass": {
9210
+ "name": "VscElement",
9211
+ "module": "/src/includes/VscElement.js"
9212
+ },
9213
+ "tagName": "vscode-table-cell",
9214
+ "customElement": true
9215
+ }
9216
+ ],
9217
+ "exports": [
9218
+ {
9219
+ "kind": "js",
9220
+ "name": "VscodeTableCell",
9221
+ "declaration": {
9222
+ "name": "VscodeTableCell",
9223
+ "module": "src/vscode-table-cell/vscode-table-cell.ts"
9224
+ }
9225
+ },
9226
+ {
9227
+ "kind": "custom-element-definition",
9228
+ "name": "vscode-table-cell",
9229
+ "declaration": {
9230
+ "name": "VscodeTableCell",
9231
+ "module": "src/vscode-table-cell/vscode-table-cell.ts"
9232
+ }
9233
+ }
9234
+ ]
9235
+ },
9236
+ {
9237
+ "kind": "javascript-module",
9238
+ "path": "src/vscode-table-header/vscode-table-header.styles.ts",
9239
+ "declarations": [
9240
+ {
9241
+ "kind": "variable",
9242
+ "name": "styles",
9243
+ "type": {
9244
+ "text": "CSSResultGroup"
9245
+ },
9246
+ "default": "[ defaultStyles, css` :host { background-color: var( --vscode-keybindingTable-headerBackground, rgba(204, 204, 204, 0.04) ); display: table; table-layout: fixed; width: 100%; } `, ]"
9247
+ }
9248
+ ],
9249
+ "exports": [
9250
+ {
9251
+ "kind": "js",
9252
+ "name": "default",
9253
+ "declaration": {
9254
+ "name": "styles",
9255
+ "module": "src/vscode-table-header/vscode-table-header.styles.ts"
9256
+ }
9257
+ }
9258
+ ]
9259
+ },
9260
+ {
9261
+ "kind": "javascript-module",
9262
+ "path": "src/vscode-table-header/vscode-table-header.ts",
9263
+ "declarations": [
9264
+ {
9265
+ "kind": "class",
9266
+ "description": "",
9267
+ "name": "VscodeTableHeader",
9268
+ "cssProperties": [
9083
9269
  {
9084
- "kind": "field",
9085
- "name": "_componentH",
9086
- "type": {
9087
- "text": "number"
9088
- },
9089
- "privacy": "private",
9090
- "default": "0"
9091
- },
9270
+ "description": "Table header background",
9271
+ "name": "--vscode-keybindingTable-headerBackground",
9272
+ "default": "rgba(204, 204, 204, 0.04)"
9273
+ }
9274
+ ],
9275
+ "members": [
9092
9276
  {
9093
9277
  "kind": "field",
9094
- "name": "_componentW",
9278
+ "name": "version",
9095
9279
  "type": {
9096
- "text": "number"
9280
+ "text": "string"
9097
9281
  },
9098
- "privacy": "private",
9099
- "default": "0"
9100
- },
9282
+ "description": "VSCode Elements version",
9283
+ "readonly": true,
9284
+ "inheritedFrom": {
9285
+ "name": "VscElement",
9286
+ "module": "src/includes/VscElement.ts"
9287
+ }
9288
+ }
9289
+ ],
9290
+ "superclass": {
9291
+ "name": "VscElement",
9292
+ "module": "/src/includes/VscElement.js"
9293
+ },
9294
+ "tagName": "vscode-table-header",
9295
+ "customElement": true
9296
+ }
9297
+ ],
9298
+ "exports": [
9299
+ {
9300
+ "kind": "js",
9301
+ "name": "VscodeTableHeader",
9302
+ "declaration": {
9303
+ "name": "VscodeTableHeader",
9304
+ "module": "src/vscode-table-header/vscode-table-header.ts"
9305
+ }
9306
+ },
9307
+ {
9308
+ "kind": "custom-element-definition",
9309
+ "name": "vscode-table-header",
9310
+ "declaration": {
9311
+ "name": "VscodeTableHeader",
9312
+ "module": "src/vscode-table-header/vscode-table-header.ts"
9313
+ }
9314
+ }
9315
+ ]
9316
+ },
9317
+ {
9318
+ "kind": "javascript-module",
9319
+ "path": "src/vscode-table-header-cell/vscode-table-header-cell.styles.ts",
9320
+ "declarations": [
9321
+ {
9322
+ "kind": "variable",
9323
+ "name": "styles",
9324
+ "type": {
9325
+ "text": "CSSResultGroup"
9326
+ },
9327
+ "default": "[ defaultStyles, css` :host { box-sizing: border-box; color: var(--vscode-foreground, #cccccc); display: table-cell; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: bold; line-height: 20px; overflow: hidden; padding-bottom: 5px; padding-left: 10px; padding-right: 0; padding-top: 5px; text-overflow: ellipsis; white-space: nowrap; } .wrapper { box-sizing: inherit; overflow: inherit; text-overflow: inherit; white-space: inherit; width: 100%; } `, ]"
9328
+ }
9329
+ ],
9330
+ "exports": [
9331
+ {
9332
+ "kind": "js",
9333
+ "name": "default",
9334
+ "declaration": {
9335
+ "name": "styles",
9336
+ "module": "src/vscode-table-header-cell/vscode-table-header-cell.styles.ts"
9337
+ }
9338
+ }
9339
+ ]
9340
+ },
9341
+ {
9342
+ "kind": "javascript-module",
9343
+ "path": "src/vscode-table-header-cell/vscode-table-header-cell.ts",
9344
+ "declarations": [
9345
+ {
9346
+ "kind": "class",
9347
+ "description": "",
9348
+ "name": "VscodeTableHeaderCell",
9349
+ "cssProperties": [
9101
9350
  {
9102
- "kind": "field",
9103
- "name": "_headerCells",
9104
- "type": {
9105
- "text": "VscodeTableHeaderCell[]"
9106
- },
9107
- "privacy": "private",
9108
- "default": "[]",
9109
- "description": "Cached querySelectorAll result. Updated when the header slot changes.\nIt shouldn't be used directly, check the \"_getHeaderCells\" function."
9351
+ "name": "--vscode-foreground",
9352
+ "default": "#cccccc"
9110
9353
  },
9111
9354
  {
9112
- "kind": "field",
9113
- "name": "_cellsOfFirstRow",
9114
- "type": {
9115
- "text": "VscodeTableCell[]"
9116
- },
9117
- "privacy": "private",
9118
- "default": "[]",
9119
- "description": "Cached querySelectorAll result. Updated when the body slot changes.\nIt shouldn't be used directly, check the \"_getCellsOfFirstRow\" function."
9355
+ "name": "--vscode-font-family",
9356
+ "default": "sans-serif"
9120
9357
  },
9121
9358
  {
9122
- "kind": "field",
9123
- "name": "_cellsToResize",
9124
- "type": {
9125
- "text": "VscodeTableCell[]"
9126
- },
9127
- "privacy": "private"
9128
- },
9359
+ "name": "--vscode-font-size",
9360
+ "default": "13px"
9361
+ }
9362
+ ],
9363
+ "members": [
9129
9364
  {
9130
9365
  "kind": "field",
9131
- "name": "_headerCellsToResize",
9366
+ "name": "version",
9132
9367
  "type": {
9133
- "text": "VscodeTableHeaderCell[]"
9368
+ "text": "string"
9134
9369
  },
9135
- "privacy": "private"
9136
- },
9370
+ "description": "VSCode Elements version",
9371
+ "readonly": true,
9372
+ "inheritedFrom": {
9373
+ "name": "VscElement",
9374
+ "module": "src/includes/VscElement.ts"
9375
+ }
9376
+ }
9377
+ ],
9378
+ "superclass": {
9379
+ "name": "VscElement",
9380
+ "module": "/src/includes/VscElement.js"
9381
+ },
9382
+ "tagName": "vscode-table-header-cell",
9383
+ "customElement": true
9384
+ }
9385
+ ],
9386
+ "exports": [
9387
+ {
9388
+ "kind": "js",
9389
+ "name": "VscodeTableHeaderCell",
9390
+ "declaration": {
9391
+ "name": "VscodeTableHeaderCell",
9392
+ "module": "src/vscode-table-header-cell/vscode-table-header-cell.ts"
9393
+ }
9394
+ },
9395
+ {
9396
+ "kind": "custom-element-definition",
9397
+ "name": "vscode-table-header-cell",
9398
+ "declaration": {
9399
+ "name": "VscodeTableHeaderCell",
9400
+ "module": "src/vscode-table-header-cell/vscode-table-header-cell.ts"
9401
+ }
9402
+ }
9403
+ ]
9404
+ },
9405
+ {
9406
+ "kind": "javascript-module",
9407
+ "path": "src/vscode-split-layout/vscode-split-layout.styles.ts",
9408
+ "declarations": [
9409
+ {
9410
+ "kind": "variable",
9411
+ "name": "styles",
9412
+ "type": {
9413
+ "text": "CSSResultGroup"
9414
+ },
9415
+ "default": "[ defaultStyles, css` :host { --separator-border: var(--vscode-editorWidget-border, #454545); border: 1px solid var(--vscode-editorWidget-border, #454545); display: block; overflow: hidden; position: relative; } ::slotted(*) { height: 100%; width: 100%; } ::slotted(vscode-split-layout) { border: 0; } .wrapper { display: flex; height: 100%; width: 100%; } .wrapper.horizontal { flex-direction: column; } .start { box-sizing: border-box; flex: 1; min-height: 0; min-width: 0; } :host([split='vertical']) .start { border-right: 1px solid var(--separator-border); } :host([split='horizontal']) .start { border-bottom: 1px solid var(--separator-border); } .end { flex: 1; min-height: 0; min-width: 0; } :host([split='vertical']) .start, :host([split='vertical']) .end { height: 100%; } :host([split='horizontal']) .start, :host([split='horizontal']) .end { width: 100%; } .handle-overlay { display: none; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 1; } .handle-overlay.active { display: block; } .handle-overlay.split-vertical { cursor: ew-resize; } .handle-overlay.split-horizontal { cursor: ns-resize; } .handle { background-color: transparent; position: absolute; z-index: 2; } .handle.hover { transition: background-color 0.1s ease-out 0.3s; background-color: var(--vscode-sash-hoverBorder, #0078d4); } .handle.hide { background-color: transparent; transition: background-color 0.1s ease-out; } .handle.split-vertical { cursor: ew-resize; height: 100%; } .handle.split-horizontal { cursor: ns-resize; width: 100%; } `, ]"
9416
+ }
9417
+ ],
9418
+ "exports": [
9419
+ {
9420
+ "kind": "js",
9421
+ "name": "default",
9422
+ "declaration": {
9423
+ "name": "styles",
9424
+ "module": "src/vscode-split-layout/vscode-split-layout.styles.ts"
9425
+ }
9426
+ }
9427
+ ]
9428
+ },
9429
+ {
9430
+ "kind": "javascript-module",
9431
+ "path": "src/vscode-split-layout/vscode-split-layout.ts",
9432
+ "declarations": [
9433
+ {
9434
+ "kind": "function",
9435
+ "name": "parseValue",
9436
+ "return": {
9437
+ "type": {
9438
+ "text": "{value: number; unit: PositionUnit}"
9439
+ }
9440
+ },
9441
+ "parameters": [
9137
9442
  {
9138
- "kind": "field",
9139
- "name": "_prevHeaderHeight",
9443
+ "name": "raw",
9140
9444
  "type": {
9141
- "text": "number"
9142
- },
9143
- "privacy": "private",
9144
- "default": "0"
9145
- },
9445
+ "text": "string"
9446
+ }
9447
+ }
9448
+ ]
9449
+ },
9450
+ {
9451
+ "kind": "function",
9452
+ "name": "pxToPercent",
9453
+ "parameters": [
9146
9454
  {
9147
- "kind": "field",
9148
- "name": "_prevComponentHeight",
9455
+ "name": "current",
9149
9456
  "type": {
9150
9457
  "text": "number"
9151
- },
9152
- "privacy": "private",
9153
- "default": "0"
9154
- },
9155
- {
9156
- "kind": "method",
9157
- "name": "_px2Percent",
9158
- "privacy": "private",
9159
- "parameters": [
9160
- {
9161
- "name": "px",
9162
- "type": {
9163
- "text": "number"
9164
- }
9165
- }
9166
- ]
9167
- },
9168
- {
9169
- "kind": "method",
9170
- "name": "_percent2Px",
9171
- "privacy": "private",
9172
- "parameters": [
9173
- {
9174
- "name": "percent",
9175
- "type": {
9176
- "text": "number"
9177
- }
9178
- }
9179
- ]
9180
- },
9181
- {
9182
- "kind": "method",
9183
- "name": "_memoizeComponentDimensions",
9184
- "privacy": "private"
9185
- },
9186
- {
9187
- "kind": "method",
9188
- "name": "_queryHeaderCells",
9189
- "privacy": "private"
9190
- },
9191
- {
9192
- "kind": "method",
9193
- "name": "_getHeaderCells",
9194
- "privacy": "private",
9195
- "description": "Get cached header cells"
9196
- },
9197
- {
9198
- "kind": "method",
9199
- "name": "_queryCellsOfFirstRow",
9200
- "privacy": "private"
9201
- },
9202
- {
9203
- "kind": "method",
9204
- "name": "_getCellsOfFirstRow",
9205
- "privacy": "private",
9206
- "description": "Get cached cells of first row"
9207
- },
9208
- {
9209
- "kind": "method",
9210
- "name": "_resizeTableBody",
9211
- "privacy": "private"
9212
- },
9213
- {
9214
- "kind": "method",
9215
- "name": "_initResizeObserver",
9216
- "privacy": "private"
9217
- },
9218
- {
9219
- "kind": "field",
9220
- "name": "_componentResizeObserverCallback",
9221
- "privacy": "private"
9222
- },
9223
- {
9224
- "kind": "field",
9225
- "name": "_headerResizeObserverCallback",
9226
- "privacy": "private"
9227
- },
9228
- {
9229
- "kind": "field",
9230
- "name": "_bodyResizeObserverCallback",
9231
- "privacy": "private"
9232
- },
9233
- {
9234
- "kind": "method",
9235
- "name": "_calcColWidthPercentages",
9236
- "privacy": "private",
9237
- "return": {
9238
- "type": {
9239
- "text": "number[]"
9240
- }
9241
- }
9242
- },
9243
- {
9244
- "kind": "method",
9245
- "name": "_initHeaderCellSizes",
9246
- "privacy": "private",
9247
- "parameters": [
9248
- {
9249
- "name": "colWidths",
9250
- "type": {
9251
- "text": "number[]"
9252
- }
9253
- }
9254
- ]
9255
- },
9256
- {
9257
- "kind": "method",
9258
- "name": "_initBodyColumnSizes",
9259
- "privacy": "private",
9260
- "parameters": [
9261
- {
9262
- "name": "colWidths",
9263
- "type": {
9264
- "text": "number[]"
9265
- }
9266
- }
9267
- ]
9268
- },
9269
- {
9270
- "kind": "method",
9271
- "name": "_initSashes",
9272
- "privacy": "private",
9273
- "parameters": [
9274
- {
9275
- "name": "colWidths",
9276
- "type": {
9277
- "text": "number[]"
9278
- }
9279
- }
9280
- ]
9281
- },
9282
- {
9283
- "kind": "method",
9284
- "name": "_initDefaultColumnSizes",
9285
- "privacy": "private"
9286
- },
9287
- {
9288
- "kind": "method",
9289
- "name": "_updateResizeHandlersSize",
9290
- "privacy": "private"
9291
- },
9292
- {
9293
- "kind": "method",
9294
- "name": "_applyCompactViewColumnLabels",
9295
- "privacy": "private"
9458
+ }
9296
9459
  },
9297
9460
  {
9298
- "kind": "method",
9299
- "name": "_clearCompactViewColumnLabels",
9300
- "privacy": "private"
9301
- },
9461
+ "name": "max",
9462
+ "type": {
9463
+ "text": "number"
9464
+ }
9465
+ }
9466
+ ]
9467
+ },
9468
+ {
9469
+ "kind": "function",
9470
+ "name": "percentToPx",
9471
+ "parameters": [
9302
9472
  {
9303
- "kind": "method",
9304
- "name": "_toggleCompactView",
9305
- "privacy": "private"
9473
+ "name": "current",
9474
+ "type": {
9475
+ "text": "number"
9476
+ }
9306
9477
  },
9307
9478
  {
9308
- "kind": "method",
9309
- "name": "_onDefaultSlotChange",
9310
- "privacy": "private"
9311
- },
9479
+ "name": "max",
9480
+ "type": {
9481
+ "text": "number"
9482
+ }
9483
+ }
9484
+ ]
9485
+ },
9486
+ {
9487
+ "kind": "class",
9488
+ "description": "",
9489
+ "name": "VscodeSplitLayout",
9490
+ "cssProperties": [
9312
9491
  {
9313
- "kind": "method",
9314
- "name": "_onHeaderSlotChange",
9315
- "privacy": "private"
9492
+ "name": "--separator-border",
9493
+ "default": "#454545"
9316
9494
  },
9317
9495
  {
9318
- "kind": "method",
9319
- "name": "_onBodySlotChange",
9320
- "privacy": "private"
9496
+ "name": "--vscode-editorWidget-border",
9497
+ "default": "#454545"
9321
9498
  },
9322
9499
  {
9323
- "kind": "method",
9324
- "name": "_onSashMouseOver",
9325
- "privacy": "private",
9326
- "parameters": [
9327
- {
9328
- "name": "event",
9329
- "type": {
9330
- "text": "MouseEvent"
9331
- }
9332
- }
9333
- ]
9500
+ "name": "--vscode-sash-hoverBorder",
9501
+ "default": "#0078d4"
9502
+ }
9503
+ ],
9504
+ "members": [
9505
+ {
9506
+ "kind": "field",
9507
+ "name": "split",
9508
+ "description": "Direction of the divider.",
9509
+ "type": {
9510
+ "text": "Orientation"
9511
+ },
9512
+ "attribute": "split",
9513
+ "reflects": true
9334
9514
  },
9335
9515
  {
9336
- "kind": "method",
9337
- "name": "_onSashMouseOut",
9516
+ "kind": "field",
9517
+ "name": "_split",
9518
+ "type": {
9519
+ "text": "Orientation"
9520
+ },
9338
9521
  "privacy": "private",
9339
- "parameters": [
9340
- {
9341
- "name": "event",
9342
- "type": {
9343
- "text": "MouseEvent"
9344
- }
9345
- }
9346
- ]
9522
+ "default": "'vertical'"
9347
9523
  },
9348
9524
  {
9349
- "kind": "method",
9350
- "name": "_onSashMouseDown",
9351
- "privacy": "private",
9352
- "parameters": [
9353
- {
9354
- "name": "event",
9355
- "type": {
9356
- "text": "MouseEvent"
9357
- }
9358
- }
9359
- ]
9525
+ "kind": "field",
9526
+ "name": "resetOnDblClick",
9527
+ "type": {
9528
+ "text": "boolean"
9529
+ },
9530
+ "default": "false",
9531
+ "description": "Controls whether the handle position should reset to the value set in the\n`initialHandlePosition` when it is double-clicked.",
9532
+ "attribute": "reset-on-dbl-click",
9533
+ "reflects": true
9360
9534
  },
9361
9535
  {
9362
- "kind": "method",
9363
- "name": "_updateActiveSashPosition",
9364
- "privacy": "private",
9365
- "parameters": [
9366
- {
9367
- "name": "mouseX",
9368
- "type": {
9369
- "text": "number"
9370
- }
9371
- }
9372
- ]
9536
+ "kind": "field",
9537
+ "name": "handleSize",
9538
+ "type": {
9539
+ "text": "number"
9540
+ },
9541
+ "default": "4",
9542
+ "description": "Controls the draggable area size in pixels. it is intended to use the value\nof `workbench.sash.size`.",
9543
+ "attribute": "handle-size",
9544
+ "reflects": true
9373
9545
  },
9374
9546
  {
9375
- "kind": "method",
9376
- "name": "_getSashPositions",
9377
- "privacy": "private",
9378
- "return": {
9379
- "type": {
9380
- "text": "{\n sashPos: number;\n prevSashPos: number;\n nextSashPos: number;\n }"
9381
- }
9382
- }
9547
+ "kind": "field",
9548
+ "name": "initialHandlePosition",
9549
+ "type": {
9550
+ "text": "string"
9551
+ },
9552
+ "default": "'50%'",
9553
+ "description": "The handler position will reset to this position when it is double-clicked,\nor the `resetHandlePosition()` is called.",
9554
+ "attribute": "initial-handle-position",
9555
+ "reflects": true
9383
9556
  },
9384
9557
  {
9385
- "kind": "method",
9386
- "name": "_resizeColumns",
9387
- "privacy": "private",
9388
- "parameters": [
9389
- {
9390
- "name": "resizeBodyCells",
9391
- "default": "true"
9392
- }
9393
- ]
9558
+ "kind": "field",
9559
+ "name": "handlePosition",
9560
+ "description": "Set the handle position programmatically. The value must include a unit,\neither `%` or `px`. If no unit is specified, the value is interpreted as\n`px`.",
9561
+ "type": {
9562
+ "text": "string | undefined"
9563
+ },
9564
+ "attribute": "handle-position"
9394
9565
  },
9395
9566
  {
9396
9567
  "kind": "field",
9397
- "name": "_onResizingMouseMove",
9568
+ "name": "_rawHandlePosition",
9569
+ "type": {
9570
+ "text": "string | undefined"
9571
+ },
9398
9572
  "privacy": "private"
9399
9573
  },
9400
9574
  {
9401
9575
  "kind": "field",
9402
- "name": "_onResizingMouseUp",
9403
- "privacy": "private"
9576
+ "name": "fixedPane",
9577
+ "description": "The size of the fixed pane will not change when the component is resized.",
9578
+ "type": {
9579
+ "text": "'start' | 'end' | 'none'"
9580
+ },
9581
+ "attribute": "fixed-pane"
9404
9582
  },
9405
9583
  {
9406
9584
  "kind": "field",
9407
- "name": "version",
9585
+ "name": "_fixedPane",
9408
9586
  "type": {
9409
- "text": "string"
9587
+ "text": "FixedPaneType"
9410
9588
  },
9411
- "description": "VSCode Elements version",
9412
- "readonly": true,
9413
- "inheritedFrom": {
9414
- "name": "VscElement",
9415
- "module": "src/includes/VscElement.ts"
9416
- }
9417
- }
9418
- ],
9419
- "attributes": [
9589
+ "privacy": "private",
9590
+ "default": "'none'"
9591
+ },
9420
9592
  {
9421
- "name": "resizable",
9593
+ "kind": "field",
9594
+ "name": "_handlePosition",
9422
9595
  "type": {
9423
- "text": "boolean"
9596
+ "text": "number"
9424
9597
  },
9425
- "default": "false",
9426
- "fieldName": "resizable"
9598
+ "privacy": "private",
9599
+ "default": "0"
9427
9600
  },
9428
9601
  {
9429
- "name": "responsive",
9602
+ "kind": "field",
9603
+ "name": "_isDragActive",
9430
9604
  "type": {
9431
9605
  "text": "boolean"
9432
9606
  },
9433
- "default": "false",
9434
- "fieldName": "responsive"
9607
+ "privacy": "private",
9608
+ "default": "false"
9435
9609
  },
9436
9610
  {
9437
- "name": "bordered",
9611
+ "kind": "field",
9612
+ "name": "_hover",
9438
9613
  "type": {
9439
9614
  "text": "boolean"
9440
9615
  },
9441
- "default": "false",
9442
- "description": "Both rows and columns are separated by borders.",
9443
- "fieldName": "bordered"
9616
+ "privacy": "private",
9617
+ "default": "false"
9444
9618
  },
9445
9619
  {
9446
- "name": "bordered-columns",
9620
+ "kind": "field",
9621
+ "name": "_hide",
9447
9622
  "type": {
9448
9623
  "text": "boolean"
9449
9624
  },
9450
- "default": "false",
9451
- "description": "Columns are separated by borders.",
9452
- "fieldName": "borderedColumns"
9625
+ "privacy": "private",
9626
+ "default": "false"
9453
9627
  },
9454
9628
  {
9455
- "name": "bordered-rows",
9629
+ "kind": "field",
9630
+ "name": "_wrapperEl",
9456
9631
  "type": {
9457
- "text": "boolean"
9632
+ "text": "HTMLDivElement"
9458
9633
  },
9459
- "default": "false",
9460
- "description": "Rows are separated by borders.",
9461
- "fieldName": "borderedRows"
9634
+ "privacy": "private"
9462
9635
  },
9463
9636
  {
9464
- "name": "breakpoint",
9637
+ "kind": "field",
9638
+ "name": "_handleEl",
9465
9639
  "type": {
9466
- "text": "number"
9640
+ "text": "HTMLDivElement"
9467
9641
  },
9468
- "default": "300",
9469
- "fieldName": "breakpoint"
9642
+ "privacy": "private"
9470
9643
  },
9471
9644
  {
9472
- "name": "columns",
9473
- "description": "Initial column sizes in a JSON-encoded array.\nAccepted values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
9645
+ "kind": "field",
9646
+ "name": "_nestedLayoutsAtStart",
9474
9647
  "type": {
9475
- "text": "string[]"
9648
+ "text": "HTMLElement[]"
9476
9649
  },
9477
- "fieldName": "columns"
9650
+ "privacy": "private"
9651
+ },
9652
+ {
9653
+ "kind": "field",
9654
+ "name": "_nestedLayoutsAtEnd",
9655
+ "type": {
9656
+ "text": "HTMLElement[]"
9657
+ },
9658
+ "privacy": "private"
9478
9659
  },
9479
9660
  {
9480
- "name": "min-column-width",
9661
+ "kind": "field",
9662
+ "name": "_boundRect",
9481
9663
  "type": {
9482
- "text": "string"
9664
+ "text": "DOMRect"
9483
9665
  },
9484
- "default": "'50px'",
9485
- "description": "Minimum column width. Valid values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
9486
- "fieldName": "minColumnWidth"
9666
+ "privacy": "private",
9667
+ "default": "new DOMRect()"
9487
9668
  },
9488
9669
  {
9489
- "name": "delayed-resizing",
9670
+ "kind": "field",
9671
+ "name": "_handleOffset",
9490
9672
  "type": {
9491
- "text": "boolean"
9673
+ "text": "number"
9492
9674
  },
9493
- "default": "false",
9494
- "fieldName": "delayedResizing"
9675
+ "privacy": "private",
9676
+ "default": "0"
9495
9677
  },
9496
9678
  {
9497
- "name": "zebra",
9679
+ "kind": "field",
9680
+ "name": "_resizeObserver",
9498
9681
  "type": {
9499
- "text": "boolean"
9682
+ "text": "ResizeObserver"
9500
9683
  },
9501
- "default": "false",
9502
- "description": "Zebra stripes, even rows are tinted.",
9503
- "fieldName": "zebra"
9684
+ "privacy": "private",
9685
+ "default": "new ResizeObserver(this._handleResize)"
9504
9686
  },
9505
9687
  {
9506
- "name": "zebra-odd",
9688
+ "kind": "field",
9689
+ "name": "_wrapperObserved",
9507
9690
  "type": {
9508
9691
  "text": "boolean"
9509
9692
  },
9510
- "default": "false",
9511
- "description": "Zebra stripes, odd rows are tinted.",
9512
- "fieldName": "zebraOdd"
9513
- }
9514
- ],
9515
- "superclass": {
9516
- "name": "VscElement",
9517
- "module": "/src/includes/VscElement.js"
9518
- },
9519
- "tagName": "vscode-table",
9520
- "customElement": true
9521
- }
9522
- ],
9523
- "exports": [
9524
- {
9525
- "kind": "js",
9526
- "name": "VscodeTable",
9527
- "declaration": {
9528
- "name": "VscodeTable",
9529
- "module": "src/vscode-table/vscode-table.ts"
9530
- }
9531
- },
9532
- {
9533
- "kind": "custom-element-definition",
9534
- "name": "vscode-table",
9535
- "declaration": {
9536
- "name": "VscodeTable",
9537
- "module": "src/vscode-table/vscode-table.ts"
9538
- }
9539
- }
9540
- ]
9541
- },
9542
- {
9543
- "kind": "javascript-module",
9544
- "path": "src/vscode-table-body/vscode-table-body.styles.ts",
9545
- "declarations": [
9546
- {
9547
- "kind": "variable",
9548
- "name": "styles",
9549
- "type": {
9550
- "text": "CSSResultGroup"
9551
- },
9552
- "default": "[ defaultStyles, css` :host { display: table; table-layout: fixed; width: 100%; } ::slotted(vscode-table-row:nth-child(even)) { background-color: var(--vsc-row-even-background); } ::slotted(vscode-table-row:nth-child(odd)) { background-color: var(--vsc-row-odd-background); } `, ]"
9553
- }
9554
- ],
9555
- "exports": [
9556
- {
9557
- "kind": "js",
9558
- "name": "default",
9559
- "declaration": {
9560
- "name": "styles",
9561
- "module": "src/vscode-table-body/vscode-table-body.styles.ts"
9562
- }
9563
- }
9564
- ]
9565
- },
9566
- {
9567
- "kind": "javascript-module",
9568
- "path": "src/vscode-table-body/vscode-table-body.ts",
9569
- "declarations": [
9570
- {
9571
- "kind": "class",
9572
- "description": "",
9573
- "name": "VscodeTableBody",
9574
- "members": [
9693
+ "privacy": "private",
9694
+ "default": "false"
9695
+ },
9575
9696
  {
9576
9697
  "kind": "field",
9577
- "name": "version",
9698
+ "name": "_fixedPaneSize",
9578
9699
  "type": {
9579
- "text": "string"
9700
+ "text": "number"
9580
9701
  },
9581
- "description": "VSCode Elements version",
9582
- "readonly": true,
9583
- "inheritedFrom": {
9584
- "name": "VscElement",
9585
- "module": "src/includes/VscElement.ts"
9586
- }
9587
- }
9588
- ],
9589
- "superclass": {
9590
- "name": "VscElement",
9591
- "module": "/src/includes/VscElement.js"
9592
- },
9593
- "tagName": "vscode-table-body",
9594
- "customElement": true
9595
- }
9596
- ],
9597
- "exports": [
9598
- {
9599
- "kind": "js",
9600
- "name": "VscodeTableBody",
9601
- "declaration": {
9602
- "name": "VscodeTableBody",
9603
- "module": "src/vscode-table-body/vscode-table-body.ts"
9604
- }
9605
- },
9606
- {
9607
- "kind": "custom-element-definition",
9608
- "name": "vscode-table-body",
9609
- "declaration": {
9610
- "name": "VscodeTableBody",
9611
- "module": "src/vscode-table-body/vscode-table-body.ts"
9612
- }
9613
- }
9614
- ]
9615
- },
9616
- {
9617
- "kind": "javascript-module",
9618
- "path": "src/vscode-table-cell/vscode-table-cell.styles.ts",
9619
- "declarations": [
9620
- {
9621
- "kind": "variable",
9622
- "name": "styles",
9623
- "type": {
9624
- "text": "CSSResultGroup"
9625
- },
9626
- "default": "[ defaultStyles, css` :host { border-bottom-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); border-bottom-style: solid; border-bottom-width: var(--vsc-row-border-bottom-width); box-sizing: border-box; color: var(--vscode-foreground, #cccccc); display: table-cell; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); height: 24px; overflow: hidden; padding-left: 10px; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; } :host([compact]) { display: block; height: auto; padding-bottom: 5px; width: 100% !important; } :host([compact]:first-child) { padding-top: 10px; } :host([compact]:last-child) { padding-bottom: 10px; } .wrapper { overflow: inherit; text-overflow: inherit; white-space: inherit; width: 100%; } .column-label { font-weight: bold; } `, ]"
9627
- }
9628
- ],
9629
- "exports": [
9630
- {
9631
- "kind": "js",
9632
- "name": "default",
9633
- "declaration": {
9634
- "name": "styles",
9635
- "module": "src/vscode-table-cell/vscode-table-cell.styles.ts"
9636
- }
9637
- }
9638
- ]
9639
- },
9640
- {
9641
- "kind": "javascript-module",
9642
- "path": "src/vscode-table-cell/vscode-table-cell.ts",
9643
- "declarations": [
9644
- {
9645
- "kind": "class",
9646
- "description": "",
9647
- "name": "VscodeTableCell",
9648
- "cssProperties": [
9702
+ "privacy": "private",
9703
+ "default": "0"
9704
+ },
9649
9705
  {
9650
- "name": "--vscode-editorGroup-border",
9651
- "default": "rgba(255, 255, 255, 0.09)"
9706
+ "kind": "method",
9707
+ "name": "resetHandlePosition",
9708
+ "description": "Sets the handle position to the value specified in the `initialHandlePosition` property."
9652
9709
  },
9653
9710
  {
9654
- "name": "--vscode-foreground",
9655
- "default": "#cccccc"
9711
+ "kind": "method",
9712
+ "name": "_handlePositionPropChanged",
9713
+ "privacy": "private"
9714
+ },
9715
+ {
9716
+ "kind": "method",
9717
+ "name": "_fixedPanePropChanged",
9718
+ "privacy": "private"
9719
+ },
9720
+ {
9721
+ "kind": "method",
9722
+ "name": "_initFixedPane",
9723
+ "privacy": "private"
9724
+ },
9725
+ {
9726
+ "kind": "field",
9727
+ "name": "_handleResize",
9728
+ "privacy": "private"
9729
+ },
9730
+ {
9731
+ "kind": "method",
9732
+ "name": "_setPosition",
9733
+ "privacy": "private",
9734
+ "parameters": [
9735
+ {
9736
+ "name": "value",
9737
+ "type": {
9738
+ "text": "number"
9739
+ }
9740
+ },
9741
+ {
9742
+ "name": "unit",
9743
+ "type": {
9744
+ "text": "PositionUnit"
9745
+ }
9746
+ }
9747
+ ]
9748
+ },
9749
+ {
9750
+ "kind": "method",
9751
+ "name": "_handleMouseOver",
9752
+ "privacy": "private"
9753
+ },
9754
+ {
9755
+ "kind": "method",
9756
+ "name": "_handleMouseOut",
9757
+ "privacy": "private",
9758
+ "parameters": [
9759
+ {
9760
+ "name": "event",
9761
+ "type": {
9762
+ "text": "MouseEvent"
9763
+ }
9764
+ }
9765
+ ]
9766
+ },
9767
+ {
9768
+ "kind": "method",
9769
+ "name": "_handleMouseDown",
9770
+ "privacy": "private",
9771
+ "parameters": [
9772
+ {
9773
+ "name": "event",
9774
+ "type": {
9775
+ "text": "MouseEvent"
9776
+ }
9777
+ }
9778
+ ]
9779
+ },
9780
+ {
9781
+ "kind": "field",
9782
+ "name": "_handleMouseUp",
9783
+ "privacy": "private"
9656
9784
  },
9657
9785
  {
9658
- "name": "--vscode-font-family",
9659
- "default": "sans-serif"
9786
+ "kind": "field",
9787
+ "name": "_handleMouseMove",
9788
+ "privacy": "private"
9660
9789
  },
9661
9790
  {
9662
- "name": "--vscode-font-size",
9663
- "default": "13px"
9664
- }
9665
- ],
9666
- "members": [
9667
- {
9668
- "kind": "field",
9669
- "name": "columnLabel",
9670
- "type": {
9671
- "text": "string"
9672
- },
9673
- "default": "''",
9674
- "description": "Cell label in the compact view of the responsive mode. For internal use only.",
9675
- "attribute": "column-label"
9791
+ "kind": "method",
9792
+ "name": "_handleDblClick",
9793
+ "privacy": "private"
9676
9794
  },
9677
9795
  {
9678
- "kind": "field",
9679
- "name": "compact",
9680
- "type": {
9681
- "text": "boolean"
9682
- },
9683
- "default": "false",
9684
- "description": "Enable compact view in the responsive mode. For internal use only.",
9685
- "attribute": "compact",
9686
- "reflects": true
9796
+ "kind": "method",
9797
+ "name": "_handleSlotChange",
9798
+ "privacy": "private"
9687
9799
  },
9688
9800
  {
9689
9801
  "kind": "field",
@@ -9701,216 +9813,104 @@
9701
9813
  ],
9702
9814
  "attributes": [
9703
9815
  {
9704
- "name": "column-label",
9816
+ "name": "split",
9817
+ "description": "Direction of the divider.",
9705
9818
  "type": {
9706
- "text": "string"
9819
+ "text": "Orientation"
9707
9820
  },
9708
- "default": "''",
9709
- "description": "Cell label in the compact view of the responsive mode. For internal use only.",
9710
- "fieldName": "columnLabel"
9821
+ "fieldName": "split"
9711
9822
  },
9712
9823
  {
9713
- "name": "compact",
9824
+ "name": "reset-on-dbl-click",
9714
9825
  "type": {
9715
9826
  "text": "boolean"
9716
9827
  },
9717
9828
  "default": "false",
9718
- "description": "Enable compact view in the responsive mode. For internal use only.",
9719
- "fieldName": "compact"
9720
- }
9721
- ],
9722
- "superclass": {
9723
- "name": "VscElement",
9724
- "module": "/src/includes/VscElement.js"
9725
- },
9726
- "tagName": "vscode-table-cell",
9727
- "customElement": true
9728
- }
9729
- ],
9730
- "exports": [
9731
- {
9732
- "kind": "js",
9733
- "name": "VscodeTableCell",
9734
- "declaration": {
9735
- "name": "VscodeTableCell",
9736
- "module": "src/vscode-table-cell/vscode-table-cell.ts"
9737
- }
9738
- },
9739
- {
9740
- "kind": "custom-element-definition",
9741
- "name": "vscode-table-cell",
9742
- "declaration": {
9743
- "name": "VscodeTableCell",
9744
- "module": "src/vscode-table-cell/vscode-table-cell.ts"
9745
- }
9746
- }
9747
- ]
9748
- },
9749
- {
9750
- "kind": "javascript-module",
9751
- "path": "src/vscode-table-header/vscode-table-header.styles.ts",
9752
- "declarations": [
9753
- {
9754
- "kind": "variable",
9755
- "name": "styles",
9756
- "type": {
9757
- "text": "CSSResultGroup"
9758
- },
9759
- "default": "[ defaultStyles, css` :host { background-color: var( --vscode-keybindingTable-headerBackground, rgba(204, 204, 204, 0.04) ); display: table; table-layout: fixed; width: 100%; } `, ]"
9760
- }
9761
- ],
9762
- "exports": [
9763
- {
9764
- "kind": "js",
9765
- "name": "default",
9766
- "declaration": {
9767
- "name": "styles",
9768
- "module": "src/vscode-table-header/vscode-table-header.styles.ts"
9769
- }
9770
- }
9771
- ]
9772
- },
9773
- {
9774
- "kind": "javascript-module",
9775
- "path": "src/vscode-table-header/vscode-table-header.ts",
9776
- "declarations": [
9777
- {
9778
- "kind": "class",
9779
- "description": "",
9780
- "name": "VscodeTableHeader",
9781
- "cssProperties": [
9829
+ "description": "Controls whether the handle position should reset to the value set in the\n`initialHandlePosition` when it is double-clicked.",
9830
+ "fieldName": "resetOnDblClick"
9831
+ },
9782
9832
  {
9783
- "description": "Table header background",
9784
- "name": "--vscode-keybindingTable-headerBackground",
9785
- "default": "rgba(204, 204, 204, 0.04)"
9786
- }
9787
- ],
9788
- "members": [
9833
+ "name": "handle-size",
9834
+ "type": {
9835
+ "text": "number"
9836
+ },
9837
+ "default": "4",
9838
+ "description": "Controls the draggable area size in pixels. it is intended to use the value\nof `workbench.sash.size`.",
9839
+ "fieldName": "handleSize"
9840
+ },
9789
9841
  {
9790
- "kind": "field",
9791
- "name": "version",
9842
+ "name": "initial-handle-position",
9792
9843
  "type": {
9793
9844
  "text": "string"
9794
9845
  },
9795
- "description": "VSCode Elements version",
9796
- "readonly": true,
9797
- "inheritedFrom": {
9798
- "name": "VscElement",
9799
- "module": "src/includes/VscElement.ts"
9800
- }
9846
+ "default": "DEFAULT_INITIAL_POSITION",
9847
+ "description": "The handler position will reset to this position when it is double-clicked,\nor the `resetHandlePosition()` is called.",
9848
+ "fieldName": "initialHandlePosition"
9849
+ },
9850
+ {
9851
+ "name": "handle-position",
9852
+ "description": "Set the handle position programmatically. The value must include a unit,\neither `%` or `px`. If no unit is specified, the value is interpreted as\n`px`.",
9853
+ "type": {
9854
+ "text": "string | undefined"
9855
+ },
9856
+ "fieldName": "handlePosition"
9857
+ },
9858
+ {
9859
+ "name": "fixed-pane",
9860
+ "description": "The size of the fixed pane will not change when the component is resized.",
9861
+ "type": {
9862
+ "text": "'start' | 'end' | 'none'"
9863
+ },
9864
+ "fieldName": "fixedPane"
9801
9865
  }
9802
9866
  ],
9803
9867
  "superclass": {
9804
9868
  "name": "VscElement",
9805
9869
  "module": "/src/includes/VscElement.js"
9806
9870
  },
9807
- "tagName": "vscode-table-header",
9871
+ "tagName": "vscode-split-layout",
9808
9872
  "customElement": true
9809
9873
  }
9810
9874
  ],
9811
9875
  "exports": [
9812
9876
  {
9813
9877
  "kind": "js",
9814
- "name": "VscodeTableHeader",
9878
+ "name": "parseValue",
9815
9879
  "declaration": {
9816
- "name": "VscodeTableHeader",
9817
- "module": "src/vscode-table-header/vscode-table-header.ts"
9880
+ "name": "parseValue",
9881
+ "module": "src/vscode-split-layout/vscode-split-layout.ts"
9818
9882
  }
9819
9883
  },
9820
9884
  {
9821
- "kind": "custom-element-definition",
9822
- "name": "vscode-table-header",
9885
+ "kind": "js",
9886
+ "name": "pxToPercent",
9823
9887
  "declaration": {
9824
- "name": "VscodeTableHeader",
9825
- "module": "src/vscode-table-header/vscode-table-header.ts"
9888
+ "name": "pxToPercent",
9889
+ "module": "src/vscode-split-layout/vscode-split-layout.ts"
9826
9890
  }
9827
- }
9828
- ]
9829
- },
9830
- {
9831
- "kind": "javascript-module",
9832
- "path": "src/vscode-table-header-cell/vscode-table-header-cell.styles.ts",
9833
- "declarations": [
9834
- {
9835
- "kind": "variable",
9836
- "name": "styles",
9837
- "type": {
9838
- "text": "CSSResultGroup"
9839
- },
9840
- "default": "[ defaultStyles, css` :host { box-sizing: border-box; color: var(--vscode-foreground, #cccccc); display: table-cell; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: bold; line-height: 20px; overflow: hidden; padding-bottom: 5px; padding-left: 10px; padding-right: 0; padding-top: 5px; text-overflow: ellipsis; white-space: nowrap; } .wrapper { box-sizing: inherit; overflow: inherit; text-overflow: inherit; white-space: inherit; width: 100%; } `, ]"
9841
- }
9842
- ],
9843
- "exports": [
9891
+ },
9844
9892
  {
9845
9893
  "kind": "js",
9846
- "name": "default",
9894
+ "name": "percentToPx",
9847
9895
  "declaration": {
9848
- "name": "styles",
9849
- "module": "src/vscode-table-header-cell/vscode-table-header-cell.styles.ts"
9896
+ "name": "percentToPx",
9897
+ "module": "src/vscode-split-layout/vscode-split-layout.ts"
9850
9898
  }
9851
- }
9852
- ]
9853
- },
9854
- {
9855
- "kind": "javascript-module",
9856
- "path": "src/vscode-table-header-cell/vscode-table-header-cell.ts",
9857
- "declarations": [
9858
- {
9859
- "kind": "class",
9860
- "description": "",
9861
- "name": "VscodeTableHeaderCell",
9862
- "cssProperties": [
9863
- {
9864
- "name": "--vscode-foreground",
9865
- "default": "#cccccc"
9866
- },
9867
- {
9868
- "name": "--vscode-font-family",
9869
- "default": "sans-serif"
9870
- },
9871
- {
9872
- "name": "--vscode-font-size",
9873
- "default": "13px"
9874
- }
9875
- ],
9876
- "members": [
9877
- {
9878
- "kind": "field",
9879
- "name": "version",
9880
- "type": {
9881
- "text": "string"
9882
- },
9883
- "description": "VSCode Elements version",
9884
- "readonly": true,
9885
- "inheritedFrom": {
9886
- "name": "VscElement",
9887
- "module": "src/includes/VscElement.ts"
9888
- }
9889
- }
9890
- ],
9891
- "superclass": {
9892
- "name": "VscElement",
9893
- "module": "/src/includes/VscElement.js"
9894
- },
9895
- "tagName": "vscode-table-header-cell",
9896
- "customElement": true
9897
- }
9898
- ],
9899
- "exports": [
9899
+ },
9900
9900
  {
9901
9901
  "kind": "js",
9902
- "name": "VscodeTableHeaderCell",
9902
+ "name": "VscodeSplitLayout",
9903
9903
  "declaration": {
9904
- "name": "VscodeTableHeaderCell",
9905
- "module": "src/vscode-table-header-cell/vscode-table-header-cell.ts"
9904
+ "name": "VscodeSplitLayout",
9905
+ "module": "src/vscode-split-layout/vscode-split-layout.ts"
9906
9906
  }
9907
9907
  },
9908
9908
  {
9909
9909
  "kind": "custom-element-definition",
9910
- "name": "vscode-table-header-cell",
9910
+ "name": "vscode-split-layout",
9911
9911
  "declaration": {
9912
- "name": "VscodeTableHeaderCell",
9913
- "module": "src/vscode-table-header-cell/vscode-table-header-cell.ts"
9912
+ "name": "VscodeSplitLayout",
9913
+ "module": "src/vscode-split-layout/vscode-split-layout.ts"
9914
9914
  }
9915
9915
  }
9916
9916
  ]