@royaloperahouse/chord 0.6.0 → 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 +3 -0
- package/dist/chord.cjs.development.js +36 -42
- package/dist/chord.cjs.development.js.map +1 -1
- package/dist/chord.cjs.production.min.js +1 -1
- package/dist/chord.cjs.production.min.js.map +1 -1
- package/dist/chord.esm.js +36 -42
- package/dist/chord.esm.js.map +1 -1
- package/dist/components/molecules/PeopleListing/PeopleListing.d.ts +1 -1
- package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +4 -2
- package/dist/types/types.d.ts +25 -4
- package/package.json +1 -1
- package/dist/components/atoms/IndividualListing/IndividualListing.d.ts +0 -3
- package/dist/components/atoms/IndividualListing/IndividualListing.style.d.ts +0 -2
- package/dist/components/atoms/IndividualListing/index.d.ts +0 -2
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
declare const PeopleListingGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export
|
|
1
|
+
export declare const PeopleListingGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const RoleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const PersonLink: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
4
|
+
export declare const PersonText: import("styled-components").StyledComponent<"span", any, {}, never>;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -237,14 +237,35 @@ export interface IControlledDropdownHeaderProps extends StyledProps<any> {
|
|
|
237
237
|
*/
|
|
238
238
|
active: boolean;
|
|
239
239
|
}
|
|
240
|
-
export
|
|
241
|
-
|
|
240
|
+
export declare type ListingPerson = {
|
|
241
|
+
/**
|
|
242
|
+
* Person name
|
|
243
|
+
*/
|
|
242
244
|
name: string;
|
|
245
|
+
/**
|
|
246
|
+
* Link to person profile
|
|
247
|
+
*/
|
|
243
248
|
link?: string;
|
|
249
|
+
};
|
|
250
|
+
export declare type ListingRole = {
|
|
251
|
+
/**
|
|
252
|
+
* Role name
|
|
253
|
+
*/
|
|
254
|
+
name: string;
|
|
255
|
+
/**
|
|
256
|
+
* List of people in the role
|
|
257
|
+
*/
|
|
258
|
+
people: ListingPerson[];
|
|
259
|
+
/**
|
|
260
|
+
* Data roh param
|
|
261
|
+
*/
|
|
244
262
|
dataROH?: string;
|
|
245
|
-
}
|
|
263
|
+
};
|
|
246
264
|
export interface IPeopleListing {
|
|
247
|
-
|
|
265
|
+
/**
|
|
266
|
+
* List of roles to be displayed
|
|
267
|
+
*/
|
|
268
|
+
roles: ListingRole[];
|
|
248
269
|
}
|
|
249
270
|
export interface INodeProps {
|
|
250
271
|
/**
|
package/package.json
CHANGED