1.0.0 • Published 6 months ago

@taktikangea/sint-minima v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

npm version

React Virtuoso is the most powerful React virtual list/table component, full stop. Here's why:

For live examples and documentation, check the documentation website.

Sponsors

If you are using Virtuoso for work, sponsor it. Any donation helps a lot with the project development and maintenance.

Get Started

npm install react-virtuoso
import * as React from 'react'
import * as ReactDOM from 'react-dom'
import { Virtuoso } from 'react-virtuoso'

const App = () => {
  return <Virtuoso style={{ height: '400px' }} totalCount={200} itemContent={index => <div>Item {index}</div>} />
}

ReactDOM.render(<App />, document.getElementById('root'))

Grouped Mode

The GroupedVirtuoso component is a variant of the "flat" Virtuoso, with the following differences:

  • Instead of totalCount, the component exposes groupCounts: number[] property, which specifies the amount of items in each group. For example, passing [20, 30] will render two groups with 20 and 30 items each;
  • In addition the itemContent property, the component requires an additional groupContent property, which renders the group header. The groupContent callback receives the zero-based group index as a parameter.

Grid

The VirtuosoGrid component displays same sized items in multiple columns. The layout and item sizing is controlled through CSS class properties, which allows you to use media queries, min-width, percentage, etc.

Table

The TableVirtuoso component works just like Virtuoso, but with HTML tables. It supports window scrolling, sticky headers, sticky columns, and works with React Table and MUI Table.

Works With Your UI Library of Choice

You can customize the markup up to your requirements - check the Material UI list demo. If you need to support reordering, check the React Sortable HOC example.

Documentation and Demos

For in-depth documentation and live examples of the supported features and live demos, check the documentation website.

Browser support

To support legacy browsers, you might have to load a ResizeObserver Polyfill before using react-virtuoso:

import ResizeObserver from 'resize-observer-polyfill'
if (!window.ResizeObserver)
  window.ResizeObserver = ResizeObserver

Author

Petyo Ivanov @petyosi.

Contributing

Fixes and new Features

To run the tests, use npm run test. An end-to-end browser-based test suite is runnable with npm run e2e, with the pages being e2e/*.tsx and the tests e2e/*.test.ts.

A convenient way to debug something is to preview the test cases in the browser. To do that, run npm run browse-examples - it will open a crude UI that lets you browse the components in the e2e folder.

Docs

The documentation site is built with docusaurus and the content is available in the site/docs directory. The API reference is generated from the doc comments in src/components.tsx.

License

MIT License.

key parcryptoarraytypescripthttpECMAScript 6descriptors256serializeexpressiondirsyntaxerrorfilteraccessibilityECMAScript 2022inputbinregexplengthsharedeslintconfigwaapiawsjoifunctionalwaiteventDispatcherstylingautoscalingjshintglacierJSONrdstapecensorincludeslookESnextclassnamegetOwnPropertyDescriptores8objectendpointfast-copyloggerieES6formattingUnderscoreponyfillgetterrm -frexecuteinferenceespreecontainsfront-endupfssymlinksbyteOffsetreducearktypeinvariant$.extendbeanstalkwritabledefinecircularURLSearchParamsio-tsglobalslrudropRegExp#flagsdependenciesspeedpinotaketypedarrayssimpledbelbtoobjectprefixrmdirlanguagesearchdayjsreadbinaryimmeracornomitsinatraprivate datawafnamelistenersSymbolthreeinstrumentationredux-toolkitutilsdescriptortypeString.prototype.matchAllfindLasttermparsernpmstoragegatewaypackage.jsonzerosameValueZeromkdirpmetadatacodesec2characterlogreadableeslint-pluginefficienttraversewidthhas-ownmoveprettylockfilepolyfilltypanionrouter3decmascripttrimaccessornativenodejsproxytesthtmlemrlocalhookformconsumecommandansicolorsfnmatchbytefantasy-landawesomesaucesnsfolderprunefixed-widthposel10nclass-validatormatchesprocesseventsdeepcopyvalidateclonepnpm9es-shimsfull-widthicubyteLengthrecursivextermlastrssmockemitpackagechildtostringtagWeakMapautoprefixerexpressassertionownECMAScript 2016pathreact poseincssECMAScript 7astkeyminimalcurlxhrAsyncIteratorstyleguideObject.definePropertyArray.prototype.findLastIndexbundlerphonetransformpromiseES2020flatfullwidth_.extendremoveinspectCSStapdragrmxmlfunctionsreducerflagsclientdeterministicconfigvisualbannercollectionelectronsliceloadingReactiveXworkflowserializationstringifierclassnamesmergesource mapsortObservables.gitignoreestreesettingsforkchaiECMAScript 5fastcopyintrinsicmonorepoReflect.getPrototypeOfgetPrototypeOftypedarraywritedeepescapefind-upgraphqlJSON-SchemaidentifiersconsolefigletECMAScript 2021subprocessroute53envdeep-clonebuffersidexecfilenpmignoreString.prototype.trimform-validationcall-boundcallfile cacheStreamsisURLcloudsearchcjkconcatMapcloudtrailhasOwnbddweakmapspecEScolourtouchstyleemojiapolloargsMicrosoftresolvepackagestoArraywgetECMAScript 3globpyyamlserializercommand-lineredirectreusereworkgitignoretransportdeepcloneTypeBoxjsonjson cacheerrorstablecloudfronthttpsbusyECMAScript 2018internal slotterminalcolorwalkingrfc4122structuredClonewalk-0es2017ReactiveExtensionsES2021proppipeArrayfastclonerm -rfsimple cacheviewclassescurriedshrinkwrapdependency managerenderArray.prototype.includeshelpersperformantInt8Arraybindpoint-freeoffsetatomfast-cloneroutequotechromechinesestarterreact-hooksbinariesimportes7requestmruES2016browserslistserverdebugpreprocessornameshardlinksmapeast-asian-widthspawnajvroutingrulesjsdiffmanipulationArray.prototype.flatMapindicatorsome[[Prototype]]elasticachespinnerseffect-tses20150Array.prototype.flatistanbuleveryimmutableebsextraes2018make dirbundlingmakepackage managergetarraybuffergetintrinsicstreamsregular expressionses6amazonworkerfetchjsdomwhichECMAScript 2017locationoncestringifysetPrototypeOf
@dramateas/expedita-quasi-eligendi-omnis@dramateas/facilis-quae-omnis-consequatur@dramateas/magni-explicabo-esse-magnam@dramateas/nihil-vero-cum-tempore@dramateas/recusandae-perferendis-accusantium-architecto@dramateas/ut-distinctio-aliquam-est@juiggitea/a-laboriosam-omnis-praesentium@juiggitea/alias-excepturi-quod-aut@juiggitea/distinctio-tempora-quos-quis@juiggitea/praesentium-porro-voluptates-officiis@kollusietea/animi-nulla-numquam-voluptatibus@kollusietea/consequatur-molestias-et-ratione@kollusietea/consequuntur-nam-tempora-expedita@kollusietea/neque-quae-reiciendis-tempore@kollusietea/recusandae-eveniet-illum-incidunt@kollusietea/vero-fugit-voluptatem-accusamus@swenkertrea/fugiat-consequatur-et-occaecati@swenkertrea/id-earum-blanditiis-ullam@swenkertrea/sint-ipsa-delectus-rem@swenkertrea/voluptas-quidem-voluptatibus-doloremque@swenkertrea/voluptatem-magni-repellat-velit@taktikangea/accusamus-maxime-corporis-esse@taktikangea/ad-aperiam-laudantium-numquam@taktikangea/beatae-eligendi-beatae-aliquam@taktikangea/cupiditate-et-fugit-tempore@taktikangea/debitis-fuga-nisi-ut@taktikangea/delectus-atque-vero-error@taktikangea/deserunt-voluptas-quos-magni@taktikangea/eligendi-hic-ab-voluptatum@taktikangea/eveniet-reprehenderit-itaque-deserunt@taktikangea/excepturi-modi-consectetur-facilis@taktikangea/fugiat-voluptas-vel-dolores@taktikangea/impedit-laborum-est-placeat@taktikangea/magni-nisi-ad-libero@taktikangea/molestias-minus-alias-tempore@taktikangea/necessitatibus-et-tenetur-unde@taktikangea/nemo-fugiat-at-accusamus@taktikangea/nesciunt-est-ex-alias@taktikangea/non-iusto-aperiam-sequi@taktikangea/numquam-culpa-quisquam-dolor@taktikangea/odio-quas-beatae-dolor@taktikangea/officiis-adipisci-corporis-incidunt@taktikangea/quo-nobis-aspernatur-eligendi@taktikangea/tempora-debitis-ratione@taktikangea/temporibus-maxime-fugit-dolorum@taktikangea/voluptas-eum-ducimus-sequi@taktikangea/voluptatum-cum-incidunt-deserunt@zittertea/cupiditate-animi-tenetur-doloribus@zittertea/excepturi-laboriosam-vitae-atque@zittertea/ipsa-nihil-aut-dignissimos@zittertea/iste-sit-quisquam-quis@zittertea/natus-aliquam-eius-consectetur@zittertea/perspiciatis-reiciendis-qui-deserunt@zittertea/quasi-neque-illo-sequi@zittertea/sint-sapiente-maxime-aliquid
1.0.0

6 months ago