@licklist/design 0.78.27 → 0.78.29

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 (139) hide show
  1. package/dist/assets/Trend-Down.svg.js +16 -0
  2. package/dist/assets/Trend-Up.svg.js +16 -0
  3. package/dist/index.d.ts +2 -0
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +11 -0
  6. package/dist/v2/components/Button/Button.d.ts +8 -4
  7. package/dist/v2/components/Button/Button.d.ts.map +1 -1
  8. package/dist/v2/components/Button/index.d.ts +2 -2
  9. package/dist/v2/components/Button/index.d.ts.map +1 -1
  10. package/dist/v2/components/Checkbox/Checkbox.d.ts +9 -0
  11. package/dist/v2/components/Checkbox/Checkbox.d.ts.map +1 -0
  12. package/dist/v2/components/Checkbox/index.d.ts +3 -0
  13. package/dist/v2/components/Checkbox/index.d.ts.map +1 -0
  14. package/dist/v2/components/FormField/FormField.d.ts +10 -0
  15. package/dist/v2/components/FormField/FormField.d.ts.map +1 -0
  16. package/dist/v2/components/FormField/index.d.ts +3 -0
  17. package/dist/v2/components/FormField/index.d.ts.map +1 -0
  18. package/dist/v2/components/NewInput/NewInput.d.ts +20 -0
  19. package/dist/v2/components/NewInput/NewInput.d.ts.map +1 -0
  20. package/dist/v2/components/NewInput/index.d.ts +2 -0
  21. package/dist/v2/components/NewInput/index.d.ts.map +1 -0
  22. package/dist/v2/components/NewPageHeader/NewPageHeader.d.ts +10 -0
  23. package/dist/v2/components/NewPageHeader/NewPageHeader.d.ts.map +1 -0
  24. package/dist/v2/components/NewPageHeader/index.d.ts +2 -0
  25. package/dist/v2/components/NewPageHeader/index.d.ts.map +1 -0
  26. package/dist/v2/components/SectionHeader/SectionHeader.d.ts +8 -0
  27. package/dist/v2/components/SectionHeader/SectionHeader.d.ts.map +1 -0
  28. package/dist/v2/components/SectionHeader/index.d.ts +3 -0
  29. package/dist/v2/components/SectionHeader/index.d.ts.map +1 -0
  30. package/dist/v2/components/Select/Select.js +128 -0
  31. package/dist/v2/components/Select/Select.scss.js +6 -0
  32. package/dist/v2/components/WYSIWYGEditor/Icons.d.ts +16 -0
  33. package/dist/v2/components/WYSIWYGEditor/Icons.d.ts.map +1 -0
  34. package/dist/v2/components/WYSIWYGEditor/WYSIWYGEditor.d.ts +14 -0
  35. package/dist/v2/components/WYSIWYGEditor/WYSIWYGEditor.d.ts.map +1 -0
  36. package/dist/v2/components/WYSIWYGEditor/index.d.ts +3 -0
  37. package/dist/v2/components/WYSIWYGEditor/index.d.ts.map +1 -0
  38. package/dist/v2/components/index.d.ts +22 -0
  39. package/dist/v2/components/index.d.ts.map +1 -0
  40. package/dist/v2/dashboard-analytics/blog-posts/Blog.js +103 -0
  41. package/dist/v2/dashboard-analytics/blog-posts/Blog.scss.js +6 -0
  42. package/dist/v2/dashboard-analytics/chart/Chart.js +733 -0
  43. package/dist/v2/dashboard-analytics/chart/Chart.scss.js +6 -0
  44. package/dist/v2/dashboard-analytics/dashboard/Dashboard.js +270 -0
  45. package/dist/v2/dashboard-analytics/dashboard/Dashboard.scss.js +6 -0
  46. package/dist/v2/dashboard-analytics/metric-card/MetricCard.js +65 -0
  47. package/dist/v2/dashboard-analytics/metric-card/MetricCard.scss.js +6 -0
  48. package/dist/v2/dashboard-analytics/venue-card/VenueCard.js +50 -0
  49. package/dist/v2/dashboard-analytics/venue-card/VenueCard.scss.js +6 -0
  50. package/dist/v2/dashboard-analytics/venue-closed-card/VenueClosedCard.js +48 -0
  51. package/dist/v2/dashboard-analytics/venue-closed-card/VenueClosedCard.scss.js +6 -0
  52. package/dist/v2/{navigation/icons → icons}/index.d.ts +6 -0
  53. package/dist/v2/icons/index.d.ts.map +1 -0
  54. package/dist/v2/icons/index.js +113 -0
  55. package/dist/v2/index.d.ts +3 -1
  56. package/dist/v2/index.d.ts.map +1 -1
  57. package/dist/v2/navigation/DashboardLayout/TopNavigation.scss.js +1 -1
  58. package/dist/v2/navigation/DashboardLayout/index.d.ts +1 -0
  59. package/dist/v2/navigation/DashboardLayout/index.d.ts.map +1 -1
  60. package/dist/v2/navigation/index.d.ts +1 -1
  61. package/dist/v2/navigation/index.d.ts.map +1 -1
  62. package/dist/v2/pages/Settings/SettingsPage.d.ts +13 -0
  63. package/dist/v2/pages/Settings/SettingsPage.d.ts.map +1 -0
  64. package/dist/v2/pages/Settings/SettingsPage.js +88 -0
  65. package/dist/v2/pages/Settings/SettingsPage.scss.js +6 -0
  66. package/dist/v2/pages/Settings/SettingsTabs.d.ts +14 -0
  67. package/dist/v2/pages/Settings/SettingsTabs.d.ts.map +1 -0
  68. package/dist/v2/pages/Settings/SettingsTabs.js +29 -0
  69. package/dist/v2/pages/Settings/SettingsTabs.scss.js +6 -0
  70. package/dist/v2/pages/Settings/components/SidebarCustomisation.d.ts +20 -0
  71. package/dist/v2/pages/Settings/components/SidebarCustomisation.d.ts.map +1 -0
  72. package/dist/v2/pages/Settings/components/SidebarCustomisation.js +283 -0
  73. package/dist/v2/pages/Settings/components/SidebarCustomisation.scss.js +6 -0
  74. package/dist/v2/pages/Settings/components/SidebarNavItem.d.ts +19 -0
  75. package/dist/v2/pages/Settings/components/SidebarNavItem.d.ts.map +1 -0
  76. package/dist/v2/pages/Settings/components/SidebarNavItem.js +41 -0
  77. package/dist/v2/pages/Settings/components/SidebarNavItem.scss.js +6 -0
  78. package/dist/v2/pages/Settings/components/index.d.ts +5 -0
  79. package/dist/v2/pages/Settings/components/index.d.ts.map +1 -0
  80. package/dist/v2/pages/Settings/index.d.ts +7 -0
  81. package/dist/v2/pages/Settings/index.d.ts.map +1 -0
  82. package/package.json +3 -3
  83. package/src/index.ts +3 -1
  84. package/src/v2/components/Alert/Alert.scss +3 -3
  85. package/src/v2/components/Button/Button.tsx +34 -12
  86. package/src/v2/components/Button/index.ts +2 -2
  87. package/src/v2/components/Checkbox/Checkbox.scss +211 -0
  88. package/src/v2/components/Checkbox/Checkbox.stories.tsx +316 -0
  89. package/src/v2/components/Checkbox/Checkbox.tsx +106 -0
  90. package/src/v2/components/Checkbox/index.ts +3 -0
  91. package/src/v2/components/FormField/FormField.scss +87 -0
  92. package/src/v2/components/FormField/FormField.stories.tsx +71 -0
  93. package/src/v2/components/FormField/FormField.tsx +37 -0
  94. package/src/v2/components/FormField/index.ts +3 -0
  95. package/src/v2/components/NewInput/NewInput.stories.tsx +433 -0
  96. package/src/v2/components/NewInput/NewInput.tsx +96 -0
  97. package/src/v2/components/NewInput/index.ts +1 -0
  98. package/src/v2/components/NewPageHeader/NewPageHeader.scss +47 -0
  99. package/src/v2/components/NewPageHeader/NewPageHeader.stories.tsx +44 -0
  100. package/src/v2/components/NewPageHeader/NewPageHeader.tsx +35 -0
  101. package/src/v2/components/NewPageHeader/index.ts +1 -0
  102. package/src/v2/components/SectionHeader/SectionHeader.scss +11 -0
  103. package/src/v2/components/SectionHeader/SectionHeader.tsx +15 -0
  104. package/src/v2/components/SectionHeader/index.ts +2 -0
  105. package/src/v2/components/Select/Select.scss +5 -5
  106. package/src/v2/components/WYSIWYGEditor/Icons.tsx +93 -0
  107. package/src/v2/components/WYSIWYGEditor/WYSIWYGEditor.scss +310 -0
  108. package/src/v2/components/WYSIWYGEditor/WYSIWYGEditor.stories.tsx +252 -0
  109. package/src/v2/components/WYSIWYGEditor/WYSIWYGEditor.tsx +393 -0
  110. package/src/v2/components/WYSIWYGEditor/index.ts +3 -0
  111. package/src/v2/components/index.ts +37 -0
  112. package/src/v2/icons/index.tsx +105 -0
  113. package/src/v2/index.ts +10 -2
  114. package/src/v2/navigation/DashboardLayout/TopNavigation.scss +1 -0
  115. package/src/v2/navigation/DashboardLayout/index.ts +3 -0
  116. package/src/v2/navigation/Navigation/Navigation.tsx +1 -1
  117. package/src/v2/navigation/NavigationItem/NavigationItem.stories.tsx +1 -1
  118. package/src/v2/navigation/index.ts +1 -1
  119. package/src/v2/pages/Settings/SettingsContentPlaceholder.scss +24 -0
  120. package/src/v2/pages/Settings/SettingsPage.scss +52 -0
  121. package/src/v2/pages/Settings/SettingsPage.tsx +46 -0
  122. package/src/v2/pages/Settings/SettingsTabs.scss +44 -0
  123. package/src/v2/pages/Settings/SettingsTabs.tsx +36 -0
  124. package/src/v2/pages/Settings/components/SidebarCustomisation.scss +204 -0
  125. package/src/v2/pages/Settings/components/SidebarCustomisation.stories.tsx +48 -0
  126. package/src/v2/pages/Settings/components/SidebarCustomisation.tsx +172 -0
  127. package/src/v2/pages/Settings/components/SidebarNavItem.scss +76 -0
  128. package/src/v2/pages/Settings/components/SidebarNavItem.stories.tsx +50 -0
  129. package/src/v2/pages/Settings/components/SidebarNavItem.tsx +52 -0
  130. package/src/v2/pages/Settings/components/index.ts +5 -0
  131. package/src/v2/pages/Settings/index.ts +8 -0
  132. package/src/v2/styles/components/Button.scss +51 -53
  133. package/src/v2/styles/form/Layout.scss +15 -0
  134. package/src/v2/styles/form/NewInput.scss +83 -53
  135. package/src/v2/styles/index.scss +1 -0
  136. package/src/v2/styles/tokens/_colors.scss +6 -6
  137. package/src/v2/styles/tokens/_typography.scss +2 -2
  138. package/dist/v2/navigation/icons/index.d.ts.map +0 -1
  139. package/src/v2/navigation/icons/index.tsx +0 -72
@@ -0,0 +1,96 @@
1
+ import React, {InputHTMLAttributes, TextareaHTMLAttributes, forwardRef, ReactNode} from 'react';
2
+ import '../../styles/form/NewInput.scss';
3
+
4
+ type CommonInputProps = {
5
+ label?: string;
6
+ optional?: boolean;
7
+ helperText?: string;
8
+ error?: string;
9
+ icon?: ReactNode;
10
+ required?: boolean;
11
+ }
12
+
13
+ type InputProps = CommonInputProps & {
14
+ as?: 'input';
15
+ } & InputHTMLAttributes<HTMLInputElement>
16
+
17
+ type TextareaProps = CommonInputProps & {
18
+ as: 'textarea';
19
+ } & TextareaHTMLAttributes<HTMLTextAreaElement>
20
+
21
+ export type NewInputProps = InputProps | TextareaProps
22
+
23
+ export const NewInput = forwardRef<HTMLInputElement | HTMLTextAreaElement, NewInputProps>(
24
+ ({label, optional, helperText, error, icon, as = 'input', required, className = '', ...props}, ref) => {
25
+ const isError = !!error;
26
+ const containerClasses = [
27
+ 'new-form-input',
28
+ isError ? 'new-form-input--error' : '',
29
+ props.disabled ? 'new-form-input--disabled' : '',
30
+ className
31
+ ].filter(Boolean).join(' ');
32
+
33
+ const renderInput = () => {
34
+ if (as === 'textarea') {
35
+ return (
36
+ <textarea
37
+ ref={ref as React.Ref<HTMLTextAreaElement>}
38
+ className="new-form-input__textarea"
39
+ {...(props as React.TextareaHTMLAttributes<HTMLTextAreaElement>)}
40
+ />
41
+ );
42
+ }
43
+
44
+ if (icon) {
45
+ return (
46
+ <div className="new-form-input__input-with-icon">
47
+ <input
48
+ ref={ref as React.Ref<HTMLInputElement>}
49
+ {...(props as React.InputHTMLAttributes<HTMLInputElement>)}
50
+ />
51
+ <div className="icon">{icon}</div>
52
+ </div>
53
+ );
54
+ }
55
+
56
+ return (
57
+ <input
58
+ ref={ref as React.Ref<HTMLInputElement>}
59
+ className="new-form-input__input"
60
+ {...(props as React.InputHTMLAttributes<HTMLInputElement>)}
61
+ />
62
+ );
63
+ };
64
+
65
+ return (
66
+ <div className={containerClasses}>
67
+ {(label || optional) && (
68
+ <div className="new-form-input__label-row">
69
+ {label && (
70
+ <label className="new-form-input__label">
71
+ {label}
72
+ </label>
73
+ )}
74
+ {optional && <span className="new-form-input__label-optional">Optional</span>}
75
+ </div>
76
+ )}
77
+
78
+ {renderInput()}
79
+
80
+ {helperText && (
81
+ <p className="new-form-input__helper-text">
82
+ {helperText}
83
+ </p>
84
+ )}
85
+
86
+ {error && error !== ' ' && (
87
+ <p className="new-form-input__error-text">
88
+ {error}
89
+ </p>
90
+ )}
91
+ </div>
92
+ );
93
+ }
94
+ );
95
+
96
+ NewInput.displayName = 'NewInput';
@@ -0,0 +1 @@
1
+ export * from './NewInput';
@@ -0,0 +1,47 @@
1
+ .new-page-header-container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: flex-start;
5
+ gap: 24px;
6
+ align-self: stretch;
7
+ padding-left: 32px;
8
+ padding-right: 32px;
9
+
10
+ @media (max-width: 768px) {
11
+ padding-left: 16px;
12
+ padding-right: 16px;
13
+ gap: 16px;
14
+ }
15
+ }
16
+
17
+ .new-page-header {
18
+ display: flex;
19
+ justify-content: space-between;
20
+ align-items: center;
21
+ align-self: stretch;
22
+ width: 100%;
23
+ gap: 16px;
24
+
25
+ @media (max-width: 768px) {
26
+ gap: 8px;
27
+ padding-top: 16px;
28
+ }
29
+
30
+ &__title {
31
+ color: var(--label-primary);
32
+ font-family: 'Geist', sans-serif;
33
+ font-size: 24px;
34
+ font-style: normal;
35
+ font-weight: 600;
36
+ line-height: 28px;
37
+ margin: 0;
38
+ }
39
+ }
40
+
41
+ .new-page-header__divider {
42
+ width: 100%;
43
+ height: 1px;
44
+ border: none;
45
+ background-color: var(--border-primary, #e8e9ef);
46
+ margin: 0;
47
+ }
@@ -0,0 +1,44 @@
1
+ import type { Meta, StoryObj } from '@storybook/react'
2
+ import { NewPageHeader } from './NewPageHeader'
3
+
4
+ const meta: Meta<typeof NewPageHeader> = {
5
+ title: 'V2/Components/NewPageHeader',
6
+ component: NewPageHeader,
7
+ parameters: {
8
+ layout: 'padded',
9
+ },
10
+ tags: ['autodocs'],
11
+ }
12
+
13
+ export default meta
14
+ type Story = StoryObj<typeof NewPageHeader>
15
+
16
+ export const Default: Story = {
17
+ args: {
18
+ title: 'New waiver',
19
+ cancelLabel: 'Cancel',
20
+ onCancel: () => alert('Cancel clicked'),
21
+ },
22
+ }
23
+
24
+ export const WithoutCancelButton: Story = {
25
+ args: {
26
+ title: 'View Only Page',
27
+ },
28
+ }
29
+
30
+ export const LongTitle: Story = {
31
+ args: {
32
+ title: 'This is a very long page title that might wrap on smaller screens',
33
+ cancelLabel: 'Cancel',
34
+ onCancel: () => alert('Cancel clicked'),
35
+ },
36
+ }
37
+
38
+ export const CustomCancelLabel: Story = {
39
+ args: {
40
+ title: 'Edit Waiver Template',
41
+ cancelLabel: 'Go Back',
42
+ onCancel: () => alert('Go Back clicked'),
43
+ },
44
+ }
@@ -0,0 +1,35 @@
1
+ import React from 'react';
2
+ import { Button, ButtonText } from '../Button';
3
+ import './NewPageHeader.scss';
4
+
5
+ export interface NewPageHeaderProps {
6
+ title: string;
7
+ cancelLabel?: string;
8
+ onCancel?: () => void;
9
+ className?: string;
10
+ }
11
+
12
+ export const NewPageHeader: React.FC<NewPageHeaderProps> = ({
13
+ title,
14
+ cancelLabel = 'Cancel',
15
+ onCancel,
16
+ className = ''
17
+ }) => {
18
+ return (
19
+ <div className={`new-page-header-container ${className}`}>
20
+ <div className="new-page-header">
21
+ <h1 className="new-page-header__title">{title}</h1>
22
+ {onCancel && (
23
+ <Button
24
+ type="button"
25
+ variant="destructive-soft"
26
+ onClick={onCancel}
27
+ >
28
+ <ButtonText color="danger">{cancelLabel}</ButtonText>
29
+ </Button>
30
+ )}
31
+ </div>
32
+ <hr className="new-page-header__divider" />
33
+ </div>
34
+ );
35
+ };
@@ -0,0 +1 @@
1
+ export * from './NewPageHeader';
@@ -0,0 +1,11 @@
1
+ .section-header {
2
+ display: flex;
3
+ font-family: var(--font-family-sans, 'Geist', sans-serif);
4
+ font-size: 17px;
5
+ font-style: normal;
6
+ font-weight: 600;
7
+ line-height: 20px;
8
+ margin: 0;
9
+ align-self: stretch;
10
+ color: var(--label-primary, #121E52);
11
+ }
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import './SectionHeader.scss';
3
+
4
+ export interface SectionHeaderProps {
5
+ title: string;
6
+ className?: string;
7
+ }
8
+
9
+ export const SectionHeader: React.FC<SectionHeaderProps> = ({ title, className = '' }) => {
10
+ return (
11
+ <span className={`section-header ${className}`}>
12
+ {title}
13
+ </span>
14
+ );
15
+ };
@@ -0,0 +1,2 @@
1
+ export { SectionHeader } from './SectionHeader';
2
+ export type { SectionHeaderProps } from './SectionHeader';
@@ -69,7 +69,7 @@
69
69
 
70
70
  &--error {
71
71
  background-color: var(--surface-status-error);
72
- border-color: var(--border-status-error);
72
+ border-color: var(--borders-status-border-error);
73
73
 
74
74
  &:hover:not(:disabled) {
75
75
  background-color: var(--errors-lighter);
@@ -77,7 +77,7 @@
77
77
  }
78
78
 
79
79
  &:focus {
80
- border-color: var(--errors-dark);
80
+ border-color: var(--borders-status-border-error);
81
81
  background-color: var(--surface-status-error);
82
82
  }
83
83
  }
@@ -141,7 +141,7 @@
141
141
  height: 6px;
142
142
  stroke: var(--label-secondary);
143
143
  transition: all 0.2s ease-in-out;
144
-
144
+
145
145
  .select:focus + & {
146
146
  transform: translateY(-50%) rotate(180deg);
147
147
  }
@@ -164,7 +164,7 @@
164
164
  opacity: 0.8;
165
165
  transform: scale(0.98);
166
166
  border-color: var(--cyan-700);
167
-
167
+
168
168
  &:focus {
169
169
  transform: scale(0.98) translateY(-1px);
170
170
  }
@@ -185,4 +185,4 @@
185
185
 
186
186
  .select--filter-active {
187
187
  animation: filterPulse 0.6s ease-out;
188
- }
188
+ }
@@ -0,0 +1,93 @@
1
+
2
+ export const BoldIcon = () => (
3
+ <svg xmlns="http://www.w3.org/2000/svg" width="34" height="34" viewBox="0 0 24 24" fill="none">
4
+ <path d="M9 11.25H12.375C13.4105 11.25 14.25 10.4105 14.25 9.375C14.25 8.33947 13.4105 7.5 12.375 7.5H9V11.25ZM16.5 14.625C16.5 16.489 14.989 18 13.125 18H7.5V6H12.375C14.239 6 15.75 7.51104 15.75 9.375C15.75 10.2782 15.3952 11.0986 14.8173 11.7043C15.8234 12.2885 16.5 13.3777 16.5 14.625ZM9 12.75V16.5H13.125C14.1605 16.5 15 15.6605 15 14.625C15 13.5895 14.1605 12.75 13.125 12.75H9Z" fill="#626A90"/>
5
+ </svg>
6
+ );
7
+
8
+ export const ItalicIcon = () => (
9
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
10
+ <path d="M14.25 18H8.25V16.5H10.445L12.0319 7.5H9.75V6H15.75V7.5H13.555L11.9681 16.5H14.25V18Z" fill="#626A90"/>
11
+ </svg>
12
+ );
13
+
14
+ export const UnderlineIcon = () => (
15
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
16
+ <path d="M9 5.25V12C9 13.6568 10.3431 15 12 15C13.6568 15 15 13.6568 15 12V5.25H16.5V12C16.5 14.4853 14.4853 16.5 12 16.5C9.51472 16.5 7.5 14.4853 7.5 12V5.25H9ZM6 18H18V19.5H6V18Z" fill="#626A90"/>
17
+ </svg>
18
+ );
19
+
20
+ export const StrikeThroughIcon = () => (
21
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
22
+ <path d="M15.8653 13.5C16.0384 13.8871 16.125 14.317 16.125 14.7897C16.125 15.7969 15.7322 16.5837 14.9465 17.1503C14.1607 17.7167 13.0751 18 11.6896 18C10.4601 18 9.24251 17.7139 8.03694 17.1416V15.4507C9.17653 16.1087 10.3431 16.4377 11.5367 16.4377C13.45 16.4377 14.4096 15.8884 14.4156 14.7897C14.4156 14.3204 14.2537 13.9198 13.9298 13.588C13.9004 13.5579 13.8704 13.5286 13.8398 13.5H5.25V12H18.75V13.5H15.8653ZM12.807 11.25H8.72181C8.59245 11.1325 8.47212 11.0019 8.36082 10.8584C8.03694 10.4406 7.875 9.93419 7.875 9.33905C7.875 8.41202 8.22437 7.62375 8.92312 6.97425C9.62187 6.32474 10.703 6 12.1664 6C13.2701 6 14.3257 6.24606 15.3333 6.7382V8.35193C14.4336 7.83691 13.447 7.5794 12.3734 7.5794C10.514 7.5794 9.58438 8.16595 9.58438 9.33905C9.58438 9.65379 9.74782 9.92847 10.0747 10.1631C10.4016 10.3977 10.8049 10.5851 11.2847 10.7253C11.7499 10.8612 12.2573 11.0361 12.807 11.25Z" fill="#626A90"/>
23
+ </svg>
24
+ );
25
+
26
+ export const Heading1Icon = () => (
27
+ <svg xmlns="http://www.w3.org/2000/svg" width="15" height="12" viewBox="0 0 15 12" fill="none">
28
+ <path d="M3.3125 4.63086H6.87891V0H10.1914V12H6.87891V7.28418H3.3125V12H0V0H3.3125V4.63086ZM14.54 12H12.9717V7.96191H11.5654V6.85254H12.1152C12.9535 6.85254 13.2871 6.54609 13.2871 5.59961H14.54V12Z" fill="#626A90"/>
29
+ </svg>
30
+ );
31
+
32
+ export const Heading2Icon = () => (
33
+ <svg xmlns="http://www.w3.org/2000/svg" width="17" height="12" viewBox="0 0 17 12" fill="none">
34
+ <path d="M3.3125 4.63086H6.87891V0H10.1914V12H6.87891V7.28418H3.3125V12H0V0H3.3125V4.63086ZM14.3154 5.45605C15.8385 5.4562 16.7217 6.24039 16.7217 7.41211C16.7216 8.41248 16.2352 8.84564 15.0635 9.47656C14.0813 9.99919 13.6486 10.4133 13.6123 10.7197H16.7217V12H11.7549C11.7549 10.2603 12.3864 9.36835 13.9639 8.53906C14.8381 8.0794 15.1172 7.86234 15.1172 7.42969C15.1171 7.02416 14.8377 6.73535 14.333 6.73535C13.7651 6.73536 13.4225 7.10543 13.3594 7.77246L11.7549 7.68262C11.8631 6.27643 12.783 5.45605 14.3154 5.45605Z" fill="#626A90"/>
35
+ </svg>
36
+ );
37
+
38
+ export const ParagraphIcon = () => (
39
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
40
+ <path d="M12 7.5V18.75H10.5V15C8.01472 15 6 12.9853 6 10.5C6 8.01472 8.01472 6 10.5 6H18V7.5H15.75V18.75H14.25V7.5H12ZM10.5 7.5C8.84314 7.5 7.5 8.84314 7.5 10.5C7.5 12.1568 8.84314 13.5 10.5 13.5V7.5Z" fill="#626A90"/>
41
+ </svg>
42
+ );
43
+
44
+ export const BulletListIcon = () => (
45
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
46
+ <path d="M9 6H18.75V7.5H9V6ZM6.375 7.875C5.75368 7.875 5.25 7.37132 5.25 6.75C5.25 6.12868 5.75368 5.625 6.375 5.625C6.99632 5.625 7.5 6.12868 7.5 6.75C7.5 7.37132 6.99632 7.875 6.375 7.875ZM6.375 13.125C5.75368 13.125 5.25 12.6213 5.25 12C5.25 11.3787 5.75368 10.875 6.375 10.875C6.99632 10.875 7.5 11.3787 7.5 12C7.5 12.6213 6.99632 13.125 6.375 13.125ZM6.375 18.3C5.75368 18.3 5.25 17.7963 5.25 17.175C5.25 16.5537 5.75368 16.05 6.375 16.05C6.99632 16.05 7.5 16.5537 7.5 17.175C7.5 17.7963 6.99632 18.3 6.375 18.3ZM9 11.25H18.75V12.75H9V11.25ZM9 16.5H18.75V18H9V16.5Z" fill="#626A90"/>
47
+ </svg>
48
+ );
49
+
50
+ export const NumberedListIcon = () => (
51
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
52
+ <path d="M7.31268 5.625H6.538L5.4375 5.91988V7.08436L6.18752 6.88337L6.18763 9.375H5.25V10.5H8.25V9.375H7.31268V5.625ZM10.5 6H18.75V7.5H10.5V6ZM10.5 11.25H18.75V12.75H10.5V11.25ZM10.5 16.5H18.75V18H10.5V16.5ZM5.15625 14.7188C5.15625 13.8385 5.86979 13.125 6.75 13.125C7.63021 13.125 8.34375 13.8385 8.34375 14.7188C8.34375 15.0829 8.22137 15.419 8.0156 15.6875L8.01203 15.6922L6.9869 16.875H8.25V18H5.25009L5.24969 17.1589L7.10378 15.0262C7.17548 14.9439 7.21875 14.8366 7.21875 14.7188C7.21875 14.4599 7.00889 14.25 6.75 14.25C6.50533 14.25 6.3043 14.4376 6.2831 14.6766L6.27382 14.9062H5.15625V14.7188Z" fill="#626A90"/>
53
+ </svg>
54
+ );
55
+
56
+ export const QuoteAltIcon = () => (
57
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
58
+ <path d="M6.43756 15.9909C5.66487 15.1706 5.25 14.25 5.25 12.7578C5.25 10.1332 7.09238 7.78029 9.77294 6.61743L10.4425 7.65064C7.94103 9.00409 7.45214 10.7595 7.25673 11.8665C7.65947 11.6583 8.18669 11.585 8.70353 11.6329C10.0568 11.7584 11.1234 12.8693 11.1234 14.25C11.1234 15.6998 9.94812 16.875 8.49837 16.875C7.69357 16.875 6.92397 16.5072 6.43756 15.9909ZM13.9375 15.9909C13.1649 15.1706 12.75 14.25 12.75 12.7578C12.75 10.1332 14.5924 7.78029 17.2729 6.61743L17.9425 7.65064C15.441 9.00409 14.9522 10.7595 14.7567 11.8665C15.1594 11.6583 15.6867 11.585 16.2035 11.6329C17.5568 11.7584 18.6234 12.8693 18.6234 14.25C18.6234 15.6998 17.4481 16.875 15.9984 16.875C15.1936 16.875 14.424 16.5072 13.9375 15.9909Z" fill="#626A90"/>
59
+ </svg>
60
+ );
61
+
62
+ export const DividerIcon = () => (
63
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
64
+ <rect x="5.25" y="11.25" width="13.5" height="1.5" fill="#626A90"/>
65
+ <circle cx="21.75" cy="12" r="0.75" fill="#626A90" fill-opacity="0.5"/>
66
+ <circle cx="2.25" cy="12" r="0.75" fill="#626A90" fill-opacity="0.5"/>
67
+ </svg>
68
+ );
69
+
70
+ export const HardBreakIcon = () => (
71
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
72
+ <path d="M14.25 16.5H15.375C16.4105 16.5 17.25 15.6605 17.25 14.625C17.25 13.5895 16.4105 12.75 15.375 12.75H5.25V11.25H15.375C17.239 11.25 18.75 12.761 18.75 14.625C18.75 16.489 17.239 18 15.375 18H14.25V19.5L11.25 17.25L14.25 15V16.5ZM5.25 6H18.75V7.5H5.25V6ZM9.75 16.5V18H5.25V16.5H9.75Z" fill="#626A90"/>
73
+ </svg>
74
+ )
75
+
76
+ export const UndoIcon = () => (
77
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
78
+ <path d="M6.06131 6.69136C5.88684 6.85818 5.71976 7.03357 5.56136 7.21755C5.32407 7.49319 5.10569 7.78768 4.90881 8.09936C4.77746 8.30727 4.65565 8.52287 4.54421 8.7457C4.48837 8.85736 4.43524 8.9709 4.38469 9.08613C4.2839 9.31587 4.19401 9.5527 4.11539 9.796C4.07598 9.91797 4.03914 10.0416 4.00559 10.1668C3.93079 10.446 3.87328 10.7259 3.83158 11.0051C3.82934 11.0201 3.82751 11.0351 3.82536 11.05C3.81494 11.1228 3.80597 11.1955 3.79774 11.2682C3.79428 11.2986 3.79116 11.329 3.78807 11.3594C3.78326 11.4071 3.77883 11.4547 3.77495 11.5023C3.75889 11.6978 3.75077 11.8926 3.75009 12.0865C3.75003 12.1086 3.74996 12.1307 3.75009 12.1528C3.75089 12.3012 3.75571 12.449 3.76528 12.5961C3.7665 12.6146 3.76808 12.633 3.76943 12.6514C3.82014 13.3498 3.96775 14.0309 4.20377 14.6767L7.62813 11.1377L5.45502 10.5556C5.48179 10.4557 5.51129 10.3567 5.54272 10.2594C5.66865 9.8695 5.83151 9.50078 6.02609 9.15588C6.07459 9.06992 6.12494 8.9854 6.17732 8.90245C6.91264 7.73794 8.02285 6.87449 9.29715 6.43448C9.38818 6.40305 9.48005 6.37386 9.57268 6.34679C10.1284 6.18439 10.7114 6.10131 11.3052 6.10717C11.4042 6.10814 11.5034 6.11157 11.6028 6.11753C12.0008 6.14137 12.4022 6.2058 12.8023 6.31295C13.2945 6.44483 13.7566 6.63317 14.182 6.8709C14.2125 6.88794 14.2416 6.90723 14.2718 6.92476C14.7547 7.20595 15.1899 7.54933 15.5686 7.94261C15.6449 8.02185 15.7186 8.10326 15.7902 8.18637C15.9047 8.31912 16.0139 8.45605 16.1162 8.59793C16.1915 8.70249 16.2625 8.80995 16.3309 8.91903C17.1864 10.2824 17.4949 11.9837 17.0456 13.6609C16.327 16.3424 13.9009 18.1093 11.2507 18.108V19.6078C14.5636 19.6095 17.5967 17.4016 18.4951 14.0497C19.0819 11.8595 18.6347 9.6365 17.4544 7.89634L17.4558 7.89496C17.4301 7.85706 17.4028 7.81984 17.3764 7.78241C17.3604 7.75975 17.3443 7.73721 17.3281 7.71473C17.2772 7.64435 17.2253 7.57483 17.172 7.50619C17.1543 7.48339 17.1368 7.46044 17.1188 7.43783C17.0658 7.37103 17.0112 7.30536 16.9559 7.24034C16.9336 7.21424 16.9115 7.18811 16.8889 7.16231C16.8382 7.10446 16.7867 7.04739 16.7342 6.99105C16.7045 6.95913 16.6747 6.92719 16.6444 6.89576C16.4036 6.64603 16.1448 6.41195 15.869 6.19625C15.8379 6.17193 15.8052 6.14967 15.7737 6.12582C15.715 6.08143 15.657 6.03598 15.5969 5.99323C15.5586 5.96599 15.5191 5.94038 15.4802 5.91382C15.4213 5.87363 15.3622 5.83365 15.302 5.79505C15.2644 5.7709 15.2263 5.74744 15.1881 5.72393C15.1285 5.6872 15.0687 5.65066 15.0079 5.61551C14.959 5.58729 14.9097 5.55983 14.8601 5.53265C14.8028 5.50128 14.745 5.47076 14.6868 5.44081C14.6463 5.41998 14.6055 5.39949 14.5645 5.37935C14.4883 5.3419 14.4111 5.30595 14.3332 5.27093C14.3021 5.25697 14.2713 5.24238 14.24 5.22881C14.1572 5.19297 14.0732 5.15965 13.9886 5.12661C13.953 5.11267 13.9176 5.09792 13.8816 5.08449C13.8148 5.05956 13.7471 5.03652 13.6793 5.01337C13.6344 4.99807 13.5899 4.98161 13.5446 4.9671C13.4284 4.92988 13.3102 4.89544 13.1911 4.86352C12.691 4.72957 12.1893 4.6496 11.6919 4.61976C11.4431 4.60484 11.1954 4.60237 10.9496 4.61217C10.8266 4.61706 10.7042 4.62473 10.5822 4.63564C10.3388 4.65745 10.0974 4.69064 9.85925 4.73577C8.42886 5.00676 7.10753 5.69099 6.06131 6.69136Z" fill="#626A90"/>
79
+ </svg>
80
+ );
81
+
82
+ export const RedoIcon = () => (
83
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" style={{ transform: 'scaleX(-1)' }}>
84
+ <path d="M6.06131 6.69136C5.88684 6.85818 5.71976 7.03357 5.56136 7.21755C5.32407 7.49319 5.10569 7.78768 4.90881 8.09936C4.77746 8.30727 4.65565 8.52287 4.54421 8.7457C4.48837 8.85736 4.43524 8.9709 4.38469 9.08613C4.2839 9.31587 4.19401 9.5527 4.11539 9.796C4.07598 9.91797 4.03914 10.0416 4.00559 10.1668C3.93079 10.446 3.87328 10.7259 3.83158 11.0051C3.82934 11.0201 3.82751 11.0351 3.82536 11.05C3.81494 11.1228 3.80597 11.1955 3.79774 11.2682C3.79428 11.2986 3.79116 11.329 3.78807 11.3594C3.78326 11.4071 3.77883 11.4547 3.77495 11.5023C3.75889 11.6978 3.75077 11.8926 3.75009 12.0865C3.75003 12.1086 3.74996 12.1307 3.75009 12.1528C3.75089 12.3012 3.75571 12.449 3.76528 12.5961C3.7665 12.6146 3.76808 12.633 3.76943 12.6514C3.82014 13.3498 3.96775 14.0309 4.20377 14.6767L7.62813 11.1377L5.45502 10.5556C5.48179 10.4557 5.51129 10.3567 5.54272 10.2594C5.66865 9.8695 5.83151 9.50078 6.02609 9.15588C6.07459 9.06992 6.12494 8.9854 6.17732 8.90245C6.91264 7.73794 8.02285 6.87449 9.29715 6.43448C9.38818 6.40305 9.48005 6.37386 9.57268 6.34679C10.1284 6.18439 10.7114 6.10131 11.3052 6.10717C11.4042 6.10814 11.5034 6.11157 11.6028 6.11753C12.0008 6.14137 12.4022 6.2058 12.8023 6.31295C13.2945 6.44483 13.7566 6.63317 14.182 6.8709C14.2125 6.88794 14.2416 6.90723 14.2718 6.92476C14.7547 7.20595 15.1899 7.54933 15.5686 7.94261C15.6449 8.02185 15.7186 8.10326 15.7902 8.18637C15.9047 8.31912 16.0139 8.45605 16.1162 8.59793C16.1915 8.70249 16.2625 8.80995 16.3309 8.91903C17.1864 10.2824 17.4949 11.9837 17.0456 13.6609C16.327 16.3424 13.9009 18.1093 11.2507 18.108V19.6078C14.5636 19.6095 17.5967 17.4016 18.4951 14.0497C19.0819 11.8595 18.6347 9.6365 17.4544 7.89634L17.4558 7.89496C17.4301 7.85706 17.4028 7.81984 17.3764 7.78241C17.3604 7.75975 17.3443 7.73721 17.3281 7.71473C17.2772 7.64435 17.2253 7.57483 17.172 7.50619C17.1543 7.48339 17.1368 7.46044 17.1188 7.43783C17.0658 7.37103 17.0112 7.30536 16.9559 7.24034C16.9336 7.21424 16.9115 7.18811 16.8889 7.16231C16.8382 7.10446 16.7867 7.04739 16.7342 6.99105C16.7045 6.95913 16.6747 6.92719 16.6444 6.89576C16.4036 6.64603 16.1448 6.41195 15.869 6.19625C15.8379 6.17193 15.8052 6.14967 15.7737 6.12582C15.715 6.08143 15.657 6.03598 15.5969 5.99323C15.5586 5.96599 15.5191 5.94038 15.4802 5.91382C15.4213 5.87363 15.3622 5.83365 15.302 5.79505C15.2644 5.7709 15.2263 5.74744 15.1881 5.72393C15.1285 5.6872 15.0687 5.65066 15.0079 5.61551C14.959 5.58729 14.9097 5.55983 14.8601 5.53265C14.8028 5.50128 14.745 5.47076 14.6868 5.44081C14.6463 5.41998 14.6055 5.39949 14.5645 5.37935C14.4883 5.3419 14.4111 5.30595 14.3332 5.27093C14.3021 5.25697 14.2713 5.24238 14.24 5.22881C14.1572 5.19297 14.0732 5.15965 13.9886 5.12661C13.953 5.11267 13.9176 5.09792 13.8816 5.08449C13.8148 5.05956 13.7471 5.03652 13.6793 5.01337C13.6344 4.99807 13.5899 4.98161 13.5446 4.9671C13.4284 4.92988 13.3102 4.89544 13.1911 4.86352C12.691 4.72957 12.1893 4.6496 11.6919 4.61976C11.4431 4.60484 11.1954 4.60237 10.9496 4.61217C10.8266 4.61706 10.7042 4.62473 10.5822 4.63564C10.3388 4.65745 10.0974 4.69064 9.85925 4.73577C8.42886 5.00676 7.10753 5.69099 6.06131 6.69136Z" fill="#626A90"/>
85
+ </svg>
86
+ );
87
+
88
+ export const ClearIcon = () => (
89
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
90
+ <path d="M12.4884 13.549L11.7035 18H10.1804L11.1935 12.2542L5.63599 6.69664L6.69664 5.63599L18.3639 17.3033L17.3032 18.3639L12.4884 13.549ZM11.8295 8.64752L12.0319 7.49995H10.6819L9.18193 5.99995H17.9999V7.49995H13.555L13.1243 9.94234L11.8295 8.64752Z" fill="#626A90"/>
91
+ </svg>
92
+ );
93
+