dependabot[bot]
345be3fe0a
chore(deps-dev): bump @callstack/eslint-config from 14.2.0 to 15.0.0 ( #1650 )
...
* chore(deps-dev): bump @callstack/eslint-config from 14.2.0 to 15.0.0
Bumps [@callstack/eslint-config](https://github.com/callstack/eslint-config-callstack ) from 14.2.0 to 15.0.0.
- [Release notes](https://github.com/callstack/eslint-config-callstack/releases )
- [Commits](https://github.com/callstack/eslint-config-callstack/compare/v14.2.0...v15.0.0 )
---
updated-dependencies:
- dependency-name: "@callstack/eslint-config"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore: fix lint issues
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
2024-09-03 10:04:34 +02:00
Maciej Jastrzebski
22ec13d0e5
refactor: accessibility handling ( #1658 )
...
* refactor: improve code structure
* refactor: more tweaks
2024-09-03 09:41:47 +02:00
Maciej Jastrzebski
4112abcf0a
feat: simulated native TextInput state ( #1653 )
...
* feat: basic text input state
* refactor: self code review
* refactor: code review changes
2024-09-03 09:15:14 +02:00
Maciej Jastrzębski
899de72aaf
chore: release 12.6.1
v12.6.1
2024-08-28 10:15:07 +02:00
Maciej Jastrzebski
b6c33d0082
refactor: remove real timers warning in User Event ( #1654 )
...
* refactor: remove real timers warning in User Event
* chore: tweak docs
2024-08-28 10:02:19 +02:00
Vojtech Novak
239e046798
docs: add missing assignment in render.mdx ( #1649 )
...
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
2024-08-25 17:16:00 +02:00
Maciej Jastrzębski
3b098b2592
chore: release 12.6.0
v12.6.0
2024-08-16 16:53:46 +02:00
Maciej Jastrzebski
4c1f6cd6ae
chore: package.json cleanup ( #1648 )
2024-08-16 16:50:41 +02:00
Maciej Jastrzebski
38bceed25b
feat: user event paste ( #1646 )
2024-08-16 16:44:58 +02:00
Maciej Jastrzebski
46350912d3
chore: upgrade RN ( #1647 )
2024-08-16 16:41:49 +02:00
Maciej Jastrzebski
f0df2994df
feat: remove 'textInput' event from UserEvent type() ( #1645 )
2024-08-13 20:30:48 +02:00
Maciej Jastrzębski
450e750515
[v13] chore: increase required React et al. versions
2024-08-12 23:07:48 +02:00
Maciej Jastrzebski
b5cfb98854
[v13] chore: remove debug shallow ( #1601 )
2024-08-12 22:51:23 +02:00
Maciej Jastrzebski
b797cf4cc5
[v13] chore: remove react 16 & 17 code ( #1602 )
...
* chore: remove React 16 & 17 code
chore: remove more
chore: react version 18.3.1
docs: migration guide
* refactor: finish merge
2024-08-12 22:51:23 +02:00
Maciej Jastrzebski
398f09a1c9
[v13] chore: remove deprecated stuff ( #1603 )
...
* chore: remove flush microtask legacy
* chore: remove deprecated *ByAccessibilityState, *ByAccessibilityValue queries
* chore: add docs
* docs: add docs
2024-08-12 22:50:25 +02:00
Maciej Jastrzebski
430213faa4
chore: check React Native 0.75 compatibility & deps upgrade ( #1643 )
2024-08-12 22:43:19 +02:00
Maciej Jastrzębski
1311d6612d
chore: release 12.5.3
v12.5.3
2024-08-09 15:54:59 +02:00
Maciej Jastrzebski
63035b80da
chore: remove broken experiments-rtl app ( #1642 )
2024-08-09 15:52:36 +02:00
Joshua Yoes
6a51a81728
fix: Respect maxLength prop in type() function ( #1641 )
...
* fix: Respect maxLength prop in type() function
This commit modifies the `type()` function to respect the `maxLength` prop of the input element. If the current text length exceeds the `maxLength` value, typing events will not be emitted. This ensures that the input value does not exceed the specified maximum length.
1. Create an input element with a `maxLength` prop.
2. Use the `type()` function to input text that exceeds the `maxLength` value.
3. Verify that the input value does not exceed the specified maximum length.
4. Check that no typing events are emitted once the `maxLength` is reached.
Additionally, see that `yarn test` passes with an additional test added to `src/user-event/type/__tests__/type.test.tsx`
* refactor: code review changes
* refactor: tweaks
* refactor: final tweaks
* refactor: final tweaks 2
* chore: tweak codecov
---------
Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com >
2024-08-09 15:49:05 +02:00
Maciej Jastrzębski
6cc4c0ca69
chore: release 12.5.2
v12.5.2
2024-07-26 09:39:12 +02:00
Maciej Jastrzebski
be31579991
fix: toBeVisible edge case for style values ( #1640 )
2024-07-26 09:32:22 +02:00
Steve Galili
2f4568a29b
chore: revamp the cookbook app ( #1635 )
...
* create a Jotai examples dir in cookbook with related utils, add state management recipes dir
* add docs with examples
* extract state from component to state, utils, simplify types and custom render func.
* refactor: tweaks & cleanup
* make cookbook app runnable
* update yarn.lock file
* fix TS issue and spelling
* remove duplicate files and adjust testMatch in config to ensure no utils test run
---------
Co-authored-by: stevegalili <steve.galili@mywheels.nl >
refactor: tweak cookbook (#1636 )
* refactor: move files around
* refactor: simplify
* chore: remove custom fonts
* chore: tweak eslint
* chore: update yarn.lock
2024-07-16 11:23:36 +02:00
Steve Galili
d31c05aee3
docs: add jotai to cookbook ( #1634 )
...
* create a Jotai examples dir in cookbook with related utils, add state management recipes dir
* add docs with examples
* extract state from component to state, utils, simplify types and custom render func.
* refactor: tweaks & cleanup
---------
Co-authored-by: stevegalili <steve.galili@mywheels.nl >
Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com >
2024-07-12 14:39:24 +02:00
Maciej Jastrzebski
01d319c577
docs: async tests [Cookbook] ( #1631 )
...
* wip: async tests
* docs: tweaks
* docs: final tweaks
2024-06-21 10:13:01 +02:00
Maciej Jastrzebski
723c8e2c04
docs: basic cookbook docs and app ( #1622 )
...
* docs: basic cookbook docs and app
* chore: add tests
* chore: enable example apps
* chore: fix typecheck
* chore: add lint & fix issues
* docs: tweaks
* docs: tweaks
* docs: tweaks
* chore: tweaks
2024-05-28 12:24:05 +02:00
Maciej Jastrzebski
e418b6b5bf
chore: enable test example apps workflow ( #1623 )
2024-05-27 22:58:08 +02:00
Maciej Jastrzebski
64e1e32737
docs: fix readme ( #1620 )
...
* docs: fix readme
* docs: tweak home page
2024-05-24 19:22:30 +02:00
Maciej Jastrzebski
e8b800b62d
chore: fix owl logo ( #1619 )
2024-05-24 18:56:37 +02:00
Maciej Jastrzebski
49618c6019
docs: fix links ( #1618 )
2024-05-24 15:33:28 +02:00
Maciej Jastrzebski
3cdfb8561d
docs: migrate docs to RSPress ( #1617 )
...
* chore: copy Re.pack docs
* chore: global configs
* docs: migrate getting started
* chore: migrate intro
* docs: move migration guides
* chore: remove some unused things
* docs: move API
* docs: re-organize docs
* docs: re-organize
* chore: fix file refs
* docs: tweaks and fixes
* docs: reorganize docs
* chore: replace website
* chore: deploy script
2024-05-24 15:14:01 +02:00
Maciej Jastrzębski
4c9a8e1195
chore: release 12.5.1
v12.5.1
2024-05-23 13:39:27 +02:00
Maciej Jastrzebski
a5a0816d88
chore: rename ci workflow ( #1615 )
...
* chore: rename CI workflow for badge clarity
* chore: update badge
2024-05-23 13:37:08 +02:00
Maciej Jastrzebski
0e129296ce
chore: readme tweaks ( #1614 )
...
* chore: readme tweaks
* chore: tweak
2024-05-23 12:57:44 +02:00
Artem S
76de7d2b2e
fix: immediate setState in useEffect for unstable_validateStringsRenderedWithinText ( #1612 )
...
* fix: immediate setState in useEffect for unstable_validateStringsRenderedWithinText
* refactor: tweaks
---------
Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com >
2024-05-23 12:17:30 +02:00
Maciej Jastrzebski
1b732d6d49
chore: remove stale examples ( #1608 )
2024-05-07 15:04:10 +02:00
Maciej Jastrzebski
a0aa92f06e
chore: upgrade deps 2024-05-05 ( #1606 )
2024-05-06 17:39:04 +02:00
Maciej Jastrzebski
5217c9798f
chore: upgrade yarn to 4.2.1 ( #1604 )
...
* chore: upgrade yarn to 4.2.1
* chore: fix ci
2024-05-04 00:05:36 +02:00
Maciej Jastrzebski
913a19bbcb
docs: API overview tweaks ( #1599 )
...
* docs: api overview tweaks
* docs: update README
2024-04-30 11:07:41 +02:00
Maciej Jastrzebski
8ecd1c5966
Update README.md
2024-04-30 10:50:46 +02:00
Maciej Jastrzebski
6a623a82e2
docs: update README ( #1598 )
2024-04-30 10:49:24 +02:00
Maciej Jastrzebski
accac2f29a
docs: tweaks
2024-04-30 10:44:28 +02:00
Maciej Jastrzebski
f2b4754fca
docs: update README
2024-04-30 10:44:05 +02:00
Maciej Jastrzebski
75efa72c59
docs: api overview page
2024-04-30 10:40:11 +02:00
Maciej Jastrzebski
70ee4fdd0f
chore: release 12.5.0
v12.5.0
2024-04-29 22:58:51 +02:00
Maciej Jastrzebski
39dc756901
chore: update deps ( #1597 )
2024-04-29 22:54:33 +02:00
Maciej Jastrzebski
9488dcc622
feat: by role ts hints ( #1596 )
...
* feat: autocomplete
* refactor: cleanup
* chore: fix typos
2024-04-29 22:30:01 +02:00
Maciej Jastrzebski
16b9e493f7
refactor: pass through Test Renderer options ( #1594 )
2024-04-26 23:14:43 +02:00
Maciej Jastrzebski
ec032b0fc2
fix: proper act usage ( #1592 )
...
* fix: use proper act
# Conflicts:
# src/render-act.ts
* fix: user event missing act on min press duration
* chore: add button test
* chore: spellcheck
2024-04-26 22:55:47 +02:00
Maciej Jastrzebski
f7e3b1a907
fix: expose common base synthetic event methods ( #1589 )
...
* fix: add stup base synthetic event methods
* chore: update snapshots
* refactor: self code review
* refactor: improvements
* chore: add test
2024-04-26 21:38:32 +02:00
Italo A
b9c9d041ba
fix: Rally Health link into readme ( #1591 )
2024-04-26 17:27:03 +02:00