playbook_ui_docs 12.23.0.pre.alpha.movemarkdown712 → 12.24.0.pre.alpha.railsmultilevelimprovements741

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85b3d880199e67cf9d3fd6f8b75da123950389bd19a539609b26dc44b13bc0cb
4
- data.tar.gz: 89e2c81b82579ab2eb8eae3b57eec420c72096a3ec5b8afb8cfe1c29f3325658
3
+ metadata.gz: 6e4cd3f4c4b3ce5224384f2c2f94f05a37eda9717d2c869ab33fd2b43b10e07f
4
+ data.tar.gz: 87db98b502823dee605df1f66d637b796d5a4a0a99bb4f0264ebeba70bf744dc
5
5
  SHA512:
6
- metadata.gz: 0c663b58511f351872d1cfa3ec981d4d34698a8b2cbac61a11a27f36b31ab06ff79339b621fd4f0f467c8a17dc937a57487ca14a043c3ba419d7fe73ffc6c019
7
- data.tar.gz: 2b2734ad221ed0cf0696bdc47ddaa2ad378430fa7e426b13f657b343a9828518b379b01a7f6c319d9e5816619f958c721685b4cb31ecb6a1b089665287251d29
6
+ metadata.gz: 9f3f32ae16620dd45cb7c876099dd5ccab9851905d049ad5d70a9fd8ee3a9ef2287444cc82d6dfab423e64c04b82cbac0d6612af51eb327058aad788f5d34f55
7
+ data.tar.gz: 2602e6f5047f241fded58ccaf9ee660fac401e4dc180b9d557e3902e10d1d8af7c1c8e59a71d960b9f35066a5a5dc886fa134778519a027ee02125146d937ba1
@@ -0,0 +1 @@
1
+ ![image for avatar](https://images.unsplash.com/photo-1684237276530-a562fa8338b1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=580&q=80)
@@ -9,3 +9,5 @@ examples:
9
9
  - avatar_monogram: Monogram
10
10
  - avatar_no_image: "Bad Image Link"
11
11
  - avatar_status: Status
12
+ swift:
13
+ - avatar_swift: Default
@@ -1 +1,2 @@
1
1
  <%= pb_rails("title", props: { text: "Title 1", tag: "h1", size: 1, bold: false }) %>
2
+ <%= pb_rails("title", props: { text: "Title 2", tag: "h2", size: 2, bold: false }) %>
@@ -1,15 +1,20 @@
1
- import React from 'react'
1
+ import React from "react"
2
2
 
3
- import Title from '../_title'
3
+ import Title from "../_title"
4
4
 
5
5
  const TitleLightWeight = (props) => {
6
6
  return (
7
7
  <div>
8
- <Title
9
- bold={false}
8
+ <Title bold={false}
10
9
  size={1}
11
- tag="h1"
12
- text="Title 1"
10
+ tag='h1'
11
+ text='Title 1'
12
+ {...props}
13
+ />
14
+ <Title bold={false}
15
+ size={2}
16
+ tag='h2'
17
+ text='Title 2'
13
18
  {...props}
14
19
  />
15
20
  </div>
@@ -1,4 +1,4 @@
1
1
  ##### Prop
2
- Title `size 1` will use `font-weight: 700` by default, if you want a lighter font weight, use the `bold` prop set to `false`.
3
- Title `size 2` & `size 3` uses a light font weight by default and will not accept a bold font weight.
2
+ Title `size 1` & `size 2` will use `font-weight: 700` by default, if you want a lighter font weight, use the `bold` prop set to `false`.
3
+ Title `size 3` uses a light font weight by default and will not accept a bold font weight.
4
4
  Title `size 4` uses a heavy font weight by default and will not accept a lighter font weight.