@nice-digital/nds-a-z-list 0.2.0-alpha.0 → 0.2.2

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
@@ -18,7 +18,7 @@ Import the `AZList` and `AZListItem` components from the package and use within
18
18
 
19
19
  ```jsx
20
20
  import React from "react";
21
- import { AZList, AZListItem } from "@nice-digital/nds-alphabet";
21
+ import { AZList, AZListItem } from "@nice-digital/nds-a-z-list";
22
22
 
23
23
  const allLetters = "abcdefghijklmnopqrstuvwxyz".split("");
24
24
 
@@ -116,4 +116,3 @@ If you're not using [React](#react), then include the [SCSS as above](#scss) and
116
116
  </li>
117
117
  </ol>
118
118
  ```
119
-
package/lib/AZList.js CHANGED
@@ -18,7 +18,7 @@ require("../scss/a-z-list.scss");
18
18
  var _excluded = ["alphabet", "children", "className"],
19
19
  _excluded2 = ["id", "title", "children", "className"];
20
20
 
21
- var _jsxFileName = "C:\\dev\\nice-design-system\\components\\nds-a-z-list\\src\\AZList.js",
21
+ var _jsxFileName = "C:\\Users\\JDavey\\projects\\nice-design-system\\components\\nds-a-z-list\\src\\AZList.js",
22
22
  _this = void 0;
23
23
 
24
24
  var AZList = function AZList(props) {
@@ -10,7 +10,7 @@ var _enzymeToJson = _interopRequireDefault(require("enzyme-to-json"));
10
10
 
11
11
  var _AZList = require("../AZList");
12
12
 
13
- var _jsxFileName = "C:\\dev\\nice-design-system\\components\\nds-a-z-list\\src\\__tests__\\nds-a-z-list.test.js",
13
+ var _jsxFileName = "C:\\Users\\JDavey\\projects\\nice-design-system\\components\\nds-a-z-list\\src\\__tests__\\nds-a-z-list.test.js",
14
14
  _this = void 0;
15
15
 
16
16
  describe("A-Z List", function () {
@@ -0,0 +1,21 @@
1
+ declare module "@nice-digital/nds-a-z-list" {
2
+ import React = require("react");
3
+
4
+ export interface AZListProps {
5
+ alphabet: React.ElementType;
6
+ children: React.ReactNode;
7
+ className?: string;
8
+ [prop: string]: unknown;
9
+ }
10
+
11
+ export interface AZListItemProps {
12
+ id?: string;
13
+ title: string;
14
+ children: React.ReactNode;
15
+ className?: string;
16
+ [prop: string]: unknown;
17
+ }
18
+
19
+ export const AZList: React.FC<AZListProps>;
20
+ export const AZListItem: React.FC<AZListItemProps>;
21
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice-digital/nds-a-z-list",
3
- "version": "0.2.0-alpha.0",
3
+ "version": "0.2.2",
4
4
  "description": "A to Z list component for the NICE Design System",
5
5
  "main": "lib/AZList.js",
6
6
  "module": "es/AZList.js",
@@ -36,5 +36,5 @@
36
36
  "dependencies": {
37
37
  "prop-types": "^15.8.1"
38
38
  },
39
- "gitHead": "281c966b380ead58f34ec045c8f296ff11303e0f"
39
+ "gitHead": "a53cbfd8265e807313e092e940fd0cc2ac6b4e79"
40
40
  }