@betorigami/game-ui-shared 1.3.1 → 1.4.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/dist/components/shared/Button/Button.d.ts +2 -2
- package/dist/components/shared/Button/Button.styles.d.ts +3 -0
- package/dist/components/shared/Button/LinkButton.d.ts +24 -0
- package/dist/components/shared/DepositButton/DepositButton.d.ts +0 -1
- package/dist/components/shared/Footer/Footer.d.ts +0 -1
- package/dist/components/shared/SessionLock/SessionLock.d.ts +0 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +2386 -2354
- package/package.json +1 -1
- package/dist/shared/navigate-to-lobby.d.ts +0 -1
|
@@ -11,12 +11,12 @@ export declare class Button extends OrigamiElement {
|
|
|
11
11
|
serializable?: boolean;
|
|
12
12
|
slotAssignment?: SlotAssignmentMode;
|
|
13
13
|
};
|
|
14
|
-
gameData
|
|
14
|
+
gameData?: gameContextType;
|
|
15
15
|
variant: ButtonVariant;
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
ariaLabel: string | null;
|
|
18
18
|
ariaDescribedby: string | null;
|
|
19
|
-
type:
|
|
19
|
+
type: HTMLButtonElement['type'];
|
|
20
20
|
isLoading: boolean;
|
|
21
21
|
fullWidth: boolean;
|
|
22
22
|
hotkey?: string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { gameContextType } from '../context/game.context';
|
|
3
|
+
import { ButtonVariant } from './Button';
|
|
4
|
+
export type LinkButtonTarget = '_self' | '_top' | '_blank';
|
|
5
|
+
export declare class LinkButton extends OrigamiElement {
|
|
6
|
+
static styles: import('lit').CSSResult[];
|
|
7
|
+
static shadowRootOptions: {
|
|
8
|
+
delegatesFocus: boolean;
|
|
9
|
+
clonable?: boolean;
|
|
10
|
+
customElementRegistry?: CustomElementRegistry;
|
|
11
|
+
mode: ShadowRootMode;
|
|
12
|
+
serializable?: boolean;
|
|
13
|
+
slotAssignment?: SlotAssignmentMode;
|
|
14
|
+
};
|
|
15
|
+
gameData?: gameContextType;
|
|
16
|
+
href: string;
|
|
17
|
+
target: LinkButtonTarget;
|
|
18
|
+
variant: ButtonVariant;
|
|
19
|
+
fullWidth: boolean;
|
|
20
|
+
ariaLabel: string | null;
|
|
21
|
+
private _handlePointerDown;
|
|
22
|
+
private _handleClick;
|
|
23
|
+
render(): import('lit').TemplateResult<1>;
|
|
24
|
+
}
|
|
@@ -3,7 +3,6 @@ import { gameContextType } from '../context/game.context';
|
|
|
3
3
|
export declare class DepositButton extends OrigamiElement {
|
|
4
4
|
betAboveBalance: boolean;
|
|
5
5
|
gameData?: gameContextType;
|
|
6
|
-
private handleDepositClick;
|
|
7
6
|
private shouldShowDepositButton;
|
|
8
7
|
render(): import('lit').TemplateResult<1>;
|
|
9
8
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './components/shared/BetResultModal/BetResultModal.styles';
|
|
|
6
6
|
export * from './components/shared/BetResultModal/BetResultModal';
|
|
7
7
|
export * from './components/shared/Button/Button.styles';
|
|
8
8
|
export * from './components/shared/Button/Button';
|
|
9
|
+
export * from './components/shared/Button/LinkButton';
|
|
9
10
|
export * from './components/shared/Button/ButtonGroup.styles';
|
|
10
11
|
export * from './components/shared/Button/ButtonGroup';
|
|
11
12
|
export * from './components/shared/ChipStack/ChipStack.styles';
|