@atom-learning/components 2.27.0 → 2.28.0
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/CHANGELOG.md +22 -6
- package/dist/components/data-table/DataTable.d.ts +5 -0
- package/dist/components/data-table/DataTable.js +1 -1
- package/dist/components/data-table/DataTable.types.d.ts +18 -2
- package/dist/components/data-table/DataTableContext.d.ts +5 -10
- package/dist/components/data-table/DataTableContext.js +1 -1
- package/dist/components/data-table/DataTableRow.d.ts +1 -2
- package/dist/components/data-table/DataTableRow.js +1 -1
- package/dist/components/data-table/DataTableTable.d.ts +1 -2
- package/dist/components/data-table/drag-and-drop/DragAndDropContainer.d.ts +21 -0
- package/dist/components/data-table/drag-and-drop/DragAndDropContainer.js +1 -0
- package/dist/components/data-table/drag-and-drop/DragAndDropTable.d.ts +8 -0
- package/dist/components/data-table/drag-and-drop/DragAndDropTable.js +1 -0
- package/dist/components/data-table/drag-and-drop/DragAndDropTableBody.d.ts +5 -0
- package/dist/components/data-table/drag-and-drop/DragAndDropTableBody.js +1 -0
- package/dist/components/data-table/drag-and-drop/DraggableRow.d.ts +7 -0
- package/dist/components/data-table/drag-and-drop/DraggableRow.js +1 -0
- package/dist/components/data-table/drag-and-drop/Handle.d.ts +564 -0
- package/dist/components/data-table/drag-and-drop/Handle.js +1 -0
- package/dist/components/data-table/drag-and-drop/index.d.ts +4 -0
- package/dist/components/data-table/usePagination.d.ts +8 -0
- package/dist/components/data-table/usePagination.js +1 -0
- package/dist/components/data-table/useSorting.d.ts +9 -0
- package/dist/components/data-table/useSorting.js +1 -0
- package/dist/components/table/Table.js +1 -1
- package/dist/components/table/TableBody.js +1 -1
- package/dist/components/table/TableRow.d.ts +272 -1
- package/dist/components/table/TableRow.js +1 -1
- package/dist/docgen.json +1 -1
- package/dist/docs/DataTable.mdx +37 -1
- package/dist/index.cjs.js +1 -1
- package/package.json +5 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const StyledRow: import("@stitches/react/types/styled-component").StyledComponent<"tr", {}, {
|
|
2
3
|
sm: string;
|
|
3
4
|
md: string;
|
|
4
5
|
lg: string;
|
|
@@ -264,3 +265,273 @@ export declare const TableRow: import("@stitches/react/types/styled-component").
|
|
|
264
265
|
};
|
|
265
266
|
};
|
|
266
267
|
}>>;
|
|
268
|
+
export declare const TableRow: React.ForwardRefExoticComponent<Pick<Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "key" | keyof React.HTMLAttributes<HTMLTableRowElement>> & {
|
|
269
|
+
ref?: ((instance: HTMLTableRowElement | null) => void) | React.RefObject<HTMLTableRowElement> | null | undefined;
|
|
270
|
+
}, "css"> & import("@stitches/react/types/styled-component").TransformProps<{}, {
|
|
271
|
+
sm: string;
|
|
272
|
+
md: string;
|
|
273
|
+
lg: string;
|
|
274
|
+
xl: string;
|
|
275
|
+
reducedMotion: string;
|
|
276
|
+
allowMotion: string;
|
|
277
|
+
hover: string;
|
|
278
|
+
}> & {
|
|
279
|
+
css?: import("@stitches/react/types/css-util").CSS<{
|
|
280
|
+
sm: string;
|
|
281
|
+
md: string;
|
|
282
|
+
lg: string;
|
|
283
|
+
xl: string;
|
|
284
|
+
reducedMotion: string;
|
|
285
|
+
allowMotion: string;
|
|
286
|
+
hover: string;
|
|
287
|
+
}, {
|
|
288
|
+
colors: {
|
|
289
|
+
textForeground: any;
|
|
290
|
+
textSubtle: any;
|
|
291
|
+
textPlaceholder: any;
|
|
292
|
+
background: any;
|
|
293
|
+
backgroundAccent: any;
|
|
294
|
+
tonal50: any;
|
|
295
|
+
tonal100: any;
|
|
296
|
+
tonal200: any;
|
|
297
|
+
tonal300: any;
|
|
298
|
+
tonal400: any;
|
|
299
|
+
tonal500: any;
|
|
300
|
+
tonal600: any;
|
|
301
|
+
alpha100: any;
|
|
302
|
+
alpha150: any;
|
|
303
|
+
alpha200: any;
|
|
304
|
+
alpha250: any;
|
|
305
|
+
alpha600: any;
|
|
306
|
+
primaryLight: any;
|
|
307
|
+
primary: any;
|
|
308
|
+
primaryMid: any;
|
|
309
|
+
primaryDark: any;
|
|
310
|
+
secondary: any;
|
|
311
|
+
brandRed: any;
|
|
312
|
+
brandRedAccent: any;
|
|
313
|
+
brandGreen: any;
|
|
314
|
+
brandGreenAccent: any;
|
|
315
|
+
brandPurple: any;
|
|
316
|
+
brandPurpleAccent: any;
|
|
317
|
+
brandYellow: any;
|
|
318
|
+
brandYellowAccent: any;
|
|
319
|
+
successLight: any;
|
|
320
|
+
success: any;
|
|
321
|
+
successMid: any;
|
|
322
|
+
successDark: any;
|
|
323
|
+
dangerLight: any;
|
|
324
|
+
danger: any;
|
|
325
|
+
dangerMid: any;
|
|
326
|
+
dangerDark: any;
|
|
327
|
+
warningLight: any;
|
|
328
|
+
warning: any;
|
|
329
|
+
warningMid: any;
|
|
330
|
+
warningDark: any;
|
|
331
|
+
warningText: any;
|
|
332
|
+
subjectEnglish: any;
|
|
333
|
+
subjectMaths: any;
|
|
334
|
+
subjectScience: any;
|
|
335
|
+
subjectVerbalReasoning: any;
|
|
336
|
+
subjectNonVerbalReasoning: any;
|
|
337
|
+
subjectCreativeWriting: any;
|
|
338
|
+
subjectExamSkills: any;
|
|
339
|
+
};
|
|
340
|
+
space: {
|
|
341
|
+
"0": any;
|
|
342
|
+
"1": any;
|
|
343
|
+
"2": any;
|
|
344
|
+
"3": any;
|
|
345
|
+
"4": any;
|
|
346
|
+
"5": any;
|
|
347
|
+
"6": any;
|
|
348
|
+
"7": any;
|
|
349
|
+
"8": any;
|
|
350
|
+
"9": any;
|
|
351
|
+
};
|
|
352
|
+
fontSizes: {
|
|
353
|
+
xs: any;
|
|
354
|
+
sm: any;
|
|
355
|
+
md: any;
|
|
356
|
+
lg: any;
|
|
357
|
+
xl: any;
|
|
358
|
+
"2xl": any;
|
|
359
|
+
"3xl": any;
|
|
360
|
+
"4xl": any;
|
|
361
|
+
};
|
|
362
|
+
fonts: {
|
|
363
|
+
sans: any;
|
|
364
|
+
mono: any;
|
|
365
|
+
display: any;
|
|
366
|
+
body: any;
|
|
367
|
+
};
|
|
368
|
+
sizes: {
|
|
369
|
+
"0": any;
|
|
370
|
+
"1": any;
|
|
371
|
+
"2": any;
|
|
372
|
+
"3": any;
|
|
373
|
+
"4": any;
|
|
374
|
+
"5": any;
|
|
375
|
+
"6": any;
|
|
376
|
+
"7": any;
|
|
377
|
+
"8": any;
|
|
378
|
+
};
|
|
379
|
+
radii: {
|
|
380
|
+
"0": any;
|
|
381
|
+
"1": any;
|
|
382
|
+
"2": any;
|
|
383
|
+
"3": any;
|
|
384
|
+
round: any;
|
|
385
|
+
};
|
|
386
|
+
shadows: {
|
|
387
|
+
"0": any;
|
|
388
|
+
"1": any;
|
|
389
|
+
"2": any;
|
|
390
|
+
"3": any;
|
|
391
|
+
};
|
|
392
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
393
|
+
bg: (value: {
|
|
394
|
+
readonly [$$PropertyValue]: "background";
|
|
395
|
+
}) => {
|
|
396
|
+
background: {
|
|
397
|
+
readonly [$$PropertyValue]: "background";
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
inset: (value: string | number | {
|
|
401
|
+
readonly [$$ScaleValue]: "space";
|
|
402
|
+
}) => {
|
|
403
|
+
top: string | number | {
|
|
404
|
+
readonly [$$ScaleValue]: "space";
|
|
405
|
+
};
|
|
406
|
+
right: string | number | {
|
|
407
|
+
readonly [$$ScaleValue]: "space";
|
|
408
|
+
};
|
|
409
|
+
bottom: string | number | {
|
|
410
|
+
readonly [$$ScaleValue]: "space";
|
|
411
|
+
};
|
|
412
|
+
left: string | number | {
|
|
413
|
+
readonly [$$ScaleValue]: "space";
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
size: (value: string | number | {
|
|
417
|
+
readonly [$$ScaleValue]: "size";
|
|
418
|
+
}) => {
|
|
419
|
+
height: string | number | {
|
|
420
|
+
readonly [$$ScaleValue]: "size";
|
|
421
|
+
};
|
|
422
|
+
width: string | number | {
|
|
423
|
+
readonly [$$ScaleValue]: "size";
|
|
424
|
+
};
|
|
425
|
+
};
|
|
426
|
+
p: (value: string | number | {
|
|
427
|
+
readonly [$$ScaleValue]: "space";
|
|
428
|
+
}) => {
|
|
429
|
+
padding: string | number | {
|
|
430
|
+
readonly [$$ScaleValue]: "space";
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
pt: (value: string | number | {
|
|
434
|
+
readonly [$$ScaleValue]: "space";
|
|
435
|
+
}) => {
|
|
436
|
+
paddingTop: string | number | {
|
|
437
|
+
readonly [$$ScaleValue]: "space";
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
pr: (value: string | number | {
|
|
441
|
+
readonly [$$ScaleValue]: "space";
|
|
442
|
+
}) => {
|
|
443
|
+
paddingRight: string | number | {
|
|
444
|
+
readonly [$$ScaleValue]: "space";
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
pb: (value: string | number | {
|
|
448
|
+
readonly [$$ScaleValue]: "space";
|
|
449
|
+
}) => {
|
|
450
|
+
paddingBottom: string | number | {
|
|
451
|
+
readonly [$$ScaleValue]: "space";
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
pl: (value: string | number | {
|
|
455
|
+
readonly [$$ScaleValue]: "space";
|
|
456
|
+
}) => {
|
|
457
|
+
paddingLeft: string | number | {
|
|
458
|
+
readonly [$$ScaleValue]: "space";
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
px: (value: string | number | {
|
|
462
|
+
readonly [$$ScaleValue]: "space";
|
|
463
|
+
}) => {
|
|
464
|
+
paddingLeft: string | number | {
|
|
465
|
+
readonly [$$ScaleValue]: "space";
|
|
466
|
+
};
|
|
467
|
+
paddingRight: string | number | {
|
|
468
|
+
readonly [$$ScaleValue]: "space";
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
py: (value: string | number | {
|
|
472
|
+
readonly [$$ScaleValue]: "space";
|
|
473
|
+
}) => {
|
|
474
|
+
paddingTop: string | number | {
|
|
475
|
+
readonly [$$ScaleValue]: "space";
|
|
476
|
+
};
|
|
477
|
+
paddingBottom: string | number | {
|
|
478
|
+
readonly [$$ScaleValue]: "space";
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
m: (value: string | number | {
|
|
482
|
+
readonly [$$ScaleValue]: "space";
|
|
483
|
+
}) => {
|
|
484
|
+
margin: string | number | {
|
|
485
|
+
readonly [$$ScaleValue]: "space";
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
mt: (value: string | number | {
|
|
489
|
+
readonly [$$ScaleValue]: "space";
|
|
490
|
+
}) => {
|
|
491
|
+
marginTop: string | number | {
|
|
492
|
+
readonly [$$ScaleValue]: "space";
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
mr: (value: string | number | {
|
|
496
|
+
readonly [$$ScaleValue]: "space";
|
|
497
|
+
}) => {
|
|
498
|
+
marginRight: string | number | {
|
|
499
|
+
readonly [$$ScaleValue]: "space";
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
mb: (value: string | number | {
|
|
503
|
+
readonly [$$ScaleValue]: "space";
|
|
504
|
+
}) => {
|
|
505
|
+
marginBottom: string | number | {
|
|
506
|
+
readonly [$$ScaleValue]: "space";
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
ml: (value: string | number | {
|
|
510
|
+
readonly [$$ScaleValue]: "space";
|
|
511
|
+
}) => {
|
|
512
|
+
marginLeft: string | number | {
|
|
513
|
+
readonly [$$ScaleValue]: "space";
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
mx: (value: string | number | {
|
|
517
|
+
readonly [$$ScaleValue]: "space";
|
|
518
|
+
}) => {
|
|
519
|
+
marginLeft: string | number | {
|
|
520
|
+
readonly [$$ScaleValue]: "space";
|
|
521
|
+
};
|
|
522
|
+
marginRight: string | number | {
|
|
523
|
+
readonly [$$ScaleValue]: "space";
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
my: (value: string | number | {
|
|
527
|
+
readonly [$$ScaleValue]: "space";
|
|
528
|
+
}) => {
|
|
529
|
+
marginTop: string | number | {
|
|
530
|
+
readonly [$$ScaleValue]: "space";
|
|
531
|
+
};
|
|
532
|
+
marginBottom: string | number | {
|
|
533
|
+
readonly [$$ScaleValue]: "space";
|
|
534
|
+
};
|
|
535
|
+
};
|
|
536
|
+
}> | undefined;
|
|
537
|
+
}, "css" | "key" | keyof React.HTMLAttributes<HTMLTableRowElement>> & React.RefAttributes<HTMLTableRowElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{styled as
|
|
1
|
+
import*as e from"react";import{styled as l}from"../../stitches.js";const t=l("tr",{bg:"unset"}),o=e.forwardRef((r,a)=>e.createElement(t,{...r,ref:a}));o.displayName="TableRow";export{t as StyledRow,o as TableRow};
|