playbook_ui 12.36.0 → 12.37.0.pre.alpha.PLAY951collapsiblenav31073

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/index.js +2 -1
  3. data/app/pb_kits/playbook/pb_badge/docs/_badge_colors_swift.md +33 -0
  4. data/app/pb_kits/playbook/pb_badge/docs/_badge_default_swift.md +9 -0
  5. data/app/pb_kits/playbook/pb_badge/docs/_badge_notification_swift.md +9 -0
  6. data/app/pb_kits/playbook/pb_badge/docs/_badge_props_swift.md +6 -0
  7. data/app/pb_kits/playbook/pb_badge/docs/_badge_rounded_swift.md +9 -0
  8. data/app/pb_kits/playbook/pb_badge/docs/example.yml +7 -0
  9. data/app/pb_kits/playbook/pb_collapsible/_collapsible.scss +6 -0
  10. data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +15 -13
  11. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.tsx +25 -8
  12. data/app/pb_kits/playbook/pb_collapsible/collapsible_main.html.erb +1 -1
  13. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_color.jsx +2 -2
  14. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.jsx +2 -2
  15. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx +11 -4
  16. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.md +1 -1
  17. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_size.jsx +5 -5
  18. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_state.jsx +75 -0
  19. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_state.md +3 -0
  20. data/app/pb_kits/playbook/pb_collapsible/docs/example.yml +7 -6
  21. data/app/pb_kits/playbook/pb_collapsible/docs/index.js +2 -1
  22. data/app/pb_kits/playbook/pb_collapsible/useCollapsible.tsx +14 -0
  23. data/app/pb_kits/playbook/pb_date/_date.tsx +7 -8
  24. data/app/pb_kits/playbook/pb_date/docs/_date_alignment.jsx +2 -2
  25. data/app/pb_kits/playbook/pb_date/docs/_date_default.jsx +29 -5
  26. data/app/pb_kits/playbook/pb_date/docs/_date_unstyled.jsx +2 -2
  27. data/app/pb_kits/playbook/pb_date/docs/_date_variants.jsx +5 -5
  28. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.tsx +45 -31
  29. data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.tsx +5 -3
  30. data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.tsx +24 -21
  31. data/app/pb_kits/playbook/pb_date_time/_date_time.tsx +1 -1
  32. data/app/pb_kits/playbook/pb_date_time/dateTime.test.js +1 -1
  33. data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.tsx +2 -2
  34. data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.test.js +1 -1
  35. data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.tsx +6 -8
  36. data/app/pb_kits/playbook/pb_kit/dateTime.ts +146 -63
  37. data/app/pb_kits/playbook/pb_label_value/_label_value.tsx +52 -31
  38. data/app/pb_kits/playbook/pb_message/_message.tsx +24 -24
  39. data/app/pb_kits/playbook/pb_nav/_collapsible_nav.scss +273 -3
  40. data/app/pb_kits/playbook/pb_nav/_horizontal_nav.scss +6 -0
  41. data/app/pb_kits/playbook/pb_nav/_item.tsx +47 -10
  42. data/app/pb_kits/playbook/pb_nav/_mixins.scss +5 -0
  43. data/app/pb_kits/playbook/pb_nav/_subtle_mixin.scss +6 -7
  44. data/app/pb_kits/playbook/pb_nav/_vertical_nav.scss +1 -1
  45. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx +13 -6
  46. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.md +1 -0
  47. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_custom.jsx +58 -0
  48. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_custom.md +1 -0
  49. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.html.erb +23 -0
  50. data/app/pb_kits/playbook/pb_nav/docs/{_collapsible_nav_custom_icons.jsx → _collapsible_nav_emphasize.jsx} +18 -11
  51. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.md +1 -0
  52. data/app/pb_kits/playbook/pb_nav/docs/example.yml +5 -3
  53. data/app/pb_kits/playbook/pb_nav/docs/index.js +2 -1
  54. data/app/pb_kits/playbook/pb_nav/item.html.erb +5 -4
  55. data/app/pb_kits/playbook/pb_nav/item.rb +25 -2
  56. data/app/pb_kits/playbook/pb_pill/docs/_pill_default_swift.md +5 -0
  57. data/app/pb_kits/playbook/pb_pill/docs/_pill_props_swift.md +5 -0
  58. data/app/pb_kits/playbook/pb_pill/docs/_pill_variants_swift.md +10 -0
  59. data/app/pb_kits/playbook/pb_pill/docs/example.yml +5 -0
  60. data/app/pb_kits/playbook/pb_radio/docs/_radio_alignment_swift.md +16 -0
  61. data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_swift.md +18 -0
  62. data/app/pb_kits/playbook/pb_radio/docs/_radio_default_swift.md +15 -0
  63. data/app/pb_kits/playbook/pb_radio/docs/_radio_error_swift.md +14 -0
  64. data/app/pb_kits/playbook/pb_radio/docs/_radio_orientation_swift.md +15 -0
  65. data/app/pb_kits/playbook/pb_radio/docs/_radio_padding_swift.md +31 -0
  66. data/app/pb_kits/playbook/pb_radio/docs/_radio_props_swift.md +10 -0
  67. data/app/pb_kits/playbook/pb_radio/docs/_radio_spacing_swift.md +36 -0
  68. data/app/pb_kits/playbook/pb_radio/docs/_radio_subtitle_swift.md +13 -0
  69. data/app/pb_kits/playbook/pb_radio/docs/example.yml +11 -0
  70. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_options.html.erb +12 -0
  71. data/app/pb_kits/playbook/pb_text_input/docs/example.yml +1 -0
  72. data/app/pb_kits/playbook/pb_text_input/text_input.rb +1 -1
  73. data/app/pb_kits/playbook/pb_time/_time.tsx +9 -11
  74. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.tsx +46 -49
  75. data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.tsx +4 -6
  76. data/app/pb_kits/playbook/pb_timestamp/_timestamp.tsx +11 -11
  77. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md +45 -0
  78. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default_swift.md +26 -0
  79. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed_swift.md +25 -0
  80. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_props_swift.md +10 -0
  81. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones_swift.md +67 -0
  82. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_swift.md +19 -0
  83. data/app/pb_kits/playbook/pb_timestamp/docs/example.yml +8 -0
  84. data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.tsx +8 -11
  85. data/dist/playbook-rails.js +7 -7
  86. data/lib/playbook/version.rb +2 -2
  87. metadata +41 -9
  88. data/app/pb_kits/playbook/pb_logistic/_logistic.jsx +0 -120
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "12.35.0"
5
- VERSION = "12.36.0"
4
+ PREVIOUS_VERSION = "12.37.0"
5
+ VERSION = "12.37.0.pre.alpha.PLAY951collapsiblenav31073"
6
6
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.36.0
4
+ version: 12.37.0.pre.alpha.PLAY951collapsiblenav31073
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
8
8
  - Power Devs
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-08-04 00:00:00.000000000 Z
12
+ date: 2023-08-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -342,12 +342,17 @@ files:
342
342
  - app/pb_kits/playbook/pb_badge/badge.test.js
343
343
  - app/pb_kits/playbook/pb_badge/docs/_badge_colors.html.erb
344
344
  - app/pb_kits/playbook/pb_badge/docs/_badge_colors.jsx
345
+ - app/pb_kits/playbook/pb_badge/docs/_badge_colors_swift.md
345
346
  - app/pb_kits/playbook/pb_badge/docs/_badge_default.html.erb
346
347
  - app/pb_kits/playbook/pb_badge/docs/_badge_default.jsx
348
+ - app/pb_kits/playbook/pb_badge/docs/_badge_default_swift.md
347
349
  - app/pb_kits/playbook/pb_badge/docs/_badge_notification.html.erb
348
350
  - app/pb_kits/playbook/pb_badge/docs/_badge_notification.jsx
351
+ - app/pb_kits/playbook/pb_badge/docs/_badge_notification_swift.md
352
+ - app/pb_kits/playbook/pb_badge/docs/_badge_props_swift.md
349
353
  - app/pb_kits/playbook/pb_badge/docs/_badge_rounded.html.erb
350
354
  - app/pb_kits/playbook/pb_badge/docs/_badge_rounded.jsx
355
+ - app/pb_kits/playbook/pb_badge/docs/_badge_rounded_swift.md
351
356
  - app/pb_kits/playbook/pb_badge/docs/_description.md
352
357
  - app/pb_kits/playbook/pb_badge/docs/example.yml
353
358
  - app/pb_kits/playbook/pb_badge/docs/index.js
@@ -611,9 +616,12 @@ files:
611
616
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_size.html.erb
612
617
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_size.jsx
613
618
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_size.md
619
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_state.jsx
620
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_state.md
614
621
  - app/pb_kits/playbook/pb_collapsible/docs/example.yml
615
622
  - app/pb_kits/playbook/pb_collapsible/docs/index.js
616
623
  - app/pb_kits/playbook/pb_collapsible/index.js
624
+ - app/pb_kits/playbook/pb_collapsible/useCollapsible.tsx
617
625
  - app/pb_kits/playbook/pb_contact/_contact.scss
618
626
  - app/pb_kits/playbook/pb_contact/_contact.tsx
619
627
  - app/pb_kits/playbook/pb_contact/contact.html.erb
@@ -1428,7 +1436,6 @@ files:
1428
1436
  - app/pb_kits/playbook/pb_loading_inline/loading_inline.html.erb
1429
1437
  - app/pb_kits/playbook/pb_loading_inline/loading_inline.rb
1430
1438
  - app/pb_kits/playbook/pb_loading_inline/loading_inline.test.js
1431
- - app/pb_kits/playbook/pb_logistic/_logistic.jsx
1432
1439
  - app/pb_kits/playbook/pb_map/_map.scss
1433
1440
  - app/pb_kits/playbook/pb_map/_map.tsx
1434
1441
  - app/pb_kits/playbook/pb_map/_map_controls.tsx
@@ -1514,6 +1521,7 @@ files:
1514
1521
  - app/pb_kits/playbook/pb_nav/_collapsible_nav.scss
1515
1522
  - app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
1516
1523
  - app/pb_kits/playbook/pb_nav/_item.tsx
1524
+ - app/pb_kits/playbook/pb_nav/_mixins.scss
1517
1525
  - app/pb_kits/playbook/pb_nav/_nav.scss
1518
1526
  - app/pb_kits/playbook/pb_nav/_nav.test.js
1519
1527
  - app/pb_kits/playbook/pb_nav/_nav.tsx
@@ -1532,7 +1540,12 @@ files:
1532
1540
  - app/pb_kits/playbook/pb_nav/docs/_borderless_nav.jsx
1533
1541
  - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.html.erb
1534
1542
  - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
1535
- - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_custom_icons.jsx
1543
+ - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.md
1544
+ - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_custom.jsx
1545
+ - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_custom.md
1546
+ - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.html.erb
1547
+ - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.jsx
1548
+ - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.md
1536
1549
  - app/pb_kits/playbook/pb_nav/docs/_default_nav.html.erb
1537
1550
  - app/pb_kits/playbook/pb_nav/docs/_default_nav.jsx
1538
1551
  - app/pb_kits/playbook/pb_nav/docs/_description.md
@@ -1666,11 +1679,14 @@ files:
1666
1679
  - app/pb_kits/playbook/pb_pill/docs/_description.md
1667
1680
  - app/pb_kits/playbook/pb_pill/docs/_pill_default.html.erb
1668
1681
  - app/pb_kits/playbook/pb_pill/docs/_pill_default.jsx
1682
+ - app/pb_kits/playbook/pb_pill/docs/_pill_default_swift.md
1669
1683
  - app/pb_kits/playbook/pb_pill/docs/_pill_example.html.erb
1670
1684
  - app/pb_kits/playbook/pb_pill/docs/_pill_example.jsx
1671
1685
  - app/pb_kits/playbook/pb_pill/docs/_pill_example.md
1686
+ - app/pb_kits/playbook/pb_pill/docs/_pill_props_swift.md
1672
1687
  - app/pb_kits/playbook/pb_pill/docs/_pill_variants.html.erb
1673
1688
  - app/pb_kits/playbook/pb_pill/docs/_pill_variants.jsx
1689
+ - app/pb_kits/playbook/pb_pill/docs/_pill_variants_swift.md
1674
1690
  - app/pb_kits/playbook/pb_pill/docs/example.yml
1675
1691
  - app/pb_kits/playbook/pb_pill/docs/index.js
1676
1692
  - app/pb_kits/playbook/pb_pill/pill.html.erb
@@ -1755,14 +1771,23 @@ files:
1755
1771
  - app/pb_kits/playbook/pb_radio/docs/_footer.md
1756
1772
  - app/pb_kits/playbook/pb_radio/docs/_radio_alignment.html.erb
1757
1773
  - app/pb_kits/playbook/pb_radio/docs/_radio_alignment.jsx
1774
+ - app/pb_kits/playbook/pb_radio/docs/_radio_alignment_swift.md
1758
1775
  - app/pb_kits/playbook/pb_radio/docs/_radio_custom.html.erb
1759
1776
  - app/pb_kits/playbook/pb_radio/docs/_radio_custom.jsx
1777
+ - app/pb_kits/playbook/pb_radio/docs/_radio_custom_swift.md
1760
1778
  - app/pb_kits/playbook/pb_radio/docs/_radio_default.html.erb
1761
1779
  - app/pb_kits/playbook/pb_radio/docs/_radio_default.jsx
1780
+ - app/pb_kits/playbook/pb_radio/docs/_radio_default_swift.md
1762
1781
  - app/pb_kits/playbook/pb_radio/docs/_radio_error.html.erb
1763
1782
  - app/pb_kits/playbook/pb_radio/docs/_radio_error.jsx
1764
1783
  - app/pb_kits/playbook/pb_radio/docs/_radio_error.md
1784
+ - app/pb_kits/playbook/pb_radio/docs/_radio_error_swift.md
1765
1785
  - app/pb_kits/playbook/pb_radio/docs/_radio_options.html.erb
1786
+ - app/pb_kits/playbook/pb_radio/docs/_radio_orientation_swift.md
1787
+ - app/pb_kits/playbook/pb_radio/docs/_radio_padding_swift.md
1788
+ - app/pb_kits/playbook/pb_radio/docs/_radio_props_swift.md
1789
+ - app/pb_kits/playbook/pb_radio/docs/_radio_spacing_swift.md
1790
+ - app/pb_kits/playbook/pb_radio/docs/_radio_subtitle_swift.md
1766
1791
  - app/pb_kits/playbook/pb_radio/docs/example.yml
1767
1792
  - app/pb_kits/playbook/pb_radio/docs/index.js
1768
1793
  - app/pb_kits/playbook/pb_radio/radio.html.erb
@@ -2096,6 +2121,7 @@ files:
2096
2121
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
2097
2122
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.html.erb
2098
2123
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.jsx
2124
+ - app/pb_kits/playbook/pb_text_input/docs/_text_input_options.html.erb
2099
2125
  - app/pb_kits/playbook/pb_text_input/docs/example.yml
2100
2126
  - app/pb_kits/playbook/pb_text_input/docs/index.js
2101
2127
  - app/pb_kits/playbook/pb_text_input/text_input.html.erb
@@ -2192,14 +2218,20 @@ files:
2192
2218
  - app/pb_kits/playbook/pb_timestamp/docs/_time_stamp_default.md
2193
2219
  - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align.html.erb
2194
2220
  - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align.jsx
2221
+ - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
2195
2222
  - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.html.erb
2196
2223
  - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.jsx
2224
+ - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default_swift.md
2197
2225
  - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed.html.erb
2198
2226
  - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed.jsx
2227
+ - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed_swift.md
2228
+ - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_props_swift.md
2199
2229
  - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.html.erb
2200
2230
  - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.jsx
2231
+ - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones_swift.md
2201
2232
  - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated.html.erb
2202
2233
  - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated.jsx
2234
+ - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_swift.md
2203
2235
  - app/pb_kits/playbook/pb_timestamp/docs/example.yml
2204
2236
  - app/pb_kits/playbook/pb_timestamp/docs/index.js
2205
2237
  - app/pb_kits/playbook/pb_timestamp/timestamp.html.erb
@@ -2563,7 +2595,7 @@ homepage: https://playbook.powerapp.cloud/
2563
2595
  licenses:
2564
2596
  - ISC
2565
2597
  metadata: {}
2566
- post_install_message:
2598
+ post_install_message:
2567
2599
  rdoc_options: []
2568
2600
  require_paths:
2569
2601
  - lib
@@ -2574,12 +2606,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
2574
2606
  version: '0'
2575
2607
  required_rubygems_version: !ruby/object:Gem::Requirement
2576
2608
  requirements:
2577
- - - ">="
2609
+ - - ">"
2578
2610
  - !ruby/object:Gem::Version
2579
- version: '0'
2611
+ version: 1.3.1
2580
2612
  requirements: []
2581
2613
  rubygems_version: 3.3.7
2582
- signing_key:
2614
+ signing_key:
2583
2615
  specification_version: 4
2584
2616
  summary: Playbook Design System
2585
2617
  test_files: []
@@ -1,120 +0,0 @@
1
- /* @flow */
2
-
3
- import React from 'react'
4
- import classnames from 'classnames'
5
-
6
- import DateTime from '../pb_kit/dateTime'
7
- import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
8
- import { globalProps } from '../utilities/globalProps'
9
-
10
- import Body from '../pb_body/_body'
11
- import Caption from '../pb_caption/_caption'
12
- import Icon from '../pb_icon/_icon'
13
- import Title from '../pb_title/_title'
14
-
15
- const dateString = (value: DateTime) => {
16
- const month = value.toMonthNum()
17
- const day = value.toDay()
18
-
19
- return ` · ${month}/${day}`
20
- }
21
-
22
- type LogisticProps = {
23
- aria?: object,
24
- className?: string,
25
- dark?: boolean,
26
- data?: object,
27
- date: string,
28
- id?: string,
29
- link?: string,
30
- projectName?: string,
31
- projectNumber?: number,
32
- }
33
-
34
- const Logistic = (props: LogisticProps) => {
35
- const { aria = {},
36
- className,
37
- dark = false,
38
- data = {},
39
- date,
40
- id,
41
- link,
42
- projectName,
43
- projectNumber } = props
44
-
45
- const ariaProps = buildAriaProps(aria)
46
- const dataProps = buildDataProps(data)
47
- const formattedDate = new DateTime({ value: date })
48
- const classes = classnames(
49
- buildCss('pb_logistic_kit', { dark }),
50
- globalProps(props),
51
- className
52
- )
53
-
54
- return (
55
- <div
56
- {...ariaProps}
57
- {...dataProps}
58
- className={classes}
59
- id={id}
60
- >
61
- <Body color="light">
62
- <Caption text="Project" />
63
- <Icon
64
- fixedWidth
65
- icon="home"
66
- />
67
-
68
- {` ${projectNumber}`}
69
-
70
- <Choose>
71
- <When condition={link}>
72
- <a
73
- className="pb_logistic_kit_links"
74
- href={link}
75
- >
76
- <Choose>
77
- <When condition={date}>
78
- <Title
79
- size={4}
80
- tag="span"
81
- text={' ' + projectName + dateString(formattedDate)}
82
- />
83
- </When>
84
- <Otherwise>
85
- <Title
86
- size={4}
87
- tag="span"
88
- text={' ' + projectName}
89
- />
90
- </Otherwise>
91
- </Choose>
92
- </a>
93
- </When>
94
- <Otherwise>
95
- <Choose>
96
- <When condition={date}>
97
- <Title
98
- dark={dark}
99
- size={4}
100
- tag="span"
101
- text={' ' + projectName + dateString(formattedDate)}
102
- />
103
- </When>
104
- <Otherwise>
105
- <Title
106
- dark={dark}
107
- size={4}
108
- tag="span"
109
- text={' ' + projectName}
110
- />
111
- </Otherwise>
112
- </Choose>
113
- </Otherwise>
114
- </Choose>
115
- </Body>
116
- </div>
117
- )
118
- }
119
-
120
- export default Logistic