@digigov/ui 0.12.0 → 0.12.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/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Change Log - @digigov/ui
2
2
 
3
- This log was last generated on Wed, 16 Feb 2022 12:49:28 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 24 Feb 2022 14:51:06 GMT and should not be manually modified.
4
+
5
+ ## 0.12.1
6
+ Thu, 24 Feb 2022 14:51:06 GMT
7
+
8
+ ### Patches
9
+
10
+ - comment out variant prop in Button, add Table and Button in index for exporting
4
11
 
5
12
  ## 0.12.0
6
13
  Wed, 16 Feb 2022 12:49:28 GMT
@@ -95,9 +95,10 @@ var Button = (0, _withDeprecation["default"])(_Button["default"], {
95
95
  href: {
96
96
  error: 'To use a button with a link import ButtonLink instead'
97
97
  },
98
- variant: {
99
- error: true
100
- },
98
+
99
+ /* variant: {
100
+ error: true,
101
+ }, */
101
102
  size: {
102
103
  error: true
103
104
  },
package/core/index.d.ts CHANGED
@@ -12,3 +12,6 @@ export * from '@digigov/ui/core/ServiceBadge';
12
12
  export * from '@digigov/ui/core/SummaryList';
13
13
  export * from '@digigov/ui/core/Tabs';
14
14
  export * from '@digigov/ui/core/NotificationBanner';
15
+ export * from '@digigov/ui/core/Table';
16
+ export * from '@digigov/ui/core/Button';
17
+ export * from '@digigov/ui/core/Divider';
package/core/index.js CHANGED
@@ -194,6 +194,34 @@ Object.keys(_NotificationBanner).forEach(function (key) {
194
194
  });
195
195
  });
196
196
 
197
+ var _Table = require("@digigov/ui/core/Table");
198
+
199
+ Object.keys(_Table).forEach(function (key) {
200
+ if (key === "default" || key === "__esModule") return;
201
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
202
+ if (key in exports && exports[key] === _Table[key]) return;
203
+ Object.defineProperty(exports, key, {
204
+ enumerable: true,
205
+ get: function get() {
206
+ return _Table[key];
207
+ }
208
+ });
209
+ });
210
+
211
+ var _Divider = require("@digigov/ui/core/Divider");
212
+
213
+ Object.keys(_Divider).forEach(function (key) {
214
+ if (key === "default" || key === "__esModule") return;
215
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
216
+ if (key in exports && exports[key] === _Divider[key]) return;
217
+ Object.defineProperty(exports, key, {
218
+ enumerable: true,
219
+ get: function get() {
220
+ return _Divider[key];
221
+ }
222
+ });
223
+ });
224
+
197
225
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
198
226
 
199
227
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -9,9 +9,10 @@ export var Button = withDeprecation(CoreButton, {
9
9
  href: {
10
10
  error: 'To use a button with a link import ButtonLink instead'
11
11
  },
12
- variant: {
13
- error: true
14
- },
12
+
13
+ /* variant: {
14
+ error: true,
15
+ }, */
15
16
  size: {
16
17
  error: true
17
18
  },
package/es/core/index.js CHANGED
@@ -11,4 +11,7 @@ export * from '@digigov/ui/core/NavList';
11
11
  export * from '@digigov/ui/core/ServiceBadge';
12
12
  export * from '@digigov/ui/core/SummaryList';
13
13
  export * from '@digigov/ui/core/Tabs';
14
- export * from '@digigov/ui/core/NotificationBanner';
14
+ export * from '@digigov/ui/core/NotificationBanner';
15
+ export * from '@digigov/ui/core/Table';
16
+ export * from '@digigov/ui/core/Button';
17
+ export * from '@digigov/ui/core/Divider';
@@ -9,9 +9,10 @@ export var Button = withDeprecation(CoreButton, {
9
9
  href: {
10
10
  error: 'To use a button with a link import ButtonLink instead'
11
11
  },
12
- variant: {
13
- error: true
14
- },
12
+
13
+ /* variant: {
14
+ error: true,
15
+ }, */
15
16
  size: {
16
17
  error: true
17
18
  },
package/esm/core/index.js CHANGED
@@ -11,4 +11,7 @@ export * from '@digigov/ui/core/NavList';
11
11
  export * from '@digigov/ui/core/ServiceBadge';
12
12
  export * from '@digigov/ui/core/SummaryList';
13
13
  export * from '@digigov/ui/core/Tabs';
14
- export * from '@digigov/ui/core/NotificationBanner';
14
+ export * from '@digigov/ui/core/NotificationBanner';
15
+ export * from '@digigov/ui/core/Table';
16
+ export * from '@digigov/ui/core/Button';
17
+ export * from '@digigov/ui/core/Divider';
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Digigov v0.12.0
1
+ /** @license Digigov v0.12.1
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/ui",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "@digigov reusable components toolkit",
5
5
  "module": "./esm/index.js",
6
6
  "publishConfig": {
@@ -18,7 +18,7 @@
18
18
  "clsx": "1.1.1",
19
19
  "react": "16.14.0",
20
20
  "react-dom": "16.14.0",
21
- "@digigov/react-core": "0.6.0"
21
+ "@digigov/react-core": "0.6.1"
22
22
  },
23
23
  "gitHead": "c903a46306f77f55ad7fc4d2e274006f39a6c871",
24
24
  "private": false,