@licklist/design 0.78.5-dev.33 → 0.78.5-dev.34

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 (189) hide show
  1. package/dist/assets/Trend-Down.svg +3 -0
  2. package/dist/assets/Trend-Down.svg.js +16 -0
  3. package/dist/assets/Trend-Up.svg +3 -0
  4. package/dist/assets/Trend-Up.svg.js +16 -0
  5. package/dist/index.d.ts +2 -0
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +11 -0
  8. package/dist/v2/components/EntityHeader/EntityHeader.d.ts +13 -0
  9. package/dist/v2/components/EntityHeader/EntityHeader.d.ts.map +1 -0
  10. package/dist/v2/components/EntityHeader/EntityHeader.js +85 -0
  11. package/dist/v2/components/EntityHeader/EntityHeader.scss.js +6 -0
  12. package/dist/v2/components/EntityHeader/index.d.ts +2 -0
  13. package/dist/v2/components/EntityHeader/index.d.ts.map +1 -0
  14. package/dist/v2/components/Select/Select.d.ts +10 -0
  15. package/dist/v2/components/Select/Select.d.ts.map +1 -0
  16. package/dist/v2/components/Select/Select.js +128 -0
  17. package/dist/v2/components/Select/Select.scss.js +6 -0
  18. package/dist/v2/components/Select/index.d.ts +3 -0
  19. package/dist/v2/components/Select/index.d.ts.map +1 -0
  20. package/dist/v2/components/Tooltip/Tooltip.d.ts +20 -0
  21. package/dist/v2/components/Tooltip/Tooltip.d.ts.map +1 -0
  22. package/dist/v2/components/Tooltip/Tooltip.js +103 -0
  23. package/dist/v2/components/Tooltip/Tooltip.scss.js +6 -0
  24. package/dist/v2/components/Tooltip/index.d.ts +2 -0
  25. package/dist/v2/components/Tooltip/index.d.ts.map +1 -0
  26. package/dist/v2/components/UserAvatar/UserAvatar.d.ts +12 -0
  27. package/dist/v2/components/UserAvatar/UserAvatar.d.ts.map +1 -0
  28. package/dist/v2/components/UserAvatar/UserAvatar.js +77 -0
  29. package/dist/v2/components/UserAvatar/UserAvatar.scss.js +6 -0
  30. package/dist/v2/components/UserAvatar/index.d.ts +2 -0
  31. package/dist/v2/components/UserAvatar/index.d.ts.map +1 -0
  32. package/dist/v2/components/UserPanel/UserPanel.d.ts +17 -0
  33. package/dist/v2/components/UserPanel/UserPanel.d.ts.map +1 -0
  34. package/dist/v2/components/UserPanel/index.d.ts +3 -0
  35. package/dist/v2/components/UserPanel/index.d.ts.map +1 -0
  36. package/dist/v2/dashboard-analytics/blog-posts/Blog.d.ts +15 -0
  37. package/dist/v2/dashboard-analytics/blog-posts/Blog.d.ts.map +1 -0
  38. package/dist/v2/dashboard-analytics/blog-posts/Blog.js +103 -0
  39. package/dist/v2/dashboard-analytics/blog-posts/Blog.scss.js +6 -0
  40. package/dist/v2/dashboard-analytics/blog-posts/index.d.ts +3 -0
  41. package/dist/v2/dashboard-analytics/blog-posts/index.d.ts.map +1 -0
  42. package/dist/v2/dashboard-analytics/chart/Chart.d.ts +21 -0
  43. package/dist/v2/dashboard-analytics/chart/Chart.d.ts.map +1 -0
  44. package/dist/v2/dashboard-analytics/chart/Chart.js +733 -0
  45. package/dist/v2/dashboard-analytics/chart/Chart.scss.js +6 -0
  46. package/dist/v2/dashboard-analytics/chart/index.d.ts +3 -0
  47. package/dist/v2/dashboard-analytics/chart/index.d.ts.map +1 -0
  48. package/dist/v2/dashboard-analytics/dashboard/Dashboard.d.ts +57 -0
  49. package/dist/v2/dashboard-analytics/dashboard/Dashboard.d.ts.map +1 -0
  50. package/dist/v2/dashboard-analytics/dashboard/Dashboard.js +270 -0
  51. package/dist/v2/dashboard-analytics/dashboard/Dashboard.scss.js +6 -0
  52. package/dist/v2/dashboard-analytics/dashboard/index.d.ts +3 -0
  53. package/dist/v2/dashboard-analytics/dashboard/index.d.ts.map +1 -0
  54. package/dist/v2/dashboard-analytics/index.d.ts +13 -0
  55. package/dist/v2/dashboard-analytics/index.d.ts.map +1 -0
  56. package/dist/v2/dashboard-analytics/metric-card/MetricCard.d.ts +17 -0
  57. package/dist/v2/dashboard-analytics/metric-card/MetricCard.d.ts.map +1 -0
  58. package/dist/v2/dashboard-analytics/metric-card/MetricCard.js +65 -0
  59. package/dist/v2/dashboard-analytics/metric-card/MetricCard.scss.js +6 -0
  60. package/dist/v2/dashboard-analytics/metric-card/index.d.ts +3 -0
  61. package/dist/v2/dashboard-analytics/metric-card/index.d.ts.map +1 -0
  62. package/dist/v2/dashboard-analytics/venue-card/VenueCard.d.ts +12 -0
  63. package/dist/v2/dashboard-analytics/venue-card/VenueCard.d.ts.map +1 -0
  64. package/dist/v2/dashboard-analytics/venue-card/VenueCard.js +50 -0
  65. package/dist/v2/dashboard-analytics/venue-card/VenueCard.scss.js +6 -0
  66. package/dist/v2/dashboard-analytics/venue-card/index.d.ts +3 -0
  67. package/dist/v2/dashboard-analytics/venue-card/index.d.ts.map +1 -0
  68. package/dist/v2/dashboard-analytics/venue-closed-card/VenueClosedCard.d.ts +25 -0
  69. package/dist/v2/dashboard-analytics/venue-closed-card/VenueClosedCard.d.ts.map +1 -0
  70. package/dist/v2/dashboard-analytics/venue-closed-card/VenueClosedCard.js +48 -0
  71. package/dist/v2/dashboard-analytics/venue-closed-card/VenueClosedCard.scss.js +6 -0
  72. package/dist/v2/dashboard-analytics/venue-closed-card/index.d.ts +3 -0
  73. package/dist/v2/dashboard-analytics/venue-closed-card/index.d.ts.map +1 -0
  74. package/dist/v2/index.d.ts +7 -5
  75. package/dist/v2/index.d.ts.map +1 -1
  76. package/dist/v2/navigation/DashboardLayout/AdminSidebar.d.ts +10 -0
  77. package/dist/v2/navigation/DashboardLayout/AdminSidebar.d.ts.map +1 -0
  78. package/dist/v2/navigation/DashboardLayout/AdminSidebar.js +296 -0
  79. package/dist/v2/navigation/DashboardLayout/AdminSidebar.scss.js +6 -0
  80. package/dist/v2/navigation/DashboardLayout/DashboardFooter.d.ts +7 -0
  81. package/dist/v2/navigation/DashboardLayout/DashboardFooter.d.ts.map +1 -0
  82. package/dist/v2/navigation/DashboardLayout/DashboardFooter.js +34 -0
  83. package/dist/v2/navigation/DashboardLayout/DashboardFooter.scss.js +6 -0
  84. package/dist/v2/navigation/DashboardLayout/DashboardLayout.d.ts +34 -0
  85. package/dist/v2/navigation/DashboardLayout/DashboardLayout.d.ts.map +1 -0
  86. package/dist/v2/navigation/DashboardLayout/DashboardLayout.js +148 -0
  87. package/dist/v2/navigation/DashboardLayout/DashboardLayout.scss.js +6 -0
  88. package/dist/v2/navigation/DashboardLayout/ProviderSidebar.d.ts +15 -0
  89. package/dist/v2/navigation/DashboardLayout/ProviderSidebar.d.ts.map +1 -0
  90. package/dist/v2/navigation/DashboardLayout/ProviderSidebar.js +343 -0
  91. package/dist/v2/navigation/DashboardLayout/ProviderSidebar.scss.js +6 -0
  92. package/dist/v2/navigation/DashboardLayout/TopNavigation.d.ts +21 -0
  93. package/dist/v2/navigation/DashboardLayout/TopNavigation.d.ts.map +1 -0
  94. package/dist/v2/navigation/DashboardLayout/TopNavigation.js +453 -0
  95. package/dist/v2/navigation/DashboardLayout/TopNavigation.scss.js +6 -0
  96. package/dist/v2/navigation/DashboardLayout/assets/AdminLogo.png.js +3 -0
  97. package/dist/v2/navigation/DashboardLayout/assets/BookedLogo_Mark.png.js +3 -0
  98. package/dist/v2/navigation/DashboardLayout/index.d.ts +7 -0
  99. package/dist/v2/navigation/DashboardLayout/index.d.ts.map +1 -0
  100. package/package.json +4 -3
  101. package/src/assets/Trend-Down.svg +3 -0
  102. package/src/assets/Trend-Up.svg +3 -0
  103. package/src/index.ts +3 -1
  104. package/src/v2/components/EntityHeader/EntityHeader.scss +133 -0
  105. package/src/v2/components/EntityHeader/EntityHeader.stories.tsx +103 -0
  106. package/src/v2/components/EntityHeader/EntityHeader.tsx +76 -0
  107. package/src/v2/components/EntityHeader/index.ts +1 -0
  108. package/src/v2/components/Select/Select.scss +188 -0
  109. package/src/v2/components/Select/Select.stories.tsx +164 -0
  110. package/src/v2/components/Select/Select.tsx +56 -0
  111. package/src/v2/components/Select/index.ts +2 -0
  112. package/src/v2/components/Tooltip/Tooltip.scss +92 -0
  113. package/src/v2/components/Tooltip/Tooltip.stories.tsx +164 -0
  114. package/src/v2/components/Tooltip/Tooltip.tsx +64 -0
  115. package/src/v2/components/Tooltip/index.ts +8 -0
  116. package/src/v2/components/UserAvatar/UserAvatar.scss +62 -0
  117. package/src/v2/components/UserAvatar/UserAvatar.stories.tsx +94 -0
  118. package/src/v2/components/UserAvatar/UserAvatar.tsx +96 -0
  119. package/src/v2/components/UserAvatar/index.ts +1 -0
  120. package/src/v2/components/UserPanel/UserPanel.scss +195 -0
  121. package/src/v2/components/UserPanel/UserPanel.stories.tsx +66 -0
  122. package/src/v2/components/UserPanel/UserPanel.tsx +132 -0
  123. package/src/v2/components/UserPanel/index.ts +2 -0
  124. package/src/v2/dashboard-analytics/blog-posts/Blog.scss +92 -0
  125. package/src/v2/dashboard-analytics/blog-posts/Blog.stories.tsx +57 -0
  126. package/src/v2/dashboard-analytics/blog-posts/Blog.tsx +91 -0
  127. package/src/v2/dashboard-analytics/blog-posts/index.ts +2 -0
  128. package/src/v2/dashboard-analytics/chart/Chart.scss +424 -0
  129. package/src/v2/dashboard-analytics/chart/Chart.stories.tsx +157 -0
  130. package/src/v2/dashboard-analytics/chart/Chart.tsx +623 -0
  131. package/src/v2/dashboard-analytics/chart/index.ts +2 -0
  132. package/src/v2/dashboard-analytics/dashboard/Dashboard.scss +254 -0
  133. package/src/v2/dashboard-analytics/dashboard/Dashboard.stories.tsx +264 -0
  134. package/src/v2/dashboard-analytics/dashboard/Dashboard.tsx +248 -0
  135. package/src/v2/dashboard-analytics/dashboard/index.ts +2 -0
  136. package/src/v2/dashboard-analytics/index.ts +12 -0
  137. package/src/v2/dashboard-analytics/metric-card/MetricCard.scss +125 -0
  138. package/src/v2/dashboard-analytics/metric-card/MetricCard.stories.tsx +106 -0
  139. package/src/v2/dashboard-analytics/metric-card/MetricCard.tsx +72 -0
  140. package/src/v2/dashboard-analytics/metric-card/index.ts +2 -0
  141. package/src/v2/dashboard-analytics/venue-card/VenueCard.scss +112 -0
  142. package/src/v2/dashboard-analytics/venue-card/VenueCard.stories.tsx +40 -0
  143. package/src/v2/dashboard-analytics/venue-card/VenueCard.tsx +62 -0
  144. package/src/v2/dashboard-analytics/venue-card/index.ts +2 -0
  145. package/src/v2/dashboard-analytics/venue-closed-card/VenueClosedCard.scss +129 -0
  146. package/src/v2/dashboard-analytics/venue-closed-card/VenueClosedCard.stories.tsx +31 -0
  147. package/src/v2/dashboard-analytics/venue-closed-card/VenueClosedCard.tsx +61 -0
  148. package/src/v2/dashboard-analytics/venue-closed-card/index.ts +2 -0
  149. package/src/v2/design-system/colors/ColorSystem.scss +439 -0
  150. package/src/v2/design-system/colors/ColorSystem.stories.tsx +730 -0
  151. package/src/v2/design-system/typography/Typography.scss +295 -0
  152. package/src/v2/design-system/typography/Typography.stories.tsx +109 -0
  153. package/src/v2/index.ts +11 -7
  154. package/src/v2/navigation/DashboardLayout/AdminSidebar.scss +207 -0
  155. package/src/v2/navigation/DashboardLayout/AdminSidebar.tsx +171 -0
  156. package/src/v2/navigation/DashboardLayout/DashboardFooter.scss +30 -0
  157. package/src/v2/navigation/DashboardLayout/DashboardFooter.tsx +25 -0
  158. package/src/v2/navigation/DashboardLayout/DashboardLayout.scss +91 -0
  159. package/src/v2/navigation/DashboardLayout/DashboardLayout.stories.tsx +370 -0
  160. package/src/v2/navigation/DashboardLayout/DashboardLayout.tsx +190 -0
  161. package/src/v2/navigation/DashboardLayout/ProviderSidebar.scss +266 -0
  162. package/src/v2/navigation/DashboardLayout/ProviderSidebar.tsx +234 -0
  163. package/src/v2/navigation/DashboardLayout/Sidebar.stories.tsx +220 -0
  164. package/src/v2/navigation/DashboardLayout/TopNavigation.scss +206 -0
  165. package/src/v2/navigation/DashboardLayout/TopNavigation.tsx +244 -0
  166. package/src/v2/navigation/DashboardLayout/assets/AdminLogo.png +0 -0
  167. package/src/v2/navigation/DashboardLayout/assets/BookedLogo_Mark.png +0 -0
  168. package/src/v2/navigation/DashboardLayout/index.ts +6 -0
  169. package/src/v2/styles/index.scss +0 -1
  170. package/src/v2/styles/tokens/_colors.scss +531 -98
  171. package/dist/v2/components/Colors/Colors.d.ts +0 -21
  172. package/dist/v2/components/Colors/Colors.d.ts.map +0 -1
  173. package/dist/v2/components/Colors/index.d.ts +0 -3
  174. package/dist/v2/components/Colors/index.d.ts.map +0 -1
  175. package/dist/v2/components/Typography/Typography.d.ts +0 -11
  176. package/dist/v2/components/Typography/Typography.d.ts.map +0 -1
  177. package/dist/v2/components/Typography/index.d.ts +0 -3
  178. package/dist/v2/components/Typography/index.d.ts.map +0 -1
  179. package/src/v2/components/Colors/Colors.scss +0 -64
  180. package/src/v2/components/Colors/Colors.stories.tsx +0 -143
  181. package/src/v2/components/Colors/Colors.tsx +0 -51
  182. package/src/v2/components/Colors/ColorsAliases.stories.tsx +0 -285
  183. package/src/v2/components/Colors/Sizes.stories.tsx +0 -141
  184. package/src/v2/components/Colors/index.ts +0 -2
  185. package/src/v2/components/Typography/Typography.scss +0 -72
  186. package/src/v2/components/Typography/Typography.stories.tsx +0 -266
  187. package/src/v2/components/Typography/Typography.tsx +0 -56
  188. package/src/v2/components/Typography/index.ts +0 -2
  189. package/src/v2/styles/tokens/_aliases.scss +0 -199
@@ -0,0 +1,57 @@
1
+ import { Meta, Story } from '@storybook/react-vite';
2
+ import { Blog, BlogProps } from './Blog';
3
+
4
+ export default {
5
+ title: 'v2/Dashboard Analytics/Blog',
6
+ component: Blog,
7
+ argTypes: {
8
+ posts: {
9
+ description: 'Array of blog posts to display',
10
+ control: 'object',
11
+ },
12
+ logoUrl: {
13
+ description: 'URL for the logo image',
14
+ control: 'text',
15
+ },
16
+ className: {
17
+ description: 'Additional CSS classes',
18
+ control: 'text',
19
+ },
20
+ },
21
+ } as Meta<BlogProps>;
22
+
23
+ const Template: Story<BlogProps> = (args: BlogProps) => (
24
+ <div style={{ maxWidth: '600px', padding: '20px' }}>
25
+ <Blog {...args} />
26
+ </div>
27
+ );
28
+
29
+ export const Default = Template.bind({});
30
+ Default.args = {};
31
+
32
+ export const CustomPosts = Template.bind({});
33
+ CustomPosts.args = {
34
+ posts: [
35
+ {
36
+ title: 'Getting Started with Our Platform',
37
+ excerpt: 'Learn the basics of setting up your account and making the most of our features. This comprehensive guide will walk you through everything you need to know.',
38
+ url: 'https://example.com/getting-started'
39
+ },
40
+ {
41
+ title: 'Advanced Tips and Tricks',
42
+ excerpt: 'Unlock the full potential of our platform with these expert tips. Discover hidden features and shortcuts that will boost your productivity.',
43
+ url: 'https://example.com/tips-and-tricks'
44
+ }
45
+ ]
46
+ };
47
+
48
+ export const SinglePost = Template.bind({});
49
+ SinglePost.args = {
50
+ posts: [
51
+ {
52
+ title: 'Important Announcement',
53
+ excerpt: 'We have exciting news to share with our community. Stay tuned for major updates coming your way.',
54
+ url: 'https://example.com/announcement'
55
+ }
56
+ ]
57
+ };
@@ -0,0 +1,91 @@
1
+ import React from 'react';
2
+ import './Blog.scss';
3
+
4
+ interface BlogPost {
5
+ title: string;
6
+ excerpt: string;
7
+ url: string;
8
+ }
9
+
10
+ interface BlogProps {
11
+ posts?: BlogPost[];
12
+ logoUrl?: string;
13
+ className?: string;
14
+ }
15
+
16
+ const defaultPosts: BlogPost[] = [
17
+ {
18
+ title: 'How Booking Software Transforms the Guest Experience',
19
+ excerpt: 'In the leisure and hospitality industry, first impressions matter. For competitive socialising venues, bowling alleys, cinemas, and beyond, that first impression is often formed long before guests step through your doors.',
20
+ url: 'https://booked.it/how-booking-software-transforms-the-guest-experience/'
21
+ },
22
+ {
23
+ title: '5 ways booking software improves the guest experience before they arrive',
24
+ excerpt: 'When guests choose your venue, their experience doesn\'t begin at the door. It starts the moment they decide to book. That first digital touchpoint sets the tone for everything that follows.',
25
+ url: 'https://booked.it/5-ways-booking-software-improves-the-guest-experience-before-they-arrive/'
26
+ },
27
+ {
28
+ title: 'Ticketing software vs booking software – which is right for your venue?',
29
+ excerpt: 'In the UK leisure and hospitality industry, the terms ticketing software and booking software are often used interchangeably. But while they may appear similar, they serve different purposes.',
30
+ url: 'https://booked.it/ticketing-software-vs-booking-software-which-is-right-for-your-venue/'
31
+ }
32
+ ];
33
+
34
+ const ExternalLinkIcon = () => (
35
+ <svg
36
+ xmlns="http://www.w3.org/2000/svg"
37
+ width="12"
38
+ height="12"
39
+ viewBox="0 0 24 24"
40
+ fill="none"
41
+ stroke="currentColor"
42
+ strokeWidth="2"
43
+ strokeLinecap="round"
44
+ strokeLinejoin="round"
45
+ >
46
+ <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />
47
+ <polyline points="15 3 21 3 21 9" />
48
+ <line x1="10" y1="14" x2="21" y2="3" />
49
+ </svg>
50
+ );
51
+
52
+ export const Blog: React.FC<BlogProps> = ({
53
+ posts = defaultPosts,
54
+ logoUrl = 'https://api.builder.io/api/v1/image/assets/TEMP/1f8a6c2f7239cf2c859ace81bb32160a5d376121?placeholderIfAbsent=true',
55
+ className = ''
56
+ }) => {
57
+ return (
58
+ <div className={`blog ${className}`}>
59
+ <div className="blog__header">
60
+ <h2 className="blog__title">Latest Updates</h2>
61
+ <img
62
+ src={logoUrl}
63
+ alt="Logo"
64
+ className="blog__logo"
65
+ />
66
+ </div>
67
+
68
+ <div className="blog__posts">
69
+ {posts.map((post, index) => (
70
+ <div key={index} className="blog__post">
71
+ <h3 className="blog__post-title">{post.title}</h3>
72
+ <p className="blog__post-excerpt">{post.excerpt}</p>
73
+ <a
74
+ href={post.url}
75
+ target="_blank"
76
+ rel="noopener noreferrer"
77
+ className="blog__post-link"
78
+ >
79
+ Read more
80
+ <span className="blog__post-link-icon">
81
+ <ExternalLinkIcon />
82
+ </span>
83
+ </a>
84
+ </div>
85
+ ))}
86
+ </div>
87
+ </div>
88
+ );
89
+ };
90
+
91
+ export type { BlogProps, BlogPost };
@@ -0,0 +1,2 @@
1
+ export { Blog } from './Blog';
2
+ export type { BlogProps } from './Blog';
@@ -0,0 +1,424 @@
1
+ @import '../../design-system/typography/Typography.scss';
2
+
3
+ .chart {
4
+ position: relative;
5
+ width: 100%;
6
+ max-width: 100%;
7
+ display: flex;
8
+ flex-direction: column;
9
+ gap: 1.4375rem;
10
+ padding: 1rem;
11
+ background-color: var(--surface-primary);
12
+ border: 1px solid var(--border-primary);
13
+ border-radius: 0.5rem;
14
+ overflow: hidden;
15
+ box-sizing: border-box;
16
+ min-width: 0;
17
+ transition: all 0.3s ease-in-out;
18
+
19
+ &--loading {
20
+ .chart__wrapper {
21
+ opacity: 0.6;
22
+ transition: opacity 0.3s ease-in-out;
23
+ }
24
+ }
25
+
26
+ &--refreshing {
27
+ .chart__wrapper {
28
+ opacity: 0.95;
29
+ transition: opacity 0.2s ease-in-out;
30
+ }
31
+
32
+ border-color: rgba(31, 154, 181, 0.3);
33
+ }
34
+
35
+ &[data-full-width="true"] {
36
+ .chart__container {
37
+ margin-left: -1rem;
38
+ margin-right: -1rem;
39
+ padding: 0;
40
+ width: calc(100% + 2rem);
41
+ }
42
+
43
+ .chart__wrapper {
44
+ margin-left: 0;
45
+ margin-right: 0;
46
+ width: 100%;
47
+ max-width: none;
48
+ }
49
+ }
50
+
51
+ @media (max-width: 480px) {
52
+ padding: 0.75rem;
53
+ gap: 1rem;
54
+ }
55
+
56
+ @media (min-width: 481px) and (max-width: 768px) {
57
+ padding: 1rem;
58
+ gap: 1.25rem;
59
+ }
60
+
61
+ @media (min-width: 769px) {
62
+ padding: 1.375rem 1rem;
63
+ gap: 1.4375rem;
64
+ }
65
+
66
+ &__header {
67
+ display: flex;
68
+ flex-direction: column;
69
+ gap: 0.25rem;
70
+ margin-left: 0.25rem;
71
+
72
+ @media (min-width: 768px) {
73
+ margin-left: 0.75rem;
74
+ }
75
+ }
76
+
77
+ &__title {
78
+ @include typography('heading.h3');
79
+ line-height: 1.2;
80
+ color: var(--label-primary);
81
+ margin: 0;
82
+ padding: 0;
83
+ display: flex;
84
+ align-items: center;
85
+ gap: 0.5rem;
86
+
87
+ @media (min-width: 480px) {
88
+ font-size: 16px;
89
+ }
90
+
91
+ @media (min-width: 768px) {
92
+ font-size: 17px;
93
+ line-height: 1.176;
94
+ }
95
+ }
96
+
97
+ &__title-refresh-indicator {
98
+ font-size: 12px;
99
+ color: var(--label-primary);
100
+ animation: refreshSpin 1s linear infinite;
101
+ opacity: 0.7;
102
+ }
103
+
104
+ @keyframes refreshSpin {
105
+ from { transform: rotate(0deg); }
106
+ to { transform: rotate(360deg); }
107
+ }
108
+
109
+ &__subtitle {
110
+
111
+ @include typography('heading.h5');
112
+ line-height: 1.4;
113
+ color: var(--label-secondary);
114
+ margin: 0;
115
+ padding: 0;
116
+
117
+ @media (min-width: 480px) {
118
+ font-size: 12.5px;
119
+ }
120
+
121
+ @media (min-width: 768px) {
122
+ font-size: 13px;
123
+ line-height: 1.538;
124
+ }
125
+ }
126
+
127
+ &__container {
128
+ width: 100%;
129
+ max-width: 100%;
130
+ margin: 0 -1rem -1rem -1rem;
131
+ padding: 0;
132
+ overflow: visible;
133
+ box-sizing: border-box;
134
+ transition: all 0.3s ease-in-out;
135
+ position: relative;
136
+
137
+ @media (max-width: 480px) {
138
+ margin: 0 -0.75rem -0.75rem -0.75rem;
139
+ padding: 0;
140
+ }
141
+
142
+ @media (min-width: 768px) {
143
+ margin: 0 -1rem -1.375rem -1rem;
144
+ padding: 0;
145
+ }
146
+ }
147
+
148
+ &__loading-overlay {
149
+ position: absolute;
150
+ top: 0;
151
+ left: 0;
152
+ right: 0;
153
+ bottom: 0;
154
+ background: rgba(248, 248, 250, 0.8);
155
+ display: flex;
156
+ align-items: center;
157
+ justify-content: center;
158
+ z-index: 10;
159
+ backdrop-filter: blur(1px);
160
+ transition: opacity 0.3s ease-in-out;
161
+ }
162
+
163
+ @keyframes chartSpin {
164
+ 0% { transform: rotate(0deg); }
165
+ 100% { transform: rotate(360deg); }
166
+ }
167
+
168
+ &__wrapper {
169
+ width: 100%;
170
+ max-width: 100%;
171
+ height: 220px;
172
+ overflow: visible;
173
+ box-sizing: border-box;
174
+ position: relative;
175
+ transition: all 0.3s ease-in-out;
176
+
177
+ @media (min-width: 480px) {
178
+ height: 250px;
179
+ }
180
+
181
+ @media (min-width: 768px) {
182
+ height: 280px;
183
+ }
184
+
185
+ @media (min-width: 1024px) {
186
+ height: 300px;
187
+ }
188
+
189
+ @media (min-width: 1440px) {
190
+ height: 320px;
191
+ }
192
+ }
193
+
194
+ &__tooltip {
195
+ background-color: #fff;
196
+ border: 1px solid var(--border-primary);
197
+ border-radius: 0.5rem;
198
+ padding: 0.5rem;
199
+ box-shadow: 0 4px 12px rgba(18, 30, 82, 0.1);
200
+ min-width: 80px;
201
+ max-width: 180px;
202
+
203
+ @media (min-width: 480px) {
204
+ padding: 0.625rem;
205
+ min-width: 90px;
206
+ max-width: 190px;
207
+ }
208
+
209
+ @media (min-width: 768px) {
210
+ padding: 0.75rem;
211
+ min-width: 100px;
212
+ max-width: 200px;
213
+ }
214
+ }
215
+
216
+ &__tooltip-label {
217
+ font-size: 11px;
218
+ font-weight: 600;
219
+ line-height: 1;
220
+ color: var(--label-secondary);
221
+ margin-bottom: 0.25rem;
222
+
223
+ @media (min-width: 480px) {
224
+ font-size: 12px;
225
+ }
226
+
227
+ @media (min-width: 768px) {
228
+ font-size: 13px;
229
+ }
230
+ }
231
+
232
+ &__tooltip-value {
233
+ font-size: 13px;
234
+ font-weight: 700;
235
+ line-height: 1;
236
+ color: var(--label-primary);
237
+ margin-bottom: 0.25rem;
238
+
239
+ @media (min-width: 480px) {
240
+ font-size: 14px;
241
+ }
242
+
243
+ @media (min-width: 768px) {
244
+ font-size: 15px;
245
+ }
246
+ }
247
+
248
+ &__tooltip-participants {
249
+ font-size: 9px;
250
+ font-weight: 500;
251
+ line-height: 1;
252
+ color: var(--label-secondary);
253
+ margin-bottom: 0.5rem;
254
+
255
+ @media (min-width: 480px) {
256
+ font-size: 9.5px;
257
+ }
258
+
259
+ @media (min-width: 768px) {
260
+ font-size: 10px;
261
+ }
262
+ }
263
+
264
+ &__tooltip-trend {
265
+ font-size: 10px;
266
+ font-weight: 500;
267
+ line-height: 1;
268
+ margin-bottom: 0.25rem;
269
+
270
+ @media (min-width: 480px) {
271
+ font-size: 10.5px;
272
+ }
273
+
274
+ @media (min-width: 768px) {
275
+ font-size: 11px;
276
+ }
277
+
278
+ &.positive {
279
+ color: var(--success-dark, #2D6B18);
280
+ }
281
+
282
+ &.negative {
283
+ color: var(--error-dark, #CC3C35);
284
+ }
285
+
286
+ &.neutral {
287
+ color: var(--label-secondary);
288
+ }
289
+ }
290
+
291
+ &__tooltip-trend-content {
292
+ display: flex;
293
+ align-items: center;
294
+ gap: 0.25rem;
295
+ }
296
+
297
+ &__tooltip-trend-icon {
298
+ flex-shrink: 0;
299
+
300
+ &.positive {
301
+ color: var(--success-dark, #2D6B18);
302
+ }
303
+
304
+ &.negative {
305
+ color: var(--error-dark, #CC3C35);
306
+ }
307
+ }
308
+
309
+ &__tooltip-trend-value {
310
+ font-weight: 600;
311
+ }
312
+
313
+ &__tooltip-comparison {
314
+ font-size: 9px;
315
+ font-weight: 500;
316
+ line-height: 1;
317
+ color: var(--label-secondary);
318
+ margin-top: 0.25rem;
319
+
320
+ @media (min-width: 480px) {
321
+ font-size: 9.5px;
322
+ }
323
+
324
+ @media (min-width: 768px) {
325
+ font-size: 10px;
326
+ }
327
+ }
328
+
329
+ :global {
330
+ .recharts-cartesian-axis-tick {
331
+ text {
332
+ fill: var(--label-secondary) !important;
333
+ @include typography('heading.h6');
334
+ @media (min-width: 480px) {
335
+ font-size: 10px !important;
336
+ }
337
+
338
+ @media (min-width: 768px) {
339
+ font-size: 11px !important;
340
+ }
341
+ }
342
+ }
343
+
344
+ .recharts-cartesian-grid-horizontal line,
345
+ .recharts-cartesian-grid-vertical line {
346
+ stroke: var(--label-secondary) !important;
347
+ stroke-dasharray: 3 3 !important;
348
+ }
349
+
350
+ .recharts-tooltip-cursor {
351
+ fill: transparent;
352
+ }
353
+
354
+ .recharts-reference-line {
355
+ line {
356
+ stroke: var(--fill-action) !important;
357
+ stroke-width: 2 !important;
358
+ stroke-dasharray: 6 4 !important;
359
+ }
360
+ }
361
+
362
+ .recharts-area-dot {
363
+ r: 3 !important;
364
+
365
+ @media (min-width: 480px) {
366
+ r: 3.5 !important;
367
+ }
368
+
369
+ @media (min-width: 768px) {
370
+ r: 4 !important;
371
+ }
372
+ }
373
+
374
+ .recharts-active-dot {
375
+ r: 5 !important;
376
+
377
+ @media (min-width: 480px) {
378
+ r: 5.5 !important;
379
+ }
380
+
381
+ @media (min-width: 768px) {
382
+ r: 6 !important;
383
+ }
384
+ }
385
+
386
+ .recharts-responsive-container {
387
+ width: 100% !important;
388
+ height: 100% !important;
389
+ transition: all 0.3s ease-in-out;
390
+ }
391
+
392
+ .recharts-surface {
393
+ width: 100% !important;
394
+ transition: all 0.3s ease-in-out;
395
+ }
396
+
397
+ .recharts-area {
398
+ filter: drop-shadow(0 2px 8px rgba(31, 154, 181, 0.15));
399
+ transition: filter 0.3s ease-in-out;
400
+
401
+ &:hover {
402
+ filter: drop-shadow(0 4px 12px rgba(31, 154, 181, 0.25));
403
+ }
404
+ }
405
+
406
+ .recharts-cartesian-axis.recharts-yAxis {
407
+ .recharts-cartesian-axis-tick {
408
+ text {
409
+ text-anchor: end !important;
410
+ }
411
+ }
412
+ }
413
+ }
414
+
415
+ &[data-full-width="true"] {
416
+ :global {
417
+ .recharts-cartesian-axis-tick {
418
+ text {
419
+ font-size: 10px !important;
420
+ }
421
+ }
422
+ }
423
+ }
424
+ }