@festo-ui/react-extra 9.0.0-dev.698 → 9.0.0-dev.701
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.
- package/package.json +3 -2
- package/dist/forms/color-indicator/ColorIndicator.css +0 -60
- package/dist/forms/color-indicator/ColorIndicator.d.ts +0 -11
- package/dist/forms/color-indicator/ColorIndicator.js +0 -125
- package/dist/forms/color-picker/ColorHelper.d.ts +0 -5
- package/dist/forms/color-picker/ColorHelper.js +0 -121
- package/dist/forms/color-picker/ColorPicker.css +0 -377
- package/dist/forms/color-picker/ColorPicker.d.ts +0 -12
- package/dist/forms/color-picker/ColorPicker.js +0 -675
- package/dist/forms/date-picker/DatePicker.css +0 -26
- package/dist/forms/date-picker/DatePicker.d.ts +0 -25
- package/dist/forms/date-picker/DatePicker.js +0 -138
- package/dist/forms/date-range-picker/DateRangePicker.css +0 -21
- package/dist/forms/date-range-picker/DateRangePicker.d.ts +0 -19
- package/dist/forms/date-range-picker/DateRangePicker.js +0 -130
- package/dist/forms/text-editor/TextEditor.css +0 -1532
- package/dist/forms/text-editor/TextEditor.d.ts +0 -28
- package/dist/forms/text-editor/TextEditor.js +0 -279
- package/dist/forms/text-editor/TextEditorButton.d.ts +0 -13
- package/dist/forms/text-editor/TextEditorButton.js +0 -72
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -6
- package/dist/utils/useId.d.ts +0 -1
- package/dist/utils/useId.js +0 -20
|
@@ -1,377 +0,0 @@
|
|
|
1
|
-
.fwe-triangle.fwe-triangle-right, .fwe-triangle.fwe-triangle-left, .fwe-triangle.fwe-triangle-bottom, .fwe-triangle.fwe-triangle-top {
|
|
2
|
-
width: 17px;
|
|
3
|
-
height: 17px;
|
|
4
|
-
position: absolute;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.fwe-triangle.fwe-triangle-right:after, .fwe-triangle.fwe-triangle-left:after, .fwe-triangle.fwe-triangle-bottom:after, .fwe-triangle.fwe-triangle-top:after {
|
|
9
|
-
content: "";
|
|
10
|
-
background: var(--fwe-white);
|
|
11
|
-
width: 12px;
|
|
12
|
-
height: 12px;
|
|
13
|
-
position: absolute;
|
|
14
|
-
transform: rotate(45deg);
|
|
15
|
-
box-shadow: 0 1px 4px #3333;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.fwe-popover.fwe-popover-menu, .fwe-popover {
|
|
19
|
-
background-color: var(--fwe-white);
|
|
20
|
-
border-radius: 4px;
|
|
21
|
-
box-shadow: 0 1px 4px #3333;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.fwe-popover {
|
|
25
|
-
font-size: var(--fwe-font-size-md);
|
|
26
|
-
padding: 8px;
|
|
27
|
-
line-height: 1rem;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.fwe-popover-container {
|
|
31
|
-
min-width: max-content;
|
|
32
|
-
display: inline-block;
|
|
33
|
-
position: relative;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.fwe-triangle.fwe-triangle-top {
|
|
37
|
-
top: -17px;
|
|
38
|
-
left: 50%;
|
|
39
|
-
transform: translateX(-8px);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.fwe-triangle.fwe-triangle-top:after {
|
|
43
|
-
top: 11px;
|
|
44
|
-
left: 3px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.fwe-triangle.fwe-triangle-bottom {
|
|
48
|
-
top: 100%;
|
|
49
|
-
left: 50%;
|
|
50
|
-
transform: translateX(-8px);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.fwe-triangle.fwe-triangle-bottom:after {
|
|
54
|
-
top: -6px;
|
|
55
|
-
left: 3px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.fwe-triangle.fwe-triangle-left {
|
|
59
|
-
top: 50%;
|
|
60
|
-
left: -17px;
|
|
61
|
-
transform: translateY(-8px);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.fwe-triangle.fwe-triangle-left:after {
|
|
65
|
-
top: 2px;
|
|
66
|
-
left: 11px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.fwe-triangle.fwe-triangle-right {
|
|
70
|
-
top: 50%;
|
|
71
|
-
left: 100%;
|
|
72
|
-
transform: translateY(-8px);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.fwe-triangle.fwe-triangle-right:after {
|
|
76
|
-
top: 2px;
|
|
77
|
-
left: -6px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.fwe-popover.fwe-popover-menu {
|
|
81
|
-
font-size: var(--fwe-font-size-base);
|
|
82
|
-
padding: 16px;
|
|
83
|
-
line-height: 1.5rem;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.fwe-popover.fwe-popover-menu .fwe-list-group .fwe-list-group-item {
|
|
87
|
-
border-bottom: none;
|
|
88
|
-
min-height: 36px;
|
|
89
|
-
padding: 0;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.fwe-popover.fwe-popover-menu .fwe-list-group .fwe-list-group-item button {
|
|
93
|
-
width: 100%;
|
|
94
|
-
margin-left: inherit;
|
|
95
|
-
text-align: left;
|
|
96
|
-
justify-content: unset;
|
|
97
|
-
height: 32px;
|
|
98
|
-
max-height: 32px;
|
|
99
|
-
padding: 0 8px 0 0;
|
|
100
|
-
display: inline-flex;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.fwe-popover.fwe-popover-menu .fwe-list-group .fwe-list-group-item button:hover {
|
|
104
|
-
color: var(--fwe-black);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.fwe-popover.fwe-popover-menu .fwe-list-group .fwe-list-group-item button i {
|
|
108
|
-
flex-wrap: nowrap;
|
|
109
|
-
justify-content: center;
|
|
110
|
-
align-items: center;
|
|
111
|
-
width: 32px;
|
|
112
|
-
height: 24px;
|
|
113
|
-
margin-right: 0;
|
|
114
|
-
display: inline-flex;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.fwe-popover.fwe-popover-menu .fwe-list-group .fwe-list-group-item button i:before {
|
|
118
|
-
display: inline-flex;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.fwe-popover.fwe-popover-menu .fwe-list-group .fwe-list-group-item button .fwe-svg-icon {
|
|
122
|
-
margin-left: 8px;
|
|
123
|
-
margin-right: 8px;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.fwe-popover.fwe-popover-menu .fwe-list-group .fwe-list-group-item button span {
|
|
127
|
-
height: 24px;
|
|
128
|
-
display: inline-flex;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.fwe-popover.fwe-popover-menu .fwe-list-group .fwe-list-group-item button [class*=" fwe-icon-"] {
|
|
132
|
-
margin-left: inherit;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.fwe-popover.fwe-popover-menu .fwe-list-group .fwe-list-group-item:hover {
|
|
136
|
-
color: var(--fwe-black);
|
|
137
|
-
background-color: #3333331a;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.fwe-popover.fwe-popover-menu .fwe-list-group .fwe-list-group-item:active {
|
|
141
|
-
background-color: #3333;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.fwe-popover .fwe-popover-legend {
|
|
145
|
-
margin: 16px;
|
|
146
|
-
line-height: 24px;
|
|
147
|
-
display: table;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.fwe-popover .fwe-popover-legend .fwe-popover-legend-content {
|
|
151
|
-
display: table-row;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.fwe-popover .fwe-popover-legend .fwe-popover-legend-content dt {
|
|
155
|
-
margin: 0;
|
|
156
|
-
padding-right: 8px;
|
|
157
|
-
display: table-cell;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.fwe-popover .fwe-popover-legend .fwe-popover-legend-content dd {
|
|
161
|
-
margin: 0;
|
|
162
|
-
display: table-cell;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.fwe-color-picker {
|
|
166
|
-
width: 216px;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.fwe-color-picker.fwe-alpha-active {
|
|
170
|
-
width: 245px;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.fwe-color-picker .fwe-gradient-picker {
|
|
174
|
-
width: 198px;
|
|
175
|
-
height: 198px;
|
|
176
|
-
margin: -7px;
|
|
177
|
-
position: relative;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.fwe-color-picker .fwe-gradient-picker .fwe-brightness-gradient {
|
|
181
|
-
background-image: linear-gradient(#0000, #000);
|
|
182
|
-
position: absolute;
|
|
183
|
-
inset: 7px;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.fwe-color-picker .fwe-gradient-picker .fwe-saturation-gradient {
|
|
187
|
-
position: absolute;
|
|
188
|
-
inset: 7px;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.fwe-color-picker .fwe-vertical-picker, .fwe-color-picker .fwe-alpha-picker, .fwe-color-picker .fwe-hue-picker {
|
|
192
|
-
width: 14px;
|
|
193
|
-
height: 198px;
|
|
194
|
-
margin: -7px -3px -7px 18px;
|
|
195
|
-
position: relative;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.fwe-color-picker .fwe-vertical-picker .fwe-picker-background, .fwe-color-picker .fwe-alpha-picker .fwe-picker-background, .fwe-color-picker .fwe-hue-picker .fwe-picker-background {
|
|
199
|
-
border-radius: 4px;
|
|
200
|
-
width: 8px;
|
|
201
|
-
height: 184px;
|
|
202
|
-
margin: 7px 3px;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.fwe-color-picker .fwe-vertical-picker .fwe-knob, .fwe-color-picker .fwe-alpha-picker .fwe-knob, .fwe-color-picker .fwe-hue-picker .fwe-knob {
|
|
206
|
-
left: -3px;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.fwe-color-picker .fwe-hue-picker .fwe-picker-background {
|
|
210
|
-
background-image: linear-gradient(red, #ff0, #0f0, #0ff, #00f, #f0f, red);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.fwe-color-picker .fwe-alpha-picker .fwe-no-color-pattern {
|
|
214
|
-
margin: 7px 3px;
|
|
215
|
-
position: absolute;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.fwe-color-picker .fwe-alpha-picker .fwe-picker-background {
|
|
219
|
-
position: absolute;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.fwe-color-picker .fwe-type-select {
|
|
223
|
-
display: flex;
|
|
224
|
-
position: relative;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.fwe-color-picker .fwe-type-select .fwe-type-indicator {
|
|
228
|
-
cursor: pointer;
|
|
229
|
-
background-color: #fff;
|
|
230
|
-
border: none;
|
|
231
|
-
flex-shrink: 1;
|
|
232
|
-
display: flex;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.fwe-color-picker .fwe-type-select .fwe-type-indicator:hover {
|
|
236
|
-
color: var(--fwe-hero);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.fwe-color-picker .fwe-type-select .fwe-type-indicator .fwe-input-type {
|
|
240
|
-
font-size: var(--fwe-font-size-small);
|
|
241
|
-
line-height: calc(var(--fwe-font-size-small) + 5px);
|
|
242
|
-
font-weight: var(--fwe-font-weight-bold);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.fwe-color-picker .fwe-type-select .fwe-popover {
|
|
246
|
-
z-index: 1;
|
|
247
|
-
position: absolute;
|
|
248
|
-
top: 24px;
|
|
249
|
-
left: 0;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.fwe-color-picker .fwe-type-select .fwe-popover .fwe-type-item {
|
|
253
|
-
cursor: pointer;
|
|
254
|
-
background-color: #fff;
|
|
255
|
-
border: none;
|
|
256
|
-
align-items: center;
|
|
257
|
-
padding: 8px;
|
|
258
|
-
display: flex;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.fwe-color-picker .fwe-type-select .fwe-popover .fwe-type-item:hover {
|
|
262
|
-
color: var(--fwe-hero);
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.fwe-color-picker .fwe-type-select .fwe-popover .fwe-type-item .fwe-svg-icon {
|
|
266
|
-
opacity: 0;
|
|
267
|
-
margin-right: 8px;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.fwe-color-picker .fwe-type-select .fwe-popover .fwe-type-item.fwe-selected {
|
|
271
|
-
cursor: default;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.fwe-color-picker .fwe-type-select .fwe-popover .fwe-type-item.fwe-selected .fwe-svg-icon {
|
|
275
|
-
opacity: 1;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.fwe-color-picker input::-webkit-outer-spin-button {
|
|
279
|
-
-webkit-appearance: none;
|
|
280
|
-
margin: 0;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.fwe-color-picker input::-webkit-inner-spin-button {
|
|
284
|
-
-webkit-appearance: none;
|
|
285
|
-
margin: 0;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.fwe-color-picker input[type="number"] {
|
|
289
|
-
-moz-appearance: textfield;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.fwe-color-picker input {
|
|
293
|
-
text-align: center;
|
|
294
|
-
padding-right: 0 !important;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.fwe-color-picker .fwe-hex-input {
|
|
298
|
-
width: 75px;
|
|
299
|
-
margin-right: 16px;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.fwe-color-picker .fwe-red-input, .fwe-color-picker .fwe-green-input {
|
|
303
|
-
width: 32px;
|
|
304
|
-
margin-right: 8px;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
.fwe-color-picker .fwe-blue-input {
|
|
308
|
-
width: 32px;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
.fwe-color-picker .fwe-alpha-input span input {
|
|
312
|
-
width: 48px;
|
|
313
|
-
padding-right: 16px !important;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.fwe-color-picker .fwe-alpha-input .fwe-percent-char {
|
|
317
|
-
margin-left: -16px;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.fwe-color-picker .fwe-color-grid {
|
|
321
|
-
flex-wrap: wrap;
|
|
322
|
-
margin-bottom: -8px;
|
|
323
|
-
margin-right: -8px;
|
|
324
|
-
display: flex;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.fwe-color-picker .fwe-color-grid .fwe-color-item {
|
|
328
|
-
color: #fff;
|
|
329
|
-
border: none;
|
|
330
|
-
border-radius: 4px;
|
|
331
|
-
justify-content: center;
|
|
332
|
-
align-items: center;
|
|
333
|
-
width: 24px;
|
|
334
|
-
height: 24px;
|
|
335
|
-
margin-bottom: 8px;
|
|
336
|
-
margin-right: 8px;
|
|
337
|
-
padding: 0;
|
|
338
|
-
display: flex;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.fwe-color-picker .fwe-color-grid .fwe-color-item.fwe-white-item {
|
|
342
|
-
border: 1px solid var(--fwe-control-border);
|
|
343
|
-
color: #000;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.fwe-color-picker .fwe-color-grid .fwe-remove-color-button {
|
|
347
|
-
border: 1px solid var(--fwe-control-border);
|
|
348
|
-
width: 24px;
|
|
349
|
-
height: 24px;
|
|
350
|
-
color: var(--fwe-control);
|
|
351
|
-
border-radius: 4px;
|
|
352
|
-
justify-content: center;
|
|
353
|
-
align-items: center;
|
|
354
|
-
margin-bottom: 8px;
|
|
355
|
-
margin-right: 8px;
|
|
356
|
-
display: flex;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
.fwe-color-picker .fwe-color-grid .fwe-remove-color-button .fwe-no-color-pattern {
|
|
360
|
-
margin: 2px;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
.fwe-color-picker .fwe-color-grid .fwe-remove-color-button .fwe-svg-icon {
|
|
364
|
-
color: #0000;
|
|
365
|
-
position: absolute;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.fwe-color-picker .fwe-knob {
|
|
369
|
-
z-index: 1;
|
|
370
|
-
border: 2px solid #fff;
|
|
371
|
-
border-radius: 50%;
|
|
372
|
-
width: 14px;
|
|
373
|
-
height: 14px;
|
|
374
|
-
position: absolute;
|
|
375
|
-
box-shadow: 0 0 4px #00000026;
|
|
376
|
-
}
|
|
377
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import './ColorPicker.scss';
|
|
2
|
-
export interface ColorPickerProps {
|
|
3
|
-
readonly className?: string;
|
|
4
|
-
readonly palette?: string[];
|
|
5
|
-
readonly useAlpha?: boolean;
|
|
6
|
-
readonly alpha?: number;
|
|
7
|
-
readonly paletteOnly?: boolean;
|
|
8
|
-
readonly color?: string;
|
|
9
|
-
readonly onChange?: (color?: string | null) => void;
|
|
10
|
-
readonly onAlphaChange?: (alpha?: number) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare function ColorPicker({ className, palette, useAlpha, alpha, paletteOnly, color, onChange, onAlphaChange, }: ColorPickerProps): import("react/jsx-runtime").JSX.Element;
|