playbook_ui 4.10.0 → 4.11.0.pre.alpha3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/playbook/pages_controller.rb +8 -0
  3. data/app/helpers/playbook/pb_doc_helper.rb +8 -2
  4. data/app/pb_kits/playbook/_playbook.scss +1 -0
  5. data/app/pb_kits/playbook/data/menu.yml +2 -0
  6. data/app/pb_kits/playbook/index.js +1 -0
  7. data/app/pb_kits/playbook/packs/examples.js +2 -0
  8. data/app/pb_kits/playbook/pb_button/docs/_button_options.jsx +1 -0
  9. data/app/pb_kits/playbook/pb_button/docs/example.yml +1 -1
  10. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.jsx +21 -8
  11. data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.jsx +16 -7
  12. data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_click.jsx +14 -0
  13. data/app/pb_kits/playbook/pb_circle_icon_button/docs/example.yml +1 -0
  14. data/app/pb_kits/playbook/pb_circle_icon_button/docs/index.js +1 -0
  15. data/app/pb_kits/playbook/pb_file_upload/_file_upload.jsx +60 -0
  16. data/app/pb_kits/playbook/pb_file_upload/_file_upload.scss +6 -0
  17. data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_default.jsx +34 -0
  18. data/app/pb_kits/playbook/pb_file_upload/docs/example.yml +7 -0
  19. data/app/pb_kits/playbook/pb_file_upload/docs/index.js +1 -0
  20. data/app/pb_kits/playbook/pb_file_upload/file_upload.rb +11 -0
  21. data/app/pb_kits/playbook/pb_filter/docs/example.yml +0 -2
  22. data/app/pb_kits/playbook/pb_filter/docs/index.js +0 -1
  23. data/app/pb_kits/playbook/pb_form_pill/_form_pill.jsx +4 -2
  24. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_tag.jsx +6 -1
  25. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_user.jsx +9 -1
  26. data/app/pb_kits/playbook/pb_label_pill/docs/example.yml +0 -2
  27. data/app/pb_kits/playbook/pb_label_pill/docs/index.js +0 -1
  28. data/app/pb_kits/playbook/pb_online_status/docs/example.yml +1 -3
  29. data/app/pb_kits/playbook/pb_online_status/docs/index.js +0 -1
  30. data/app/pb_kits/playbook/pb_radio/docs/_radio_custom.jsx +18 -2
  31. data/app/pb_kits/playbook/pb_source/docs/example.yml +0 -1
  32. data/app/pb_kits/playbook/pb_source/docs/index.js +0 -1
  33. data/app/pb_kits/playbook/pb_star_rating/docs/example.yml +0 -1
  34. data/app/pb_kits/playbook/pb_star_rating/docs/index.js +0 -1
  35. data/app/pb_kits/playbook/pb_time/docs/example.yml +0 -1
  36. data/app/pb_kits/playbook/pb_time/docs/index.js +0 -1
  37. data/app/pb_kits/playbook/pb_timestamp/docs/example.yml +0 -2
  38. data/app/pb_kits/playbook/pb_timestamp/docs/index.js +0 -1
  39. data/app/pb_kits/playbook/pb_title_detail/docs/example.yml +0 -2
  40. data/app/pb_kits/playbook/pb_title_detail/docs/index.js +0 -1
  41. data/lib/playbook/version.rb +1 -1
  42. metadata +11 -12
  43. data/app/pb_kits/playbook/pb_filter/docs/_filter_default.jsx +0 -9
  44. data/app/pb_kits/playbook/pb_label_pill/docs/_label_pill_default.jsx +0 -9
  45. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_default.jsx +0 -9
  46. data/app/pb_kits/playbook/pb_source/docs/_source_default.jsx +0 -9
  47. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx +0 -9
  48. data/app/pb_kits/playbook/pb_time/docs/_time_default.jsx +0 -9
  49. data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.jsx +0 -9
  50. data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_default.jsx +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a016ff82bc6ad14686a86b390eda564e365f2d1772dcc776f781963e04c6d0d
4
- data.tar.gz: 797c303197c0f62ce259d68875a8982545756cefebed5f699b3c39422d7e7814
3
+ metadata.gz: 3da5fa6e75a9ddf45327ffe70a2c1c62df681edf55f2d5c37de10f19b1ac0e3e
4
+ data.tar.gz: bf81e77a506cfd569390a5d8f7bcfd4762b5ec883142b0979969ba244a80a4dd
5
5
  SHA512:
6
- metadata.gz: 2bf2ea817dcb8c08a8d616096197c1e87c4360e46627e6cf4d83303c58053ad772dbf7a29e7ee33667833d003452ab0a5fedf9ed8389847ff131451d944e7147
7
- data.tar.gz: 9dc977c468df978f26a458ee264ee29c754228d5dfa71d001eff7a001c79941d2201084025fe0f24beca23b7e0eb33c4d5a2c21de59a8ec554b5400804881c57
6
+ metadata.gz: 48a30baa16645c244b63a3455bb05e60cac5d847bd3a12929e4fe7d550b092bf80ca56b7b099cd248fb09314f6e306f1f227542e62b565fbb73d1aa431100bba
7
+ data.tar.gz: eedb42f15096dacb4a699cf48b7d7337dc4b9f965bcb1e8707ed1955f14dfc08473cf83abf40f5b6aa9bfadbaf4bc083b609ca0c4d330799300dd8f4ea569524
@@ -6,6 +6,7 @@ require "yaml"
6
6
  module Playbook
7
7
  class PagesController < ApplicationController
8
8
  before_action :set_kit, only: %i[kit_show_rails kit_show_react]
9
+ before_action :ensure_rails_kit_exists, only: %i[kit_show_rails]
9
10
  before_action :set_category, only: %i[kit_category_show_rails kit_category_show_react]
10
11
 
11
12
  def home; end
@@ -64,5 +65,12 @@ module Playbook
64
65
  redirect_to root_path, flash: { error: "That kit does not exist" }
65
66
  end
66
67
  end
68
+
69
+ def ensure_rails_kit_exists
70
+ # TODO: unsure why we cannot simply use the helpers that are included in ApplicationController - fix this
71
+ erbfiles = File.join("**", "*.erb")
72
+ kit_files = Dir.glob(erbfiles, base: "#{Playbook::Engine.root}/app/pb_kits/playbook/pb_#{@kit}/docs").present?
73
+ redirect_to action: "kit_show_react" unless kit_files.present?
74
+ end
67
75
  end
68
76
  end
@@ -9,9 +9,11 @@ module Playbook
9
9
  def has_kit_type?(kit, type)
10
10
  type ||= "rails"
11
11
  if type == "rails"
12
- Dir["playbook/pb_#{kit}/*.html.erb"].empty?
12
+ erbfiles = File.join("**", "*.erb")
13
+ Dir.glob(erbfiles, base: "#{kit_path(kit)}/docs").present?
13
14
  elsif type == "react"
14
- Dir["playbook/pb_#{kit}/*.jsx"].empty?
15
+ jsxfiles = File.join("**", "*.jsx")
16
+ Dir.glob(jsxfiles, base: "#{kit_path(kit)}/docs").present?
15
17
  end
16
18
  end
17
19
 
@@ -23,6 +25,10 @@ module Playbook
23
25
  end
24
26
  end
25
27
 
28
+ def kit_path(kit)
29
+ "#{Playbook::Engine.root}/app/pb_kits/playbook/pb_#{kit}"
30
+ end
31
+
26
32
  def get_kit_description(kit)
27
33
  filename = "#{Playbook::Engine.root}/app/pb_kits/playbook/pb_#{@kit}/docs/_description.md"
28
34
  read_file(filename)
@@ -65,4 +65,5 @@
65
65
  @import 'pb_typeahead/typeahead';
66
66
  @import 'pb_user/user';
67
67
  @import 'pb_user_badge/user_badge';
68
+ @import 'pb_file_upload/file_upload';
68
69
  @import 'pb_filter/filter';
@@ -17,6 +17,7 @@ kits:
17
17
  - fixed_confirmation_toast
18
18
  - flex
19
19
  - forms:
20
+ - file_upload
20
21
  - form
21
22
  - form_pill
22
23
  - radio
@@ -74,3 +75,4 @@ kits:
74
75
  - title_detail
75
76
  - user
76
77
  - user_badge
78
+
@@ -17,6 +17,7 @@ export DateRangeStacked from './pb_date_range_stacked/_date_range_stacked.jsx'
17
17
  export DateStacked from './pb_date_stacked/_date_stacked.jsx'
18
18
  export DateYearStacked from './pb_date_year_stacked/_date_year_stacked.jsx'
19
19
  export DistributionBar from './pb_distribution_bar/_distribution_bar.jsx'
20
+ export FileUpload from './pb_file_upload/_file_upload.jsx'
20
21
  export Filter from './pb_filter/_filter.jsx'
21
22
  export FixedConfirmationToast from './pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx'
22
23
  export Flex from './pb_flex/_flex.jsx'
@@ -31,6 +31,7 @@ import * as DateRangeStacked from 'pb_date_range_stacked/docs'
31
31
  import * as DateStacked from 'pb_date_stacked/docs'
32
32
  import * as DateYearStacked from 'pb_date_year_stacked/docs'
33
33
  import * as DistributionBar from 'pb_distribution_bar/docs'
34
+ import * as FileUpload from 'pb_file_upload/docs'
34
35
  import * as Filter from 'pb_filter/docs'
35
36
  import * as FixedConfirmationToast from 'pb_fixed_confirmation_toast/docs'
36
37
  import * as Flex from 'pb_flex/docs'
@@ -99,6 +100,7 @@ WebpackerReact.setup({
99
100
  ...DateStacked,
100
101
  ...DateYearStacked,
101
102
  ...DistributionBar,
103
+ ...FileUpload,
102
104
  ...Filter,
103
105
  ...FixedConfirmationToast,
104
106
  ...Flex,
@@ -5,6 +5,7 @@ const ButtonOptions = () => (
5
5
  <div>
6
6
  <Button
7
7
  htmlType="submit"
8
+ onClick={() => alert('Click!')}
8
9
  text="Button with options"
9
10
  value="1234"
10
11
  />
@@ -16,4 +16,4 @@ examples:
16
16
  - button_loading: Button Loading
17
17
  - button_block_content: Button Block Content
18
18
  - button_accessibility: Button Accessibility Options
19
- - button_options: Button Additional Options
19
+ - button_options: Button Additional Options (onClick)
@@ -1,16 +1,29 @@
1
- import React from 'react'
1
+ import React, { useState } from 'react'
2
2
  import { Checkbox } from '../../'
3
3
 
4
4
  const CheckboxCustom = () => {
5
+ const [checked, setChecked] = useState(false)
6
+
7
+ const handleOnChange = () => {
8
+ setChecked(!checked)
9
+ }
10
+
5
11
  return (
6
12
  <div>
7
- <Checkbox text="Custom Checkbox">
8
- <input
9
- name="custom-name"
10
- type="checkbox"
11
- value="custom-value"
12
- />
13
- </Checkbox>
13
+ {`The checkbox is ${checked ? 'checked' : 'unchecked'}.`}
14
+ <br />
15
+ <br />
16
+ <div>
17
+ <Checkbox text="Toggle Me">
18
+ <input
19
+ checked={checked}
20
+ name="custom-name"
21
+ onChange={handleOnChange}
22
+ type="checkbox"
23
+ value="custom-value"
24
+ />
25
+ </Checkbox>
26
+ </div>
14
27
  </div>
15
28
  )
16
29
  }
@@ -3,23 +3,31 @@
3
3
  import React from 'react'
4
4
  import { Button, Icon } from '../'
5
5
 
6
+ import type { Callback } from '../types'
7
+
8
+ import {
9
+ noop,
10
+ } from '../utilities/props'
11
+
6
12
  type CircleIconButtonProps = {
7
- type?: 'button' | 'submit' | 'reset',
8
- variant?: 'primary' | 'secondary' | 'link',
9
- disabled?: Boolean,
10
- dark?: Boolean,
11
13
  className?: String,
14
+ dark?: Boolean,
15
+ disabled?: Boolean,
12
16
  icon: String,
13
17
  id?: String,
18
+ onClick?: Callback,
19
+ type?: 'button' | 'submit' | 'reset',
20
+ variant?: 'primary' | 'secondary' | 'link',
14
21
  }
15
22
 
16
23
  const CircleIconButton = (props: CircleIconButtonProps) => {
17
24
  const {
18
- type,
19
- variant,
25
+ dark,
20
26
  disabled,
21
27
  icon,
22
- dark,
28
+ onClick = noop,
29
+ type,
30
+ variant,
23
31
  } = props
24
32
 
25
33
  return (
@@ -27,6 +35,7 @@ const CircleIconButton = (props: CircleIconButtonProps) => {
27
35
  <Button
28
36
  dark={dark}
29
37
  disabled={disabled}
38
+ onClick={onClick}
30
39
  text={null}
31
40
  type={type}
32
41
  variant={variant}
@@ -0,0 +1,14 @@
1
+ import React from 'react'
2
+ import { CircleIconButton } from '../..'
3
+
4
+ const CircleIconButtonClick = () => (
5
+ <div>
6
+ <CircleIconButton
7
+ icon="plus"
8
+ onClick={() => alert('Click!')}
9
+ variant="primary"
10
+ />
11
+ </div>
12
+ )
13
+
14
+ export default CircleIconButtonClick
@@ -6,4 +6,5 @@ examples:
6
6
 
7
7
  react:
8
8
  - circle_icon_button_default: Default
9
+ - circle_icon_button_click: Click Handler
9
10
  - circle_icon_button_dark: Dark
@@ -1,2 +1,3 @@
1
1
  export { default as CircleIconButtonDefault } from './_circle_icon_button_default.jsx'
2
+ export { default as CircleIconButtonClick } from './_circle_icon_button_click.jsx'
2
3
  export { default as CircleIconButtonDark } from './_circle_icon_button_dark.jsx'
@@ -0,0 +1,60 @@
1
+ /* @flow */
2
+
3
+ import React, { useCallback } from 'react'
4
+ import { useDropzone } from 'react-dropzone'
5
+
6
+ import {
7
+ buildCss,
8
+ noop,
9
+ } from '../utilities/props'
10
+
11
+ import type { Callback } from '../types.js'
12
+
13
+ import {
14
+ Body,
15
+ Card,
16
+ } from '..'
17
+
18
+ type FileUploadProps = {
19
+ acceptedFiles?: FileList,
20
+ className?: String,
21
+ onFilesAccepted: Callback,
22
+ }
23
+
24
+ const FileUpload = ({
25
+ acceptedFiles = [],
26
+ className,
27
+ onFilesAccepted = noop,
28
+ }: FileUploadProps) => {
29
+ const onDrop = useCallback((files) => {
30
+ onFilesAccepted(files)
31
+ })
32
+
33
+ const {
34
+ getRootProps,
35
+ getInputProps,
36
+ isDragActive,
37
+ } = useDropzone({ onDrop })
38
+
39
+ return (
40
+ <div
41
+ className={buildCss('pb_file_upload_kit', className)}
42
+ {...getRootProps()}
43
+ >
44
+ <Card>
45
+ <input {...getInputProps()} />
46
+ <Body
47
+ color="light"
48
+ >
49
+ <If condition={isDragActive}>
50
+ <p>{'Drop the files here ...'}</p>
51
+ <Else />
52
+ <p>{'Drag & drop some files here, or click to select files'}</p>
53
+ </If>
54
+ </Body>
55
+ </Card>
56
+ </div>
57
+ )
58
+ }
59
+
60
+ export default FileUpload
@@ -0,0 +1,6 @@
1
+ [class^='pb_file_upload_kit'] {
2
+ [class^='pb_card_kit'] {
3
+ border: 1px #ccc dashed;
4
+ text-align: center;
5
+ }
6
+ }
@@ -0,0 +1,34 @@
1
+ import React, { useState } from 'react'
2
+ import {
3
+ FileUpload,
4
+ List,
5
+ ListItem,
6
+ } from '../..'
7
+
8
+ const AcceptedFilesList = ({files}: FileList) => (
9
+ <List>
10
+ {files.map(file => (
11
+ <ListItem key={file.name}>{file.name}</ListItem>
12
+ ))}
13
+ </List>
14
+ )
15
+
16
+ const FileUploadDefault = () => {
17
+ const [filesToUpload, setFilesToUpload] = useState([])
18
+
19
+ const handleOnFilesAccepted = files => {
20
+ setFilesToUpload([...filesToUpload, ...files])
21
+ }
22
+
23
+ return (
24
+ <div>
25
+ <AcceptedFilesList files={filesToUpload} />
26
+ <FileUpload
27
+ acceptedFiles={filesToUpload}
28
+ onFilesAccepted={handleOnFilesAccepted}
29
+ />
30
+ </div>
31
+ )
32
+ }
33
+
34
+ export default FileUploadDefault
@@ -0,0 +1,7 @@
1
+ examples:
2
+
3
+ rails:
4
+
5
+ react:
6
+ - file_upload_default: Default List of Files to Upload
7
+
@@ -0,0 +1 @@
1
+ export { default as FileUploadDefault } from './_file_upload_default.jsx'
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Playbook
4
+ module PbFileUpload
5
+ class FileUpload
6
+ include Playbook::Props
7
+
8
+ partial "pb_file_upload/file_upload"
9
+ end
10
+ end
11
+ end
@@ -6,5 +6,3 @@ examples:
6
6
  - filter_no_background: No Background
7
7
 
8
8
  react:
9
- - filter_default: Default
10
-
@@ -1 +0,0 @@
1
- export { default as FilterDefault } from './_filter_default.jsx'
@@ -47,11 +47,13 @@ const FormPill = ({
47
47
  text={text}
48
48
  />
49
49
  </If>
50
- <div className="pb_form_pill_close">
50
+ <div
51
+ className="pb_form_pill_close"
52
+ onClick={onClick}
53
+ >
51
54
  <Icon
52
55
  fixedWidth
53
56
  icon="times"
54
- onClick={onClick}
55
57
  />
56
58
  </div>
57
59
  </div>
@@ -4,7 +4,12 @@ import FormPill from '../_form_pill.jsx'
4
4
  const FormPillDefault = () => {
5
5
  return (
6
6
  <div>
7
- <FormPill text="this is a tag" />
7
+ <FormPill
8
+ onClick={() => {
9
+ alert('Click!')
10
+ }}
11
+ text="this is a tag"
12
+ />
8
13
  </div>
9
14
  )
10
15
  }
@@ -8,10 +8,18 @@ const FormPillDefault = () => {
8
8
  <FormPill
9
9
  avatarUrl="https://randomuser.me/api/portraits/women/44.jpg"
10
10
  name="Anna Black"
11
+ onClick={() => {
12
+ alert('Click!')
13
+ }}
11
14
  />
12
15
  <br />
13
16
  <br />
14
- <FormPill name="Anna Black" />
17
+ <FormPill
18
+ name="Anna Black"
19
+ onClick={() => {
20
+ alert('Click!')
21
+ }}
22
+ />
15
23
  </div>
16
24
  )
17
25
  }
@@ -5,5 +5,3 @@ examples:
5
5
 
6
6
 
7
7
  react:
8
- - label_pill_default: Default
9
-
@@ -1 +0,0 @@
1
- export { default as LabelPillDefault } from './_label_pill_default.jsx'
@@ -3,7 +3,5 @@ examples:
3
3
  rails:
4
4
  - online_status_default: Default
5
5
 
6
-
7
6
  react:
8
- - online_status_default: Default
9
-
7
+
@@ -1 +0,0 @@
1
- export { default as OnlineStatusDefault } from './_online_status_default.jsx'
@@ -1,15 +1,28 @@
1
- import React from 'react'
1
+ import React, { useState } from 'react'
2
2
  import { Radio } from '../../'
3
3
 
4
4
  const RadioCustom = () => {
5
+ const [choice, setChoice] = useState('power')
6
+
7
+ const handleOnChange = ({ target }) => {
8
+ setChoice(target.value)
9
+ }
10
+
5
11
  return (
6
12
  <div>
13
+ <p>
14
+ {'Your choice is: '}
15
+ <code>{choice}</code>
16
+ </p>
17
+ <br />
7
18
  <Radio
8
19
  className="my_custom_class"
9
20
  label="Custom Power"
10
21
  >
11
22
  <input
23
+ checked={choice === 'power'}
12
24
  name="custom"
25
+ onChange={handleOnChange}
13
26
  type="radio"
14
27
  value="power"
15
28
  />
@@ -20,8 +33,9 @@ const RadioCustom = () => {
20
33
  label="Custom Nitro"
21
34
  >
22
35
  <input
23
- checked
36
+ checked={choice === 'nitro'}
24
37
  name="custom"
38
+ onChange={handleOnChange}
25
39
  type="radio"
26
40
  value="nitro"
27
41
  />
@@ -32,7 +46,9 @@ const RadioCustom = () => {
32
46
  label="Custom Google"
33
47
  >
34
48
  <input
49
+ checked={choice === 'google'}
35
50
  name="custom"
51
+ onChange={handleOnChange}
36
52
  type="radio"
37
53
  value="google"
38
54
  />
@@ -7,4 +7,3 @@ examples:
7
7
 
8
8
 
9
9
  react:
10
- - source_default: Default
@@ -1 +0,0 @@
1
- export { default as SourceDefault } from './_source_default.jsx'
@@ -6,4 +6,3 @@ examples:
6
6
 
7
7
 
8
8
  react:
9
- - star_rating_default: Default
@@ -1 +0,0 @@
1
- export { default as StarRatingDefault } from './_star_rating_default.jsx'
@@ -5,4 +5,3 @@ examples:
5
5
  - time_timestamp: Timestamp Values
6
6
 
7
7
  react:
8
- - time_default: Default
@@ -1 +0,0 @@
1
- export { default as TimeDefault } from './_time_default.jsx'
@@ -5,5 +5,3 @@ examples:
5
5
 
6
6
 
7
7
  react:
8
- - timestamp_default: Default
9
-
@@ -1 +0,0 @@
1
- export { default as TimestampDefault } from './_timestamp_default.jsx'
@@ -5,5 +5,3 @@ examples:
5
5
 
6
6
 
7
7
  react:
8
- - title_detail_default: Default
9
-
@@ -1 +0,0 @@
1
- export { default as TitleDetailDefault } from './_title_detail_default.jsx'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- VERSION = "4.10.0"
4
+ VERSION = "4.11.0-alpha3"
5
5
  end
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: 4.10.0
4
+ version: 4.11.0.pre.alpha3
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: 2020-04-02 00:00:00.000000000 Z
12
+ date: 2020-04-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -636,6 +636,7 @@ files:
636
636
  - app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.jsx
637
637
  - app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.scss
638
638
  - app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
639
+ - app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_click.jsx
639
640
  - app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_dark.html.erb
640
641
  - app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_dark.jsx
641
642
  - app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.html.erb
@@ -757,11 +758,16 @@ files:
757
758
  - app/pb_kits/playbook/pb_distribution_bar/docs/index.js
758
759
  - app/pb_kits/playbook/pb_enhanced_element/element_observer.js
759
760
  - app/pb_kits/playbook/pb_enhanced_element/index.js
761
+ - app/pb_kits/playbook/pb_file_upload/_file_upload.jsx
762
+ - app/pb_kits/playbook/pb_file_upload/_file_upload.scss
763
+ - app/pb_kits/playbook/pb_file_upload/docs/_file_upload_default.jsx
764
+ - app/pb_kits/playbook/pb_file_upload/docs/example.yml
765
+ - app/pb_kits/playbook/pb_file_upload/docs/index.js
766
+ - app/pb_kits/playbook/pb_file_upload/file_upload.rb
760
767
  - app/pb_kits/playbook/pb_filter/_filter.html.erb
761
768
  - app/pb_kits/playbook/pb_filter/_filter.jsx
762
769
  - app/pb_kits/playbook/pb_filter/_filter.scss
763
770
  - app/pb_kits/playbook/pb_filter/docs/_filter_default.html.erb
764
- - app/pb_kits/playbook/pb_filter/docs/_filter_default.jsx
765
771
  - app/pb_kits/playbook/pb_filter/docs/_filter_no_background.html.erb
766
772
  - app/pb_kits/playbook/pb_filter/docs/_filter_single.html.erb
767
773
  - app/pb_kits/playbook/pb_filter/docs/example.yml
@@ -952,7 +958,6 @@ files:
952
958
  - app/pb_kits/playbook/pb_label_pill/docs/_description.md
953
959
  - app/pb_kits/playbook/pb_label_pill/docs/_footer.md
954
960
  - app/pb_kits/playbook/pb_label_pill/docs/_label_pill_default.html.erb
955
- - app/pb_kits/playbook/pb_label_pill/docs/_label_pill_default.jsx
956
961
  - app/pb_kits/playbook/pb_label_pill/docs/_label_pill_default.md
957
962
  - app/pb_kits/playbook/pb_label_pill/docs/example.yml
958
963
  - app/pb_kits/playbook/pb_label_pill/docs/index.js
@@ -1118,7 +1123,6 @@ files:
1118
1123
  - app/pb_kits/playbook/pb_online_status/_online_status_mixins.scss
1119
1124
  - app/pb_kits/playbook/pb_online_status/docs/_description.md
1120
1125
  - app/pb_kits/playbook/pb_online_status/docs/_online_status_default.html.erb
1121
- - app/pb_kits/playbook/pb_online_status/docs/_online_status_default.jsx
1122
1126
  - app/pb_kits/playbook/pb_online_status/docs/example.yml
1123
1127
  - app/pb_kits/playbook/pb_online_status/docs/index.js
1124
1128
  - app/pb_kits/playbook/pb_online_status/online_status.rb
@@ -1296,7 +1300,6 @@ files:
1296
1300
  - app/pb_kits/playbook/pb_source/_source.scss
1297
1301
  - app/pb_kits/playbook/pb_source/docs/_description.md
1298
1302
  - app/pb_kits/playbook/pb_source/docs/_source_default.html.erb
1299
- - app/pb_kits/playbook/pb_source/docs/_source_default.jsx
1300
1303
  - app/pb_kits/playbook/pb_source/docs/_source_noicon.html.erb
1301
1304
  - app/pb_kits/playbook/pb_source/docs/_source_types.html.erb
1302
1305
  - app/pb_kits/playbook/pb_source/docs/example.yml
@@ -1307,7 +1310,6 @@ files:
1307
1310
  - app/pb_kits/playbook/pb_star_rating/_star_rating.scss
1308
1311
  - app/pb_kits/playbook/pb_star_rating/docs/_description.md
1309
1312
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.html.erb
1310
- - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx
1311
1313
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.html.erb
1312
1314
  - app/pb_kits/playbook/pb_star_rating/docs/example.yml
1313
1315
  - app/pb_kits/playbook/pb_star_rating/docs/index.js
@@ -1427,7 +1429,6 @@ files:
1427
1429
  - app/pb_kits/playbook/pb_time/docs/_description.md
1428
1430
  - app/pb_kits/playbook/pb_time/docs/_footer.md
1429
1431
  - app/pb_kits/playbook/pb_time/docs/_time_default.html.erb
1430
- - app/pb_kits/playbook/pb_time/docs/_time_default.jsx
1431
1432
  - app/pb_kits/playbook/pb_time/docs/_time_default.md
1432
1433
  - app/pb_kits/playbook/pb_time/docs/_time_timestamp.html.erb
1433
1434
  - app/pb_kits/playbook/pb_time/docs/example.yml
@@ -1441,7 +1442,6 @@ files:
1441
1442
  - app/pb_kits/playbook/pb_timestamp/docs/_footer.md
1442
1443
  - app/pb_kits/playbook/pb_timestamp/docs/_time_stamp_default.md
1443
1444
  - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.html.erb
1444
- - app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.jsx
1445
1445
  - app/pb_kits/playbook/pb_timestamp/docs/example.yml
1446
1446
  - app/pb_kits/playbook/pb_timestamp/docs/index.js
1447
1447
  - app/pb_kits/playbook/pb_timestamp/timestamp.rb
@@ -1475,7 +1475,6 @@ files:
1475
1475
  - app/pb_kits/playbook/pb_title_detail/docs/_description.md
1476
1476
  - app/pb_kits/playbook/pb_title_detail/docs/_footer.md
1477
1477
  - app/pb_kits/playbook/pb_title_detail/docs/_title_detail_default.html.erb
1478
- - app/pb_kits/playbook/pb_title_detail/docs/_title_detail_default.jsx
1479
1478
  - app/pb_kits/playbook/pb_title_detail/docs/_title_detail_default.md
1480
1479
  - app/pb_kits/playbook/pb_title_detail/docs/example.yml
1481
1480
  - app/pb_kits/playbook/pb_title_detail/docs/index.js
@@ -1642,9 +1641,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
1642
1641
  version: '0'
1643
1642
  required_rubygems_version: !ruby/object:Gem::Requirement
1644
1643
  requirements:
1645
- - - ">="
1644
+ - - ">"
1646
1645
  - !ruby/object:Gem::Version
1647
- version: '0'
1646
+ version: 1.3.1
1648
1647
  requirements: []
1649
1648
  rubyforge_project:
1650
1649
  rubygems_version: 2.7.3
@@ -1,9 +0,0 @@
1
- import React from 'react'
2
-
3
- const FilterDefault = () => (
4
- <div>
5
- <h1>{'Coming Soon!'}</h1>
6
- </div>
7
- )
8
-
9
- export default FilterDefault
@@ -1,9 +0,0 @@
1
- import React from 'react'
2
-
3
- const LabelPillDefault = () => {
4
- return (
5
- <h1>{'Coming Soon...'}</h1>
6
- )
7
- }
8
-
9
- export default LabelPillDefault
@@ -1,9 +0,0 @@
1
- import React from 'react'
2
-
3
- const OnlineStatusDefault = () => {
4
- return (
5
- <h1>{'Coming Soon...'}</h1>
6
- )
7
- }
8
-
9
- export default OnlineStatusDefault
@@ -1,9 +0,0 @@
1
- import React from 'react'
2
-
3
- const SourceDefault = () => {
4
- return (
5
- <h1>{'Coming Soon...'}</h1>
6
- )
7
- }
8
-
9
- export default SourceDefault
@@ -1,9 +0,0 @@
1
- import React from 'react'
2
-
3
- const StarRatingDefault = () => {
4
- return (
5
- <h1>{'Coming Soon...'}</h1>
6
- )
7
- }
8
-
9
- export default StarRatingDefault
@@ -1,9 +0,0 @@
1
- import React from 'react'
2
-
3
- const TimeDefault = () => {
4
- return (
5
- <h1>{'Coming Soon...'}</h1>
6
- )
7
- }
8
-
9
- export default TimeDefault
@@ -1,9 +0,0 @@
1
- import React from 'react'
2
-
3
- const TimestampDefault = () => {
4
- return (
5
- <h1>{'Coming Soon...'}</h1>
6
- )
7
- }
8
-
9
- export default TimestampDefault
@@ -1,9 +0,0 @@
1
- import React from 'react'
2
-
3
- const TitleDetailDefault = () => {
4
- return (
5
- <h1>{'Coming Soon...'}</h1>
6
- )
7
- }
8
-
9
- export default TitleDetailDefault