Skip to content

Releases: vtfk/component-library

0.6.3

09 Mar 18:04
0b691bb
Compare
Choose a tag to compare

Patches

  • Flyttet dialog style fra backdrop til dialogen: 611bbc5
  • Only wrap cards in a group on screens < 1000px: f59039b
  • sass broke build for css for DatePicker: 518687c

0.6.2

07 Mar 17:22
b668697
Compare
Choose a tag to compare

Patches

Statistics

  • Support for custom or additional style: c0c9dce
  • Bugfix: Don't add background when card is focused: d8c42d8
  • Support passing value as a prop as well: 15278dc
  • Support passing props to CardLink: d05c8f7

0.6.1

04 Mar 15:23
9a3b552
Compare
Choose a tag to compare

Patches

  • Use medium size as default: 2ed6c97

0.6.0

04 Mar 14:33
abea5c4
Compare
Choose a tag to compare

Minor Changes

  • Merge pull request #311 from vtfk/renovate/babel-monorepo: cae0e3c
  • Autohide SideNav when screen width <= 1000px: f5fc5f3
  • Added TopBar component: ece7ea4
  • Added option for Icon: 41f55bf
  • Added option for children or menuItems in SideNav: 6fdf53b
  • Moved SideNavMini into SideNav SideNavMini is default not in use: dc35786

Patches

  • Update babel monorepo: fdbe7be
  • Update dependency @rollup/plugin-replace to v4: d52a913
  • Update dependency prismjs to 1.27.0 [SECURITY]: d240738
  • Update dependency eslint to v8.10.0: dd476fb
  • Update dependency sass-loader to v12.6.0: c4405a3
  • Update dependency react-datepicker to v4.7.0: 8bc9cd1
  • Update dependency nanoid to v3.3.1: c9f779b
  • Using target and parentNode (Closing #333) path isn't used by Firefox and Safari: 56aae45
  • Use PropTypes for type checking: 321bf2c
  • href doesn't need to be required anymore: 6bcda8e
  • Merge pull request #335 from vtfk/renovate/eslint-8.x: 777d7a4
  • Merge pull request #334 from vtfk/renovate/npm-prismjs-vulnerability: d29d94d
  • Merge pull request #327 from vtfk/renovate/rollup-plugin-replace-4.x: 9126278
  • Merge pull request #340 from vtfk/renovate/react-datepicker-4.x: 089e208
  • Merge pull request #321 from vtfk/renovate/nanoid-3.x: 0634ee5
  • Merge pull request #320 from vtfk/renovate/sass-loader-12.x: 7124767
  • Add only needed padding for Icon width (Closes #339): f3818a5
  • Also show SideNavItem in docs: 66826de

0.5.1

03 Mar 14:52
91a7624
Compare
Choose a tag to compare

Patches

  • Lagt til muligheten for å passe styles til dialog komponent: 7f4e4bf
  • Implementerte mulighet for å passe inn styles til dialog komponenter: 530a3d5
  • Checkbox label margin is moved from the checkbox to the label: 15eff38
  • Margin for IconButton er nå på teksten, children er også fjernet som required: 7e2f1ad
  • SearchField sjekker nå etter ID på komponent i stedet for klasser: 00808e9
  • Lint fixes: 012cc56
  • Merge pull request #336 from vtfk/small-fixes: 7822490
  • Lagt til z-index på dialog: e399895
  • Divide by / is deprecated, and not needed here: 850e31d

0.5.0

28 Feb 13:41
14a52be
Compare
Choose a tag to compare

Minor Changes

  • Each cell in the row will take up equal width: 8547f85
  • Merge pull request #329 from vtfk/fixes-240222: d198efd
  • Added size prop for StatisticsCard: b1eee8b
  • Added onClick prop which makes it into a CardLink: 75436cc

Patches

  • Update dependency @rollup/plugin-commonjs to v21.0.2: 9234258
  • Update dependency postcss to v8.4.7: 74cfc38
  • Removed unused className: 8586588
  • Added better story items: 3e07ced
  • More accurate classNames: cac4d44
  • Added more padding around each row: f2d19e7
  • Added more accurate classNames: 0a4db84
  • Pass along event aswell: 55ebc82
  • Use size prop for StatisticsCard Aswell as removed the table since it wasn't needed: 4bc5791

0.4.0

24 Feb 15:23
4110492
Compare
Choose a tag to compare

Minor Changes

  • Add prop closeOnClick on IconDropdownNavItem that closes parent IconDropdownNav: 8ced923
  • Merge branch 'main' of https://github.com/vtfk/component-library: 6193561
  • Added SearchField with results: 2d17083
  • Result items are optional but recommended: 744fb9f
  • On Enter close result list: bc1650c
  • Added possibility to also pass items as children: 686191f
  • Allow for further choice after Enter: 8c21a05
  • Only allow Enter when input focused: 0914a69
  • After Enter set input as not focused But only when items or children are present: 8416c3a
  • Allow all keys except Enter to set input focused: 5477999
  • Allow to handle onBlur and onFocus yourself: e2af4f2
  • Replaced onDebounce with onSearch Using onSelected for selected items: ed30291
  • Replaced old SearchField with the new one: b460ca7
  • Update dependency @svgr/rollup to v6: 641736a
  • Merge branch 'main' into search-with-results: 21932af
  • No need for separate style here anymore: 75c6dda
  • Show children last: 671498c
  • Implemented some more functionallity to SearchField: 0d046be
  • Implemented the changes discussed with Rune: d5798e3
  • Fikse bugs etter CR av Rune: 228d1be
  • Fixed searchField for basic usage: 4c59e9f
  • Fixed a couple of bugs: 76d11bc
  • This was needed afterall. When a change is happening in the middle of a debounce call, the debounce call will be delayed more. But if a change is happening after a debounce call is finished and the change is making the input empty, onSearch wouldn't be called...: 571aa66
  • Give back an empty array on empty search text: a0094f2
  • Rewritten onSelected to only handle index Because the component itself has noe idea what the item is when passing children: 2301fa0
  • Open result list for children aswell: ebc9977
  • Handle Enter click for children also: 513cba8
  • I think all discussed bugs are fixed now: 09a4887
  • Don't change selectedIndex when result list is closed: 6098111
  • On KeyUp/Down open list again if list has items: 2f6aa2c
  • Prevent KeyUp/Down event to go through When it goes through the cursor is moved first og last in the textfield: d7b6e64
  • Reset focusedItemIndex to 0 on a new search: b5daa6e
  • Filter searched items by string properties only: aa6135b
  • Reset searchInputSelectedIndex to 0 on a new search: bf3873c
  • On KeyUp/Down open list again if list has items: fd63774
  • Close result list on Escape: fb052ea
  • Added cursor: pointer to Button: f0fc32f
  • Use debounce only when debounceMs is > 0 useDebounce has some delay even when set to 0 milliseconds: d3b5636
  • No need to call this here aswell This is beeing called in handleSearcha anyway: bdcfc29
  • Added tests for SearchField component: a455b5d
  • Removed SearchResult component This is moved to the SearchField component: 1006728
  • Removed SearchResult from export aswell 🤦‍♂️: a2a72ba
  • Merge pull request #326 from vtfk/search-with-results: e304ffd

Patches

  • Update dependency @testing-library/react to v12.1.3: 4d7fcd7
  • Update dependency rollup to v2.67.3: cc57dad
  • Eslint --fix: 4486fa9
  • Downgrade babel-plugin-inline-react-svg v2.0 introduces breaking changes for viewBox in SVG: 98ed7f5
  • Downgrade @svgr/rollup to 5.5.0 v6 introduces breaking changes to viewBox on SVG: b46e406
  • Use new config syntax for svgr: 4d748ec
  • No need for padding here: be3ee3f
  • Not so big text: f3bfc9e
  • Typo: 291dd5e
  • Fix lint error: b6ba7dd
  • Merge pull request #315 from vtfk/closeable-icon-dropdown-nav: fccd4ea
  • Equally align search result item fields: 7f37b3c
  • Don't set a max width on the component itself: a093972
  • Set a max width in the story: fe357ac
  • Merge branch 'main' of https://github.com/vtfk/component-library: 3280f6c
  • Must lower case value also: 3b1babf
  • Better console logging: 2838107
  • Removed Debounce story and renamed stories: bb19867
  • SearchReult set as deprecated: 76014c4
  • Show component with correct name: bad322d
  • Fixed linting errors: d9fe1eb
  • Standard fixes: ec9ee43
  • Typo: 24cac17
  • Renamed state values And showing whats going on in all stories: 7df5dc0
  • Knobs update for Custom Items: fb37271
  • Standard -fix: 50e0f48
  • Removed unnecessary commented code: 5a1d308

0.3.3

18 Feb 07:06
29526c3
Compare
Choose a tag to compare

Patches

  • Add prop closeOnClick on IconDropdownNavItem that closes parent IconDropdownNav: 8ced923
  • Eslint --fix: 4486fa9
  • Fix lint error: b6ba7dd
  • Merge pull request #315 from vtfk/closeable-icon-dropdown-nav: fccd4ea

0.3.2

17 Feb 18:09
f683e48
Compare
Choose a tag to compare

Patches

0.3.1

17 Feb 10:25
24caabf
Compare
Choose a tag to compare

Patches

  • Downgrade babel-plugin-inline-react-svg v2.0 introduces breaking changes for viewBox in SVG: 98ed7f5
  • Use new config syntax for svgr: 4d748ec