playbook_ui 9.16.0 → 9.17.0.pre.decouple.website2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -9
- data/app/pb_kits/playbook/_reset.scss +42 -0
- data/app/pb_kits/playbook/index.js +97 -97
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_header_styles.scss +2 -1
- data/app/pb_kits/playbook/pb_enhanced_element/index.js +2 -1
- data/app/pb_kits/playbook/pb_nav/_vertical_nav.scss +2 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.jsx +10 -8
- data/app/pb_kits/playbook/pb_select/_select.scss +1 -1
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +1 -1
- data/app/pb_kits/playbook/pb_textarea/_textarea.scss +3 -3
- data/app/pb_kits/playbook/pb_title/_title.scss +1 -1
- data/app/pb_kits/playbook/pb_title/_title_mixin.scss +1 -40
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +14 -15
- data/app/pb_kits/playbook/playbook-doc.js +195 -0
- data/app/pb_kits/playbook/playbook-rails-react-bindings.js +35 -0
- data/app/pb_kits/playbook/{vendor.js → playbook-rails.js} +1 -5
- data/app/pb_kits/playbook/tokens/_colors.scss +4 -0
- data/app/pb_kits/playbook/tokens/_titles.scss +38 -0
- data/app/pb_kits/playbook/utilities/_colors.scss +0 -4
- data/lib/playbook.rb +1 -15
- data/lib/playbook/engine.rb +11 -21
- data/lib/playbook/props/nested_props.rb +1 -1
- data/lib/playbook/version.rb +2 -2
- metadata +20 -135
- data/app/assets/images/clark.jpg +0 -0
- data/app/assets/images/full_page_samples.svg +0 -7
- data/app/assets/images/giant.jpg +0 -0
- data/app/assets/images/github-brands.svg +0 -1
- data/app/assets/images/landing-background.svg +0 -36
- data/app/assets/images/landing-image.svg +0 -203
- data/app/assets/images/pb-caret.svg +0 -1
- data/app/assets/images/pb-check.svg +0 -11
- data/app/assets/images/pb-logo.svg +0 -28
- data/app/assets/images/pb-white-logo.svg +0 -15
- data/app/assets/images/pb.logo.svg +0 -28
- data/app/pb_kits/playbook/react_rails_kits.js +0 -13
- data/app/pb_kits/playbook/utilities/accessibility.js +0 -22
@@ -1 +0,0 @@
|
|
1
|
-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32px" height="22px"><title>select-arrow</title><g><polygon style="fill:#999999;" points="11.898,14.077 2.389,4.066 0.512,5.963 11.898,17.95 23.488,5.963 21.596,4.049 "/></g></svg>
|
@@ -1,11 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<svg width="15px" height="12px" viewBox="0 0 15 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
-
<!-- Generator: Sketch 52.5 (67469) - http://www.bohemiancoding.com/sketch -->
|
4
|
-
<title>check</title>
|
5
|
-
<desc>Created with Sketch.</desc>
|
6
|
-
<g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
7
|
-
<g id="Branding" transform="translate(-432.000000, -324.000000)" fill="#FFFFFF">
|
8
|
-
<path d="M445.124968,324.593777 C445.187467,324.531277 445.270801,324.500027 445.374967,324.500027 C445.479133,324.500027 445.572883,324.531277 445.656216,324.593777 L446.531214,325.500025 C446.614547,325.562525 446.656214,325.645858 446.656214,325.750024 C446.656214,325.854191 446.614547,325.94794 446.531214,326.031274 L437.156237,335.406251 C437.093737,335.468751 437.010403,335.500001 436.906237,335.500001 C436.802071,335.500001 436.708321,335.468751 436.624988,335.406251 L432.468748,331.218761 C432.385414,331.156262 432.343748,331.072928 432.343748,330.968762 C432.343748,330.864596 432.385414,330.770846 432.468748,330.687513 L433.343746,329.812515 C433.427079,329.729181 433.520829,329.687515 433.624995,329.687515 C433.729161,329.687515 433.812494,329.729181 433.874994,329.812515 L436.906237,332.843758 L445.124968,324.593777 Z" id="check"></path>
|
9
|
-
</g>
|
10
|
-
</g>
|
11
|
-
</svg>
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<svg width="143px" height="39px" viewBox="0 0 143 39" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
-
<!-- Generator: Sketch 59.1 (86144) - https://sketch.com -->
|
4
|
-
<title>pb-logo</title>
|
5
|
-
<desc>Created with Sketch.</desc>
|
6
|
-
<defs>
|
7
|
-
<polygon id="path-1" points="31.27995 38.3709677 6.29032258e-05 38.3709677 6.29032258e-05 0.0894483871 31.27995 0.0894483871"></polygon>
|
8
|
-
</defs>
|
9
|
-
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
10
|
-
<g id="pb-logo">
|
11
|
-
<path d="M40.900986,25.7250725 L40.900986,20.0998494 L44.9692278,20.0998494 C48.7361183,20.0998494 50.7953517,17.5634764 50.7953517,14.5499641 C50.7953517,11.5113391 48.7361183,8.97496614 44.9692278,8.97496614 L36.5816183,8.97496614 L36.5816183,25.7250725 L40.900986,25.7250725 Z M44.3163001,16.3329589 L40.900986,16.3329589 L40.900986,12.7418566 L44.3163001,12.7418566 C45.4714798,12.7418566 46.4006462,13.3947843 46.4006462,14.5499641 C46.4006462,15.6800312 45.4714798,16.3329589 44.3163001,16.3329589 Z M56.4896223,25.7250725 L56.4896223,8.97496614 L52.6222814,8.97496614 L52.6222814,25.7250725 L56.4896223,25.7250725 Z M70.3203764,25.7250725 L70.3203764,18.1410663 C70.3203764,14.3741758 67.5831026,13.2943339 64.6700407,13.2943339 C62.811708,13.2943339 60.7273619,13.8468112 59.1703805,15.1777791 L60.6017989,17.8648277 C61.5811905,17.0361118 62.7865954,16.5589723 63.9920004,16.5589723 C65.5489818,16.5589723 66.4530355,17.2872378 66.4530355,18.3419671 L66.4530355,19.5473721 C65.72477,18.6433184 64.2933516,18.1159537 62.686145,18.1159537 L62.5385458,18.1180063 C60.7078145,18.1688571 58.5174529,19.1726656 58.5174529,22.0335198 C58.5174529,24.745681 60.8278124,26.0264237 62.686145,26.0264237 C64.2431264,26.0264237 65.6996574,25.4237213 66.4530355,24.5196675 L66.4530355,25.7250725 L70.3203764,25.7250725 Z M64.2933516,23.4900508 C63.2888475,23.4900508 62.3596812,23.0380239 62.3596812,22.083745 C62.3596812,21.1294661 63.2888475,20.6774392 64.2933516,20.6774392 C65.1471801,20.6774392 66.0512338,20.9536779 66.4530355,21.5312678 L66.4530355,22.6111097 C66.0512338,23.1886996 65.1471801,23.4900508 64.2933516,23.4900508 Z M72.8755716,30.4462419 C73.2773732,30.5718049 74.181427,30.6471427 74.5330034,30.6471427 L74.7503997,30.6408447 C76.9447008,30.5602028 78.6513638,29.9591284 79.6094597,27.5764643 L85.130522,13.5956851 L81.0371676,13.5956851 L78.2998939,21.2801417 L75.5375075,13.5956851 L71.4692658,13.5956851 L76.3159982,25.9008607 L76.0397596,26.5537884 C75.8137462,27.0560405 75.2612689,27.2318287 74.3823278,27.2318287 C74.0809765,27.2318287 73.7042875,27.1564909 73.4280489,27.0058153 L72.8755716,30.4462419 Z M90.1467523,21.5312678 L90.1467523,17.8146025 C90.6238917,17.1616748 91.6283959,16.7096479 92.4571118,16.7096479 C93.9889806,16.7096479 95.1441603,17.8397151 95.1441603,19.6478225 C95.1441603,21.4810425 93.9889806,22.6111097 92.4571118,22.6111097 C91.6283959,22.6111097 90.6238917,22.1841954 90.1467523,21.5312678 Z M90.1467523,25.7250725 L90.1467523,24.3187667 C91.1512564,25.4739465 92.381774,26.0264237 93.7378545,26.0264237 C96.7262543,26.0264237 99.086839,23.7662894 99.086839,19.6478225 C99.086839,15.6800312 96.7764795,13.2943339 93.7378545,13.2943339 C92.4068866,13.2943339 91.1010312,13.8216986 90.1467523,15.0271035 L90.1467523,8.97496614 L86.2794114,8.97496614 L86.2794114,25.7250725 L90.1467523,25.7250725 Z M106.915681,26.0264237 C111.084373,26.0264237 113.545408,23.0631366 113.545408,19.6478225 C113.545408,16.2325085 111.084373,13.2943339 106.915681,13.2943339 C102.797214,13.2943339 100.336179,16.2325085 100.336179,19.6478225 C100.336179,23.0631366 102.797214,26.0264237 106.915681,26.0264237 Z M106.915681,22.6111097 C105.258249,22.6111097 104.30397,21.2801417 104.30397,19.6478225 C104.30397,18.0406159 105.258249,16.7096479 106.915681,16.7096479 C108.623338,16.7096479 109.577617,18.0406159 109.577617,19.6478225 C109.577617,21.2801417 108.623338,22.6111097 106.915681,22.6111097 Z M121.37425,26.0264237 C125.542942,26.0264237 128.003977,23.0631366 128.003977,19.6478225 C128.003977,16.2325085 125.542942,13.2943339 121.37425,13.2943339 C117.255783,13.2943339 114.794748,16.2325085 114.794748,19.6478225 C114.794748,23.0631366 117.255783,26.0264237 121.37425,26.0264237 Z M121.37425,22.6111097 C119.716818,22.6111097 118.762539,21.2801417 118.762539,19.6478225 C118.762539,18.0406159 119.716818,16.7096479 121.37425,16.7096479 C123.081907,16.7096479 124.036186,18.0406159 124.036186,19.6478225 C124.036186,21.2801417 123.081907,22.6111097 121.37425,22.6111097 Z M142.487659,25.7250725 L137.716264,25.7250725 L135.054328,21.4308173 L133.899149,22.8120105 L133.899149,25.7250725 L130.031808,25.7250725 L130.031808,8.97496614 L133.899149,8.97496614 L133.899149,18.4424176 L137.590701,13.5956851 L142.261646,13.5956851 L137.791602,19.1204578 L142.487659,25.7250725 Z" id="Playbook" fill="#0056CF" fill-rule="nonzero"></path>
|
12
|
-
<g id="Group-10" transform="translate(0.000000, 0.225194)">
|
13
|
-
<g id="Group-3">
|
14
|
-
<g id="Fill-1-Clipped">
|
15
|
-
<mask id="mask-2" fill="white">
|
16
|
-
<use xlink:href="#path-1"></use>
|
17
|
-
</mask>
|
18
|
-
<g id="path-1"></g>
|
19
|
-
<path d="M16.0020145,0.0894483871 C14.7618774,0.0894483871 13.7532242,1.1037629 13.7532242,2.35019032 L13.7532242,5.51862581 L0.999595161,14.8644726 L0.987329032,14.8735935 L0.975377419,14.8824 L0.968458065,14.8877468 C0.361441935,15.340021 6.29032258e-05,16.06215 6.29032258e-05,16.8235935 L6.29032258e-05,26.4795532 C6.29032258e-05,27.2479161 0.363958065,27.9722468 0.974748387,28.424521 L0.986070968,28.4326984 L0.992675806,28.4377306 L0.999595161,28.4427629 L13.9551435,37.9364323 C14.3423129,38.2204403 14.7999339,38.3710935 15.2779984,38.3710935 C16.51845,38.3710935 17.5274177,37.3564645 17.5274177,36.1097226 L17.5274177,32.9419161 L30.2804177,23.5957548 L30.2929984,23.5869484 L30.30495,23.5778274 L30.3109258,23.5731097 C30.9182565,23.1208355 31.27995,22.3983919 31.27995,21.6366339 L31.27995,11.9809887 C31.27995,11.2110532 30.9154258,10.4864081 30.3036919,10.0347629 L30.2929984,10.0269 L30.2870226,10.0221823 L30.2804177,10.0174645 L17.3248694,0.523795161 C16.9380145,0.240101613 16.4803935,0.0894483871 16.0020145,0.0894483871 M16.0020145,1.97654516 C16.0724661,1.97654516 16.1441758,1.99793226 16.2092806,2.04605323 L29.1651435,11.5397226 L29.1805548,11.5510452 C29.3139097,11.6485452 29.3928532,11.8073758 29.3928532,11.9759565 L29.3928532,11.9809887 L29.3928532,21.6331742 L29.3928532,21.6366339 C29.3928532,21.8064726 29.3132806,21.9649887 29.1796113,22.0628032 L29.1651435,22.0734968 L15.640321,31.9851581 L15.640321,36.1097226 C15.640321,36.3305129 15.46545,36.4839968 15.2779984,36.4839968 C15.2078613,36.4839968 15.1358371,36.4619806 15.0704177,36.4141742 L2.11518387,26.9208194 L2.09977258,26.9091823 C1.96610323,26.8113677 1.88715968,26.6531661 1.88715968,26.4845855 L1.88715968,26.4795532 L1.88715968,16.8273677 L1.88715968,16.8235935 C1.88715968,16.6540694 1.96673226,16.4952387 2.10040161,16.3977387 L2.11518387,16.3864161 L15.640321,6.47506935 L15.640321,2.35019032 C15.640321,2.13002903 15.8145629,1.97654516 16.0020145,1.97654516" id="Fill-1" fill="#0056CF" fill-rule="nonzero" mask="url(#mask-2)"></path>
|
20
|
-
</g>
|
21
|
-
</g>
|
22
|
-
<polygon id="Fill-4" fill="#0056CF" fill-rule="nonzero" points="11.4547403 17.0330927 10.5942242 16.1725766 8.31272419 18.4540766 6.03122419 16.1725766 5.17070806 17.0330927 7.45189355 19.3145927 5.17070806 21.5964073 6.03122419 22.4569234 8.31272419 20.1751089 10.5942242 22.4569234 11.4547403 21.5964073 9.17324032 19.3145927"></polygon>
|
23
|
-
<path d="M22.805596,15.6235887 C20.7672169,15.6235887 19.1144347,17.2760565 19.1144347,19.3144355 C19.1144347,21.3534435 20.7672169,23.0059113 22.805596,23.0059113 C24.843975,23.0059113 26.4964427,21.3534435 26.4964427,19.3144355 C26.4964427,17.2760565 24.843975,15.6235887 22.805596,15.6235887 M22.805596,16.8407661 C24.1696524,16.8407661 25.2792653,17.950379 25.2792653,19.3144355 C25.2792653,20.6788065 24.1696524,21.7887339 22.805596,21.7887339 C21.441225,21.7887339 20.3316121,20.6788065 20.3316121,19.3144355 C20.3316121,17.950379 21.441225,16.8407661 22.805596,16.8407661" id="Fill-6" fill="#0056CF" fill-rule="nonzero"></path>
|
24
|
-
<path d="M18.8099516,17.7868306 L15.2804516,13.9664032 L11.759129,17.7868306 L12.6212177,18.5897903 L14.6907339,16.3293629 L14.6907339,22.8977177 C14.6907339,23.2229274 14.9542984,23.4864919 15.2791935,23.4864919 C15.6047177,23.4864919 15.8679677,23.2229274 15.8679677,22.8977177 L15.8679677,16.3271613 L17.9478629,18.5897903 L18.8099516,17.7868306 Z" id="Fill-8" fill="#0056CF" fill-rule="nonzero"></path>
|
25
|
-
</g>
|
26
|
-
</g>
|
27
|
-
</g>
|
28
|
-
</svg>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<svg width="55px" height="67px" viewBox="0 0 55 67" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
-
<title>pb-white-logo</title>
|
4
|
-
<g id="MVP" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
5
|
-
<g id="pb-white-logo" fill="#FFFFFF">
|
6
|
-
<g id="pb-white-logo_BW_NoTag-01">
|
7
|
-
<path d="M16.9726562,32.4811944 C15.6865751,32.7331882 15.46875,33.7570944 15.46875,35.956972 C15.46875,38.1568496 15.6865751,39.0967578 16.9726562,38.8476604 C18.2587374,38.598563 18.4765625,37.5717604 18.4765625,35.3718828 C18.4765625,33.1720052 18.2587374,32.2292005 16.9726562,32.4811944 Z" id="Path"></path>
|
8
|
-
<path d="M7.8981917,34.203951 L6.4453125,34.4536668 L6.4453125,37.1679688 L7.90004723,36.9236816 C8.94471006,36.7427281 9.453125,36.214344 9.453125,35.2951004 C9.453125,34.9567174 9.453125,33.9379494 7.8981917,34.203951 Z" id="Path"></path>
|
9
|
-
<path d="M27.4599387,34.5547675 L26.3547998,39.0738089 C26.3447973,39.1207256 26.3089463,39.1579689 26.2622444,39.1699587 L23.9497413,39.5820293 C23.9266466,39.5868318 23.9026841,39.5795803 23.8861958,39.5627994 C23.8710002,39.5463166 23.8792887,39.5229659 23.8861958,39.4968681 L24.0450595,38.8100837 L24.0450595,38.8100837 L21.9729241,29.7033225 C21.9653574,29.6792643 21.9688984,29.6531091 21.9825941,29.6318969 C21.9959428,29.6107083 22.0173874,29.595832 22.0419953,29.5906898 L24.4691566,29.1648835 C24.4870147,29.1604179 24.50594,29.1637023 24.5212209,29.173919 C24.5365018,29.1841356 24.5467009,29.2003235 24.5492791,29.2184527 L25.3988547,33.705902 C25.3988547,33.7182641 25.3850404,33.715517 25.3891847,33.705902 L26.3962425,29.6016784 L26.3962425,29.6016784 L26.2815844,28.9451125 C26.2815844,28.9217618 26.2995429,28.895664 26.3147385,28.8736869 C26.3360563,28.8514236 26.3642686,28.836914 26.3948611,28.8324798 L27.5,28.6415538 L27.5,8.80859375 L0.493168232,27.8256539 L0.444818406,27.8462574 C0.171392745,28.033425 0.00571884682,28.3403788 0,28.6703987 L0,47.2135777 C0.00595827534,47.5395868 0.169479582,47.8427841 0.439292711,48.028104 L0.476591149,48.0500811 L26.3409856,66.2553621 C26.5622668,66.4095778 26.8511625,66.429514 27.0917474,66.3071708 C27.3323323,66.1848276 27.4851767,65.9402559 27.4889486,65.6715953 L27.4889486,34.5369111 C27.4889486,34.5369111 27.4627016,34.543779 27.4599387,34.5547675 Z M11.0140905,37.0340592 C10.3924499,38.0216552 9.30941377,38.6534968 7.8368162,38.9117278 L6.76759431,39.095786 L6.76759431,42.4939952 C6.76759431,42.539323 6.75101723,42.5832772 6.70543025,42.5915186 L4.23820767,43.0214456 C4.21677986,43.026188 4.19446846,43.0187931 4.18018787,43.0022157 C4.1603537,42.9860901 4.14913433,42.9617507 4.1497688,42.9362844 L4.28793892,42.2357643 L4.28793892,33.4641539 L4.1580851,32.8144558 C4.15653573,32.7883128 4.16547813,32.7626261 4.18295072,32.7430302 C4.1995129,32.7213341 4.22367554,32.7066248 4.25064048,32.7018232 L7.86306324,32.068608 C9.33566082,31.810377 10.3979756,32.068608 11.0196162,32.8350594 C11.54732,33.4847574 11.6260932,34.3597207 11.6260932,34.823987 C11.6290867,35.6024501 11.417426,36.3668418 11.0140905,37.0340592 Z M20.3207414,38.7633823 C19.6756166,40.0105828 18.5594263,40.7578042 16.9058623,41.0476273 C13.2796253,41.6835896 12.7906013,39.0367225 12.7906013,36.3637576 C12.7906013,35.2058391 12.8707239,33.7223848 13.4909831,32.517765 C14.1347265,31.2705645 15.2522982,30.5233431 16.9058623,30.23352 C20.5320993,29.5975577 21.0211232,32.2444248 21.0211232,34.9173897 C21.0211232,36.082176 20.9410007,37.5642568 20.3207414,38.7633823 Z" id="Shape" fill-rule="nonzero"></path>
|
10
|
-
<path d="M47.4536133,26.9152434 L45.7617188,27.2492575 L45.7617188,29.8632812 L47.4536133,29.5292671 C48.6698975,29.2927602 48.7695312,28.6724482 48.7695312,27.9463305 C48.7695312,27.2202128 48.6680176,26.6683634 47.4536133,26.9152434 Z" id="Path"></path>
|
11
|
-
<path d="M54.5439928,18.5898966 L54.498392,18.5679226 L28.6372547,0.347317963 C28.4176153,0.192033517 28.129099,0.171694632 27.8896053,0.294612601 C27.6501117,0.417530571 27.5,0.663112472 27.5,0.93100357 L27.5,28.6677436 L28.6966738,28.4974448 L28.6966738,28.4974448 L28.8224212,28.4534967 C28.8624946,28.4466298 28.8970406,28.4534967 28.902568,28.4960714 L29.7648362,32.9787769 C29.7648362,32.9911373 29.7828001,32.9856437 29.7855638,32.9787769 L30.8233257,28.8696302 L30.8233257,28.8696302 L30.6851417,28.2145289 C30.6808706,28.1892765 30.6873803,28.1633973 30.7031056,28.1431133 C30.7184164,28.1213796 30.7417708,28.1065638 30.7680521,28.1019119 L33.0784887,27.6898986 C33.1024095,27.6855975 33.1269735,27.6927181 33.1448171,27.7091259 C33.160709,27.7277091 33.1663922,27.7528701 33.1600173,27.7764214 L30.7265969,38.3514312 C30.7265969,38.3596715 30.7058693,38.4365806 30.6436865,38.4475677 L28.3249588,38.859581 C28.3018456,38.864655 28.2777444,38.8573648 28.2613942,38.8403537 C28.2452528,38.8224495 28.2390472,38.7977789 28.2448121,38.7744316 L28.3829961,38.0877426 L27.5165824,34.5993628 C27.5159258,34.5937738 27.5121983,34.5890106 27.5069095,34.5870024 L27.5069095,57.7929688 L54.490101,38.7771784 L54.5467564,38.7565777 C54.8225386,38.5704712 54.9912507,38.2637415 55,37.9325509 L55,19.3919493 C54.9836792,19.0681113 54.8146864,18.7708767 54.5439928,18.5898966 Z M41.3197831,28.5400195 C41.3197831,28.585341 41.3418925,28.6292891 41.2962918,28.6375293 L37.1742628,29.3709131 L37.1742628,30.7896125 L40.9605046,30.126271 C40.9811507,30.1215202 41.0028438,30.1266506 41.0191241,30.1401344 C41.0354044,30.1536182 41.0443937,30.1739 41.043415,30.1949399 L41.043415,32.4294257 C41.0418201,32.4770846 41.0075198,32.5174248 40.9605046,32.5269355 L37.1742628,33.1902771 L37.1742628,34.9207332 L41.2962918,34.1873494 C41.3418925,34.1791091 41.3197831,34.2093235 41.3197831,34.2560183 L41.3197831,36.4767704 C41.3197831,36.5220918 41.3349833,36.5660399 41.2893826,36.5742802 L34.9633186,37.6922098 L34.9633186,37.6922098 L34.6164768,37.7485183 C34.5899815,37.753011 34.5628189,37.746012 34.5418574,37.729291 C34.528813,37.7097739 34.526231,37.6851389 34.5349482,37.6633689 L34.6883325,36.9766799 L34.6883325,28.1733276 L34.528039,27.5402004 C34.5204335,27.5163089 34.5234499,27.490327 34.53633,27.4687847 C34.5497986,27.447709 34.5711976,27.4328709 34.5957492,27.4275834 L41.2658913,26.2533453 C41.311492,26.245105 41.3184012,26.2753193 41.3184012,26.3220142 L41.3197831,28.5400195 Z M51.863223,34.6817655 C51.8514278,34.7080956 51.827901,34.7274118 51.7996583,34.7339538 L49.0580876,35.2160095 L49.0580876,35.2160095 L48.726446,35.272318 C48.7020698,35.2773146 48.6767766,35.2701323 48.6587358,35.2530907 C48.642318,35.2353274 48.6356174,35.2107385 48.6407719,35.1871685 L48.7278278,34.7751552 L47.1166023,31.7537238 L46.1562234,31.925396 L46.1562234,35.64313 C46.1546285,35.6907889 46.1203281,35.7311291 46.073313,35.7406398 L43.9452792,36.1128252 L43.9452792,36.1128252 L43.5998192,36.1691337 C43.5733165,36.1738101 43.5460781,36.1667916 43.5251999,36.1499064 C43.5114596,36.1307156 43.5083443,36.1059461 43.5169088,36.0839843 L43.6702931,35.3972953 L43.6702931,26.6076768 L43.5113815,25.9676827 C43.5038124,25.9436278 43.5073545,25.9174763 43.5210543,25.896267 C43.5348425,25.874889 43.5567952,25.8600129 43.5818553,25.8550657 L47.2160947,25.2178183 C49.746244,24.7742173 50.9235717,25.5968706 50.9235717,27.8066357 C50.9235717,29.1882539 50.5560023,30.0617222 49.6951159,30.7264371 L49.6301694,30.7758787 L51.8673685,34.6034829 C51.8788729,34.6286953 51.8773268,34.6578926 51.863223,34.6817655 L51.863223,34.6817655 Z" id="Shape" fill-rule="nonzero"></path>
|
12
|
-
</g>
|
13
|
-
</g>
|
14
|
-
</g>
|
15
|
-
</svg>
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<svg width="143px" height="39px" viewBox="0 0 143 39" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
-
<!-- Generator: Sketch 59.1 (86144) - https://sketch.com -->
|
4
|
-
<title>pb-logo</title>
|
5
|
-
<desc>Created with Sketch.</desc>
|
6
|
-
<defs>
|
7
|
-
<polygon id="path-1" points="31.27995 38.3709677 6.29032258e-05 38.3709677 6.29032258e-05 0.0894483871 31.27995 0.0894483871"></polygon>
|
8
|
-
</defs>
|
9
|
-
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
10
|
-
<g id="pb-logo">
|
11
|
-
<path d="M40.900986,25.7250725 L40.900986,20.0998494 L44.9692278,20.0998494 C48.7361183,20.0998494 50.7953517,17.5634764 50.7953517,14.5499641 C50.7953517,11.5113391 48.7361183,8.97496614 44.9692278,8.97496614 L36.5816183,8.97496614 L36.5816183,25.7250725 L40.900986,25.7250725 Z M44.3163001,16.3329589 L40.900986,16.3329589 L40.900986,12.7418566 L44.3163001,12.7418566 C45.4714798,12.7418566 46.4006462,13.3947843 46.4006462,14.5499641 C46.4006462,15.6800312 45.4714798,16.3329589 44.3163001,16.3329589 Z M56.4896223,25.7250725 L56.4896223,8.97496614 L52.6222814,8.97496614 L52.6222814,25.7250725 L56.4896223,25.7250725 Z M70.3203764,25.7250725 L70.3203764,18.1410663 C70.3203764,14.3741758 67.5831026,13.2943339 64.6700407,13.2943339 C62.811708,13.2943339 60.7273619,13.8468112 59.1703805,15.1777791 L60.6017989,17.8648277 C61.5811905,17.0361118 62.7865954,16.5589723 63.9920004,16.5589723 C65.5489818,16.5589723 66.4530355,17.2872378 66.4530355,18.3419671 L66.4530355,19.5473721 C65.72477,18.6433184 64.2933516,18.1159537 62.686145,18.1159537 L62.5385458,18.1180063 C60.7078145,18.1688571 58.5174529,19.1726656 58.5174529,22.0335198 C58.5174529,24.745681 60.8278124,26.0264237 62.686145,26.0264237 C64.2431264,26.0264237 65.6996574,25.4237213 66.4530355,24.5196675 L66.4530355,25.7250725 L70.3203764,25.7250725 Z M64.2933516,23.4900508 C63.2888475,23.4900508 62.3596812,23.0380239 62.3596812,22.083745 C62.3596812,21.1294661 63.2888475,20.6774392 64.2933516,20.6774392 C65.1471801,20.6774392 66.0512338,20.9536779 66.4530355,21.5312678 L66.4530355,22.6111097 C66.0512338,23.1886996 65.1471801,23.4900508 64.2933516,23.4900508 Z M72.8755716,30.4462419 C73.2773732,30.5718049 74.181427,30.6471427 74.5330034,30.6471427 L74.7503997,30.6408447 C76.9447008,30.5602028 78.6513638,29.9591284 79.6094597,27.5764643 L85.130522,13.5956851 L81.0371676,13.5956851 L78.2998939,21.2801417 L75.5375075,13.5956851 L71.4692658,13.5956851 L76.3159982,25.9008607 L76.0397596,26.5537884 C75.8137462,27.0560405 75.2612689,27.2318287 74.3823278,27.2318287 C74.0809765,27.2318287 73.7042875,27.1564909 73.4280489,27.0058153 L72.8755716,30.4462419 Z M90.1467523,21.5312678 L90.1467523,17.8146025 C90.6238917,17.1616748 91.6283959,16.7096479 92.4571118,16.7096479 C93.9889806,16.7096479 95.1441603,17.8397151 95.1441603,19.6478225 C95.1441603,21.4810425 93.9889806,22.6111097 92.4571118,22.6111097 C91.6283959,22.6111097 90.6238917,22.1841954 90.1467523,21.5312678 Z M90.1467523,25.7250725 L90.1467523,24.3187667 C91.1512564,25.4739465 92.381774,26.0264237 93.7378545,26.0264237 C96.7262543,26.0264237 99.086839,23.7662894 99.086839,19.6478225 C99.086839,15.6800312 96.7764795,13.2943339 93.7378545,13.2943339 C92.4068866,13.2943339 91.1010312,13.8216986 90.1467523,15.0271035 L90.1467523,8.97496614 L86.2794114,8.97496614 L86.2794114,25.7250725 L90.1467523,25.7250725 Z M106.915681,26.0264237 C111.084373,26.0264237 113.545408,23.0631366 113.545408,19.6478225 C113.545408,16.2325085 111.084373,13.2943339 106.915681,13.2943339 C102.797214,13.2943339 100.336179,16.2325085 100.336179,19.6478225 C100.336179,23.0631366 102.797214,26.0264237 106.915681,26.0264237 Z M106.915681,22.6111097 C105.258249,22.6111097 104.30397,21.2801417 104.30397,19.6478225 C104.30397,18.0406159 105.258249,16.7096479 106.915681,16.7096479 C108.623338,16.7096479 109.577617,18.0406159 109.577617,19.6478225 C109.577617,21.2801417 108.623338,22.6111097 106.915681,22.6111097 Z M121.37425,26.0264237 C125.542942,26.0264237 128.003977,23.0631366 128.003977,19.6478225 C128.003977,16.2325085 125.542942,13.2943339 121.37425,13.2943339 C117.255783,13.2943339 114.794748,16.2325085 114.794748,19.6478225 C114.794748,23.0631366 117.255783,26.0264237 121.37425,26.0264237 Z M121.37425,22.6111097 C119.716818,22.6111097 118.762539,21.2801417 118.762539,19.6478225 C118.762539,18.0406159 119.716818,16.7096479 121.37425,16.7096479 C123.081907,16.7096479 124.036186,18.0406159 124.036186,19.6478225 C124.036186,21.2801417 123.081907,22.6111097 121.37425,22.6111097 Z M142.487659,25.7250725 L137.716264,25.7250725 L135.054328,21.4308173 L133.899149,22.8120105 L133.899149,25.7250725 L130.031808,25.7250725 L130.031808,8.97496614 L133.899149,8.97496614 L133.899149,18.4424176 L137.590701,13.5956851 L142.261646,13.5956851 L137.791602,19.1204578 L142.487659,25.7250725 Z" id="Playbook" fill="#0056CF" fill-rule="nonzero"></path>
|
12
|
-
<g id="Group-10" transform="translate(0.000000, 0.225194)">
|
13
|
-
<g id="Group-3">
|
14
|
-
<g id="Fill-1-Clipped">
|
15
|
-
<mask id="mask-2" fill="white">
|
16
|
-
<use xlink:href="#path-1"></use>
|
17
|
-
</mask>
|
18
|
-
<g id="path-1"></g>
|
19
|
-
<path d="M16.0020145,0.0894483871 C14.7618774,0.0894483871 13.7532242,1.1037629 13.7532242,2.35019032 L13.7532242,5.51862581 L0.999595161,14.8644726 L0.987329032,14.8735935 L0.975377419,14.8824 L0.968458065,14.8877468 C0.361441935,15.340021 6.29032258e-05,16.06215 6.29032258e-05,16.8235935 L6.29032258e-05,26.4795532 C6.29032258e-05,27.2479161 0.363958065,27.9722468 0.974748387,28.424521 L0.986070968,28.4326984 L0.992675806,28.4377306 L0.999595161,28.4427629 L13.9551435,37.9364323 C14.3423129,38.2204403 14.7999339,38.3710935 15.2779984,38.3710935 C16.51845,38.3710935 17.5274177,37.3564645 17.5274177,36.1097226 L17.5274177,32.9419161 L30.2804177,23.5957548 L30.2929984,23.5869484 L30.30495,23.5778274 L30.3109258,23.5731097 C30.9182565,23.1208355 31.27995,22.3983919 31.27995,21.6366339 L31.27995,11.9809887 C31.27995,11.2110532 30.9154258,10.4864081 30.3036919,10.0347629 L30.2929984,10.0269 L30.2870226,10.0221823 L30.2804177,10.0174645 L17.3248694,0.523795161 C16.9380145,0.240101613 16.4803935,0.0894483871 16.0020145,0.0894483871 M16.0020145,1.97654516 C16.0724661,1.97654516 16.1441758,1.99793226 16.2092806,2.04605323 L29.1651435,11.5397226 L29.1805548,11.5510452 C29.3139097,11.6485452 29.3928532,11.8073758 29.3928532,11.9759565 L29.3928532,11.9809887 L29.3928532,21.6331742 L29.3928532,21.6366339 C29.3928532,21.8064726 29.3132806,21.9649887 29.1796113,22.0628032 L29.1651435,22.0734968 L15.640321,31.9851581 L15.640321,36.1097226 C15.640321,36.3305129 15.46545,36.4839968 15.2779984,36.4839968 C15.2078613,36.4839968 15.1358371,36.4619806 15.0704177,36.4141742 L2.11518387,26.9208194 L2.09977258,26.9091823 C1.96610323,26.8113677 1.88715968,26.6531661 1.88715968,26.4845855 L1.88715968,26.4795532 L1.88715968,16.8273677 L1.88715968,16.8235935 C1.88715968,16.6540694 1.96673226,16.4952387 2.10040161,16.3977387 L2.11518387,16.3864161 L15.640321,6.47506935 L15.640321,2.35019032 C15.640321,2.13002903 15.8145629,1.97654516 16.0020145,1.97654516" id="Fill-1" fill="#0056CF" fill-rule="nonzero" mask="url(#mask-2)"></path>
|
20
|
-
</g>
|
21
|
-
</g>
|
22
|
-
<polygon id="Fill-4" fill="#0056CF" fill-rule="nonzero" points="11.4547403 17.0330927 10.5942242 16.1725766 8.31272419 18.4540766 6.03122419 16.1725766 5.17070806 17.0330927 7.45189355 19.3145927 5.17070806 21.5964073 6.03122419 22.4569234 8.31272419 20.1751089 10.5942242 22.4569234 11.4547403 21.5964073 9.17324032 19.3145927"></polygon>
|
23
|
-
<path d="M22.805596,15.6235887 C20.7672169,15.6235887 19.1144347,17.2760565 19.1144347,19.3144355 C19.1144347,21.3534435 20.7672169,23.0059113 22.805596,23.0059113 C24.843975,23.0059113 26.4964427,21.3534435 26.4964427,19.3144355 C26.4964427,17.2760565 24.843975,15.6235887 22.805596,15.6235887 M22.805596,16.8407661 C24.1696524,16.8407661 25.2792653,17.950379 25.2792653,19.3144355 C25.2792653,20.6788065 24.1696524,21.7887339 22.805596,21.7887339 C21.441225,21.7887339 20.3316121,20.6788065 20.3316121,19.3144355 C20.3316121,17.950379 21.441225,16.8407661 22.805596,16.8407661" id="Fill-6" fill="#0056CF" fill-rule="nonzero"></path>
|
24
|
-
<path d="M18.8099516,17.7868306 L15.2804516,13.9664032 L11.759129,17.7868306 L12.6212177,18.5897903 L14.6907339,16.3293629 L14.6907339,22.8977177 C14.6907339,23.2229274 14.9542984,23.4864919 15.2791935,23.4864919 C15.6047177,23.4864919 15.8679677,23.2229274 15.8679677,22.8977177 L15.8679677,16.3271613 L17.9478629,18.5897903 L18.8099516,17.7868306 Z" id="Fill-8" fill="#0056CF" fill-rule="nonzero"></path>
|
25
|
-
</g>
|
26
|
-
</g>
|
27
|
-
</g>
|
28
|
-
</svg>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
// React-Rendered Rails Kit Exports =====
|
2
|
-
export { default as BarGraph } from './pb_bar_graph/_bar_graph.jsx'
|
3
|
-
export { default as DistributionBar } from './pb_distribution_bar/_distribution_bar.jsx'
|
4
|
-
export { default as Legend } from './pb_legend/_legend.jsx'
|
5
|
-
export { default as LineGraph } from './pb_line_graph/_line_graph.jsx'
|
6
|
-
export { default as Passphrase } from './pb_passphrase/_passphrase.jsx'
|
7
|
-
export { default as Typeahead } from './pb_typeahead/_typeahead.jsx'
|
8
|
-
export { default as RichTextEditor } from './pb_rich_text_editor/_rich_text_editor.jsx'
|
9
|
-
export { default as Dialog } from './pb_dialog/_dialog.jsx'
|
10
|
-
export { default as DialogHeader } from './pb_dialog/child_kits/_dialog_header.jsx'
|
11
|
-
export { default as DialogBody } from './pb_dialog/child_kits/_dialog_body.jsx'
|
12
|
-
export { default as DialogFooter } from './pb_dialog/child_kits/_dialog_footer.jsx'
|
13
|
-
export { KitSearch, SnippetToggle, DarkModeToggle } from './docs_components'
|
@@ -1,22 +0,0 @@
|
|
1
|
-
/* eslint-disable no-console */
|
2
|
-
|
3
|
-
import axe from 'axe-core'
|
4
|
-
|
5
|
-
export const runAxe = function(include = '.pb--kit-example', ignore = ['.pb--kit-example :first-child']) {
|
6
|
-
axe
|
7
|
-
.run({
|
8
|
-
include: [include],
|
9
|
-
exclude: [ignore],
|
10
|
-
})
|
11
|
-
.then((results) => {
|
12
|
-
if (results.violations.length) {
|
13
|
-
console.warn('🚨 [axe-core] Accessibility issues found. See below for a list:')
|
14
|
-
console.dir(results.violations)
|
15
|
-
} else {
|
16
|
-
console.log('[axe-core] Yay! 🎉 No accessibility violations were found!')
|
17
|
-
}
|
18
|
-
})
|
19
|
-
.catch((err) => {
|
20
|
-
console.error('Something bad happened:', err.message)
|
21
|
-
})
|
22
|
-
}
|