Commit Graph

1234 Commits

Author SHA1 Message Date
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
Tobias Linsefors
9ca11fe5eb fix: confirm selection when object is removed (#1197) 2023-03-29 14:50:13 +02:00
caele
bb82663c84 chore(release): v4.0.0-alpha.6 🚀 v4.0.0-alpha.6 2023-03-28 20:32:05 +02:00
Tobias Åström
034be90b51 feat: add useEmitter and corresponding viz api (#1168)
* feat: add useEmitter and corresponding viz api

* chore: update spec

* chore: remove change to model

* chore: align names
2023-03-28 18:16:40 +02:00
Tobias Åström
65af64044c feat: chart bg colors and title styles from properties and theme (#1183)
* fix: show correct bg color from theme

* feat: show title styles in Nebula mashup

* chore: require theme

* chore: show titles in rendering test

* chore: set props in test correctly

* chore: set some font families

* chore: add font style support

* chore: fix tests

* chore: update image

* chore: use themed in sheet test

* chore: set separate bg color for sheet

* chore: proper prop

* chore: set sheet baseline
2023-03-28 18:16:25 +02:00
Tobias Åström
23b724065b feat: support listobjectDef in render session objects (#1194)
* feat: support listobjectDeg in render session objects

* chore: add test
2023-03-28 15:50:03 +02:00
Per Nylander
f4b83b6f81 test: adding some more rendering tests for listbox (#1192)
* test: adding some more rendering tests for list

* test: changed fixture and include histogram

* test: add grid rendering tests

* test: addition to gitignore

* test: add baselines
2023-03-28 11:15:42 +02:00
Tobias Linsefors
64a3b201dd fix: simplyfy html structure for text highlight (#1187)
* fix: simplyfy html structure for text highlight

move text highlight to a separate level of spans inside the labelText
remove the need check the text for direction (dir="auto" works)
makes it easier to style and less affected by other styling

* fix: hide correct end of text for text overflow
2023-03-24 16:30:59 +01:00
Purwa Shrivastava
b13e5421ac fix(lisbox): invalid dimension error message (#1188) 2023-03-24 16:14:55 +01:00
Tobias Linsefors
32101e251c fix: do ctrl-select on ctrl-space (#1186) 2023-03-24 15:45:34 +01:00
Quan Ho
05a272de45 fix(ListBox): show detached toolbar when layout.toolbar is false (#1185) 2023-03-24 15:24:13 +01:00
caele
72737e56be chore(release): v4.0.0-alpha.5 🚀 v4.0.0-alpha.5 2023-03-23 20:31:55 +01:00
Tobias Åström
3543a64dc7 fix: generic load function should work for existing charts (#1182)
* fix: generic load function should work for existing charts

* chore: fix test flag

* fix: show version error on failed load

* chore: get rid of warning
2023-03-23 20:19:31 +01:00
Christian Veinfors
cc532f99e2 test: add test-ids for testing (#1184) 2023-03-23 20:19:17 +01:00
Quan Ho
abb33a3cdb fix: fix search result in rtl mode (#1181) 2023-03-23 20:15:23 +01:00
Ashley Lesperance
0b014948b6 chore(translations): UI bus - 2023-03-21 (#1180)
- Update translations related to: e8a17b5 - fix: add tooltip lock button (#1158)
2023-03-23 17:00:16 +01:00
Quan Ho
e7b1cc785d fix: update style for higlighted text during search (#1179) 2023-03-23 14:09:58 +01:00
Quan Ho
b4fbaa89af fix: show search icon in edit mode if the search checkbox is on (#1177) 2023-03-23 12:35:24 +01:00
Quan Ho
5cf3dea9bc fix: update spacing for grid mode (#1176) 2023-03-22 16:39:16 +01:00
Daniel Sjöstrand
a15d56ac57 fix: null check rendered callback (#1174) 2023-03-22 12:20:58 +01:00
Quan Ho
9928f84360 fix: fix grid mode row spacing and lock icon (#1172) 2023-03-22 11:10:45 +01:00
caele
deeaddc79a chore(release): v4.0.0-alpha.4 🚀 v4.0.0-alpha.4 2023-03-21 16:58:39 +01:00
Daniel Sjöstrand
2ad8fda016 fix: add icon width only when present (#1166) 2023-03-21 15:41:27 +01:00
Christian Veinfors
d83e6e6451 refactor: adjust position of actions toolbar (#1170) 2023-03-21 15:40:29 +01:00
Tobias Linsefors
f49e4e2ec3 fix: wrap in square brackets if needed (#1171) 2023-03-21 15:03:45 +01:00
Tobias Åström
48736a8684 chore: update enigma (#1169)
* chore: update enigma

* chore: update schemas as well
2023-03-21 14:53:25 +01:00
Quan Ho
b7d38ce2c0 fix: do not show search box on selection (#1167)
* fix: do not show search box on selection

* fix: search box should be hidden on selection deactivated
2023-03-21 11:09:39 +01:00
caele
26e242ac0f chore(release): v4.0.0-alpha.3 🚀 v4.0.0-alpha.3 2023-03-20 20:09:54 +01:00
Christian Veinfors
4bdd762489 feat!: return promise from field mount fn (#1162)
* feat: return promise from field mount fn

* docs: update specs

* refactor: simplify logic
2023-03-20 20:08:16 +01:00
Christian Veinfors
39ec748512 feat: pick up enigmaMockerOptions from fixture (#1165) 2023-03-20 16:46:50 +01:00
Quan Ho
1ac8a87c38 fix: fix spacing for frequency count (#1164)
* fix: fix spacing for frequency count

* refactor: update rendering tests
2023-03-20 15:35:37 +01:00
Tobias Linsefors
62736818e3 feat: search & selectAll shortcuts (#1159) 2023-03-20 15:06:18 +01:00