playbook_ui 8.3.0.alpha.select.pre.margin → 8.3.0.deps2
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 +4 -4
- data/app/pb_kits/playbook/data/menu.yml +3 -2
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.scss +0 -7
- data/app/pb_kits/playbook/pb_dialog/dialog_header.rb +24 -23
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.scss +54 -63
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_preview.jsx +1 -2
- data/app/pb_kits/playbook/pb_select/_select.jsx +1 -10
- data/app/pb_kits/playbook/pb_select/_select.scss +28 -35
- data/app/pb_kits/playbook/pb_select/docs/_select_custom_select.jsx +1 -4
- data/app/pb_kits/playbook/pb_select/select.rb +1 -5
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +1 -1
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_input.jsx +135 -145
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +18 -17
- data/app/pb_kits/playbook/pb_textarea/_textarea.scss +19 -29
- data/app/pb_kits/playbook/pb_textarea/_textarea_mixin.scss +4 -9
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_character_counter.jsx +1 -5
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_custom.jsx +2 -4
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +15 -17
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx +0 -1
- data/app/pb_kits/playbook/tokens/_colors.scss +1 -1
- data/lib/playbook/version.rb +2 -1
- metadata +36 -36
| @@ -17,17 +17,13 @@ module Playbook | |
| 17 17 | 
             
                  prop :required, type: Playbook::Props::Boolean, default: false
         | 
| 18 18 |  | 
| 19 19 | 
             
                  def classname
         | 
| 20 | 
            -
                    generate_classname("pb_select" | 
| 20 | 
            +
                    generate_classname("pb_select")
         | 
| 21 21 | 
             
                  end
         | 
| 22 22 |  | 
| 23 23 | 
             
                  def select_wrapper_class
         | 
| 24 24 | 
             
                    "pb_select_kit_wrapper" + error_class
         | 
| 25 25 | 
             
                  end
         | 
| 26 26 |  | 
| 27 | 
            -
                  def select_margin_bottom
         | 
| 28 | 
            -
                    margin.present? || margin_bottom.present? ? nil : "mb_sm"
         | 
| 29 | 
            -
                  end
         | 
| 30 | 
            -
             | 
| 31 27 | 
             
                  def options_to_array
         | 
| 32 28 | 
             
                    options.map { |option| [option[:value_text] || option[:value], option[:value]] }
         | 
| 33 29 | 
             
                  end
         | 
| @@ -1,168 +1,158 @@ | |
| 1 | 
            -
            import React | 
| 1 | 
            +
            import React from 'react'
         | 
| 2 2 | 
             
            import {
         | 
| 3 3 | 
             
              Body,
         | 
| 4 4 | 
             
              SelectableCard,
         | 
| 5 5 | 
             
              Title,
         | 
| 6 6 | 
             
            } from '../../'
         | 
| 7 7 |  | 
| 8 | 
            -
             | 
| 9 | 
            -
               | 
| 8 | 
            +
            class SelectableCardInput extends React.Component {
         | 
| 9 | 
            +
              state = {
         | 
| 10 10 | 
             
                firstCheckbox: true,
         | 
| 11 11 | 
             
                secondCheckbox: true,
         | 
| 12 12 | 
             
                thirdCheckbox: false,
         | 
| 13 13 | 
             
                forthCheckbox: false,
         | 
| 14 14 | 
             
                radioSelected: 'first',
         | 
| 15 | 
            -
              } | 
| 15 | 
            +
              }
         | 
| 16 16 |  | 
| 17 | 
            -
               | 
| 18 | 
            -
                setState({ | 
| 17 | 
            +
              handleSelect = (event) => {
         | 
| 18 | 
            +
                this.setState({
         | 
| 19 19 | 
             
                  [event.target.name]: event.target.checked,
         | 
| 20 20 | 
             
                })
         | 
| 21 21 | 
             
              }
         | 
| 22 22 |  | 
| 23 | 
            -
               | 
| 24 | 
            -
                setState({
         | 
| 25 | 
            -
                  ...state,
         | 
| 23 | 
            +
              handleRadioSelect = (event) => {
         | 
| 24 | 
            +
                this.setState({
         | 
| 26 25 | 
             
                  radioSelected: event.target.value,
         | 
| 27 26 | 
             
                })
         | 
| 28 27 | 
             
              }
         | 
| 29 28 |  | 
| 30 | 
            -
               | 
| 31 | 
            -
                 | 
| 32 | 
            -
                   | 
| 33 | 
            -
             | 
| 34 | 
            -
             | 
| 35 | 
            -
             | 
| 36 | 
            -
             | 
| 37 | 
            -
             | 
| 38 | 
            -
             | 
| 39 | 
            -
             | 
| 40 | 
            -
             | 
| 41 | 
            -
             | 
| 42 | 
            -
             | 
| 43 | 
            -
             | 
| 44 | 
            -
             | 
| 45 | 
            -
             | 
| 46 | 
            -
             | 
| 47 | 
            -
             | 
| 48 | 
            -
             | 
| 49 | 
            -
                     | 
| 50 | 
            -
             | 
| 51 | 
            -
             | 
| 52 | 
            -
             | 
| 53 | 
            -
             | 
| 54 | 
            -
             | 
| 55 | 
            -
             | 
| 56 | 
            -
             | 
| 57 | 
            -
             | 
| 58 | 
            -
             | 
| 59 | 
            -
                      { | 
| 60 | 
            -
             | 
| 61 | 
            -
             | 
| 62 | 
            -
             | 
| 63 | 
            -
             | 
| 64 | 
            -
             | 
| 65 | 
            -
             | 
| 66 | 
            -
             | 
| 67 | 
            -
             | 
| 68 | 
            -
             | 
| 69 | 
            -
             | 
| 70 | 
            -
                       | 
| 71 | 
            -
             | 
| 72 | 
            -
             | 
| 73 | 
            -
                    < | 
| 74 | 
            -
             | 
| 75 | 
            -
             | 
| 76 | 
            -
             | 
| 77 | 
            -
             | 
| 78 | 
            -
             | 
| 79 | 
            -
             | 
| 80 | 
            -
             | 
| 81 | 
            -
                       | 
| 82 | 
            -
             | 
| 83 | 
            -
             | 
| 84 | 
            -
             | 
| 85 | 
            -
             | 
| 86 | 
            -
             | 
| 87 | 
            -
             | 
| 88 | 
            -
             | 
| 89 | 
            -
             | 
| 90 | 
            -
             | 
| 91 | 
            -
             | 
| 92 | 
            -
             | 
| 93 | 
            -
             | 
| 94 | 
            -
             | 
| 95 | 
            -
             | 
| 96 | 
            -
             | 
| 97 | 
            -
             | 
| 98 | 
            -
             | 
| 99 | 
            -
             | 
| 100 | 
            -
             | 
| 101 | 
            -
             | 
| 102 | 
            -
                       | 
| 103 | 
            -
             | 
| 104 | 
            -
             | 
| 105 | 
            -
             | 
| 106 | 
            -
             | 
| 107 | 
            -
             | 
| 108 | 
            -
             | 
| 109 | 
            -
             | 
| 110 | 
            -
             | 
| 111 | 
            -
             | 
| 112 | 
            -
             | 
| 113 | 
            -
             | 
| 114 | 
            -
                       | 
| 115 | 
            -
             | 
| 116 | 
            -
                       | 
| 117 | 
            -
             | 
| 118 | 
            -
             | 
| 119 | 
            -
             | 
| 120 | 
            -
             | 
| 121 | 
            -
             | 
| 122 | 
            -
             | 
| 123 | 
            -
             | 
| 124 | 
            -
             | 
| 125 | 
            -
             | 
| 126 | 
            -
             | 
| 127 | 
            -
             | 
| 128 | 
            -
                       | 
| 129 | 
            -
             | 
| 130 | 
            -
             | 
| 131 | 
            -
             | 
| 132 | 
            -
             | 
| 133 | 
            -
             | 
| 134 | 
            -
             | 
| 135 | 
            -
             | 
| 136 | 
            -
             | 
| 137 | 
            -
             | 
| 138 | 
            -
             | 
| 139 | 
            -
             | 
| 140 | 
            -
                       | 
| 141 | 
            -
             | 
| 142 | 
            -
             | 
| 143 | 
            -
             | 
| 144 | 
            -
             | 
| 145 | 
            -
             | 
| 146 | 
            -
             | 
| 147 | 
            -
             | 
| 148 | 
            -
             | 
| 149 | 
            -
             | 
| 150 | 
            -
             | 
| 151 | 
            -
             | 
| 152 | 
            -
             | 
| 153 | 
            -
             | 
| 154 | 
            -
             | 
| 155 | 
            -
             | 
| 156 | 
            -
             | 
| 157 | 
            -
                      onChange={handleRadioSelect}
         | 
| 158 | 
            -
                      value="fifth"
         | 
| 159 | 
            -
                      variant="displayInput"
         | 
| 160 | 
            -
                      {...props}
         | 
| 161 | 
            -
                  >
         | 
| 162 | 
            -
                    <Body {...props}>{'1'}</Body>
         | 
| 163 | 
            -
                  </SelectableCard>
         | 
| 164 | 
            -
                </>
         | 
| 165 | 
            -
              )
         | 
| 29 | 
            +
              render() {
         | 
| 30 | 
            +
                return (
         | 
| 31 | 
            +
                  <>
         | 
| 32 | 
            +
                    <Title
         | 
| 33 | 
            +
                        size={3}
         | 
| 34 | 
            +
                        text="What programming languages do you know?"
         | 
| 35 | 
            +
                    />
         | 
| 36 | 
            +
             | 
| 37 | 
            +
                    <br />
         | 
| 38 | 
            +
             | 
| 39 | 
            +
                    <SelectableCard
         | 
| 40 | 
            +
                        checked={this.state.firstCheckbox}
         | 
| 41 | 
            +
                        inputId="firstCheckbox"
         | 
| 42 | 
            +
                        name="firstCheckbox"
         | 
| 43 | 
            +
                        onChange={this.handleSelect}
         | 
| 44 | 
            +
                        value="firstCheckbox"
         | 
| 45 | 
            +
                        variant="displayInput"
         | 
| 46 | 
            +
                    >
         | 
| 47 | 
            +
                      <Body>{'Ruby'}</Body>
         | 
| 48 | 
            +
                    </SelectableCard>
         | 
| 49 | 
            +
             | 
| 50 | 
            +
                    <SelectableCard
         | 
| 51 | 
            +
                        checked={this.state.secondCheckbox}
         | 
| 52 | 
            +
                        inputId="secondCheckbox"
         | 
| 53 | 
            +
                        name="secondCheckbox"
         | 
| 54 | 
            +
                        onChange={this.handleSelect}
         | 
| 55 | 
            +
                        value="secondCheckbox"
         | 
| 56 | 
            +
                        variant="displayInput"
         | 
| 57 | 
            +
                    >
         | 
| 58 | 
            +
                      <Body>{'JavaScript'}</Body>
         | 
| 59 | 
            +
                    </SelectableCard>
         | 
| 60 | 
            +
             | 
| 61 | 
            +
                    <SelectableCard
         | 
| 62 | 
            +
                        checked={this.state.thirdCheckbox}
         | 
| 63 | 
            +
                        inputId="thirdCheckbox"
         | 
| 64 | 
            +
                        name="thirdCheckbox"
         | 
| 65 | 
            +
                        onChange={this.handleSelect}
         | 
| 66 | 
            +
                        value="thirdCheckbox"
         | 
| 67 | 
            +
                        variant="displayInput"
         | 
| 68 | 
            +
                    >
         | 
| 69 | 
            +
                      <Body>{'TypeScript'}</Body>
         | 
| 70 | 
            +
                    </SelectableCard>
         | 
| 71 | 
            +
             | 
| 72 | 
            +
                    <SelectableCard
         | 
| 73 | 
            +
                        checked={this.state.fourthCheckbox}
         | 
| 74 | 
            +
                        inputId="fourthCheckbox"
         | 
| 75 | 
            +
                        name="fourthCheckbox"
         | 
| 76 | 
            +
                        onChange={this.handleSelect}
         | 
| 77 | 
            +
                        value="fourthCheckbox"
         | 
| 78 | 
            +
                        variant="displayInput"
         | 
| 79 | 
            +
                    >
         | 
| 80 | 
            +
                      <Body>{'Swift'}</Body>
         | 
| 81 | 
            +
                    </SelectableCard>
         | 
| 82 | 
            +
             | 
| 83 | 
            +
                    <br />
         | 
| 84 | 
            +
             | 
| 85 | 
            +
                    <Title
         | 
| 86 | 
            +
                        size={3}
         | 
| 87 | 
            +
                        text="How likely are you to recommend Playbook to a friend?"
         | 
| 88 | 
            +
                    />
         | 
| 89 | 
            +
             | 
| 90 | 
            +
                    <br />
         | 
| 91 | 
            +
             | 
| 92 | 
            +
                    <SelectableCard
         | 
| 93 | 
            +
                        checked={this.state.radioSelected === 'first'}
         | 
| 94 | 
            +
                        inputId="radio-1"
         | 
| 95 | 
            +
                        multi={false}
         | 
| 96 | 
            +
                        name="radio"
         | 
| 97 | 
            +
                        onChange={this.handleRadioSelect}
         | 
| 98 | 
            +
                        value="first"
         | 
| 99 | 
            +
                        variant="displayInput"
         | 
| 100 | 
            +
                    >
         | 
| 101 | 
            +
                      <Body>{'5'}</Body>
         | 
| 102 | 
            +
                    </SelectableCard>
         | 
| 103 | 
            +
             | 
| 104 | 
            +
                    <SelectableCard
         | 
| 105 | 
            +
                        checked={this.state.radioSelected === 'second'}
         | 
| 106 | 
            +
                        inputId="radio-2"
         | 
| 107 | 
            +
                        multi={false}
         | 
| 108 | 
            +
                        name="radio"
         | 
| 109 | 
            +
                        onChange={this.handleRadioSelect}
         | 
| 110 | 
            +
                        value="second"
         | 
| 111 | 
            +
                        variant="displayInput"
         | 
| 112 | 
            +
                    >
         | 
| 113 | 
            +
                      <Body>
         | 
| 114 | 
            +
                        {'4'}
         | 
| 115 | 
            +
                      </Body>
         | 
| 116 | 
            +
                    </SelectableCard>
         | 
| 117 | 
            +
             | 
| 118 | 
            +
                    <SelectableCard
         | 
| 119 | 
            +
                        checked={this.state.radioSelected === 'third'}
         | 
| 120 | 
            +
                        inputId="radio-3"
         | 
| 121 | 
            +
                        multi={false}
         | 
| 122 | 
            +
                        name="radio"
         | 
| 123 | 
            +
                        onChange={this.handleRadioSelect}
         | 
| 124 | 
            +
                        value="third"
         | 
| 125 | 
            +
                        variant="displayInput"
         | 
| 126 | 
            +
                    >
         | 
| 127 | 
            +
                      <Body>{'3'}</Body>
         | 
| 128 | 
            +
                    </SelectableCard>
         | 
| 129 | 
            +
             | 
| 130 | 
            +
                    <SelectableCard
         | 
| 131 | 
            +
                        checked={this.state.radioSelected === 'fourth'}
         | 
| 132 | 
            +
                        inputId="radio-4"
         | 
| 133 | 
            +
                        multi={false}
         | 
| 134 | 
            +
                        name="radio"
         | 
| 135 | 
            +
                        onChange={this.handleRadioSelect}
         | 
| 136 | 
            +
                        value="fourth"
         | 
| 137 | 
            +
                        variant="displayInput"
         | 
| 138 | 
            +
                    >
         | 
| 139 | 
            +
                      <Body>{'2'}</Body>
         | 
| 140 | 
            +
                    </SelectableCard>
         | 
| 141 | 
            +
             | 
| 142 | 
            +
                    <SelectableCard
         | 
| 143 | 
            +
                        checked={this.state.radioSelected === 'fifth'}
         | 
| 144 | 
            +
                        inputId="radio-5"
         | 
| 145 | 
            +
                        multi={false}
         | 
| 146 | 
            +
                        name="radio"
         | 
| 147 | 
            +
                        onChange={this.handleRadioSelect}
         | 
| 148 | 
            +
                        value="fifth"
         | 
| 149 | 
            +
                        variant="displayInput"
         | 
| 150 | 
            +
                    >
         | 
| 151 | 
            +
                      <Body>{'1'}</Body>
         | 
| 152 | 
            +
                    </SelectableCard>
         | 
| 153 | 
            +
                  </>
         | 
| 154 | 
            +
                )
         | 
| 155 | 
            +
              }
         | 
| 166 156 | 
             
            }
         | 
| 167 157 |  | 
| 168 158 | 
             
            export default SelectableCardInput
         | 
| @@ -8,59 +8,59 @@ | |
| 8 8 | 
             
                margin-bottom: $space_xs;
         | 
| 9 9 | 
             
                display: block;
         | 
| 10 10 | 
             
              }
         | 
| 11 | 
            +
             | 
| 11 12 | 
             
              .text_input_wrapper {
         | 
| 12 13 | 
             
                margin-bottom: $space_sm;
         | 
| 13 14 | 
             
                display: block;
         | 
| 15 | 
            +
             | 
| 14 16 | 
             
                input::placeholder,
         | 
| 15 17 | 
             
                .text_input .placeholder {
         | 
| 16 18 | 
             
                  @include pb_body_light;
         | 
| 17 19 | 
             
                }
         | 
| 20 | 
            +
             | 
| 18 21 | 
             
                input,
         | 
| 19 22 | 
             
                .text_input {
         | 
| 20 | 
            -
                  max-height: 45px;
         | 
| 21 23 | 
             
                  @include pb_textarea_light;
         | 
| 24 | 
            +
                  @include pb_title_4;
         | 
| 22 25 | 
             
                  overflow: hidden;
         | 
| 23 26 | 
             
                }
         | 
| 24 | 
            -
             | 
| 25 | 
            -
                .text_input:hover{
         | 
| 26 | 
            -
                  background-color: rgba($focus_input_light,$opacity_5);
         | 
| 27 | 
            -
                }
         | 
| 27 | 
            +
             | 
| 28 28 | 
             
                input:focus,
         | 
| 29 29 | 
             
                .text_input:focus,
         | 
| 30 30 | 
             
                input:-webkit-autofill:focus,
         | 
| 31 31 | 
             
                .text_input:-webkit-autofill:focus {
         | 
| 32 32 | 
             
                  @include pb_textarea_focus;
         | 
| 33 | 
            -
                   | 
| 34 | 
            -
                   | 
| 35 | 
            -
                  background-color: rgba($focus_input_light,$opacity_5);
         | 
| 33 | 
            +
                  -webkit-box-shadow: 0 0 0px 1000px $focus_input_light inset;
         | 
| 34 | 
            +
                  transition: background-color 5000s ease-in-out 0s;
         | 
| 36 35 | 
             
                }
         | 
| 37 36 | 
             
              }
         | 
| 37 | 
            +
             | 
| 38 38 | 
             
              &.dark {
         | 
| 39 39 | 
             
                .text_input_wrapper {
         | 
| 40 40 | 
             
                  margin-bottom: 1rem;
         | 
| 41 | 
            +
             | 
| 41 42 | 
             
                  input::placeholder,
         | 
| 42 43 | 
             
                  .text_input .placeholder {
         | 
| 43 44 | 
             
                    @include pb_body_light_dark;
         | 
| 44 45 | 
             
                  }
         | 
| 46 | 
            +
             | 
| 45 47 | 
             
                  input, .text_input {
         | 
| 46 48 | 
             
                    @include pb_textarea_dark;
         | 
| 47 | 
            -
                    @include  | 
| 49 | 
            +
                    @include pb_title_4;
         | 
| 50 | 
            +
                    @include pb_title_dark;
         | 
| 48 51 | 
             
                    overflow: hidden;
         | 
| 49 | 
            -
                    background-color: rgba($white,$opacity_1);
         | 
| 50 | 
            -
                    border-color: rgba($white, 0.15);
         | 
| 51 | 
            -
                  }
         | 
| 52 | 
            -
                  input:hover,
         | 
| 53 | 
            -
                  .text_input:hover{
         | 
| 54 | 
            -
                    background-color: rgba($white, 0.15);
         | 
| 55 52 | 
             
                  }
         | 
| 53 | 
            +
             | 
| 56 54 | 
             
                  input:focus,
         | 
| 57 55 | 
             
                  .text_input:focus,
         | 
| 58 56 | 
             
                  input:-webkit-autofill:focus,
         | 
| 59 57 | 
             
                  .text_input:-webkit-autofill:focus {
         | 
| 60 | 
            -
                     | 
| 61 | 
            -
                     | 
| 58 | 
            +
                    @include pb_textarea_focus_dark;
         | 
| 59 | 
            +
                    -webkit-box-shadow: 0 0 0px 1000px $focus_input_dark inset;
         | 
| 60 | 
            +
                    transition: background-color 5000s ease-in-out 0s;
         | 
| 62 61 | 
             
                  }
         | 
| 63 62 | 
             
                }
         | 
| 63 | 
            +
             | 
| 64 64 | 
             
                &.error {
         | 
| 65 65 | 
             
                  .text_input_wrapper {
         | 
| 66 66 | 
             
                    input, .text_input {
         | 
| @@ -69,6 +69,7 @@ | |
| 69 69 | 
             
                  }
         | 
| 70 70 | 
             
                }
         | 
| 71 71 | 
             
              }
         | 
| 72 | 
            +
             | 
| 72 73 | 
             
              &.error {
         | 
| 73 74 | 
             
                .text_input_wrapper {
         | 
| 74 75 | 
             
                  [class*=pb_body_kit] {
         | 
| @@ -5,30 +5,28 @@ | |
| 5 5 |  | 
| 6 6 | 
             
            [class^=pb_textarea_kit] {
         | 
| 7 7 | 
             
              margin-bottom: $space_sm;
         | 
| 8 | 
            -
              
         | 
| 9 8 | 
             
              [class^=pb_caption_kit] {
         | 
| 10 9 | 
             
                margin-bottom: $space_xs;
         | 
| 11 10 | 
             
                display: block;
         | 
| 12 11 | 
             
              }
         | 
| 13 | 
            -
              textarea::placeholder | 
| 14 | 
            -
              .pb_text_area_kit::placeholder {
         | 
| 12 | 
            +
              textarea::placeholder {
         | 
| 15 13 | 
             
                @include pb_body_light;
         | 
| 16 14 | 
             
              }
         | 
| 17 | 
            -
              textarea | 
| 18 | 
            -
              .pb_text_area_kit {
         | 
| 15 | 
            +
              > textarea {
         | 
| 19 16 | 
             
                @include pb_textarea_light;
         | 
| 20 17 | 
             
              }
         | 
| 21 | 
            -
              textarea:focus | 
| 22 | 
            -
              .pb_text_area_kit:focus {
         | 
| 23 | 
            -
                border-color: $primary;
         | 
| 18 | 
            +
              textarea:focus {
         | 
| 24 19 | 
             
                @include pb_textarea_focus_light;
         | 
| 25 | 
            -
                @include transition_default;
         | 
| 26 20 | 
             
              }
         | 
| 27 | 
            -
             | 
| 28 | 
            -
               | 
| 29 | 
            -
                 | 
| 21 | 
            +
             | 
| 22 | 
            +
              &.error {
         | 
| 23 | 
            +
                [class*=pb_body_kit] {
         | 
| 24 | 
            +
                  margin-top: $space_xs / 2;
         | 
| 25 | 
            +
                }
         | 
| 26 | 
            +
                > textarea {
         | 
| 27 | 
            +
                  border-color: $error;
         | 
| 28 | 
            +
                }
         | 
| 30 29 | 
             
              }
         | 
| 31 | 
            -
              
         | 
| 32 30 | 
             
              &.resize_both > textarea {
         | 
| 33 31 | 
             
                resize: both;
         | 
| 34 32 | 
             
                overflow: auto;
         | 
| @@ -46,24 +44,16 @@ | |
| 46 44 | 
             
                textarea::placeholder {
         | 
| 47 45 | 
             
                  @include pb_body_light_dark;
         | 
| 48 46 | 
             
                }
         | 
| 49 | 
            -
                textarea | 
| 50 | 
            -
             | 
| 51 | 
            -
                  @include pb_body_dark;
         | 
| 52 | 
            -
                  background-color: rgba($white, $opacity_1);
         | 
| 53 | 
            -
                  border-color: rgba($white, 0.15);
         | 
| 47 | 
            +
                > textarea {
         | 
| 48 | 
            +
                  @include pb_textarea_dark;
         | 
| 54 49 | 
             
                }
         | 
| 55 | 
            -
                textarea:focus | 
| 56 | 
            -
                   | 
| 57 | 
            -
                  background-color: rgba($white, 0.025);
         | 
| 50 | 
            +
                textarea:focus {
         | 
| 51 | 
            +
                  @include pb_textarea_focus_dark;
         | 
| 58 52 | 
             
                }
         | 
| 59 | 
            -
             | 
| 60 | 
            -
             | 
| 61 | 
            -
             | 
| 62 | 
            -
             | 
| 63 | 
            -
                  margin-top: $space_xs / 2;
         | 
| 64 | 
            -
                }
         | 
| 65 | 
            -
                textarea {
         | 
| 66 | 
            -
                  border-color: $error;
         | 
| 53 | 
            +
                &.error {
         | 
| 54 | 
            +
                  > textarea {
         | 
| 55 | 
            +
                    border-color: $error_dark;
         | 
| 56 | 
            +
                  }
         | 
| 67 57 | 
             
                }
         | 
| 68 58 | 
             
              }
         | 
| 69 59 |  |