Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all dependencies #109

Merged
merged 2 commits into from
Feb 8, 2024
Merged

chore(deps): update all dependencies #109

merged 2 commits into from
Feb 8, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 1, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@babel/core (source) 7.23.7 -> 7.23.9 age adoption passing confidence
@commitlint/cli (source) 18.4.4 -> 18.6.0 age adoption passing confidence
@commitlint/config-conventional (source) 18.4.4 -> 18.6.0 age adoption passing confidence
@mantine/core (source) 7.4.0 -> 7.5.1 age adoption passing confidence
@mantine/hooks (source) 7.4.0 -> 7.5.1 age adoption passing confidence
@playwright/test (source) 1.40.1 -> 1.41.2 age adoption passing confidence
@reduxjs/toolkit (source) 2.0.1 -> 2.1.0 age adoption passing confidence
@tanstack/react-query (source) 5.17.1 -> 5.18.1 age adoption passing confidence
@tanstack/react-query-devtools (source) 5.17.1 -> 5.18.1 age adoption passing confidence
@types/react (source) 18.2.46 -> 18.2.55 age adoption passing confidence
@types/react-dom (source) 18.2.18 -> 18.2.19 age adoption passing confidence
@typescript-eslint/eslint-plugin (source) 6.17.0 -> 6.21.0 age adoption passing confidence
@typescript-eslint/parser (source) 6.17.0 -> 6.21.0 age adoption passing confidence
@vitest/ui (source) 1.1.2 -> 1.2.2 age adoption passing confidence
autoprefixer 10.4.16 -> 10.4.17 age adoption passing confidence
axios (source) 1.6.4 -> 1.6.7 age adoption passing confidence
eslint-plugin-playwright 0.21.0 -> 0.22.2 age adoption passing confidence
eslint-plugin-prettier 5.1.2 -> 5.1.3 age adoption passing confidence
husky 8.0.3 -> 9.0.10 age adoption passing confidence
lint-staged 15.2.0 -> 15.2.2 age adoption passing confidence
postcss (source) 8.4.33 -> 8.4.35 age adoption passing confidence
postcss-preset-mantine 1.12.3 -> 1.13.0 age adoption passing confidence
prettier (source) 3.1.1 -> 3.2.5 age adoption passing confidence
prettier-plugin-tailwindcss 0.5.10 -> 0.5.11 age adoption passing confidence
react-hook-form (source) 7.49.2 -> 7.50.1 age adoption passing confidence
react-redux 9.0.4 -> 9.1.0 age adoption passing confidence
react-router-dom (source) 6.21.1 -> 6.22.0 age adoption passing confidence
tailwindcss (source) 3.4.0 -> 3.4.1 age adoption passing confidence
type-fest 4.9.0 -> 4.10.2 age adoption passing confidence
vite (source) 5.0.10 -> 5.0.12 age adoption passing confidence
vitest (source) 1.1.2 -> 1.2.2 age adoption passing confidence

Release Notes

babel/babel (@​babel/core)

v7.23.9

Compare Source

🐛 Bug Fix
  • babel-helper-transform-fixture-test-runner, babel-plugin-transform-function-name, babel-plugin-transform-modules-systemjs, babel-preset-env
  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators
  • babel-plugin-proposal-decorators, babel-plugin-transform-async-generator-functions, babel-plugin-transform-runtime, babel-preset-env
  • babel-traverse
  • Other
🏠 Internal
🏃‍♀️ Performance
🔬 Output optimization
  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-class-properties, babel-plugin-transform-class-static-block, babel-plugin-transform-new-target, babel-plugin-transform-parameters, babel-plugin-transform-private-methods, babel-preset-env
  • babel-helpers, babel-plugin-proposal-explicit-resource-management, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime
conventional-changelog/commitlint (@​commitlint/cli)

v18.6.0

Compare Source

Note: Version bump only for package @​commitlint/cli

v18.5.0

Compare Source

Features

18.4.4 (2024-01-04)

Note: Version bump only for package @​commitlint/cli

18.4.3 (2023-11-21)

Note: Version bump only for package @​commitlint/cli

18.4.2 (2023-11-16)

Note: Version bump only for package @​commitlint/cli

18.4.1 (2023-11-12)

Note: Version bump only for package @​commitlint/cli

conventional-changelog/commitlint (@​commitlint/config-conventional)

v18.6.0

Compare Source

Features

v18.5.0

Compare Source

Note: Version bump only for package @​commitlint/config-conventional

18.4.4 (2024-01-04)

Note: Version bump only for package @​commitlint/config-conventional

18.4.3 (2023-11-21)

Note: Version bump only for package @​commitlint/config-conventional

18.4.2 (2023-11-16)

Note: Version bump only for package @​commitlint/config-conventional

mantinedev/mantine (@​mantine/core)

v7.5.1

Compare Source

What's Changed
  • [@mantine/core] Indicator: Improve processing animation for lo-resolution monitors (#​5682)
  • [@mantine/hooks] use-debounced-state: Fix incorrect type definition (#​5665)
  • [@mantine/hooks] use-session-storage: Fix default value not being set in the storage on initial render (#​5663)
  • [@mantine/core] Combobox: Fix incorrect dropdown styles with custom ScrollArea component (#​5677)
  • [@mantine/form] Fix incorrect touch and dirty state handling in form.initialize (#​5623)
  • [@mantine/core] Chip: Fix error thrown when page is modified with Google Translate (#​5586)
  • [@mantine/form] Add previous value as second argument to onValuesChange (#​5649)
  • [@mantine/core] Fix autoContrast defined on theme not working in some components (#​5655)
  • [@mantine/core] Fix broken alignment in Checkbox, Radio and Switch (#​5648)
  • [@mantine/core-highlight] Add withCopyButton prop support to CodeHighlightTabs (#​5608)
  • [@mantine/core] Update useComputedColorScheme types to match definition with other similar hooks (#​5588)
  • [@mantine/core] MultiSelect: Forbid select item removal if associated item becomes disabled (#​5630)
New Contributors

Full Changelog: mantinedev/mantine@7.5.0...7.5.1

v7.5.0: ✨ 7.5.0

Compare Source

View changelog with demos on mantine.dev website

DonutChart component

New DonutChart component:

import { DonutChart } from '@​mantine/charts';
import { data } from './data';

function Demo() {
  return <DonutChart data={data} />;
}
PieChart component

New PieChart component:

import { PieChart } from '@&#8203;mantine/charts';
import { data } from './data';

function Demo() {
  return <PieChart data={data} />;
}
@​mantine/dates value formatter

DatePickerInput, MonthPickerInput and
YearPickerInput now support valueFormatter prop.

valueFormatter is a more powerful alternative to valueFormat prop.
It allows formatting value label with a custom function.
The function is the same for all component types (default, multiple and range)
– you need to perform additional checks inside the function to handle different types.

Example of using a custom formatter function with type="multiple":

import dayjs from 'dayjs';
import { useState } from 'react';
import { DateFormatter, DatePickerInput } from '@&#8203;mantine/dates';

const formatter: DateFormatter = ({ type, date, locale, format }) => {
  if (type === 'multiple' && Array.isArray(date)) {
    if (date.length === 1) {
      return dayjs(date[0]).locale(locale).format(format);
    }

    if (date.length > 1) {
      return `${date.length} dates selected`;
    }

    return '';
  }

  return '';
};

function Demo() {
  const [value, setValue] = useState<Date[]>([]);

  return (
    <DatePickerInput
      label="Pick 2 dates or more"
      placeholder="Pick 2 dates or more"
      value={value}
      onChange={setValue}
      type="multiple"
      valueFormatter={formatter}
    />
  );
}
@​mantine/dates consistent weeks

You can now force each month to have 6 weeks by setting consistentWeeks: true on
DatesProvider. This is useful if you want to avoid layout
shifts when month changes.

import { DatePicker, DatesProvider } from '@&#8203;mantine/dates';

function Demo() {
  return (
    <DatesProvider settings={{ consistentWeeks: true }}>
      <DatePicker />
    </DatesProvider>
  );
}
Charts series label

It is now possible to change series labels with label property
in series object. This feature is supported in AreaChart,
BarChart and LineChart components.

import { AreaChart } from '@&#8203;mantine/charts';
import { data } from './data';

function Demo() {
  return (
    <AreaChart
      h={300}
      data={data}
      dataKey="date"
      type="stacked"
      withLegend
      legendProps={{ verticalAlign: 'bottom' }}
      series={[
        { name: 'Apples', label: 'Apples sales', color: 'indigo.6' },
        { name: 'Oranges', label: 'Oranges sales', color: 'blue.6' },
        { name: 'Tomatoes', label: 'Tomatoes sales', color: 'teal.6' },
      ]}
    />
  );
}
Charts value formatter

All @mantine/charts components now support valueFormatter prop, which allows
formatting value that is displayed on the y axis and inside the tooltip.

import { AreaChart } from '@&#8203;mantine/charts';
import { data } from './data';

function Demo() {
  return (
    <AreaChart
      h={300}
      data={data}
      dataKey="date"
      type="stacked"
      valueFormatter={(value) => new Intl.NumberFormat('en-US').format(value)}
      series={[
        { name: 'Apples', color: 'indigo.6' },
        { name: 'Oranges', color: 'blue.6' },
        { name: 'Tomatoes', color: 'teal.6' },
      ]}
    />
  );
}
Headings text wrap

New Title textWrap prop sets text-wrap
CSS property. It controls how text inside an element is wrapped.

import { Title } from '@&#8203;mantine/core';

function Demo() {
  return (
    <Title order={3} textWrap="wrap">
      Lorem, ipsum dolor sit amet consectetur adipisicing elit. Quasi voluptatibus inventore iusto
      cum dolore molestiae perspiciatis! Totam repudiandae impedit maxime!
    </Title>
  );
}

You can also set textWrap on theme:

import { createTheme, MantineProvider } from '@&#8203;mantine/core';

const theme = createTheme({
  headings: {
    textWrap: 'wrap',
  },
});

function Demo() {
  return (
    <MantineProvider theme={theme}>
      <Title>Some very long title that should wrap</Title>
    </MantineProvider>
  );
}

If set on theme, textWrap is also applied to headings in TypographyStylesProvider

mod prop

All components now support mod prop, which allows adding data attributes to
the root element:

import { Box } from '@&#8203;mantine/core';

<Box mod="data-button" />;
// -> <div data-button />

<Box mod={{ opened: true }} />;
// -> <div data-opened />

<Box mod={{ opened: false }} />;
// -> <div />

<Box mod={['button', { opened: true }]} />;
// -> <div data-button data-opened />

<Box mod={{ orientation: 'horizontal' }} />;
// -> <div data-orientation="horizontal" />
Documentation updates
Help center updates

New articles added to the help center:

Other changes

v7.4.2

Compare Source

What's Changed
  • [@mantine/modals] Fix onClose throwing error if trapFocus: false is passed to one of the modals (#​5577)
  • [@mantine/dates] Add missing placeholder styles api selector to DatePickerInput, MonthPickerInput and YearPickerInput components
  • [@mantine/tiptap] Fix incorrect disabled controls in dark color scheme
  • [@mantine/core] MultiSelect: Fix combobox.closeDropdown() called twice in onBlur method
  • [@mantine/tiptap] Fix incorrect peer dependencies
  • [@mantine/core] Fix incorrect colors resolving logic for bg style prop
  • [@mantine/core] Remove global height styles from body and html
  • [@mantine/hooks] use-media-query: Fix getInitialValueInEffect not working correctly when initial value is provided (#​5575, #​5549)
  • [@mantine/core] Divider: Change default colors to match other components (#​5480)
  • [@mantine/core] Fix incorrect forceColorScheme={undefined} handling (#​4959)
  • [@mantine/core] Menu: Remove duplicated static class on the dropdown element (#​5537)
  • [@mantine/core] Add / support for rgba calculations (#​5544)
New Contributors

Full Changelog: mantinedev/mantine@7.4.1...7.4.2

v7.4.1

Compare Source

What's Changed

  • [@mantine/core] Combobox: Fix numpad enter not working (#​5526)
  • [@mantine/core] Combobox: Fix onClose prop not working (#​5509)
  • [@mantine/core] AppShell: Fix header height 0 not working (#​5514)
  • [@mantine/core] ColorPicker: Fix incorrect background gradient in AlphaSlider (#​5518)
  • [@mantine/core] Indicator: Fix autoContrast being passed to the dom node as attribute (#​5508)
  • [@mantine/core] NumberInput: Fix allowLeadingZeros prop not working
  • [@mantine/core] NumberInput: Fix incorrect controls border color in disabled state
  • [@mantine/core] NumberInput: Fix incorrect -0.0, -0.00, -0.000 ... inputs handling
  • [@mantine/core] Popover: Improve width prop type
  • [@mantine/core] Improve types of data prop in Autocomplete and TagsInput components
  • [@mantine/core] MultiSelect: Fix required prop not displaying required asterisk
  • [@mantine/hooks] use-scroll-into-view: Improve types (#​5426)
  • [@mantine/core] MultiSelect: Fix incorrect pointer-events style on the right section (#​5472)
  • [@mantine/core] Fix breakpoints defined in px being transformed into em when visibleFrom and hiddenFrom props are used (#​5457)
  • [@mantine/core] Rating: Improve size type (#​5470)
  • [@mantine/core] ScrollArea: Fix ScrollArea.Autosize working incorrectly with some tables (#​5481)
  • [@mantine/core] NumberInput: Add support for numbers that are larger than Number.MAX_SAFE_INTEGER (#​5471)
  • [@mantine/core] Combobox: Fix readonly data array not being supported (#​5477)
  • [@mantine/charts] Fix incorrect y-axis styles in RTL (#​5505)

New Contributors

Full Changelog: mantinedev/mantine@7.4.0...7.4.1

microsoft/playwright (@​playwright/test)

v1.41.2

Compare Source

Highlights

https://github.com/microsoft/playwright/issues/29123 - [REGRESSION] route.continue: Protocol error (Fetch.continueRequest): Invalid InterceptionId.

Browser Versions

  • Chromium 121.0.6167.57
  • Mozilla Firefox 121.0
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 120
  • Microsoft Edge 120

v1.41.1

Compare Source

Highlights

https://github.com/microsoft/playwright/issues/29067 - [REGRESSION] Codegen/Recorder: not all clicks are being actioned nor recordedhttps://github.com/microsoft/playwright/issues/290288 - [REGRESSION] React component tests throw type error when passing null/undefined to componenhttps://github.com/microsoft/playwright/issues/2902727 - [REGRESSION] React component tests not passing Date prop valuhttps://github.com/microsoft/playwright/issues/29023023 - [REGRESSION] React component tests not rendering children phttps://github.com/microsoft/playwright/issues/290199019 - [REGRESSION] trace.playwright.dev does not currently support the loading from URL

Browser Versions

  • Chromium 121.0.6167.57
  • Mozilla Firefox 121.0
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 120
  • Microsoft Edge 120

v1.41.0

Compare Source

New APIs

Browser Versions

  • Chromium 121.0.6167.57
  • Mozilla Firefox 121.0
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 120
  • Microsoft Edge 120
reduxjs/redux-toolkit (@​reduxjs/toolkit)

v2.1.0

Compare Source

This minor release:

  • adds withTypes methods to listenerMiddleware and createDraftSafeSelector
  • adds a skipPollingIfUnfocused option to RTK Query
  • adds the ability to customise the createSelector instance used by RTK Query
  • reworks slice selector logic to avoid depending on this value
  • fixes the order and inference of create.asyncThunk type parameters
  • fixes requirements for meta fields returned from queryFns
  • marks promises that will never reject as safe, in preparation for https://github.com/typescript-eslint/typescript-eslint/issues/7008

What's Changed


Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

netlify bot commented Feb 1, 2024

Deploy Preview for my-react-template ready!

Name Link
🔨 Latest commit fa30a73
🔍 Latest deploy log https://app.netlify.com/sites/my-react-template/deploys/65c43bf365434900099e0b4b
😎 Deploy Preview https://deploy-preview-109--my-react-template.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@renovate renovate bot force-pushed the renovate/all branch 14 times, most recently from 12f49e4 to d4b4d6c Compare February 7, 2024 16:45
@DuckyMomo20012 DuckyMomo20012 merged commit 4c42f53 into main Feb 8, 2024
4 of 5 checks passed
@DuckyMomo20012 DuckyMomo20012 deleted the renovate/all branch February 8, 2024 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant