playbook_ui_docs 13.7.0.pre.alpha.play978makehighchartsadevdependencypoc1223 → 13.8.0.pre.alpha.PLAY1016reactionbuttonemojibug1245

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: 0a520839e9347f3deeb2d7e05c65b467b55d9dcce390a0b5b935d5e4af61e17d
4
- data.tar.gz: 407dbb2c2fc81192c21c8f79d2befe25f0046c69f052f4d91738d8b10757a179
3
+ metadata.gz: 44ac9fcc58a2be4bb8900843ae8ec324d8605e0ba9f93caa0a2800ae5feaa265
4
+ data.tar.gz: ecf3f015c1bce98395c9b0e41fbe368de1193706766ba4dd5ee24b6dd9ffc178
5
5
  SHA512:
6
- metadata.gz: f87b9cbe47e8d2ac5f564f9a70fef4c1182fa29bb05dff04774a9498010c8c76875c52bc0b2e550d91501a3c4e5a2cbafcf3b4855c4c7025b59cc8228e7a4492
7
- data.tar.gz: bbc22c09a22a6489781ec696f72cb61ed6b338800038c113ce2e73b715e5fbd084c458eef189323425cf1685ae3d9fa39cc033525f2c5d1e3da092bbee83d1ed
6
+ metadata.gz: 428a35bbb22f7a4eb2fc8eb7be8cfcc78f277fe7c4d75d1d289101f9b16de8665c0cd4d032eba6630956047f41858a6af69f6c8e4c0a2fd77aafcddeaa4ceebb
7
+ data.tar.gz: e5ba4fb957725c0b6fe7169932bd1ad0642272a88697ee62d2e532702804578e11df947b694208aff7b4037b183253457ed96ee474ccbafce517cfc06573f6c4
@@ -1,5 +1,5 @@
1
1
  <%= pb_rails("button", props: { count: 153, highlight: false, icon: "&#127881;", classname: "count", id: "reaction-button-highlight", variant: "reaction" }) %>
2
- <%= pb_rails("button", props: { count: 5, icon: "😍", variant: "reaction", margin_left: "lg" }) %>
2
+ <%= pb_rails("button", props: { count: 5, icon: "1️⃣", variant: "reaction", margin_left: "lg" }) %>
3
3
  <%= pb_rails("button", props: { variant: "reaction", margin_left: "lg" }) %>
4
4
  <%= pb_rails("button", props: { icon: "user", variant: "reaction", margin_left: "lg" }) %>
5
5
 
@@ -19,7 +19,7 @@ return (
19
19
  />
20
20
  <Button
21
21
  count={5}
22
- icon="😍"
22
+ icon="1️⃣"
23
23
  marginLeft='lg'
24
24
  tabIndex={0}
25
25
  variant="reaction"
@@ -0,0 +1,14 @@
1
+ <%= pb_rails("currency", props: {
2
+ amount: "2,000.50",
3
+ label: "Basic unstyled example",
4
+ margin_bottom: "md",
5
+ unstyled: true
6
+ }) %>
7
+
8
+ <%= pb_rails("title", props: { size: 1 }) do %>
9
+ <%= pb_rails("currency", props: {
10
+ amount: "2,000.50",
11
+ label: "Example with wrapping typography kit",
12
+ unstyled: true
13
+ }) %>
14
+ <% end %>
@@ -0,0 +1,30 @@
1
+ import React from 'react'
2
+ import { Currency, Title } from '../..'
3
+
4
+ const CurrencyUnstyled = (props) => {
5
+ return (
6
+ <>
7
+ <Currency
8
+ amount="2,000.50"
9
+ label="Basic unstyled example"
10
+ marginBottom="md"
11
+ unstyled
12
+ {...props}
13
+ />
14
+
15
+ <Title
16
+ size={1}
17
+ {...props}
18
+ >
19
+ <Currency
20
+ amount="2,000.50"
21
+ label="Example with wrapping typography kit"
22
+ unstyled
23
+ {...props}
24
+ />
25
+ </Title>
26
+ </>
27
+ )
28
+ }
29
+
30
+ export default CurrencyUnstyled
@@ -0,0 +1 @@
1
+ For alternative typography styles, you can pass a boolean prop called `unstyled` to the `Currency` kit and wrap it in any of our typography kits (`Title`, `Body`, `Caption`, etc.). This will allow the `Currency` kit to inherit any of our typography styles.
@@ -13,12 +13,13 @@
13
13
  size: "sm",
14
14
  symbol: "€",
15
15
  variant: "light",
16
+ emphasized: false,
16
17
  }) %>
17
18
 
18
19
  <%= pb_rails("currency", props: {
19
20
  amount: "45",
20
21
  label: "Bold",
21
- size: "lg",
22
+ size: "sm",
22
23
  unit: "/mo",
23
24
  variant: "bold",
24
25
  }) %>
@@ -7,6 +7,7 @@ examples:
7
7
  - currency_no_symbol: No Symbol
8
8
  - currency_abbreviated: Abbreviate Larger Amounts
9
9
  - currency_matching_decimals: Matching Decimals
10
+ - currency_unstyled: Unstyled
10
11
 
11
12
  react:
12
13
  - currency_variants: Variants
@@ -15,3 +16,4 @@ examples:
15
16
  - currency_no_symbol: No Symbol
16
17
  - currency_abbreviated: Abbreviate Larger Amounts
17
18
  - currency_matching_decimals: Matching Decimals
19
+ - currency_unstyled: Unstyled
@@ -4,3 +4,4 @@ export { default as CurrencyAlignment } from './_currency_alignment.jsx'
4
4
  export { default as CurrencyNoSymbol } from './_currency_no_symbol.jsx'
5
5
  export { default as CurrencyAbbreviated } from './_currency_abbreviated.jsx'
6
6
  export { default as CurrencyMatchingDecimals } from './_currency_matching_decimals.jsx'
7
+ export { default as CurrencyUnstyled } from './_currency_unstyled.jsx'