playbook_ui_docs 15.1.0.pre.rc.6 → 15.1.0.pre.rc.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f9fb27a99a038c00f85e0aa3ed845923a6b47afb3639b279b0a571a4124a2df
4
- data.tar.gz: 4660aeab2b31c55f177793d979d24182b50829987ea848870fac0c6fbc768a2c
3
+ metadata.gz: 25f20ccc463b8c0e9ee588c4c04d5d3de8a337dc7fdb4ec8d1f0e7a294299f87
4
+ data.tar.gz: 406baff0063b236c4ad9b888b02580c2212d64885e7b76a28dc84a53a3879f96
5
5
  SHA512:
6
- metadata.gz: 3d4eeccae472b32deff92aa9a402a7a13c612bd67fb65e8c00b8f9c214cb96e34c8c1dc7c42dd67424e258ae9a23d6d021b85d95cce1858e73de5ae18559e53b
7
- data.tar.gz: 03e629b883356a9dc9e660b844f93bd9e525cfde39b766cc365abc2a13837e480aa1ba3c84c8eec72f9d83279242ba59a39fd89c935f187adadcb63d98617768
6
+ metadata.gz: 3c7950739a6bf786f644879819f717103c99c0c59c2d075fe8f2eae10c88785abefd81d8abf31d0fd3e886e522fa26a36eecba84ccfcb7b5dd38a9932a1917f4
7
+ data.tar.gz: ae6cdeb4ad96508e6a93abe97e19cd69fa03c20981a0a0786d77107411f11f061bbf84a4eae94556cc745aeee21c9e4c702d2554469884d4929a09b6d30b5539
@@ -44,9 +44,9 @@ const AdvancedTableColumnHeadersVerticalBorder = (props) => {
44
44
  ],
45
45
  },
46
46
  ];
47
-
47
+
48
48
  const tableProps = {
49
- verticalBorder: true
49
+ verticalBorder: true,
50
50
  }
51
51
 
52
52
  return (
@@ -0,0 +1,6 @@
1
+ <%= pb_rails("nav", props: { orientation: "horizontal", extended_underline: true }) do %>
2
+ <%= pb_rails("nav/item", props: { text: "About", link: "#" }) %>
3
+ <%= pb_rails("nav/item", props: { text: "Case Studies", link: "#", active: true }) %>
4
+ <%= pb_rails("nav/item", props: { text: "Service ", link: "#" }) %>
5
+ <%= pb_rails("nav/item", props: { text: "Contacts", link: "#" }) %>
6
+ <% end %>
@@ -0,0 +1,39 @@
1
+ import React from 'react'
2
+
3
+ import Nav from '../_nav'
4
+ import NavItem from '../_item'
5
+
6
+ const HorizontalNavExtendedunderline = (props) => {
7
+ return (
8
+ <Nav
9
+ extendedUnderline
10
+ link="#"
11
+ orientation="horizontal"
12
+ {...props}
13
+ >
14
+ <NavItem
15
+ link="#"
16
+ text="About"
17
+ {...props}
18
+ />
19
+ <NavItem
20
+ active
21
+ link="#"
22
+ text="Case Studies"
23
+ {...props}
24
+ />
25
+ <NavItem
26
+ link="#"
27
+ text="Service"
28
+ {...props}
29
+ />
30
+ <NavItem
31
+ link="#"
32
+ text="Contacts"
33
+ {...props}
34
+ />
35
+ </Nav>
36
+ )
37
+ }
38
+
39
+ export default HorizontalNavExtendedunderline
@@ -0,0 +1 @@
1
+ The optional `extendedUnderline`/`extended_underline` prop can be used with the default `normal` variant of the horizontal orientation of the nav to extend the underline to take up the full width of the container.
@@ -17,6 +17,7 @@ examples:
17
17
  - horizontal_nav: Horizontal Nav
18
18
  - subtle_horizontal_nav: Subtle Horizontal Nav
19
19
  - bold_horizontal_nav: Bold Horizontal Nav
20
+ - horizontal_nav_extendedunderline: Horizontal Nav With Extended Underline
20
21
  - block_nav: Block
21
22
  - block_no_title_nav: Without Title
22
23
  - new_tab: Open in a New Tab
@@ -42,6 +43,7 @@ examples:
42
43
  - horizontal_nav: Horizontal Nav
43
44
  - subtle_horizontal_nav: Subtle Horizontal Nav
44
45
  - bold_horizontal_nav: Bold Horizontal Nav
46
+ - horizontal_nav_extendedunderline: Horizontal Nav With Extended Underline
45
47
  - block_nav: Block
46
48
  - block_no_title_nav: Without Title
47
49
  - new_tab: Open in a New Tab
@@ -19,4 +19,5 @@ export { default as CollapsibleNavWithAllOptions} from "./_collapsible_nav_with_
19
19
  export { default as NavWithFontControl } from "./_nav_with_font_control.jsx"
20
20
  export { default as NavWithSpacingControl } from "./_nav_with_spacing_control.jsx"
21
21
  export { default as CollapsibleNavItemSpacing } from "./_collapsible_nav_item_spacing.jsx"
22
- export { default as CollapsibleNavNoIcon } from "./_collapsible_nav_no_icon.jsx"
22
+ export { default as CollapsibleNavNoIcon } from "./_collapsible_nav_no_icon.jsx"
23
+ export { default as HorizontalNavExtendedunderline } from './_horizontal_nav_extendedunderline.jsx'