@iankibetsh/shframework 5.8.0 → 5.8.3

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/README.md CHANGED
@@ -45,6 +45,7 @@ Enable multi-row selection and perform collective actions by passing the `multi-
45
45
  label: 'Delete Selected',
46
46
  class: 'btn-outline-danger',
47
47
  icon: 'bi-trash',
48
+ permission: 'delete_users',
48
49
  callback: (selectedRecords) => {
49
50
  // Handle action, e.g., send IDs to backend
50
51
  const ids = selectedRecords.map(r => r.id);
@@ -1,36 +1,4 @@
1
1
 
2
- .sh-phone{
3
- display: flex;
4
- width: 100%;
5
- align-items: center;
6
- padding: 0 0.25rem;
7
- }
8
- .phone-country{
9
- width: 2rem;
10
- border: none;
11
- align-self: center;
12
- outline: none !important;
13
- padding: 0.4rem;
14
- border-right: 1px solid #0003;
15
- }
16
- .phone-number{
17
- width: calc(100% - 2.2rem);
18
- border: none;
19
- align-self: center;
20
- outline: none;
21
- margin-bottom: 0;
22
- padding: 0.4rem;
23
- }
24
- .sh-phone img{
25
- padding: 0.125rem;
26
- width: 2rem;
27
- height: 2rem;
28
- }
29
- .phone-number::placeholder{
30
- font-weight: 300;
31
- opacity: 0.5;
32
- }
33
-
34
2
  /* Step Container */
35
3
  .sh-form-steps-container {
36
4
  margin-bottom: 2.5rem;
@@ -333,6 +301,38 @@
333
301
  min-width: 300px;
334
302
  }
335
303
 
304
+ .sh-phone{
305
+ display: flex;
306
+ width: 100%;
307
+ align-items: center;
308
+ padding: 0 0.25rem;
309
+ }
310
+ .phone-country{
311
+ width: 2rem;
312
+ border: none;
313
+ align-self: center;
314
+ outline: none !important;
315
+ padding: 0.4rem;
316
+ border-right: 1px solid #0003;
317
+ }
318
+ .phone-number{
319
+ width: calc(100% - 2.2rem);
320
+ border: none;
321
+ align-self: center;
322
+ outline: none;
323
+ margin-bottom: 0;
324
+ padding: 0.4rem;
325
+ }
326
+ .sh-phone img{
327
+ padding: 0.125rem;
328
+ width: 2rem;
329
+ height: 2rem;
330
+ }
331
+ .phone-number::placeholder{
332
+ font-weight: 300;
333
+ opacity: 0.5;
334
+ }
335
+
336
336
  .sh-selected-item{
337
337
  line-height: unset!important;
338
338
  }