jp.ui.app.ds 1.0.10 → 1.0.11
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/index.d.ts +29 -133
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/just_poker/drag-and-drop/const.d.ts +6 -0
- package/dist/just_poker/drag-and-drop/drag-and-drop-container.d.ts +36 -0
- package/dist/just_poker/drag-and-drop/drag-and-drop-item.d.ts +9 -0
- package/dist/just_poker/drag-and-drop/drag-and-drop-item.style.d.ts +4 -0
- package/dist/just_poker/drag-and-drop/drag-and-drop-zone.d.ts +8 -0
- package/dist/just_poker/drag-and-drop/index.d.ts +3 -0
- package/dist/just_poker/index.d.ts +2 -4
- package/dist/just_poker/player-move-buttons/player-move-buttons.d.ts +0 -5
- package/dist/just_poker/player-move-buttons/player-move-buttons.style.d.ts +0 -15
- package/dist/just_poker/player-move-buttons-extra/index.d.ts +1 -0
- package/dist/just_poker/player-move-buttons-extra/player-move-buttons-extra.d.ts +9 -0
- package/dist/just_poker/player-move-buttons-extra/player-move-buttons-extra.style.d.ts +7 -0
- package/dist/just_poker/player-move-buttons-panel/index.d.ts +1 -0
- package/dist/just_poker/player-move-buttons-panel/player-move-buttons-panel.d.ts +16 -0
- package/dist/just_poker/player-move-buttons-panel/player-move-buttons-panel.style.d.ts +19 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-bottom-selection-panel/card-bottom-selection-panel-item.d.ts +8 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-bottom-selection-panel/card-bottom-selection-panel-item.style.d.ts +14 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-bottom-selection-panel/card-bottom-selection-panel.d.ts +12 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-bottom-selection-panel/card-bottom-selection-panel.style.d.ts +4 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-bottom-selection-panel/card-bottom-sheet.d.ts +7 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-bottom-selection-panel/card-bottom-sheet.style.d.ts +33 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-bottom-selection-panel/index.d.ts +2 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-drag-and-drop-table.d.ts +23 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-drag-and-drop-table.style.d.ts +8 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-drop-zone/card-dropzone-item.d.ts +7 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-drop-zone/card-dropzone-item.style.d.ts +9 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-drop-zone/card-dropzone-pair.d.ts +7 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-drop-zone/card-dropzone-pair.style.d.ts +16 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-drop-zone/card-dropzone-slot.d.ts +2 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-drop-zone/card-dropzone-slot.style.d.ts +9 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-drop-zone/card-dropzone.d.ts +7 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-drop-zone/card-dropzone.style.d.ts +4 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/card-drop-zone/index.d.ts +1 -0
- package/dist/just_poker_cards/card-drag-and-drop-table/index.d.ts +1 -0
- package/dist/just_poker_cards/card-table/card-table-seat.d.ts +8 -0
- package/dist/just_poker_cards/card-table/card-table-seat.style.d.ts +9 -0
- package/dist/just_poker_cards/card-table/card-table.d.ts +11 -0
- package/dist/just_poker_cards/card-table/card-table.style.d.ts +15 -0
- package/dist/just_poker_cards/card-table/index.d.ts +1 -0
- package/dist/just_poker_cards/card-table/seat-coord.d.ts +5 -0
- package/dist/just_poker_cards/cards-player/cards-player-on-mobile-table-yours.d.ts +3 -0
- package/dist/just_poker_cards/cards-player/cards-player-on-mobile-table-yours.style.d.ts +42 -0
- package/dist/just_poker_cards/cards-player/cards-player-on-mobile-table.d.ts +3 -0
- package/dist/just_poker_cards/cards-player/cards-player-on-mobile-table.style.d.ts +39 -0
- package/dist/just_poker_cards/cards-player/cards-player-yours.d.ts +6 -0
- package/dist/just_poker_cards/cards-player/cards-player-yours.style.d.ts +28 -0
- package/dist/just_poker_cards/cards-player/cards-player.d.ts +18 -0
- package/dist/just_poker_cards/cards-player/cards-player.style.d.ts +20 -0
- package/dist/just_poker_cards/cards-player/index.d.ts +4 -0
- package/dist/just_poker_cards/game-card/game-card-factory.d.ts +2 -0
- package/dist/just_poker_cards/game-card/game-cards-deck.d.ts +16 -0
- package/dist/just_poker_cards/game-card/game-cards-deck.style.d.ts +4 -0
- package/dist/just_poker_cards/game-card/game-cards-row.d.ts +11 -0
- package/dist/just_poker_cards/game-card/game-cards-row.style.d.ts +6 -0
- package/dist/just_poker_cards/game-card/game-cards-stub.d.ts +6 -0
- package/dist/just_poker_cards/game-card/game-cards-stub.style.d.ts +12 -0
- package/dist/just_poker_cards/game-card/index.d.ts +6 -0
- package/dist/just_poker_cards/game-card/skins/base/game-card-base.d.ts +40 -0
- package/dist/just_poker_cards/game-card/skins/base/game-card-base.style.d.ts +59 -0
- package/dist/just_poker_cards/game-card/skins/dacha/card-skin-dacha.d.ts +12 -0
- package/dist/just_poker_cards/game-card/skins/dacha/card-skin-dacha.style.d.ts +31 -0
- package/dist/just_poker_cards/game-card/skins/default/game-card-skin-default.d.ts +14 -0
- package/dist/just_poker_cards/game-card/skins/default/game-card-skin-default.style.d.ts +37 -0
- package/dist/just_poker_cards/game-card/skins/pink-panther/card-skin-pink-panther.d.ts +12 -0
- package/dist/just_poker_cards/game-card/skins/pink-panther/card-skin-pink-panther.style.d.ts +34 -0
- package/dist/just_poker_cards/game-card/skins/pokerdom/card-skin-pokerdom.d.ts +12 -0
- package/dist/just_poker_cards/game-card/skins/pokerdom/card-skin-pokerdom.style.d.ts +31 -0
- package/dist/just_poker_cards/game-card/skins/premium/card-skin-premium.d.ts +12 -0
- package/dist/just_poker_cards/game-card/skins/premium/card-skin-premium.style.d.ts +31 -0
- package/dist/just_poker_cards/game-card/skins/ussr/card-skin-ussr.d.ts +12 -0
- package/dist/just_poker_cards/game-card/skins/ussr/card-skin-ussr.style.d.ts +31 -0
- package/dist/just_poker_cards/game-card/skins/vampire/card-skin-vampire.d.ts +12 -0
- package/dist/just_poker_cards/game-card/skins/vampire/card-skin-vampire.style.d.ts +31 -0
- package/dist/just_poker_cards/game-card/skins/western/card-skin-western.d.ts +12 -0
- package/dist/just_poker_cards/game-card/skins/western/card-skin-western.style.d.ts +31 -0
- package/dist/just_poker_cards/game-card/types/game-card-rank.enum.d.ts +15 -0
- package/dist/just_poker_cards/game-card/types/game-card-size.enum.d.ts +4 -0
- package/dist/just_poker_cards/game-card/types/game-card-skin.enum.d.ts +10 -0
- package/dist/just_poker_cards/game-card/types/game-card-suit.enum.d.ts +6 -0
- package/dist/just_poker_cards/game-card/types/game-card.type.d.ts +15 -0
- package/dist/just_poker_cards/game-card/types/poker-set.enum.d.ts +13 -0
- package/dist/just_poker_cards/index.d.ts +5 -0
- package/dist/just_poker_cards/table-cards-row/index.d.ts +1 -0
- package/dist/just_poker_cards/table-cards-row/table-cards-row.d.ts +7 -0
- package/dist/matherial3/bottom-sheet/bottom-sheet.style.d.ts +4 -0
- package/dist/matherial3/helpers/backdrop/backdrop.d.ts +5 -1
- package/dist/tokens/common.d.ts +2 -0
- package/dist/tokens/z-index.d.ts +1 -0
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import { JSX as JSX$1 } from 'react';
|
|
3
|
+
import * as _emotion_styled from '@emotion/styled';
|
|
3
4
|
import * as _emotion_react from '@emotion/react';
|
|
4
5
|
import { Theme } from '@emotion/react';
|
|
5
|
-
import * as _emotion_styled from '@emotion/styled';
|
|
6
6
|
import { AppSectionButton, AppScreenSectionListItem, AppScreenTypes } from 'jp.common.view';
|
|
7
7
|
|
|
8
8
|
type RoomsItemRequisiteType = {
|
|
@@ -135,131 +135,6 @@ type componentProps = {
|
|
|
135
135
|
};
|
|
136
136
|
declare const CardProduct: (props: componentProps) => React$1.JSX.Element;
|
|
137
137
|
|
|
138
|
-
type CardTableProps = {
|
|
139
|
-
orientation: 'horizontal' | 'vertical';
|
|
140
|
-
size: number;
|
|
141
|
-
seats: Array<{
|
|
142
|
-
seatNumber: number;
|
|
143
|
-
player: JSX$1.Element;
|
|
144
|
-
}>;
|
|
145
|
-
};
|
|
146
|
-
declare const CardTable: ({ seats, orientation, size }: CardTableProps) => JSX$1.Element;
|
|
147
|
-
|
|
148
|
-
type GameCardType = {
|
|
149
|
-
id: number;
|
|
150
|
-
rank: number;
|
|
151
|
-
suit: string;
|
|
152
|
-
isDisable: boolean;
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
type CardsPlayerProps = {
|
|
156
|
-
playerId: string;
|
|
157
|
-
name: string;
|
|
158
|
-
avatarUrl: string;
|
|
159
|
-
avatarFrame?: string;
|
|
160
|
-
stack: string;
|
|
161
|
-
isActive: boolean;
|
|
162
|
-
cards: Array<GameCardType>;
|
|
163
|
-
role?: string;
|
|
164
|
-
selectedReaction?: string;
|
|
165
|
-
previewRatingWinnerRank?: number;
|
|
166
|
-
playerComment?: string;
|
|
167
|
-
itemClick?: (playerId: string) => void;
|
|
168
|
-
timer?: number;
|
|
169
|
-
};
|
|
170
|
-
declare const CardsPlayer: (props: CardsPlayerProps) => React$1.JSX.Element;
|
|
171
|
-
|
|
172
|
-
type CardsPlayerYoursProps = CardsPlayerProps & {
|
|
173
|
-
yoursComment?: string;
|
|
174
|
-
};
|
|
175
|
-
declare const CardsPlayerYours: (props: CardsPlayerYoursProps) => React$1.JSX.Element;
|
|
176
|
-
|
|
177
|
-
declare const CardsPlayerOnMobileTable: (props: CardsPlayerProps) => React$1.JSX.Element;
|
|
178
|
-
|
|
179
|
-
declare const CardsPlayerOnMobileTableYours: (props: CardsPlayerYoursProps) => React$1.JSX.Element;
|
|
180
|
-
|
|
181
|
-
declare enum GameCardSizeEnum {
|
|
182
|
-
USER = 0,
|
|
183
|
-
TABLE = 1
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
declare enum GameCardSuitEnum {
|
|
187
|
-
HEART = "heart",
|
|
188
|
-
SPADE = "spade",
|
|
189
|
-
CLUB = "club",
|
|
190
|
-
DIAMOND = "diamond"
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
declare enum GameCardRankEnum {
|
|
194
|
-
CARD_2 = 2,
|
|
195
|
-
CARD_3 = 3,
|
|
196
|
-
CARD_4 = 4,
|
|
197
|
-
CARD_5 = 5,
|
|
198
|
-
CARD_6 = 6,
|
|
199
|
-
CARD_7 = 7,
|
|
200
|
-
CARD_8 = 8,
|
|
201
|
-
CARD_9 = 9,
|
|
202
|
-
CARD_10 = 10,
|
|
203
|
-
CARD_JACK = 11,
|
|
204
|
-
CARD_QUEEN = 12,
|
|
205
|
-
CARD_KING = 13,
|
|
206
|
-
CARD_ACE = 14
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
declare enum GameCardSkinEnum {
|
|
210
|
-
DEFAULT = "card_skin__default",
|
|
211
|
-
WESTERN = "card_skin__western",
|
|
212
|
-
PINK_PANTHER = "card_skin__pink_panther",
|
|
213
|
-
DACHA = "card_skin__dacha",
|
|
214
|
-
VAMPIRE = "card_skin__vampire",
|
|
215
|
-
USSR = "card_skin__ussr",
|
|
216
|
-
POKERDOM = "card_skin__pokerdom",
|
|
217
|
-
PREMIUM = "card_skin__premium"
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
type componentTypeStyle = {
|
|
221
|
-
rank?: number;
|
|
222
|
-
suit?: string;
|
|
223
|
-
size: GameCardSizeEnum;
|
|
224
|
-
theme: Theme;
|
|
225
|
-
hasAnimation?: boolean;
|
|
226
|
-
isDisable?: boolean;
|
|
227
|
-
};
|
|
228
|
-
type SuitSet = {
|
|
229
|
-
club: string;
|
|
230
|
-
spade: string;
|
|
231
|
-
heart: string;
|
|
232
|
-
diamond: string;
|
|
233
|
-
};
|
|
234
|
-
declare abstract class GameCardBase extends React$1.PureComponent<componentTypeStyle> {
|
|
235
|
-
abstract getCover(): JSX$1.Element;
|
|
236
|
-
abstract getFace(): JSX$1.Element;
|
|
237
|
-
abstract getFaceBackgroundColor(): string;
|
|
238
|
-
abstract getFaceBorderColor(): string;
|
|
239
|
-
abstract getCoverBackgroundColor(): string;
|
|
240
|
-
abstract getCoverBorderColor(): string;
|
|
241
|
-
protected suitToIcon(iconSet: SuitSet): string;
|
|
242
|
-
protected suitToColor(colorSet: SuitSet): string;
|
|
243
|
-
protected isTableSize(): boolean;
|
|
244
|
-
protected isEmpty(): boolean;
|
|
245
|
-
protected isTen(): boolean;
|
|
246
|
-
protected isDisable(): boolean;
|
|
247
|
-
protected rankToLetter(): string;
|
|
248
|
-
protected getTheme(): Theme;
|
|
249
|
-
render(): JSX$1.Element;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
declare class CardSkinWestern extends GameCardBase {
|
|
253
|
-
getFaceBackgroundColor(): string;
|
|
254
|
-
getFaceBorderColor(): string;
|
|
255
|
-
getCoverBackgroundColor(): string;
|
|
256
|
-
getCoverBorderColor(): string;
|
|
257
|
-
getCover(): JSX$1.Element;
|
|
258
|
-
getFace(): JSX$1.Element;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
declare function createGameCard(skin: string): typeof CardSkinWestern;
|
|
262
|
-
|
|
263
138
|
type LastActionPanelType = {
|
|
264
139
|
playerComment?: string;
|
|
265
140
|
selectedReaction?: string;
|
|
@@ -303,6 +178,23 @@ type PageScreenType = {
|
|
|
303
178
|
};
|
|
304
179
|
declare const PageScreen: (props: PageScreenType) => React$1.JSX.Element;
|
|
305
180
|
|
|
181
|
+
type PlayerMoveButtonsType$1 = {
|
|
182
|
+
id: string;
|
|
183
|
+
title: string;
|
|
184
|
+
};
|
|
185
|
+
type PlayerMoveButtonsProps$1 = {
|
|
186
|
+
moves: Array<PlayerMoveButtonsType$1>;
|
|
187
|
+
onMoveButtonClick?: (id: string) => void;
|
|
188
|
+
};
|
|
189
|
+
declare const PlayerMoveButtons: (props: PlayerMoveButtonsProps$1) => React$1.JSX.Element;
|
|
190
|
+
|
|
191
|
+
type PlayerMoveButtonsExtraProps = {
|
|
192
|
+
reactButton?: IconButtonType;
|
|
193
|
+
chatButton?: IconButtonType;
|
|
194
|
+
hasNewMessages: boolean;
|
|
195
|
+
};
|
|
196
|
+
declare const PlayerMoveButtonsExtra: (props: PlayerMoveButtonsExtraProps) => React$1.JSX.Element;
|
|
197
|
+
|
|
306
198
|
type PlayerMoveButtonsType = {
|
|
307
199
|
id: string;
|
|
308
200
|
title: string;
|
|
@@ -315,7 +207,7 @@ type PlayerMoveButtonsProps = {
|
|
|
315
207
|
chatButton?: IconButtonType;
|
|
316
208
|
hasNewMessages?: boolean;
|
|
317
209
|
};
|
|
318
|
-
declare const
|
|
210
|
+
declare const PlayerMoveButtonsPanel: (props: PlayerMoveButtonsProps) => React$1.JSX.Element;
|
|
319
211
|
|
|
320
212
|
type PlayersRowProps = {
|
|
321
213
|
activeIndex: number;
|
|
@@ -358,11 +250,6 @@ declare const Skeleton: _emotion_styled.StyledComponent<{
|
|
|
358
250
|
as?: React.ElementType;
|
|
359
251
|
} & SkeletonType, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
360
252
|
|
|
361
|
-
type CardsRowProps = {
|
|
362
|
-
cards: Array<GameCardType>;
|
|
363
|
-
};
|
|
364
|
-
declare const TableCardsRow: ({ cards }: CardsRowProps) => React$1.JSX.Element;
|
|
365
|
-
|
|
366
253
|
type SummaryRequisiteItem = {
|
|
367
254
|
label: string;
|
|
368
255
|
value: string;
|
|
@@ -546,8 +433,12 @@ declare const content_min_width = "320px";
|
|
|
546
433
|
declare const content_max_width = "960px";
|
|
547
434
|
declare const toolbar_height_number = 64;
|
|
548
435
|
declare const toolbar_height = "64px";
|
|
436
|
+
declare const card_table_border_radius = "10px";
|
|
437
|
+
declare const card_user_border_radius = "4px";
|
|
549
438
|
|
|
550
439
|
declare const common_d_border_radius: typeof border_radius;
|
|
440
|
+
declare const common_d_card_table_border_radius: typeof card_table_border_radius;
|
|
441
|
+
declare const common_d_card_user_border_radius: typeof card_user_border_radius;
|
|
551
442
|
declare const common_d_content_max_width: typeof content_max_width;
|
|
552
443
|
declare const common_d_content_min_width: typeof content_min_width;
|
|
553
444
|
declare const common_d_toolbar_height: typeof toolbar_height;
|
|
@@ -555,6 +446,8 @@ declare const common_d_toolbar_height_number: typeof toolbar_height_number;
|
|
|
555
446
|
declare namespace common_d {
|
|
556
447
|
export {
|
|
557
448
|
common_d_border_radius as border_radius,
|
|
449
|
+
common_d_card_table_border_radius as card_table_border_radius,
|
|
450
|
+
common_d_card_user_border_radius as card_user_border_radius,
|
|
558
451
|
common_d_content_max_width as content_max_width,
|
|
559
452
|
common_d_content_min_width as content_min_width,
|
|
560
453
|
common_d_toolbar_height as toolbar_height,
|
|
@@ -743,6 +636,7 @@ declare const page = 700;
|
|
|
743
636
|
declare const page_friends_chat = 701;
|
|
744
637
|
declare const dialog = 1000;
|
|
745
638
|
declare const snackbar = 1400;
|
|
639
|
+
declare const drop_item_mirror = 1001;
|
|
746
640
|
|
|
747
641
|
declare const zIndex_d_avatar_badge: typeof avatar_badge;
|
|
748
642
|
declare const zIndex_d_avatar_cards: typeof avatar_cards;
|
|
@@ -750,6 +644,7 @@ declare const zIndex_d_bottom_panel: typeof bottom_panel;
|
|
|
750
644
|
declare const zIndex_d_bottom_selection_panel: typeof bottom_selection_panel;
|
|
751
645
|
declare const zIndex_d_bottom_sheet: typeof bottom_sheet;
|
|
752
646
|
declare const zIndex_d_dialog: typeof dialog;
|
|
647
|
+
declare const zIndex_d_drop_item_mirror: typeof drop_item_mirror;
|
|
753
648
|
declare const zIndex_d_page: typeof page;
|
|
754
649
|
declare const zIndex_d_page_friends_chat: typeof page_friends_chat;
|
|
755
650
|
declare const zIndex_d_snackbar: typeof snackbar;
|
|
@@ -762,6 +657,7 @@ declare namespace zIndex_d {
|
|
|
762
657
|
zIndex_d_bottom_selection_panel as bottom_selection_panel,
|
|
763
658
|
zIndex_d_bottom_sheet as bottom_sheet,
|
|
764
659
|
zIndex_d_dialog as dialog,
|
|
660
|
+
zIndex_d_drop_item_mirror as drop_item_mirror,
|
|
765
661
|
zIndex_d_page as page,
|
|
766
662
|
zIndex_d_page_friends_chat as page_friends_chat,
|
|
767
663
|
zIndex_d_snackbar as snackbar,
|
|
@@ -795,4 +691,4 @@ type UniversalScreenProps = {
|
|
|
795
691
|
};
|
|
796
692
|
declare const UniversalScreen: (props: UniversalScreenProps) => React$1.JSX.Element;
|
|
797
693
|
|
|
798
|
-
export { Alert, AppBarHeader, Avatar, AvatarBadge, AvatarImage, Badge, Banner, Body, BottomSelectionPanel, BottomSheet, Card, CardButton, CardItem, CardProduct,
|
|
694
|
+
export { Alert, AppBarHeader, Avatar, AvatarBadge, AvatarImage, Badge, Banner, Body, BottomSelectionPanel, BottomSheet, Card, CardButton, CardItem, CardProduct, Checkbox, CircularProgress, Dialog, Display, Divider, FilledButton, Headline, IconButton, Label, LastActionPanel, ListItem, OutlinedButton, OutlinedTextField, OutlinedTextarea, PageScreen, PlayerMoveButtons, PlayerMoveButtonsExtra, PlayerMoveButtonsPanel, PlayersRow, PlayersSkeleton, PlayersSkeletonRow, PopupScreen, RadioButtonGroup, RuStoreBanner, Screen, ScreenProgress, ScrollList, Skeleton, Snackbar, Tab, TableSummary, Tabs, TextButton, Title, TopAppBar, UniversalScreen, WorkflowButtonsStyled, common_d as common, media_d as media, palette_d as palette, zIndex_d as zIndex };
|