Commit Graph

1265 Commits

Author SHA1 Message Date
Li Kang
63c4196c9c docs: fix links to qlik.dev (#1247) 2023-04-28 10:57:28 +02:00
Johan Lahti
ca46370b1b refactor: limit selection actions in direct query (#1246)
* refactor: compensate for checkboxes in item width

* test: search highlight rendering test

* refactor: disable some select actions in dq mode

* fix: rm test

* refactor: add flags fallback to context

* refactor: send flags through options instead of
  context

* refactor: rm flags completely
2023-04-27 12:12:15 +02:00
caele
6dbd394493 chore: update renovate 2023-04-27 09:33:53 +02:00
Niek van Staveren
35bef7049a test: update test structure nebula create (#1227)
* test: update test structure nebula create

* fix: remove nebula config
2023-04-26 14:49:43 +02:00
Tobias Åström
7243ee4b7a feat: add useInteractions and deprecate useContraints (#1196)
* feat: add useinteractions add deprecate usecontraints

* chore: add test file

* chore: conditionally assign things

* chore: fix test and add edit to serve

* chore: fix all the things

* chore: test fix

* chore: test fix

* chore: set back dev flag

* chore: change spec around a bit

* chore: guard against nebbie not being initialized

* chore: pr comments
2023-04-26 13:58:34 +02:00
Niek van Staveren
f7e2bfa2e7 fix: resolve server url to empty string (#1241) 2023-04-26 09:13:50 +02:00
Johan Lahti
91aa9fd4b1 test: search highlight rendering test (#1243)
* refactor: compensate for checkboxes in item width

* test: search highlight rendering test

* test: adapt and add scenario

* test: upload snapshots

* refactor: move snapshots to right place
2023-04-25 14:25:03 +02:00
renovate[bot]
02aa1a359d chore(deps): update dependency typescript to v5 (#1211)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-25 11:51:20 +02:00
dependabot[bot]
44829d7419 chore(deps): bump minimatch in /examples/sn-hello-react (#1239)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 11:04:13 +02:00
Johan Lahti
bde7d118d1 test: rendering test for keyboard nav in grid mode with all arrow keys (#1240)
* refactor: compensate for checkboxes in item width

* test: keyboard nav in grid mode rendering test

* test: upload snapshot

* test: rename with appending linux

* test: confirm selections to rm selections toolbar

* test: replace snapshot
2023-04-25 08:39:53 +02:00
dependabot[bot]
d3d23caceb chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#1236)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 14:49:36 +02:00
dependabot[bot]
7913e488d1 chore(deps): bump dns-packet from 5.3.1 to 5.6.0 (#1237)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 5.3.1 to 5.6.0.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v5.3.1...v5.6.0)

---
updated-dependencies:
- dependency-name: dns-packet
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 14:48:55 +02:00
dependabot[bot]
7a765fb1e0 chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#1238)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 14:48:26 +02:00
dependabot[bot]
1bc21e354d chore(deps): bump decode-uri-component in /examples/sn-hello-react (#1235)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 14:48:04 +02:00
Daniel Sjöstrand
0cea2be537 fix: add box-shadow to scrollbar when focus (#1234) 2023-04-24 14:08:21 +02:00
Johan Lahti
564336231a fix: prevent several text lines by using nowrap instead of pre (#1233)
* refactor: compensate for checkboxes in item width

* fix: prevent >1 lines

* fix: rm comment

* fix: push nowrap change in valuefield

* refactor: rely on default wrap
2023-04-24 13:19:43 +02:00
Daniel Sjöstrand
4df9595fb2 fix(listbox): detach toolbar on resize (#1232)
* fix: detach toolbar on resize

* fix: add logical or
2023-04-24 12:34:21 +02:00
Quan Ho
a3fafd2eed fix: support keyboard navigation (arrow key up/down) in grid mode (#1231) 2023-04-24 12:16:34 +02:00
Li Kang
557ba4623e feat: to be able to disable systemjs in build (#1230)
* feat: to be able to disable systemjs in build

* refactor: rename
2023-04-21 09:35:28 +02:00
Daniel Sjöstrand
779261053e test(listbox): add more rendering tests (#1223)
* test: add more rendering tests

* test: update baseline
2023-04-20 10:44:20 +02:00
Ashley Lesperance
6655119084 chore(translations): UI bus - 2023-03-31 (#1212) 2023-04-19 11:21:22 -07:00
Tobias Linsefors
6341023916 feat: add filterpane handler for creating filterpane objects (#1226) 2023-04-19 09:12:04 +02:00
Quan Ho
c6960d42df fix: fix Home/End navigation and focus (#1224) 2023-04-17 10:33:31 +02:00
Johan Lahti
476b75327c test(listbox): keyboard navigation rendering tests (#1220)
* refactor: compensate for checkboxes in item width

* test: render keyboard navigation

* fix: revert mashup change

* test: upload img

* fix: rm unncessary headless

* test: update snapshot
2023-04-14 16:15:47 +02:00
Johan Lahti
5067cf7d2c test(listbox): split up keyboard nav and add more unit tests (#1217)
* refactor: compensate for checkboxes in item width

* refactor: split up keyboard navigation

* test: check navigate between rows and confirm btn

* test: cover cmd F and A as well

* test: fix dep

* test: use imported keys

* test: import keys in unit test
2023-04-14 16:01:50 +02:00
Christian Veinfors
4041f477f8 chore(release): v4.0.0-alpha.9 🚀 v4.0.0-alpha.9 2023-04-14 14:50:58 +02:00
Tobias Linsefors
35210e76e8 fix: escape in toolbar (#1218) 2023-04-14 09:13:56 +02:00
Quan Ho
51b8cb1865 fix: fix rtl for histogram and checkbox and frequency count (#1221) 2023-04-13 17:48:48 +02:00
Quan Ho
8eabc25829 fix: support Enter to go from a folded listbox to a row (#1219) 2023-04-13 16:19:05 +02:00
Tobias Linsefors
33eaa57cf4 fix: refactor to work with Grid flex styling (#1216) 2023-04-12 10:52:39 +02:00
Tobias Linsefors
2c6ca59029 fix: make spacebar work on all buttons in action toolbar (#1215)
* fix: make spacebar work on all buttons in action toolbar

* fix: move spacebar check to keyUp (match MUI) and focus in more actions when opened
2023-04-06 09:29:14 +02:00
Tobias Åström
b3315d0e6b feat: create api (#1079)
* feat: initial create obj api

* chore: split create and generate

* chore: remove duplicate selector

* chore: set props to null at failed creation
2023-04-05 20:35:13 +02:00
Quan Ho
ff8d6e4a9f fix: change react-virtualized-auto-sizer to 1.0.7 to fix width problem (#1214) 2023-04-05 09:35:10 +02:00
caele
f8bf3d9036 chore(release): v4.0.0-alpha.8 🚀 v4.0.0-alpha.8 2023-04-03 20:36:09 +02:00
caele
c7acaa8b85 chore: adjust comment 2023-04-03 20:34:17 +02:00
Daniel Sjöstrand
957d96d83b feat(Listbox): tap range select (#1208)
* feat: wip select on multi tap

* refactor: wip use select from listbox

* refactor: wip, select on onTouchEnd

* fix: remove select ref

* fix: only range select if range is > 7

* test: add test

* fix: prevent gesture events in listbox
2023-04-03 15:04:29 +02:00
Purwa Shrivastava
2c62034b95 fix(listbox): show selection toolbar when listbox opens in popover (#1204) 2023-04-03 14:56:40 +02:00
Tobias Linsefors
e6119fd2c9 fix: leave focus unchanged on hover (#1206) 2023-04-03 14:18:22 +02:00
renovate[bot]
51785fb13f chore(deps): update minor and patch (#1210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 10:27:53 +00:00
Johan Lahti
fb92b14fad test(useTempKeyboard): add unit tests and refactor (#1209)
* refactor: compensate for checkboxes in item width

* test: useTempKeyboard
  refactor: skip useState for active state

* refactor: revert to old useState and fix unit test

* Update apis/nucleus/src/components/listbox/components/useTempKeyboard.js
---------
Co-authored-by: Tobias Linsefors <T-Wizard@users.noreply.github.com>
2023-04-03 11:11:57 +02:00
Johan Lahti
bd844cba08 fix(listbox): shift tab on container should take you to cell (#1207) 2023-03-31 17:02:12 +02:00
caele
a6cf04ffd0 chore(release): v4.0.0-alpha.7 🚀 v4.0.0-alpha.7 2023-03-30 20:53:43 +02:00
Christian Veinfors
6a89f99dd0 docs: ignore jsdoc that is not part if api (#1205) 2023-03-30 20:52:41 +02:00
Johan Lahti
5d1399f014 refactor: add basic screen reader support and keyboard nav improvements (#1178)
* refactor: compensate for checkboxes in item width

* refactor: announce selected and count

* refactor: value and frequency

* refactor: shift tab for confirm select

* refactor: focus search or confirm button

* refactor: fix and update tests

* refactor: translations

* refactor: break out keyboard and improve nav

* refactor: avoid confusion by predefining tab stop
  action

* fix: ensure search focus cycle

* fix: do not prevent keydown in search

* refactor: improvements and fixes

* fix: modularise

* fix: make esc go to parent cell

* fix: ensure we remove last focused on blur

* test: fix keyboard test

* fix: ensure loop

* fix: don't stop propagation for F

* refactor: fix translations to our use-case

* fix: revert prevent default

* refactor: fix loop

* test: fix

* fix: always prevent event for space

* fix: use target when checking where focus is

* refactor: prevent keyboard nav when not enabled

* refactor: add arrow navigation for action toolbar

* fix: always handle keys for scrolling

* fix: f and F should slip through

* fix: use-correct selector
2023-03-30 20:24:26 +02:00
Tobias Linsefors
2a457da7bf fix: shouldForwardProp to fix React warning (#1201) 2023-03-30 19:28:20 +02:00
Christian Veinfors
a92bc58a66 refactor: adjust action toolbar position (#1203) 2023-03-30 19:27:25 +02:00
Christian Veinfors
5a52defb92 test: add data-testid for search input field (#1202) 2023-03-30 15:44:35 +02:00
Tobias Linsefors
fc530177da test: fix and enable useObjectSelection tests (#1198) 2023-03-30 10:19:55 +02:00
Tobias Åström
2ae60c39ba fix: add emitter to types (#1200)
* fix: add emitter to types

* chore: add link to node eventemitter
2023-03-30 09:11:01 +02:00
Quan Ho
5f6148cdee refactor: avoid defining a component inside another component (#1199) 2023-03-30 08:54:11 +02:00