@sydsoft/base 1.49.0 → 1.50.0

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 (49) hide show
  1. package/package.json +2 -2
  2. package/_lib/baseFunctions.ts +0 -94
  3. package/_lib/inputMask.ts +0 -257
  4. package/_lib/listFunctions.ts +0 -106
  5. package/_lib/storage/cookies.ts +0 -39
  6. package/_lib/storage/encData.ts +0 -41
  7. package/_lib/storage/localStorage.ts +0 -67
  8. package/_lib/storage/sessionStorage.ts +0 -67
  9. package/_lib/useInterval.ts +0 -30
  10. package/alert/index.module.css +0 -119
  11. package/alert/index.tsx +0 -131
  12. package/box/Box.module.css +0 -153
  13. package/box/Box.tsx +0 -33
  14. package/box/BoxContent.tsx +0 -18
  15. package/box/BoxFooter.tsx +0 -25
  16. package/box/BoxHeader.tsx +0 -46
  17. package/box/index.ts +0 -10
  18. package/countDown/index.tsx +0 -116
  19. package/dateTime/index.ts +0 -79
  20. package/form/Button.tsx +0 -143
  21. package/form/Checkbox.tsx +0 -48
  22. package/form/Dialog.tsx +0 -109
  23. package/form/Form.tsx +0 -19
  24. package/form/FormOlustur.tsx +0 -105
  25. package/form/Input.tsx +0 -364
  26. package/form/Label.tsx +0 -20
  27. package/form/SearchableInput.tsx +0 -406
  28. package/form/UploadBase.tsx +0 -133
  29. package/form/index.ts +0 -10
  30. package/form/styles/Button.module.css +0 -145
  31. package/form/styles/Input.module.css +0 -221
  32. package/form/styles/Label.module.css +0 -31
  33. package/form/styles/SearchableInput.module.css +0 -80
  34. package/global.d.ts +0 -9
  35. package/grid/index.module.css +0 -805
  36. package/grid/index.tsx +0 -171
  37. package/icon/icons.tsx +0 -33
  38. package/icon/index.tsx +0 -95
  39. package/icon/mui.tsx +0 -5932
  40. package/index.ts +0 -21
  41. package/menu/index.module.css +0 -92
  42. package/menu/index.tsx +0 -143
  43. package/modal/index.module.css +0 -77
  44. package/modal/index.tsx +0 -106
  45. package/npm_recovery_codes.txt +0 -5
  46. package/popover/index.module.css +0 -89
  47. package/popover/index.tsx +0 -392
  48. package/tooltip/index.tsx +0 -216
  49. package/tsconfig.json +0 -24
@@ -1,221 +0,0 @@
1
- .component {
2
- position: relative;
3
- display: flex;
4
- flex-direction: row;
5
- align-items: center;
6
- vertical-align: top;
7
- width: 100%;
8
- border-width: 1px;
9
- border-style: solid;
10
- border-color: rgb(206, 212, 218);
11
- box-shadow: none;
12
- background: #ffffff;
13
- transition: 0.2s ease all;
14
- border-radius: 6px;
15
- }
16
-
17
- .component[data-disabled='true'] {
18
- background: #ebebeb;
19
- }
20
-
21
- .component[data-disabled='true'],
22
- .component[data-disabled='true'] * {
23
- pointer-events: none;
24
- cursor: not-allowed;
25
- }
26
-
27
- .component.error {
28
- border-color: #e70b3978;
29
- box-shadow: 0px 0px 5px 2px #f40d0d3d;
30
- }
31
-
32
- .component:hover {
33
- border-color: rgba(63, 77, 103, 0.87);
34
- }
35
-
36
- .component:focus-within {
37
- box-shadow: inset 0 0 0 1px rgb(63 77 103 / 87%);
38
- }
39
-
40
- .hidePlaceHolder input:not(:focus)::placeholder {
41
- color: transparent;
42
- }
43
-
44
- .component[data-disabled='true'] .loading:before {
45
- background: #ebebeb;
46
- }
47
-
48
- .adornment {
49
- z-index: 1;
50
- height: 0.01em;
51
- max-height: 2em;
52
- display: flex;
53
- flex-direction: row;
54
- align-items: center;
55
- flex: 0 0 auto;
56
- flex-wrap: nowrap;
57
- white-space: nowrap;
58
- }
59
-
60
- .adornment.start {
61
- margin-left: 10px;
62
- margin-right: -10px;
63
- }
64
-
65
- .adornment.end {
66
- margin-left: -5px;
67
- margin-right: 10px;
68
- }
69
-
70
- .inputBase {
71
- position: relative;
72
- display: inline-flex;
73
- flex-direction: row;
74
- align-items: center;
75
- flex: 1;
76
- overflow: hidden;
77
- z-index: 0;
78
- }
79
-
80
- .label {
81
- transition: 0.2s ease all;
82
- color: #000;
83
- padding: 0;
84
- display: block;
85
- transform-origin: left top;
86
- white-space: nowrap;
87
- overflow: hidden;
88
- text-overflow: ellipsis;
89
- max-width: calc(100% - 20px);
90
- position: absolute;
91
- left: 14px;
92
- top: 48%;
93
- transform: translateY(-50%) scale(1);
94
- pointer-events: none;
95
- opacity: 0.5;
96
- }
97
- .required {
98
- margin-left: 4px;
99
- color: #ff0202;
100
- }
101
-
102
- .inputBase.open {
103
- position: unset;
104
- }
105
-
106
- .inputBase.open .label {
107
- background: linear-gradient(0deg, var(--label-bg, #ffffff) 50%, rgba(255, 255, 255, 0) 50%);
108
- transform: translateY(-50%) scale(0.75);
109
- top: 1px;
110
- left: 8px;
111
- padding: 0 10px;
112
- color: #3f4d67;
113
- opacity: 1;
114
- z-index: 2;
115
- }
116
-
117
- .input {
118
- font-size: 1rem;
119
- line-height: 1.8rem;
120
- letter-spacing: inherit;
121
- color: currentcolor;
122
- box-sizing: content-box;
123
- background: none;
124
- margin: 0;
125
- display: block;
126
- min-width: 0;
127
- width: 100%;
128
- padding: 9px 14px;
129
- border: none;
130
- outline: none;
131
- z-index: 1;
132
- text-overflow: ellipsis;
133
- border-radius: 6px;
134
- }
135
- .input[type='number']::-webkit-outer-spin-button,
136
- .input[type='number']::-webkit-inner-spin-button {
137
- appearance: none;
138
- }
139
-
140
- .input[readonly] {
141
- cursor: default;
142
- }
143
-
144
- .input:disabled {
145
- background: #ebebeb;
146
- cursor: not-allowed;
147
- color: #000;
148
- opacity: 0.7;
149
- }
150
-
151
- .input.select {
152
- padding: 13px 14px;
153
- margin-right: 5px;
154
- }
155
-
156
- .input.textarea {
157
- resize: vertical;
158
- }
159
- .input.textarea::-webkit-resizer {
160
- display: none;
161
- }
162
-
163
- .loading {
164
- position: relative;
165
- margin: 0 15px;
166
- width: 24px;
167
- height: 24px;
168
- }
169
- .loading:before {
170
- position: absolute;
171
- display: block;
172
- content: '';
173
- z-index: 12;
174
- top: 2px;
175
- left: 2px;
176
- width: 20px;
177
- height: 20px;
178
- border-radius: 50%;
179
- background-color: #fff;
180
- }
181
-
182
- .loading:after {
183
- position: absolute;
184
- display: block;
185
- content: '';
186
- z-index: 11;
187
- width: 12px;
188
- height: 12px;
189
- border-radius: 200px 0 0;
190
- background: linear-gradient(45deg, rgba(0, 0, 0, 0) 0, rgba(69, 154, 215, 1) 50%, rgba(69, 154, 215, 1) 100%);
191
- animation: loading 0.5s linear infinite;
192
- }
193
- @keyframes loading {
194
- 0% {
195
- transform-origin: 100% 100%;
196
- transform: rotate(0deg);
197
- }
198
-
199
- 100% {
200
- transform-origin: 100% 100%;
201
- transform: rotate(360deg);
202
- }
203
- }
204
-
205
- .checkbox {
206
- position: relative;
207
- display: inline-flex;
208
- align-items: center;
209
- justify-content: flex-start;
210
- gap: 8px;
211
- box-sizing: border-box;
212
- font-size: 1rem;
213
- line-height: 1.4375em;
214
- user-select: none;
215
- }
216
-
217
- .checkbox input,
218
- .checkbox label {
219
- margin: 0;
220
- cursor: pointer !important;
221
- }
@@ -1,31 +0,0 @@
1
- .label {
2
- width: 100%;
3
- height: 100%;
4
- align-items: center;
5
- justify-content: flex-end;
6
- text-align: right;
7
- color: inherit;
8
- display: inline-flex;
9
- flex: 1;
10
- padding-right: 5px;
11
- }
12
-
13
- @media (max-width: 960px) {
14
- .label {
15
- justify-content: flex-start !important;
16
- margin-bottom: 10px;
17
- padding-left: 5px;
18
- text-align: left;
19
- }
20
- }
21
-
22
- .required {
23
- content: " ";
24
- width: 10px;
25
- color: #dc160f;
26
- margin-left: 3px;
27
- font-size: small;
28
- vertical-align: super;
29
- padding: 0 3px;
30
- cursor: pointer;
31
- }
@@ -1,80 +0,0 @@
1
- .searchableInputComponent {
2
- cursor: unset;
3
- }
4
- .searchableInputComponent input {
5
-
6
- }
7
-
8
- .searchableInputComponent :global(.listDiv) {
9
- position: relative;
10
- margin-top: -4px;
11
- z-index: 1000;
12
- }
13
-
14
- .searchableInputComponent :global(.listDiv[data-relative="true"]) {
15
- z-index: 1 !important;
16
- }
17
- .searchableInputComponent :global(.listDiv[data-relative="true"]) > ul {
18
- position: relative !important;
19
- }
20
-
21
- .searchableInputComponent :global(.list) {
22
- position: absolute;
23
- top: 3px;
24
- left: 1%;
25
- width: 98%;
26
- height: 0;
27
- overflow: hidden;
28
- background: transparent;
29
- margin: 0;
30
- padding: 0;
31
- list-style: none;
32
- }
33
-
34
- .searchableInputComponent :global(.list.open) {
35
- height: auto;
36
- max-height: 300px;
37
- overflow-x: hidden;
38
- overflow-y: visible;
39
- padding: 5px 0;
40
- border: 1px #ced4da solid;
41
- background: #fff;
42
- }
43
-
44
- .searchableInputComponent :global(.list li) {
45
- cursor: pointer;
46
- display: block;
47
- padding: 8px 10px;
48
- text-overflow: ellipsis;
49
- overflow: hidden;
50
- white-space: nowrap;
51
- }
52
-
53
- .searchableInputComponent :global(.list li:hover),
54
- .searchableInputComponent :global(.list li.selected) {
55
- background: #d9e0e3;
56
- }
57
-
58
- .searchableInputComponent :global(.list li.active) {
59
- background: #cbe2ef;
60
- font-weight: 500;
61
- }
62
-
63
- .searchableInputComponent :global(.newCreate) {
64
- margin-right: 5px;
65
- font-style: italic;
66
- }
67
-
68
- .searchableInputComponent :global(.message) {
69
- text-overflow: ellipsis;
70
- overflow: hidden;
71
- white-space: nowrap;
72
- display: block;
73
- padding: 15px 10px;
74
- cursor: default;
75
- }
76
- .searchableInputComponent :global(.loading) {
77
- padding: 5px 10px;
78
- background-color: #ced4da38;
79
- text-align: center;
80
- }
package/global.d.ts DELETED
@@ -1,9 +0,0 @@
1
- declare module '*.module.css' {
2
- const classes: { [key: string]: string };
3
- export default classes;
4
- }
5
-
6
- declare module '*.css' {
7
- const css: string;
8
- export default css;
9
- }