@pdg/react-form 1.0.133 → 1.0.134

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,3 +1,7 @@
1
+ .FormHidden {
2
+ display: none !important;
3
+ }
4
+
1
5
  .FormTextField {
2
6
  min-width: 200px;
3
7
  }
@@ -13,29 +17,6 @@
13
17
  visibility: visible;
14
18
  }
15
19
 
16
- .FormHidden {
17
- display: none !important;
18
- }
19
-
20
- .FormPassword .eye-icon-button-wrap {
21
- visibility: hidden;
22
- }
23
- .FormPassword.variant-filled .eye-icon-button-wrap {
24
- margin-top: 9px;
25
- margin-bottom: -9px;
26
- }
27
- .FormPassword:hover .eye-icon-button-wrap.show,
28
- .FormPassword .MuiInputBase-root.Mui-focused .eye-icon-button-wrap.show {
29
- visibility: visible;
30
- }
31
-
32
- .FormSearch input[type=search]::-webkit-search-decoration,
33
- .FormSearch input[type=search]::-webkit-search-cancel-button,
34
- .FormSearch input[type=search]::-webkit-search-results-button,
35
- .FormSearch input[type=search]::-webkit-search-results-decoration {
36
- -webkit-appearance: none;
37
- }
38
-
39
20
  .FormSelect.is-selected-placeholder .MuiSelect-select {
40
21
  opacity: 0.38;
41
22
  }
@@ -61,6 +42,37 @@
61
42
  background-color: transparent;
62
43
  }
63
44
 
45
+ .FormTextarea .MuiInputBase-root .MuiInputBase-input {
46
+ overflow-y: scroll;
47
+ }
48
+ .FormTextarea .MuiInputBase-root .MuiInputBase-input::-webkit-scrollbar {
49
+ width: 8px;
50
+ }
51
+ .FormTextarea .MuiInputBase-root .MuiInputBase-input::-webkit-scrollbar-thumb {
52
+ background-color: rgba(0, 0, 0, 0.1882352941);
53
+ background-clip: padding-box;
54
+ border-left: 4px transparent solid;
55
+ }
56
+
57
+ .FormPassword .eye-icon-button-wrap {
58
+ visibility: hidden;
59
+ }
60
+ .FormPassword.variant-filled .eye-icon-button-wrap {
61
+ margin-top: 9px;
62
+ margin-bottom: -9px;
63
+ }
64
+ .FormPassword:hover .eye-icon-button-wrap.show,
65
+ .FormPassword .MuiInputBase-root.Mui-focused .eye-icon-button-wrap.show {
66
+ visibility: visible;
67
+ }
68
+
69
+ .FormSearch input[type=search]::-webkit-search-decoration,
70
+ .FormSearch input[type=search]::-webkit-search-cancel-button,
71
+ .FormSearch input[type=search]::-webkit-search-results-button,
72
+ .FormSearch input[type=search]::-webkit-search-results-decoration {
73
+ -webkit-appearance: none;
74
+ }
75
+
64
76
  .FormToggleButtonGroup.loading .FormItemBase-Control-wrap .FormItemBase-Control {
65
77
  align-items: center !important;
66
78
  }
@@ -231,16 +243,11 @@
231
243
  height: 26px;
232
244
  }
233
245
 
234
- .FormTextarea .MuiInputBase-root .MuiInputBase-input {
235
- overflow-y: scroll;
236
- }
237
- .FormTextarea .MuiInputBase-root .MuiInputBase-input::-webkit-scrollbar {
238
- width: 8px;
246
+ .FormImageFile .preview-img {
247
+ max-width: 100%;
239
248
  }
240
- .FormTextarea .MuiInputBase-root .MuiInputBase-input::-webkit-scrollbar-thumb {
241
- background-color: rgba(0, 0, 0, 0.1882352941);
242
- background-clip: padding-box;
243
- border-left: 4px transparent solid;
249
+ .FormImageFile:not(.hide-file-name):not(.variant-standard) .preview-img {
250
+ padding-right: 14px;
244
251
  }
245
252
 
246
253
  .FormTextEditor.initializing textarea {
@@ -258,6 +265,17 @@
258
265
  display: none;
259
266
  }
260
267
 
268
+ .FormItemBase .FormItemBase-InputLabel {
269
+ overflow: visible;
270
+ padding-left: 5px;
271
+ }
272
+ .FormItemBase .FormItemBase-InputLabel.MuiInputLabel-sizeSmall {
273
+ transform: translate(0, -1.5px) scale(0.7);
274
+ }
275
+ .FormItemBase.variant-standard .FormItemBase-Control-wrap {
276
+ margin-top: 16px;
277
+ }
278
+
261
279
  .FormFile .control-wrap {
262
280
  display: inline-flex;
263
281
  }
@@ -354,27 +372,6 @@
354
372
  height: 26px;
355
373
  }
356
374
 
357
- .FormItemBase .FormItemBase-InputLabel {
358
- overflow: visible;
359
- padding-left: 5px;
360
- }
361
- .FormItemBase .FormItemBase-InputLabel.MuiInputLabel-sizeSmall {
362
- transform: translate(0, -1.5px) scale(0.7);
363
- }
364
- .FormItemBase.variant-standard .FormItemBase-Control-wrap {
365
- margin-top: 16px;
366
- }
367
-
368
- .PrivateDatePicker .input-text-field.align-left .MuiInputBase-input {
369
- text-align: left;
370
- }
371
- .PrivateDatePicker .input-text-field.align-center .MuiInputBase-input {
372
- text-align: center;
373
- }
374
- .PrivateDatePicker .input-text-field.align-right .MuiInputBase-input {
375
- text-align: right;
376
- }
377
-
378
375
  .FormDateRangePickerTooltipPickerContainer {
379
376
  display: inline-block;
380
377
  position: relative;
@@ -466,128 +463,131 @@
466
463
  text-align: right;
467
464
  }
468
465
 
469
- .PrivateStaticDatePicker.time {
466
+ .PrivateDatePicker .input-text-field.align-left .MuiInputBase-input {
467
+ text-align: left;
468
+ }
469
+ .PrivateDatePicker .input-text-field.align-center .MuiInputBase-input {
470
+ text-align: center;
471
+ }
472
+ .PrivateDatePicker .input-text-field.align-right .MuiInputBase-input {
473
+ text-align: right;
474
+ }
475
+
476
+ .PrivateStaticDateTimePicker.time {
470
477
  height: 400px;
471
478
  }
472
- .PrivateStaticDatePicker .MuiPickersCalendarHeader-root {
479
+ .PrivateStaticDateTimePicker .MuiPickersCalendarHeader-root {
473
480
  display: none;
474
481
  }
475
- .PrivateStaticDatePicker .month-title-container {
482
+ .PrivateStaticDateTimePicker .month-title-container {
476
483
  display: flex;
477
484
  align-items: center;
478
485
  margin-left: 5px;
479
486
  }
480
- .PrivateStaticDatePicker .month-title-container .month-title-wrap {
487
+ .PrivateStaticDateTimePicker .month-title-container .month-title-wrap {
481
488
  display: flex;
482
489
  align-items: center;
483
490
  cursor: pointer;
484
491
  }
485
- .PrivateStaticDatePicker .month-title-container .month-title-wrap .month-title button {
492
+ .PrivateStaticDateTimePicker .month-title-container .month-title-wrap .month-title button {
486
493
  font-size: 15px;
487
494
  padding-left: 8px;
488
495
  padding-right: 0;
489
496
  min-width: 0;
490
497
  }
491
- .PrivateStaticDatePicker .month-title-container .month-title-wrap .month-title button:not(.active) {
498
+ .PrivateStaticDateTimePicker .month-title-container .month-title-wrap .month-title button:not(.active) {
492
499
  color: unset;
493
500
  }
494
- .PrivateStaticDatePicker .action-buttons {
501
+ .PrivateStaticDateTimePicker .action-buttons {
495
502
  border-top: 1px solid #efefef;
496
503
  padding: 10px;
497
504
  text-align: right;
498
505
  }
499
- .PrivateStaticDatePicker .action-buttons button {
506
+ .PrivateStaticDateTimePicker .action-buttons button {
500
507
  min-width: 0;
501
508
  color: inherit;
502
509
  }
503
- .PrivateStaticDatePicker .action-buttons button:not(:first-of-type) {
510
+ .PrivateStaticDateTimePicker .action-buttons button:not(:first-of-type) {
504
511
  margin-left: 5px;
505
512
  }
506
- .PrivateStaticDatePicker .action-buttons button.disabled {
513
+ .PrivateStaticDateTimePicker .action-buttons button.disabled {
507
514
  color: rgba(0, 0, 0, 0.5);
508
515
  }
509
- .PrivateStaticDatePicker .time {
516
+ .PrivateStaticDateTimePicker .time {
510
517
  border-left: 2px solid #bfbfbf;
511
518
  }
512
- .PrivateStaticDatePicker .time .time-container {
519
+ .PrivateStaticDateTimePicker .time .time-container {
513
520
  height: 100%;
514
521
  }
515
- .PrivateStaticDatePicker .time .time-container .time-title {
522
+ .PrivateStaticDateTimePicker .time .time-container .time-title {
516
523
  text-align: center;
517
524
  padding: 22px 0;
518
525
  font-size: 15px;
519
526
  }
520
- .PrivateStaticDatePicker .time .time-container .time-select-wrap {
527
+ .PrivateStaticDateTimePicker .time .time-container .time-select-wrap {
521
528
  flex: 1;
522
529
  border-top: 1px solid #efefef;
523
530
  }
524
- .PrivateStaticDatePicker.time .time .time-container .time-select-wrap > div > div:not(:first-of-type) {
531
+ .PrivateStaticDateTimePicker.time .time .time-container .time-select-wrap > div > div:not(:first-of-type) {
525
532
  border-left: 1px solid #efefef;
526
533
  }
527
534
 
528
- .FormImageFile .preview-img {
529
- max-width: 100%;
530
- }
531
- .FormImageFile:not(.hide-file-name):not(.variant-standard) .preview-img {
532
- padding-right: 14px;
533
- }
534
-
535
- .PrivateStaticDateTimePicker.time {
535
+ .PrivateStaticDatePicker.time {
536
536
  height: 400px;
537
537
  }
538
- .PrivateStaticDateTimePicker .MuiPickersCalendarHeader-root {
538
+ .PrivateStaticDatePicker .MuiPickersCalendarHeader-root {
539
539
  display: none;
540
540
  }
541
- .PrivateStaticDateTimePicker .month-title-container {
541
+ .PrivateStaticDatePicker .month-title-container {
542
542
  display: flex;
543
543
  align-items: center;
544
544
  margin-left: 5px;
545
545
  }
546
- .PrivateStaticDateTimePicker .month-title-container .month-title-wrap {
546
+ .PrivateStaticDatePicker .month-title-container .month-title-wrap {
547
547
  display: flex;
548
548
  align-items: center;
549
549
  cursor: pointer;
550
550
  }
551
- .PrivateStaticDateTimePicker .month-title-container .month-title-wrap .month-title button {
551
+ .PrivateStaticDatePicker .month-title-container .month-title-wrap .month-title button {
552
552
  font-size: 15px;
553
553
  padding-left: 8px;
554
554
  padding-right: 0;
555
555
  min-width: 0;
556
556
  }
557
- .PrivateStaticDateTimePicker .month-title-container .month-title-wrap .month-title button:not(.active) {
557
+ .PrivateStaticDatePicker .month-title-container .month-title-wrap .month-title button:not(.active) {
558
558
  color: unset;
559
559
  }
560
- .PrivateStaticDateTimePicker .action-buttons {
560
+ .PrivateStaticDatePicker .action-buttons {
561
561
  border-top: 1px solid #efefef;
562
562
  padding: 10px;
563
563
  text-align: right;
564
564
  }
565
- .PrivateStaticDateTimePicker .action-buttons button {
565
+ .PrivateStaticDatePicker .action-buttons button {
566
566
  min-width: 0;
567
567
  color: inherit;
568
568
  }
569
- .PrivateStaticDateTimePicker .action-buttons button:not(:first-of-type) {
569
+ .PrivateStaticDatePicker .action-buttons button:not(:first-of-type) {
570
570
  margin-left: 5px;
571
571
  }
572
- .PrivateStaticDateTimePicker .action-buttons button.disabled {
572
+ .PrivateStaticDatePicker .action-buttons button.disabled {
573
573
  color: rgba(0, 0, 0, 0.5);
574
574
  }
575
- .PrivateStaticDateTimePicker .time {
575
+ .PrivateStaticDatePicker .time {
576
576
  border-left: 2px solid #bfbfbf;
577
577
  }
578
- .PrivateStaticDateTimePicker .time .time-container {
578
+ .PrivateStaticDatePicker .time .time-container {
579
579
  height: 100%;
580
580
  }
581
- .PrivateStaticDateTimePicker .time .time-container .time-title {
581
+ .PrivateStaticDatePicker .time .time-container .time-title {
582
582
  text-align: center;
583
583
  padding: 22px 0;
584
584
  font-size: 15px;
585
585
  }
586
- .PrivateStaticDateTimePicker .time .time-container .time-select-wrap {
586
+ .PrivateStaticDatePicker .time .time-container .time-select-wrap {
587
587
  flex: 1;
588
588
  border-top: 1px solid #efefef;
589
589
  }
590
- .PrivateStaticDateTimePicker.time .time .time-container .time-select-wrap > div > div:not(:first-of-type) {
590
+ .PrivateStaticDatePicker.time .time .time-container .time-select-wrap > div > div:not(:first-of-type) {
591
591
  border-left: 1px solid #efefef;
592
592
  }
593
593
 
@@ -601,7 +601,7 @@
601
601
  text-align: right;
602
602
  }
603
603
 
604
- .PrivateMonthSelect {
604
+ .PrivateYearSelect {
605
605
  position: absolute;
606
606
  left: 0;
607
607
  right: 0;
@@ -609,8 +609,8 @@
609
609
  bottom: 0;
610
610
  background-color: white;
611
611
  }
612
- .PrivateMonthSelect button {
613
- font-size: 15px;
612
+ .PrivateYearSelect button {
613
+ font-size: 14px;
614
614
  font-weight: 400;
615
615
  border-radius: 18px;
616
616
  }
@@ -686,7 +686,7 @@
686
686
  background-color: transparent;
687
687
  }
688
688
 
689
- .PrivateYearSelect {
689
+ .PrivateMonthSelect {
690
690
  position: absolute;
691
691
  left: 0;
692
692
  right: 0;
@@ -694,8 +694,8 @@
694
694
  bottom: 0;
695
695
  background-color: white;
696
696
  }
697
- .PrivateYearSelect button {
698
- font-size: 14px;
697
+ .PrivateMonthSelect button {
698
+ font-size: 15px;
699
699
  font-weight: 400;
700
700
  border-radius: 18px;
701
701
  }
package/dist/index.esm.js CHANGED
@@ -10149,7 +10149,7 @@ FormSwitch.displayName = 'FormSwitch';var SearchGroupRow = function (_a) {
10149
10149
  var children = _a.children, props = __rest(_a, ["children"]);
10150
10150
  return (React.createElement(FormRow, __assign({}, props),
10151
10151
  React.createElement(FormCol, null,
10152
- React.createElement(Grid, { container: true, spacing: 1, alignItems: 'center' }, children))));
10152
+ React.createElement(Grid, { container: true, spacing: 1, alignItems: 'center', flex: 1 }, children))));
10153
10153
  };var Search = React.forwardRef(function (_a, ref) {
10154
10154
  /********************************************************************************************************************
10155
10155
  * Ref
package/dist/index.js CHANGED
@@ -10149,7 +10149,7 @@ FormSwitch.displayName = 'FormSwitch';var SearchGroupRow = function (_a) {
10149
10149
  var children = _a.children, props = __rest(_a, ["children"]);
10150
10150
  return (React.createElement(FormRow, __assign({}, props),
10151
10151
  React.createElement(FormCol, null,
10152
- React.createElement(material.Grid, { container: true, spacing: 1, alignItems: 'center' }, children))));
10152
+ React.createElement(material.Grid, { container: true, spacing: 1, alignItems: 'center', flex: 1 }, children))));
10153
10153
  };var Search = React.forwardRef(function (_a, ref) {
10154
10154
  /********************************************************************************************************************
10155
10155
  * Ref
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pdg/react-form",
3
3
  "title": "React Form",
4
- "version": "1.0.133",
4
+ "version": "1.0.134",
5
5
  "description": "React Form",
6
6
  "type": "module",
7
7
  "types": "dist/index.d.ts",