@robertraaijmakers/pptb-securityplugin 0.1.6-beta.0 → 0.1.6

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/dist/icon.svg ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" ?>
2
+ <svg width="100px" height="100px" viewBox="0 0 512 512" id="Layer_1" version="1.1" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor">
3
+ <g>
4
+ <path class="st1" d="M481,120.1c-3.6,0.5-7.2,0.7-10.8,0.7c-34.9,0-64.9-21.2-77.8-51.4c-4.4-10.2-6.8-21.4-6.8-33.2 c0-2.8,0.1-5.5,0.4-8.2H126c0.3,2.7,0.4,5.4,0.4,8.2c0,11.8-2.4,23-6.8,33.2c-12.9,30.2-42.9,51.4-77.8,51.4 c-3.7,0-7.3-0.2-10.8-0.7c1.4,40-26,284.3,225,363.9C507,404.4,479.6,160.1,481,120.1z M416.2,291c-13.3,33.6-32.5,62.8-57.1,86.7 c-27.2,26.4-61.8,47.3-103.1,62c-41.3-14.7-75.9-35.6-103.1-62c-24.6-23.9-43.8-53.1-57.1-86.7C76.5,242.1,73,192.6,72.7,158.9 c37.8-9.5,69.7-36.1,85.5-73c2.2-5.2,4.1-10.5,5.6-15.9h184.5c1.5,5.4,3.4,10.8,5.6,16c15.8,36.9,47.7,63.5,85.5,73 C439,192.6,435.5,242.1,416.2,291z"/>
5
+ <path class="st0" d="M348.7,181.2l16.4-16.4c3.3-3.3,3.3-8.6,0-11.9l-19.6-19.6c-3.3-3.3-8.6-3.3-11.9,0l-16.4,16.4 c-11.6-7.7-24.8-13.2-38.9-16.1v-23.2c0-4.6-3.8-8.4-8.4-8.4h-27.8c-4.6,0-8.4,3.8-8.4,8.4v23.2c-14.1,2.9-27.3,8.4-38.9,16.1 l-16.4-16.4c-3.3-3.3-8.6-3.3-11.9,0l-19.6,19.6c-3.3,3.3-3.3,8.6,0,11.9l16.4,16.4c-7.7,11.6-13.3,24.8-16.1,38.9H124 c-4.6,0-8.4,3.8-8.4,8.4v27.8c0,4.6,3.8,8.4,8.4,8.4h23.2c2.9,14.1,8.4,27.3,16.1,38.9l-16.4,16.4c-3.3,3.3-3.3,8.6,0,11.9 l19.6,19.6c3.3,3.3,8.6,3.3,11.9,0l16.4-16.4c11.6,7.7,24.8,13.2,38.9,16.1v23.2c0,4.6,3.8,8.4,8.4,8.4h27.8c4.6,0,8.4-3.8,8.4-8.4 v-23.2c14.1-2.9,27.3-8.4,38.9-16.1l16.4,16.4c3.3,3.3,8.6,3.3,11.9,0l19.6-19.6c3.3-3.3,3.3-8.6,0-11.9l-16.4-16.4 c7.7-11.6,13.3-24.8,16.1-38.9H388c4.6,0,8.4-3.8,8.4-8.4v-27.8c0-4.7-3.8-8.4-8.4-8.4h-23.2C361.9,206,356.4,192.8,348.7,181.2z M275.9,313.9v-33.9c13-7.1,21.9-20.9,21.9-36.8c0-17.1-10.3-31.9-25.1-38.3v37.4h-33.4V205c-14.8,6.4-25.1,21.2-25.1,38.3 c0,15.9,8.8,29.7,21.9,36.8v33.9c-31.4-8.7-54.4-37.5-54.4-71.6c0-41,33.3-74.3,74.3-74.3c41,0,74.3,33.3,74.3,74.3 C330.3,276.5,307.3,305.3,275.9,313.9z"/>
6
+ </g>
7
+ </svg>
package/dist/index.css CHANGED
@@ -527,11 +527,10 @@ body.theme-dark .btn:not(:disabled):hover {
527
527
  padding: 16px 20px 20px;
528
528
  }
529
529
 
530
- .assignment-toolbar {
530
+ .assignment-filter-actions {
531
531
  display: flex;
532
- justify-content: flex-end;
533
532
  gap: 12px;
534
- margin-bottom: 12px;
533
+ align-items: center;
535
534
  }
536
535
 
537
536
  .assignment-table {
@@ -925,6 +924,7 @@ body.theme-dark .bulk-row th {
925
924
  border-radius: 8px;
926
925
  border: 1px solid var(--border);
927
926
  background: #fff;
927
+ color: var(--ink);
928
928
  font-size: 12px;
929
929
  text-transform: none;
930
930
  letter-spacing: 0;
@@ -935,11 +935,18 @@ body.theme-dark .bulk-row th {
935
935
  border-radius: 8px;
936
936
  border: 1px solid var(--border);
937
937
  background: #fff;
938
+ color: var(--ink);
938
939
  font-size: 11px;
939
940
  font-weight: 600;
940
941
  text-transform: uppercase;
941
942
  letter-spacing: 0.3px;
942
943
  cursor: pointer;
944
+ transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
945
+ }
946
+
947
+ .bulk-apply:not(:disabled):hover {
948
+ background: #f6efe6;
949
+ border-color: #d4c5b6;
943
950
  }
944
951
 
945
952
  .bulk-apply:disabled,
@@ -951,6 +958,13 @@ body.theme-dark .bulk-row th {
951
958
  body.theme-dark .bulk-select,
952
959
  body.theme-dark .bulk-apply {
953
960
  background: #1f1b17;
961
+ color: var(--ink);
962
+ border-color: var(--border);
963
+ }
964
+
965
+ body.theme-dark .bulk-apply:not(:disabled):hover {
966
+ background: #2a241f;
967
+ border-color: #3f362f;
954
968
  }
955
969
 
956
970
  .filter-select {
@@ -980,6 +994,7 @@ body.theme-dark .bulk-apply {
980
994
 
981
995
  .table.hide-ownership thead tr:first-child th:nth-child(2),
982
996
  .table.hide-ownership thead tr.filter-row th:nth-child(2),
997
+ .table.hide-ownership thead tr.bulk-row th:nth-child(2),
983
998
  .table.hide-ownership tbody td:nth-child(2) {
984
999
  display: none;
985
1000
  }
package/dist/index.html CHANGED
@@ -218,7 +218,15 @@
218
218
  </th>
219
219
  </tr>
220
220
  <tr class="filter-row">
221
- <th></th>
221
+ <th>
222
+ <input
223
+ type="text"
224
+ id="privilege-search"
225
+ class="filter-input"
226
+ placeholder="Search entities or roles..."
227
+ aria-label="Search entities or roles"
228
+ />
229
+ </th>
222
230
  <th></th>
223
231
  <th>
224
232
  <select class="filter-select" data-filter="create"></select>
@@ -246,9 +254,10 @@
246
254
  </th>
247
255
  </tr>
248
256
  <tr class="bulk-row">
249
- <th colspan="2">
257
+ <th>
250
258
  <span class="bulk-label">Bulk update visible rows</span>
251
259
  </th>
260
+ <th></th>
252
261
  <th>
253
262
  <div class="bulk-control">
254
263
  <select class="bulk-select" data-bulk-select="create"></select>
@@ -316,10 +325,6 @@
316
325
  </div>
317
326
  </div>
318
327
  <div class="assignment-list">
319
- <div class="assignment-toolbar">
320
- <button type="button" class="link-button" id="assignment-select-all">Select all</button>
321
- <button type="button" class="link-button" id="assignment-clear">Clear</button>
322
- </div>
323
328
  <div class="assignment-table">
324
329
  <table class="table" id="assignment-table">
325
330
  <thead>
@@ -349,7 +354,12 @@
349
354
  <option value="not-assigned">Not assigned</option>
350
355
  </select>
351
356
  </th>
352
- <th></th>
357
+ <th>
358
+ <div class="assignment-filter-actions">
359
+ <button type="button" class="link-button" id="assignment-select-all">Select all</button>
360
+ <button type="button" class="link-button" id="assignment-clear">Clear</button>
361
+ </div>
362
+ </th>
353
363
  </tr>
354
364
  </thead>
355
365
  <tbody id="assignment-table-body"></tbody>
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@robertraaijmakers/pptb-securityplugin",
3
- "version": "0.1.6-beta.0",
3
+ "version": "0.1.6",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@robertraaijmakers/pptb-securityplugin",
9
- "version": "0.1.6-beta.0",
9
+ "version": "0.1.6",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "chart.js": "^4.4.1"
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@robertraaijmakers/pptb-securityplugin",
3
- "version": "0.1.6-beta.0",
3
+ "version": "0.1.6",
4
4
  "displayName": "Security Roles Explorer",
5
5
  "description": "Be fully in control of your security by quickly viewing and managing which security roles give access to which tables. And who is assigned which security role.",
6
+ "icon": "icon.svg",
6
7
  "author": "Robert Raaijmakers",
7
8
  "contributors": [
8
9
  {
@@ -26,8 +27,7 @@
26
27
  "configurations": {
27
28
  "repository": "https://github.com/robertraaijmakers/pptb.securityplugin/",
28
29
  "website": "https://robertraaijmakers.github.io/pptb.securityplugin/",
29
- "readmeUrl": "https://raw.githubusercontent.com/robertraaijmakers/pptb.securityplugin/main/README.md",
30
- "iconUrl": "https://raw.githubusercontent.com/robertraaijmakers/pptb.securityplugin/main/assets/icon.png"
30
+ "readmeUrl": "https://raw.githubusercontent.com/robertraaijmakers/pptb.securityplugin/main/README.md"
31
31
  },
32
32
  "files": [
33
33
  "dist/**",