mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2026-05-25 01:00:13 -04:00
* feat: prototype listbox grid layout * feat: apply listbox specific theme * refactor: wip * test: add null check * fix: merge conflict wip * refactor: merged master * fix: get column count from sizes * refactor: wip generalise even more * refactor: add back forgotten props * refactor: break out funcs * test: grid-list-components * test: derive options unit tests * test: styled components 1 * refactor: break out data loading * refactor: fixes to make it work * fix: include textAlign * test: cover new funcs with unit tests * test: horizontal min batch size * test: measure text * test: add test for grid component and clean up * Update apis/nucleus/src/components/listbox/assets/get-list-sizes.js Co-authored-by: Christian Veinfors <christian.veinfors@gmail.com> * Update apis/nucleus/src/components/listbox/components/ListBoxRowColumn.jsx Co-authored-by: Daniel Sjöstrand <99665802+DanielS-Qlik@users.noreply.github.com> * refactor: use default export * fix: move listCount fetch into search to ensure it is up to date * fix: lint fixes * test: fix failing test * test: fix failing test * test: update test for disclaimer * chore: try to change order of test:rendering * test: plywright * fix: render list also when disclaimer is shown * fix: ensure list count falls back to 0 * refactor: use typography for disclaimer Co-authored-by: Johan Lahti <johanlahti@gmail.com> Co-authored-by: Daniel Sjöstrand <99665802+DanielS-Qlik@users.noreply.github.com> Co-authored-by: Johan Lahti <johanlahti@users.noreply.github.com>
23 lines
724 B
JavaScript
23 lines
724 B
JavaScript
import React from 'react';
|
|
import { BrowserRouter, Routes, Route } from 'react-router-dom';
|
|
import { RootContextProvider } from '../contexts/RootContext';
|
|
|
|
import HubLayout from './Layouts/HubLayout';
|
|
import SelectEngine from './Hub/SelectEngine/SelectEngine';
|
|
import AppList from './Hub/AppList';
|
|
import Visualize from './Visualize/Visualize';
|
|
|
|
export const Root = () => (
|
|
<BrowserRouter>
|
|
<RootContextProvider>
|
|
<Routes>
|
|
<Route element={<HubLayout />}>
|
|
<Route path="/" element={<SelectEngine />} />
|
|
<Route path="/app-list" element={<AppList />} />
|
|
</Route>
|
|
<Route path="/dev" element={<Visualize />} />
|
|
</Routes>
|
|
</RootContextProvider>
|
|
</BrowserRouter>
|
|
);
|