@astrojs/language-server 2.7.6 → 2.7.7

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.
@@ -9,7 +9,7 @@ exports.classListAttribute = (0, vscode_html_languageservice_1.newHTMLDataProvid
9
9
  globalAttributes: [
10
10
  {
11
11
  name: 'class:list',
12
- description: 'Utility to provide a list of class',
12
+ description: 'Utility to provide a list of classes of the element. Takes an array of class values and converts them into a class string.',
13
13
  references: [
14
14
  {
15
15
  name: 'Astro reference',
@@ -55,7 +55,7 @@ exports.astroElements = (0, vscode_html_languageservice_1.newHTMLDataProvider)('
55
55
  },
56
56
  {
57
57
  name: 'define:vars',
58
- description: 'Passes serializable server-side variables into a client-side script element',
58
+ description: 'Passes serializable server-side variables into a client-side script element.',
59
59
  references: [
60
60
  {
61
61
  name: 'Astro reference',
@@ -65,7 +65,7 @@ exports.astroElements = (0, vscode_html_languageservice_1.newHTMLDataProvider)('
65
65
  },
66
66
  {
67
67
  name: 'hoist',
68
- description: '**Deprecated in Astro >= 0.26.0**\n\nBuilds, optimizes, and bundles your script with the other JavaScript on the page',
68
+ description: '**Deprecated in Astro >= 0.26.0**\n\nBuilds, optimizes, and bundles your script with the other JavaScript on the page.',
69
69
  valueSet: 'v',
70
70
  references: [
71
71
  {
@@ -76,7 +76,7 @@ exports.astroElements = (0, vscode_html_languageservice_1.newHTMLDataProvider)('
76
76
  },
77
77
  {
78
78
  name: 'is:inline',
79
- description: 'Leave a script tag inline in the page template. No processing will be done on its content',
79
+ description: 'Leave a script tag inline in the page template. No processing will be done on its content.',
80
80
  valueSet: 'v',
81
81
  references: [
82
82
  {
@@ -85,6 +85,17 @@ exports.astroElements = (0, vscode_html_languageservice_1.newHTMLDataProvider)('
85
85
  },
86
86
  ],
87
87
  },
88
+ {
89
+ name: 'data-astro-rerun',
90
+ description: 'Force a script to be reexecuted when using <ViewTransitions/>. This will make your script is:inline as well.',
91
+ valueSet: 'v',
92
+ references: [
93
+ {
94
+ name: 'Astro reference',
95
+ url: 'https://docs.astro.build/en/guides/view-transitions/#script-behavior',
96
+ },
97
+ ],
98
+ },
88
99
  ],
89
100
  },
90
101
  {
@@ -92,7 +103,7 @@ exports.astroElements = (0, vscode_html_languageservice_1.newHTMLDataProvider)('
92
103
  attributes: [
93
104
  {
94
105
  name: 'define:vars',
95
- description: 'Passes serializable server-side variables into a client-side style element',
106
+ description: 'Passes serializable server-side variables into a client-side style element.',
96
107
  references: [
97
108
  {
98
109
  name: 'Astro reference',
@@ -102,7 +113,7 @@ exports.astroElements = (0, vscode_html_languageservice_1.newHTMLDataProvider)('
102
113
  },
103
114
  {
104
115
  name: 'global',
105
- description: '**Deprecated in favor of `is:global` in >= Astro 0.26.0**\n\nOpts-out of automatic CSS scoping, all contents will be available globally',
116
+ description: '**Deprecated in favor of `is:global` in >= Astro 0.26.0**\n\nOpts-out of automatic CSS scoping, all contents will be available globally.',
106
117
  valueSet: 'v',
107
118
  references: [
108
119
  {
@@ -113,7 +124,7 @@ exports.astroElements = (0, vscode_html_languageservice_1.newHTMLDataProvider)('
113
124
  },
114
125
  {
115
126
  name: 'is:global',
116
- description: 'Opts-out of automatic CSS scoping, all contents will be available globally',
127
+ description: 'Opts-out of automatic CSS scoping, all contents will be available globally.',
117
128
  valueSet: 'v',
118
129
  references: [
119
130
  {
@@ -124,7 +135,7 @@ exports.astroElements = (0, vscode_html_languageservice_1.newHTMLDataProvider)('
124
135
  },
125
136
  {
126
137
  name: 'is:inline',
127
- description: 'Leave a style tag inline in the page template. No processing will be done on its content',
138
+ description: 'Leave a style tag inline in the page template. No processing will be done on its content.',
128
139
  valueSet: 'v',
129
140
  references: [
130
141
  {
@@ -142,7 +153,7 @@ exports.astroAttributes = (0, vscode_html_languageservice_1.newHTMLDataProvider)
142
153
  globalAttributes: [
143
154
  {
144
155
  name: 'set:html',
145
- description: 'Inject unescaped HTML into this tag',
156
+ description: 'Inject unescaped HTML into this tag.',
146
157
  references: [
147
158
  {
148
159
  name: 'Astro reference',
@@ -152,7 +163,7 @@ exports.astroAttributes = (0, vscode_html_languageservice_1.newHTMLDataProvider)
152
163
  },
153
164
  {
154
165
  name: 'set:text',
155
- description: 'Inject escaped text into this tag',
166
+ description: 'Inject escaped text into this tag.',
156
167
  references: [
157
168
  {
158
169
  name: 'Astro reference',
@@ -162,7 +173,7 @@ exports.astroAttributes = (0, vscode_html_languageservice_1.newHTMLDataProvider)
162
173
  },
163
174
  {
164
175
  name: 'is:raw',
165
- description: 'Instructs the Astro compiler to treat any children of this element as text',
176
+ description: 'Instructs the Astro compiler to treat any children of this element as text.',
166
177
  valueSet: 'v',
167
178
  references: [
168
179
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrojs/language-server",
3
- "version": "2.7.6",
3
+ "version": "2.7.7",
4
4
  "author": "withastro",
5
5
  "license": "MIT",
6
6
  "repository": {