playbook_ui_docs 14.1.0.pre.alpha.PLAY15063617 → 14.1.0.pre.alpha.fixaction3547

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_badge/docs/_badge_notification.html.erb +0 -13
  3. data/app/pb_kits/playbook/pb_badge/docs/_badge_notification.jsx +12 -31
  4. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default.jsx +5 -1
  5. data/app/pb_kits/playbook/pb_dialog/docs/example.yml +0 -1
  6. data/app/pb_kits/playbook/pb_dialog/docs/index.js +0 -1
  7. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +0 -1
  8. data/app/pb_kits/playbook/pb_form_pill/docs/example.yml +2 -2
  9. data/app/pb_kits/playbook/pb_pagination/docs/example.yml +1 -3
  10. data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +0 -1
  11. data/app/pb_kits/playbook/pb_rich_text_editor/docs/index.js +1 -2
  12. data/dist/playbook-doc.js +1 -1
  13. metadata +3 -14
  14. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_loading.jsx +0 -46
  15. data/app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx +0 -53
  16. data/app/pb_kits/playbook/pb_gantt_chart/docs/example.yml +0 -7
  17. data/app/pb_kits/playbook/pb_gantt_chart/docs/index.js +0 -1
  18. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_default.jsx +0 -19
  19. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_default_react.md +0 -1
  20. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change.jsx +0 -62
  21. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change_react.md +0 -1
  22. data/app/pb_kits/playbook/pb_pagination/docs/data.js +0 -23
  23. data/app/pb_kits/playbook/pb_pagination/docs/index.js +0 -2
  24. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_preview.jsx +0 -73
  25. /data/app/pb_kits/playbook/pb_pagination/docs/{_pagination_default_rails.md → _pagination_default.md} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: daa2019bd65410d7180e0bab70d78703d740e20d32c4fe153a84c4547714bd57
4
- data.tar.gz: 97e6a0e067c7851a798a10be6b5ea42621efba941b76faecd0be97025c0606cf
3
+ metadata.gz: 66e78332887ebdf3b69d126759b01af2534a328ba290854e9ee782f4506784fe
4
+ data.tar.gz: e156fd5041a38f25b3e338b011746e4986780763615966cb9d7e21d452862bf1
5
5
  SHA512:
6
- metadata.gz: 8efd81bed2e09bbb620e4be346ec9d92f579c323ba3f2b21c35b920da9ca670448c6243334c9688935b64abe1a8060fda9e3656dc5d0a139e1f7fecbecd0d073
7
- data.tar.gz: b5448c535009068f726f841ed54f3aaf22b426b10bab8ab1694b8285ba4d5ec9fb26cee3b553a72055927f91fea3deb6044949195cdbc9be055eddd4e53981be
6
+ metadata.gz: 595f521ee3fc83459c2393a78d8ef2cf8528d9223831efc2b63d0b54055884e30e5efec9cbf263e00e64795fb8908228e47eeba6a45d16381b4978e9141a75a5
7
+ data.tar.gz: 6bfbcfd886d7a45d16096967dc2303473ee29582818df18c1a2ba0c2682bb00c8210d4c9d0f0cdd7ad04236088063acc161d07ce205d0420d546aa1e30aa9b1c
@@ -10,16 +10,3 @@
10
10
  variant: "notification"
11
11
  }) %>
12
12
  </div>
13
-
14
- <div>
15
- <%= pb_rails("badge", props: {
16
- text: "1",
17
- variant: "notification_error",
18
- rounded: true
19
- }) %>
20
-
21
- <%= pb_rails("badge", props: {
22
- text: "4",
23
- variant: "notification_error"
24
- }) %>
25
- </div>
@@ -4,39 +4,20 @@ import Badge from '../_badge'
4
4
  const BadgeNotification = (props) => {
5
5
  return (
6
6
  <>
7
- <div>
8
- <Badge
9
- rounded
10
- text="1"
11
- variant="notification"
12
- {...props}
13
- />
7
+ <Badge
8
+ rounded
9
+ text="1"
10
+ variant="notification"
11
+ {...props}
12
+ />
14
13
 
15
- &nbsp;
14
+ &nbsp;
16
15
 
17
- <Badge
18
- text="4"
19
- variant="notification"
20
- {...props}
21
- />
22
- </div>
23
-
24
- <div>
25
- <Badge
26
- rounded
27
- text="1"
28
- variant="notificationError"
29
- {...props}
30
- />
31
-
32
- &nbsp;
33
-
34
- <Badge
35
- text="4"
36
- variant="notificationError"
37
- {...props}
38
- />
39
- </div>
16
+ <Badge
17
+ text="4"
18
+ variant="notification"
19
+ {...props}
20
+ />
40
21
  </>
41
22
  )
42
23
  }
@@ -5,17 +5,21 @@ const DialogDefault = () => {
5
5
  const [isOpen, setIsOpen] = useState(false)
6
6
  const close = () => setIsOpen(false)
7
7
  const open = () => setIsOpen(true)
8
+ const [isLoading, setIsLoading] = useState(false)
8
9
 
9
10
  return (
10
11
  <>
11
12
  <Button onClick={open}>{'Open Dialog'}</Button>
12
13
  <Dialog
13
14
  cancelButton="Cancel Button"
15
+ className="wrapper"
14
16
  confirmButton="Okay"
17
+ loading={isLoading}
15
18
  onCancel={close}
16
19
  onClose={close}
17
- onConfirm={close}
20
+ onConfirm={() => setIsLoading(!isLoading)}
18
21
  opened={isOpen}
22
+ portalClassName="portal"
19
23
  size="sm"
20
24
  text="Hello Body Text, Nice to meet ya."
21
25
  title="Header Title is the Title Prop"
@@ -22,7 +22,6 @@ examples:
22
22
  - dialog_stacked_alert: Stacked Button Alert
23
23
  - dialog_full_height: Full Height
24
24
  - dialog_full_height_placement: Full Height Placement
25
- - dialog_loading: Loading
26
25
 
27
26
  swift:
28
27
  - dialog_default_swift: Simple
@@ -8,4 +8,3 @@ export { default as DialogStatus } from './_dialog_status.jsx'
8
8
  export { default as DialogStackedAlert } from './_dialog_stacked_alert.jsx'
9
9
  export { default as DialogFullHeight } from './_dialog_full_height.jsx'
10
10
  export { default as DialogFullHeightPlacement } from './_dialog_full_height_placement.jsx'
11
- export { default as DialogLoading } from './_dialog_loading.jsx'
@@ -35,7 +35,6 @@
35
35
  <%= form.collection_select :example_collection_select, example_collection, :value, :name, props: { label: true, blank_selection: "Select One...", required: true } %>
36
36
  <%= form.check_box :example_checkbox, props: { text: "Example Checkbox", label: true, required: true } %>
37
37
  <%= form.date_picker :example_date_picker_2, props: { label: true, required: true } %>
38
- <%= form.star_rating_field :example_star_rating, props: { variant: "interactive", label: true, required: true } %>
39
38
 
40
39
  <%= form.actions do |action| %>
41
40
  <%= action.submit %>
@@ -5,11 +5,11 @@ examples:
5
5
  - form_pill_size: Form Pill Size
6
6
  - form_pill_tag: Form Pill Tag
7
7
  - form_pill_example: Example
8
- - form_pill_icon: Form Pill Icon
8
+ # - form_pill_icon: Form Pill Icon
9
9
 
10
10
  react:
11
11
  - form_pill_user: Form Pill User
12
12
  - form_pill_size: Form Pill Size
13
13
  - form_pill_tag: Form Pill Tag
14
14
  - form_pill_example: Example
15
- - form_pill_icon: Form Pill Icon
15
+ # - form_pill_icon: Form Pill Icon
@@ -3,6 +3,4 @@ examples:
3
3
  rails:
4
4
  - pagination_default: Default
5
5
 
6
- react:
7
- - pagination_default: Default
8
- - pagination_page_change: Page Change
6
+
@@ -24,4 +24,3 @@ examples:
24
24
  - rich_text_editor_toolbar_bottom: Toolbar Bottom
25
25
  - rich_text_editor_inline: Inline
26
26
  - rich_text_editor_preview: Preview
27
- - rich_text_editor_advanced_preview: Advanced Preview
@@ -9,5 +9,4 @@ export { default as RichTextEditorInline } from './_rich_text_editor_inline.jsx'
9
9
  export { default as RichTextEditorPreview } from './_rich_text_editor_preview.jsx'
10
10
  export { default as RichTextEditorAdvancedDefault } from './_rich_text_editor_advanced_default.jsx'
11
11
  export { default as RichTextEditorMoreExtensions } from './_rich_text_editor_more_extensions.jsx'
12
- export { default as RichTextEditorToolbarDisabled } from './_rich_text_editor_toolbar_disabled.jsx'
13
- export { default as RichTextEditorAdvancedPreview } from './_rich_text_editor_advanced_preview.jsx'
12
+ export { default as RichTextEditorToolbarDisabled } from './_rich_text_editor_toolbar_disabled.jsx'