playbook_ui 7.0.1.pre.alpha15 → 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/data/menu.yml +3 -4
  3. data/app/pb_kits/playbook/pb_bar_graph/bar_graph.rb +1 -0
  4. data/app/pb_kits/playbook/pb_body/body.rb +1 -1
  5. data/app/pb_kits/playbook/pb_button/_button_mixins.scss +0 -1
  6. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.jsx +3 -3
  7. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.scss +90 -82
  8. data/app/pb_kits/playbook/pb_button_toolbar/button_toolbar.rb +2 -4
  9. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_default.html.erb +7 -17
  10. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_default.jsx +9 -32
  11. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_secondary.html.erb +7 -18
  12. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_secondary.jsx +9 -37
  13. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical.html.erb +11 -0
  14. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical.jsx +29 -0
  15. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical_secondary.html.erb +11 -0
  16. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical_secondary.jsx +34 -0
  17. data/app/pb_kits/playbook/pb_button_toolbar/docs/example.yml +7 -3
  18. data/app/pb_kits/playbook/pb_button_toolbar/docs/index.js +2 -0
  19. data/app/pb_kits/playbook/pb_caption/_caption.html.erb +5 -7
  20. data/app/pb_kits/playbook/pb_caption/docs/example.yml +0 -2
  21. data/app/pb_kits/playbook/pb_caption/docs/index.js +0 -1
  22. data/app/pb_kits/playbook/pb_date_picker/_date_picker.html.erb +2 -1
  23. data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +3 -1
  24. data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +2 -3
  25. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.js +32 -34
  26. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.html.erb +4 -0
  27. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.jsx +13 -0
  28. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.md +1 -0
  29. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.html.erb +4 -0
  30. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.jsx +13 -0
  31. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.html.erb +2 -1
  32. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx +2 -1
  33. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.html.erb +0 -4
  34. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.jsx +0 -4
  35. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.html.erb +9 -9
  36. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.jsx +8 -8
  37. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.md +1 -3
  38. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.html.erb +0 -1
  39. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx +0 -1
  40. data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +4 -0
  41. data/app/pb_kits/playbook/pb_date_picker/docs/index.js +2 -0
  42. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.html.erb +14 -8
  43. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.jsx +39 -122
  44. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.scss +2 -33
  45. data/app/pb_kits/playbook/pb_date_range_inline/date_range_inline.rb +9 -44
  46. data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.html.erb +1 -14
  47. data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx +1 -45
  48. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.html.erb +2 -3
  49. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx +15 -29
  50. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss +0 -10
  51. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.html.erb +1 -2
  52. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.jsx +2 -1
  53. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.html.erb +1 -1
  54. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.jsx +1 -1
  55. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.html.erb +1 -1
  56. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.jsx +1 -1
  57. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml +0 -2
  58. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/index.js +0 -1
  59. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.rb +1 -7
  60. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +1 -1
  61. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +1 -1
  62. data/app/pb_kits/playbook/pb_form/docs/_form_simple_form.html.erb +3 -3
  63. data/app/pb_kits/playbook/pb_form/docs/_form_simple_form_validate.html.erb +3 -3
  64. data/app/pb_kits/playbook/pb_form/form_builder/date_picker_field.rb +0 -1
  65. data/app/pb_kits/playbook/pb_line_graph/line_graph.rb +1 -0
  66. data/app/pb_kits/playbook/pb_popover/_popover.scss +4 -6
  67. data/app/pb_kits/playbook/pb_popover/index.js +1 -3
  68. data/app/pb_kits/playbook/pb_progress_step/_progress_step.jsx +0 -3
  69. data/app/pb_kits/playbook/pb_progress_step/_progress_step.scss +33 -168
  70. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.html.erb +1 -3
  71. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.jsx +8 -10
  72. data/app/pb_kits/playbook/pb_progress_step/docs/_description.md +1 -1
  73. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb +16 -14
  74. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +3 -6
  75. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.html.erb +1 -17
  76. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.jsx +1 -17
  77. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.jsx +3 -10
  78. data/app/pb_kits/playbook/pb_progress_step/progress_step.rb +1 -11
  79. data/app/pb_kits/playbook/pb_progress_step/progress_step_item.rb +1 -1
  80. data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -12
  81. data/app/pb_kits/playbook/pb_table/docs/index.js +0 -6
  82. data/app/pb_kits/playbook/pb_time/_time.html.erb +20 -17
  83. data/app/pb_kits/playbook/pb_time/_time.jsx +27 -40
  84. data/app/pb_kits/playbook/pb_time/_time.scss +24 -4
  85. data/app/pb_kits/playbook/pb_time/docs/_time_align.jsx +1 -4
  86. data/app/pb_kits/playbook/pb_time/docs/_time_default.html.erb +11 -11
  87. data/app/pb_kits/playbook/pb_time/docs/_time_default.jsx +1 -13
  88. data/app/pb_kits/playbook/pb_time/docs/_time_sizes.jsx +1 -4
  89. data/app/pb_kits/playbook/pb_time/docs/_time_timestamp.jsx +1 -3
  90. data/app/pb_kits/playbook/pb_time/docs/_time_timezone.jsx +2 -7
  91. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.scss +5 -5
  92. data/app/pb_kits/playbook/pb_toggle/docs/example.yml +0 -1
  93. data/app/pb_kits/playbook/pb_toggle/toggle.rb +1 -4
  94. data/app/pb_kits/playbook/pb_typeahead/_typeahead.html.erb +20 -24
  95. data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +1 -19
  96. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx +1 -8
  97. data/app/pb_kits/playbook/pb_typeahead/components/Option.jsx +13 -21
  98. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.html.erb +1 -1
  99. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_context_dark.html.erb +1 -1
  100. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx +3 -0
  101. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx +45 -0
  102. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx +3 -0
  103. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_summary.jsx +27 -0
  104. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -3
  105. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +1 -24
  106. data/app/pb_kits/playbook/react_rails_kits.js +0 -1
  107. data/app/pb_kits/playbook/vendor.js +0 -3
  108. data/lib/playbook/version.rb +1 -1
  109. metadata +15 -35
  110. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss +0 -57
  111. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_mixins.scss +0 -27
  112. data/app/pb_kits/playbook/pb_caption/docs/_caption_block.html.erb +0 -11
  113. data/app/pb_kits/playbook/pb_caption/docs/_caption_block.jsx +0 -28
  114. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.md +0 -1
  115. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.html.erb +0 -21
  116. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.jsx +0 -38
  117. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/index.js +0 -18
  118. data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.html.erb +0 -34
  119. data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx +0 -68
  120. data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.md +0 -2
  121. data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.html.erb +0 -61
  122. data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.jsx +0 -89
  123. data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.md +0 -1
  124. data/app/pb_kits/playbook/pb_table/docs/_table_one_action.html.erb +0 -34
  125. data/app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx +0 -68
  126. data/app/pb_kits/playbook/pb_table/docs/_table_one_action.md +0 -2
  127. data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.html.erb +0 -43
  128. data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.jsx +0 -80
  129. data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.md +0 -1
  130. data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.html.erb +0 -34
  131. data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.jsx +0 -63
  132. data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.md +0 -1
  133. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_options.html.erb +0 -10
  134. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.html.erb +0 -25
  135. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.md +0 -8
  136. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.html.erb +0 -30
  137. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md +0 -11
  138. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.html.erb +0 -25
  139. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.md +0 -1
  140. data/lib/tasks/changelog.rake +0 -14
@@ -19,18 +19,11 @@ const MultiValue = (props: Props) => {
19
19
  selectProps,
20
20
  } = props
21
21
 
22
- const { imageUrl, label } = data
23
-
24
- const handleOnMultiValueRemove = () => {
25
- const multiValueRemoveEvent = new CustomEvent('pb-typeahead-kit-result-option-remove', { detail: data })
26
- document.dispatchEvent(multiValueRemoveEvent)
27
- }
28
-
29
22
  const handleOnClick = () => {
30
23
  if (selectProps.onMultiValueClick) selectProps.onMultiValueClick(data)
31
- handleOnMultiValueRemove()
32
24
  removeProps.onClick()
33
25
  }
26
+ const { imageUrl, label } = data
34
27
 
35
28
  return (
36
29
  <components.MultiValueContainer
@@ -12,29 +12,21 @@ const Option = (props: any) => {
12
12
  imageUrl,
13
13
  label,
14
14
  } = props.data
15
-
16
- const handleOptionClicked = () => {
17
- const resultSelectedEvent = new CustomEvent('pb-typeahead-kit-result-option-select', { detail: props.data })
18
- document.dispatchEvent(resultSelectedEvent)
19
- }
20
-
21
15
  return (
22
16
  <components.Option {...props}>
23
- <div onClick={handleOptionClicked}>
24
- <Choose>
25
- <When condition={imageUrl}>
26
- <User
27
- align="left"
28
- avatarUrl={imageUrl}
29
- name={label}
30
- orientation="horizontal"
31
- />
32
- </When>
33
- <When condition={!imageUrl}>
34
- {label}
35
- </When>
36
- </Choose>
37
- </div>
17
+ <Choose>
18
+ <When condition={imageUrl}>
19
+ <User
20
+ align="left"
21
+ avatarUrl={imageUrl}
22
+ name={label}
23
+ orientation="horizontal"
24
+ />
25
+ </When>
26
+ <When condition={!imageUrl}>
27
+ {label}
28
+ </When>
29
+ </Choose>
38
30
  </components.Option>
39
31
  )
40
32
  }
@@ -25,7 +25,7 @@
25
25
 
26
26
  <%= javascript_tag defer: "defer" do %>
27
27
  document.addEventListener("pb-typeahead-kit-search", function(event) {
28
- if (!event.target.dataset || !event.target.dataset.typeaheadExample) return;
28
+ if (!event.target.dataset.typeaheadExample) return;
29
29
 
30
30
  fetch(`https://api.github.com/search/users?q=${encodeURIComponent(event.detail.searchingFor)}`)
31
31
  .then(response => response.json())
@@ -18,7 +18,7 @@
18
18
 
19
19
  <%= javascript_tag defer: "defer" do %>
20
20
  document.addEventListener("pb-typeahead-kit-search", function(event) {
21
- if (!event.target.dataset || !event.target.dataset.typeaheadExample2) return;
21
+ if (!event.target.dataset.typeaheadExample2) return;
22
22
 
23
23
  const fuzzyMatch = function(string, term) {
24
24
  const ratio = 0.5;
@@ -10,9 +10,12 @@ const options = [
10
10
  { label: 'Roofs', value: '#0000FF' },
11
11
  ]
12
12
 
13
+ import TypeaheadWithPillsSummary from './_typeahead_with_pills_summary'
14
+
13
15
  const TypeaheadWithPills = () => {
14
16
  return (
15
17
  <>
18
+ <TypeaheadWithPillsSummary />
16
19
  <Typeahead
17
20
  isMulti
18
21
  label="Colors"
@@ -0,0 +1,45 @@
1
+ /* @flow */
2
+
3
+ import React from 'react'
4
+ import { Body, Flex, FlexItem, Icon } from '../..'
5
+
6
+ const TypeaheadWithPillsAsyncSummary = () => {
7
+ return (
8
+ <>
9
+ <Flex
10
+ marginBottom="lg"
11
+ vertical="center"
12
+ >
13
+ <FlexItem>
14
+ <Body
15
+ color="light"
16
+ >
17
+ <Icon
18
+ icon="info-circle"
19
+ marginRight="xs"
20
+ />
21
+ </Body>
22
+ </FlexItem>
23
+ <FlexItem>
24
+ <Body
25
+ color="light"
26
+ >
27
+ {'If the data field '}
28
+ <code>{'imageUrl'}</code>
29
+ {' is present, '}
30
+ <code>{'FormPill'}</code>
31
+ {' will receive that field as a prop and display the image. '}
32
+ <br />
33
+ {'Additionally, you can also leverage the callback prop: '}
34
+ <code>{'onMultiValueClick'}</code>
35
+ {' to perform custom work when a '}
36
+ <code>{'MultiValue'}</code>
37
+ {' item is clicked.'}
38
+ </Body>
39
+ </FlexItem>
40
+ </Flex>
41
+ </>
42
+ )
43
+ }
44
+
45
+ export default TypeaheadWithPillsAsyncSummary
@@ -8,6 +8,8 @@ import {
8
8
  User,
9
9
  } from '../..'
10
10
 
11
+ import TypeaheadWithPillsAsyncSummary from './_typeahead_with_pills_async_summary'
12
+
11
13
  /**
12
14
  *
13
15
  * @const filterResults
@@ -63,6 +65,7 @@ const TypeaheadWithPillsAsyncUsers = () => {
63
65
 
64
66
  return (
65
67
  <>
68
+ <TypeaheadWithPillsAsyncSummary />
66
69
  <If condition={users && users.length > 0}>
67
70
  <Caption
68
71
  marginBottom="xs"
@@ -0,0 +1,27 @@
1
+ // @flow
2
+
3
+ import React from 'react'
4
+ import { Body, Icon } from '../..'
5
+
6
+ const TypeaheadWithPillsSummary = () => {
7
+ return (
8
+ <>
9
+ <Body
10
+ color="light"
11
+ marginBottom="lg"
12
+ >
13
+ <Icon
14
+ icon="info-circle"
15
+ marginRight="xs"
16
+ />
17
+ {'Typeahead kit is data-driven. The minimum default fields are '}
18
+ <code>{'label'}</code>
19
+ {' and '}
20
+ <code>{'value'}</code>
21
+ {'.'}
22
+ </Body>
23
+ </>
24
+ )
25
+ }
26
+
27
+ export default TypeaheadWithPillsSummary
@@ -2,9 +2,6 @@ examples:
2
2
  rails:
3
3
  - typeahead_default: Default
4
4
  - typeahead_with_context_dark: With Context
5
- - typeahead_with_pills: With Pills
6
- - typeahead_with_pills_async: With Pills (Async Data)
7
- - typeahead_with_pills_async_users: With Pills (Async Data w/ Users)
8
5
 
9
6
  react:
10
7
  - typeahead_default: Default
@@ -5,19 +5,12 @@ module Playbook
5
5
  class Typeahead
6
6
  include Playbook::Props
7
7
 
8
- prop :async, type: Playbook::Props::Boolean,
9
- default: false
10
8
  prop :label
11
- prop :load_options
12
9
  prop :name
13
- prop :options, type: Playbook::Props::HashArray, default: []
14
- prop :pills, type: Playbook::Props::Boolean,
15
- default: false
16
-
10
+ prop :value
17
11
  prop :placeholder
18
12
  prop :search_term_minimum_length, default: 3
19
13
  prop :search_debounce_timeout, default: 250
20
- prop :value
21
14
 
22
15
  partial "pb_typeahead/typeahead"
23
16
 
@@ -32,22 +25,6 @@ module Playbook
32
25
  pb_typeahead_kit_search_debounce_timeout: search_debounce_timeout
33
26
  )
34
27
  end
35
-
36
- def typeahead_with_pills_options
37
- base_options = {
38
- isMulti: true,
39
- label: label,
40
- options: options,
41
- placeholder: placeholder
42
- }
43
-
44
- base_options.merge!({
45
- async: true,
46
- loadOptions: load_options,
47
- }) if async
48
-
49
- base_options
50
- end
51
28
  end
52
29
  end
53
30
  end
@@ -3,4 +3,3 @@ export { default as BarGraph } from './pb_bar_graph/_bar_graph.jsx'
3
3
  export { default as DistributionBar } from './pb_distribution_bar/_distribution_bar.jsx'
4
4
  export { default as Legend } from './pb_legend/_legend.jsx'
5
5
  export { default as LineGraph } from './pb_line_graph/_line_graph.jsx'
6
- export { default as Typeahead } from './pb_typeahead/_typeahead.jsx'
@@ -18,9 +18,6 @@ PbPopover.start()
18
18
  import PbTooltip from './pb_tooltip'
19
19
  PbTooltip.start()
20
20
 
21
- import PbFixedConfirmationToast from './pb_fixed_confirmation_toast'
22
- PbFixedConfirmationToast.start()
23
-
24
21
  import PbTypeahead from './pb_typeahead'
25
22
  PbTypeahead.start()
26
23
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Playbook
3
- VERSION = "7.0.1.pre.alpha15"
3
+ VERSION = "7.0.1"
4
4
  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: 7.0.1.pre.alpha15
4
+ version: 7.0.1
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-10-09 00:00:00.000000000 Z
12
+ date: 2020-10-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -515,13 +515,15 @@ files:
515
515
  - app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.html.erb
516
516
  - app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.jsx
517
517
  - app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.scss
518
- - app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
519
- - app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_mixins.scss
520
518
  - app/pb_kits/playbook/pb_button_toolbar/button_toolbar.rb
521
519
  - app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_default.html.erb
522
520
  - app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_default.jsx
523
521
  - app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_secondary.html.erb
524
522
  - app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_secondary.jsx
523
+ - app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical.html.erb
524
+ - app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical.jsx
525
+ - app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical_secondary.html.erb
526
+ - app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical_secondary.jsx
525
527
  - app/pb_kits/playbook/pb_button_toolbar/docs/_description.md
526
528
  - app/pb_kits/playbook/pb_button_toolbar/docs/example.yml
527
529
  - app/pb_kits/playbook/pb_button_toolbar/docs/index.js
@@ -530,8 +532,6 @@ files:
530
532
  - app/pb_kits/playbook/pb_caption/_caption.scss
531
533
  - app/pb_kits/playbook/pb_caption/_caption_mixin.scss
532
534
  - app/pb_kits/playbook/pb_caption/caption.rb
533
- - app/pb_kits/playbook/pb_caption/docs/_caption_block.html.erb
534
- - app/pb_kits/playbook/pb_caption/docs/_caption_block.jsx
535
535
  - app/pb_kits/playbook/pb_caption/docs/_caption_light.html.erb
536
536
  - app/pb_kits/playbook/pb_caption/docs/_caption_light.jsx
537
537
  - app/pb_kits/playbook/pb_caption/docs/_caption_variants.html.erb
@@ -680,11 +680,15 @@ files:
680
680
  - app/pb_kits/playbook/pb_date_picker/_date_picker.scss
681
681
  - app/pb_kits/playbook/pb_date_picker/date_picker.rb
682
682
  - app/pb_kits/playbook/pb_date_picker/date_picker_helper.js
683
+ - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.html.erb
684
+ - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.jsx
685
+ - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.md
686
+ - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.html.erb
687
+ - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.jsx
683
688
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default.html.erb
684
689
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default.jsx
685
690
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.html.erb
686
691
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
687
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.md
688
692
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
689
693
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.jsx
690
694
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_error.html.erb
@@ -832,8 +836,6 @@ files:
832
836
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx
833
837
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
834
838
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_description.md
835
- - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.html.erb
836
- - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.jsx
837
839
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dark.html.erb
838
840
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dark.jsx
839
841
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.html.erb
@@ -846,7 +848,6 @@ files:
846
848
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml
847
849
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/index.js
848
850
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.rb
849
- - app/pb_kits/playbook/pb_fixed_confirmation_toast/index.js
850
851
  - app/pb_kits/playbook/pb_flex/_flex.html.erb
851
852
  - app/pb_kits/playbook/pb_flex/_flex.jsx
852
853
  - app/pb_kits/playbook/pb_flex/_flex.scss
@@ -1505,18 +1506,12 @@ files:
1505
1506
  - app/pb_kits/playbook/pb_table/_table_row.html.erb
1506
1507
  - app/pb_kits/playbook/pb_table/_table_row.jsx
1507
1508
  - app/pb_kits/playbook/pb_table/docs/_description.md
1508
- - app/pb_kits/playbook/pb_table/docs/_table_action_middle.html.erb
1509
- - app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
1510
- - app/pb_kits/playbook/pb_table/docs/_table_action_middle.md
1511
1509
  - app/pb_kits/playbook/pb_table/docs/_table_container.html.erb
1512
1510
  - app/pb_kits/playbook/pb_table/docs/_table_container.jsx
1513
1511
  - app/pb_kits/playbook/pb_table/docs/_table_data_table.html.erb
1514
1512
  - app/pb_kits/playbook/pb_table/docs/_table_data_table.jsx
1515
1513
  - app/pb_kits/playbook/pb_table/docs/_table_disable_hover.html.erb
1516
1514
  - app/pb_kits/playbook/pb_table/docs/_table_disable_hover.jsx
1517
- - app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.html.erb
1518
- - app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.jsx
1519
- - app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.md
1520
1515
  - app/pb_kits/playbook/pb_table/docs/_table_lg.html.erb
1521
1516
  - app/pb_kits/playbook/pb_table/docs/_table_lg.jsx
1522
1517
  - app/pb_kits/playbook/pb_table/docs/_table_lg.md
@@ -1525,9 +1520,6 @@ files:
1525
1520
  - app/pb_kits/playbook/pb_table/docs/_table_md.md
1526
1521
  - app/pb_kits/playbook/pb_table/docs/_table_multiline.html.erb
1527
1522
  - app/pb_kits/playbook/pb_table/docs/_table_multiline.jsx
1528
- - app/pb_kits/playbook/pb_table/docs/_table_one_action.html.erb
1529
- - app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
1530
- - app/pb_kits/playbook/pb_table/docs/_table_one_action.md
1531
1523
  - app/pb_kits/playbook/pb_table/docs/_table_responsive_table.html.erb
1532
1524
  - app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
1533
1525
  - app/pb_kits/playbook/pb_table/docs/_table_side_highlight.html.erb
@@ -1538,12 +1530,6 @@ files:
1538
1530
  - app/pb_kits/playbook/pb_table/docs/_table_sm.html.erb
1539
1531
  - app/pb_kits/playbook/pb_table/docs/_table_sm.jsx
1540
1532
  - app/pb_kits/playbook/pb_table/docs/_table_sm.md
1541
- - app/pb_kits/playbook/pb_table/docs/_table_two_actions.html.erb
1542
- - app/pb_kits/playbook/pb_table/docs/_table_two_actions.jsx
1543
- - app/pb_kits/playbook/pb_table/docs/_table_two_actions.md
1544
- - app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.html.erb
1545
- - app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.jsx
1546
- - app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.md
1547
1533
  - app/pb_kits/playbook/pb_table/docs/example.yml
1548
1534
  - app/pb_kits/playbook/pb_table/docs/index.js
1549
1535
  - app/pb_kits/playbook/pb_table/index.js
@@ -1713,7 +1699,6 @@ files:
1713
1699
  - app/pb_kits/playbook/pb_toggle/docs/_toggle_default.jsx
1714
1700
  - app/pb_kits/playbook/pb_toggle/docs/_toggle_name.html.erb
1715
1701
  - app/pb_kits/playbook/pb_toggle/docs/_toggle_name.jsx
1716
- - app/pb_kits/playbook/pb_toggle/docs/_toggle_options.html.erb
1717
1702
  - app/pb_kits/playbook/pb_toggle/docs/example.yml
1718
1703
  - app/pb_kits/playbook/pb_toggle/docs/index.js
1719
1704
  - app/pb_kits/playbook/pb_toggle/toggle.rb
@@ -1739,15 +1724,11 @@ files:
1739
1724
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.html.erb
1740
1725
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx
1741
1726
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_context_dark.html.erb
1742
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.html.erb
1743
1727
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
1744
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.md
1745
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.html.erb
1746
1728
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.jsx
1747
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
1748
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.html.erb
1729
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
1749
1730
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx
1750
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.md
1731
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_summary.jsx
1751
1732
  - app/pb_kits/playbook/pb_typeahead/docs/example.yml
1752
1733
  - app/pb_kits/playbook/pb_typeahead/docs/index.js
1753
1734
  - app/pb_kits/playbook/pb_typeahead/index.js
@@ -1853,7 +1834,6 @@ files:
1853
1834
  - lib/playbook/engine.rb
1854
1835
  - lib/playbook/version.rb
1855
1836
  - lib/playbook_ui.rb
1856
- - lib/tasks/changelog.rake
1857
1837
  - lib/tasks/pb_release.rake
1858
1838
  - lib/tasks/playbook_tasks.rake
1859
1839
  homepage: http://playbook.powerapp.cloud
@@ -1871,9 +1851,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
1871
1851
  version: '0'
1872
1852
  required_rubygems_version: !ruby/object:Gem::Requirement
1873
1853
  requirements:
1874
- - - ">"
1854
+ - - ">="
1875
1855
  - !ruby/object:Gem::Version
1876
- version: 1.3.1
1856
+ version: '0'
1877
1857
  requirements: []
1878
1858
  rubygems_version: 3.1.4
1879
1859
  signing_key:
@@ -1,57 +0,0 @@
1
- @import "./button_toolbar_mixins";
2
- @import "../tokens/colors";
3
- @import "../tokens/opacity";
4
-
5
- [class^=pb_button_toolbar]{
6
-
7
- // Vertical =============
8
-
9
- &[class*=_vertical] {
10
- &[class*=_primary].dark {
11
- & > [class^=pb_button]:not(:first-child)::before {
12
- @include toolbar_border(true, $primary_dark)
13
- }
14
- }
15
- &[class*=_secondary].dark {
16
- & > [class^=pb_button]:not(:first-child)::before {
17
- @include toolbar_border(true, $secondary_dark)
18
- }
19
- }
20
- }
21
-
22
- // Horizontal =============
23
-
24
- &[class*=_horizontal] {
25
- &[class*=_primary].dark {
26
- & > [class^=pb_button]:not(:first-child)::before {
27
- @include toolbar_border(false, $primary_dark)
28
- }
29
- }
30
- &[class*=_secondary].dark {
31
- & > [class^=pb_button]:not(:first-child)::before {
32
- @include toolbar_border(false, $secondary_dark)
33
- }
34
- }
35
- }
36
- & > [class^=pb_button]:not(:first-child):hover::before,
37
- [class^=pb_button]:hover + [class^=pb_button]::before {
38
- opacity: 0
39
- }
40
-
41
- // Hover =============
42
-
43
- [class^=pb_button].dark {
44
- @media (hover:hover) {
45
- &:hover {
46
- background-color:darken($royal, 20%);
47
- }
48
- }
49
- &[class*=secondary] {
50
- @media (hover:hover) {
51
- &:hover {
52
- background-color:rgba($primary_action, $opacity_3)
53
- }
54
- }
55
- }
56
- }
57
- }