Commit Graph

71 Commits

Author SHA1 Message Date
Jennifer Thakar
6a3df1fe6b
Add a deprecation type for the legacy JS API (#3932) 2024-09-17 15:41:07 -07:00
Natalie Weizenbaum
acd8ea0330 Merge branch 'main' of github.com:sass/sass into merge-main 2024-09-11 14:58:13 -07:00
Jennifer Thakar
42424c4daa
Add a future global-builtin deprecation (#3924) 2024-09-05 16:23:49 -07:00
Jennifer Thakar
28d4ed294d
Backport deprecation API to legacy JS API (#3907) 2024-09-03 15:04:38 -07:00
Christophe Coevoet
240a2c877a
update the spec for the deprecation of feature-exists (#3860) 2024-08-20 00:57:51 +00:00
Natalie Weizenbaum
d43038ae59 Merge branch 'main' of github.com:sass/sass into merge 2024-08-12 12:16:09 -07:00
Natalie Weizenbaum
80c4becca6
Put LoggerWarnOptions into the Logger doc category (#3895) 2024-07-17 21:14:16 +00:00
Natalie Weizenbaum
21ae10af23
Improve the JS API documentation for Logger.warn() (#3894)
This is not a functional change. The old type for this was too
complicated for TypeDoc to parse, so the documentation was being
hidden.
2024-07-11 23:12:18 +00:00
Natalie Weizenbaum
4411ebae22 Update based on implementation experience 2024-06-18 23:17:13 -07:00
Natalie Weizenbaum
79799ca575 [Interleaved Declarations] Mark as accepted
See #3846
2024-06-18 17:08:12 -07:00
Natalie Weizenbaum
290c02f1f3 Merge remote-tracking branch 'origin/main' into merge-main 2024-05-29 18:21:23 -07:00
Jennifer Thakar
87699d79b2
Add deprecations.yaml as a single-source-of-truth (#3872)
Instead of having the list of deprecations repeated in several different
places across all of our repos, the new `spec/deprecations.yaml` file
will be the only place we need to update it, with all other uses
generating code based on it.
2024-05-29 14:23:18 -07:00
Natalie Weizenbaum
d3ed8dfc72
[CSS Function/Mixin Prep] Mark as accepted and update spec (#3854) 2024-04-30 21:19:57 +00:00
Natalie Weizenbaum
465f0db7d1
[Color 4] Require an explicit gamut mapping method (#3836) 2024-04-19 23:18:25 +00:00
Natalie Weizenbaum
170dbd4f8e Add new deprecations 2024-04-11 16:26:33 -07:00
Natalie Weizenbaum
c46bd38bb2 Merge remote-tracking branch 'origin/main' into merge-main 2024-04-11 16:08:00 -07:00
Natalie Weizenbaum
55514224ca
Clarify that base importer resolution does not require a URL (#3832)
See sass/dart-sass#2208

Co-authored-by: Carlos (Goodwine) <2022649+Goodwine@users.noreply.github.com>
2024-04-11 22:33:39 +00:00
Jennifer Thakar
ede7f25c8e
Integrate the deprecations API into the spec/docs/protocol (#3826) 2024-04-03 14:14:44 -07:00
Natalie Weizenbaum
4a8a9e77f5 [Color 4 JS] Don't throw errors for out-of-gamut lightness 2024-03-29 14:30:38 -07:00
Natalie Weizenbaum
9db0409090 Merge branch 'main' of github.com:sass/sass into feature.color-4 2024-03-27 12:44:29 -07:00
Natalie Weizenbaum
d0123b2e7d Include extensions in the example docs for Node.js pkg exports (#3808)
See sass/dart-sass#2183
2024-03-27 11:43:24 -07:00
Natalie Weizenbaum
e134f71cae Broaden the the Node.js package importer's notion of "entrypoint" (#3791)
This also updates the spec for `NodePackageImporter` to correctly
document indicate that errors should be thrown during construction.

See sass/dart-sass#2178
2024-03-27 11:43:24 -07:00
なつき
b22ff9dd45 Fix NodePackageImporter version compatibility (#3788)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2024-03-27 11:43:24 -07:00
James Stuckey Weber
336bfd69b2 [Package Importer] Add types and specs (#3728)
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
2024-03-27 11:43:24 -07:00
James Stuckey Weber
de2dc317c0 [Shared Resources] Add types and specs (#3744)
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
2024-03-27 11:43:24 -07:00
なつき
0b8a9b84b6 Clarifying performance expectations about sass and sass-embedded (#3716) 2024-03-27 11:43:06 -07:00
Connor Skees
ef2e99db8c Add first class mixins to embedded sass protobuf and JS API (#3674) 2024-03-27 10:55:44 -07:00
Jonny Gerig Meyer
9dab1882b9
[Color 4] Add JS type definitions and docs for CSS Color Level 4. (#3718)
Co-authored-by: James Stuckey Weber <jamesnw@gmail.com>
2023-11-17 23:27:52 +00:00
なつき
7d50def4d1
Clarifying performance expectations about sass and sass-embedded (#3716) 2023-10-11 00:17:28 +00:00
Connor Skees
a7845054cc
Add first class mixins to embedded sass protobuf and JS API (#3674) 2023-10-05 21:50:54 +00:00
Natalie Weizenbaum
058ce05454
[Containing URL] Update the specification (#3688)
See #3247
2023-09-18 23:00:25 +00:00
Goodwine
48f718bf2c
Fix documentation typo in color.d.ts (#3650) 2023-08-08 13:05:27 -07:00
Natalie Weizenbaum
595c7234c9
Document the upcoming change to passing null as alpha (#3644) 2023-08-07 22:07:03 +00:00
Ed Rivas
524790175f
Add JS type definitions for calculations (#3622)
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
2023-07-19 14:36:23 -07:00
Natalie Weizenbaum
8cbac5b0e5
Fix a reference to a dead link (#3625) 2023-06-30 13:46:06 -07:00
Natalie Weizenbaum
33f881f035
Partially revert "Add JS type defs for calculations (#3605)" (#3619)
This reverts the parts of commit 39915044f6 that modify the official specs. These should only have landed along with implementation updates.
2023-06-20 17:22:15 -07:00
Ed Rivas
39915044f6
Add JS type defs for calculations (#3605)
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
2023-06-20 15:55:26 -07:00
Natalie Weizenbaum
1f88ea8db4
Update to TypeDoc 0.24 (#3581) 2023-05-18 16:09:10 -07:00
Goodwine
4728f82003
Clarify that compile and compileString accept optional options (#3373) 2022-08-08 16:56:35 -07:00
なつき
38f84212d2
Update documentation for charset option (#3358) 2022-07-18 20:14:43 +00:00
なつき
c1850ac85d
Add charset option to js-api (#3346) 2022-06-29 16:25:21 -07:00
Natalie Weizenbaum
8cbe77da7c
Fix a bug in the custom function example (#3305)
Closes #3304
2022-05-02 14:42:09 -07:00
なつき
12cee2dab9
Fix incorrect documentation for url in StringOptionsWithoutImporter (#3278) 2022-04-11 17:09:26 -07:00
Myles Lewando
ac8d416fe2
📝 Require correct url module in FileImporter doc (#3268) 2022-03-24 15:48:30 -07:00
Christophe Coevoet
f355f602fc
Add the sourceMapIncludeSources option in the new JS API (#3226) 2022-01-14 16:38:28 -08:00
Natalie Weizenbaum
809bc03b48
Fix some incorrect documentation/typings in LegacyPluginThis.options (#3246)
The new documentation/typings reflect the actual behavior of both Node
Sass and Dart Sass.
2022-01-13 18:03:46 -08:00
Natalie Weizenbaum
ade3787da2
Add a type annotation for the top-level NULL field (#3243) 2022-01-11 17:28:10 -08:00
Natalie Weizenbaum
72974e1ec9
Add type annotations for the top-level TRUE and FALSE fields (#3241) 2022-01-07 14:34:44 -08:00
Natalie Weizenbaum
a9aa972e44
Add type annotations for the sass.types.Error class (#3238) 2022-01-05 16:39:32 -08:00
Natalie Weizenbaum
4b48b0e990
Add a type declaration for LegacyPluginThis.options.context (#3236) 2022-01-05 16:08:51 -08:00