@dodona/papyros 0.2.1 → 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.
@@ -74,7 +74,8 @@ export declare function renderButton(options: ButtonOptions): string;
74
74
  * @param {T} selected The initially selected element in the list, if any
75
75
  * @return {string} The string representation of the select options
76
76
  */
77
- export declare function getSelectOptions<T>(options: Array<T>, optionText: (option: T) => string, selected?: T): string;
77
+ export declare function renderSelectOptions<T>(options: Array<T>, optionText: (option: T) => string, selected?: T): string;
78
+ export declare function renderLabel(labelText: string | undefined, forElement: string): string;
78
79
  /**
79
80
  * Constructs an HTML select element
80
81
  * @param {string} selectId The HTML id for the element
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dodona/papyros",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "private": false,
5
5
  "homepage": ".",
6
6
  "devDependencies": {