playbook_ui 12.24.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown756 → 12.24.0.pre.alpha.alphatestforselfhostfak720

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_date/_date.tsx +42 -96
  3. data/app/pb_kits/playbook/pb_date/date.html.erb +2 -22
  4. data/app/pb_kits/playbook/pb_date/date.rb +0 -2
  5. data/app/pb_kits/playbook/pb_date/docs/example.yml +4 -4
  6. data/app/pb_kits/playbook/pb_date/docs/index.js +0 -1
  7. data/app/pb_kits/playbook/pb_date_picker/_date_picker.scss +0 -26
  8. data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +95 -99
  9. data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +2 -3
  10. data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +1 -1
  11. data/app/pb_kits/playbook/pb_date_picker/date_picker.test.js +1 -44
  12. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +2 -34
  13. data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +0 -2
  14. data/app/pb_kits/playbook/pb_date_picker/docs/index.js +1 -2
  15. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_calendar_input_icon.scss +2 -3
  16. data/app/pb_kits/playbook/pb_docs/kit_api.html.erb +311 -0
  17. data/app/pb_kits/playbook/pb_docs/kit_api.rb +149 -0
  18. data/app/pb_kits/playbook/pb_docs/kit_example.rb +2 -0
  19. data/app/pb_kits/playbook/pb_icon/_icon.tsx +1 -1
  20. data/app/pb_kits/playbook/pb_icon/icon.rb +1 -1
  21. data/app/pb_kits/playbook/pb_nav/_item.tsx +1 -1
  22. data/app/pb_kits/playbook/pb_nav/_subtle_mixin.scss +1 -1
  23. data/app/pb_kits/playbook/pb_time/_time.tsx +35 -71
  24. data/app/pb_kits/playbook/pb_time/docs/example.yml +0 -2
  25. data/app/pb_kits/playbook/pb_time/docs/index.js +0 -1
  26. data/app/pb_kits/playbook/pb_time/time.html.erb +7 -26
  27. data/app/pb_kits/playbook/pb_time/time.rb +0 -2
  28. data/app/pb_kits/playbook/pb_title/_title.scss +1 -2
  29. data/app/pb_kits/playbook/pb_title/_title.tsx +2 -3
  30. data/app/pb_kits/playbook/pb_title/title.rb +3 -10
  31. data/app/pb_kits/playbook/pb_title/title.test.js +3 -3
  32. data/lib/playbook/markdown/helper.rb +132 -0
  33. data/lib/playbook/markdown.rb +3 -0
  34. data/lib/playbook/version.rb +1 -1
  35. data/lib/playbook.rb +2 -1
  36. metadata +36 -17
  37. data/app/pb_kits/playbook/pb_date/docs/_date_unstyled.html.erb +0 -30
  38. data/app/pb_kits/playbook/pb_date/docs/_date_unstyled.jsx +0 -47
  39. data/app/pb_kits/playbook/pb_date/docs/_date_unstyled.md +0 -1
  40. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick.html.erb +0 -8
  41. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick.jsx +0 -18
  42. data/app/pb_kits/playbook/pb_date_picker/plugins/quickPick.tsx +0 -164
  43. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_quick_pick_styles.scss +0 -75
  44. data/app/pb_kits/playbook/pb_time/docs/_time_unstyled.html.erb +0 -37
  45. data/app/pb_kits/playbook/pb_time/docs/_time_unstyled.jsx +0 -58
  46. data/app/pb_kits/playbook/pb_time/docs/_time_unstyled.md +0 -1
  47. data/dist/playbook-rails.js +0 -323
@@ -20,7 +20,6 @@ type TimeProps = {
20
20
  size?: "md" | "sm";
21
21
  showTimezone?: boolean;
22
22
  timeZone?: string;
23
- unstyled?: boolean;
24
23
  } & GlobalProps
25
24
 
26
25
  const Time = (props: TimeProps) => {
@@ -31,10 +30,8 @@ const Time = (props: TimeProps) => {
31
30
  showIcon,
32
31
  size,
33
32
  timeZone,
34
- unstyled = false,
35
33
  showTimezone = true,
36
34
  } = props;
37
-
38
35
  const classes = classnames(
39
36
  buildCss("pb_time_kit", align, size),
40
37
  globalProps(props),
@@ -46,79 +43,46 @@ const Time = (props: TimeProps) => {
46
43
  return (
47
44
  <div className={classes}>
48
45
  {showIcon && (
49
- unstyled
50
- ? (
51
- <span>
52
- <Icon fixedWidth
53
- icon="clock"
46
+ <>
47
+ <Body color="light" tag="span">
48
+ <Icon fixedWidth icon="clock" size={size === "md" ? "" : "sm"} />
49
+ </Body>{" "}
50
+ </>
51
+ )}
52
+
53
+ <time dateTime={date}>
54
+ <span>
55
+ {size === "md" ? (
56
+ <>
57
+ <Body
58
+ className="pb_time"
59
+ tag="span"
60
+ text={dateTimestamp.toTimeWithMeridian()}
61
+ />{" "}
62
+ {showTimezone && (
63
+ <Body
64
+ color="light"
65
+ tag="span"
66
+ text={dateTimestamp.toTimezone()}
54
67
  />
55
- {" "}
56
- </span>
57
- )
58
- : (
68
+ )}
69
+ </>
70
+ ) : (
59
71
  <>
60
- <Body color="light"
72
+ <Caption
73
+ color="light"
74
+ tag="span"
75
+ text={dateTimestamp.toTimeWithMeridian()}
76
+ />{" "}
77
+ {showTimezone && (
78
+ <Caption
79
+ color="light"
61
80
  tag="span"
62
- >
63
- <Icon fixedWidth
64
- icon="clock"
65
- size={size === "md" ? "" : "sm"}
81
+ text={dateTimestamp.toTimezone()}
66
82
  />
67
- {" "}
68
- </Body>
83
+ )}
69
84
  </>
70
- )
71
- )}
72
-
73
- <time dateTime={date}>
74
- <span>
75
- {unstyled
76
- ? (
77
- <>
78
- <span>
79
- {dateTimestamp.toTimeWithMeridian()}
80
- </span>
81
- {" "}
82
- {showTimezone && (
83
- <span>
84
- {dateTimestamp.toTimezone()}
85
- </span>
86
- )}
87
- </>
88
- )
89
- : size === "md"
90
- ? (
91
- <>
92
- <Body
93
- className="pb_time"
94
- tag="span"
95
- text={dateTimestamp.toTimeWithMeridian()}
96
- />{" "}
97
- {showTimezone && (
98
- <Body
99
- color="light"
100
- tag="span"
101
- text={dateTimestamp.toTimezone()}
102
- />
103
- )}
104
- </>
105
- )
106
- : (
107
- <>
108
- <Caption
109
- color="light"
110
- tag="span"
111
- text={dateTimestamp.toTimeWithMeridian()}
112
- />{" "}
113
- {showTimezone && (
114
- <Caption
115
- color="light"
116
- tag="span"
117
- text={dateTimestamp.toTimezone()}
118
- />
119
- )}
120
- </>
121
- )}
85
+ )}
122
86
  </span>
123
87
  </time>
124
88
  </div>
@@ -6,7 +6,6 @@ examples:
6
6
  - time_timestamp: Timestamp Values
7
7
  - time_timezone: Handling Timezones
8
8
  - time_align: Alignment
9
- - time_unstyled: Unstyled
10
9
 
11
10
  react:
12
11
  - time_default: Default
@@ -14,4 +13,3 @@ examples:
14
13
  - time_timestamp: Timestamp Values
15
14
  - time_timezone: Handling Timezones
16
15
  - time_align: Alignment
17
- - time_unstyled: Unstyled
@@ -3,4 +3,3 @@ export { default as TimeSizes } from './_time_sizes.jsx'
3
3
  export { default as TimeTimestamp } from './_time_timestamp.jsx'
4
4
  export { default as TimeAlign } from './_time_align.jsx'
5
5
  export { default as TimeTimezone } from './_time_timezone.jsx'
6
- export { default as TimeUnstyled } from './_time_unstyled.jsx'
@@ -8,44 +8,25 @@
8
8
  size = "sm" if object.size == "xs"
9
9
  size = "md" if object.size == "lg"
10
10
  %>
11
-
12
- <% if object.unstyled %>
13
- <% if object.show_icon %>
14
- <span>
15
- <%= pb_rails("icon", props: { icon: "clock", fixed_width: true }) %>
16
- </span>
17
- <% end %>
18
-
19
- <%= content_tag(:time, datetime: object.pb_date_time.to_iso) do %>
20
- <span><%= object.format_time_string %></span>
21
- <% if object.show_timezone %>
22
- <span><%= object.pb_date_time.to_timezone.upcase %></span>
23
- <% end %>
24
- <% end %>
25
-
26
- <% elsif size == "md" %>
11
+ <% if size == "md" %>
27
12
  <% if object.show_icon %>
28
13
  <%= pb_rails("body", props: { color: "light", tag: "span"}) do %>
29
14
  <%= pb_rails("icon", props: { icon: "clock", fixed_width: true }) %>
30
15
  <% end %>
31
16
  <% end %>
32
-
33
- <%= content_tag(:time, datetime: object.pb_date_time.to_iso) do %>
34
- <%= pb_rails("body", props: { tag: "span", text: object.format_time_string, classname: "pb_time" }) %>
35
- <% if object.show_timezone %>
36
- <%= pb_rails("body", props: { color: "light", tag: "span", text: object.pb_date_time.to_timezone.upcase }) %>
37
- <% end %>
17
+ <%= pb_rails("body", props: { tag: "span", text: object.format_time_string, classname: "pb_time" }) %>
18
+ <% if object.show_timezone %>
19
+ <%= pb_rails("body", props: { color: "light", tag: "span", text: object.pb_date_time.to_timezone.upcase }) %>
38
20
  <% end %>
39
-
40
21
  <% else %>
41
22
  <% if object.show_icon %>
42
23
  <%= pb_rails("body", props: { color: "light", tag: "span"}) do %>
43
24
  <%= pb_rails("icon", props: { icon: "clock", fixed_width: true, size: "sm" }) %>
44
25
  <% end %>
45
26
  <% end %>
46
-
47
- <%= content_tag(:time, datetime: object.pb_date_time.to_iso) do %>
48
- <%= pb_rails("caption", props: { color: "light", tag: "span", text: object.format_time_string }) do %>
27
+
28
+ <%= pb_rails("caption", props: { color: "light", tag: "span", text: object.format_time_string }) do %>
29
+ <%= content_tag(:time, datetime: object.pb_date_time.to_iso) do %>
49
30
  <%= object.format_time_string %>
50
31
  <% if object.show_timezone %>
51
32
  <span class="pb_time_timezone">
@@ -15,8 +15,6 @@ module Playbook
15
15
  default: false
16
16
  prop :show_timezone, type: Playbook::Props::Boolean,
17
17
  default: true
18
- prop :unstyled, type: Playbook::Props::Boolean,
19
- default: false
20
18
 
21
19
  def classname
22
20
  # convert deprecated prop values
@@ -18,7 +18,6 @@
18
18
  &[class*=_3] {
19
19
  @include pb_title_3;
20
20
  @include title_colors;
21
- @include pb_title_bold;
22
21
  }
23
22
 
24
23
  &[class*=_4] {
@@ -30,7 +29,7 @@
30
29
  @include pb_title_dark;
31
30
  }
32
31
 
33
- &[class*=thin] {
32
+ &[class*=_thin] {
34
33
  @include pb_title_thin;
35
34
  }
36
35
  }
@@ -21,13 +21,13 @@ const Title = (props: TitleProps): React.ReactElement => {
21
21
  if (props.variant) deprecatedProps('Title', ['variant']) //variant prop is deprecated, use color instead
22
22
  const {
23
23
  aria = {},
24
+ bold = true,
24
25
  children,
25
26
  className,
26
27
  color,
27
28
  data = {},
28
29
  id,
29
30
  size = 3,
30
- bold = size === 3 ? false : true,
31
31
  tag = 'h3',
32
32
  text,
33
33
  variant = null,
@@ -35,10 +35,9 @@ const Title = (props: TitleProps): React.ReactElement => {
35
35
 
36
36
  const ariaProps: {[key: string]: string | number} = buildAriaProps(aria)
37
37
  const dataProps: {[key: string]: string | number} = buildDataProps(data)
38
-
39
38
  const getBold = bold ? '' : 'thin'
40
39
  const classes = classnames(
41
- buildCss("pb_title_kit", `size_${size}`, variant, color) + ` ${getBold}`,
40
+ buildCss('pb_title_kit', `size_${size}`, variant, color, getBold),
42
41
  globalProps(props),
43
42
  className
44
43
  )
@@ -17,21 +17,14 @@ module Playbook
17
17
  values: [nil, "link"],
18
18
  default: nil,
19
19
  deprecated: true
20
-
21
- def initialize(props)
22
- props[:bold] = [1, 2, 4].include?(props[:size]) unless props.key?(:bold)
23
- props[:bold] = false if props[:size].nil? && !props.key?(:bold)
24
- super(props)
25
- end
26
-
27
- prop :bold, type: Playbook::Props::Boolean
20
+ prop :bold, type: Playbook::Props::Boolean, default: true
28
21
 
29
22
  def classname
30
- generate_classname("pb_title_kit", size, variant, color) + is_bold
23
+ generate_classname("pb_title_kit", size, variant, color, is_bold)
31
24
  end
32
25
 
33
26
  def is_bold
34
- bold ? "" : " thin"
27
+ bold ? nil : "thin"
35
28
  end
36
29
  end
37
30
  end
@@ -12,7 +12,7 @@ test('returns namespaced class name', () => {
12
12
  )
13
13
 
14
14
  const kit = screen.getByTestId('primary-test')
15
- expect(kit).toHaveClass('pb_title_kit_size_3 thin')
15
+ expect(kit).toHaveClass('pb_title_kit_size_3')
16
16
  })
17
17
 
18
18
  test('with thin font weight', () => {
@@ -25,7 +25,7 @@ test('with thin font weight', () => {
25
25
  )
26
26
 
27
27
  const kit = screen.getByTestId('primary-test')
28
- expect(kit).toHaveClass('pb_title_kit_size_3 thin')
28
+ expect(kit).toHaveClass('pb_title_kit_size_3_thin')
29
29
  })
30
30
 
31
31
  test('with colors', () => {
@@ -38,5 +38,5 @@ test('with colors', () => {
38
38
  )
39
39
 
40
40
  const kit = screen.getByTestId('primary-test')
41
- expect(kit).toHaveClass('pb_title_kit_size_3_success thin')
41
+ expect(kit).toHaveClass('pb_title_kit_size_3_success')
42
42
  })
@@ -0,0 +1,132 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "redcarpet"
4
+ require "rouge"
5
+ require "rouge/plugins/redcarpet"
6
+ require "action_view"
7
+
8
+ module Playbook
9
+ module Markdown
10
+ module Helper
11
+ def self.call(template, _source)
12
+ markdown(template.source)
13
+ end
14
+
15
+ def render_markdown(text)
16
+ # rubocop:disable Security/Eval
17
+ eval(Playbook::Markdown::Helper.markdown(text))
18
+ # rubocop:enable Security/Eval
19
+ end
20
+
21
+ def self.markdown(text)
22
+ options = {
23
+ filter_html: false,
24
+ hard_wrap: true,
25
+ link_attributes: { rel: "nofollow", target: "_blank" },
26
+ space_after_headers: true,
27
+ fenced_code_blocks: true,
28
+ no_styles: false,
29
+ safe_links_only: true,
30
+ }
31
+
32
+ extensions = {
33
+ lax_spacing: true,
34
+ no_intra_emphasis: true,
35
+ autolink: true,
36
+ superscript: true,
37
+ fenced_code_blocks: true,
38
+ tables: true,
39
+ disable_indented_code_blocks: false,
40
+ strikethrough: true,
41
+ underline: true,
42
+ highlight: true,
43
+ footnotes: true,
44
+ with_toc_data: true,
45
+ }
46
+
47
+ renderer = HTMLBlockCode.new(options)
48
+ # toc_renderer = Redcarpet::Render::HTML_TOC.new(with_toc_data: true)
49
+ # @TOC = Redcarpet::Markdown.new(toc_renderer)
50
+ # puts "TOC: #{@TOC.inspect}"
51
+ markdown = Redcarpet::Markdown.new(renderer, extensions)
52
+ "#{markdown.render(text).inspect}.html_safe;"
53
+ end
54
+
55
+ def rouge(text, language)
56
+ formatter = Rouge::Formatters::HTML.new(scope: ".highlight")
57
+ lexer = Rouge::Lexer.find(language)
58
+ formatter.format(lexer.lex(text))
59
+ end
60
+
61
+ class HTML < Redcarpet::Render::HTML
62
+ include Rouge::Plugins::Redcarpet
63
+ end
64
+
65
+ def rouge_markdown(text)
66
+ render_options = {
67
+ filter_html: true,
68
+ hard_wrap: true,
69
+ link_attributes: { rel: "nofollow" },
70
+ }
71
+ renderer = HTML.new(render_options)
72
+
73
+ extensions = {
74
+ autolink: true,
75
+ fenced_code_blocks: true,
76
+ lax_spacing: true,
77
+ no_intra_emphasis: true,
78
+ strikethrough: true,
79
+ superscript: true,
80
+ }
81
+ markdown = Redcarpet::Markdown.new(renderer, extensions)
82
+ markdown.render(text)
83
+ end
84
+ end
85
+
86
+ class HTMLWithPants < Redcarpet::Render::HTML
87
+ include Redcarpet::Render::SmartyPants
88
+ end
89
+
90
+ class HTML < Redcarpet::Render::HTML
91
+ include Rouge::Plugins::Redcarpet
92
+ end
93
+
94
+ class HTMLBlockCode < Redcarpet::Render::HTML
95
+ include ActionView::Helpers::AssetTagHelper
96
+
97
+ # def block_code(code, language)
98
+ # "\n.nf\n#{normal_text(rouge(code, language))}\n.fi\n"
99
+ # end
100
+
101
+ def table(header, body)
102
+ "<table class='pb_table table-sm table-responsive-collapse table-card table-collapse-sm'>" \
103
+ "<thead>#{header}</thead>" \
104
+ "<tbody>#{body}</tbody>" \
105
+ "</table>"
106
+ end
107
+
108
+ def header(title, level)
109
+ @headers ||= []
110
+ permalink = title.gsub(/\W+/, "-")
111
+ if @headers.include?(permalink)
112
+ permalink += "_1"
113
+ loop do
114
+ break unless @headers.include?(permalink)
115
+
116
+ permalink.gsub!(/_(\d+)$/, "_#{Regexp.last_match(1).to_i + 1}")
117
+ end
118
+ end
119
+ @headers << permalink
120
+ permalink_markup = %(<a name="#{permalink}" class="markdown-header-anchor" )
121
+ permalink_markup += %(href="##{permalink}"><span class="far fa-link markdown-header-anchor-icon"></span></a>)
122
+ %(\n<h#{level} id="#{permalink}">#{title} #{permalink_markup}</h#{level}>\n)
123
+ end
124
+
125
+ def image(link, title, alt_text)
126
+ return nil if link.nil?
127
+
128
+ %(<a href="#{link}" target="_blank">#{image_tag(link, title: title, alt: alt_text, class: 'imageloader lazyload')}</a>)
129
+ end
130
+ end
131
+ end
132
+ end
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "playbook/markdown/helper"
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "12.24.0"
5
- VERSION = "12.24.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown756"
5
+ VERSION = "12.24.0.pre.alpha.alphatestforselfhostfak720"
6
6
  end
data/lib/playbook.rb CHANGED
@@ -8,9 +8,10 @@ require "playbook/props"
8
8
  require "playbook/forms"
9
9
  require "playbook/pb_forms_helper"
10
10
  require "playbook/pb_kit_helper"
11
- require "playbook/pb_doc_helper" # Duplicated from website (Temp)
11
+ require "playbook/pb_doc_helper"
12
12
  require "playbook/kit_base"
13
13
  require "playbook/kit_resolver"
14
+ require "playbook/markdown"
14
15
 
15
16
  module Playbook
16
17
  ROOT_PATH = Pathname.new(File.join(__dir__, ".."))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.24.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown756
4
+ version: 12.24.0.pre.alpha.alphatestforselfhostfak720
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-06-09 00:00:00.000000000 Z
12
+ date: 2023-06-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -67,6 +67,34 @@ dependencies:
67
67
  - - '='
68
68
  - !ruby/object:Gem::Version
69
69
  version: 2.6.1
70
+ - !ruby/object:Gem::Dependency
71
+ name: redcarpet
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '3.6'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '3.6'
84
+ - !ruby/object:Gem::Dependency
85
+ name: rouge
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '3.15'
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '3.15'
70
98
  - !ruby/object:Gem::Dependency
71
99
  name: view_component
72
100
  requirement: !ruby/object:Gem::Requirement
@@ -255,9 +283,7 @@ dependencies:
255
283
  - - '='
256
284
  - !ruby/object:Gem::Version
257
285
  version: 3.3.1
258
- description: Playbook UI is built out in Ruby View Components and React Components.
259
- Playbook takes a modern design approach and applies it in a way that makes it easy
260
- to support bleeding edge or legacy systems.
286
+ description: Playbook Design System. Built for Nitro, but powering all.
261
287
  email:
262
288
  - nitroux@powerhrg.com
263
289
  - dev@powerhrg.com
@@ -664,9 +690,6 @@ files:
664
690
  - app/pb_kits/playbook/pb_date/docs/_date_default.jsx
665
691
  - app/pb_kits/playbook/pb_date/docs/_date_timezone.html.erb
666
692
  - app/pb_kits/playbook/pb_date/docs/_date_timezone.md
667
- - app/pb_kits/playbook/pb_date/docs/_date_unstyled.html.erb
668
- - app/pb_kits/playbook/pb_date/docs/_date_unstyled.jsx
669
- - app/pb_kits/playbook/pb_date/docs/_date_unstyled.md
670
693
  - app/pb_kits/playbook/pb_date/docs/_date_variants.html.erb
671
694
  - app/pb_kits/playbook/pb_date/docs/_date_variants.jsx
672
695
  - app/pb_kits/playbook/pb_date/docs/_description.md
@@ -723,8 +746,6 @@ files:
723
746
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.md
724
747
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.html.erb
725
748
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.jsx
726
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick.html.erb
727
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick.jsx
728
749
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.html.erb
729
750
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx
730
751
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.html.erb
@@ -739,7 +760,6 @@ files:
739
760
  - app/pb_kits/playbook/pb_date_picker/docs/_description.md
740
761
  - app/pb_kits/playbook/pb_date_picker/docs/example.yml
741
762
  - app/pb_kits/playbook/pb_date_picker/docs/index.js
742
- - app/pb_kits/playbook/pb_date_picker/plugins/quickPick.tsx
743
763
  - app/pb_kits/playbook/pb_date_picker/plugins/timeSelect.ts
744
764
  - app/pb_kits/playbook/pb_date_picker/sass_partials/_calendar_input_icon.scss
745
765
  - app/pb_kits/playbook/pb_date_picker/sass_partials/_day_styles.scss
@@ -749,7 +769,6 @@ files:
749
769
  - app/pb_kits/playbook/pb_date_picker/sass_partials/_input_styles.scss
750
770
  - app/pb_kits/playbook/pb_date_picker/sass_partials/_month_and_year_styles.scss
751
771
  - app/pb_kits/playbook/pb_date_picker/sass_partials/_overrides.scss
752
- - app/pb_kits/playbook/pb_date_picker/sass_partials/_quick_pick_styles.scss
753
772
  - app/pb_kits/playbook/pb_date_picker/sass_partials/_time_selection_styles.scss
754
773
  - app/pb_kits/playbook/pb_date_picker/sass_partials/_week_styles.scss
755
774
  - app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.scss
@@ -886,6 +905,8 @@ files:
886
905
  - app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_default.jsx
887
906
  - app/pb_kits/playbook/pb_distribution_bar/docs/example.yml
888
907
  - app/pb_kits/playbook/pb_distribution_bar/docs/index.js
908
+ - app/pb_kits/playbook/pb_docs/kit_api.html.erb
909
+ - app/pb_kits/playbook/pb_docs/kit_api.rb
889
910
  - app/pb_kits/playbook/pb_docs/kit_example.html.erb
890
911
  - app/pb_kits/playbook/pb_docs/kit_example.rb
891
912
  - app/pb_kits/playbook/pb_enhanced_element/element_observer.ts
@@ -2063,9 +2084,6 @@ files:
2063
2084
  - app/pb_kits/playbook/pb_time/docs/_time_timezone.html.erb
2064
2085
  - app/pb_kits/playbook/pb_time/docs/_time_timezone.jsx
2065
2086
  - app/pb_kits/playbook/pb_time/docs/_time_timezone.md
2066
- - app/pb_kits/playbook/pb_time/docs/_time_unstyled.html.erb
2067
- - app/pb_kits/playbook/pb_time/docs/_time_unstyled.jsx
2068
- - app/pb_kits/playbook/pb_time/docs/_time_unstyled.md
2069
2087
  - app/pb_kits/playbook/pb_time/docs/example.yml
2070
2088
  - app/pb_kits/playbook/pb_time/docs/index.js
2071
2089
  - app/pb_kits/playbook/pb_time/time.html.erb
@@ -2413,7 +2431,6 @@ files:
2413
2431
  - app/pb_kits/playbook/utilities/test/globalProps/order.test.js
2414
2432
  - app/pb_kits/playbook/utilities/text.ts
2415
2433
  - dist/menu.yml
2416
- - dist/playbook-rails.js
2417
2434
  - dist/reset.css
2418
2435
  - lib/playbook.rb
2419
2436
  - lib/playbook/align_content.rb
@@ -2442,6 +2459,8 @@ files:
2442
2459
  - lib/playbook/kit_base.rb
2443
2460
  - lib/playbook/kit_resolver.rb
2444
2461
  - lib/playbook/line_height.rb
2462
+ - lib/playbook/markdown.rb
2463
+ - lib/playbook/markdown/helper.rb
2445
2464
  - lib/playbook/number_spacing.rb
2446
2465
  - lib/playbook/order.rb
2447
2466
  - lib/playbook/pagination_renderer.rb
@@ -2469,7 +2488,7 @@ files:
2469
2488
  - lib/playbook/version.rb
2470
2489
  - lib/playbook/z_index.rb
2471
2490
  - lib/playbook_ui.rb
2472
- homepage: https://playbook.powerapp.cloud/
2491
+ homepage: http://playbook.powerapp.cloud
2473
2492
  licenses:
2474
2493
  - ISC
2475
2494
  metadata: {}
@@ -1,30 +0,0 @@
1
- <%= pb_rails("caption", props: { size: "xs", text: "Example with no year" }) %>
2
-
3
- <%= pb_rails("date", props: {
4
- date: Date.today,
5
- unstyled: true
6
- }) %>
7
-
8
- <br />
9
-
10
- <%= pb_rails("caption", props: { size: "xs", text: "Example with wrapping typography kit" }) %>
11
-
12
- <%= pb_rails("title", props: { size: 1 }) do %>
13
- <%= pb_rails("date", props: {
14
- date: "2012-08-02T15:49:29Z",
15
- unstyled: true
16
- }) %>
17
- <% end %>
18
-
19
- <br />
20
-
21
- <%= pb_rails("caption", props: { size: "xs", text: "Example with icon + subcaption" }) %>
22
-
23
- <%= pb_rails("caption", props: { size: "xs" }) do %>
24
- <%= pb_rails("date", props: {
25
- date: "2012-08-02T15:49:29Z",
26
- show_icon: true,
27
- unstyled: true,
28
- show_day_of_week: true
29
- }) %>
30
- <% end %>