@xras/ui 0.1.7 → 0.2.1
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 +5 -2
- package/dist/access.css +1 -0
- package/dist/access_logo.png +0 -0
- package/dist/bootstrap.css +1 -1
- package/dist/xras-ui.cjs +98 -98
- package/dist/xras-ui.css +1 -1
- package/dist/xras-ui.js +18720 -18617
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -32,6 +32,7 @@ This component provides a user interface to browse available Resources and their
|
|
|
32
32
|
| `allowedFilters` | A list of filters you want users to see. Ex: `["GPU Compute"]` | **False** |
|
|
33
33
|
| `excludedCategories` | A list of filter **categories** that you want hidden from users. Ex: `["Specialized Support", "Specialized Hardware"]` | **False** |
|
|
34
34
|
| `excludedFilters` | A list of filters that you want hidden from users. Ex: `["ACCESS Allocated", "ACCESS OnDemand"]` | **False** |
|
|
35
|
+
| `excludedResources` | A list of Resources that you want hidden from users. Ex: `["ACCESS Credits"]` | **False** |
|
|
35
36
|
| `target` | The DOM element where the component will be rendered. | **True** |
|
|
36
37
|
|
|
37
38
|
Note: Avoid combining `allowedCategories` and `excludedCategories`, or `allowedFilters` and `excludedFilters`. If an invalid combination is found, it will default to what is specified in the `allowed*` options
|
|
@@ -64,8 +65,10 @@ In order for the Bootstrap styles to be applied, the component target element ne
|
|
|
64
65
|
|
|
65
66
|
```html
|
|
66
67
|
<div class="bootstrap">
|
|
67
|
-
<div class="bootstrap-variables
|
|
68
|
-
<div
|
|
68
|
+
<div class="bootstrap-variables">
|
|
69
|
+
<div class="bootstrap-fonts">
|
|
70
|
+
<div id="resource-catalog-react"></div>
|
|
71
|
+
</div>
|
|
69
72
|
</div>
|
|
70
73
|
</div>
|
|
71
74
|
```
|
package/dist/access.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import"http://fonts.googleapis.com/css2?family=Archivo:ital,wdth,wght@0,70,400;0,100,400;0,100,600;0,100,800;1,100,400&display=swap";body,:root{--contrast: #232323;--contrast-2: #3f3f3f;--contrast-3: #707070;--base: #d2d2d2;--base-2: #f2f2f2;--base-3: #ffffff;--black: #000000;--teal-200: #ecf9f8;--teal-300: #cee8e9;--teal-400: #48c0b9;--teal-600: #107180;--teal-700: #1a5b6e;--yellow-400: #ffc42d;--orange-400: #f07537;--bs-primary: #1a5b6e;--bs-font-sans-serif: "Archivo", sans-serif;--bs-link-color: var(--teal-600);--bs-link-hover-color: var(--orange-400)}
|
|
Binary file
|