chore: fix prepublish pattern format

This commit is contained in:
Mikhail Bashkirov 2019-07-23 15:29:56 +02:00
parent b4a086cd9a
commit 738774e82b
28 changed files with 28 additions and 28 deletions

View file

@ -1,6 +1,6 @@
# Ajax # Ajax
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`ajax` is the global manager for handling all ajax requests. `ajax` is the global manager for handling all ajax requests.
It is a promise based system for fetching data, based on [axios](https://github.com/axios/axios) It is a promise based system for fetching data, based on [axios](https://github.com/axios/axios)

View file

@ -1,6 +1,6 @@
# Button # Button
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-button` provides a component that is easily stylable and is accessible in all contexts. `lion-button` provides a component that is easily stylable and is accessible in all contexts.

View file

@ -1,6 +1,6 @@
# Calendar # Calendar
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-calendar` is a reusable and accessible calendar view. `lion-calendar` is a reusable and accessible calendar view.

View file

@ -1,6 +1,6 @@
# Checkbox Group # Checkbox Group
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-checkbox-group` component is webcomponent that enhances the functionality of the native `<input type="checkbox">` element. Its purpose is to provide a way for users to check **multiple** options amongst a set of choices, or to function as a single toggle. `lion-checkbox-group` component is webcomponent that enhances the functionality of the native `<input type="checkbox">` element. Its purpose is to provide a way for users to check **multiple** options amongst a set of choices, or to function as a single toggle.

View file

@ -1,6 +1,6 @@
# Checkbox # Checkbox
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-checkbox` component is a sub-element to be used in [lion-checkbox-group](../checkbox-group/) elements. Its purpose is to provide a way for users to check **multiple** options amongst a set of choices, or to function as a single toggle. `lion-checkbox` component is a sub-element to be used in [lion-checkbox-group](../checkbox-group/) elements. Its purpose is to provide a way for users to check **multiple** options amongst a set of choices, or to function as a single toggle.

View file

@ -1,5 +1,5 @@
# Choice Input # Choice Input
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
We still need help writing better documentation - care to help? We still need help writing better documentation - care to help?

View file

@ -1,6 +1,6 @@
# Core # Core
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
## Deprecations ## Deprecations

View file

@ -1,7 +1,7 @@
# Form Fundaments # Form Fundaments
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`Form control`s are the most fundamental building block of the Forms. They are the basis of `Form control`s are the most fundamental building block of the Forms. They are the basis of
both `field`s and `fieldset`s, and the `form` itself. both `field`s and `fieldset`s, and the `form` itself.

View file

@ -1,6 +1,6 @@
# Fieldset # Fieldset
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-fieldset` groups multiple input fields or other fieldsets together. `lion-fieldset` groups multiple input fields or other fieldsets together.

View file

@ -1,6 +1,6 @@
# Form System # Form System
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
The Form System allows you to create complex forms with various validation in an easy way. The Form System allows you to create complex forms with various validation in an easy way.

View file

@ -1,6 +1,6 @@
# Form # Form
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-form` is a webcomponent that enhances the functionality of the native `form` component. It is designed to interact with (instances of) the [form controls](../field/docs/FormFundaments.md). `lion-form` is a webcomponent that enhances the functionality of the native `form` component. It is designed to interact with (instances of) the [form controls](../field/docs/FormFundaments.md).

View file

@ -1,6 +1,6 @@
# Icon # Icon
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
A web component for displaying icons. A web component for displaying icons.

View file

@ -1,6 +1,6 @@
# Input Amount # Input Amount
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-input-amount` component is based on the generic text input field. Its purpose is to provide a way for users to fill in an amount. `lion-input-amount` component is based on the generic text input field. Its purpose is to provide a way for users to fill in an amount.

View file

@ -1,6 +1,6 @@
# Input Date # Input Date
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-input-date` component is based on the generic text input field. Its purpose is to provide a way for users to fill in a date. `lion-input-date` component is based on the generic text input field. Its purpose is to provide a way for users to fill in a date.

View file

@ -1,6 +1,6 @@
# Input Email # Input Email
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-input-email` component is based on the generic text input field. Its purpose is to provide a way for users to fill in an email. `lion-input-email` component is based on the generic text input field. Its purpose is to provide a way for users to fill in an email.

View file

@ -1,6 +1,6 @@
# Input IBAN # Input IBAN
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-input-iban` component is based on the generic text input field. Its purpose is to provide a way for users to fill in an iban. `lion-input-iban` component is based on the generic text input field. Its purpose is to provide a way for users to fill in an iban.

View file

@ -1,6 +1,6 @@
# Input # Input
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-input` component is a webcomponent that enhances the functionality of the native `<input>` element. `lion-input` component is a webcomponent that enhances the functionality of the native `<input>` element.

View file

@ -1,6 +1,6 @@
# Localize # Localize
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
The localization system helps to manage localization data split into locales and automate its loading. The localization system helps to manage localization data split into locales and automate its loading.
The loading of data tries to be as unobtrusive as possible for a typical workflow while providing a flexible and controllable mechanism for non-trivial use cases. The loading of data tries to be as unobtrusive as possible for a typical workflow while providing a flexible and controllable mechanism for non-trivial use cases.

View file

@ -1,6 +1,6 @@
# Overlays System # Overlays System
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
Supports different types of overlays like dialogs, toasts, tooltips, dropdown, etc... Supports different types of overlays like dialogs, toasts, tooltips, dropdown, etc...
Manages their position on the screen relative to other elements, including other overlays. Manages their position on the screen relative to other elements, including other overlays.

View file

@ -1,6 +1,6 @@
# Popup # Popup
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-popup` is a component used for basic popups on click. `lion-popup` is a component used for basic popups on click.
Its purpose is to show content appearing when the user clicks an invoker element with the cursor or with the keyboard. Its purpose is to show content appearing when the user clicks an invoker element with the cursor or with the keyboard.

View file

@ -1,6 +1,6 @@
# Radio-group # Radio-group
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-radio-group` component is webcomponent that enhances the functionality of the native `<input type="radio">` element. Its purpose is to provide a way for users to check a **single** option amongst a set of choices. `lion-radio-group` component is webcomponent that enhances the functionality of the native `<input type="radio">` element. Its purpose is to provide a way for users to check a **single** option amongst a set of choices.

View file

@ -1,6 +1,6 @@
# Radio # Radio
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-radio` component is a sub-element to be used in [lion-radio-group](../radio-group/) elements. Its purpose is to provide a way for users to check a **single** option amongst a set of choices. `lion-radio` component is a sub-element to be used in [lion-radio-group](../radio-group/) elements. Its purpose is to provide a way for users to check a **single** option amongst a set of choices.

View file

@ -1,6 +1,6 @@
# Select # Select
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-select` component is a wrapper around the native `select`. `lion-select` component is a wrapper around the native `select`.

View file

@ -1,6 +1,6 @@
# Steps # Steps
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-steps` breaks a single goal down into dependable sub-tasks. `lion-steps` breaks a single goal down into dependable sub-tasks.

View file

@ -1,6 +1,6 @@
# Textarea # Textarea
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-textarea` component is a webcomponent that enhances the functionality of the native `<input type="textarea">` element. `lion-textarea` component is a webcomponent that enhances the functionality of the native `<input type="textarea">` element.
Its purpose is to provide a way for users to write text that is multiple lines long. Its purpose is to provide a way for users to write text that is multiple lines long.

View file

@ -1,6 +1,6 @@
# Tooltip # Tooltip
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-tooltip` is a component used for basic popups on hover. `lion-tooltip` is a component used for basic popups on hover.
Its purpose is to show content appearing when the user hovers over an invoker element with the cursor or with the keyboard, or if th Its purpose is to show content appearing when the user hovers over an invoker element with the cursor or with the keyboard, or if th

View file

@ -1,6 +1,6 @@
# Validate # Validate
[//]: # (AUTO INSERT HEADER PREPUBLISH) [//]: # 'AUTO INSERT HEADER PREPUBLISH'
## Features ## Features

View file

@ -6,7 +6,7 @@ function escapeRegExp(text) {
} }
const filePath = `${process.cwd()}/README.md`; const filePath = `${process.cwd()}/README.md`;
const findPattern = escapeRegExp('[//]: # (AUTO INSERT HEADER PREPUBLISH)'); const findPattern = escapeRegExp("[//]: # 'AUTO INSERT HEADER PREPUBLISH'");
const text = ` const text = `
> ## 🛠 Status: Pilot Phase > ## 🛠 Status: Pilot Phase
> Lion Web Components are still in an early alpha stage; they should not be considered production ready yet. > Lion Web Components are still in an early alpha stage; they should not be considered production ready yet.