@dodona/papyros 0.1.701 → 0.1.702

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.
@@ -4,6 +4,12 @@ export declare function loadTranslations(): void;
4
4
  export declare function getLocales(): Array<string>;
5
5
  export declare function getSelectOptions<T>(options: Array<T>, optionText: (option: T) => string, selected?: T): string;
6
6
  export declare function renderSelect<T>(selectId: string, options: Array<T>, optionText: (option: T) => string, selected?: T, labelText?: string): string;
7
+ export interface ButtonOptions {
8
+ id: string;
9
+ buttonText: string;
10
+ extraClasses?: string;
11
+ }
12
+ export declare function renderButton(options: ButtonOptions): string;
7
13
  export declare function addListener<T extends string>(elementId: string, onEvent: (e: T) => void, eventType?: string, attribute?: string): void;
8
14
  export declare function removeSelection(selectId: string): void;
9
15
  export interface RenderOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dodona/papyros",
3
- "version": "0.1.701",
3
+ "version": "0.1.702",
4
4
  "private": false,
5
5
  "homepage": ".",
6
6
  "devDependencies": {