James Stuckey Weber
5ac84217aa
Escape console messages to prevent XSS
2023-06-08 18:30:30 +00:00
James Stuckey Weber
278e2fc8ef
Merge branch 'browser-code-editor' into browser-code-editor-debug
2023-06-07 19:47:17 +00:00
James Stuckey Weber
7acf6a2c5f
Style feedback tweaks
2023-06-07 15:45:42 -04:00
James Stuckey Weber
91e3ad75f9
Add debug output
2023-06-07 15:13:23 -04:00
James Stuckey Weber
80f3addecf
Add code folding, remove unused imports
2023-06-07 09:55:41 -04:00
James Stuckey Weber
b85b9c1f3d
Switch to proxy reactivity
2023-06-07 09:46:39 -04:00
James Stuckey Weber
70cc37aba7
Type cleanup, more robust error fallbacks
2023-06-07 09:17:37 -04:00
James Stuckey Weber
a57bbef204
Make error tooltip mono font
2023-06-06 16:32:13 -04:00
James Stuckey Weber
88278e063d
Move state from DOM to Pojo
2023-06-06 16:02:26 -04:00
Jonny Gerig Meyer
61731d2209
Add type defs for dart-sass build
2023-06-06 14:23:37 -04:00
James Stuckey Weber
23eeea5164
Apply debounce
2023-06-06 13:47:43 -04:00
James Stuckey Weber
bcc110b82f
Handle tab for indent
2023-06-06 11:49:43 -04:00
James Stuckey Weber
eb2fe87bc5
Debounce update CSS
2023-06-06 11:33:41 -04:00
James Stuckey Weber
287bf560fc
Add mobile flow
2023-06-05 15:06:49 -04:00
James Stuckey Weber
501adc6d3c
Show error message and persist stale css
2023-06-05 18:40:15 +00:00
James Stuckey Weber
9d77a79e26
Add diagnostic errors to playground
2023-06-05 17:55:56 +00:00
James Stuckey Weber
85d5abcd03
Initial pass at getting code styling close to existing
2023-06-05 16:02:44 +00:00
James Stuckey Weber
45ee2c4b03
Ensure DOM is loaded before setting up playground
2023-06-05 13:25:55 +00:00
James Stuckey Weber
34859481cb
Add compilation options and tab buttons
2023-06-02 12:52:24 -04:00
James Stuckey Weber
486f7355a9
Start theming and layout of playground
2023-06-02 10:53:32 -04:00
James Stuckey Weber
425cafdc65
Minimal working version with CodeMirror
2023-06-02 09:24:32 -04:00
Jonny Gerig Meyer
2e97aaf8d8
lint
2023-03-08 16:14:25 -05:00
Jonny Gerig Meyer
7fa2ff0e1f
Add more jQuery UI deps
2023-02-17 14:58:17 -05:00
Sana Javed
28d14ddc2c
Learn sass page and first pass at code example helper
2023-02-17 17:10:42 +01:00
Jonny Gerig Meyer
77c4c3892d
Add eslint
2023-01-09 15:15:35 -05:00
Jonny Gerig Meyer
413aba633f
Add TypeScript
2023-01-09 14:48:04 -05:00
Jonny Gerig Meyer
29d77ce08a
Add prettier
2023-01-09 14:10:02 -05:00
Jonny Gerig Meyer
5a599442fb
Add JS
2023-01-06 17:38:23 -05:00
Jonny Gerig Meyer
d0e1afaf0b
add sass
2023-01-06 17:38:23 -05:00
Jonny Gerig Meyer
5071228ace
Add basic 11ty config
2023-01-06 17:37:45 -05:00
Natalie Weizenbaum
9e2dc02e25
Update to the latest version of DocSearch ( #593 )
2021-11-13 01:48:19 +00:00
Natalie Weizenbaum
86ae1c4d18
Set up redirects from the old API doc anchors to the new ones
2021-10-04 20:23:21 -07:00
Natalie Weizenbaum
d0e401e3f9
Document first-class calc() ( #575 )
...
See sass/sass#818
Co-authored-by: Awjin Ahn <awjin@google.com>
2021-09-13 23:16:42 +00:00
Natalie Weizenbaum
e440cee626
Suggest mixins rather than @use ... with
for advanced cases ( #448 )
2020-05-13 14:19:27 -07:00
tatianamac
dcc6a4789e
🎨 Background color
2019-12-18 16:09:00 -08:00
tatianamac
2d166d3b10
Fix keyboard focus and aside issues
2019-12-18 16:08:14 -08:00
Natalie Weizenbaum
c0e78caac3
Revert "Update jQuery to 3.4.1 ( #398 )" ( #407 )
...
This reverts commit 33b5fe0a1d
.
2019-11-07 18:03:46 -08:00
Adekunle Oduye
a3ee04c5d5
[hotfix-400] Adjusted to anonymous function ( #404 )
2019-11-07 11:13:49 -08:00
Martijn Cuppens
33b5fe0a1d
Update jQuery to 3.4.1 ( #398 )
2019-10-29 18:25:36 +00:00
Adekunle Oduye
06c5a72833
[hotfix-387] Fix broken toggle ( #389 )
...
Closes #387
2019-10-18 06:37:23 +01:00
Adekunle Oduye
26a515c3a9
[docs] Sticky Navigation ( #373 )
...
* [docNav] Moved h3 title into nav wrapper
* [docNav] Init styles for doc navigation component
* [docNav] Import doc navigation component into sass.css.scss
* [docNav] Functional to make doc navigation sticky on scroll
* [docNav] Rename js class name and changed from single to double quotes
* [docNav] Change class name to sl-js-nav--is-sticky
* [docNav] renamed doc-navigation to navigation and removed nesting
* [docNav] renamed doc-navigation to navigation
* [docNav] Added carriage return after h3
2019-10-12 09:55:30 -07:00
Natalie Weizenbaum
a99bb65fd6
The keywords() function is actually in sass:meta, not sass:map
2019-09-10 16:31:02 -07:00
Natalie Weizenbaum
b1b07540f2
Module-ify built-in function documentation
...
Closes #363
2019-09-04 17:56:16 -07:00
Natalie Weizenbaum
029520349a
Rename /documentation/functions to /documentation/modules
...
This hierarchy is now going to document built-in modules, which mostly
contain functions but can also contain mixins and may potentially
contain variables in the future.
2019-09-04 15:24:22 -07:00
Natalie Weizenbaum
7a2aa57b96
Make "/" and "s" focus the search bar ( #347 )
...
Closes #345
2019-05-30 04:30:10 -07:00
Natalie Weizenbaum
084e181580
Make all client-side redirect URLs absolute
...
These used to redirect from /documentation/, but we tweaked the way
URLs work and now they redirect from /documentation. Making them
absolute avoids even the potential for that breakage.
2019-05-08 13:19:25 -07:00
Natalie Weizenbaum
79097d0fe1
Bundle all JS into a single file
...
Because we weren't doing this yet, we weren't actually loading the
redirect.js JS code at all.
This also gets rid of some unused JS.
2019-05-08 13:01:20 -07:00
Natalie Weizenbaum
b771e2297e
Avoid an unstyled rendering moment with code examples
...
This renders the tabs and all the jQuery classes server-side, so that
the code examples are rendered correctly on the page's first load
rather than waiting for the JavaScript to activate. This also has a
side effect of making them look correct with JavaScript disabled.
This also adds a little additional styling in the noscript stylesheet
to make code examples look better on a narrow viewport with JavaScript
disabled.
2019-04-12 02:12:00 -07:00
Natalie Weizenbaum
e7ffef4fc9
Avoid an unstyled rendering moment with the tables of contents
...
Tables of contents are now statically rendered in their appropriately
open/closed states, rather than updated via JavaScript, so they render
correctly on the first page load. In order to make the "page sections"
table still usable without JS, this adds a stylesheet in a <noscript>
tag that forces the sections into an open state.
2019-04-12 00:09:10 -07:00
Natalie Weizenbaum
de561b2370
Make the reference tables of contents collapsible ( #320 )
2019-04-11 15:30:10 -07:00