diginet-core-ui 1.3.94-beta.6 → 1.3.94-beta.7

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.
@@ -143,16 +143,16 @@ Typography.defaultProps = {
143
143
  type: 'p1'
144
144
  };
145
145
 
146
- /** type of text<br/>
147
- * h1: Title <br/>
148
- * h2: Header Popup <br/>
149
- * h3: Header popup <br/>
150
- * h4: Button, Tab, Title group <br/>
151
- * h5: Label column, Title group <br/>
152
- * h6: Label form <br/>
153
- * p1: Body text <br/>
154
- * p2: Body text <br/>
155
- * p3: Notice, Tooltip <br/>
146
+ /** type of text<br/>
147
+ * h1: Title <br/>
148
+ * h2: Header Popup <br/>
149
+ * h3: Header popup <br/>
150
+ * h4: Button, Tab, Title group <br/>
151
+ * h5: Label column, Title group <br/>
152
+ * h6: Label form <br/>
153
+ * p1: Body text <br/>
154
+ * p2: Body text <br/>
155
+ * p3: Notice, Tooltip <br/>
156
156
  */
157
157
  export const arrTypeTypography = ['t1', 't2', 't3', 't4', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p1', 'p2', 'p3', 'title1', 'title2', 'title3', 'title4', 'heading1', 'heading2', 'heading3', 'heading4', 'heading5', 'heading6', 'paragraph1', 'paragraph2', 'paragraph3'];
158
158
  Typography.propTypes = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diginet-core-ui",
3
- "version": "1.3.94-beta.6",
3
+ "version": "1.3.94-beta.7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "license": "UNLICENSED",
@@ -1,9 +1,33 @@
1
1
  const refArgTypes = (optionWrapper = true, otherDescription = '') => {
2
- const optionWrapperDescription = `<ul><li>option(): Gets all UI component properties
3
- <ul><li>Returns value - object</li></ul></li><li>option(optionName): Gets the value of a single property
4
- <ul><li>@param {optionName} - string</li><li>Returns value - any</li></ul></li><li>option(optionName, optionValue): Updates the value of a single property
5
- <ul><li>@param {optionName} - string</li><li>@param {optionValue} - any</li></ul></li><li>option(options): Updates the values of several properties
6
- <ul><li>@param {options} - object</li></ul></li></ul>`;
2
+ const optionWrapperDescription = `<ul>
3
+ <li>
4
+ option(): Gets all UI component properties
5
+ <ul>
6
+ <li>Returns value - object</li>
7
+ </ul>
8
+ </li>
9
+ <li>
10
+ option(optionName): Gets the value of a single property
11
+ <ul>
12
+ <li>@param {optionName} - string</li>
13
+ <li>Returns value - any</li>
14
+ </ul>
15
+ </li>
16
+ <li>
17
+ option(optionName, optionValue): Updates the value of a single property
18
+ <ul>
19
+ <li>@param {optionName} - string</li>
20
+ <li>@param {optionValue} - any</li>
21
+ </ul>
22
+ </li>
23
+ <li>
24
+ option(options): Updates the values of several properties
25
+ <ul>
26
+ <li>@param {options} - object</li>
27
+ </ul>
28
+ </li>
29
+ </ul>
30
+ `;
7
31
  const _description = `<div><p>ref methods (ref.current.instance.<em>method</em>)</p>${optionWrapper ? optionWrapperDescription : ''}${otherDescription}</div>`;
8
32
  return {
9
33
  description: _description,