maritime-ui 0.1.90 → 0.1.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +13 -0
- package/dist/maritime-ui.cjs +9 -9
- package/dist/maritime-ui.css +1 -1
- package/dist/maritime-ui.js +4953 -4938
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -517,6 +517,19 @@ declare type TableProps = {
|
|
|
517
517
|
body: ReactElement;
|
|
518
518
|
isLoading?: boolean;
|
|
519
519
|
hasHoverEffect?: boolean;
|
|
520
|
+
/**
|
|
521
|
+
* Ispod 1024px red se prelama u karticu — `thead` nestaje, a svaka celija dobija
|
|
522
|
+
* labelu svoje kolone. Labela se cita iz `data-title` atributa; tamo gde ga nema
|
|
523
|
+
* `Table` ga sam upisuje po poziciji celije u redu, iz `columns` odnosno
|
|
524
|
+
* `headerItems`. Rucno prosledjen `data-title` uvek pobedjuje, `''` gasi labelu.
|
|
525
|
+
* Podrazumevano iskljuceno: bez njega se tabela i dalje skroluje vodoravno.
|
|
526
|
+
*
|
|
527
|
+
* PAZNJA: sortiranje ispod 1024px nestaje. Klik i ikonice sortiranja stoje na
|
|
528
|
+
* `th`, a kartican prikaz gasi celo zaglavlje. Ako tabela koristi `columns` sa
|
|
529
|
+
* `sortKey`, korisnik na mobilnom nema cime da sortira — zasad nema zamene za
|
|
530
|
+
* to, pa `responsive` i sortiranje ne kombinuj dok se ne doda kontrola.
|
|
531
|
+
*/
|
|
532
|
+
responsive?: boolean;
|
|
520
533
|
additionalClassName?: string;
|
|
521
534
|
};
|
|
522
535
|
|