Releases: dfinity/gix-components
Releases · dfinity/gix-components
v7.0.0
Features
Components
-
WizardModal
-
InfiniteScroll
- Migrate to Svelte 5
[#629]
- Migrate to Svelte 5
-
Modal
-
Input
-
BottomSheet
- Add header/footer and transition options
[#628]
- Add header/footer and transition options
-
Toasts
-
Icons
-
Utilities
-
Other component migrations to Svelte 5:
Back
,SkeletonText
,MenuButton
,Html
,Markdown
,Tag
,Content
,SplitContent
,Header
,HeaderTitle
,Value
,WizardTransition
,ProgressSteps
,Spinner
,SegmentButton
,ExternalLink
,Copy
,Island
,InputRange
,ScrollSentinel
,TestIdWrapper
,Toolbar
,ItemAction
,Chip
,ChipGroup
Fixes
- Pass event to callback of event modifiers
[#675]
- Fix component
WizardModal
behavior[#695]
- Remove hardcoded stroke from
close-circle-fill
icon[#653]
- Fix default test ID for
Collapsible
component[#686]
- Fix SvelteKit icons page serialization issue
[#625]
- Fix default generic for event types
[#685]
Style
- Implement responsive layout for modal buttons
[#612]
Tests
- Fix flaky tooltip e2e test
[#645]
Build
-
Upgrade Vite to address multiple CVEs
[#610]
[#614]
[#617]
[#618]
[#615]
[#627]
-
Bump
@sveltejs/kit
from 2.20.4 to 2.20.6[#619]
-
Bump
dompurify
[#681]
-
Bump dev dependencies
[#680]
-
Migrate Sass imports
[#683]
Chore
- Update CI to Ubuntu 22.04
[#613]
- Use CI prepare action
[#643]
- Update CI deploy to Juno
[#644]
- Remove explicit
modern-compiler
[#691]
- Remove
node-fetch
[#687]
- ESlint v9 using
eslint-config-oisy-wallet
[#684]
- Add prefix to default test IDs
[#690]
- Update team name to
governance-team
[#647]
- Add missing CI check
[#682]
- Bump version for release
[#697]
New Contributors
v6.0.0
Build
- The library has been migrated and now requires Svelte v5.
v5.2.0
Features
- Added a new component to listen for system theme changes (e.g., detect when the user switches their OS theme from dark to light).
- Introduced new
Chip
group andChipGroupItem
components. - Reapplied "Hide top on scroll" (#589).
- Added a
bottom
slot to theInput
component.
Build
- Used versioning to ensure build reproducibility for the showcase app.
- Bumped
prismjs
from 1.29.0 to 1.30.0 (used in documentation). - Bumped Playwright version.
Chore
- Removed SCSS warnings.
v5.1.0
Features
- Add icon ArrowsSwitch by @dskloetd in #538
- New icon IconCheckCircleFill by @mstrasinskis in #540
- feat: add icon IcondDocument by @yhabib in #546
- feat(icons): add IconHome component by @yhabib in #556
- feat: remove analytics by @peterpeterparker in #560
- feat(icons): new icons for the Portfolio page by @yhabib in #561
- feat: observe resize segment for better indicator display by @peterpeterparker in #565
- feat: use an element target in infinite scroll by @peterpeterparker in #569
- feat: adds autofocus to Input field by @BonomoAlessandro in #570
- feat: fixes linter issues by @BonomoAlessandro in #575
- feat: option to reset theme to system settings by @peterpeterparker in #585
- feat: bump dompurify by @peterpeterparker in #591
- feat: expose theme enum and store to consumer by @peterpeterparker in #578
Fix
- fix: tr cannot be a child of table by @peterpeterparker in #542
- fix: Self-closing HTML tags by @peterpeterparker in #544
- fix: nesting selectors in menu item by @peterpeterparker in #543
- fix: npm audit fix by @peterpeterparker in #553
Style
- Update tag intent error color by @mstrasinskis in #536
- style: force content-box for Checkbox by @AntonioVentilii in #539
- Update tag.warning colors by @mstrasinskis in #547
- Add banner bg variable by @mstrasinskis in #557
- Avoid margin when no title by @mstrasinskis in #558
- Reduce padding on mobile by @mstrasinskis in #572
Refactoring
- refactor: solve SASS warnings by @AntonioVentilii in #581
Chore
- chore(IDX): replace PAT with GitHub App by @cgundy in #537
- chore: add sideEffects to package.json by @peterpeterparker in #545
- chore(): update comment by @cgundy in #552
- chore: replace few import paths ../ with $lib/ by @peterpeterparker in #555
- Update checks.yml by @mstrasinskis in #559
- chore: e2e local development by @peterpeterparker in #564
- chore: bump playwright by @peterpeterparker in #568
- chore: interfaces for theme store by @peterpeterparker in #584
- chore: disable ssr for showcase app by @peterpeterparker in #563
- chore: remove redundant statement for autocomplete in Input by @AntonioVentilii in #571
Test
- test: adapt tooltip text checks by @peterpeterparker in #549
- test: render with events utility refactoring by @peterpeterparker in #554
- test: e2e infinite scroll by @peterpeterparker in #562
Build
- build(deps-dev): bump vite from 5.4.6 to 5.4.14 by @dependabot in #566
- Upgrade vitest from 2.1.1 to 2.1.9 by @dskloetd in #576
- ci: bump actions/cache by @AntonioVentilii in #583
New Contributors
- @BonomoAlessandro made their first contribution in #570
Full Changelog: v5.0.0...v5.1.0
v5.0.0
Changes
- Introduced new color primitives (the old variables are deprecated and will be removed in future releases).
- Updated the dark theme from a violet tone to a blue tone.
- Shrink Popover if overflows.
- Refreshed some icons.
- Applied minor fixes and improvements.
Full Changelog: v4.8.0...v5.0.0
v4.8.0
Features
- New Markdown component.
- New ThemeToggleButton component.
Other
- Minor fixes and improvements.
- Updated several dependencies to their latest versions.
Full Changelog: v4.7.0...v4.8.0
v4.7.0
Features
- New Dots, Bin and AddCircle icons.
- Bump Juno Analytics to track Web Vitals in showcase.
Build
- Update inherited agent-js to v2.0.0.
- Bump svelte from 4.2.1 to 4.2.19.
v4.6.0
Features
- Upgrade
sass
dependency tov1.77.8
and resolve warnings.
Build
- Bump dependencies.
- Combine access token and pull request checks in workflow.
Notes
As of this version, we will use the tag version as the title for the release, similar to our practice in other libraries.
Various enhancements
Features
- Support rich content in tooltip.
- Add
resetScrollPosition
function inSplitContent
. - Move tooltip back to body in
afterUpdate
. - Add
IconSort
andIconPlus
. - Review icons to standardises most of them and ensure they match the overall design and maintain a consistent line thickness.
- Option to display a maximum number of visible toasts.
Style
- Change tooltip colors to dropdown colors.
- Add tooltip CSS variables.
- Improve clicked icon buttons visibility in light theme.
- Narrow toasts width on medium screen.
Build
- Bump dompurify.
- Bump dev dependencies.
Test
- Migrate to
testing-library
v5.
Chore
- Change content of CODEOWNERS to be compliant (Gix + Nns).
- Do not use token on fork PRs.
- Lint 'element' is assigned a value but never used in a test.
- Do not accept lint warnings in CI
- Remove local screenshots from repo.
- Set description in
package.json
.
Various enhancements
Features
- Elements divider colours update.
Style
- Define
--text-description-tint
colors.
Chore
- Add
idPrefix
prop toTooltip
.
Build
- Bump braces.