mc-react-library 0.3.0 → 0.4.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.
package/README.md CHANGED
@@ -10,10 +10,23 @@ npm install mc-react-library
10
10
 
11
11
  Note: make sure all `peerDependencies` (defined in `package.json`) are installed in the host application!
12
12
 
13
+ And use with
14
+
15
+ ```javascript
16
+ import {
17
+ DoiBadge,
18
+ HelpButton,
19
+ McloudSpinner,
20
+ ...
21
+ } from "mc-react-library";
22
+ ```
23
+
24
+ Note: see usage examples of each component in the demo page.
25
+
13
26
  Project structure:
14
27
 
15
28
  - `lib\` - contains the React components of the library.
16
- - `src\` - contains a demo page that renders the components just for development.
29
+ - `src\` - contains a demo page that renders the components for development.
17
30
 
18
31
  ## Development
19
32
 
@@ -48,6 +61,6 @@ npm install /path/to/mc-react-library-x.y.z.tgz
48
61
  To make a new version and publish to npm via GitHub Actions:
49
62
 
50
63
  ```bash
51
- npm version <patch/minor/major>
64
+ npm version <major/minor/patch>
52
65
  git push --follow-tags
53
66
  ```
package/dist/main.css CHANGED
@@ -1 +1 @@
1
- ._button_qg5kh_1{background-color:#f90;color:#fff;border:solid 2px black;border-radius:5px;cursor:pointer;transition:background-color .3s ease;height:30px;width:80px}._button_qg5kh_1:hover{background-color:#ad6800}._archive_doicitation_5woyi_1{color:#333;font-size:100%;margin-bottom:0;margin-top:0}._archive_doicitation_5woyi_1 span._doi_badge_5woyi_8{white-space:nowrap;display:inline-block}._archive_doicitation_5woyi_1 span._doi_left_5woyi_12{border-radius:.25rem;border-top-right-radius:0;border-bottom-right-radius:0;color:#fff;background-color:#343a40;padding:.25em .4em;font-size:75%;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;display:inline-block}._archive_doicitation_5woyi_1 a._doi_right_5woyi_28{border-radius:.25rem;border-top-left-radius:0;border-bottom-left-radius:0;color:#212529;background-color:#a2cbff;display:inline-block;padding:.25em .4em;font-size:75%;font-weight:500;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;text-decoration:none}._archive_doicitation_5woyi_1 a._doi_right_5woyi_28[href]:focus,._archive_doicitation_5woyi_1 a._doi_right_5woyi_28[href]:hover{color:#212529;text-decoration:none;background-color:#c0dbff}._help_button_1s4g5_1{width:1.25em;height:1.25em;box-sizing:border-box;box-shadow:0 0 0 1px #686868 inset;border-radius:50%;cursor:default;-webkit-user-select:none;user-select:none;background:#ececec;text-align:center;display:flex;justify-content:center;align-content:center;flex-direction:column}._help_button_1s4g5_1:hover{filter:brightness(85%)}._download_dropdown_menu_23m9j_1{list-style-type:none;padding:0;margin:0}._download_dropdown_menu_23m9j_1 li:hover{background-color:#f5f5f5}._download_dropdown_menu_23m9j_1 a{display:block;padding:5px 10px;text-decoration:none;color:#000}.explore_btn_tooltip>.tooltip-inner{max-width:400px}.explore_btn_aiida_logo{height:1em;margin-top:-.125em}
1
+ ._button_qg5kh_1{background-color:#f90;color:#fff;border:solid 2px black;border-radius:5px;cursor:pointer;transition:background-color .3s ease;height:30px;width:80px}._button_qg5kh_1:hover{background-color:#ad6800}._archive_doicitation_5woyi_1{color:#333;font-size:100%;margin-bottom:0;margin-top:0}._archive_doicitation_5woyi_1 span._doi_badge_5woyi_8{white-space:nowrap;display:inline-block}._archive_doicitation_5woyi_1 span._doi_left_5woyi_12{border-radius:.25rem;border-top-right-radius:0;border-bottom-right-radius:0;color:#fff;background-color:#343a40;padding:.25em .4em;font-size:75%;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;display:inline-block}._archive_doicitation_5woyi_1 a._doi_right_5woyi_28{border-radius:.25rem;border-top-left-radius:0;border-bottom-left-radius:0;color:#212529;background-color:#a2cbff;display:inline-block;padding:.25em .4em;font-size:75%;font-weight:500;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;text-decoration:none}._archive_doicitation_5woyi_1 a._doi_right_5woyi_28[href]:focus,._archive_doicitation_5woyi_1 a._doi_right_5woyi_28[href]:hover{color:#212529;text-decoration:none;background-color:#c0dbff}._help_button_1s4g5_1{width:1.25em;height:1.25em;box-sizing:border-box;box-shadow:0 0 0 1px #686868 inset;border-radius:50%;cursor:default;-webkit-user-select:none;user-select:none;background:#ececec;text-align:center;display:flex;justify-content:center;align-content:center;flex-direction:column}._help_button_1s4g5_1:hover{filter:brightness(85%)}._download_dropdown_menu_23m9j_1{list-style-type:none;padding:0;margin:0}._download_dropdown_menu_23m9j_1 li:hover{background-color:#f5f5f5}._download_dropdown_menu_23m9j_1 a{display:block;padding:5px 10px;text-decoration:none;color:#000}.explore_btn_tooltip{position:fixed}.explore_btn_tooltip>.tooltip-inner{max-width:400px}.explore_btn_aiida_logo{height:1em;margin-top:-.125em}