jp.ui.app.ds 1.0.1 → 1.0.3

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.
Files changed (184) hide show
  1. package/dist/index.d.ts +731 -7
  2. package/dist/index.js +1 -184
  3. package/dist/index.js.map +1 -1
  4. package/dist/just_poker/alert/alert.d.ts +9 -0
  5. package/dist/just_poker/alert/alert.style.d.ts +7 -0
  6. package/dist/just_poker/alert/index.d.ts +1 -0
  7. package/dist/just_poker/app-bar-header/app-bar-header-requisites-item.d.ts +7 -0
  8. package/dist/just_poker/app-bar-header/app-bar-header-requisites-item.style.d.ts +4 -0
  9. package/dist/just_poker/app-bar-header/app-bar-header-requisites.d.ts +10 -0
  10. package/dist/just_poker/app-bar-header/app-bar-header-requisites.style.d.ts +4 -0
  11. package/dist/just_poker/app-bar-header/app-bar-header.d.ts +11 -0
  12. package/dist/just_poker/app-bar-header/app-bar-header.style.d.ts +12 -0
  13. package/dist/just_poker/app-bar-header/index.d.ts +1 -0
  14. package/dist/just_poker/avatar/avatar-frame-type.d.ts +11 -0
  15. package/dist/just_poker/avatar/avatar-size-type.d.ts +4 -0
  16. package/dist/just_poker/avatar/avatar.d.ts +18 -0
  17. package/dist/just_poker/avatar/avatar.style.d.ts +34 -0
  18. package/dist/just_poker/avatar/index.d.ts +4 -0
  19. package/dist/just_poker/avatar-badge/avatar-badge.d.ts +7 -0
  20. package/dist/just_poker/avatar-badge/avatar-badge.style.d.ts +22 -0
  21. package/dist/just_poker/avatar-badge/badge-type.d.ts +1 -0
  22. package/dist/just_poker/avatar-badge/index.d.ts +2 -0
  23. package/dist/just_poker/avatar-image/avatar-image.d.ts +14 -0
  24. package/dist/just_poker/avatar-image/avatar-image.style.d.ts +19 -0
  25. package/dist/just_poker/avatar-image/index.d.ts +2 -0
  26. package/dist/just_poker/banner/banner.d.ts +9 -0
  27. package/dist/just_poker/banner/banner.style.d.ts +23 -0
  28. package/dist/just_poker/banner/index.d.ts +2 -0
  29. package/dist/just_poker/bottom-selection-panel/bottom-selection-panel-item.d.ts +9 -0
  30. package/dist/just_poker/bottom-selection-panel/bottom-selection-panel-item.style.d.ts +9 -0
  31. package/dist/just_poker/bottom-selection-panel/bottom-selection-panel.d.ts +15 -0
  32. package/dist/just_poker/bottom-selection-panel/bottom-selection-panel.style.d.ts +7 -0
  33. package/dist/just_poker/bottom-selection-panel/index.d.ts +2 -0
  34. package/dist/just_poker/card/card-button.d.ts +12 -0
  35. package/dist/just_poker/card/card-item-with-checkbox.d.ts +12 -0
  36. package/dist/just_poker/card/card-item.d.ts +14 -0
  37. package/dist/just_poker/card/card-item.style.d.ts +4 -0
  38. package/dist/just_poker/card/card-product.d.ts +21 -0
  39. package/dist/just_poker/card/card-product.style.d.ts +39 -0
  40. package/dist/just_poker/card/card.d.ts +16 -0
  41. package/dist/just_poker/card/index.d.ts +4 -0
  42. package/dist/just_poker/cards-player/cards-player-on-mobile-table-yours.d.ts +3 -0
  43. package/dist/just_poker/cards-player/cards-player-on-mobile-table-yours.style.d.ts +42 -0
  44. package/dist/just_poker/cards-player/cards-player-on-mobile-table.d.ts +3 -0
  45. package/dist/just_poker/cards-player/cards-player-on-mobile-table.style.d.ts +39 -0
  46. package/dist/just_poker/cards-player/cards-player-yours.d.ts +6 -0
  47. package/dist/just_poker/cards-player/cards-player-yours.style.d.ts +28 -0
  48. package/dist/just_poker/cards-player/cards-player.d.ts +18 -0
  49. package/dist/just_poker/cards-player/cards-player.style.d.ts +20 -0
  50. package/dist/just_poker/cards-player/index.d.ts +4 -0
  51. package/dist/just_poker/game-card/game-card-factory.d.ts +2 -0
  52. package/dist/just_poker/game-card/game-cards-deck.d.ts +16 -0
  53. package/dist/just_poker/game-card/game-cards-deck.style.d.ts +4 -0
  54. package/dist/just_poker/game-card/game-cards-row.d.ts +11 -0
  55. package/dist/just_poker/game-card/game-cards-row.style.d.ts +6 -0
  56. package/dist/just_poker/game-card/game-cards-stub.d.ts +6 -0
  57. package/dist/just_poker/game-card/game-cards-stub.style.d.ts +12 -0
  58. package/dist/just_poker/game-card/index.d.ts +6 -0
  59. package/dist/just_poker/game-card/skins/base/game-card-base.d.ts +36 -0
  60. package/dist/just_poker/game-card/skins/base/game-card-base.style.d.ts +56 -0
  61. package/dist/just_poker/game-card/skins/dacha/card-skin-dacha.d.ts +10 -0
  62. package/dist/just_poker/game-card/skins/dacha/card-skin-dacha.style.d.ts +31 -0
  63. package/dist/just_poker/game-card/skins/default/game-card-skin-default.d.ts +11 -0
  64. package/dist/just_poker/game-card/skins/default/game-card-skin-default.style.d.ts +24 -0
  65. package/dist/just_poker/game-card/skins/pink-panther/card-skin-pink-panther.d.ts +10 -0
  66. package/dist/just_poker/game-card/skins/pink-panther/card-skin-pink-panther.style.d.ts +34 -0
  67. package/dist/just_poker/game-card/skins/pokerdom/card-skin-pokerdom.d.ts +10 -0
  68. package/dist/just_poker/game-card/skins/pokerdom/card-skin-pokerdom.style.d.ts +31 -0
  69. package/dist/just_poker/game-card/skins/premium/card-skin-premium.d.ts +10 -0
  70. package/dist/just_poker/game-card/skins/premium/card-skin-premium.style.d.ts +31 -0
  71. package/dist/just_poker/game-card/skins/ussr/card-skin-ussr.d.ts +10 -0
  72. package/dist/just_poker/game-card/skins/ussr/card-skin-ussr.style.d.ts +31 -0
  73. package/dist/just_poker/game-card/skins/vampire/card-skin-vampire.d.ts +10 -0
  74. package/dist/just_poker/game-card/skins/vampire/card-skin-vampire.style.d.ts +31 -0
  75. package/dist/just_poker/game-card/skins/western/card-skin-western.d.ts +10 -0
  76. package/dist/just_poker/game-card/skins/western/card-skin-western.style.d.ts +31 -0
  77. package/dist/just_poker/game-card/types/game-card-rank.enum.d.ts +15 -0
  78. package/dist/just_poker/game-card/types/game-card-size.enum.d.ts +4 -0
  79. package/dist/just_poker/game-card/types/game-card-skin.enum.d.ts +10 -0
  80. package/dist/just_poker/game-card/types/game-card-suit.enum.d.ts +6 -0
  81. package/dist/just_poker/game-card/types/game-card.type.d.ts +6 -0
  82. package/dist/just_poker/game-card/types/poker-set.enum.d.ts +13 -0
  83. package/dist/just_poker/index.d.ts +17 -0
  84. package/dist/just_poker/last-action-panel/index.d.ts +1 -0
  85. package/dist/just_poker/last-action-panel/last-action-panel.d.ts +9 -0
  86. package/dist/just_poker/last-action-panel/last-action-panel.style.d.ts +4 -0
  87. package/dist/just_poker/page-screen/index.d.ts +2 -0
  88. package/dist/just_poker/page-screen/page-screen.d.ts +19 -0
  89. package/dist/just_poker/page-screen/screen.d.ts +4 -0
  90. package/dist/just_poker/popup-screen/index.d.ts +1 -0
  91. package/dist/just_poker/popup-screen/popup-screen.style.d.ts +8 -0
  92. package/dist/just_poker/rustore-banner/index.d.ts +1 -0
  93. package/dist/just_poker/rustore-banner/rustore-banner.d.ts +6 -0
  94. package/dist/just_poker/rustore-banner/rustore-banner.style.d.ts +4 -0
  95. package/dist/just_poker/scroll-list/index.d.ts +1 -0
  96. package/dist/just_poker/scroll-list/scroll-list.d.ts +4 -0
  97. package/dist/just_poker/skeleton/index.d.ts +1 -0
  98. package/dist/just_poker/skeleton/skeleton.style.d.ts +14 -0
  99. package/dist/just_poker/workflow-buttons/index.d.ts +1 -0
  100. package/dist/just_poker/workflow-buttons/workflow-buttons.style.d.ts +4 -0
  101. package/dist/matherial3/badge/badge.style.d.ts +5 -0
  102. package/dist/matherial3/badge/index.d.ts +2 -0
  103. package/dist/matherial3/bottom-sheet/bottom-sheet.d.ts +7 -0
  104. package/dist/matherial3/bottom-sheet/bottom-sheet.style.d.ts +17 -0
  105. package/dist/matherial3/bottom-sheet/index.d.ts +2 -0
  106. package/dist/matherial3/dialog/dialog.d.ts +11 -0
  107. package/dist/matherial3/dialog/dialog.style.d.ts +16 -0
  108. package/dist/matherial3/dialog/index.d.ts +2 -0
  109. package/dist/matherial3/divider/divider.style.d.ts +5 -0
  110. package/dist/matherial3/divider/index.d.ts +2 -0
  111. package/dist/matherial3/icon-button/icon-button.d.ts +13 -0
  112. package/dist/matherial3/icon-button/icon-button.style.d.ts +11 -0
  113. package/dist/matherial3/icon-button/index.d.ts +2 -0
  114. package/dist/matherial3/index.d.ts +14 -0
  115. package/dist/matherial3/list-item/index.d.ts +1 -0
  116. package/dist/matherial3/list-item/list-item.d.ts +11 -0
  117. package/dist/matherial3/list-item/list-item.style.d.ts +19 -0
  118. package/dist/matherial3/progress-indicator/circular-progress.d.ts +2 -0
  119. package/dist/matherial3/progress-indicator/circular-progress.style.d.ts +5 -0
  120. package/dist/matherial3/progress-indicator/index.d.ts +3 -0
  121. package/dist/matherial3/progress-indicator/screen-progress.d.ts +2 -0
  122. package/dist/matherial3/progress-indicator/screen-progress.style.d.ts +4 -0
  123. package/dist/matherial3/radio-buttons/index.d.ts +2 -0
  124. package/dist/matherial3/radio-buttons/radio-button-group.d.ts +11 -0
  125. package/dist/matherial3/radio-buttons/radio-button-group.style.d.ts +3 -0
  126. package/dist/matherial3/radio-buttons/radio-button.d.ts +8 -0
  127. package/dist/matherial3/radio-buttons/radio-button.style.d.ts +37 -0
  128. package/dist/matherial3/snackbar/index.d.ts +2 -0
  129. package/dist/matherial3/snackbar/snackbar-item.d.ts +8 -0
  130. package/dist/matherial3/snackbar/snackbar-item.style.d.ts +30 -0
  131. package/dist/matherial3/snackbar/snackbar.d.ts +14 -0
  132. package/dist/matherial3/snackbar/snackbar.style.d.ts +4 -0
  133. package/dist/matherial3/tabs/index.d.ts +3 -0
  134. package/dist/matherial3/tabs/tab.d.ts +8 -0
  135. package/dist/matherial3/tabs/tab.style.d.ts +12 -0
  136. package/dist/matherial3/tabs/tabs.d.ts +11 -0
  137. package/dist/matherial3/tabs/tabs.style.d.ts +5 -0
  138. package/dist/matherial3/text-field/index.d.ts +2 -0
  139. package/dist/matherial3/text-field/outlined-text-field.d.ts +19 -0
  140. package/dist/matherial3/text-field/outlined-text-field.style.d.ts +24 -0
  141. package/dist/matherial3/textarea/index.d.ts +2 -0
  142. package/dist/matherial3/textarea/outlined-textarea.d.ts +18 -0
  143. package/dist/matherial3/textarea/outlined-textarea.style.d.ts +24 -0
  144. package/dist/matherial3/top-up-bar/badge-icon.d.ts +10 -0
  145. package/dist/matherial3/top-up-bar/badge-icon.style.d.ts +11 -0
  146. package/dist/matherial3/top-up-bar/index.d.ts +1 -0
  147. package/dist/matherial3/top-up-bar/top-app-bar.d.ts +12 -0
  148. package/dist/matherial3/top-up-bar/top-app-bar.style.d.ts +18 -0
  149. package/dist/matherial3/typography/m3-typography.d.ts +2 -2
  150. package/dist/tokens/common.d.ts +5 -0
  151. package/dist/tokens/index.d.ts +5 -0
  152. package/dist/tokens/media.d.ts +4 -0
  153. package/dist/tokens/palette.d.ts +49 -0
  154. package/dist/tokens/z-index.d.ts +10 -0
  155. package/dist/universal-screen/icons.d.ts +1 -0
  156. package/dist/universal-screen/index.d.ts +1 -0
  157. package/dist/universal-screen/sections/banner-section/banner-section-item.d.ts +9 -0
  158. package/dist/universal-screen/sections/banner-section/banner-section-item.style.d.ts +23 -0
  159. package/dist/universal-screen/sections/banner-section/banner-section.d.ts +9 -0
  160. package/dist/universal-screen/sections/card-list-section/card-list-section-item.d.ts +11 -0
  161. package/dist/universal-screen/sections/card-list-section/card-list-section.d.ts +11 -0
  162. package/dist/universal-screen/sections/card-list-section/card-list-section.style.d.ts +10 -0
  163. package/dist/universal-screen/sections/cards-set-info-section/cards-set-info-section.d.ts +7 -0
  164. package/dist/universal-screen/sections/cards-set-info-section/cards-set-info-section.style.d.ts +12 -0
  165. package/dist/universal-screen/sections/form-buttons-section/form-buttons-section.d.ts +10 -0
  166. package/dist/universal-screen/sections/form-buttons-section/form-buttons-section.style.d.ts +4 -0
  167. package/dist/universal-screen/sections/index.d.ts +10 -0
  168. package/dist/universal-screen/sections/menu-header-section/menu-header-section.d.ts +7 -0
  169. package/dist/universal-screen/sections/menu-header-section/menu-header-section.style.d.ts +4 -0
  170. package/dist/universal-screen/sections/menu-list-section/menu-list-section-item.d.ts +9 -0
  171. package/dist/universal-screen/sections/menu-list-section/menu-list-section-option.d.ts +9 -0
  172. package/dist/universal-screen/sections/menu-list-section/menu-list-section-option.style.d.ts +21 -0
  173. package/dist/universal-screen/sections/menu-list-section/menu-list-section.d.ts +9 -0
  174. package/dist/universal-screen/sections/menu-list-section/menu-list-section.style.d.ts +4 -0
  175. package/dist/universal-screen/sections/section-factory.d.ts +3 -0
  176. package/dist/universal-screen/sections/status-header-section/status-header-section.d.ts +10 -0
  177. package/dist/universal-screen/sections/tabs-section/tabs-section.d.ts +9 -0
  178. package/dist/universal-screen/sections/tabs-section/tabs-section.style.d.ts +3 -0
  179. package/dist/universal-screen/sections/text-section/text-section.d.ts +7 -0
  180. package/dist/universal-screen/sections/text-section/text-section.style.d.ts +3 -0
  181. package/dist/universal-screen/types.d.ts +20 -0
  182. package/dist/universal-screen/universal-screen.d.ts +13 -0
  183. package/dist/utils/common.d.ts +7 -0
  184. package/package.json +6 -4
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ import { IconButtonType } from '../icon-button/icon-button';
3
+ export type componentType = {
4
+ title: string;
5
+ titleColor: string;
6
+ backgroundColor: string;
7
+ leftButton?: IconButtonType;
8
+ rightFirstButton?: IconButtonType;
9
+ rightSecondButton?: IconButtonType;
10
+ rightThirdButton?: IconButtonType;
11
+ };
12
+ export declare const TopAppBar: ({ title, titleColor, backgroundColor, leftButton, rightFirstButton, rightSecondButton, rightThirdButton }: componentType) => React.JSX.Element;
@@ -0,0 +1,18 @@
1
+ export declare const TopAppBarRootStyled: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export declare const TopAppBarIconButtonsPanelTitle: import("@emotion/styled").StyledComponent<import("../typography/m3-typography.tsx").TypographyProps & {
6
+ theme?: import("@emotion/react").Theme;
7
+ }, {}, {}>;
8
+ export declare const RightCol: import("@emotion/styled").StyledComponent<{
9
+ theme?: import("@emotion/react").Theme;
10
+ as?: React.ElementType;
11
+ } & {
12
+ direction: "row" | "column";
13
+ justifyContent: "start" | "center" | "space-between" | "space-around" | "space-evenly" | "end";
14
+ alignItems: "stretch" | "center" | "start" | "end";
15
+ gap?: number;
16
+ } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
17
+ theme?: import("@emotion/react").Theme;
18
+ }, {}, {}>;
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { Theme } from '@emotion/react';
3
- import { M3TextStylesBody } from '@choochoochoo/jp.theme';
3
+ import { M3TextStylesBody } from 'jp.ui.theme';
4
4
  import { TypographySize } from './typography-size';
5
- export declare function getTextStyle(styleBody: M3TextStylesBody, size: TypographySize): import("@choochoochoo/jp.theme").M3TextStylesBodySize;
5
+ export declare function getTextStyle(styleBody: M3TextStylesBody, size: TypographySize): import("jp.ui.theme").M3TextStylesBodySize;
6
6
  export type TypographyProps = {
7
7
  color: string;
8
8
  size: TypographySize;
@@ -0,0 +1,5 @@
1
+ export declare const border_radius = "12px";
2
+ export declare const content_min_width = "320px";
3
+ export declare const content_max_width = "960px";
4
+ export declare const toolbar_height_number = 64;
5
+ export declare const toolbar_height = "64px";
@@ -0,0 +1,5 @@
1
+ import * as common from './common';
2
+ import * as media from './media';
3
+ import * as palette from './palette';
4
+ import * as zIndex from './z-index';
5
+ export { common, media, palette, zIndex, };
@@ -0,0 +1,4 @@
1
+ export declare const MAX_TABLE_WIDTH = 959.98;
2
+ export declare const MAX_MOBILE_WIDTH = 666.98;
3
+ export declare const sm = "(max-width: 666.98px)";
4
+ export declare const md = "(max-width: 959.98px)";
@@ -0,0 +1,49 @@
1
+ export declare const default_face_background_color_light = "#F1EAFA";
2
+ export declare const default_face_background_color_dark = "#CCC2DC";
3
+ export declare const default_face_border_color_light = "#1C1B1F";
4
+ export declare const default_face_border_color_dark = "#CCC2DC";
5
+ export declare const default_suit_club_dark = "rgb(16, 97, 12)";
6
+ export declare const default_suit_club_light = "#045800";
7
+ export declare const default_suit_spade_dark = "rgb(25, 34, 38)";
8
+ export declare const default_suit_spade_light = "rgb(25, 34, 38)";
9
+ export declare const default_suit_heart_dark = "rgb(170, 6, 4)";
10
+ export declare const default_suit_heart_light = "#960402";
11
+ export declare const default_suit_diamond_dark = "rgb(7, 86, 143)";
12
+ export declare const default_suit_diamond_light = "#00477A";
13
+ export declare const western_yellow = "#EBA85A";
14
+ export declare const western_background = "#262626";
15
+ export declare const premium_background = "#281F2F";
16
+ export declare const premium_yellow = "#C7A52E";
17
+ export declare const pink_panther_pink = "#F5578D";
18
+ export declare const pink_panther_background = "#3E3E3E";
19
+ export declare const dacha_green = "#00695C";
20
+ export declare const dacha_white = "#FAF8E2";
21
+ export declare const dacha_red = "#D0392E";
22
+ export declare const dacha_black = "#2E2D28";
23
+ export declare const vampire_black = "#202020";
24
+ export declare const vampire_white = "#FFFFFF";
25
+ export declare const vampire_red = "#D82B2B";
26
+ export declare const ussr_red = "#D02020";
27
+ export declare const ussr_yellow = "#D8BE32";
28
+ export declare const ussr_black = "#1B1B1B";
29
+ export declare const semaphore_blue = "#1C56C7";
30
+ export declare const semaphore_black = "#151515";
31
+ export declare const semaphore_green = "#107D2F";
32
+ export declare const semaphore_red = "#D32B2B";
33
+ export declare const semaphore_white = "#FFFFFF";
34
+ export declare const avatar_frame_inst1 = "#515BD4";
35
+ export declare const avatar_frame_inst2 = "#8134AF";
36
+ export declare const avatar_frame_inst3 = "#DD2A7B";
37
+ export declare const avatar_frame_inst4 = "#F58529";
38
+ export declare const avatar_frame_inst5 = "#FEDA77";
39
+ export declare const avatar_frame_yellow = "#FFD700";
40
+ export declare const avatar_frame_red = "#9F0000";
41
+ export declare const avatar_frame_blue1 = "#2CBBB2";
42
+ export declare const avatar_frame_blue2 = "#80CDEE";
43
+ export declare const avatar_frame_bali1 = "#F6EB84";
44
+ export declare const avatar_frame_bali2 = "#37CCD6";
45
+ export declare const avatar_frame_fire1 = "#FFCC34";
46
+ export declare const avatar_frame_fire2 = "#FF645A";
47
+ export declare const avatar_frame_sunset1 = "#FF7796";
48
+ export declare const avatar_frame_sunset2 = "#394E62";
49
+ export declare const avatar_frame_purple = "#990779";
@@ -0,0 +1,10 @@
1
+ export declare const avatar_badge = 1;
2
+ export declare const avatar_cards = 2;
3
+ export declare const toolbar = 10;
4
+ export declare const bottom_panel = 100;
5
+ export declare const bottom_sheet = 200;
6
+ export declare const bottom_selection_panel = 200;
7
+ export declare const page = 700;
8
+ export declare const page_friends_chat = 701;
9
+ export declare const dialog = 1000;
10
+ export declare const snackbar = 1400;
@@ -0,0 +1 @@
1
+ export declare function getIcon(type: string): string;
@@ -0,0 +1 @@
1
+ export { UniversalScreen } from './universal-screen.tsx';
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { AppScreenSectionListItem } from 'jp.common.view';
3
+ import { ListSectionClick } from '../../types.ts';
4
+ type TextSectionProps = {
5
+ item: AppScreenSectionListItem;
6
+ listSectionClick?: ListSectionClick;
7
+ };
8
+ export declare const BannerSectionItem: ({ item, listSectionClick }: TextSectionProps) => React.JSX.Element;
9
+ export {};
@@ -0,0 +1,23 @@
1
+ import { Theme } from '@emotion/react';
2
+ export declare const BannerStyled: import("@emotion/styled").StyledComponent<{
3
+ theme?: Theme;
4
+ as?: React.ElementType;
5
+ } & {
6
+ hasNoPadding?: boolean;
7
+ theme?: Theme;
8
+ image: string;
9
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
+ export declare const BannerTitleStyled: import("@emotion/styled").StyledComponent<{
11
+ theme?: Theme;
12
+ as?: React.ElementType;
13
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
+ export declare const BannerLogoStyled: import("@emotion/styled").StyledComponent<{
15
+ theme?: Theme;
16
+ as?: React.ElementType;
17
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
+ export declare const BannerButtonStyled: import("@emotion/styled").StyledComponent<{
19
+ theme?: Theme;
20
+ as?: React.ElementType;
21
+ } & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
22
+ theme?: Theme;
23
+ }, {}, {}>;
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { AppScreenSection } from 'jp.common.view';
3
+ import { ListSectionClick } from '../../types.ts';
4
+ type TextSectionProps = {
5
+ section: AppScreenSection;
6
+ listSectionClick?: ListSectionClick;
7
+ };
8
+ export declare const BannerSection: ({ section, listSectionClick }: TextSectionProps) => React.JSX.Element;
9
+ export {};
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { AppScreenSectionListItem } from 'jp.common.view';
3
+ import { ListSectionButtonClick, ListSectionClick } from '../../types';
4
+ type CardListSectionItem = {
5
+ item: AppScreenSectionListItem;
6
+ listSectionClick?: ListSectionClick;
7
+ listSectionPrimaryButtonClick?: ListSectionButtonClick;
8
+ listSectionSecondaryButtonClick?: ListSectionButtonClick;
9
+ };
10
+ export declare const CardListSectionItem: (props: CardListSectionItem) => React.JSX.Element;
11
+ export {};
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { AppScreenSection } from 'jp.common.view';
3
+ import { ListSectionButtonClick, ListSectionClick } from '../../types';
4
+ type TextSectionProps = {
5
+ section: AppScreenSection;
6
+ listSectionClick?: ListSectionClick;
7
+ listSectionPrimaryButtonClick?: ListSectionButtonClick;
8
+ listSectionSecondaryButtonClick?: ListSectionButtonClick;
9
+ };
10
+ export declare const CardListSection: (props: TextSectionProps) => React.JSX.Element;
11
+ export {};
@@ -0,0 +1,10 @@
1
+ export declare const CardListSectionWrapper: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export declare const CardListSectionDivider: import("@emotion/styled").StyledComponent<{
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
8
+ } & import("react").ClassAttributes<HTMLHRElement> & import("react").HTMLAttributes<HTMLHRElement> & {
9
+ theme?: import("@emotion/react").Theme;
10
+ }, {}, {}>;
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { AppScreenSection } from 'jp.common.view';
3
+ type CardsSetInfoSectionProps = {
4
+ section: AppScreenSection;
5
+ };
6
+ export declare const CardsSetInfoSection: ({ section }: CardsSetInfoSectionProps) => React.JSX.Element;
7
+ export {};
@@ -0,0 +1,12 @@
1
+ export declare const CardsSetInfoSectionStyle: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export declare const CardSetInfoSectionItemWrapperStyle: import("@emotion/styled").StyledComponent<{
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
8
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ export declare const CardSetInfoSectionItemCard: import("@emotion/styled").StyledComponent<{
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
12
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { AppScreenSection } from 'jp.common.view';
3
+ import { HeaderSectionButtonClick } from '../../types';
4
+ type TextSectionProps = {
5
+ section: AppScreenSection;
6
+ formButtonsSectionPrimaryClick?: HeaderSectionButtonClick;
7
+ formButtonsSectionSecondaryClick?: HeaderSectionButtonClick;
8
+ };
9
+ export declare const FormButtonsSection: (props: TextSectionProps) => React.JSX.Element;
10
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const FormButtonsStyled: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,10 @@
1
+ import { TextSection } from './text-section/text-section';
2
+ import { MenuHeaderSection } from './menu-header-section/menu-header-section';
3
+ import { MenuListSection } from './menu-list-section/menu-list-section';
4
+ import { CardListSection } from './card-list-section/card-list-section';
5
+ import { StatusHeaderSection } from './status-header-section/status-header-section';
6
+ import { BannerSection } from './banner-section/banner-section';
7
+ import { TabsSection } from './tabs-section/tabs-section';
8
+ import { CardsSetInfoSection } from './cards-set-info-section/cards-set-info-section';
9
+ import { FormButtonsSection } from './form-buttons-section/form-buttons-section';
10
+ export { TextSection, MenuHeaderSection, MenuListSection, CardListSection, StatusHeaderSection, BannerSection, TabsSection, CardsSetInfoSection, FormButtonsSection, };
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { AppScreenSection } from 'jp.common.view';
3
+ type TextSectionProps = {
4
+ section: AppScreenSection;
5
+ };
6
+ export declare const MenuHeaderSection: ({ section }: TextSectionProps) => React.JSX.Element;
7
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const MenuHeaderSectionStyled: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { AppScreenSectionListItem } from 'jp.common.view';
3
+ import { ListSectionClick } from '../../types';
4
+ type MenuListSectionItemProps = {
5
+ item: AppScreenSectionListItem;
6
+ listSectionClick?: ListSectionClick;
7
+ };
8
+ export declare const MenuListSectionItem: ({ item, listSectionClick }: MenuListSectionItemProps) => React.JSX.Element;
9
+ export {};
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ export type optionComponentProps = {
3
+ onClick?: (event: React.MouseEvent<HTMLElement>) => void;
4
+ title: string;
5
+ icon: string;
6
+ children?: React.ReactNode;
7
+ imageUrl?: string;
8
+ };
9
+ export declare const MenuListSectionOption: (props: optionComponentProps) => React.JSX.Element;
@@ -0,0 +1,21 @@
1
+ export declare const ImageStyled: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ } & {
5
+ width?: number;
6
+ height?: number;
7
+ backgroundColor?: string;
8
+ fontSize?: number;
9
+ } & import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & {
10
+ theme?: import("@emotion/react").Theme;
11
+ }, {}, {}>;
12
+ export declare const ItemStyled: import("@emotion/styled").StyledComponent<{
13
+ theme?: import("@emotion/react").Theme;
14
+ as?: React.ElementType;
15
+ } & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
16
+ theme?: import("@emotion/react").Theme;
17
+ }, {}, {}>;
18
+ export declare const IconCol: import("@emotion/styled").StyledComponent<{
19
+ theme?: import("@emotion/react").Theme;
20
+ as?: React.ElementType;
21
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { AppScreenSection } from 'jp.common.view';
3
+ import { ListSectionClick } from '../../types.ts';
4
+ type TextSectionProps = {
5
+ section: AppScreenSection;
6
+ listSectionClick?: ListSectionClick;
7
+ };
8
+ export declare const MenuListSection: ({ section, listSectionClick }: TextSectionProps) => React.JSX.Element;
9
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const MenuListSectionStyled: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,3 @@
1
+ import { AppScreenSection } from 'jp.common.view';
2
+ import { UniversalScreenSectionHandlers } from '../types.ts';
3
+ export declare function createUniversalSection(sectionType: string, section: AppScreenSection, sectionHandlers?: UniversalScreenSectionHandlers): import("react").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { AppScreenSection } from 'jp.common.view';
3
+ import { HeaderSectionButtonClick } from '../../types';
4
+ type TextSectionProps = {
5
+ section: AppScreenSection;
6
+ primaryButtonClick?: HeaderSectionButtonClick;
7
+ secondaryButtonClick?: HeaderSectionButtonClick;
8
+ };
9
+ export declare const StatusHeaderSection: ({ section, primaryButtonClick, secondaryButtonClick }: TextSectionProps) => React.JSX.Element;
10
+ export {};
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { AppScreenSection } from 'jp.common.view';
3
+ import { ListSectionClick } from '../../types.ts';
4
+ type TabsSectionProps = {
5
+ section: AppScreenSection;
6
+ tabClick?: ListSectionClick;
7
+ };
8
+ export declare const TabsSection: (props: TabsSectionProps) => React.JSX.Element;
9
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare const TabsSectionStyle: import("@emotion/styled").StyledComponent<import("../../../matherial3/tabs/tabs").TabsProps & {
2
+ theme?: import("@emotion/react").Theme;
3
+ }, {}, {}>;
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { AppScreenSection } from 'jp.common.view';
3
+ type TextSectionProps = {
4
+ section: AppScreenSection;
5
+ };
6
+ export declare const TextSection: ({ section }: TextSectionProps) => React.JSX.Element;
7
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare const TextSectionContent: import("@emotion/styled").StyledComponent<import("../../../matherial3/typography/m3-typography").TypographyProps & {
2
+ theme?: import("@emotion/react").Theme;
3
+ }, {}, {}>;
@@ -0,0 +1,20 @@
1
+ import { AppScreenSectionListItem, AppSectionButton } from 'jp.common.view';
2
+ export type ListSectionClick = (item: AppScreenSectionListItem) => void;
3
+ export type ListSectionButtonClick = (item: AppScreenSectionListItem, button?: AppSectionButton) => void;
4
+ export type HeaderSectionButtonClick = (button?: AppSectionButton) => void;
5
+ export type PrimaryButtonClickProps = {
6
+ item: AppScreenSectionListItem;
7
+ button: AppSectionButton;
8
+ };
9
+ export type UniversalScreenSectionHandlers = {
10
+ appBarCloseButtonClick?: HeaderSectionButtonClick;
11
+ appBarActionButtonClick?: HeaderSectionButtonClick;
12
+ tabsSectionClick?: ListSectionClick;
13
+ listSectionClick?: ListSectionClick;
14
+ listSectionPrimaryButtonClick?: ListSectionButtonClick;
15
+ listSectionSecondaryButtonClick?: ListSectionButtonClick;
16
+ headerPrimaryButtonClick?: HeaderSectionButtonClick;
17
+ headerSecondaryButtonClick?: HeaderSectionButtonClick;
18
+ formButtonsSectionPrimaryClick?: HeaderSectionButtonClick;
19
+ formButtonsSectionSecondaryClick?: HeaderSectionButtonClick;
20
+ };
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import { AppScreenTypes } from 'jp.common.view';
3
+ import { UniversalScreenSectionHandlers } from './types';
4
+ type UniversalScreenProps = {
5
+ screen?: AppScreenTypes;
6
+ isLoading: boolean;
7
+ isError: boolean;
8
+ init?: (id?: string) => void;
9
+ deactivate?: () => void;
10
+ sectionHandlers?: UniversalScreenSectionHandlers;
11
+ };
12
+ export declare const UniversalScreen: (props: UniversalScreenProps) => React.JSX.Element;
13
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare function fillArray(length: number): Array<number>;
2
+ export declare function generateArrayFromStartToEnd(start: number, end: number): number[];
3
+ export declare function replacePattern(str: string, data: Record<string, string>): string;
4
+ export declare function getSuitRank(id: string): {
5
+ suit: string;
6
+ rank: number;
7
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jp.ui.app.ds",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -15,15 +15,17 @@
15
15
  "author": "",
16
16
  "license": "ISC",
17
17
  "dependencies": {
18
- "@choochoochoo/jp.theme": "1.0.0",
19
- "@material-design-icons/svg": "0.14.15"
18
+ "@material-design-icons/svg": "0.14.15",
19
+ "jp.common.view": "1.1.2",
20
+ "jp.ui.theme": "1.0.0",
21
+ "react-number-format": "5.4.4"
20
22
  },
21
23
  "devDependencies": {
22
24
  "@emotion/react": "11.14.0",
23
25
  "@emotion/styled": "11.14.1",
24
- "@rollup/plugin-commonjs": "28.0.8",
25
26
  "@rollup/plugin-terser": "0.4.4",
26
27
  "@rollup/plugin-typescript": "12.2.0",
28
+ "@rollup/plugin-url": "8.0.2",
27
29
  "@storybook/addon-docs": "9.1.13",
28
30
  "@storybook/addon-themes": "9.1.13",
29
31
  "@storybook/addon-webpack5-compiler-swc": "4.0.1",