- Patch: DatawrapperSwitching story to wrap the bottom block in
if
instead ofkey
.
- Patch: Headline eyebrows in Drupal include a link to the Story or Data tool homepage; tweaked Headline component to do the same.
- Fix: CSS Theme variable --color-green was #ffb748, which is a kind of yellow. Changed to match style guide.
- Fix: Tooltip positioning works as expected when inside a ShadowRoot of a custom element
- Fix: Tooltip checks if ancestor is an instance of Element before calling getComputedStyle
- Fix: Color scale resets ticks when switching from threshold scale to continuous scale
- Patch: SVGPolygonLayer uses mousedown instead of click event
- Fix: Add more specificity to several
tags to avoid CSS conflicts between and component styles
- Patch: Support Svelte 5 in projects that use this library
- Patch: Update Datawrapper Switching example with
title
andariaLabel
props
- Fix: Correct path for icon exports
- Patch: Update BasicDropdown with better accessibility (icon hidden from screen readers)
- Feature: GitHub source links for components via @etchteam/storybook-addon-github-link in storybook docs
- Patch: Update method of declaring Storybook component descriptions and add import instructions to components
- Patch: Remove description field from top level
meta
object in component.stories.svelte
files (do not render) - Feature: CLI command to generate new component boilerplate (
npm run create-component
) - Feature: Add Layercake AxisX and AxisY components and docs
- Feature: Add Icon components [close, plus, minus, search]
- Fix: ColorLegend compontent displays threshold scale ticks correctly
- Feature: ColorLegend supports an N/A item
- Patch: Run Vitest tests in CI
- Feature: Add style/theme export and instructions on CSS variable intellisense
- Patch: Update SocialShare spacing
- Patch: Update Storybook viewport sizes to match design system breakpoints
- Patch: Update Toggle size to adhere to design team guidance
- Fix: Remove padding from ZoomControls on map in mobile Safari
- Fix BasicDropdown border radius
- Update Toggle with dispatched click
- Fix: Remove errant padding from ProjectCredits
- Feature: Add SVGMap component
- Feature: Add SVGPolygonLayer component
- Feature: Add SVGPointLayer component
- Feature: Add SVGLabelLayer component
- Feature: Add ColorLegend component
- Feature: Add Tooltip component
- Update BasicDropdown with secondary style variants, a visible label, and better story controls
- Add LoadingWrapper component to provide a loading graphic for components that need it
- Add SVGMap component and associated layer components
- Add ColorLegend component
- Add Tooltip component
- Simplify CSS in Toggle component
- Add contribution guidance to Intro docs and README
- Add Headline component
- Add PymChild component
- Add "vis.rendered" event to DatawrapperIframe component
- Patch Toggle component accessibility
- Add animated Urban Logo Badge component
- Add Svelte syntax highlighting for code blocks (thanks to Axios team for the tip here!)
- Adds example writable/derived store setup for dynamic information display
- Fixes package name in documentation
- Fixes Intro code chunk to be up to date
- Changes snake_case variables to camelCase
- Change BasicDropdown's value prop to accept null
- Add Navbar case for no projectUrl with story documentation
- Add Analytics component
- Move Block documentation to main component section
- Adds Basic page layout example
- Update Storybook favicon to Urban logo
- Add right padding and ellipsis on text overflow to BasicDropdown
- Add functionality to remove
placeholder
in BasicDropdown component - Add LogoUrbanWide and create Logos story folder
- Turn off interaction events
onDestroy
of DatawrapperIframe - Add Toggle component
- Upgrade Storybook to version 8
- Upgrade SvelteKit to version 2 and update other Svelte-related dependencies
- Upgrade to Vite version 5
- Create Examples section and add examples of swithcing Datawrapper iframes
- Add Scrolly component
- Update story ordering config
- Add Theme component and update styles of components accordingly
- Add Font loading components to account for changes in styles
- Export main stylesheet
- Add normalize.css to exported stylesheet
- Add Meta component
- Re-organize documentation files for more consistency
- Update spacing on ChartBlock component
- Cleanup: remove unused +page.svelte file and remove
dev
as a command in scripts
- Bugfix: export ChartBlock
- Add ChartBlock component
- Add Button component
- Updates Github action versions
- Add resizeObserver action
- Change BasicDropdown programmatic dispatching to declarative event forwarding
- Add SectionBreak component
- Add PR template for changelog reminder
- Update urbanColors module to align more closely with the Urban Institute data visualization styleguide
- Improve urbanColors documentation
- Update SocialShare Twitter icon to new X logo
- Simplify SocialShare dialogue URLs
- Add descriptions to Storybook documentation
- Bugfix: remove unchecked call to window in Datawrapper events
- Update
wide
Block width
- Bugfix, add missing exports
- Add additional options to TextBlock component
- Add "Return to top" component
- Add
dollarFormat
utility function - Add
kebabCase
utility function
- Make github URL in ProjectCredits an optional prop
- Updates storybook to v7.6.6
- Fixes TextBlock documentation
- Adds sticky option to Navbar
- Update props for TextBlock component to play better with ArchieML
- Better spacing for Block component on mobile
- Add wide option for Block component
- Bugfix Add Block component to exports
- Add TextBlock component
- Add ProjectCredits component
- Add Navbar component
- Add Logo components
- Add HeadingAlt component
- Add Block layout component
- Add social share component
- Add ProjectCredits component
- Add tpcColors utility module
- Fix utls export in package.json
- Update .prettierrc
- Add color utility module
- Add Storybook instance for documentation and testing
- Simplify global styles, move to lib folder
- fix: build/publish github action
- feature: setup initial repository from template