@pingux/astro 2.120.0 → 2.121.0-alpha.1

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.
Files changed (122) hide show
  1. package/lib/cjs/components/AIComponents/Attachment/Attachment.d.ts +1 -6
  2. package/lib/cjs/components/AIComponents/Attachment/Attachment.js +10 -15
  3. package/lib/cjs/components/AIComponents/Attachment/Attachment.test.d.ts +1 -0
  4. package/lib/cjs/components/AIComponents/Attachment/Attachment.test.js +67 -0
  5. package/lib/cjs/components/AIComponents/Attachment/constants.d.ts +38 -0
  6. package/lib/cjs/components/AIComponents/Attachment/constants.js +51 -0
  7. package/lib/cjs/components/AIComponents/PromptInput/PromptInput.stories.js +2 -4
  8. package/lib/cjs/components/Icon/Icon.js +13 -10
  9. package/lib/cjs/components/IconButton/IconButton.styles.d.ts +37 -0
  10. package/lib/cjs/components/IconButton/IconButton.styles.js +6 -1
  11. package/lib/cjs/components/IconWrapper/iconWrapperAttributes.js +1 -1
  12. package/lib/cjs/components/ListView/ListView.js +5 -0
  13. package/lib/cjs/components/ListView/ListView.stories.d.ts +3 -3
  14. package/lib/cjs/components/ListView/ListView.stories.js +27 -458
  15. package/lib/cjs/components/ListView/ListViewExpandableItem.js +1 -0
  16. package/lib/cjs/components/ListView/ListViewItem.js +4 -1
  17. package/lib/cjs/{styles/themes/next-gen/stories/NextGenListView.chromatic.stories.js → components/ListView/stories/ListView.chromatic.stories.js} +2 -2
  18. package/lib/cjs/components/ListView/stories/ListViewNextGenComponent.js +144 -0
  19. package/lib/cjs/{styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkListView.chromatic.stories.js → components/ListView/stories/ListViewOnyxDark.stories.js} +3 -3
  20. package/lib/cjs/components/ListViewItem/ListViewItem.js +16 -5
  21. package/lib/cjs/components/ListViewItem/ListViewItem.stories.js +40 -3
  22. package/lib/cjs/components/ListViewItem/ListViewItem.styles.js +15 -1
  23. package/lib/cjs/components/ListViewItem/controls/ListViewItemEditButton.js +1 -1
  24. package/lib/cjs/components/ListViewItem/controls/ListViewItemMenu.js +9 -3
  25. package/lib/cjs/components/ListViewItem/controls/ListViewItemMenu.test.js +1 -0
  26. package/lib/cjs/components/ListViewItem/controls/chart/ListViewItemChart.js +5 -1
  27. package/lib/cjs/components/Pagination/Pagination.stories.js +3 -3
  28. package/lib/cjs/components/SearchField/SearchField.js +2 -8
  29. package/lib/cjs/components/Text/Text.styles.d.ts +840 -0
  30. package/lib/cjs/components/Text/Text.styles.js +5 -1
  31. package/lib/cjs/hooks/useExpandableListViewItem/useExpandableListViewItem.js +9 -3
  32. package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +2 -0
  33. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +15 -0
  34. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +18 -3
  35. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +1 -0
  36. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +1 -0
  37. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.js +2 -0
  38. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +7 -0
  39. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +7 -0
  40. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/listview.d.ts +58 -0
  41. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/{lsitview.js → listview.js} +37 -2
  42. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.d.ts +15 -0
  43. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.js +23 -0
  44. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +40 -0
  45. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +11 -3
  46. package/lib/cjs/styles/themes/astro/customProperties/icons.d.ts +1 -0
  47. package/lib/cjs/styles/themes/astro/customProperties/icons.js +2 -1
  48. package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +1 -0
  49. package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +14 -0
  50. package/lib/cjs/styles/themes/next-gen/colors/iconWrapper.d.ts +14 -0
  51. package/lib/cjs/styles/themes/next-gen/colors/iconWrapper.js +16 -2
  52. package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +1 -1
  53. package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +1 -0
  54. package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +2 -1
  55. package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +1 -0
  56. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +136 -24
  57. package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +27 -6
  58. package/lib/cjs/styles/themes/next-gen/variants/button.js +17 -3
  59. package/lib/cjs/styles/themes/next-gen/variants/listview.d.ts +79 -17
  60. package/lib/cjs/styles/themes/next-gen/variants/listview.js +89 -24
  61. package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +13 -1
  62. package/lib/cjs/styles/themes/next-gen/variants/text.js +16 -4
  63. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +82 -17
  64. package/lib/cjs/styles/themes/next-gen/variants/variants.js +8 -1
  65. package/lib/cjs/types/iconWrapper.d.ts +1 -1
  66. package/lib/cjs/utils/devUtils/constants/animals.js +449 -1
  67. package/lib/components/AIComponents/Attachment/Attachment.js +10 -15
  68. package/lib/components/AIComponents/Attachment/Attachment.test.js +64 -0
  69. package/lib/components/AIComponents/Attachment/constants.js +42 -0
  70. package/lib/components/AIComponents/PromptInput/PromptInput.stories.js +3 -5
  71. package/lib/components/Icon/Icon.js +13 -10
  72. package/lib/components/IconButton/IconButton.styles.js +6 -1
  73. package/lib/components/IconWrapper/iconWrapperAttributes.js +1 -1
  74. package/lib/components/ListView/ListView.js +5 -0
  75. package/lib/components/ListView/ListView.stories.js +25 -455
  76. package/lib/components/ListView/ListViewExpandableItem.js +1 -0
  77. package/lib/components/ListView/ListViewItem.js +4 -1
  78. package/lib/{styles/themes/next-gen/stories/NextGenListView.chromatic.stories.js → components/ListView/stories/ListView.chromatic.stories.js} +2 -2
  79. package/lib/components/ListView/stories/ListViewNextGenComponent.js +130 -0
  80. package/lib/{styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkListView.chromatic.stories.js → components/ListView/stories/ListViewOnyxDark.stories.js} +3 -3
  81. package/lib/components/ListViewItem/ListViewItem.js +18 -7
  82. package/lib/components/ListViewItem/ListViewItem.stories.js +40 -3
  83. package/lib/components/ListViewItem/ListViewItem.styles.js +15 -1
  84. package/lib/components/ListViewItem/controls/ListViewItemEditButton.js +1 -1
  85. package/lib/components/ListViewItem/controls/ListViewItemMenu.js +9 -3
  86. package/lib/components/ListViewItem/controls/ListViewItemMenu.test.js +1 -0
  87. package/lib/components/ListViewItem/controls/chart/ListViewItemChart.js +5 -1
  88. package/lib/components/Pagination/Pagination.stories.js +1 -1
  89. package/lib/components/SearchField/SearchField.js +2 -8
  90. package/lib/components/Text/Text.styles.js +5 -1
  91. package/lib/hooks/useExpandableListViewItem/useExpandableListViewItem.js +9 -3
  92. package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +18 -3
  93. package/lib/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.js +2 -0
  94. package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +7 -0
  95. package/lib/styles/themeOverrides/nextGenDarkMode/variants/listview.js +58 -0
  96. package/lib/styles/themeOverrides/nextGenDarkMode/variants/text.js +15 -0
  97. package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +9 -1
  98. package/lib/styles/themes/astro/customProperties/icons.js +2 -1
  99. package/lib/styles/themes/next-gen/colors/iconWrapper.js +16 -2
  100. package/lib/styles/themes/next-gen/convertedComponentList.js +1 -1
  101. package/lib/styles/themes/next-gen/customProperties/icons.js +2 -1
  102. package/lib/styles/themes/next-gen/variants/button.js +17 -3
  103. package/lib/styles/themes/next-gen/variants/listview.js +84 -22
  104. package/lib/styles/themes/next-gen/variants/text.js +16 -4
  105. package/lib/styles/themes/next-gen/variants/variants.js +9 -2
  106. package/lib/utils/devUtils/constants/animals.js +449 -1
  107. package/package.json +1 -1
  108. package/lib/cjs/recipes/NextGen/ListViewNextGen.stories.js +0 -23
  109. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/lsitview.d.ts +0 -24
  110. package/lib/cjs/styles/themes/next-gen/stories/ListViewItemNextGen.d.ts +0 -29
  111. package/lib/cjs/styles/themes/next-gen/stories/ListViewItemNextGen.js +0 -84
  112. package/lib/cjs/styles/themes/next-gen/stories/ListViewNextGenComponent.js +0 -67
  113. package/lib/cjs/styles/themes/next-gen/stories/NextGenListViewItem.stories.d.ts +0 -6
  114. package/lib/cjs/styles/themes/next-gen/stories/NextGenListViewItem.stories.js +0 -35
  115. package/lib/recipes/NextGen/ListViewNextGen.stories.js +0 -13
  116. package/lib/styles/themeOverrides/nextGenDarkMode/variants/lsitview.js +0 -24
  117. package/lib/styles/themes/next-gen/stories/ListViewItemNextGen.js +0 -75
  118. package/lib/styles/themes/next-gen/stories/ListViewNextGenComponent.js +0 -58
  119. package/lib/styles/themes/next-gen/stories/NextGenListViewItem.stories.js +0 -25
  120. /package/lib/cjs/{styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkListView.chromatic.stories.d.ts → components/ListView/stories/ListView.chromatic.stories.d.ts} +0 -0
  121. /package/lib/cjs/{styles/themes/next-gen → components/ListView}/stories/ListViewNextGenComponent.d.ts +0 -0
  122. /package/lib/cjs/{styles/themes/next-gen/stories/NextGenListView.chromatic.stories.d.ts → components/ListView/stories/ListViewOnyxDark.stories.d.ts} +0 -0
@@ -50,6 +50,13 @@ declare const _default: {
50
50
  red: string;
51
51
  yellow: string;
52
52
  teal: string;
53
+ blue: string;
54
+ indigo: string;
55
+ lightBlue: string;
56
+ lightPink: string;
57
+ lightGreen: string;
58
+ lightYellow: string;
59
+ lightIndigo: string;
53
60
  };
54
61
  icon: {
55
62
  orange: string;
@@ -60,6 +67,13 @@ declare const _default: {
60
67
  red: string;
61
68
  yellow: string;
62
69
  teal: string;
70
+ blue: string;
71
+ indigo: string;
72
+ lightBlue: string;
73
+ lightPink: string;
74
+ lightGreen: string;
75
+ lightYellow: string;
76
+ lightIndigo: string;
63
77
  };
64
78
  };
65
79
  neutral: {
@@ -953,6 +967,9 @@ declare const _default: {
953
967
  borderColor: string;
954
968
  size: string;
955
969
  p: string;
970
+ '&.is-hovered': {
971
+ backgroundColor: string;
972
+ };
956
973
  cursor: string;
957
974
  transition: string;
958
975
  outline: string;
@@ -965,12 +982,6 @@ declare const _default: {
965
982
  outlineColor: string;
966
983
  outlineOffset: string;
967
984
  };
968
- '&.is-hovered': {
969
- backgroundColor: string;
970
- path: {
971
- fill: string;
972
- };
973
- };
974
985
  '&.is-pressed': {
975
986
  backgroundColor: string;
976
987
  borderColor: string;
@@ -1005,6 +1016,30 @@ declare const _default: {
1005
1016
  backgroundColor: string;
1006
1017
  };
1007
1018
  };
1019
+ searchClearButton: {
1020
+ border: string;
1021
+ '&.is-hovered': {
1022
+ bg: string;
1023
+ };
1024
+ '&.is-pressed': {
1025
+ bg: string;
1026
+ };
1027
+ position: string;
1028
+ right: number;
1029
+ cursor: string;
1030
+ transition: string;
1031
+ outline: string;
1032
+ borderRadius: string;
1033
+ borderColor: string;
1034
+ path: {
1035
+ fill: string;
1036
+ };
1037
+ '&.is-focused': {
1038
+ outline: string;
1039
+ outlineColor: string;
1040
+ outlineOffset: string;
1041
+ };
1042
+ };
1008
1043
  };
1009
1044
  modalCloseButton: {
1010
1045
  position: string;
@@ -1317,14 +1352,26 @@ declare const _default: {
1317
1352
  lineHeight: string;
1318
1353
  };
1319
1354
  listViewItemText: {
1355
+ fontFamily: string;
1320
1356
  color: string;
1321
1357
  fontWeight: number;
1358
+ mb: string;
1359
+ fontSize: string;
1322
1360
  };
1323
- small: {
1361
+ listViewItemSubtext: {
1324
1362
  fontSize: string;
1363
+ lineHeight: string;
1364
+ color: string;
1365
+ };
1366
+ itemTitle: {
1367
+ fontWeight: number;
1325
1368
  color: string;
1369
+ };
1370
+ small: {
1371
+ fontSize: string;
1326
1372
  fontFamily: string;
1327
1373
  lineHeight: string;
1374
+ color: string;
1328
1375
  };
1329
1376
  response: {
1330
1377
  color: string;
@@ -2537,12 +2584,14 @@ declare const _default: {
2537
2584
  };
2538
2585
  listViewItem: {
2539
2586
  rightOfData: {
2540
- flexShrink: number;
2541
2587
  whiteSpace: string;
2542
2588
  };
2543
2589
  iconContainer: {
2544
2590
  ml: string;
2545
2591
  };
2592
+ imageWrapper: {
2593
+ ml: string;
2594
+ };
2546
2595
  styledListItem: {
2547
2596
  bg: string;
2548
2597
  '&.is-selected': {
@@ -2560,10 +2609,19 @@ declare const _default: {
2560
2609
  boxShadow: string;
2561
2610
  bg: string;
2562
2611
  };
2612
+ '&.is-first-item': {
2613
+ borderTopLeftRadius: string;
2614
+ borderTopRightRadius: string;
2615
+ };
2616
+ '&.is-last-item': {
2617
+ borderBottomLeftRadius: string;
2618
+ borderBottomRightRadius: string;
2619
+ '&.has-separator': {
2620
+ border: string;
2621
+ };
2622
+ };
2563
2623
  };
2564
2624
  styledContainer: {
2565
- py: string;
2566
- px: string;
2567
2625
  bg: string;
2568
2626
  '&.is-hovered': {
2569
2627
  bg: string;
@@ -2571,17 +2629,58 @@ declare const _default: {
2571
2629
  };
2572
2630
  };
2573
2631
  expandableStyledListItem: {
2574
- pr: string;
2575
- pl: number;
2632
+ px: string;
2633
+ bg: string;
2634
+ '&.is-first-item': {
2635
+ borderTopLeftRadius: string;
2636
+ borderTopRightRadius: string;
2637
+ };
2638
+ '&.is-last-item': {
2639
+ borderBottomLeftRadius: string;
2640
+ borderBottomRightRadius: string;
2641
+ '&.is-hovered, &.is-expanded': {
2642
+ borderBottomLeftRadius: string;
2643
+ borderBottomRightRadius: string;
2644
+ };
2645
+ };
2646
+ '&.is-hovered': {
2647
+ bg: string;
2648
+ };
2649
+ '&.is-selected': {
2650
+ bg: string;
2651
+ };
2652
+ '&.is-focused': {
2653
+ boxShadow: string;
2654
+ bg: string;
2655
+ };
2576
2656
  };
2577
2657
  expandableItemBody: {
2578
2658
  px: string;
2659
+ outline: string;
2660
+ '&.is-last-item-body': {
2661
+ borderBottomLeftRadius: string;
2662
+ borderBottomRightRadius: string;
2663
+ };
2664
+ '&.is-focused': {
2665
+ boxShadow: string;
2666
+ };
2579
2667
  };
2580
2668
  expandableRow: {
2581
2669
  '&.has-separator': {
2582
2670
  borderBottom: string;
2583
2671
  borderBottomColor: string;
2584
2672
  };
2673
+ '&.has-separator.is-last-row': {
2674
+ border: string;
2675
+ };
2676
+ };
2677
+ editIcon: {
2678
+ width: string;
2679
+ height: string;
2680
+ };
2681
+ menuIcon: {
2682
+ width: string;
2683
+ height: string;
2585
2684
  };
2586
2685
  };
2587
2686
  progressBar: {
@@ -2602,18 +2701,26 @@ declare const _default: {
2602
2701
  borderRadius: string;
2603
2702
  border: string;
2604
2703
  borderColor: string;
2605
- '& > div > div': {
2606
- '& > div:first-of-type': {
2607
- '& > div > div': {
2608
- borderRadius: string;
2609
- };
2610
- };
2611
- '& > div:last-of-type': {
2612
- '& > div > div': {
2613
- borderRadius: string;
2614
- };
2615
- };
2616
- };
2704
+ };
2705
+ };
2706
+ lisViewItemChart: {
2707
+ title: {
2708
+ color: string;
2709
+ };
2710
+ count: {
2711
+ color: string;
2712
+ };
2713
+ countLabel: {
2714
+ color: string;
2715
+ };
2716
+ chartLabel: {
2717
+ color: string;
2718
+ };
2719
+ trend: {
2720
+ color: string;
2721
+ };
2722
+ chartButton: {
2723
+ color: string;
2617
2724
  };
2618
2725
  };
2619
2726
  dataTable: {
@@ -3087,6 +3194,11 @@ declare const _default: {
3087
3194
  };
3088
3195
  };
3089
3196
  };
3197
+ loader: {
3198
+ withinListView: {
3199
+ color: string;
3200
+ };
3201
+ };
3090
3202
  };
3091
3203
  images: {
3092
3204
  avatar: {};
@@ -720,6 +720,9 @@ declare const buttons: {
720
720
  borderColor: string;
721
721
  size: string;
722
722
  p: string;
723
+ '&.is-hovered': {
724
+ backgroundColor: string;
725
+ };
723
726
  cursor: string;
724
727
  transition: string;
725
728
  outline: string;
@@ -732,12 +735,6 @@ declare const buttons: {
732
735
  outlineColor: string;
733
736
  outlineOffset: string;
734
737
  };
735
- '&.is-hovered': {
736
- backgroundColor: string;
737
- path: {
738
- fill: string;
739
- };
740
- };
741
738
  '&.is-pressed': {
742
739
  backgroundColor: string;
743
740
  borderColor: string;
@@ -772,6 +769,30 @@ declare const buttons: {
772
769
  backgroundColor: string;
773
770
  };
774
771
  };
772
+ searchClearButton: {
773
+ border: string;
774
+ '&.is-hovered': {
775
+ bg: string;
776
+ };
777
+ '&.is-pressed': {
778
+ bg: string;
779
+ };
780
+ position: string;
781
+ right: number;
782
+ cursor: string;
783
+ transition: string;
784
+ outline: string;
785
+ borderRadius: string;
786
+ borderColor: string;
787
+ path: {
788
+ fill: string;
789
+ };
790
+ '&.is-focused': {
791
+ outline: string;
792
+ outlineColor: string;
793
+ outlineOffset: string;
794
+ };
795
+ };
775
796
  };
776
797
  modalCloseButton: {
777
798
  position: string;
@@ -307,11 +307,14 @@ var iconButtons = {
307
307
  }),
308
308
  copyButton: _codeView.copyButton,
309
309
  deleteAttachment: _objectSpread(_objectSpread({}, baseIconButton), {}, {
310
- backgroundColor: 'white',
310
+ backgroundColor: 'light',
311
311
  border: '1px solid',
312
312
  borderColor: 'gray-300',
313
313
  size: '24px',
314
- p: '4px'
314
+ p: '4px',
315
+ '&.is-hovered': {
316
+ backgroundColor: '#dde5ec'
317
+ }
315
318
  }),
316
319
  inverted: {
317
320
  cursor: 'pointer',
@@ -338,7 +341,18 @@ var iconButtons = {
338
341
  '&.is-disabled': {
339
342
  backgroundColor: 'gray-300'
340
343
  }
341
- }
344
+ },
345
+ searchClearButton: _objectSpread(_objectSpread({}, baseIconButton), {}, {
346
+ border: 'none',
347
+ '&.is-hovered': {
348
+ bg: 'background.hover'
349
+ },
350
+ '&.is-pressed': {
351
+ bg: 'background.hover'
352
+ },
353
+ position: 'absolute',
354
+ right: 10
355
+ })
342
356
  };
343
357
  var buttons = {
344
358
  neutral: neutral,
@@ -1,11 +1,15 @@
1
+ export declare const focusBoxShadow = "0 0 0 3px inset #1a73e8";
2
+ export declare const borderRadius = "16px";
1
3
  export declare const listViewItem: {
2
4
  rightOfData: {
3
- flexShrink: number;
4
5
  whiteSpace: string;
5
6
  };
6
7
  iconContainer: {
7
8
  ml: string;
8
9
  };
10
+ imageWrapper: {
11
+ ml: string;
12
+ };
9
13
  styledListItem: {
10
14
  bg: string;
11
15
  '&.is-selected': {
@@ -23,10 +27,19 @@ export declare const listViewItem: {
23
27
  boxShadow: string;
24
28
  bg: string;
25
29
  };
30
+ '&.is-first-item': {
31
+ borderTopLeftRadius: string;
32
+ borderTopRightRadius: string;
33
+ };
34
+ '&.is-last-item': {
35
+ borderBottomLeftRadius: string;
36
+ borderBottomRightRadius: string;
37
+ '&.has-separator': {
38
+ border: string;
39
+ };
40
+ };
26
41
  };
27
42
  styledContainer: {
28
- py: string;
29
- px: string;
30
43
  bg: string;
31
44
  '&.is-hovered': {
32
45
  bg: string;
@@ -34,17 +47,58 @@ export declare const listViewItem: {
34
47
  };
35
48
  };
36
49
  expandableStyledListItem: {
37
- pr: string;
38
- pl: number;
50
+ px: string;
51
+ bg: string;
52
+ '&.is-first-item': {
53
+ borderTopLeftRadius: string;
54
+ borderTopRightRadius: string;
55
+ };
56
+ '&.is-last-item': {
57
+ borderBottomLeftRadius: string;
58
+ borderBottomRightRadius: string;
59
+ '&.is-hovered, &.is-expanded': {
60
+ borderBottomLeftRadius: string;
61
+ borderBottomRightRadius: string;
62
+ };
63
+ };
64
+ '&.is-hovered': {
65
+ bg: string;
66
+ };
67
+ '&.is-selected': {
68
+ bg: string;
69
+ };
70
+ '&.is-focused': {
71
+ boxShadow: string;
72
+ bg: string;
73
+ };
39
74
  };
40
75
  expandableItemBody: {
41
76
  px: string;
77
+ outline: string;
78
+ '&.is-last-item-body': {
79
+ borderBottomLeftRadius: string;
80
+ borderBottomRightRadius: string;
81
+ };
82
+ '&.is-focused': {
83
+ boxShadow: string;
84
+ };
42
85
  };
43
86
  expandableRow: {
44
87
  '&.has-separator': {
45
88
  borderBottom: string;
46
89
  borderBottomColor: string;
47
90
  };
91
+ '&.has-separator.is-last-row': {
92
+ border: string;
93
+ };
94
+ };
95
+ editIcon: {
96
+ width: string;
97
+ height: string;
98
+ };
99
+ menuIcon: {
100
+ width: string;
101
+ height: string;
48
102
  };
49
103
  };
50
104
  export declare const listView: {
@@ -52,17 +106,25 @@ export declare const listView: {
52
106
  borderRadius: string;
53
107
  border: string;
54
108
  borderColor: string;
55
- '& > div > div': {
56
- '& > div:first-of-type': {
57
- '& > div > div': {
58
- borderRadius: string;
59
- };
60
- };
61
- '& > div:last-of-type': {
62
- '& > div > div': {
63
- borderRadius: string;
64
- };
65
- };
66
- };
109
+ };
110
+ };
111
+ export declare const lisViewItemChart: {
112
+ title: {
113
+ color: string;
114
+ };
115
+ count: {
116
+ color: string;
117
+ };
118
+ countLabel: {
119
+ color: string;
120
+ };
121
+ chartLabel: {
122
+ color: string;
123
+ };
124
+ trend: {
125
+ color: string;
126
+ };
127
+ chartButton: {
128
+ color: string;
67
129
  };
68
130
  };
@@ -4,14 +4,20 @@ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/obje
4
4
  _Object$defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.listViewItem = exports.listView = void 0;
7
+ exports.listViewItem = exports.listView = exports.lisViewItemChart = exports.focusBoxShadow = exports.borderRadius = void 0;
8
+ var focusBoxShadow = '0 0 0 3px inset #1a73e8';
9
+ exports.focusBoxShadow = focusBoxShadow;
10
+ var borderRadius = '16px';
11
+ exports.borderRadius = borderRadius;
8
12
  var listViewItem = {
9
13
  rightOfData: {
10
- flexShrink: 4,
11
14
  whiteSpace: 'nowrap'
12
15
  },
13
16
  iconContainer: {
14
- ml: '0px'
17
+ ml: '0'
18
+ },
19
+ imageWrapper: {
20
+ ml: 'md'
15
21
  },
16
22
  styledListItem: {
17
23
  bg: 'white',
@@ -27,13 +33,22 @@ var listViewItem = {
27
33
  bg: 'gray-100'
28
34
  },
29
35
  '&.is-focused': {
30
- boxShadow: '0 0 0 3px inset #1a73e8',
36
+ boxShadow: focusBoxShadow,
31
37
  bg: 'gray-100'
38
+ },
39
+ '&.is-first-item': {
40
+ borderTopLeftRadius: borderRadius,
41
+ borderTopRightRadius: borderRadius
42
+ },
43
+ '&.is-last-item': {
44
+ borderBottomLeftRadius: borderRadius,
45
+ borderBottomRightRadius: borderRadius,
46
+ '&.has-separator': {
47
+ border: 'none'
48
+ }
32
49
  }
33
50
  },
34
51
  styledContainer: {
35
- py: 'md',
36
- px: 'lg',
37
52
  bg: 'transparent',
38
53
  '&.is-hovered': {
39
54
  bg: 'transparent',
@@ -41,37 +56,87 @@ var listViewItem = {
41
56
  }
42
57
  },
43
58
  expandableStyledListItem: {
44
- pr: '1.25rem',
45
- pl: 0
59
+ px: 'lg',
60
+ bg: 'background.base',
61
+ '&.is-first-item': {
62
+ borderTopLeftRadius: borderRadius,
63
+ borderTopRightRadius: borderRadius
64
+ },
65
+ '&.is-last-item': {
66
+ borderBottomLeftRadius: borderRadius,
67
+ borderBottomRightRadius: borderRadius,
68
+ '&.is-hovered, &.is-expanded': {
69
+ borderBottomLeftRadius: '0',
70
+ borderBottomRightRadius: '0'
71
+ }
72
+ },
73
+ '&.is-hovered': {
74
+ bg: 'gray-100'
75
+ },
76
+ '&.is-selected': {
77
+ bg: 'gray-100'
78
+ },
79
+ '&.is-focused': {
80
+ boxShadow: focusBoxShadow,
81
+ bg: 'gray-100'
82
+ }
46
83
  },
47
84
  expandableItemBody: {
48
- px: '1.5rem'
85
+ px: 'lg',
86
+ outline: 'none',
87
+ '&.is-last-item-body': {
88
+ borderBottomLeftRadius: borderRadius,
89
+ borderBottomRightRadius: borderRadius
90
+ },
91
+ '&.is-focused': {
92
+ boxShadow: focusBoxShadow
93
+ }
49
94
  },
50
95
  expandableRow: {
51
96
  '&.has-separator': {
52
97
  borderBottom: '1px solid',
53
98
  borderBottomColor: 'border.base'
99
+ },
100
+ '&.has-separator.is-last-row': {
101
+ border: 'none'
54
102
  }
103
+ },
104
+ editIcon: {
105
+ width: '1.5rem !important',
106
+ height: '1.5rem !important'
107
+ },
108
+ menuIcon: {
109
+ width: '1.5rem !important',
110
+ height: '1.5rem !important'
55
111
  }
56
112
  };
57
113
  exports.listViewItem = listViewItem;
58
114
  var listView = {
59
115
  container: {
60
- borderRadius: '16px',
116
+ borderRadius: borderRadius,
61
117
  border: '1px solid',
62
- borderColor: '#e7eef4',
63
- '& > div > div': {
64
- '& > div:first-of-type': {
65
- '& > div > div': {
66
- borderRadius: '16px 16px 0 0'
67
- }
68
- },
69
- '& > div:last-of-type': {
70
- '& > div > div': {
71
- borderRadius: ' 0 0 16px 16px'
72
- }
73
- }
74
- }
118
+ borderColor: '#e7eef4'
119
+ }
120
+ };
121
+ exports.listView = listView;
122
+ var lisViewItemChart = {
123
+ title: {
124
+ color: 'gray-900'
125
+ },
126
+ count: {
127
+ color: 'gray-900'
128
+ },
129
+ countLabel: {
130
+ color: 'gray-900'
131
+ },
132
+ chartLabel: {
133
+ color: 'gray-900'
134
+ },
135
+ trend: {
136
+ color: 'gray-900'
137
+ },
138
+ chartButton: {
139
+ color: 'gray-900'
75
140
  }
76
141
  };
77
- exports.listView = listView;
142
+ exports.lisViewItemChart = lisViewItemChart;
@@ -68,14 +68,26 @@ export declare const text: {
68
68
  lineHeight: string;
69
69
  };
70
70
  listViewItemText: {
71
+ fontFamily: string;
71
72
  color: string;
72
73
  fontWeight: number;
74
+ mb: string;
75
+ fontSize: string;
73
76
  };
74
- small: {
77
+ listViewItemSubtext: {
75
78
  fontSize: string;
79
+ lineHeight: string;
76
80
  color: string;
81
+ };
82
+ itemTitle: {
83
+ fontWeight: number;
84
+ color: string;
85
+ };
86
+ small: {
87
+ fontSize: string;
77
88
  fontFamily: string;
78
89
  lineHeight: string;
90
+ color: string;
79
91
  };
80
92
  response: {
81
93
  color: string;
@@ -82,14 +82,26 @@ var text = _objectSpread(_objectSpread({
82
82
  lineHeight: 'body'
83
83
  },
84
84
  listViewItemText: {
85
- color: 'text.secondary',
86
- fontWeight: 2
85
+ fontFamily: 'standard',
86
+ color: 'text.primary',
87
+ fontWeight: 2,
88
+ mb: 'xs',
89
+ fontSize: 'md'
90
+ },
91
+ listViewItemSubtext: {
92
+ fontSize: 'md',
93
+ lineHeight: 'body',
94
+ color: 'gray-700'
95
+ },
96
+ itemTitle: {
97
+ fontWeight: 2,
98
+ color: 'text.primary'
87
99
  },
88
100
  small: {
89
101
  fontSize: 'sm',
90
- color: 'text.primary',
91
102
  fontFamily: 'standard',
92
- lineHeight: 'md'
103
+ lineHeight: 'md',
104
+ color: 'text.primary'
93
105
  },
94
106
  response: {
95
107
  color: 'text.primary',