@digigov/react-core 0.6.3 → 0.7.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/CHANGELOG.md CHANGED
@@ -1,6 +1,28 @@
1
1
  # Change Log - @digigov/react-core
2
2
 
3
- This log was last generated on Tue, 01 Mar 2022 13:33:28 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 10 Mar 2022 11:36:58 GMT and should not be manually modified.
4
+
5
+ ## 0.7.0
6
+ Thu, 10 Mar 2022 11:36:58 GMT
7
+
8
+ ### Minor changes
9
+
10
+ - implement Loader component
11
+
12
+ ## 0.6.5
13
+ Wed, 09 Mar 2022 13:21:47 GMT
14
+
15
+ ### Patches
16
+
17
+ - add `bullet` as the default List style
18
+ - Deprecate Dropdown, moved permanently to @digigov/react-extensions/admin
19
+
20
+ ## 0.6.4
21
+ Fri, 04 Mar 2022 12:15:07 GMT
22
+
23
+ ### Patches
24
+
25
+ - create Dropdown DropdownButton and DropdownContent components for dropdown menu
4
26
 
5
27
  ## 0.6.3
6
28
  Tue, 01 Mar 2022 13:33:28 GMT
package/List/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export interface ListProps extends UlElementAttributes {
4
4
  /**
5
5
  * listStyle is optional. By default, the list style is none.
6
6
  */
7
- listStyle?: 'bullet' | 'number';
7
+ listStyle?: 'bullet' | 'number' | 'none';
8
8
  /**
9
9
  * spaced is optional. Use it to add space between the list items.
10
10
  */
package/List/index.js CHANGED
@@ -22,7 +22,8 @@ var _excluded = ["listStyle", "spaced", "className", "children"];
22
22
  * This component must contain ListItem component.
23
23
  */
24
24
  var List = /*#__PURE__*/_react["default"].forwardRef(function List(_ref, ref) {
25
- var listStyle = _ref.listStyle,
25
+ var _ref$listStyle = _ref.listStyle,
26
+ listStyle = _ref$listStyle === void 0 ? 'bullet' : _ref$listStyle,
26
27
  _ref$spaced = _ref.spaced,
27
28
  spaced = _ref$spaced === void 0 ? false : _ref$spaced,
28
29
  className = _ref.className,
package/es/List/index.js CHANGED
@@ -9,7 +9,8 @@ import clsx from 'clsx';
9
9
  * This component must contain ListItem component.
10
10
  */
11
11
  export var List = /*#__PURE__*/React.forwardRef(function List(_ref, ref) {
12
- var listStyle = _ref.listStyle,
12
+ var _ref$listStyle = _ref.listStyle,
13
+ listStyle = _ref$listStyle === void 0 ? 'bullet' : _ref$listStyle,
13
14
  _ref$spaced = _ref.spaced,
14
15
  spaced = _ref$spaced === void 0 ? false : _ref$spaced,
15
16
  className = _ref.className,
package/esm/List/index.js CHANGED
@@ -9,7 +9,8 @@ import clsx from 'clsx';
9
9
  * This component must contain ListItem component.
10
10
  */
11
11
  export var List = /*#__PURE__*/React.forwardRef(function List(_ref, ref) {
12
- var listStyle = _ref.listStyle,
12
+ var _ref$listStyle = _ref.listStyle,
13
+ listStyle = _ref$listStyle === void 0 ? 'bullet' : _ref$listStyle,
13
14
  _ref$spaced = _ref.spaced,
14
15
  spaced = _ref$spaced === void 0 ? false : _ref$spaced,
15
16
  className = _ref.className,
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Digigov v0.6.3
1
+ /** @license Digigov v0.7.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digigov/react-core",
3
- "version": "0.6.3",
3
+ "version": "0.7.0",
4
4
  "description": "@digigov react core components",
5
5
  "author": "GRNET Developers <devs@lists.grnet.gr>",
6
6
  "license": "MIT",
@@ -11,7 +11,7 @@
11
11
  "directory": "dist"
12
12
  },
13
13
  "peerDependencies": {
14
- "@digigov/css": "0.12.0",
14
+ "@digigov/css": "0.15.0",
15
15
  "clsx": "1.1.1",
16
16
  "react": "16.14.0",
17
17
  "react-dom": "16.14.0"