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

Update all non-major dependencies #2192

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 28, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@babel/core (source) 7.24.5 -> 7.24.7 age adoption passing confidence
@babel/preset-typescript (source) 7.24.1 -> 7.24.7 age adoption passing confidence
@babel/runtime (source) 7.24.5 -> 7.24.7 age adoption passing confidence
@blueprintjs/core (source) 5.10.1 -> 5.10.3 age adoption passing confidence
@blueprintjs/datetime2 (source) 2.3.3 -> 2.3.5 age adoption passing confidence
@blueprintjs/select (source) 5.1.3 -> 5.1.5 age adoption passing confidence
@mantine/hooks (source) 7.7.1 -> 7.10.1 age adoption passing confidence
@octokit/rest 20.0.2 -> 20.1.1 age adoption passing confidence
@sentry/browser (source) 7.107.0 -> 7.116.0 age adoption passing confidence
@tanstack/react-table (source) 8.12.0 -> 8.17.3 age adoption passing confidence
@testing-library/jest-dom 6.3.0 -> 6.4.5 age adoption passing confidence
@testing-library/react 14.0.0 -> 14.3.1 age adoption passing confidence
@testing-library/user-event 14.4.3 -> 14.5.2 age adoption passing confidence
@types/gapi (source) ^0.0.44 -> ^0.0.47 age adoption passing confidence
@types/gapi.auth2 (source) ^0.0.57 -> ^0.0.60 age adoption passing confidence
@types/google.picker (source) ^0.0.39 -> ^0.0.42 age adoption passing confidence
@types/lodash (source) 4.17.0 -> 4.17.4 age adoption passing confidence
@types/react (source) 18.2.66 -> 18.3.3 age adoption passing confidence
@types/react-dom (source) 18.2.22 -> 18.3.0 age adoption passing confidence
@types/react-syntax-highlighter (source) 15.5.11 -> 15.5.13 age adoption passing confidence
@types/react-test-renderer (source) 18.0.7 -> 18.3.0 age adoption passing confidence
ace-builds 1.15.3 -> 1.34.2 age adoption passing confidence
ag-grid-community (source) 31.1.1 -> 31.3.2 age adoption passing confidence
ag-grid-react (source) 31.1.1 -> 31.3.2 age adoption passing confidence
eslint (source) 9.1.1 -> 9.4.0 age adoption passing confidence
eslint-plugin-react 7.34.1 -> 7.34.2 age adoption passing confidence
eslint-plugin-react-hooks (source) 5.1.0-canary-cb151849e1-20240424 -> 5.1.0-rc-f994737d14-20240522 age adoption passing confidence
eslint-plugin-react-refresh 0.4.6 -> 0.4.7 age adoption passing confidence
eslint-plugin-simple-import-sort 12.0.0 -> 12.1.0 age adoption passing confidence
i18next (source) 23.11.2 -> 23.11.5 age adoption passing confidence
konva (source) 9.2.0 -> 9.3.11 age adoption passing confidence
mdast-util-from-markdown 2.0.0 -> 2.0.1 age adoption passing confidence
npm-run-all2 6.1.2 -> 6.2.0 age adoption passing confidence
phaser (source) 3.55.2 -> 3.80.1 age adoption passing confidence
prettier (source) ~3.0.0 -> ~3.3.0 age adoption passing confidence
re-resizable 6.9.11 -> 6.9.17 age adoption passing confidence
react (source) 18.2.0 -> 18.3.1 age adoption passing confidence
react-dom (source) 18.2.0 -> 18.3.1 age adoption passing confidence
react-i18next 14.1.0 -> 14.1.2 age adoption passing confidence
react-router-dom (source) 6.22.3 -> 6.23.1 age adoption passing confidence
react-simple-keyboard (source) 3.7.94 -> 3.7.127 age adoption passing confidence
react-test-renderer (source) 18.2.0 -> 18.3.1 age adoption passing confidence
sass 1.72.0 -> 1.77.4 age adoption passing confidence
typescript (source) 5.4.3 -> 5.4.5 age adoption passing confidence
typescript-eslint (source) 7.8.0 -> 7.12.0 age adoption passing confidence
webpack-bundle-analyzer 4.10.1 -> 4.10.2 age adoption passing confidence

Release Notes

babel/babel (@​babel/core)

v7.24.7

Compare Source

🐛 Bug Fix
🏠 Internal
  • babel-helpers, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

v7.24.6

Compare Source

🐛 Bug Fix
  • babel-helper-create-class-features-plugin, babel-plugin-transform-class-properties
  • babel-core, babel-generator, babel-plugin-transform-modules-commonjs
  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators
  • babel-helpers, babel-plugin-proposal-decorators, babel-runtime-corejs3
  • babel-parser, babel-plugin-transform-typescript
🏠 Internal
  • babel-core, babel-helpers, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime
  • babel-helpers
  • babel-cli, babel-helpers, babel-plugin-external-helpers, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime
  • babel-parser, babel-traverse
  • Other
palantir/blueprint (@​blueprintjs/core)

v5.10.3

Compare Source

v5.10.2

Compare Source

palantir/blueprint (@​blueprintjs/datetime2)

v2.3.5

Compare Source

v2.3.4

Compare Source

palantir/blueprint (@​blueprintjs/select)

v5.1.5

Compare Source

v5.1.4

Compare Source

mantinedev/mantine (@​mantine/hooks)

v7.10.1

Compare Source

What's Changed
  • [@mantine/charts] BarChart: Add waterfall type (#​6231)
  • [@mantine/form] Fix form.setFieldError called inside form.onSubmit not working correctly in some cases (#​6101)
  • [@mantine/core] SegmentedControl: Fix false error reported by React 18.3+ for incorrect key prop usage
  • [@mantine/hooks] use-fetch: Fix incorrect error handling (#​6278)
  • [@mantine/core] Fix bd style prop not being applied in some components (#​6282)
  • [@mantine/core] NumberInput: Fix incorrect leading zeros handling (#​6232)
  • [@mantine/core] NumberInput: Fix incorrect logic while editing decimal values (#​6232)
  • [@mantine/core] ScrollArea: Fix scrollbar flickering on reveal with hover and scroll types (#​6218)
  • [@mantine/hooks] Update use-throttled-* hooks to emit updates on trailing edges (#​6257)
  • [@mantine/core] Input: Add inputSize prop to set size html attribute on the input element
New Contributors

Full Changelog: mantinedev/mantine@7.10.0...7.10.1

v7.10.0: 😎

Compare Source

View changelog with demos on mantine.dev website

Tree component

New Tree component:

import { IconFolder, IconFolderOpen } from '@​tabler/icons-react';
import { Group, RenderTreeNodePayload, Tree } from '@​mantine/core';
import { CssIcon, NpmIcon, TypeScriptCircleIcon } from '@​mantinex/dev-icons';
import { data, dataCode } from './data';
import classes from './Demo.module.css';

interface FileIconProps {
  name: string;
  isFolder: boolean;
  expanded: boolean;
}

function FileIcon({ name, isFolder, expanded }: FileIconProps) {
  if (name.endsWith('package.json')) {
    return <NpmIcon size={14} />;
  }

  if (name.endsWith('.ts') || name.endsWith('.tsx') || name.endsWith('tsconfig.json')) {
    return <TypeScriptCircleIcon size={14} />;
  }

  if (name.endsWith('.css')) {
    return <CssIcon size={14} />;
  }

  if (isFolder) {
    return expanded ? (
      <IconFolderOpen color="var(--mantine-color-yellow-9)" size={14} stroke={2.5} />
    ) : (
      <IconFolder color="var(--mantine-color-yellow-9)" size={14} stroke={2.5} />
    );
  }

  return null;
}

function Leaf({ node, expanded, hasChildren, elementProps }: RenderTreeNodePayload) {
  return (
    <Group gap={5} {...elementProps}>
      <FileIcon name={node.value} isFolder={hasChildren} expanded={expanded} />
      <span>{node.label}</span>
    </Group>
  );
}

function Demo() {
  return (
    <Tree
      classNames={classes}
      selectOnClick
      clearSelectionOnOutsideClick
      data={data}
      renderNode={(payload) => <Leaf {...payload} />}
    />
  );
}
form.getInputNode

New form.getInputNode(path) handler returns input DOM node for the given field path.
Form example, it can be used to focus input on form submit if there is an error:

import { Button, Group, TextInput } from '@&#8203;mantine/core';
import { isEmail, isNotEmpty, useForm } from '@&#8203;mantine/form';

function Demo() {
  const form = useForm({
    mode: 'uncontrolled',
    initialValues: {
      name: '',
      email: '',
    },

    validate: {
      name: isNotEmpty('Name is required'),
      email: isEmail('Invalid email'),
    },
  });

  return (
    <form
      onSubmit={form.onSubmit(
        (values) => console.log(values),
        (errors) => {
          const firstErrorPath = Object.keys(errors)[0];
          form.getInputNode(firstErrorPath)?.focus();
        }
      )}
    >
      <TextInput
        withAsterisk
        label="Your name"
        placeholder="Your name"
        key={form.key('name')}
        {...form.getInputProps('name')}
      />

      <TextInput
        withAsterisk
        label="Your email"
        placeholder="your@email.com"
        key={form.key('email')}
        {...form.getInputProps('email')}
      />

      <Group justify="flex-end" mt="md">
        <Button type="submit">Submit</Button>
      </Group>
    </form>
  );
}
Container queries in SimpleGrid

You can now use container queries
in SimpleGrid component. With container queries, grid columns and spacing
will be adjusted based on the container width, not the viewport width.

Example of using container queries. To see how the grid changes, resize the root element
of the demo with the resize handle located at the bottom right corner of the demo:

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

function Demo() {
  return (
    // Wrapper div is added for demonstration purposes only,
    // it is not required in real projects
    <div style={{ resize: 'horizontal', overflow: 'hidden', maxWidth: '100%' }}>
      <SimpleGrid
        type="container"
        cols={{ base: 1, '300px': 2, '500px': 5 }}
        spacing={{ base: 10, '300px': 'xl' }}
      >
        <div>1</div>
        <div>2</div>
        <div>3</div>
        <div>4</div>
        <div>5</div>
      </SimpleGrid>
    </div>
  );
}
Checkbox and Radio indicators

New Checkbox.Indicator and Radio.Indicator
components look exactly the same as Checkbox and Radio components, but they do not
have any semantic meaning, they are just visual representations of checkbox and radio states.

Checkbox.Indicator component:

import { Checkbox, Group } from '@&#8203;mantine/core';

function Demo() {
  return (
    <Group>
      <Checkbox.Indicator />
      <Checkbox.Indicator checked />
      <Checkbox.Indicator indeterminate />
      <Checkbox.Indicator disabled />
      <Checkbox.Indicator disabled checked />
      <Checkbox.Indicator disabled indeterminate />
    </Group>
  );
}

Radio.Indicator component:

import { Group, Radio } from '@&#8203;mantine/core';

function Demo() {
  return (
    <Group>
      <Radio.Indicator />
      <Radio.Indicator checked />
      <Radio.Indicator disabled />
      <Radio.Indicator disabled checked />
    </Group>
  );
}
Checkbox and Radio cards

New Checkbox.Card and Radio.Card
components can be used as replacements for Checkbox and Radio to build custom cards/buttons/etc.
that work as checkboxes and radios. Components are accessible by default and support the same
keyboard interactions as input[type="checkbox"] and input[type="radio"].

Checkbox.Card component:

import { useState } from 'react';
import { Checkbox, Group, Text } from '@&#8203;mantine/core';
import classes from './Demo.module.css';

function Demo() {
  const [checked, setChecked] = useState(false);

  return (
    <Checkbox.Card
      className={classes.root}
      radius="md"
      checked={checked}
      onClick={() => setChecked((c) => !c)}
    >
      <Group wrap="nowrap" align="flex-start">
        <Checkbox.Indicator />
        <div>
          <Text className={classes.label}>@&#8203;mantine/core</Text>
          <Text className={classes.description}>
            Core components library: inputs, buttons, overlays, etc.
          </Text>
        </div>
      </Group>
    </Checkbox.Card>
  );
}

Checkbox.Card component with Checkbox.Group:

import { useState } from 'react';
import { Checkbox, Group, Stack, Text } from '@&#8203;mantine/core';
import classes from './Demo.module.css';

const data = [
  {
    name: '@&#8203;mantine/core',
    description: 'Core components library: inputs, buttons, overlays, etc.',
  },
  { name: '@&#8203;mantine/hooks', description: 'Collection of reusable hooks for React applications.' },
  { name: '@&#8203;mantine/notifications', description: 'Notifications system' },
];

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

  const cards = data.map((item) => (
    <Checkbox.Card className={classes.root} radius="md" value={item.name} key={item.name}>
      <Group wrap="nowrap" align="flex-start">
        <Checkbox.Indicator />
        <div>
          <Text className={classes.label}>{item.name}</Text>
          <Text className={classes.description}>{item.description}</Text>
        </div>
      </Group>
    </Checkbox.Card>
  ));

  return (
    <>
      <Checkbox.Group
        value={value}
        onChange={setValue}
        label="Pick packages to install"
        description="Choose all packages that you will need in your application"
      >
        <Stack pt="md" gap="xs">
          {cards}
        </Stack>
      </Checkbox.Group>

      <Text fz="xs" mt="md">
        CurrentValue: {value.join(', ') || '–'}
      </Text>
    </>
  );
}

Radio.Card component:

import { useState } from 'react';
import { Group, Radio, Text } from '@&#8203;mantine/core';
import classes from './Demo.module.css';

function Demo() {
  const [checked, setChecked] = useState(false);

  return (
    <Radio.Card
      className={classes.root}
      radius="md"
      checked={checked}
      onClick={() => setChecked((c) => !c)}
    >
      <Group wrap="nowrap" align="flex-start">
        <Radio.Indicator />
        <div>
          <Text className={classes.label}>@&#8203;mantine/core</Text>
          <Text className={classes.description}>
            Core components library: inputs, buttons, overlays, etc.
          </Text>
        </div>
      </Group>
    </Radio.Card>
  );
}

Radio.Card component with Radio.Group:

import { useState } from 'react';
import { Group, Radio, Stack, Text } from '@&#8203;mantine/core';
import classes from './Demo.module.css';

const data = [
  {
    name: '@&#8203;mantine/core',
    description: 'Core components library: inputs, buttons, overlays, etc.',
  },
  { name: '@&#8203;mantine/hooks', description: 'Collection of reusable hooks for React applications.' },
  { name: '@&#8203;mantine/notifications', description: 'Notifications system' },
];

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

  const cards = data.map((item) => (
    <Radio.Card className={classes.root} radius="md" value={item.name} key={item.name}>
      <Group wrap="nowrap" align="flex-start">
        <Radio.Indicator />
        <div>
          <Text className={classes.label}>{item.name}</Text>
          <Text className={classes.description}>{item.description}</Text>
        </div>
      </Group>
    </Radio.Card>
  ));

  return (
    <>
      <Radio.Group
        value={value}
        onChange={setValue}
        label="Pick one package to install"
        description="Choose a package that you will need in your application"
      >
        <Stack pt="md" gap="xs">
          {cards}
        </Stack>
      </Radio.Group>

      <Text fz="xs" mt="md">
        CurrentValue: {value || '–'}
      </Text>
    </>
  );
}
bd style prop

New bd style prop can be used to set border CSS property.
It is available in all components that support style props.

Border width value is automatically converted to rem. For border color you can reference
theme colors similar to other style props:

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

function Demo() {
  return <Box bd="1px solid red.5" />;
}

v7.9.2

Compare Source

What's Changed

  • [@mantine/dates] DateTimePicker: Fix some of timeInputProps not being respected (#​6204)
  • [@mantine/core] NavLink: Add react-router support to display active route (#​6180)
  • [@mantine/core] Fix nonce attribute not being set on <style /> tag generated in color scheme switching script
  • [@mantine/core] Input: Fix incorrect margins when input wrapper order is explicitly set
  • [@mantine/core] Pagination: Fix types definition being incompatible with @​tabler/icons-react 3.x
  • [@mantine/charts] Fix incorrect tooltip position in LineChart, AreaChart and BarChart with vertical orientation
  • [@mantine/core] Rating: Fix readOnly prop now working on touch devic

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

@renovate renovate bot added the dependencies This pull request updates dependency files label Aug 28, 2022
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 19 times, most recently from 22e03b5 to 3077d25 Compare September 4, 2022 04:08
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 10 times, most recently from 66a1592 to b604b6c Compare September 7, 2022 16:11
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 13 times, most recently from 7053f6d to bc56514 Compare May 24, 2024 01:04
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 9 times, most recently from 0167f66 to 0764b83 Compare May 31, 2024 01:49
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from a7182c1 to fbd333e Compare June 5, 2024 16:46
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from fbd333e to b5b6cbd Compare June 6, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies This pull request updates dependency files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant