@lets-events/react 12.7.0 → 12.7.2

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @lets-events/react@12.7.0 build
2
+ > @lets-events/react@12.7.2 build
3
3
  > tsup src/index.tsx --format esm,cjs --dts --external react
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -9,11 +9,11 @@
9
9
  CLI Target: es6
10
10
  ESM Build start
11
11
  CJS Build start
12
- CJS dist\index.js 404.80 KB
12
+ ESM dist\index.mjs 389.70 KB
13
+ ESM ⚡️ Build success in 199ms
14
+ CJS dist\index.js 404.79 KB
13
15
  CJS ⚡️ Build success in 204ms
14
- ESM dist\index.mjs 389.71 KB
15
- ESM ⚡️ Build success in 205ms
16
16
  DTS Build start
17
- DTS ⚡️ Build success in 4513ms
17
+ DTS ⚡️ Build success in 4599ms
18
18
  DTS dist\index.d.mts 403.02 KB
19
19
  DTS dist\index.d.ts 403.02 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @lets-events/react
2
2
 
3
+ ## 12.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - fix xs badge
8
+
9
+ ## 12.7.1
10
+
11
+ ### Patch Changes
12
+
13
+ - fix
14
+
3
15
  ## 12.7.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.js CHANGED
@@ -3692,7 +3692,7 @@ var BadgeStyled = styled(import_themes11.Badge, {
3692
3692
  padding: "$4 $6",
3693
3693
  fontSize: "$badgeExtraSmall",
3694
3694
  borderRadius: "$2xs",
3695
- lineHeight: "$bagdeExtraSmall"
3695
+ lineHeight: "$badgeExtraSmall"
3696
3696
  },
3697
3697
  sm: {
3698
3698
  padding: "$4 $8",
@@ -3720,7 +3720,7 @@ var BadgeStyled = styled(import_themes11.Badge, {
3720
3720
  bold: { fontWeight: "$bold" }
3721
3721
  },
3722
3722
  radii: {
3723
- "full": {
3723
+ full: {
3724
3724
  borderRadius: "$full"
3725
3725
  }
3726
3726
  }
@@ -11576,6 +11576,7 @@ var QuillContainer = styled("div", {
11576
11576
  flexDirection: "column"
11577
11577
  });
11578
11578
  var QuillEditor = styled("div", {
11579
+ position: "relative",
11579
11580
  // Base container
11580
11581
  "& .ql-container": {
11581
11582
  boxSizing: "border-box",
@@ -11587,7 +11588,8 @@ var QuillEditor = styled("div", {
11587
11588
  border: "1px solid $neutral300",
11588
11589
  borderTop: "none",
11589
11590
  borderBottomLeftRadius: "$sm",
11590
- borderBottomRightRadius: "$sm"
11591
+ borderBottomRightRadius: "$sm",
11592
+ padding: "$12"
11591
11593
  },
11592
11594
  "& .ql-container.ql-disabled .ql-tooltip": {
11593
11595
  visibility: "hidden"
@@ -11615,7 +11617,6 @@ var QuillEditor = styled("div", {
11615
11617
  height: "100%",
11616
11618
  outline: "none",
11617
11619
  overflowY: "auto",
11618
- padding: "$12",
11619
11620
  tabSize: 4,
11620
11621
  MozTabSize: 4,
11621
11622
  textAlign: "left",
@@ -12759,7 +12760,7 @@ var QuillComponent = ({
12759
12760
  document.addEventListener("mousedown", handleClickOutside);
12760
12761
  return () => document.removeEventListener("mousedown", handleClickOutside);
12761
12762
  }, [showVideoModal, showLinkModal, handleVideoCancel, handleLinkCancel]);
12762
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(QuillContainer, { className, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(QuillEditor, { style: { position: "relative" }, children: [
12763
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(QuillContainer, { className, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(QuillEditor, { children: [
12763
12764
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { ref: quillRef }),
12764
12765
  showVideoModal && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
12765
12766
  "div",
package/dist/index.mjs CHANGED
@@ -3577,7 +3577,7 @@ var BadgeStyled = styled(BadgeRadix, {
3577
3577
  padding: "$4 $6",
3578
3578
  fontSize: "$badgeExtraSmall",
3579
3579
  borderRadius: "$2xs",
3580
- lineHeight: "$bagdeExtraSmall"
3580
+ lineHeight: "$badgeExtraSmall"
3581
3581
  },
3582
3582
  sm: {
3583
3583
  padding: "$4 $8",
@@ -3605,7 +3605,7 @@ var BadgeStyled = styled(BadgeRadix, {
3605
3605
  bold: { fontWeight: "$bold" }
3606
3606
  },
3607
3607
  radii: {
3608
- "full": {
3608
+ full: {
3609
3609
  borderRadius: "$full"
3610
3610
  }
3611
3611
  }
@@ -11470,6 +11470,7 @@ var QuillContainer = styled("div", {
11470
11470
  flexDirection: "column"
11471
11471
  });
11472
11472
  var QuillEditor = styled("div", {
11473
+ position: "relative",
11473
11474
  // Base container
11474
11475
  "& .ql-container": {
11475
11476
  boxSizing: "border-box",
@@ -11481,7 +11482,8 @@ var QuillEditor = styled("div", {
11481
11482
  border: "1px solid $neutral300",
11482
11483
  borderTop: "none",
11483
11484
  borderBottomLeftRadius: "$sm",
11484
- borderBottomRightRadius: "$sm"
11485
+ borderBottomRightRadius: "$sm",
11486
+ padding: "$12"
11485
11487
  },
11486
11488
  "& .ql-container.ql-disabled .ql-tooltip": {
11487
11489
  visibility: "hidden"
@@ -11509,7 +11511,6 @@ var QuillEditor = styled("div", {
11509
11511
  height: "100%",
11510
11512
  outline: "none",
11511
11513
  overflowY: "auto",
11512
- padding: "$12",
11513
11514
  tabSize: 4,
11514
11515
  MozTabSize: 4,
11515
11516
  textAlign: "left",
@@ -12653,7 +12654,7 @@ var QuillComponent = ({
12653
12654
  document.addEventListener("mousedown", handleClickOutside);
12654
12655
  return () => document.removeEventListener("mousedown", handleClickOutside);
12655
12656
  }, [showVideoModal, showLinkModal, handleVideoCancel, handleLinkCancel]);
12656
- return /* @__PURE__ */ jsx52(QuillContainer, { className, children: /* @__PURE__ */ jsxs28(QuillEditor, { style: { position: "relative" }, children: [
12657
+ return /* @__PURE__ */ jsx52(QuillContainer, { className, children: /* @__PURE__ */ jsxs28(QuillEditor, { children: [
12657
12658
  /* @__PURE__ */ jsx52("div", { ref: quillRef }),
12658
12659
  showVideoModal && /* @__PURE__ */ jsx52(
12659
12660
  "div",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lets-events/react",
3
- "version": "12.7.0",
3
+ "version": "12.7.2",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -1,125 +1,123 @@
1
- import React from 'react'
2
- import { ComponentProps, ElementType } from 'react'
3
- import { styled } from '../styles'
4
- import { Badge as BadgeRadix } from '@radix-ui/themes'
1
+ import React from "react";
2
+ import { ComponentProps, ElementType } from "react";
3
+ import { styled } from "../styles";
4
+ import { Badge as BadgeRadix } from "@radix-ui/themes";
5
5
  export const BadgeStyled = styled(BadgeRadix, {
6
- fontFamily: '$default',
7
- borderRadius: '$sm',
8
- verticalAlign: 'middle',
9
- variants: {
10
- color: {
11
- primary: {
12
- backgroundColor: '$brand100',
13
- color: '$dark700',
14
- },
15
- dark: {
16
- backgroundColor: '$dark700',
17
- color: '$grey50',
18
- },
19
- light: {
20
- backgroundColor: '$neutral200',
21
- color: '$dark700',
22
- },
23
- red: {
24
- backgroundColor: '$red100',
25
- color: '$dark700',
26
- },
27
- green: {
28
- backgroundColor: '$green100',
29
- color: '$dark700',
30
- },
31
- yellow: {
32
- backgroundColor: '$yellow100',
33
- color: '$dark700',
34
- },
35
- orange: {
36
- backgroundColor: '$orange100',
37
- color: '$dark700',
38
- },
39
- blue: {
40
- backgroundColor: '$blue100',
41
- color: '$dark700',
42
- },
43
- pink: {
44
- backgroundColor: '$pink100',
45
- color: '$dark700',
46
- },
47
- purple: {
48
- backgroundColor: '$purple100',
49
- color: '$dark700',
50
- },
51
- grey: {
52
- backgroundColor: '$grey200',
53
- color: '$dark700',
54
- },
55
- disable: {
56
- backgroundColor: '$neutral200',
57
- color: '$grey500',
58
- }
59
-
60
-
61
- },
62
- size: {
63
- xs: {
64
- padding: '$4 $6',
65
- fontSize: '$badgeExtraSmall',
66
- borderRadius: '$2xs',
67
- lineHeight: '$bagdeExtraSmall',
68
- },
69
- sm: {
70
- padding: '$4 $8',
71
- fontSize: '$badgeSmall',
72
- borderRadius: '$xs',
73
- lineHeight: '$badgeSmall',
74
- },
75
- md: {
76
- padding: '$8 $10',
77
- fontSize: '$badgeMedium',
78
- borderRadius: '$sm',
79
- lineHeight: '$badgeMedium',
80
- },
81
- xl: {
82
- padding: '$12 $12',
83
- fontSize: '$badgeLarge',
84
- borderRadius: '$sm',
85
- lineHeight: '$badgeLarge',
86
- },
87
- },
88
- fontWeight: {
89
- regular: { fontWeight: '$regular' },
90
- medium: { fontWeight: '$medium' },
91
- semibold: { fontWeight: '$semibold' },
92
- bold: { fontWeight: '$bold' },
93
- },
94
- radii: {
95
- 'full': {
96
- borderRadius: '$full',
97
- },
98
- },
6
+ fontFamily: "$default",
7
+ borderRadius: "$sm",
8
+ verticalAlign: "middle",
9
+ variants: {
10
+ color: {
11
+ primary: {
12
+ backgroundColor: "$brand100",
13
+ color: "$dark700",
14
+ },
15
+ dark: {
16
+ backgroundColor: "$dark700",
17
+ color: "$grey50",
18
+ },
19
+ light: {
20
+ backgroundColor: "$neutral200",
21
+ color: "$dark700",
22
+ },
23
+ red: {
24
+ backgroundColor: "$red100",
25
+ color: "$dark700",
26
+ },
27
+ green: {
28
+ backgroundColor: "$green100",
29
+ color: "$dark700",
30
+ },
31
+ yellow: {
32
+ backgroundColor: "$yellow100",
33
+ color: "$dark700",
34
+ },
35
+ orange: {
36
+ backgroundColor: "$orange100",
37
+ color: "$dark700",
38
+ },
39
+ blue: {
40
+ backgroundColor: "$blue100",
41
+ color: "$dark700",
42
+ },
43
+ pink: {
44
+ backgroundColor: "$pink100",
45
+ color: "$dark700",
46
+ },
47
+ purple: {
48
+ backgroundColor: "$purple100",
49
+ color: "$dark700",
50
+ },
51
+ grey: {
52
+ backgroundColor: "$grey200",
53
+ color: "$dark700",
54
+ },
55
+ disable: {
56
+ backgroundColor: "$neutral200",
57
+ color: "$grey500",
58
+ },
99
59
  },
100
-
101
- defaultVariants: {
102
- size: 'md',
103
- color: 'primary',
104
- fontWeight: 'regular',
60
+ size: {
61
+ xs: {
62
+ padding: "$4 $6",
63
+ fontSize: "$badgeExtraSmall",
64
+ borderRadius: "$2xs",
65
+ lineHeight: "$badgeExtraSmall",
66
+ },
67
+ sm: {
68
+ padding: "$4 $8",
69
+ fontSize: "$badgeSmall",
70
+ borderRadius: "$xs",
71
+ lineHeight: "$badgeSmall",
72
+ },
73
+ md: {
74
+ padding: "$8 $10",
75
+ fontSize: "$badgeMedium",
76
+ borderRadius: "$sm",
77
+ lineHeight: "$badgeMedium",
78
+ },
79
+ xl: {
80
+ padding: "$12 $12",
81
+ fontSize: "$badgeLarge",
82
+ borderRadius: "$sm",
83
+ lineHeight: "$badgeLarge",
84
+ },
85
+ },
86
+ fontWeight: {
87
+ regular: { fontWeight: "$regular" },
88
+ medium: { fontWeight: "$medium" },
89
+ semibold: { fontWeight: "$semibold" },
90
+ bold: { fontWeight: "$bold" },
105
91
  },
106
- })
92
+ radii: {
93
+ full: {
94
+ borderRadius: "$full",
95
+ },
96
+ },
97
+ },
98
+
99
+ defaultVariants: {
100
+ size: "md",
101
+ color: "primary",
102
+ fontWeight: "regular",
103
+ },
104
+ });
107
105
 
108
106
  export type BadgeProps = ComponentProps<typeof BadgeStyled> & {
109
- as?: ElementType
110
- icon?: boolean
111
- children: React.ReactNode
112
- }
107
+ as?: ElementType;
108
+ icon?: boolean;
109
+ children: React.ReactNode;
110
+ };
113
111
 
114
112
  export function Badge({ asChild, children, ...props }: BadgeProps) {
115
- return (
116
- <BadgeStyled {...props}>
117
- {React.Children.map(children, (child) => {
118
- if (React.isValidElement(child)) {
119
- return React.cloneElement(child, { size: props.size } as any)
120
- }
121
- return child
122
- })}
123
- </BadgeStyled>
124
- )
113
+ return (
114
+ <BadgeStyled {...props}>
115
+ {React.Children.map(children, (child) => {
116
+ if (React.isValidElement(child)) {
117
+ return React.cloneElement(child, { size: props.size } as any);
118
+ }
119
+ return child;
120
+ })}
121
+ </BadgeStyled>
122
+ );
125
123
  }
@@ -327,7 +327,7 @@ const QuillComponent: React.FC<RichEditorProps> = ({
327
327
 
328
328
  return (
329
329
  <QuillContainer className={className}>
330
- <QuillEditor style={{ position: "relative" }}>
330
+ <QuillEditor>
331
331
  <div ref={quillRef} />
332
332
 
333
333
  {/* Video Modal */}
@@ -6,6 +6,8 @@ export const QuillContainer = styled("div", {
6
6
  });
7
7
 
8
8
  export const QuillEditor = styled("div", {
9
+ position: "relative",
10
+
9
11
  // Base container
10
12
  "& .ql-container": {
11
13
  boxSizing: "border-box",
@@ -18,15 +20,17 @@ export const QuillEditor = styled("div", {
18
20
  borderTop: "none",
19
21
  borderBottomLeftRadius: "$sm",
20
22
  borderBottomRightRadius: "$sm",
23
+ padding: "$12",
21
24
  },
22
25
 
23
26
  "& .ql-container.ql-disabled .ql-tooltip": {
24
27
  visibility: "hidden",
25
28
  },
26
29
 
27
- "& .ql-container:not(.ql-disabled) li[data-list=checked] > .ql-ui, & .ql-container:not(.ql-disabled) li[data-list=unchecked] > .ql-ui": {
28
- cursor: "pointer",
29
- },
30
+ "& .ql-container:not(.ql-disabled) li[data-list=checked] > .ql-ui, & .ql-container:not(.ql-disabled) li[data-list=unchecked] > .ql-ui":
31
+ {
32
+ cursor: "pointer",
33
+ },
30
34
 
31
35
  // Clipboard
32
36
  "& .ql-clipboard": {
@@ -45,12 +49,12 @@ export const QuillEditor = styled("div", {
45
49
  // Editor
46
50
  "& .ql-editor": {
47
51
  boxSizing: "border-box",
48
- counterReset: "list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9",
52
+ counterReset:
53
+ "list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9",
49
54
  lineHeight: "1.42",
50
55
  height: "100%",
51
56
  outline: "none",
52
57
  overflowY: "auto",
53
- padding: "$12",
54
58
  tabSize: 4,
55
59
  MozTabSize: 4,
56
60
  textAlign: "left",
@@ -89,7 +93,7 @@ export const QuillEditor = styled("div", {
89
93
 
90
94
  "& h1": {
91
95
  fontSize: "2em",
92
- lineHeight: '2em!important',
96
+ lineHeight: "2em!important",
93
97
  },
94
98
 
95
99
  "& h2": {
@@ -704,9 +708,10 @@ export const QuillEditor = styled("div", {
704
708
  },
705
709
  },
706
710
 
707
- "& .ql-color-picker .ql-picker-item.ql-selected, & .ql-color-picker .ql-picker-item:hover": {
708
- borderColor: "#000",
709
- },
711
+ "& .ql-color-picker .ql-picker-item.ql-selected, & .ql-color-picker .ql-picker-item:hover":
712
+ {
713
+ borderColor: "#000",
714
+ },
710
715
  },
711
716
 
712
717
  "@media (pointer: coarse)": {
@@ -970,9 +975,10 @@ export const QuillEditor = styled("div", {
970
975
  width: "18px",
971
976
  },
972
977
 
973
- "& .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before, & .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before, & .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before, & .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before, & .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before, & .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before": {
974
- content: "attr(data-label)",
975
- },
978
+ "& .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before, & .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before, & .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before, & .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before, & .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before, & .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before":
979
+ {
980
+ content: "attr(data-label)",
981
+ },
976
982
 
977
983
  // Header picker
978
984
  "& .ql-picker.ql-header": {
@@ -982,29 +988,35 @@ export const QuillEditor = styled("div", {
982
988
  content: "'Normal'",
983
989
  },
984
990
 
985
- "& .ql-picker-label[data-value='1']::before, & .ql-picker-item[data-value='1']::before": {
986
- content: "'Título 1'",
987
- },
991
+ "& .ql-picker-label[data-value='1']::before, & .ql-picker-item[data-value='1']::before":
992
+ {
993
+ content: "'Título 1'",
994
+ },
988
995
 
989
- "& .ql-picker-label[data-value='2']::before, & .ql-picker-item[data-value='2']::before": {
990
- content: "'Título 2'",
991
- },
996
+ "& .ql-picker-label[data-value='2']::before, & .ql-picker-item[data-value='2']::before":
997
+ {
998
+ content: "'Título 2'",
999
+ },
992
1000
 
993
- "& .ql-picker-label[data-value='3']::before, & .ql-picker-item[data-value='3']::before": {
994
- content: "'Heading 3'",
995
- },
1001
+ "& .ql-picker-label[data-value='3']::before, & .ql-picker-item[data-value='3']::before":
1002
+ {
1003
+ content: "'Heading 3'",
1004
+ },
996
1005
 
997
- "& .ql-picker-label[data-value='4']::before, & .ql-picker-item[data-value='4']::before": {
998
- content: "'Heading 4'",
999
- },
1006
+ "& .ql-picker-label[data-value='4']::before, & .ql-picker-item[data-value='4']::before":
1007
+ {
1008
+ content: "'Heading 4'",
1009
+ },
1000
1010
 
1001
- "& .ql-picker-label[data-value='5']::before, & .ql-picker-item[data-value='5']::before": {
1002
- content: "'Heading 5'",
1003
- },
1011
+ "& .ql-picker-label[data-value='5']::before, & .ql-picker-item[data-value='5']::before":
1012
+ {
1013
+ content: "'Heading 5'",
1014
+ },
1004
1015
 
1005
- "& .ql-picker-label[data-value='6']::before, & .ql-picker-item[data-value='6']::before": {
1006
- content: "'Heading 6'",
1007
- },
1016
+ "& .ql-picker-label[data-value='6']::before, & .ql-picker-item[data-value='6']::before":
1017
+ {
1018
+ content: "'Heading 6'",
1019
+ },
1008
1020
 
1009
1021
  "& .ql-picker-item[data-value='1']::before": {
1010
1022
  fontSize: "2em",
@@ -1039,13 +1051,15 @@ export const QuillEditor = styled("div", {
1039
1051
  content: "'Sans Serif'",
1040
1052
  },
1041
1053
 
1042
- "& .ql-picker-label[data-value=serif]::before, & .ql-picker-item[data-value=serif]::before": {
1043
- content: "'Serif'",
1044
- },
1054
+ "& .ql-picker-label[data-value=serif]::before, & .ql-picker-item[data-value=serif]::before":
1055
+ {
1056
+ content: "'Serif'",
1057
+ },
1045
1058
 
1046
- "& .ql-picker-label[data-value=monospace]::before, & .ql-picker-item[data-value=monospace]::before": {
1047
- content: "'Monospace'",
1048
- },
1059
+ "& .ql-picker-label[data-value=monospace]::before, & .ql-picker-item[data-value=monospace]::before":
1060
+ {
1061
+ content: "'Monospace'",
1062
+ },
1049
1063
 
1050
1064
  "& .ql-picker-item[data-value=serif]::before": {
1051
1065
  fontFamily: "Georgia, Times New Roman, serif",
@@ -1064,17 +1078,20 @@ export const QuillEditor = styled("div", {
1064
1078
  content: "'Normal'",
1065
1079
  },
1066
1080
 
1067
- "& .ql-picker-label[data-value=small]::before, & .ql-picker-item[data-value=small]::before": {
1068
- content: "'Small'",
1069
- },
1081
+ "& .ql-picker-label[data-value=small]::before, & .ql-picker-item[data-value=small]::before":
1082
+ {
1083
+ content: "'Small'",
1084
+ },
1070
1085
 
1071
- "& .ql-picker-label[data-value=large]::before, & .ql-picker-item[data-value=large]::before": {
1072
- content: "'Large'",
1073
- },
1086
+ "& .ql-picker-label[data-value=large]::before, & .ql-picker-item[data-value=large]::before":
1087
+ {
1088
+ content: "'Large'",
1089
+ },
1074
1090
 
1075
- "& .ql-picker-label[data-value=huge]::before, & .ql-picker-item[data-value=huge]::before": {
1076
- content: "'Huge'",
1077
- },
1091
+ "& .ql-picker-label[data-value=huge]::before, & .ql-picker-item[data-value=huge]::before":
1092
+ {
1093
+ content: "'Huge'",
1094
+ },
1078
1095
 
1079
1096
  "& .ql-picker-item[data-value=small]::before": {
1080
1097
  fontSize: "10px",
@@ -1136,9 +1153,10 @@ export const QuillEditor = styled("div", {
1136
1153
  borderColor: "#ccc",
1137
1154
  },
1138
1155
 
1139
- "& .ql-color-picker .ql-picker-item.ql-selected, & .ql-color-picker .ql-picker-item:hover": {
1140
- borderColor: "#000",
1141
- },
1156
+ "& .ql-color-picker .ql-picker-item.ql-selected, & .ql-color-picker .ql-picker-item:hover":
1157
+ {
1158
+ borderColor: "#000",
1159
+ },
1142
1160
  },
1143
1161
 
1144
1162
  "& .ql-toolbar.ql-snow + .ql-container.ql-snow": {
@@ -1149,4 +1167,4 @@ export const QuillEditor = styled("div", {
1149
1167
  "& .ql-container.ql-snow": {
1150
1168
  border: "1px solid #ccc",
1151
1169
  },
1152
- });
1170
+ });