@orangesix/react 1.1.1 → 1.2.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.
Files changed (81) hide show
  1. package/api/index.cjs.js +1 -1
  2. package/api/index.cjs.js.map +1 -1
  3. package/api/index.d.ts +100 -3
  4. package/api/index.esm.js +1 -1
  5. package/api/index.esm.js.map +1 -1
  6. package/autocomplete/index.cjs.js.map +1 -1
  7. package/autocomplete/index.d.ts +17 -1
  8. package/autocomplete/index.esm.js.map +1 -1
  9. package/editor/index.cjs.js +1 -1
  10. package/editor/index.cjs.js.map +1 -1
  11. package/editor/index.d.ts +17 -1
  12. package/editor/index.esm.js +1 -1
  13. package/editor/index.esm.js.map +1 -1
  14. package/input/index.cjs.js +2 -0
  15. package/input/index.cjs.js.map +1 -0
  16. package/input/index.d.ts +210 -0
  17. package/input/index.esm.js +2 -0
  18. package/input/index.esm.js.map +1 -0
  19. package/input/package.json +5 -0
  20. package/inputfilter/index.cjs.js.map +1 -1
  21. package/inputfilter/index.d.ts +17 -1
  22. package/inputfilter/index.esm.js.map +1 -1
  23. package/loading/_loading.scss +10 -0
  24. package/loading/index.cjs.js +2 -0
  25. package/loading/index.cjs.js.map +1 -0
  26. package/loading/index.d.ts +172 -0
  27. package/loading/index.esm.js +2 -0
  28. package/loading/index.esm.js.map +1 -0
  29. package/loading/package.json +5 -0
  30. package/modal/index.cjs.js +2 -0
  31. package/modal/index.cjs.js.map +1 -0
  32. package/modal/index.d.ts +68 -0
  33. package/modal/index.esm.js +2 -0
  34. package/modal/index.esm.js.map +1 -0
  35. package/modal/package.json +5 -0
  36. package/package.json +15 -4
  37. package/picklist/index.cjs.js +2 -0
  38. package/picklist/index.cjs.js.map +1 -0
  39. package/picklist/index.d.ts +73 -0
  40. package/picklist/index.esm.js +2 -0
  41. package/picklist/index.esm.js.map +1 -0
  42. package/picklist/package.json +5 -0
  43. package/radio/index.cjs.js +2 -0
  44. package/radio/index.cjs.js.map +1 -0
  45. package/radio/index.d.ts +188 -0
  46. package/radio/index.esm.js +2 -0
  47. package/radio/index.esm.js.map +1 -0
  48. package/radio/package.json +5 -0
  49. package/select/index.cjs.js +2 -0
  50. package/select/index.cjs.js.map +1 -0
  51. package/select/index.d.ts +195 -0
  52. package/select/index.esm.js +2 -0
  53. package/select/index.esm.js.map +1 -0
  54. package/select/package.json +5 -0
  55. package/style/scss/_variables.scss +4 -0
  56. package/style/scss/bootstrap.scss +1 -0
  57. package/style/scss/components/button/_button.scss +494 -494
  58. package/style/scss/components/data/_datatable.scss +1 -0
  59. package/style/scss/components/data/_picklist.scss +61 -61
  60. package/style/scss/components/input/_iconfield.scss +5 -4
  61. package/style/scss/components/input/_inputswitch.scss +80 -70
  62. package/style/scss/core/_mixins.scss +195 -195
  63. package/style/scss/core/_reset.scss +75 -74
  64. package/switch/index.cjs.js +2 -0
  65. package/switch/index.cjs.js.map +1 -0
  66. package/switch/index.d.ts +169 -0
  67. package/switch/index.esm.js +2 -0
  68. package/switch/index.esm.js.map +1 -0
  69. package/switch/package.json +5 -0
  70. package/table/index.cjs.js +1 -1
  71. package/table/index.cjs.js.map +1 -1
  72. package/table/index.d.ts +14 -1
  73. package/table/index.esm.js +1 -1
  74. package/table/index.esm.js.map +1 -1
  75. package/tabview/index.d.ts +17 -1
  76. package/textarea/index.cjs.js +2 -0
  77. package/textarea/index.cjs.js.map +1 -0
  78. package/textarea/index.d.ts +165 -0
  79. package/textarea/index.esm.js +2 -0
  80. package/textarea/index.esm.js.map +1 -0
  81. package/textarea/package.json +5 -0
@@ -157,6 +157,7 @@
157
157
  &.p-highlight {
158
158
  background: $highlightBg;
159
159
  color: $highlightTextColor;
160
+ font-weight: $tableBodyCellSelectedFontWeight;
160
161
  }
161
162
 
162
163
  &.p-highlight-contextmenu {
@@ -1,74 +1,74 @@
1
1
  .p-picklist {
2
- .p-picklist-buttons {
3
- padding: $panelContentPadding;
2
+ .p-picklist-buttons {
3
+ padding: $panelContentPadding;
4
4
 
5
- .p-button {
6
- margin-bottom: $inlineSpacing;
7
- }
8
- }
5
+ .p-button {
6
+ margin-bottom: $inlineSpacing !important;
7
+ }
8
+ }
9
9
 
10
- .p-picklist-header {
11
- background: $panelHeaderBg;
12
- color: $panelHeaderTextColor;
13
- border: $panelHeaderBorder;
14
- padding: $panelHeaderPadding;
15
- font-weight: $panelHeaderFontWeight;
16
- border-bottom: 0 none;
17
- border-top-right-radius: $borderRadius;
18
- border-top-left-radius: $borderRadius;
19
- }
10
+ .p-picklist-header {
11
+ background: $panelHeaderBg;
12
+ color: $panelHeaderTextColor;
13
+ border: $panelHeaderBorder;
14
+ padding: $panelHeaderPadding;
15
+ font-weight: $panelHeaderFontWeight;
16
+ border-bottom: 0 none;
17
+ border-top-right-radius: $borderRadius;
18
+ border-top-left-radius: $borderRadius;
19
+ }
20
20
 
21
- .p-picklist-filter-container {
22
- padding: $panelHeaderPadding;
23
- background: $panelContentBg;
24
- border: $panelHeaderBorder;
25
- border-bottom: 0 none;
21
+ .p-picklist-filter-container {
22
+ padding: $panelHeaderPadding;
23
+ background: $panelContentBg;
24
+ border: $panelHeaderBorder;
25
+ border-bottom: 0 none;
26
26
 
27
- .p-picklist-filter-input {
28
- padding-right: nth($inputPadding, 2) + $primeIconFontSize;
29
- }
27
+ .p-picklist-filter-input {
28
+ padding-right: nth($inputPadding, 2) + $primeIconFontSize;
29
+ }
30
30
 
31
- .p-picklist-filter-icon {
32
- right: nth($inputPadding, 2);
33
- color: $inputIconColor;
34
- }
35
- }
31
+ .p-picklist-filter-icon {
32
+ right: nth($inputPadding, 2);
33
+ color: $inputIconColor;
34
+ }
35
+ }
36
36
 
37
- .p-picklist-list {
38
- border: $panelContentBorder;
39
- background: $panelContentBg;
40
- color: $panelContentTextColor;
41
- padding: $inputListPadding;
42
- border-bottom-right-radius: $borderRadius;
43
- border-bottom-left-radius: $borderRadius;
44
- outline: 0 none;
37
+ .p-picklist-list {
38
+ border: $panelContentBorder;
39
+ background: $panelContentBg;
40
+ color: $panelContentTextColor;
41
+ padding: $inputListPadding;
42
+ border-bottom-right-radius: $borderRadius;
43
+ border-bottom-left-radius: $borderRadius;
44
+ outline: 0 none;
45
45
 
46
- .p-picklist-item {
47
- padding: $inputListItemPadding;
48
- margin: $inputListItemMargin;
49
- border: $inputListItemBorder;
50
- color: $inputListItemTextColor;
51
- background: $inputListItemBg;
52
- transition: transform $transitionDuration, $listItemTransition;
46
+ .p-picklist-item {
47
+ padding: $inputListItemPadding;
48
+ margin: $inputListItemMargin;
49
+ border: $inputListItemBorder;
50
+ color: $inputListItemTextColor;
51
+ background: $inputListItemBg;
52
+ transition: transform $transitionDuration, $listItemTransition;
53
53
 
54
- &:not(.p-highlight):hover {
55
- background: $inputListItemHoverBg;
56
- color: $inputListItemTextHoverColor;
57
- }
54
+ &:not(.p-highlight):hover {
55
+ background: $inputListItemHoverBg;
56
+ color: $inputListItemTextHoverColor;
57
+ }
58
58
 
59
- &.p-focus {
60
- color: $inputListItemTextFocusColor;
61
- background: $inputListItemFocusBg;
62
- }
59
+ &.p-focus {
60
+ color: $inputListItemTextFocusColor;
61
+ background: $inputListItemFocusBg;
62
+ }
63
63
 
64
- &.p-highlight {
65
- color: $highlightTextColor;
66
- background: $highlightBg;
64
+ &.p-highlight {
65
+ color: $highlightTextColor;
66
+ background: $highlightBg;
67
67
 
68
- &.p-focus {
69
- background: $highlightFocusBg;
70
- }
71
- }
72
- }
73
- }
68
+ &.p-focus {
69
+ background: $highlightFocusBg;
70
+ }
71
+ }
72
+ }
73
+ }
74
74
  }
@@ -1,10 +1,11 @@
1
1
  // core
2
2
  .p-icon-field {
3
- position: relative;
3
+ position: relative;
4
+ width: 100%;
4
5
  }
5
6
 
6
7
  .p-icon-field > .p-input-icon {
7
- position: absolute;
8
- top: 50%;
9
- margin-top: -.5rem;
8
+ position: absolute;
9
+ top: 50%;
10
+ margin-top: -.7rem;
10
11
  }
@@ -2,99 +2,109 @@
2
2
 
3
3
  //core
4
4
  .p-inputswitch {
5
- position: relative;
6
- display: inline-block;
5
+ position: relative;
6
+ display: inline-block;
7
7
  }
8
8
 
9
9
  .p-inputswitch-input {
10
- appearance: none;
11
- position: absolute;
12
- top: 0;
13
- left: 0;
14
- width: 100%;
15
- height: 100%;
16
- padding: 0;
17
- margin: 0;
18
- opacity: 0;
19
- z-index: 1;
20
- outline: 0 none;
21
- cursor: pointer;
10
+ appearance: none;
11
+ position: absolute;
12
+ top: 0;
13
+ left: 0;
14
+ width: 100%;
15
+ height: 100%;
16
+ padding: 0;
17
+ margin: 0;
18
+ opacity: 0;
19
+ z-index: 1;
20
+ outline: 0 none;
21
+ cursor: pointer;
22
22
  }
23
23
 
24
24
  .p-inputswitch-slider {
25
- position: absolute;
26
- cursor: pointer;
27
- top: 0;
28
- left: 0;
29
- right: 0;
30
- bottom: 0;
31
- border: 1px solid transparent;
25
+ position: absolute;
26
+ cursor: pointer;
27
+ top: 0;
28
+ left: 0;
29
+ right: 0;
30
+ bottom: 0;
31
+ border: 1px solid transparent;
32
+ }
33
+
34
+ .p-inputswitch-legend {
35
+ font-size: 1em;
36
+ color: $shade600;
32
37
  }
33
38
 
34
39
  .p-inputswitch-slider:before {
35
- position: absolute;
36
- content: '';
37
- top: 50%;
40
+ position: absolute;
41
+ content: '';
42
+ top: 50%;
38
43
  }
39
44
 
40
45
  //theme
41
46
  .p-inputswitch {
42
- width: $inputSwitchWidth;
43
- height: $inputSwitchHeight;
47
+ width: $inputSwitchWidth;
48
+ height: $inputSwitchHeight;
44
49
 
45
- .p-inputswitch-input {
46
- border-radius: $inputSwitchBorderRadius;
47
- }
50
+ .p-inputswitch-input {
51
+ border-radius: $inputSwitchBorderRadius;
52
+ }
48
53
 
49
- .p-inputswitch-slider {
50
- background: $inputSwitchSliderOffBg;
51
- transition: $formElementTransition;
52
- border-radius: $inputSwitchBorderRadius;
53
- outline-color: transparent;
54
-
55
- &:before {
56
- background: $inputSwitchHandleOffBg;
57
- width: $inputSwitchHandleWidth;
58
- height: $inputSwitchHandleHeight;
59
- left: $inputSwitchSliderPadding;
60
- margin-top: math.div(-1 * $inputSwitchHandleHeight, 2);
61
- border-radius: $inputSwitchHandleBorderRadius;
62
- transition-duration: $transitionDuration;
63
- }
54
+ .p-inputswitch-slider {
55
+ background: $inputSwitchSliderOffBg;
56
+ transition: $formElementTransition;
57
+ border-radius: $inputSwitchBorderRadius;
58
+ outline-color: transparent;
59
+
60
+ &:before {
61
+ background: $inputSwitchHandleOffBg;
62
+ width: $inputSwitchHandleWidth;
63
+ height: $inputSwitchHandleHeight;
64
+ left: $inputSwitchSliderPadding;
65
+ margin-top: math.div(-1 * $inputSwitchHandleHeight, 2);
66
+ border-radius: $inputSwitchHandleBorderRadius;
67
+ transition-duration: $transitionDuration;
64
68
  }
69
+ }
65
70
 
66
- &.p-highlight {
67
- .p-inputswitch-slider {
68
- background: $inputSwitchSliderOnBg;
71
+ .p-inputswitch-legend {
72
+ font-size: $inputSwitchLegendFontSize;
73
+ color: $inputSwitchLegendColor;
74
+ }
69
75
 
70
- &:before {
71
- background: $inputSwitchHandleOnBg;
72
- transform: translateX($inputSwitchHandleWidth);
73
- }
74
- }
76
+ &.p-highlight {
77
+ .p-inputswitch-slider {
78
+ background: $inputSwitchSliderOnBg;
79
+
80
+ &:before {
81
+ background: $inputSwitchHandleOnBg;
82
+ transform: translateX($inputSwitchHandleWidth);
83
+ }
75
84
  }
85
+ }
76
86
 
77
- &:not(.p-disabled) {
78
- &:has(.p-inputswitch-input:hover) {
79
- .p-inputswitch-slider {
80
- background: $inputSwitchSliderOffHoverBg;
81
- }
82
-
83
- &.p-highlight {
84
- .p-inputswitch-slider {
85
- background: $inputSwitchSliderOnHoverBg;
86
- }
87
- }
88
- }
87
+ &:not(.p-disabled) {
88
+ &:has(.p-inputswitch-input:hover) {
89
+ .p-inputswitch-slider {
90
+ background: $inputSwitchSliderOffHoverBg;
91
+ }
89
92
 
90
- &:has(.p-inputswitch-input:focus-visible) {
91
- .p-inputswitch-slider {
92
- @include focused();
93
- }
93
+ &.p-highlight {
94
+ .p-inputswitch-slider {
95
+ background: $inputSwitchSliderOnHoverBg;
94
96
  }
97
+ }
95
98
  }
96
99
 
97
- &.p-invalid > .p-inputswitch-slider {
98
- @include invalid-input();
100
+ &:has(.p-inputswitch-input:focus-visible) {
101
+ .p-inputswitch-slider {
102
+ @include focused();
103
+ }
99
104
  }
105
+ }
106
+
107
+ &.p-invalid > .p-inputswitch-slider {
108
+ @include invalid-input();
109
+ }
100
110
  }