@pie-lib/editable-html-tip-tap 1.0.11 → 1.0.12

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.
@@ -120,36 +120,6 @@ const styles = (theme) => ({
120
120
  overflowY: 'auto',
121
121
  color: color.text(),
122
122
  backgroundColor: color.background(),
123
- '&::before': {
124
- left: '0',
125
- right: '0',
126
- bottom: '0',
127
- height: '1px',
128
- content: '""',
129
- position: 'absolute',
130
- transition: 'background-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms',
131
- pointerEvents: 'none',
132
- backgroundColor: 'rgba(0, 0, 0, 0.42)',
133
- },
134
- '&::after': {
135
- left: '0',
136
- right: '0',
137
- bottom: '0',
138
- height: '1px',
139
- content: '""',
140
- position: 'absolute',
141
- transform: 'scaleX(0)',
142
- transition: 'transform 200ms cubic-bezier(0.0, 0.0, 0.2, 1) 0ms, background-color 200ms linear',
143
- backgroundColor: 'rgba(0, 0, 0, 0.42)',
144
- },
145
- },
146
- disabledUnderline: {
147
- '&::before': {
148
- display: 'none',
149
- },
150
- '&::after': {
151
- display: 'none',
152
- },
153
123
  },
154
124
  disabledScrollbar: {
155
125
  '&::-webkit-scrollbar': {
@@ -158,33 +128,6 @@ const styles = (theme) => ({
158
128
  scrollbarWidth: 'none',
159
129
  '-ms-overflow-style': 'none',
160
130
  },
161
- readOnly: {
162
- '&::before': {
163
- background: 'transparent',
164
- backgroundSize: '5px 1px',
165
- backgroundImage: 'linear-gradient(to right, rgba(0, 0, 0, 0.42) 33%, transparent 0%)',
166
- backgroundRepeat: 'repeat-x',
167
- backgroundPosition: 'left top',
168
- },
169
- '&::after': {
170
- left: '0',
171
- right: '0',
172
- bottom: '0',
173
- height: '1px',
174
- content: '""',
175
- position: 'absolute',
176
- transform: 'scaleX(0)',
177
- transition: 'transform 200ms cubic-bezier(0.0, 0.0, 0.2, 1) 0ms, background-color 0ms linear',
178
- backgroundColor: 'rgba(0, 0, 0, 0)',
179
- },
180
- '&:hover': {
181
- '&::after': {
182
- transform: 'scaleX(0)',
183
- backgroundColor: theme.palette.common.black,
184
- height: '2px',
185
- },
186
- },
187
- },
188
131
  error: {
189
132
  border: `2px solid ${theme.palette.error.main} !important`,
190
133
  },