Commit Graph

1167 Commits

Author SHA1 Message Date
James Stuckey Weber
f24b37d02d Merge branch 'browser-code-editor-debug' into browser-code-editor 2023-06-09 12:36:07 -04:00
James Stuckey Weber
863f6176e2 Add url persistence and sharing 2023-06-09 12:24:33 -04:00
Jonny Gerig Meyer
75283bc8d7
switch to dart sass release 2023-06-09 12:22:57 -04:00
Jonny Gerig Meyer
be2482759a
Merge branch 'main' into browser-code-editor
* main: (22 commits)
  spacing
  Review operators docs
  Warn if `{% codeExample %}` is used without a name.
  Review values docs
  Removing unused code-snippets dir
  Updating doc and code snippet paths
  merge in change from upstream
  Operators - Boolean
  Operators - String
  Operators - Numeric
  Operators - Relational
  Operators - Equality
  Operators - Index
  Values - Functions
  Values - Calculations
  Values - Null
  Porting Documentation - Values - Booleans
  Porting Documentation - Values - Maps
  Porting Documentation - Values - Lists
  Porting Documentation - Values - Colors
  ...
2023-06-09 11:27:53 -04:00
Jonny Gerig Meyer
68ed9dda91
spacing 2023-06-08 21:45:34 -04:00
Jonny Gerig Meyer
c74dd3bc63
Review operators docs 2023-06-08 21:44:39 -04:00
Jonny Gerig Meyer
d0478dc67f
Warn if {% codeExample %} is used without a name. 2023-06-08 17:15:55 -04:00
Jonny Gerig Meyer
cd4b803f52
Review values docs 2023-06-08 17:10:09 -04:00
James Stuckey Weber
6ae29d6da9 Refactor debug output 2023-06-08 15:06:03 -04:00
James Stuckey Weber
c5fc59891d Merge branch 'browser-code-editor' into browser-code-editor-debug 2023-06-08 14:41:27 -04:00
James Stuckey Weber
ca007f50a9 Switch to lodash debounce 2023-06-08 18:40:42 +00:00
James Stuckey Weber
a9810ff27f Merge branch 'main' of github.com:oddbird/sass-site into browser-code-editor 2023-06-08 14:32:52 -04:00
James Stuckey Weber
5ac84217aa Escape console messages to prevent XSS 2023-06-08 18:30:30 +00:00
Sana Javed
29686849ae Removing unused code-snippets dir 2023-06-08 10:10:22 +02:00
Sana Javed
1b3a03eac1 Updating doc and code snippet paths 2023-06-08 10:05:58 +02:00
Sana Javed
b47fe39d62
Merge branch 'main' into port-docs-values 2023-06-08 09:39:34 +02:00
Jonny Gerig Meyer
ffa46e5f5b
Use LiquidJS template instead of constructing HTML in JS. 2023-06-07 16:36:06 -04: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
5e928d4020 Merge branch 'main' of github.com:oddbird/sass-site into browser-code-editor 2023-06-07 15:45:05 -04:00
Jonny Gerig Meyer
11cda5d580
Use {% capture %} blocks for args with newlines. 2023-06-07 15:44:07 -04:00
James Stuckey Weber
91e3ad75f9 Add debug output 2023-06-07 15:13:23 -04:00
Jonny Gerig Meyer
c0d7a113cb
Merge branch 'main' into builtin-modules
* main:
  Better handle the JS API docs on smaller screens (#735)
  Mention that / is interpreted as division in calculations (#734)
2023-06-07 10:32:03 -04:00
Jonny Gerig Meyer
405b421651
merge in change from upstream 2023-06-07 10:01:09 -04:00
Jonny Gerig Meyer
ac68e56e02
Merge branch 'main' into port-docs-values
* main:
  Better handle the JS API docs on smaller screens (#735)
  Mention that / is interpreted as division in calculations (#734)
2023-06-07 09:59:11 -04:00
Jonny Gerig Meyer
05a7f4d896
Merge branch 'main' of github.com:sass/sass-site
* 'main' of github.com:sass/sass-site:
  Better handle the JS API docs on smaller screens (#735)
  Mention that / is interpreted as division in calculations (#734)
2023-06-07 09:57:57 -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
Natalie Weizenbaum
4ca36af82b
Better handle the JS API docs on smaller screens (#735)
In desktop mode, the sidebar always gets 1/3 of the space and the
content gets 2/3. In mobile mode, the sidebar instead goes above the
content as a table of contents.

Closes #732
2023-06-06 14:22:17 -07:00
James Stuckey Weber
a57bbef204 Make error tooltip mono font 2023-06-06 16:32:13 -04:00
James Stuckey Weber
41b12fb480 Add cursor styles for playground 2023-06-06 16:25:37 -04:00
James Stuckey Weber
04f8e8bf37 Use base layout for playground, remove docsearch from playground 2023-06-06 16:25:18 -04:00
James Stuckey Weber
88278e063d Move state from DOM to Pojo 2023-06-06 16:02:26 -04:00
Sana Javed
5c9e4896c1 Operators - Boolean 2023-06-06 21:03:28 +02:00
Sana Javed
14c83a63ed Operators - String 2023-06-06 20:57:55 +02:00
Sana Javed
098e683e63 Operators - Numeric 2023-06-06 20:47:01 +02:00
Sana Javed
b3f6df29ca Operators - Relational 2023-06-06 20:28:10 +02: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
Natalie Weizenbaum
762448e723
Mention that / is interpreted as division in calculations (#734)
Also fix a broken link.
2023-06-05 17:51:26 -07:00
Sana Javed
3464e17fb4 Operators - Equality 2023-06-05 22:18:08 +02:00
Sana Javed
316bfa3dd1 Operators - Index 2023-06-05 22:11:28 +02:00
Sana Javed
d561dd2f7e Values - Functions 2023-06-05 21:41:47 +02:00
Sana Javed
7299832392 Values - Calculations 2023-06-05 21:31:32 +02:00
James Stuckey Weber
287bf560fc Add mobile flow 2023-06-05 15:06:49 -04:00
Sana Javed
95750cb9a9 Values - Null 2023-06-05 21:00:37 +02:00
Sana Javed
f3cecc0884 Porting Documentation - Values - Booleans 2023-06-05 20:40:39 +02:00