playbook_ui_docs 15.4.0.pre.alpha.PLAY2582rails722112532 → 15.4.0.pre.alpha.PLAY2627requiredmultiselectdropdownbug12416

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 (85) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.jsx +1 -2
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers.jsx +1 -1
  4. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_fullscreen.jsx +1 -3
  5. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_infinite_scroll.jsx +1 -1
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_editing.jsx +1 -3
  7. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.jsx +1 -2
  8. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_default.html.erb +2 -2
  9. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_default.jsx +2 -1
  10. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_from.html.erb +2 -2
  11. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_from.jsx +0 -2
  12. data/app/pb_kits/playbook/pb_copy_button/docs/example.yml +0 -2
  13. data/app/pb_kits/playbook/pb_copy_button/docs/index.js +0 -1
  14. data/app/pb_kits/playbook/pb_date_time/docs/example.yml +1 -3
  15. data/app/pb_kits/playbook/pb_date_time/docs/index.js +0 -1
  16. data/app/pb_kits/playbook/pb_date_time_stacked/docs/example.yml +1 -3
  17. data/app/pb_kits/playbook/pb_date_time_stacked/docs/index.js +0 -1
  18. data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_alignment.jsx +1 -2
  19. data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_default.jsx +1 -2
  20. data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_orientation.jsx +1 -2
  21. data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_size.jsx +1 -2
  22. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_wrapped.jsx +1 -4
  23. data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_variant.jsx +1 -1
  24. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_colors.jsx +1 -1
  25. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_default.jsx +1 -1
  26. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_height.jsx +1 -1
  27. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_horizontal.jsx +1 -1
  28. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend.jsx +1 -1
  29. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_non_clickable.jsx +2 -1
  30. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_position.jsx +1 -1
  31. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_negative_numbers.jsx +1 -1
  32. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_secondary_y_axis.jsx +1 -1
  33. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_spline.jsx +2 -1
  34. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_stacked.jsx +2 -1
  35. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_block_content.jsx +1 -2
  36. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_color_overrides.jsx +1 -2
  37. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_custom_tooltip.jsx +1 -1
  38. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_legend_position.jsx +1 -2
  39. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_with_labels.jsx +1 -1
  40. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_with_legend.jsx +1 -1
  41. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_default.jsx +1 -1
  42. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_inner_sizes.jsx +1 -1
  43. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_live_data.jsx +1 -2
  44. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_rounded.jsx +1 -1
  45. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_with_title.jsx +1 -1
  46. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_color.jsx +1 -1
  47. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_complex.jsx +1 -2
  48. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_full_circle.jsx +1 -2
  49. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_height.jsx +1 -2
  50. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_min_max.jsx +1 -2
  51. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_units.jsx +1 -2
  52. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_colors.jsx +1 -1
  53. data/app/pb_kits/playbook/pb_popover/docs/_popover_append_to.jsx +1 -4
  54. data/app/pb_kits/playbook/pb_progress_step/docs/_description.md +5 -1
  55. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb +1 -4
  56. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +3 -14
  57. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.html.erb +7 -1
  58. data/app/pb_kits/playbook/pb_progress_step/docs/example.yml +0 -3
  59. data/app/pb_kits/playbook/pb_progress_step/docs/index.js +0 -2
  60. data/app/pb_kits/playbook/pb_radio/docs/_radio_react_hook.jsx +1 -3
  61. data/app/pb_kits/playbook/pb_select/docs/_select_react_hook.jsx +1 -3
  62. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_sizing.jsx +1 -4
  63. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_react_hook.jsx +1 -2
  64. data/app/pb_kits/playbook/pb_user/docs/_user_font_options.jsx +1 -1
  65. data/dist/playbook-doc.js +19 -0
  66. metadata +3 -21
  67. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant.html.erb +0 -9
  68. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant.jsx +0 -24
  69. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant_rails.md +0 -1
  70. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant_react.md +0 -1
  71. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.html.erb +0 -4
  72. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.jsx +0 -14
  73. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_rails.md +0 -1
  74. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_react.md +0 -1
  75. data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.html.erb +0 -4
  76. data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.jsx +0 -22
  77. data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.md +0 -1
  78. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.html.erb +0 -14
  79. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.jsx +0 -29
  80. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.md +0 -3
  81. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.jsx +0 -31
  82. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.md +0 -1
  83. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.md +0 -3
  84. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.md +0 -3
  85. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.md +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 646f50be1e2ceac112b7253b497e1a0b992a32a17c9ce7c3cbf8d1c5ce3920f2
4
- data.tar.gz: d249a9d25b625ea7f8de4e31431fa0fb3c37e2a56bbdfb6f35bcaaa9cf7abb8a
3
+ metadata.gz: 7aef11755ce789b4ecdf777bf29f9939e42985b71fb2667f6a3604737bdf68d7
4
+ data.tar.gz: 6c44a7c1424189b95735cc98fb6556d12288a73b0fe717a865015e969c182074
5
5
  SHA512:
6
- metadata.gz: 818ffac8cfa2b172de4873713e0542f28f1615bd70565facaf25ced1faef66da327597c295cd2e0b790e9142f1221c29cc23fa7c19dcb0f76edd693671f898c2
7
- data.tar.gz: 0f27851d84b5aabe20b962473ffa1eba95c561abd1512af27d3d729dba5511a7f98ad78a7235e5f3dc47b81660c2446d05a530bd69cec96536cb8f1eff577235
6
+ metadata.gz: 1175a92f87d3dea40eb281f192408da6fdbdc0a101e39d4b7fa5572eaef1c8780dc0195749f5a0bbe3b33be9d37f617807a74b9f6142921771ded1d9fb6cc93c
7
+ data.tar.gz: eaa57e4185d02bcf60d276897e747f63aca706bd75eb59f6dc2163b40c75cbf1771bb897aa410ac01f07a054d9324ce4626be7b4bb368ca1849af71b6ed8cb65
@@ -1,6 +1,5 @@
1
1
  import React from "react"
2
- import AdvancedTable from '../_advanced_table'
3
- import colors from '../../tokens/exports/_colors.module.scss'
2
+ import { AdvancedTable, colors } from "playbook-ui"
4
3
  import MOCK_DATA from "./advanced_table_mock_data.json"
5
4
 
6
5
 
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import AdvancedTable from '../_advanced_table';
2
+ import { AdvancedTable } from "playbook-ui";
3
3
  import MOCK_DATA from "./advanced_table_mock_data.json";
4
4
 
5
5
  const AdvancedTableColumnStylingColumnHeaders = (props) => {
@@ -1,7 +1,5 @@
1
1
  import React, { useState } from "react"
2
- import AdvancedTable from '../_advanced_table'
3
- import Flex from '../../pb_flex/_flex'
4
- import Button from '../../pb_button/_button'
2
+ import { AdvancedTable, Button, Flex } from "playbook-ui"
5
3
  import MOCK_DATA from "./advanced_table_mock_data.json"
6
4
  import PAGINATION_MOCK_DATA from "./advanced_table_pagination_mock_data.json"
7
5
 
@@ -1,5 +1,5 @@
1
1
  import React from "react"
2
- import AdvancedTable from '../_advanced_table'
2
+ import { AdvancedTable } from "playbook-ui"
3
3
  import MOCK_DATA from "./advanced_table_mock_data_infinite_scroll.json"
4
4
 
5
5
  const AdvancedTableInfiniteScroll = (props) => {
@@ -1,7 +1,5 @@
1
1
  import React, { useState } from "react";
2
- import AdvancedTable from '../../pb_advanced_table/_advanced_table'
3
- import TextInput from '../../pb_text_input/_text_input'
4
- import Body from '../../pb_body/_body'
2
+ import { AdvancedTable, TextInput, Body } from "playbook-ui";
5
3
  import MOCK_DATA from "./advanced_table_mock_data.json";
6
4
 
7
5
  const AdvancedTableInlineEditing = (props) => {
@@ -1,8 +1,7 @@
1
1
  import React from "react"
2
2
  import AdvancedTable from '../_advanced_table'
3
3
  import MOCK_DATA from "./advanced_table_mock_data_with_id.json"
4
- import colors from '../../tokens/exports/_colors.module.scss'
5
-
4
+ import { colors } from "playbook-ui"
6
5
 
7
6
  const AdvancedTableRowStyling = (props) => {
8
7
  const columnDefinitions = [
@@ -1,2 +1,2 @@
1
- <%= pb_rails("copy_button", props: { id: "default-copy-button", value: "Playbook makes it easy to support bleeding edge, or legacy systems. Use Playbook’s 200+ components and end-to-end design language to create simple, intuitive and beautiful experiences with ease." } ) %>
2
- <%= pb_rails("textarea", props: { margin_top: "xs", placeholder: "Click the icon above to copy and paste here" }) %>
1
+ <%= pb_rails("copy_button", props: { id: "default-copy-button", text: "Copy Text", value: "Playbook makes it easy to support bleeding edge, or legacy systems. Use Playbook’s 200+ components and end-to-end design language to create simple, intuitive and beautiful experiences with ease." } ) %>
2
+ <%= pb_rails("textarea", props: { margin_top: "xs", placeholder: "Copy and paste here" }) %>
@@ -7,6 +7,7 @@ const CopyButtonDefault = (props) => (
7
7
  <div>
8
8
  <CopyButton
9
9
  {...props}
10
+ text="Copy Text"
10
11
  tooltipPlacement="right"
11
12
  tooltipText="Text copied!"
12
13
  value="Playbook makes it easy to support bleeding edge, or legacy systems. Use Playbook’s 200+ components and end-to-end design language to create simple, intuitive and beautiful experiences with ease."
@@ -14,7 +15,7 @@ const CopyButtonDefault = (props) => (
14
15
 
15
16
  <Textarea
16
17
  {...props}
17
- placeholder="Click the icon above to copy and paste here"
18
+ placeholder="Copy and paste here"
18
19
  />
19
20
  </div>
20
21
  )
@@ -1,5 +1,5 @@
1
1
  <%= pb_rails("body", props: { id: "body", text: "Copy this body text!"}) %>
2
- <%= pb_rails("copy_button", props: { text: "Copy Body text", from: "body", id: "copy-body-button", variant: "button" }) %>
2
+ <%= pb_rails("copy_button", props: { text: "Copy Body text", from: "body", id: "copy-body-button" }) %>
3
3
  <%= pb_rails("text_input", props: { margin_top: "xs", placeholder: "Copy and paste here" }) %>
4
- <%= pb_rails("copy_button", props: { text: "Copy Text Input", from: "copy-input", id: "copy-input-button", variant: "button" }) %>
4
+ <%= pb_rails("copy_button", props: { text: "Copy Text Input", from: "copy-input", id: "copy-input-button" }) %>
5
5
  <%= pb_rails("text_input", props: { margin_top: "xs", id: "copy-input" , value: "Copy and paste here" }) %>
@@ -21,7 +21,6 @@ const CopyButtonFrom = (props) => {
21
21
  text="Copy Body text"
22
22
  tooltipPlacement="right"
23
23
  tooltipText="Body text copied!"
24
- variant="button"
25
24
  />
26
25
 
27
26
  <TextInput
@@ -37,7 +36,6 @@ const CopyButtonFrom = (props) => {
37
36
  text="Copy Text Input"
38
37
  tooltipPlacement="right"
39
38
  tooltipText="Text input copied!"
40
- variant="button"
41
39
  />
42
40
 
43
41
  <Textarea
@@ -1,12 +1,10 @@
1
1
  examples:
2
2
  rails:
3
3
  - copy_button_default: Default
4
- - copy_button_button_variant: Button Variant
5
4
  - copy_button_from: Copy From
6
5
  - copy_button_hook_rails: Copy Hook
7
6
 
8
7
  react:
9
8
  - copy_button_default: Default
10
- - copy_button_button_variant: Button Variant
11
9
  - copy_button_from: Copy From
12
10
  - copy_button_hook: Copy Hook
@@ -1,4 +1,3 @@
1
1
  export { default as CopyButtonDefault } from './_copy_button_default.jsx'
2
2
  export { default as CopyButtonFrom } from './_copy_button_from.jsx'
3
3
  export { default as CopyButtonHook } from './_copy_button_hook.jsx'
4
- export { default as CopyButtonButtonVariant } from './_copy_button_button_variant.jsx'
@@ -1,16 +1,14 @@
1
1
  examples:
2
-
2
+
3
3
  rails:
4
4
  - date_time_default: Default
5
5
  - date_time_align: Alignment
6
6
  - date_time_size: Size
7
- - date_time_show_current_year: Show Current Year
8
7
 
9
8
  react:
10
9
  - date_time_default: Default
11
10
  - date_time_align: Alignment
12
11
  - date_time_size: Size
13
- - date_time_show_current_year: Show Current Year
14
12
 
15
13
  swift:
16
14
  - date_time_default_swift: Default
@@ -1,4 +1,3 @@
1
1
  export { default as DateTimeDefault } from './_date_time_default.jsx'
2
2
  export { default as DateTimeAlign } from './_date_time_align.jsx'
3
3
  export { default as DateTimeSize } from './_date_time_size.jsx'
4
- export { default as DateTimeShowCurrentYear } from './_date_time_show_current_year.jsx'
@@ -2,11 +2,9 @@ examples:
2
2
 
3
3
  rails:
4
4
  - date_time_stacked_default: Default
5
- - date_time_stacked_show_current_year: Show Current Year
6
-
5
+
7
6
  react:
8
7
  - date_time_stacked_default: Default
9
- - date_time_stacked_show_current_year: Show Current Year
10
8
 
11
9
  swift:
12
10
  - date_time_stacked_default_swift: Default
@@ -1,2 +1 @@
1
1
  export { default as DateTimeStackedDefault } from './_date_time_stacked_default.jsx'
2
- export { default as DateTimeStackedShowCurrentYear } from './_date_time_stacked_show_current_year.jsx'
@@ -1,6 +1,5 @@
1
1
  import React from 'react'
2
- import EmptyState from '../_empty_state'
3
- import Flex from '../../pb_flex/_flex'
2
+ import { EmptyState, Flex } from 'playbook-ui'
4
3
 
5
4
  const EmptyStateAlignment = (props) => (
6
5
  <Flex align="center"
@@ -1,6 +1,5 @@
1
1
  import React from 'react'
2
- import EmptyState from '../_empty_state'
3
- import Flex from '../../pb_flex/_flex'
2
+ import { EmptyState, Flex } from 'playbook-ui'
4
3
 
5
4
  const EmptyStateDefault = (props) => (
6
5
  <Flex align="center"
@@ -1,6 +1,5 @@
1
1
  import React from 'react'
2
- import EmptyState from '../_empty_state'
3
- import Flex from '../../pb_flex/_flex'
2
+ import { EmptyState, Flex } from 'playbook-ui'
4
3
 
5
4
  const EmptyStateOrientation = (props) => (
6
5
  <Flex align="center"
@@ -1,6 +1,5 @@
1
1
  import React from 'react'
2
- import EmptyState from '../_empty_state'
3
- import Flex from '../../pb_flex/_flex'
2
+ import { EmptyState, Flex } from 'playbook-ui'
4
3
 
5
4
  const EmptyStateSize = (props) => (
6
5
  <Flex align="center"
@@ -1,8 +1,5 @@
1
1
  import React from 'react'
2
- import Card from '../../pb_card/_card'
3
- import Caption from '../../pb_caption/_caption'
4
- import FormPill from '../_form_pill'
5
- import Typeahead from '../../pb_typeahead/_typeahead'
2
+ import { Card, Caption, FormPill, Typeahead } from 'playbook-ui'
6
3
 
7
4
  const names = [
8
5
  { label: 'Alexander Nathaniel Montgomery', value: 'Alexander Nathaniel Montgomery' },
@@ -1,5 +1,5 @@
1
1
  import React from 'react'
2
- import LoadingInline from '../_loading_inline'
2
+ import { LoadingInline } from 'playbook-ui'
3
3
 
4
4
  const LoadingInlineVariant = (props) => {
5
5
  return (
@@ -1,5 +1,5 @@
1
1
  import React from 'react'
2
- import PbBarGraph from '../_pb_bar_graph'
2
+ import { PbBarGraph } from 'playbook-ui'
3
3
  import colors from '../../tokens/exports/_colors.module.scss'
4
4
 
5
5
  const chartData = [{
@@ -1,5 +1,5 @@
1
1
  import React from 'react'
2
- import PbBarGraph from '../_pb_bar_graph'
2
+ import { PbBarGraph } from 'playbook-ui'
3
3
 
4
4
  const chartData = [{
5
5
  name: 'Installation',
@@ -1,5 +1,5 @@
1
1
  import React from 'react'
2
- import PbBarGraph from '../_pb_bar_graph'
2
+ import { PbBarGraph } from 'playbook-ui'
3
3
 
4
4
  const chartData = [{
5
5
  name: 'Number of Installations',
@@ -1,5 +1,5 @@
1
1
  import React from 'react'
2
- import PbBarGraph from '../_pb_bar_graph'
2
+ import { PbBarGraph } from 'playbook-ui'
3
3
 
4
4
 
5
5
  const chartOptions = {
@@ -1,5 +1,5 @@
1
1
  import React from 'react'
2
- import PbBarGraph from '../_pb_bar_graph'
2
+ import { PbBarGraph } from 'playbook-ui'
3
3
 
4
4
 
5
5
  const chartData = [{
@@ -1,5 +1,6 @@
1
1
  import React from 'react'
2
- import PbBarGraph from '../_pb_bar_graph'
2
+ import { PbBarGraph } from 'playbook-ui'
3
+
3
4
 
4
5
  const chartData = [{
5
6
  name: 'Number of Installations',
@@ -1,5 +1,5 @@
1
1
  import React from 'react'
2
- import PbBarGraph from '../_pb_bar_graph'
2
+ import { PbBarGraph } from 'playbook-ui'
3
3
  import Title from "../../pb_title/_title"
4
4
 
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react'
2
- import PbBarGraph from '../_pb_bar_graph'
2
+ import { PbBarGraph } from 'playbook-ui'
3
3
 
4
4
 
5
5
  const chartData = [{
@@ -1,5 +1,5 @@
1
1
  import React from 'react'
2
- import PbBarGraph from '../_pb_bar_graph'
2
+ import { PbBarGraph } from 'playbook-ui'
3
3
 
4
4
  import colors from '../../tokens/exports/_colors.module.scss'
5
5
  import typography from '../../tokens/exports/_typography.module.scss'
@@ -1,5 +1,6 @@
1
1
  import React from 'react'
2
- import PbBarGraph from '../_pb_bar_graph'
2
+ import { PbBarGraph } from 'playbook-ui'
3
+
3
4
 
4
5
  const chartData = [{
5
6
  name: 'Number of Installations',
@@ -1,5 +1,6 @@
1
1
  import React from 'react'
2
- import PbBarGraph from '../_pb_bar_graph'
2
+ import { PbBarGraph } from 'playbook-ui'
3
+
3
4
 
4
5
  const chartData = [{
5
6
  name: 'Installation',
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import PbCircleChart from "../_pb_circle_chart";
3
- import Title from "../../pb_title/_title";
2
+ import { PbCircleChart, Title } from "playbook-ui";
4
3
 
5
4
  const data= [
6
5
  {
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import PbCircleChart from "../_pb_circle_chart";
3
- import colors from '../../tokens/exports/_colors.module.scss';
2
+ import { PbCircleChart, colors } from "playbook-ui";
4
3
 
5
4
  const data= [
6
5
  {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import PbCircleChart from "../_pb_circle_chart";
2
+ import { PbCircleChart } from "playbook-ui";
3
3
 
4
4
  const data = [
5
5
  {
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import PbCircleChart from "../_pb_circle_chart";
3
- import Title from "../../pb_title/_title";
2
+ import { PbCircleChart, Title } from "playbook-ui";
4
3
 
5
4
  const dataFirst = [
6
5
  {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import PbCircleChart from "../_pb_circle_chart";
2
+ import { PbCircleChart } from "playbook-ui";
3
3
 
4
4
  const data = [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import PbCircleChart from "../_pb_circle_chart";
2
+ import { PbCircleChart } from "playbook-ui";
3
3
 
4
4
  const data = [{
5
5
  name: 'Bugs',
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import PbCircleChart from "../_pb_circle_chart";
2
+ import { PbCircleChart } from "playbook-ui";
3
3
 
4
4
  const chartOptions = {
5
5
  series: [
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import PbCircleChart from "../_pb_circle_chart";
2
+ import { PbCircleChart } from "playbook-ui";
3
3
 
4
4
  const dataFirst = [
5
5
  {
@@ -1,6 +1,5 @@
1
1
  import React, { useState } from "react";
2
- import PbCircleChart from "../_pb_circle_chart";
3
- import Button from "../../pb_button/_button";
2
+ import { PbCircleChart, Button } from "playbook-ui";
4
3
 
5
4
  const chartData = [
6
5
  {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import PbCircleChart from "../_pb_circle_chart";
2
+ import { PbCircleChart } from "playbook-ui";
3
3
 
4
4
  const data= [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import PbCircleChart from "../_pb_circle_chart";
2
+ import { PbCircleChart } from "playbook-ui";
3
3
 
4
4
  const data= [
5
5
  {
@@ -1,6 +1,6 @@
1
1
  import React from 'react'
2
2
  import PbGaugeChart from '../../pb_pb_gauge_chart/_pb_gauge_chart'
3
- import colors from '../../tokens/exports/_colors.module.scss'
3
+ import { colors } from 'playbook-ui'
4
4
 
5
5
  const data = [{ name: "Name", y: 67 }]
6
6
 
@@ -7,8 +7,7 @@ import Caption from '../../pb_caption/_caption'
7
7
  import Body from '../../pb_body/_body'
8
8
  import SectionSeparator from '../../pb_section_separator/_section_separator'
9
9
  import Title from '../../pb_title/_title'
10
- import colors from '../../tokens/exports/_colors.module.scss'
11
- import typography from '../../tokens/exports/_typography.module.scss'
10
+ import { colors, typography } from 'playbook-ui'
12
11
 
13
12
  const data = [{ name: "Name", y: 10 }];
14
13
 
@@ -1,7 +1,6 @@
1
1
  import React from 'react'
2
2
  import PbGaugeChart from '../../pb_pb_gauge_chart/_pb_gauge_chart'
3
- import colors from '../../tokens/exports/_colors.module.scss'
4
- import typography from '../../tokens/exports/_typography.module.scss'
3
+ import { colors, typography } from 'playbook-ui'
5
4
 
6
5
  const data = [{ name: "Capacity", y: 75 }]
7
6
 
@@ -1,7 +1,6 @@
1
1
  import React from 'react'
2
2
  import PbGaugeChart from '../../pb_pb_gauge_chart/_pb_gauge_chart'
3
- import colors from '../../tokens/exports/_colors.module.scss'
4
- import typography from '../../tokens/exports/_typography.module.scss'
3
+ import { colors, typography } from 'playbook-ui'
5
4
 
6
5
  const chartOptions = {
7
6
  title: {
@@ -1,7 +1,6 @@
1
1
  import React from 'react'
2
2
  import PbGaugeChart from '../../pb_pb_gauge_chart/_pb_gauge_chart'
3
- import colors from '../../tokens/exports/_colors.module.scss'
4
- import typography from '../../tokens/exports/_typography.module.scss'
3
+ import { colors, typography } from 'playbook-ui'
5
4
 
6
5
  const data = [{ name: "Rating", y: 4.5 }]
7
6
 
@@ -1,7 +1,6 @@
1
1
  import React from 'react'
2
2
  import PbGaugeChart from '../../pb_pb_gauge_chart/_pb_gauge_chart'
3
- import colors from '../../tokens/exports/_colors.module.scss'
4
- import typography from '../../tokens/exports/_typography.module.scss'
3
+ import { colors, typography } from 'playbook-ui'
5
4
 
6
5
 
7
6
  const data1 = [
@@ -1,6 +1,6 @@
1
1
  import React from 'react'
2
2
  import PbLineGraph from '../../pb_pb_line_graph/_pb_line_graph'
3
- import colors from '../../tokens/exports/_colors.module.scss'
3
+ import { colors } from 'playbook-ui'
4
4
 
5
5
  const data = [{
6
6
  name: 'Installation',
@@ -1,8 +1,5 @@
1
1
  import React, { useState } from "react";
2
- import PbReactPopover from "../_popover";
3
- import Body from "../../pb_body/_body";
4
- import Flex from "../../pb_flex/_flex";
5
- import CircleIconButton from "../../pb_circle_icon_button/_circle_icon_button";
2
+ import { PbReactPopover, CircleIconButton, Body, Flex } from "playbook-ui";
6
3
 
7
4
  const PopoverAppendTo = (props) => {
8
5
  const [showParentPopover, setShowParentPopover] = useState(false);
@@ -1 +1,5 @@
1
- Progress Step kit is used to show the progress of a process. There are three types of steps in this kit: completed, active, and inactive. Completed steps are indicated by a solid, blue circle (with or without an icon). The current, or active, step is indicated by an outlined blue circle. The inactive, or future, step is indicated by a solid gray circle.
1
+ Progress step kit is used to show the progress of a process. There are three types of steps in this kit: completed, active, and inactive. Completed steps are indicated by a solid, blue circle (with or without an icon). The current, or active, step is indicated by an outlined blue circle. The inactive, or future, step is indicated by a solid gray circle.
2
+
3
+ **Tracker**
4
+ You must set the icon prop to true for this kit.
5
+ This variant takes children just like the default progress step. It is best to use the caption kit for children in this variant.
@@ -39,10 +39,7 @@
39
39
  <%= pb_rails("progress_step/progress_step_item", props: {status: "complete"}) do %>
40
40
  step 2
41
41
  <% end %>
42
- <%= pb_rails("progress_step/progress_step_item", props: {status: "active"}) do %>
42
+ <%= pb_rails("progress_step/progress_step_item", props: {status: "complete"}) do %>
43
43
  step 3
44
- <% end %>
45
- <%= pb_rails("progress_step/progress_step_item", props: {status: "inactive"}) do %>
46
- step 4
47
44
  <% end %>
48
45
  <% end %>
@@ -6,6 +6,7 @@ import ProgressStepItem from '../_progress_step_item.tsx'
6
6
  const ProgressStepDefault = (props) => (
7
7
  <div>
8
8
  <ProgressStep
9
+ icon
9
10
  {...props}
10
11
  >
11
12
  <ProgressStepItem status="complete" />
@@ -18,24 +19,12 @@ const ProgressStepDefault = (props) => (
18
19
 
19
20
  <ProgressStep {...props}>
20
21
  <ProgressStepItem status="complete">{'Step 1'}</ProgressStepItem>
21
- <ProgressStepItem status="complete">{'Step 2'}</ProgressStepItem>
22
- <ProgressStepItem status="active">{'Step 3'}</ProgressStepItem>
23
- <ProgressStepItem status="inactive">{'Step 4'}</ProgressStepItem>
24
- <ProgressStepItem status="inactive">{'Step 5'}</ProgressStepItem>
22
+ <ProgressStepItem status="active">{'Step 2'}</ProgressStepItem>
23
+ <ProgressStepItem status="inactive">{'Step 3'}</ProgressStepItem>
25
24
  </ProgressStep>
26
25
 
27
26
  <br />
28
27
  <br />
29
-
30
- <ProgressStep
31
- icon
32
- {...props}
33
- >
34
- <ProgressStepItem status="complete">{'Step 1'}</ProgressStepItem>
35
- <ProgressStepItem status="complete">{'Step 2'}</ProgressStepItem>
36
- <ProgressStepItem status="active">{'Step 3'}</ProgressStepItem>
37
- <ProgressStepItem status="inactive">{'Step 4'}</ProgressStepItem>
38
- </ProgressStep>
39
28
  </div>
40
29
  )
41
30
 
@@ -25,7 +25,13 @@
25
25
  Child
26
26
  <% end %>
27
27
  <%= pb_rails("progress_step/progress_step_item", props: {status: "active"}) do %>
28
- Child
28
+ <%= pb_rails("card", props: {highlight: {position: "side", color:"windows"}}) do %>
29
+ Card content
30
+ <% end %>
31
+ <br>
32
+ <%= pb_rails("card", props: {highlight: {position: "side", color:"windows"}}) do %>
33
+ Card content
34
+ <% end %>
29
35
  <% end %>
30
36
  <%= pb_rails("progress_step/progress_step_item", props: {status: "inactive"}) do %>
31
37
  Child
@@ -3,7 +3,6 @@ examples:
3
3
  - progress_step_default: Default
4
4
  - progress_step_vertical: Vertical
5
5
  - progress_step_tracker: Tracker
6
- - progress_step_color: Color
7
6
  - progress_step_custom_icon: Custom Icon
8
7
  - progress_step_tooltip: Tooltip
9
8
 
@@ -11,6 +10,4 @@ examples:
11
10
  - progress_step_default: Default
12
11
  - progress_step_vertical: Vertical
13
12
  - progress_step_tracker: Tracker
14
- - progress_step_color: Color
15
- - progress_step_custom_icon: Custom Icon
16
13
  - progress_step_tracker_click_events: Using State
@@ -2,5 +2,3 @@ export { default as ProgressStepDefault } from './_progress_step_default.jsx'
2
2
  export { default as ProgressStepVertical } from './_progress_step_vertical.jsx'
3
3
  export { default as ProgressStepTracker } from './_progress_step_tracker.jsx'
4
4
  export { default as ProgressStepTrackerClickEvents } from './_progress_step_tracker_click_events.jsx'
5
- export { default as ProgressStepColor } from './_progress_step_color.jsx'
6
- export { default as ProgressStepCustomIcon } from './_progress_step_custom_icon.jsx'
@@ -1,8 +1,6 @@
1
1
  import React from "react"
2
2
  import { useForm } from "react-hook-form"
3
- import Radio from "../_radio"
4
- import Body from "../../pb_body/_body"
5
- import Flex from "../../pb_flex/_flex"
3
+ import { Radio, Flex, Body } from "playbook-ui"
6
4
 
7
5
  const RadioReactHook = () => {
8
6
  const { register, watch } = useForm({