From 68e2eeb48f9726d37858899988eaa4e10bc30a0a Mon Sep 17 00:00:00 2001 From: mitchthorson Date: Thu, 15 Feb 2024 18:26:22 -0500 Subject: [PATCH 1/4] Add SectionBreak component --- .../SectionBreak/SectionBreak.stories.svelte | 50 +++++++++++ src/lib/SectionBreak/SectionBreak.svelte | 82 +++++++++++++++++++ 2 files changed, 132 insertions(+) create mode 100644 src/lib/SectionBreak/SectionBreak.stories.svelte create mode 100644 src/lib/SectionBreak/SectionBreak.svelte diff --git a/src/lib/SectionBreak/SectionBreak.stories.svelte b/src/lib/SectionBreak/SectionBreak.stories.svelte new file mode 100644 index 00000000..c2dacd23 --- /dev/null +++ b/src/lib/SectionBreak/SectionBreak.stories.svelte @@ -0,0 +1,50 @@ + + + + + + + + + diff --git a/src/lib/SectionBreak/SectionBreak.svelte b/src/lib/SectionBreak/SectionBreak.svelte new file mode 100644 index 00000000..be337198 --- /dev/null +++ b/src/lib/SectionBreak/SectionBreak.svelte @@ -0,0 +1,82 @@ + + + +
+ {number}. +
+
+

{subhead}

+ + From 292960dbf8ffa34a517d3661e30ac817da8c6753 Mon Sep 17 00:00:00 2001 From: mitchthorson Date: Thu, 15 Feb 2024 18:26:54 -0500 Subject: [PATCH 2/4] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 32f28fc9..caa53b6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 0.3.3 +- Add SectionBreak component - Update urbanColors module to align more closely with the Urban Institute data visualization styleguide - Improve urbanColors documentation - Add descriptions to Storybook documentation From 5e281be7b45173bb1910faf23cf40a33231e4a87 Mon Sep 17 00:00:00 2001 From: mitchthorson Date: Thu, 15 Feb 2024 21:54:55 -0500 Subject: [PATCH 3/4] Fix typo --- src/lib/SectionBreak/SectionBreak.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/SectionBreak/SectionBreak.svelte b/src/lib/SectionBreak/SectionBreak.svelte index be337198..75b7bc3e 100644 --- a/src/lib/SectionBreak/SectionBreak.svelte +++ b/src/lib/SectionBreak/SectionBreak.svelte @@ -18,7 +18,7 @@ export let accentColor = "#9d9d9d"; /** * Font weight of the number - * @type { string } [fontWeight="var(--fknt-weight-light)"] + * @type { string } [fontWeight="var(--font-weight-light)"] **/ export let fontWeight = "var(--font-weight-light)"; From 0b2aecb1b02a0e226c83c6bfdec96c98ffa0da54 Mon Sep 17 00:00:00 2001 From: mitchthorson Date: Mon, 19 Feb 2024 13:45:21 -0500 Subject: [PATCH 4/4] Fix changelog --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index caa53b6d..d95eabc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,13 @@ # @UrbanInstitute/dataviz-components Changelog -## 0.3.3 +## Next - Add SectionBreak component - Update urbanColors module to align more closely with the Urban Institute data visualization styleguide - Improve urbanColors documentation + +## 0.3.3 + - Add descriptions to Storybook documentation - Bugfix: remove unchecked call to window in Datawrapper events