playbook_ui 7.4.1 → 7.4.2

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 (25) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_timestamp/_timestamp.html.erb +1 -13
  3. data/app/pb_kits/playbook/pb_timestamp/_timestamp.jsx +20 -96
  4. data/app/pb_kits/playbook/pb_timestamp/_timestamp.scss +1 -12
  5. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.html.erb +1 -21
  6. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.jsx +4 -31
  7. data/app/pb_kits/playbook/pb_timestamp/docs/example.yml +0 -14
  8. data/app/pb_kits/playbook/pb_timestamp/docs/index.js +0 -7
  9. data/app/pb_kits/playbook/pb_timestamp/timestamp.rb +1 -67
  10. data/lib/playbook/version.rb +1 -1
  11. metadata +2 -16
  12. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align.html.erb +0 -69
  13. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align.jsx +0 -91
  14. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed.html.erb +0 -14
  15. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed.jsx +0 -27
  16. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed_align.html.erb +0 -54
  17. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed_align.jsx +0 -73
  18. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.html.erb +0 -59
  19. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.jsx +0 -74
  20. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones_align.html.erb +0 -177
  21. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones_align.jsx +0 -209
  22. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated.html.erb +0 -35
  23. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated.jsx +0 -51
  24. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_align.html.erb +0 -123
  25. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_align.jsx +0 -146
@@ -1,209 +0,0 @@
1
- import React from 'react'
2
- import Timestamp from '../_timestamp.jsx'
3
-
4
- const TimestampTimezonesAlign = (props) => {
5
- return (
6
- <div>
7
- <Timestamp
8
- align="left"
9
- showDate="false"
10
- showTimezone="true"
11
- timestamp={new Date().getTime()}
12
- timezone="America/New_York"
13
- {...props}
14
- />
15
-
16
- <br />
17
-
18
- <Timestamp
19
- align="left"
20
- showDate="true"
21
- showTimezone="true"
22
- timestamp={new Date().getTime()}
23
- timezone="America/New_York"
24
- {...props}
25
- />
26
-
27
- <br />
28
-
29
- <Timestamp
30
- align="left"
31
- showDate="true"
32
- showTimezone="true"
33
- timestamp={new Date((new Date()).getFullYear() + 4, (new Date().getMonth()), (new Date().getDate() + 1)).getTime()}
34
- timezone="America/New_York"
35
- {...props}
36
- />
37
-
38
- <br />
39
-
40
- <Timestamp
41
- align="left"
42
- showDate="false"
43
- showTimezone="true"
44
- timestamp={new Date().getTime()}
45
- timezone="Asia/Hong_Kong"
46
- {...props}
47
- />
48
-
49
- <br />
50
-
51
- <Timestamp
52
- align="left"
53
- showDate="true"
54
- showTimezone="true"
55
- timestamp={new Date().getTime()}
56
- timezone="Asia/Hong_Kong"
57
- {...props}
58
- />
59
-
60
- <br />
61
-
62
- <Timestamp
63
- align="left"
64
- showDate="true"
65
- showTimezone="true"
66
- timestamp={new Date((new Date()).getFullYear() + 4, (new Date().getMonth()), (new Date().getDate() + 1)).getTime()}
67
- timezone="Asia/Hong_Kong"
68
- {...props}
69
- />
70
-
71
- <br />
72
- <br />
73
-
74
- <Timestamp
75
- align="center"
76
- showDate="false"
77
- showTimezone="true"
78
- timestamp={new Date().getTime()}
79
- timezone="America/New_York"
80
- {...props}
81
- />
82
-
83
- <br />
84
-
85
- <Timestamp
86
- align="center"
87
- showDate="true"
88
- showTimezone="true"
89
- timestamp={new Date().getTime()}
90
- timezone="America/New_York"
91
- {...props}
92
- />
93
-
94
- <br />
95
-
96
- <Timestamp
97
- align="center"
98
- showDate="true"
99
- showTimezone="true"
100
- timestamp={new Date((new Date()).getFullYear() + 4, (new Date().getMonth()), (new Date().getDate() + 1)).getTime()}
101
- timezone="America/New_York"
102
- {...props}
103
- />
104
-
105
- <br />
106
-
107
- <Timestamp
108
- align="center"
109
- showDate="false"
110
- showTimezone="true"
111
- timestamp={new Date().getTime()}
112
- timezone="Asia/Hong_Kong"
113
- {...props}
114
- />
115
-
116
- <br />
117
-
118
- <Timestamp
119
- align="center"
120
- showDate="true"
121
- showTimezone="true"
122
- timestamp={new Date().getTime()}
123
- timezone="Asia/Hong_Kong"
124
- {...props}
125
- />
126
-
127
- <br />
128
-
129
- <Timestamp
130
- align="center"
131
- showDate="true"
132
- showTimezone="true"
133
- timestamp={new Date((new Date()).getFullYear() + 4, (new Date().getMonth()), (new Date().getDate() + 1)).getTime()}
134
- timezone="Asia/Hong_Kong"
135
- {...props}
136
- />
137
-
138
- <br />
139
- <br />
140
-
141
- <Timestamp
142
- align="right"
143
- showDate="false"
144
- showTimezone="true"
145
- timestamp={new Date().getTime()}
146
- timezone="America/New_York"
147
- {...props}
148
- />
149
-
150
- <br />
151
-
152
- <Timestamp
153
- align="right"
154
- showDate="true"
155
- showTimezone="true"
156
- timestamp={new Date().getTime()}
157
- timezone="America/New_York"
158
- {...props}
159
- />
160
-
161
- <br />
162
-
163
- <Timestamp
164
- align="right"
165
- showDate="true"
166
- showTimezone="true"
167
- timestamp={new Date((new Date()).getFullYear() + 4, (new Date().getMonth()), (new Date().getDate() + 1)).getTime()}
168
- timezone="America/New_York"
169
- {...props}
170
- />
171
-
172
- <br />
173
-
174
- <Timestamp
175
- align="right"
176
- showDate="false"
177
- showTimezone="true"
178
- timestamp={new Date().getTime()}
179
- timezone="Asia/Hong_Kong"
180
- {...props}
181
- />
182
-
183
- <br />
184
-
185
- <Timestamp
186
- align="right"
187
- showDate="true"
188
- showTimezone="true"
189
- timestamp={new Date().getTime()}
190
- timezone="Asia/Hong_Kong"
191
- {...props}
192
- />
193
-
194
- <br />
195
-
196
- <Timestamp
197
- align="right"
198
- showDate="true"
199
- showTimezone="true"
200
- timestamp={new Date((new Date()).getFullYear() + 4, (new Date().getMonth()), (new Date().getDate() + 1)).getTime()}
201
- timezone="Asia/Hong_Kong"
202
- {...props}
203
- />
204
-
205
- </div>
206
- )
207
- }
208
-
209
- export default TimestampTimezonesAlign
@@ -1,35 +0,0 @@
1
- <%= pb_rails("timestamp", props: {
2
- timestamp: DateTime.now,
3
- variant: "updated",
4
- show_user: true,
5
- text: "Maricris Nonato"
6
- }) %>
7
-
8
- <br>
9
-
10
- <%= pb_rails("timestamp", props: {
11
- timestamp: DateTime.now,
12
- variant: "updated",
13
- show_user: false
14
- }) %>
15
-
16
- <br><br>
17
-
18
- <%= pb_rails("timestamp", props: {
19
- timestamp: DateTime.now,
20
- variant: "updated",
21
- show_user: true,
22
- show_timezone: true,
23
- text: "Maricris Nonato",
24
- timezone: "America/New_York"
25
- }) %>
26
-
27
- <br>
28
-
29
- <%= pb_rails("timestamp", props: {
30
- timestamp: DateTime.now,
31
- variant: "updated",
32
- show_user: false,
33
- show_timezone: true,
34
- timezone: "America/New_York"
35
- }) %>
@@ -1,51 +0,0 @@
1
- import React from 'react'
2
- import Timestamp from '../_timestamp.jsx'
3
-
4
- const TimestampUpdated = (props) => {
5
- return (
6
- <div>
7
- <Timestamp
8
- showUser="true"
9
- text="Maricris Nonato"
10
- timestamp={new Date().getTime()}
11
- variant="updated"
12
- {...props}
13
- />
14
-
15
- <br />
16
-
17
- <Timestamp
18
- showUser="false"
19
- timestamp={new Date().getTime()}
20
- variant="updated"
21
- {...props}
22
- />
23
-
24
- <br />
25
- <br />
26
-
27
- <Timestamp
28
- showTimezone="true"
29
- showUser="true"
30
- text="Maricris Nonato"
31
- timestamp={new Date().getTime()}
32
- timezone="America/New_York"
33
- variant="updated"
34
- {...props}
35
- />
36
-
37
- <br />
38
-
39
- <Timestamp
40
- showTimezone="true"
41
- showUser="false"
42
- timestamp={new Date().getTime()}
43
- timezone="America/New_York"
44
- variant="updated"
45
- {...props}
46
- />
47
- </div>
48
- )
49
- }
50
-
51
- export default TimestampUpdated
@@ -1,123 +0,0 @@
1
- <%= pb_rails("timestamp", props: {
2
- timestamp: DateTime.now,
3
- variant: "updated",
4
- align: "left",
5
- show_user: true,
6
- text: "Maricris Nonato"
7
- }) %>
8
-
9
- <br>
10
-
11
- <%= pb_rails("timestamp", props: {
12
- timestamp: DateTime.now,
13
- variant: "updated",
14
- align: "left",
15
- show_user: false
16
- }) %>
17
-
18
- <br>
19
-
20
- <%= pb_rails("timestamp", props: {
21
- timestamp: DateTime.now,
22
- variant: "updated",
23
- align: "left",
24
- show_user: true,
25
- show_timezone: true,
26
- text: "Maricris Nonato",
27
- timezone: "America/New_York"
28
- }) %>
29
-
30
- <br>
31
-
32
- <%= pb_rails("timestamp", props: {
33
- timestamp: DateTime.now,
34
- variant: "updated",
35
- align: "left",
36
- show_user: false,
37
- show_timezone: true,
38
- timezone: "America/New_York"
39
- }) %>
40
-
41
- <br><br>
42
-
43
- <%= pb_rails("timestamp", props: {
44
- timestamp: DateTime.now,
45
- variant: "updated",
46
- align: "center",
47
- show_user: true,
48
- text: "Maricris Nonato"
49
- }) %>
50
-
51
- <br>
52
-
53
- <%= pb_rails("timestamp", props: {
54
- timestamp: DateTime.now,
55
- variant: "updated",
56
- align: "center",
57
- show_user: false
58
- }) %>
59
-
60
- <br>
61
-
62
- <%= pb_rails("timestamp", props: {
63
- timestamp: DateTime.now,
64
- variant: "updated",
65
- align: "center",
66
- show_user: true,
67
- show_timezone: true,
68
- text: "Maricris Nonato",
69
- timezone: "America/New_York"
70
- }) %>
71
-
72
- <br>
73
-
74
- <%= pb_rails("timestamp", props: {
75
- timestamp: DateTime.now,
76
- variant: "updated",
77
- align: "center",
78
- show_user: false,
79
- show_timezone: true,
80
- timezone: "America/New_York"
81
- }) %>
82
-
83
- <br><br>
84
-
85
- <%= pb_rails("timestamp", props: {
86
- timestamp: DateTime.now,
87
- variant: "updated",
88
- align: "right",
89
- show_user: true,
90
- text: "Maricris Nonato"
91
- }) %>
92
-
93
- <br>
94
-
95
- <%= pb_rails("timestamp", props: {
96
- timestamp: DateTime.now,
97
- variant: "updated",
98
- align: "right",
99
- show_user: false
100
- }) %>
101
-
102
- <br>
103
-
104
- <%= pb_rails("timestamp", props: {
105
- timestamp: DateTime.now,
106
- variant: "updated",
107
- align: "right",
108
- show_user: true,
109
- show_timezone: true,
110
- text: "Maricris Nonato",
111
- timezone: "America/New_York"
112
- }) %>
113
-
114
- <br>
115
-
116
- <%= pb_rails("timestamp", props: {
117
- timestamp: DateTime.now,
118
- variant: "updated",
119
- align: "right",
120
- show_user: false,
121
- show_timezone: true,
122
- timezone: "America/New_York"
123
- }) %>
@@ -1,146 +0,0 @@
1
- import React from 'react'
2
- import Timestamp from '../_timestamp.jsx'
3
-
4
- const TimestampUpdatedAlign = (props) => {
5
- return (
6
- <div>
7
- <Timestamp
8
- align="left"
9
- showUser="true"
10
- text="Maricris Nonato"
11
- timestamp={new Date().getTime()}
12
- variant="updated"
13
- {...props}
14
- />
15
-
16
- <br />
17
-
18
- <Timestamp
19
- align="left"
20
- showUser="false"
21
- timestamp={new Date().getTime()}
22
- variant="updated"
23
- {...props}
24
- />
25
-
26
- <br />
27
-
28
- <Timestamp
29
- showTimezone="true"
30
- showUser="true"
31
- text="Maricris Nonato"
32
- timestamp={new Date().getTime()}
33
- timezone="America/New_York"
34
- variant="updated"
35
- {...props}
36
- />
37
-
38
- <br />
39
-
40
- <Timestamp
41
- showTimezone="true"
42
- showUser="false"
43
- timestamp={new Date().getTime()}
44
- timezone="America/New_York"
45
- variant="updated"
46
- {...props}
47
- />
48
-
49
- <br />
50
- <br />
51
-
52
- <Timestamp
53
- align="center"
54
- showUser="true"
55
- text="Maricris Nonato"
56
- timestamp={new Date().getTime()}
57
- variant="updated"
58
- {...props}
59
- />
60
-
61
- <br />
62
-
63
- <Timestamp
64
- align="center"
65
- showUser="false"
66
- timestamp={new Date().getTime()}
67
- variant="updated"
68
- {...props}
69
- />
70
-
71
- <br />
72
-
73
- <Timestamp
74
- align="center"
75
- showTimezone="true"
76
- showUser="true"
77
- text="Maricris Nonato"
78
- timestamp={new Date().getTime()}
79
- timezone="America/New_York"
80
- variant="updated"
81
- {...props}
82
- />
83
-
84
- <br />
85
-
86
- <Timestamp
87
- align="center"
88
- showTimezone="true"
89
- showUser="false"
90
- timestamp={new Date().getTime()}
91
- timezone="America/New_York"
92
- variant="updated"
93
- {...props}
94
- />
95
-
96
- <br />
97
- <br />
98
-
99
- <Timestamp
100
- align="right"
101
- showUser="true"
102
- text="Maricris Nonato"
103
- timestamp={new Date().getTime()}
104
- variant="updated"
105
- {...props}
106
- />
107
-
108
- <br />
109
-
110
- <Timestamp
111
- align="right"
112
- showUser="false"
113
- timestamp={new Date().getTime()}
114
- variant="updated"
115
- {...props}
116
- />
117
-
118
- <br />
119
-
120
- <Timestamp
121
- align="right"
122
- showTimezone="true"
123
- showUser="true"
124
- text="Maricris Nonato"
125
- timestamp={new Date().getTime()}
126
- timezone="America/New_York"
127
- variant="updated"
128
- {...props}
129
- />
130
-
131
- <br />
132
-
133
- <Timestamp
134
- align="right"
135
- showTimezone="true"
136
- showUser="false"
137
- timestamp={new Date().getTime()}
138
- timezone="America/New_York"
139
- variant="updated"
140
- {...props}
141
- />
142
- </div>
143
- )
144
- }
145
-
146
- export default TimestampUpdatedAlign