pds-dev-kit-web 0.3.40 → 0.3.44

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 (48) hide show
  1. package/dist/index.d.ts +6 -6
  2. package/dist/index.js +6 -1
  3. package/dist/src/common/services/i18n/resources/en.json +34 -7
  4. package/dist/src/common/services/i18n/resources/es.json +34 -7
  5. package/dist/src/common/services/i18n/resources/index.d.ts +108 -0
  6. package/dist/src/common/services/i18n/resources/jp.json +34 -7
  7. package/dist/src/common/services/i18n/resources/ko.json +31 -4
  8. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +3 -1
  9. package/dist/src/common/styles/colorSet/PaletteColor_light.json +3 -1
  10. package/dist/src/common/styles/colorSet/UIColor.json +7 -1
  11. package/dist/src/common/styles/colorSet/index.d.ts +183 -173
  12. package/dist/src/common/styles/colorSet/index.js +4 -4
  13. package/dist/src/common/styles/colorSet/ui-type.d.ts +6 -0
  14. package/dist/src/desktop/components/Hero/Hero.d.ts +8 -0
  15. package/dist/src/desktop/components/Hero/Hero.js +18 -0
  16. package/dist/src/desktop/components/Hero/index.d.ts +1 -0
  17. package/dist/src/desktop/components/Hero/index.js +8 -0
  18. package/dist/src/desktop/components/StatusBlock/StatusBlock.d.ts +12 -0
  19. package/dist/src/desktop/components/StatusBlock/StatusBlock.js +88 -0
  20. package/dist/src/desktop/components/StatusBlock/index.d.ts +1 -0
  21. package/dist/src/desktop/components/StatusBlock/index.js +8 -0
  22. package/dist/src/desktop/components/index.d.ts +3 -1
  23. package/dist/src/desktop/components/index.js +5 -1
  24. package/dist/src/desktop/index.d.ts +2 -2
  25. package/dist/src/desktop/index.js +3 -1
  26. package/dist/src/hybrid/components/Divider/Divider.d.ts +8 -0
  27. package/dist/src/hybrid/components/Divider/Divider.js +58 -0
  28. package/dist/src/hybrid/components/Divider/index.d.ts +1 -0
  29. package/dist/src/hybrid/components/Divider/index.js +8 -0
  30. package/dist/src/hybrid/components/IconButton/IconButton.d.ts +26 -0
  31. package/dist/src/hybrid/components/IconButton/IconButton.js +154 -0
  32. package/dist/src/hybrid/components/IconButton/index.d.ts +1 -0
  33. package/dist/src/hybrid/components/IconButton/index.js +8 -0
  34. package/dist/src/hybrid/components/ImageView/ImageView.d.ts +2 -1
  35. package/dist/src/hybrid/components/ImageView/ImageView.js +4 -4
  36. package/dist/src/hybrid/components/index.d.ts +3 -1
  37. package/dist/src/hybrid/components/index.js +5 -1
  38. package/dist/src/hybrid/index.d.ts +2 -2
  39. package/dist/src/hybrid/index.js +3 -1
  40. package/dist/src/mobile/components/StatusBlock/StatusBlock.d.ts +12 -0
  41. package/dist/src/mobile/components/StatusBlock/StatusBlock.js +88 -0
  42. package/dist/src/mobile/components/StatusBlock/index.d.ts +1 -0
  43. package/dist/src/mobile/components/StatusBlock/index.js +8 -0
  44. package/dist/src/mobile/components/index.d.ts +2 -1
  45. package/dist/src/mobile/components/index.js +3 -1
  46. package/dist/src/mobile/index.d.ts +2 -2
  47. package/dist/src/mobile/index.js +2 -1
  48. package/package.json +1 -1
@@ -117,179 +117,8 @@ declare const colorSet: {
117
117
  sys_text_error_darktheme_01: string;
118
118
  sys_border_line_darktheme_03: string;
119
119
  sys_border_line_darktheme_04: string;
120
- };
121
- readonly SemanticColor: {
122
- blue500: string;
123
- blue700: string;
124
- blue300: string;
125
- green700: string;
126
- green500: string;
127
- green300: string;
128
- red500: string;
129
- grey900: string;
130
- grey500: string;
131
- grey400: string;
132
- grey100: string;
133
- grey50: string;
134
- white: string;
135
- black: string;
136
- darkblue500: string;
137
- grey950: string;
138
- darkgrey900: string;
139
- darkgrey500: string;
140
- darkgrey400: string;
141
- darkgrey100: string;
142
- darkgrey50: string;
143
- darkred500: string;
144
- darkgreen700: string;
145
- orange500: string;
146
- darkorange500: string;
147
- opacity00: string;
148
- opacity20: string;
149
- opacity30: string;
150
- opacity65: string;
151
- darkgreen500: string;
152
- grey70: string;
153
- navy500: string;
154
- lightgreen500: string;
155
- pink500: string;
156
- darkgrey70: string;
157
- darknavy500: string;
158
- darkpink500: string;
159
- darklightgreen500: string;
160
- opacity10: string;
161
- grey600: string;
162
- darkgrey600: string;
163
- skyblue500: string;
164
- skyblue300: string;
165
- pink300: string;
166
- lightpink500: string;
167
- darkblue300: string;
168
- darkblue700: string;
169
- darkgreen300: string;
170
- darkskyblue500: string;
171
- navy100: string;
172
- darknavy100: string;
173
- opacity80: string;
174
- };
175
- readonly PaletteColor_light: {
176
- sys_container_background_01: string;
177
- sys_container_background_02: string;
178
- sys_container_background_03: string;
179
- sys_background_dimmed: string;
180
- sys_text_grey_01: string;
181
- sys_text_grey_02: string;
182
- sys_text_grey_03: string;
183
- sys_text_white: string;
184
- sys_text_brand_primary: string;
185
- sys_text_error_01: string;
186
- sys_widget_grey_01: string;
187
- sys_widget_grey_02: string;
188
- sys_widget_grey_03: string;
189
- sys_widget_primary_01: string;
190
- sys_widget_error_01: string;
191
- sys_widget_warning_01: string;
192
- sys_widget_success_01: string;
193
- sys_widget_white: string;
194
- sys_border_area_01: string;
195
- sys_border_line_01: string;
196
- sys_border_line_02: string;
197
- sys_border_line_03: string;
198
- sys_border_line_04: string;
199
- sys_border_line_05: string;
200
- sys_component_base_01: string;
201
- sys_component_base_02: string;
202
- sys_component_base_03: string;
203
- sys_component_base_red: string;
204
- sys_component_base_white: string;
205
- sys_component_base_white_opacity00: string;
206
- sys_on_base_white_opacity00: string;
207
- sys_on_base_white_opacity30: string;
208
- sys_on_base_black_opacity20: string;
209
- usr_brand_primary: string;
210
- usr_brand_secondary: string;
211
- usr_brand_secondary_variant: string;
212
- usr_background: string;
213
- usr_surface: string;
214
- usr_border: string;
215
- usr_on_brand_primary: string;
216
- usr_on_brand_secondary: string;
217
- usr_on_background: string;
218
- usr_on_surface: string;
219
- sys_widget_status_active_01: string;
220
- sys_text_success_01: string;
221
- sys_widget_grey_04: string;
222
- sys_text_active: string;
223
- sys_component_base_blue: string;
224
- sys_on_base_black_opacity65: string;
225
- sys_component_base_04: string;
226
- sys_component_base_black: string;
227
- sys_component_base_black_opacity00: string;
228
- usr_text_brand_secondary_variant: string;
229
- usr_text_brand_primary: string;
230
- usr_text_brand_on_primary: string;
231
- sys_text_brand_secondary_variant: string;
232
- sys_component_base_navy: string;
233
- sys_widget_lightgreen: string;
234
- sys_border_line_06: string;
235
- sys_background_dimmed_20: string;
236
- sys_widget_pink: string;
237
- sys_widget_primary_opacity20: string;
238
- sys_widget_secondary_variant_01: string;
239
- usr_component_base_brand_primary_opacity10: string;
240
- sys_temp_grey_01: string;
241
- sys_temp_grey_02: string;
242
- sys_temp_grey_03: string;
243
- sys_temp_grey_04: string;
244
- sys_temp_grey_05: string;
245
- sys_temp_white: string;
246
- sys_temp_primary_01: string;
247
- sys_temp_secondary_01: string;
248
- sys_temp_red: string;
249
- sys_temp_white_opacity_00: string;
250
- sys_temp_dimmed: string;
251
- sys_temp_black: string;
252
- sys_temp_primary_02: string;
253
- sys_temp_primary_03: string;
254
- sys_temp_secondary_02: string;
255
- sys_temp_lightgreen_01: string;
256
- sys_text_grey_04: string;
257
- sys_papp_post_social_background: string;
258
- sys_papp_post_notice_background: string;
259
- sys_papp_post_free_background: string;
260
- sys_papp_vod_background: string;
261
- sys_papp_vodplus_background: string;
262
- sys_papp_live_background: string;
263
- sys_selcontrols_base_off_disabled: string;
264
- sys_selcontrols_base_on_disabled: string;
265
- sys_component_base_blue_opacity10: string;
266
- sys_component_base_05: string;
267
- sys_background_dimmed_65: string;
268
- sys_temp_grey_06: string;
269
- sys_on_base_white_opacity10: string;
270
- sys_on_base_black_opacity10: string;
271
- sys_component_base_05_opacity00: string;
272
- sys_papp_post_notice_link: string;
273
- sys_component_base_navy_light: string;
274
- sys_component_base_orange: string;
275
- sys_component_base_grey: string;
276
- sys_component_base_black_opacity80: string;
277
- sys_text_darkgrey_02: string;
278
- sys_border_line_darktheme_01: string;
279
- sys_border_line_darktheme_02: string;
280
- sys_component_base_darktheme_01: string;
281
- sys_component_base_darktheme_02: string;
282
- sys_component_base_darktheme_03: string;
283
- sys_text_grey_darktheme_01: string;
284
- sys_text_grey_darktheme_02: string;
285
- sys_text_grey_darktheme_03: string;
286
- sys_widget_grey_darktheme_01: string;
287
- sys_widget_grey_darktheme_02: string;
288
- sys_widget_grey_darktheme_03: string;
289
- sys_component_base_green: string;
290
- sys_text_error_darktheme_01: string;
291
- sys_border_line_darktheme_03: string;
292
- sys_border_line_darktheme_04: string;
120
+ usr_widget_brand_primary_darktheme_01: string;
121
+ usr_text_brand_primary_darktheme_01: string;
293
122
  };
294
123
  readonly UIColor: {
295
124
  ui_cpnt_button_fill_base_primary: string;
@@ -720,6 +549,187 @@ declare const colorSet: {
720
549
  ui_cpnt_dropdown_border_darktheme_focus: string;
721
550
  ui_cpnt_dropdown_base_darktheme_disabled: string;
722
551
  ui_cpnt_sheet_base: string;
552
+ ui_cpnt_button_icon_darktheme_default: string;
553
+ ui_cpnt_button_icon_darktheme_primary: string;
554
+ ui_cpnt_button_text_darktheme_default: string;
555
+ ui_cpnt_button_text_darktheme_primary: string;
556
+ ui_35: string;
557
+ ui_cpnt_button_fill_base_black_opacity50: string;
558
+ };
559
+ readonly PaletteColor_light: {
560
+ sys_container_background_01: string;
561
+ sys_container_background_02: string;
562
+ sys_container_background_03: string;
563
+ sys_background_dimmed: string;
564
+ sys_text_grey_01: string;
565
+ sys_text_grey_02: string;
566
+ sys_text_grey_03: string;
567
+ sys_text_white: string;
568
+ sys_text_brand_primary: string;
569
+ sys_text_error_01: string;
570
+ sys_widget_grey_01: string;
571
+ sys_widget_grey_02: string;
572
+ sys_widget_grey_03: string;
573
+ sys_widget_primary_01: string;
574
+ sys_widget_error_01: string;
575
+ sys_widget_warning_01: string;
576
+ sys_widget_success_01: string;
577
+ sys_widget_white: string;
578
+ sys_border_area_01: string;
579
+ sys_border_line_01: string;
580
+ sys_border_line_02: string;
581
+ sys_border_line_03: string;
582
+ sys_border_line_04: string;
583
+ sys_border_line_05: string;
584
+ sys_component_base_01: string;
585
+ sys_component_base_02: string;
586
+ sys_component_base_03: string;
587
+ sys_component_base_red: string;
588
+ sys_component_base_white: string;
589
+ sys_component_base_white_opacity00: string;
590
+ sys_on_base_white_opacity00: string;
591
+ sys_on_base_white_opacity30: string;
592
+ sys_on_base_black_opacity20: string;
593
+ usr_brand_primary: string;
594
+ usr_brand_secondary: string;
595
+ usr_brand_secondary_variant: string;
596
+ usr_background: string;
597
+ usr_surface: string;
598
+ usr_border: string;
599
+ usr_on_brand_primary: string;
600
+ usr_on_brand_secondary: string;
601
+ usr_on_background: string;
602
+ usr_on_surface: string;
603
+ sys_widget_status_active_01: string;
604
+ sys_text_success_01: string;
605
+ sys_widget_grey_04: string;
606
+ sys_text_active: string;
607
+ sys_component_base_blue: string;
608
+ sys_on_base_black_opacity65: string;
609
+ sys_component_base_04: string;
610
+ sys_component_base_black: string;
611
+ sys_component_base_black_opacity00: string;
612
+ usr_text_brand_secondary_variant: string;
613
+ usr_text_brand_primary: string;
614
+ usr_text_brand_on_primary: string;
615
+ sys_text_brand_secondary_variant: string;
616
+ sys_component_base_navy: string;
617
+ sys_widget_lightgreen: string;
618
+ sys_border_line_06: string;
619
+ sys_background_dimmed_20: string;
620
+ sys_widget_pink: string;
621
+ sys_widget_primary_opacity20: string;
622
+ sys_widget_secondary_variant_01: string;
623
+ usr_component_base_brand_primary_opacity10: string;
624
+ sys_temp_grey_01: string;
625
+ sys_temp_grey_02: string;
626
+ sys_temp_grey_03: string;
627
+ sys_temp_grey_04: string;
628
+ sys_temp_grey_05: string;
629
+ sys_temp_white: string;
630
+ sys_temp_primary_01: string;
631
+ sys_temp_secondary_01: string;
632
+ sys_temp_red: string;
633
+ sys_temp_white_opacity_00: string;
634
+ sys_temp_dimmed: string;
635
+ sys_temp_black: string;
636
+ sys_temp_primary_02: string;
637
+ sys_temp_primary_03: string;
638
+ sys_temp_secondary_02: string;
639
+ sys_temp_lightgreen_01: string;
640
+ sys_text_grey_04: string;
641
+ sys_papp_post_social_background: string;
642
+ sys_papp_post_notice_background: string;
643
+ sys_papp_post_free_background: string;
644
+ sys_papp_vod_background: string;
645
+ sys_papp_vodplus_background: string;
646
+ sys_papp_live_background: string;
647
+ sys_selcontrols_base_off_disabled: string;
648
+ sys_selcontrols_base_on_disabled: string;
649
+ sys_component_base_blue_opacity10: string;
650
+ sys_component_base_05: string;
651
+ sys_background_dimmed_65: string;
652
+ sys_temp_grey_06: string;
653
+ sys_on_base_white_opacity10: string;
654
+ sys_on_base_black_opacity10: string;
655
+ sys_component_base_05_opacity00: string;
656
+ sys_papp_post_notice_link: string;
657
+ sys_component_base_navy_light: string;
658
+ sys_component_base_orange: string;
659
+ sys_component_base_grey: string;
660
+ sys_component_base_black_opacity80: string;
661
+ sys_text_darkgrey_02: string;
662
+ sys_border_line_darktheme_01: string;
663
+ sys_border_line_darktheme_02: string;
664
+ sys_component_base_darktheme_01: string;
665
+ sys_component_base_darktheme_02: string;
666
+ sys_component_base_darktheme_03: string;
667
+ sys_text_grey_darktheme_01: string;
668
+ sys_text_grey_darktheme_02: string;
669
+ sys_text_grey_darktheme_03: string;
670
+ sys_widget_grey_darktheme_01: string;
671
+ sys_widget_grey_darktheme_02: string;
672
+ sys_widget_grey_darktheme_03: string;
673
+ sys_component_base_green: string;
674
+ sys_text_error_darktheme_01: string;
675
+ sys_border_line_darktheme_03: string;
676
+ sys_border_line_darktheme_04: string;
677
+ usr_widget_brand_primary_darktheme_01: string;
678
+ usr_text_brand_primary_darktheme_01: string;
679
+ };
680
+ readonly SemanticColor: {
681
+ blue500: string;
682
+ blue700: string;
683
+ blue300: string;
684
+ green700: string;
685
+ green500: string;
686
+ green300: string;
687
+ red500: string;
688
+ grey900: string;
689
+ grey500: string;
690
+ grey400: string;
691
+ grey100: string;
692
+ grey50: string;
693
+ white: string;
694
+ black: string;
695
+ darkblue500: string;
696
+ grey950: string;
697
+ darkgrey900: string;
698
+ darkgrey500: string;
699
+ darkgrey400: string;
700
+ darkgrey100: string;
701
+ darkgrey50: string;
702
+ darkred500: string;
703
+ darkgreen700: string;
704
+ orange500: string;
705
+ darkorange500: string;
706
+ opacity00: string;
707
+ opacity20: string;
708
+ opacity30: string;
709
+ opacity65: string;
710
+ darkgreen500: string;
711
+ grey70: string;
712
+ navy500: string;
713
+ lightgreen500: string;
714
+ pink500: string;
715
+ darkgrey70: string;
716
+ darknavy500: string;
717
+ darkpink500: string;
718
+ darklightgreen500: string;
719
+ opacity10: string;
720
+ grey600: string;
721
+ darkgrey600: string;
722
+ skyblue500: string;
723
+ skyblue300: string;
724
+ pink300: string;
725
+ lightpink500: string;
726
+ darkblue300: string;
727
+ darkblue700: string;
728
+ darkgreen300: string;
729
+ darkskyblue500: string;
730
+ navy100: string;
731
+ darknavy100: string;
732
+ opacity80: string;
723
733
  };
724
734
  };
725
735
  export default colorSet;
@@ -5,13 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  /* eslint-disable import/order */
7
7
  var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
8
- var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
9
- var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
10
8
  var UIColor_json_1 = __importDefault(require("./UIColor.json"));
9
+ var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
10
+ var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
11
11
  var colorSet = {
12
12
  PaletteColor_Dark: PaletteColor_Dark_json_1.default,
13
- SemanticColor: SemanticColor_json_1.default,
13
+ UIColor: UIColor_json_1.default,
14
14
  PaletteColor_light: PaletteColor_light_json_1.default,
15
- UIColor: UIColor_json_1.default
15
+ SemanticColor: SemanticColor_json_1.default
16
16
  };
17
17
  exports.default = colorSet;
@@ -427,4 +427,10 @@ export interface UITheme {
427
427
  ui_cpnt_dropdown_border_darktheme_focus: string;
428
428
  ui_cpnt_dropdown_base_darktheme_disabled: string;
429
429
  ui_cpnt_sheet_base: string;
430
+ ui_cpnt_button_icon_darktheme_default: string;
431
+ ui_cpnt_button_icon_darktheme_primary: string;
432
+ ui_cpnt_button_text_darktheme_default: string;
433
+ ui_cpnt_button_text_darktheme_primary: string;
434
+ ui_35: string;
435
+ ui_cpnt_button_fill_base_black_opacity50: string;
430
436
  }
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export declare type HeroProps = {
3
+ heroText: string;
4
+ leadText?: string;
5
+ leadTextColorTheme?: 'normal' | 'emphasis';
6
+ };
7
+ declare function Hero({ heroText, leadText, leadTextColorTheme }: HeroProps): JSX.Element;
8
+ export default Hero;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ var react_1 = __importDefault(require("react"));
7
+ var hybrid_1 = require("../../../hybrid");
8
+ var TextLabel_1 = require("../TextLabel");
9
+ function Hero(_a) {
10
+ var heroText = _a.heroText, leadText = _a.leadText, _b = _a.leadTextColorTheme, leadTextColorTheme = _b === void 0 ? 'normal' : _b;
11
+ return (react_1.default.createElement(react_1.default.Fragment, null,
12
+ react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_h" }),
13
+ react_1.default.createElement(TextLabel_1.TextLabel, { styleTheme: "displayBold", colorTheme: "sysTextPrimary", text: heroText }),
14
+ leadText && (react_1.default.createElement(react_1.default.Fragment, null,
15
+ react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_f" }),
16
+ react_1.default.createElement(TextLabel_1.TextLabel, { styleTheme: "leadParaRegular", colorTheme: leadTextColorTheme === 'emphasis' ? 'sysTextPrimary' : 'sysTextSecondary', text: leadText })))));
17
+ }
18
+ exports.default = Hero;
@@ -0,0 +1 @@
1
+ export { default as Hero } from './Hero';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Hero = void 0;
7
+ var Hero_1 = require("./Hero");
8
+ Object.defineProperty(exports, "Hero", { enumerable: true, get: function () { return __importDefault(Hero_1).default; } });
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ export declare type StatusBlockProps = {
3
+ text?: string;
4
+ size?: 'large' | 'medium' | 'small';
5
+ state?: 'basic' | 'standby' | 'proceeding' | 'cancel' | 'end' | 'error';
6
+ width?: number | 'responsive';
7
+ };
8
+ export declare type StyleProps = {
9
+ $width?: number | 'responsive';
10
+ };
11
+ declare function StatusBlock({ text, size, state, width }: StatusBlockProps): JSX.Element;
12
+ export default StatusBlock;
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
+ if (k2 === undefined) k2 = k;
8
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ var react_1 = __importDefault(require("react"));
30
+ var styled_components_1 = __importStar(require("styled-components"));
31
+ var TextLabel_1 = require("../TextLabel");
32
+ function StatusBlock(_a) {
33
+ var text = _a.text, _b = _a.size, size = _b === void 0 ? 'large' : _b, _c = _a.state, state = _c === void 0 ? 'basic' : _c, _d = _a.width, width = _d === void 0 ? 'responsive' : _d;
34
+ var textLabelStyleThemeObj = {
35
+ large: 'body1Bold',
36
+ medium: 'body1Bold',
37
+ small: 'body2Bold'
38
+ };
39
+ return (react_1.default.createElement(S_StatusBlock, { size: size, state: state, "$width": width },
40
+ react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textLabelStyleThemeObj[size], textAlign: "center", singleLineMode: "use", colorTheme: "sysTextWhite" })));
41
+ }
42
+ var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 8px;\n height: 48px;\n"], ["\n border-radius: 8px;\n height: 48px;\n"])));
43
+ var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 8px;\n height: 40px;\n"], ["\n border-radius: 8px;\n height: 40px;\n"])));
44
+ var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 8px;\n height: 32px;\n"], ["\n border-radius: 8px;\n height: 32px;\n"])));
45
+ var basic = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
46
+ var theme = _a.theme;
47
+ return theme.ui_cpnt_statusblock_basic;
48
+ });
49
+ var standby = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
50
+ var theme = _a.theme;
51
+ return theme.ui_cpnt_statusblock_standby;
52
+ });
53
+ var proceeding = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
54
+ var theme = _a.theme;
55
+ return theme.ui_cpnt_statusblock_proceeding;
56
+ });
57
+ var cancel = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
58
+ var theme = _a.theme;
59
+ return theme.ui_cpnt_statusblock_cancel;
60
+ });
61
+ var end = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
62
+ var theme = _a.theme;
63
+ return theme.ui_cpnt_statusblock_end;
64
+ });
65
+ var error = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
66
+ var theme = _a.theme;
67
+ return theme.ui_cpnt_statusblock_error;
68
+ });
69
+ var S_StatusBlock = styled_components_1.default.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n width: ", ";\n\n ", "\n ", ";\n\n & > div {\n width: 100%;\n }\n"], ["\n align-items: center;\n display: flex;\n width: ", ";\n\n ", "\n ", ";\n\n & > div {\n width: 100%;\n }\n"])), function (_a) {
70
+ var $width = _a.$width;
71
+ return ($width === 'responsive' ? '100%' : $width + "px");
72
+ }, function (_a) {
73
+ var size = _a.size;
74
+ return size && { large: large, medium: medium, small: small }[size];
75
+ }, function (_a) {
76
+ var state = _a.state;
77
+ return state &&
78
+ {
79
+ basic: basic,
80
+ standby: standby,
81
+ proceeding: proceeding,
82
+ cancel: cancel,
83
+ end: end,
84
+ error: error
85
+ }[state];
86
+ });
87
+ exports.default = StatusBlock;
88
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10;
@@ -0,0 +1 @@
1
+ export { default as StatusBlock } from './StatusBlock';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.StatusBlock = void 0;
7
+ var StatusBlock_1 = require("./StatusBlock");
8
+ Object.defineProperty(exports, "StatusBlock", { enumerable: true, get: function () { return __importDefault(StatusBlock_1).default; } });
@@ -1,2 +1,4 @@
1
+ import { Hero } from './Hero';
2
+ import { StatusBlock } from './StatusBlock';
1
3
  import { TextLabel } from './TextLabel';
2
- export { TextLabel };
4
+ export { Hero, StatusBlock, TextLabel };
@@ -1,5 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextLabel = void 0;
3
+ exports.TextLabel = exports.StatusBlock = exports.Hero = void 0;
4
+ var Hero_1 = require("./Hero");
5
+ Object.defineProperty(exports, "Hero", { enumerable: true, get: function () { return Hero_1.Hero; } });
6
+ var StatusBlock_1 = require("./StatusBlock");
7
+ Object.defineProperty(exports, "StatusBlock", { enumerable: true, get: function () { return StatusBlock_1.StatusBlock; } });
4
8
  var TextLabel_1 = require("./TextLabel");
5
9
  Object.defineProperty(exports, "TextLabel", { enumerable: true, get: function () { return TextLabel_1.TextLabel; } });
@@ -9,5 +9,5 @@ import { LayoutWT } from './layout/LayoutWT';
9
9
  import { GlobalMenuContainer as WTGlobalMenuContainer } from './layout/LayoutWT/Containers';
10
10
  import { ContainersBox as WTContainersBox } from './layout/LayoutWT/ContainersBox';
11
11
  export { LayoutWT, WTGlobalMenuContainer, WTContainersBox };
12
- import { TextLabel as D_TextLabel } from './components';
13
- export { D_TextLabel };
12
+ import { Hero as D_Hero, StatusBlock as D_StatusBlock, TextLabel as D_TextLabel } from './components';
13
+ export { D_Hero, D_StatusBlock, D_TextLabel };
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable import/order */
3
3
  /* eslint-disable import/first */
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.D_TextLabel = exports.WTContainersBox = exports.WTGlobalMenuContainer = exports.LayoutWT = exports.WSContainersBox = exports.WSGlobalMenuContainer = exports.LayoutWS = exports.WFContainersBox = exports.LayoutWF = void 0;
5
+ exports.D_TextLabel = exports.D_StatusBlock = exports.D_Hero = exports.WTContainersBox = exports.WTGlobalMenuContainer = exports.LayoutWT = exports.WSContainersBox = exports.WSGlobalMenuContainer = exports.LayoutWS = exports.WFContainersBox = exports.LayoutWF = void 0;
6
6
  // layoutWF
7
7
  var LayoutWF_1 = require("./layout/LayoutWF");
8
8
  Object.defineProperty(exports, "LayoutWF", { enumerable: true, get: function () { return LayoutWF_1.LayoutWF; } });
@@ -24,4 +24,6 @@ var ContainersBox_3 = require("./layout/LayoutWT/ContainersBox");
24
24
  Object.defineProperty(exports, "WTContainersBox", { enumerable: true, get: function () { return ContainersBox_3.ContainersBox; } });
25
25
  // components
26
26
  var components_1 = require("./components");
27
+ Object.defineProperty(exports, "D_Hero", { enumerable: true, get: function () { return components_1.Hero; } });
28
+ Object.defineProperty(exports, "D_StatusBlock", { enumerable: true, get: function () { return components_1.StatusBlock; } });
27
29
  Object.defineProperty(exports, "D_TextLabel", { enumerable: true, get: function () { return components_1.TextLabel; } });
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export declare type DividerProps = {
3
+ displayType?: 'line' | 'area';
4
+ direction?: 'vertical' | 'horizontal';
5
+ height?: number;
6
+ };
7
+ declare function Divider({ displayType, direction, height }: DividerProps): JSX.Element;
8
+ export default Divider;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
+ if (k2 === undefined) k2 = k;
8
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ var react_1 = __importDefault(require("react"));
30
+ var styled_components_1 = __importStar(require("styled-components"));
31
+ function Divider(_a) {
32
+ var _b = _a.displayType, displayType = _b === void 0 ? 'line' : _b, _c = _a.direction, direction = _c === void 0 ? 'horizontal' : _c, height = _a.height;
33
+ return react_1.default.createElement(S_Divider, { displayType: displayType, "$height": height, "$direction": direction });
34
+ }
35
+ var horizontal = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: ", ";\n width: 100%;\n"], ["\n height: ", ";\n width: 100%;\n"])), function (_a) {
36
+ var displayType = _a.displayType;
37
+ return displayType &&
38
+ {
39
+ line: '1px',
40
+ area: '16px'
41
+ }[displayType];
42
+ });
43
+ var vertical = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: inline-block;\n height: ", ";\n width: 1px;\n"], ["\n display: inline-block;\n height: ", ";\n width: 1px;\n"])), function (_a) {
44
+ var $height = _a.$height;
45
+ return ($height ? $height + "px" : '100%');
46
+ });
47
+ var S_Divider = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n ", ";\n ", ";\n"], ["\n background-color: ", ";\n ", ";\n ", ";\n"])), function (_a) {
48
+ var theme = _a.theme;
49
+ return theme.ui_cpnt_divider;
50
+ }, function (_a) {
51
+ var $direction = _a.$direction;
52
+ return $direction === 'horizontal' && horizontal;
53
+ }, function (_a) {
54
+ var $direction = _a.$direction, displayType = _a.displayType;
55
+ return $direction === 'vertical' && displayType === 'line' && vertical;
56
+ });
57
+ exports.default = Divider;
58
+ var templateObject_1, templateObject_2, templateObject_3;