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 #71

Merged
merged 1 commit into from Dec 10, 2022
Merged

chore(deps): update all dependencies #71

merged 1 commit into from Dec 10, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 7, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@babel/core (source) 7.19.6 -> 7.20.5 age adoption passing confidence
@commitlint/cli (source) 17.1.2 -> 17.3.0 age adoption passing confidence
@commitlint/config-conventional (source) 17.1.0 -> 17.3.0 age adoption passing confidence
@emotion/react (source) 11.10.4 -> 11.10.5 age adoption passing confidence
@iconify/react (source) 4.0.0 -> 4.0.1 age adoption passing confidence
@mantine/core (source) 5.6.0 -> 5.9.3 age adoption passing confidence
@mantine/hooks (source) 5.6.0 -> 5.9.3 age adoption passing confidence
@playwright/test (source) 1.27.1 -> 1.28.1 age adoption passing confidence
@reduxjs/toolkit (source) 1.8.6 -> 1.9.1 age adoption passing confidence
@tanstack/react-query (source) 4.12.0 -> 4.19.1 age adoption passing confidence
@tanstack/react-query-devtools (source) 4.12.0 -> 4.19.1 age adoption passing confidence
@typescript-eslint/eslint-plugin 5.40.1 -> 5.46.0 age adoption passing confidence
@typescript-eslint/parser 5.40.1 -> 5.46.0 age adoption passing confidence
@vitejs/plugin-react (source) 2.1.0 -> 3.0.0 age adoption passing confidence
@vitest/ui 0.24.3 -> 0.25.6 age adoption passing confidence
axios (source) 1.1.3 -> 1.2.1 age adoption passing confidence
eslint (source) 8.25.0 -> 8.29.0 age adoption passing confidence
eslint-import-resolver-typescript 3.5.1 -> 3.5.2 age adoption passing confidence
eslint-plugin-react 7.31.10 -> 7.31.11 age adoption passing confidence
husky (source) 8.0.1 -> 8.0.2 age adoption passing confidence
lint-staged 13.0.3 -> 13.1.0 age adoption passing confidence
prettier (source) 2.7.1 -> 2.8.1 age adoption passing confidence
react-hook-form (source) 7.38.0 -> 7.40.0 age adoption passing confidence
react-redux 8.0.4 -> 8.0.5 age adoption passing confidence
react-router-dom 6.4.2 -> 6.4.5 age adoption passing confidence
typescript (source) 4.8.4 -> 4.9.4 age adoption passing confidence
vite (source) 3.1.8 -> 4.0.0 age adoption passing confidence
vitest 0.24.3 -> 0.25.6 age adoption passing confidence

Release Notes

babel/babel

v7.20.5

Compare Source

👓 Spec Compliance
  • babel-helpers, babel-plugin-transform-destructuring, babel-plugin-transform-modules-commonjs, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-traverse
  • babel-cli, babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-class-static-block, babel-plugin-transform-classes, babel-plugin-transform-runtime, babel-preset-env
  • babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-decorators, babel-plugin-proposal-private-property-in-object, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime
🐛 Bug Fix
  • babel-parser
  • babel-helper-wrap-function, babel-preset-env, babel-traverse
  • babel-plugin-transform-arrow-functions, babel-plugin-transform-parameters, babel-traverse
  • babel-helpers, babel-node, babel-plugin-proposal-async-generator-functions, babel-plugin-transform-regenerator, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime
  • babel-helper-create-regexp-features-plugin
  • babel-parser, babel-types
  • babel-generator
  • babel-plugin-transform-block-scoping, babel-traverse
💅 Polish
🏠 Internal

v7.20.2

Compare Source

🐛 Bug Fix
  • babel-core, babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-helper-plugin-utils, babel-helper-simple-access, babel-node, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-react-constant-elements, babel-preset-env, babel-standalone, babel-types
  • babel-plugin-transform-typescript
  • babel-parser
  • babel-generator
  • babel-plugin-proposal-decorators, babel-plugin-proposal-object-rest-spread, babel-plugin-transform-jscript
  • babel-plugin-transform-destructuring
conventional-changelog/commitlint (@​commitlint/cli)

v17.3.0

Compare Source

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

v17.2.0

Compare Source

Features

17.1.2 (2022-08-29)

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

17.1.1 (2022-08-27)

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

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

v17.3.0

Compare Source

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

v17.2.0

Compare Source

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

emotion-js/emotion

v11.10.5

Compare Source

Patch Changes
mantinedev/mantine

v5.9.3

Compare Source

What's Changed
  • [@mantine/core] TypographyStylesProvider: Fix incorrect <code /> styles
  • [@mantine/styles] Allow createStyle to go to the original definition (#​3108)
  • [@mantine/core] Menu: Change hovered item background-color to make it consistent with other components (#​3109)
  • [@mantine/tiptap] Fix incorrect RichTextEditor ref type (#​3142)
  • [@mantine/form] Fix typing issue with nested interfaces in passed type (#​3157)
New Contributors

Full Changelog: mantinedev/mantine@5.9.2...5.9.3

v5.9.2

Compare Source

What's Changed
  • [@mantine/form] Fix incorrect values type in validation rules (#​3110)
  • [@mantine/core] ScrollArea: Fix flickering
  • [@mantine/core] AppShell: Fix zIndex prop not being applied to Navbar and Header components
  • [@mantine/dropzone] Fix getFilesFromEvent error when files are droppped (#​3115)
  • [@mantine/core] Collapse: Rollback axis prop as it breaks regular Collapse usage

Full Changelog: mantinedev/mantine@5.9.1...5.9.2

v5.9.1

Compare Source

What's Changed
  • [@mantine/styles] Add access to theme in defaultProps (#​2950)
  • [@mantine/hooks] use-hotkeys: Add option to specify tags that should be ignored (#​3045)
  • [@mantine/form] Fix incorrect dirty state of the fields calculation after one of list actions was called (#​3025)
  • [@mantine/core] Select: Fix limit prop not working when current value matches one of the items from data (#​3070)
  • [@mantine/form] Fix incorrect form.isValid behavior when nested field has error (#​3080)
  • [@mantine/hooks] use-hash: Fix unexpected rerendering with hash without # (#​3097)
  • [@mantine/core] Add arrowPosition prop to Tooltip and Popover components to configure how the arrow is position relative to the target element (#​3100)
  • [@mantine/form] Fix implicit any type in validation rules for strict TS mode (#​3101)
  • [@mantine/core] TypographyStylesProvider: Add borderLeft to blockquote to make component look the same way as Blockquote component (#​3103)
  • [@mantine/core] Table: Fix incorrect styles applied to td/th elements with borders and colspan/rowspan (#​3106)
  • [@mantine/spotlight] Fix theme.defaultRadius not being respected
  • [@mantine/core] Select: Fix theme.defaultRadius not being respected by default item component
  • [@mantine/core] Radio: Automatically generate name if it was not provided via prop
  • [@mantine/dropzone] Add the getFilesFromEvent and validator props (#​3053)
  • [@mantine/hooks] use-media-query: Fix given initialValue not being used (#​3085)
New Contributors

Full Changelog: mantinedev/mantine@5.9.0...5.9.1

v5.9.0

Compare Source

View changelog with demos on mantine.dev website

use-eye-dropper hook

New use-eye-dropper hook provides an interface to work with EyeDropper API.
It allows to pick color from any pixel on the screen. Currently, the API is supported in Chromium based desktop browsers.

import { useState } from 'react';
import { ActionIcon, Group, ColorSwatch, Text } from '@&#8203;mantine/core';
import { IconColorPicker } from '@&#8203;tabler/icons';
import { useEyeDropper } from '@&#8203;mantine/hooks';

function Demo() {
  const [color, setColor] = useState('');
  const [error, setError] = useState(null);
  const { supported, open } = useEyeDropper();

  const pickColor = async () => {
    try {
      const { sRGBHex } = await open();
      setColor(sRGBHex);
    } catch (e) {
      setError(e);
    }
  };

  if (!supported) {
    return <Text ta="center">EyeDropper API is not supported in your browser</Text>;
  }

  return (
    <Group>
      <ActionIcon variant="default" onClick={pickColor}>
        <IconColorPicker size={16} stroke={1.5} />
      </ActionIcon>
      {color ? (
        <Group spacing="xs">
          <ColorSwatch color={color} />
          <Text>Picked color: {color}</Text>
        </Group>
      ) : (
        <Text>Click the button to pick color</Text>
      )}
      {error && <Text color="red">Error: {error?.message}</Text>}
    </Group>
  );
}
ColorInput eye dropper

ColorInput component now supports withEyeDropper prop to display eye dropper icon in the right section.
This feature depends on EyeDropper API,
the eye dropper will not be rendered if the API is not supported.

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

function Demo() {
  return (
    <ColorInput
      withEyeDropper
      placeholder="With eye dropper"
      label="Pick any color from the page"
    />
  );
}
AppShell alt layout

AppShell component now supports placing Navbar and Aside components on top of Header and Footer with layout="alt" prop.

Responsive Grid gutter

Grid component now supports gutterXs, gutterSm, gutterMd, gutterLg, gutterXl props:

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

function Demo() {
  return (
    <Grid gutter={5} gutterXs="md" gutterMd="xl" gutterXl={50}>
      <Grid.Col span={4}>1</Grid.Col>
      <Grid.Col span={4}>2</Grid.Col>
      <Grid.Col span={4}>3</Grid.Col>
    </Grid>
  );
}
Static components default props

All static components now support default props on MantineProvider.
The following example demonstrates how to add default props to Menu.Item, Tabs.List and
RichTextEditor.Toolbar components:

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

function Demo() {
  return (
    <MantineProvider
      theme={{
        components: {
          MenuItem: {
            defaultProps: { color: 'red' },
          },

          TabsList: {
            defaultProps: {
              position: 'right',
            },
          },

          RichTextEditorToolbar: {
            defaultProps: {
              sticky: true,
              stickyOffset: 60,
            },
          },
        },
      }}
    >
      <App />
    </MantineProvider>
  );
}
Input.Placeholder component

Input.Placeholder component can be used to add placeholder to Input and InputBase components that are based on button element
or do not support placeholder property natively:

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

function Demo() {
  return (
    <Input component="button">
      <Input.Placeholder>Placeholder content</Input.Placeholder>
    </Input>
  );
}
Other changes
  • RangeSlider component now supports maxRange prop
  • Stepper component now supports any CSS color value in color prop
  • use-hotkeys hook now allows to configure whether default behavior should be prevented
  • Input and other components based on it now support any valid CSS size value in rightSectionWidth and iconWidth props
New Contributors

Full Changelog: mantinedev/mantine@5.8.4...5.9.0

v5.8.4

Compare Source

What's Changed
  • [@mantine/tiptap] Fix emotion warning produced by placeholder styles :first-child selector usage
  • [@mantine/hooks] use-move: Fix content on the page being selected when cursor moves over the target element (#​3069)
  • [@mantine/core] Drawer: Add missing Styles API selector for body (#​3056)
  • [@mantine/carousel] Carousel: fixed carousel indicator not changing when slidesToScroll value is changed (#​3058)
  • [@mantine/core] Stepper: Fix last item being cut off when used inside flex container (#​3062)
  • [@mantine/core] Fix incorrect arrow position for *-end and *-start positions in Tooltip, Popover, HoverCard and Menu components (#​3065)
  • [@mantine/tiptap] Add ref forwarding (#​3068)

Full Changelog: mantinedev/mantine@5.8.3...5.8.4

v5.8.3

Compare Source

What's Changed
  • [@mantine/dropzone] Add onDropAny prop to capture both accepted and rejected files (#​3010)
  • [@mantine/tiptap] Fix incorrect content border-radius
  • [@mantine/tiptap] Fix placeholder extension not working as expected
  • [@mantine/core] Drawer: Add missing aria-describedby and aria-labelledby attributes to the root element (#​3027)
  • [@mantine/core] NumberInput: Fix value not being formatted correctly when precision changes (#​3011)
New Contributors

Full Changelog: mantinedev/mantine@5.8.2...5.8.3

v5.8.2

What's Changed
  • [@mantine/tiptap] Fix incorrect hr control label
  • [@mantine/tiptap] Fix incorrect editor prop type
  • [@mantine/tiptap] Fix typo in strikethrough label (#​3004)
  • [@mantine/prism] Fix colorScheme prop not being passed to Prism from Prism.Panel component
  • [@mantine/core] Pagination: Fix incorrect handling of negative and zero total
  • [@mantine/hooks] use-pagination: Fix incorrect handling of decimal values passed as total (#​2979)
  • [@mantine/core] NumberInput: Fix readOnly prop not working correctly (#​2956)
  • [@mantine/hooks] Allow usage of use-click-outside and use-focus-trap hooks with shadow DOM
New Contributors

Full Changelog: mantinedev/mantine@5.8.0...5.8.2

v5.8.0

Compare Source

View changelog with demos on mantine.dev website

Tiptap rich text editor

New @​mantine/tiptap package is a replacement
for @​mantine/rte package. RichTextEditor
component is now based on Tiptap, it supports all of
Tiptap extensions and provides flexible components API.

import { RichTextEditor, Link } from '@&#8203;mantine/tiptap';
import { useEditor } from '@&#8203;tiptap/react';
import Highlight from '@&#8203;tiptap/extension-highlight';
import StarterKit from '@&#8203;tiptap/starter-kit';
import Underline from '@&#8203;tiptap/extension-underline';
import TextAlign from '@&#8203;tiptap/extension-text-align';
import Superscript from '@&#8203;tiptap/extension-superscript';
import SubScript from '@&#8203;tiptap/extension-subscript';

const content =
  '<h2 style="text-align: center;">Welcome to Mantine rich text editor</h2><p><code>RichTextEditor</code> component focuses on usability and is designed to be as simple as possible to bring a familiar editing experience to regular users. <code>RichTextEditor</code> is based on <a href="https://tiptap.dev/" rel="noopener noreferrer" target="_blank">Tiptap.dev</a> and supports all of its features:</p><ul><li>General text formatting: <strong>bold</strong>, <em>italic</em>, <u>underline</u>, <s>strike-through</s> </li><li>Headings (h1-h6)</li><li>Sub and super scripts (<sup>&lt;sup /&gt;</sup> and <sub>&lt;sub /&gt;</sub> tags)</li><li>Ordered and bullet lists</li><li>Text align&nbsp;</li><li>And all <a href="https://tiptap.dev/extensions" target="_blank" rel="noopener noreferrer">other extensions</a></li></ul>';

function Demo() {
  const editor = useEditor({
    extensions: [
      StarterKit,
      Underline,
      Link,
      Superscript,
      SubScript,
      Highlight,
      TextAlign.configure({ types: ['heading', 'paragraph'] }),
    ],
    content,
  });

  return (
    <RichTextEditor editor={editor}>
      <RichTextEditor.Toolbar sticky stickyOffset={60}>
        <RichTextEditor.ControlsGroup>
          <RichTextEditor.Bold />
          <RichTextEditor.Italic />
          <RichTextEditor.Underline />
          <RichTextEditor.Strikethrough />
          <RichTextEditor.ClearFormatting />
          <RichTextEditor.Highlight />
          <RichTextEditor.Code />
        </RichTextEditor.ControlsGroup>

        <RichTextEditor.ControlsGroup>
          <RichTextEditor.H1 />
          <RichTextEditor.H2 />
          <RichTextEditor.H3 />
          <RichTextEditor.H4 />
        </RichTextEditor.ControlsGroup>

        <RichTextEditor.ControlsGroup>
          <RichTextEditor.Blockquote />
          <RichTextEditor.Hr />
          <RichTextEditor.BulletList />
          <RichTextEditor.OrderedList />
          <RichTextEditor.Subscript />
          <RichTextEditor.Superscript />
        </RichTextEditor.ControlsGroup>

        <RichTextEditor.ControlsGroup>
          <RichTextEditor.Link />
          <RichTextEditor.Unlink />
        </RichTextEditor.ControlsGroup>

        <RichTextEditor.ControlsGroup>
          <RichTextEditor.AlignLeft />
          <RichTextEditor.AlignCenter />
          <RichTextEditor.AlignJustify />
          <RichTextEditor.AlignRight />
        </RichTextEditor.ControlsGroup>
      </RichTextEditor.Toolbar>

      <RichTextEditor.Content />
    </RichTextEditor>
  );
}

@​mantine/rte package deprecation

Quill based RichTextEditor is now deprecated.
@mantine/rte package will no longer receive any updates, support for it
will be discontinued when 6.0.0 version is released. We recommend to switch
to Tiptap based editor as soon as possible.

Other changes

New Contributors

Full Changelog: mantinedev/mantine@5.7.2...5.8.0

v5.7.2

Compare Source

What's Changed

  • [@mantine/core] RangeSlider: Fix incorrect minRange handling for negative values (#​2897)
  • [@mantine/core] Slider: Fix unexpected step behavior when min is set to odd number (#​2855)
  • [@mantine/core] Prevent focus shifting from the input when clear button is pressed in Select and MultiSelect components
  • [@mantine/core] TypographyStylesProvider: Add mark styles
  • [@mantine/core] Image: Do not show placeholder when image is loading to avoid issues with ssr and rapidly changing src prop
  • [@mantine/core] Slider: Fix incorrect marks styles when inverted prop is set (#​2894)
  • [@mantine/core] Fix incorrect label alignment in Checkbox, Radio and Switch components when label is a ReactNode (#​2881)
  • [@mantine/core] Modal: Fix incorrect click outside behavior (#​2896)
  • [@mantine/core] Radio: Fix size prop not being respected when used within Radio.Group (#​2913)

New Contributors

Full Changelog: mantinedev/mantine@5.7.1...5.7.2

v5.7.1

Compare Source

What's Changed
  • [@mantine/hooks] use-window-event: Fix event listener not being updated when event type or function changes
  • [@mantine/spotlight] Allow overriding autoComplete prop with searchInputProps
  • [@mantine/core] Menu: Allow overriding Menu.Item button type
  • [@mantine/hooks] use-scroll-into-view: Fix parameters changes being ignored (#​2866)
  • [@mantine/hooks] use-local-storage: Fix incorrect value returned if defaultValue is not specified (#​2872)
  • [@mantine/styles] Add missing right style prop (#​2887)
  • [@mantine/form] Add missing TransformValues type to createFormContext (#​2893)
New Contributors

Full Changelog: mantinedev/mantine@5.7.0...5.7.1

v5.7.0

Compare Source

View changelog with demos on mantine.dev website

Style props

All Mantine components now support responsive style props:

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

function Demo() {
  return (
    <Box
      w={{ base: 200, sm: 400, lg: 500 }}
      py={{ base: 'xs', sm: 'md', lg: 'xl' }}
      bg="blue.7"
      c="#fff"
      ta="center"
      mx="auto"
    >
      Box with responsive style props
    </Box>
  );
}

Flex component

Flex component is an alternative to Group and Stack components.
It supports new responsive style props:

import { Flex, Button } from '@&#8203;mantine/core';

function Demo() {
  return (
    <Flex
      direction={{ base: 'column', sm: 'row' }}
      gap={{ base: 'sm', sm: 'lg' }}
      justify={{ sm: 'center' }}
    >
      <Button>Button 1</Button>
      <Button>Button 2</Button>
      <Button>Button 3</Button>
    </Flex>
  );
}

Focus ring styles on theme

You can now customize focus ring styles for all components in MantineProvider:

function Demo() {
  return (
    <MantineProvider
      inherit
      theme={{
        focusRingStyles: {
          // reset styles are applied to <button /> and <a /> elements
          // in &:focus:not(:focus-visible) selector to mimic
          // default browser behavior for native <button /> and <a /> elements
          resetStyles: () => ({ outline: 'none' }),

          // styles applied to all elements expect inputs based on Input component
          // styled are added with &:focus selector
          styles: (theme) => ({ outline: `2px solid ${theme.colors.orange[5]}` }),

          // focus styles applied to components that are based on Input
          // styled are added with &:focus selector
          inputStyles: (theme) => ({ outline: `2px solid ${theme.colors.orange[5]}` }),
        },
      }}
    >
      <Group grow>
        <Button>Move focus with tab</Button>
        <TextInput placeholder="Focus input to see styles override" />
      </Group>
    </MantineProvider>
  );
}

Responsive Header and Footer height

Header and Footer components now support responsive height:

import { Hea

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 3am on Monday" (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](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/DuckyMomo20012/react-template).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuNTQuMCJ9-->

@netlify
Copy link

netlify bot commented Nov 7, 2022

Deploy Preview for my-react-template ready!

Name Link
🔨 Latest commit 526ce65
🔍 Latest deploy log https://app.netlify.com/sites/my-react-template/deploys/63945bc2257ac4000977242b
😎 Deploy Preview https://deploy-preview-71--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 settings.

@renovate renovate bot force-pushed the renovate/all branch 12 times, most recently from b529599 to 743d300 Compare November 13, 2022 19:28
@renovate renovate bot force-pushed the renovate/all branch 10 times, most recently from 41a8dc9 to 7434548 Compare November 21, 2022 04:48
@renovate renovate bot force-pushed the renovate/all branch 7 times, most recently from 00cbca9 to 190b79a Compare November 23, 2022 20:33
@renovate renovate bot force-pushed the renovate/all branch 13 times, most recently from bbd6e5b to 7604322 Compare December 1, 2022 21:05
@renovate renovate bot force-pushed the renovate/all branch 12 times, most recently from 6dbe62e to 67e5c45 Compare December 9, 2022 11:40
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.

None yet

1 participant