Skip to content

Commit

Permalink
Removing extraneous asterisk (#333)
Browse files Browse the repository at this point in the history
* Removing extraneous asterisk

* bump patch v3.20.1
  • Loading branch information
chawes13 authored Apr 5, 2019
1 parent 7974687 commit 8528e51
Show file tree
Hide file tree
Showing 44 changed files with 57 additions and 119 deletions.
62 changes: 0 additions & 62 deletions docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ function BackgroundSetter ({ backgroundColor, setBackgroundColor }) {
</div>
)
}

*
```

## NavLink
Expand All @@ -181,8 +179,6 @@ function Header () {
</ul>
)
}

*
```

## Paginator
Expand Down Expand Up @@ -217,7 +213,6 @@ function ShowPages ({ pages, currentPage, changeCurrentPage }) {
</div>
)
}
*
```

## TabBar
Expand Down Expand Up @@ -246,7 +241,6 @@ function ShowTabs ({ currentTab, setCurrentTab }) {
</div>
)
}
*
```

## fieldOptionsType
Expand Down Expand Up @@ -292,8 +286,6 @@ fieldPropTypesWithValue(valuePropType)
// valid: PropTypes.bool,
// }).isRequired
// }

*
```

Returns **[Object][142]** `PropTypes` for `redux-forms` [input][140] and [meta][143] objects
Expand Down Expand Up @@ -350,8 +342,6 @@ function MessageButton ({ message }) {
}

// For a more in-depth example of using buttons with forms, see the docs for SubmitButton.

*
```

## ButtonArea
Expand Down Expand Up @@ -380,8 +370,6 @@ function ButtonForm ({ handleSubmit }) {
}

// Buttons will be wrapped in a div with class: "button-area my-area"

*
```

## SubmitButton
Expand All @@ -406,7 +394,6 @@ function PersonForm ({ handleSubmit, pristine, invalid, submitting }) {
}

// When SubmitButton is pressed, form will submit and handleSubmit() will be called.
*
```

## Checkbox
Expand Down Expand Up @@ -435,7 +422,6 @@ function CoolPersonForm ({ handleSubmit, pristine, invalid, submitting }) {
}

export default CoolPersonForm
*
```

## CheckboxGroup
Expand Down Expand Up @@ -480,7 +466,6 @@ function TodoForm ({ handleSubmit, pristine, invalid, submitting }) {
}

export default TodoForm
*
```

## CloudinaryFileInput
Expand Down Expand Up @@ -515,7 +500,6 @@ function HeadshotForm ({ handleSubmit, pristine, invalid, submitting }) {
</form>
)
}
*
```

## ColorInput
Expand Down Expand Up @@ -544,7 +528,6 @@ function UserForm ({ handleSubmit, pristine, invalid, submitting }) {
</form>
)
}
*
```

## DateInput
Expand Down Expand Up @@ -582,8 +565,6 @@ function BirthdayForm ({ handleSubmit }) {
}

// Will render datepicker with label "Birthday" and placeholder "mm/dd/yyyy"

*
```

## DropdownCheckboxGroup
Expand Down Expand Up @@ -629,7 +610,6 @@ function InterestsForm ({ handleSubmit, pristine, invalid, submitting }) {
}

export default TodoForm
*
```

## FileInput
Expand Down Expand Up @@ -673,7 +653,6 @@ function HeadshotForm ({ handleSubmit, pristine, invalid, submitting }) {
</form>
)
}
*
```

## HiddenInput
Expand All @@ -698,8 +677,6 @@ function UserForm ({ handleSubmit }) {
</form>
)
}

*
```

## Input
Expand Down Expand Up @@ -732,7 +709,6 @@ function UserForm ({ handleSubmit, pristine, invalid, submitting }) {
</form>
)
}
*
```

## IconInput
Expand Down Expand Up @@ -766,7 +742,6 @@ function TwitterForm ({ handleSubmit, pristine, invalid, submitting }) {
</form>
)
}
*
```

## RangeInput
Expand Down Expand Up @@ -801,7 +776,6 @@ function StudentForm ({ handleSubmit, pristine, invalid, submitting }) {
</form>
)
}
*
```

## RadioGroup
Expand Down Expand Up @@ -845,7 +819,6 @@ function FavoriteFoodForm ({ handleSubmit, pristine, invalid, submitting }) {
}

export default FavoriteFoodForm
*
```

## Select
Expand Down Expand Up @@ -920,7 +893,6 @@ function EmployeeForm ({ handleSubmit, pristine, invalid, submitting }) {
</form>
)
}
*
```

## SetterLink
Expand Down Expand Up @@ -952,8 +924,6 @@ function FilterForm ({ handleSubmit, pristine, invalid, submitting }) {
</form>
)
}

*
```

## Textarea
Expand Down Expand Up @@ -984,7 +954,6 @@ function BiographyForm ({ handleSubmit, pristine, invalid, submitting }) {
</form>
)
}
*
```

## InputError
Expand Down Expand Up @@ -1031,8 +1000,6 @@ function ValidatedInput ({
</div>
)
}

*
```

## InputLabel
Expand Down Expand Up @@ -1086,8 +1053,6 @@ function EmailInput ({
</div>
)
}

*
```

## LabeledField
Expand Down Expand Up @@ -1179,7 +1144,6 @@ function TextForm ({ handleSubmit, pristine, invalid, submitting }) {
export default compose(
blurDirty()
)(TextForm)
*
```

## convertNameToLabel
Expand All @@ -1196,8 +1160,6 @@ by stripping its namespace and converting it to start case.
```javascript
convertNameToLabel('example') // -> 'Example'
convertNameToLabel('person.firstName') // -> 'First Name'

*
```

Returns **[String][134]** A user-friendly field label
Expand Down Expand Up @@ -1247,8 +1209,6 @@ function Input (props) {
...
)
}

*
```

Returns **[Object][142]** `props` object with [InputLabel][75] props omitted
Expand Down Expand Up @@ -1283,7 +1243,6 @@ Checkbox.propTypes = PropTypes.shape({
export default compose(
replaceEmptyStringValue(false)
)(Checkbox)
*
```

## Table
Expand All @@ -1307,7 +1266,6 @@ function PersonTable ({ people }) {
</Table>
)
}
*
```

## SortableTable
Expand Down Expand Up @@ -1337,7 +1295,6 @@ function PersonTable ({ people }) {
</SortableTable>
)
}
*
```

## TableColumn
Expand Down Expand Up @@ -1367,7 +1324,6 @@ function PersonTable ({ people }) {
</SortableTable>
)
}
*
```

## FlashMessage
Expand All @@ -1390,8 +1346,6 @@ function ManyMessages ({ messages }) {
</div>
)
}

*
```

## FlashMessageContainer
Expand All @@ -1415,8 +1369,6 @@ function MyApp ({ messages }) {
</div>
)
}

*
```

## Spinner
Expand All @@ -1438,8 +1390,6 @@ function Image ({ imgUrl }) {
}

// Spinner is rendered when there is no content to display

*
```

## LoadingContainer
Expand All @@ -1466,8 +1416,6 @@ function PatientIndex ({ patientProfiles }) {
</div>
)
}

*
```

## AuthorizedRoute
Expand Down Expand Up @@ -1499,7 +1447,6 @@ const MyRoutes = (
/>
</Route>
)
*
```

## UnauthorizedRoute
Expand Down Expand Up @@ -1529,7 +1476,6 @@ const MyRoutes = (
/>
</Route>
)
*
```

## compareAtPath
Expand Down Expand Up @@ -1560,8 +1506,6 @@ people.sort(ageComparator)
// { name: 'Georgina', age: 35 },
// { name: 'Brad', age: 66 },
// ]

*
```

Returns **[Function][135]** Comparison function
Expand Down Expand Up @@ -1604,8 +1548,6 @@ const options = ['apple', 'banana']
serializeOptions(options)

// [{ key: 'apple', value: 'apple' }, { key: 'banana', value: 'banana' }]

*
```

Returns **[Array][139]** Array of object options
Expand Down Expand Up @@ -1639,8 +1581,6 @@ serializeOptionGroups(optionGroups)
// options: [{ key: 'lettuce', value: 'lettuce' }, { key: 'pepper', value: 'pepper' }]
// },
// ]

*
```

Returns **[Array][139]** Array of object group options
Expand All @@ -1663,8 +1603,6 @@ const namespace = 'user.profile.name'
stripNamespace(namespace)

// 'name'

*
```

Returns **[String][134]** String with namespace removed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpadlab/lp-components",
"version": "3.20.0",
"version": "3.20.1",
"engines": {
"node": "^8.0.0 || ^10.13.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/controls/color-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { compose, toggle, togglePropTypes, modifyProps, noop } from '../utils'
* )
* }
*
**/
*/

const propTypes = {
value: PropTypes.string,
Expand Down Expand Up @@ -99,4 +99,4 @@ function modify ({ active, expanded }) {
export default compose(
toggle('expanded'),
modifyProps(modify),
)(ColorPicker)
)(ColorPicker)
2 changes: 1 addition & 1 deletion src/controls/nav-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { Link } from 'react-router'
* )
* }
*
**/
*/

const propTypes = {
children: PropTypes.node,
Expand Down
2 changes: 1 addition & 1 deletion src/controls/paginator/paginator.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import PageLink from './page-link'
* </div>
* )
* }
**/
*/

const propTypes = {
value: PropTypes.number,
Expand Down
Loading

0 comments on commit 8528e51

Please sign in to comment.