Commit Graph

5766 Commits

Author SHA1 Message Date
Tessa
0aed361aa8
Merge pull request #1165 from NoRedInk/bat/balloon-v2
Adds Balloon V2
2022-11-17 16:16:48 -07:00
Tessa
29baa8d8c3
Merge pull request #1164 from NoRedInk/bat/highlighter-with-markdown
Support highlighter with markdown
2022-11-17 13:19:25 -07:00
Tessa Kelly
14c65d1e75 Elm review 2022-11-16 15:12:39 -07:00
Tessa Kelly
ac4f8c2c20 Make example and docs more clear 2022-11-16 14:56:08 -07:00
Tessa Kelly
0f3cfdd3f8 Remove extraneous paragraph tags from the rendered 'markdown' 2022-11-16 14:38:42 -07:00
Tessa Kelly
505e4d648e Makes tests pass 2022-11-16 14:12:08 -07:00
Tessa Kelly
89a34ed25b adds failing tests against the markdown behavior 2022-11-16 13:53:50 -07:00
Tessa Kelly
a2ca489d67 Adds markdown-rendering helpers 2022-11-16 13:37:16 -07:00
Tessa Kelly
25daed7d9f Okay FINE i'm too annoyed by the bad looking highlighter example to tolerate it anymore, even though conceptually I'm still on the make-examples-realistic train 2022-11-16 13:36:59 -07:00
Tessa Kelly
5a565a061a Switch to a more realistic string for the example
... which happens to include markdown that ought not be rendered raw
2022-11-16 12:42:45 -07:00
Tessa Kelly
5b68f4d92a Fix styles 2022-11-16 12:36:44 -07:00
Tessa Kelly
b28562cf13 Simplify the DOM structure layers 2022-11-16 12:28:52 -07:00
Tessa Kelly
1d9987a0a3 Undo inline-flex changes: they break highlighter styles, unfortunately 2022-11-16 12:27:35 -07:00
Tessa Kelly
64b7897177 Render the balloon (but in an ugly way) 2022-11-16 12:13:21 -07:00
Tessa Kelly
1147a2a426 Fix high contrast styles 2022-11-16 12:03:11 -07:00
Tessa Kelly
f0b0a97d67 Adds custom theme example to Balloon example 2022-11-16 12:02:13 -07:00
Tessa Kelly
5018b0546e Elm review 2022-11-16 11:59:13 -07:00
Tessa Kelly
15c0b3b1b5 Customize the padding differently for the top and bottom of the balloon 2022-11-16 11:58:58 -07:00
Tessa Kelly
ce9fc5a1b7 Order the styles so that the right padding is applied 2022-11-16 11:58:27 -07:00
Tessa Kelly
c57565d97b Pop the balloon out for positioning 2022-11-16 11:58:17 -07:00
Tessa Kelly
8fab6f0973 Expose a custom theme helper 2022-11-16 11:57:56 -07:00
Tessa Kelly
5e870a8325 🎨 simplify theme styles 2022-11-16 11:57:49 -07:00
Tessa Kelly
c8b559782a Use standard css API 2022-11-16 11:57:40 -07:00
Tessa Kelly
6d92f01fa0 standardize content pattern used for ballooon 2022-11-16 11:57:30 -07:00
Tessa Kelly
d3ca957f08 Adds Content for handling common plaintext, markdown, and html rendering 2022-11-16 11:57:14 -07:00
Tessa Kelly
70fc91778a balloon -> view 2022-11-16 11:57:04 -07:00
Tessa Kelly
5ae997b644 Allow custom attributes 2022-11-16 11:56:52 -07:00
Tessa Kelly
77c529b861 Adjust Balloon implementation to be more similar to others 2022-11-16 11:56:45 -07:00
Tessa Kelly
4d6d1ffebe 💀 remove arrow size code
the arrow is always the same size, no need to allow for unused customization
2022-11-16 11:56:39 -07:00
Tessa Kelly
efdf7cdc71 🎨 remove unnecessary separation of styles 2022-11-16 11:56:32 -07:00
Tessa Kelly
24b729ae5f Update docs for Balloon V2 2022-11-16 11:56:11 -07:00
Tessa Kelly
21cb1be576 cp Balloon.V1 to V2 2022-11-16 11:55:51 -07:00
Tessa Kelly
0ad0491f8d Adds Mark.viewWithBalloonTags 2022-11-16 11:52:32 -07:00
Tessa Kelly
a5481ae09b 🎨 Elm review 2022-11-16 11:51:25 -07:00
Tessa Kelly
2ec4179c69 Adjust the mark styles for Block emphasis 2022-11-16 11:50:45 -07:00
Tessa Kelly
a1b04878b1 💀 remove redundant field
if a tool is selected, the highlighter is necessarily interactive.
2022-11-16 11:50:14 -07:00
Tessa Kelly
a4d8ca4094 Fold the Highlighter.Style code into Highlighter 2022-11-16 11:50:02 -07:00
Tessa Kelly
3e6771a912 ALlow Mark to be in charge of Mark styles 2022-11-16 11:49:18 -07:00
Tessa Kelly
b92e4116c1 Fix the main background styles for the mark 2022-11-16 11:48:36 -07:00
Tessa Kelly
0b1ac82b40 Begin using mark portion of Highlighter for block emphasis (looks terrible) 2022-11-16 11:48:07 -07:00
Tessa Kelly
4271e50efc Naively extract mark view 2022-11-16 11:38:20 -07:00
Tessa Kelly
53264870ea Adds staticSegments view helper 2022-11-16 11:37:49 -07:00
Tessa Kelly
fbb6b52347 Improve highlighter modeling to avoid requiring unused values for static highlightables 2022-11-16 11:37:34 -07:00
Mariano Coca
aecaf01c5e
Merge pull request #1158 from NoRedInk/growth/dialog-version-bump
Bump to 21.1.0
2022-11-09 09:53:05 -03:00
Mariano Abel Coca
6efa6911b1 Version bump 2022-11-09 09:34:01 -03:00
Mariano Coca
52e2ac2262
Merge pull request #1155 from NoRedInk/growth/menu-dialog
Menu.dialog
2022-11-09 09:29:28 -03:00
Mariano Abel Coca
043eb45e87 Fix duplicated-id-aria 2022-11-08 18:35:42 -03:00
Mariano Abel Coca
538dcb7a38 Fix format 2022-11-08 18:26:03 -03:00
Mariano Abel Coca
b8e5f20807 Fix tests 2022-11-08 18:19:42 -03:00
Mariano Abel Coca
9a7b627ecf Merge remote-tracking branch 'origin/master' into growth/menu-dialog 2022-11-08 17:22:49 -03:00