Skip to content

Commit

Permalink
fix: Remove page Title (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
taorepoara authored Feb 20, 2023
1 parent 1cb8968 commit 0bca3d0
Show file tree
Hide file tree
Showing 24 changed files with 0 additions and 48 deletions.
2 changes: 0 additions & 2 deletions docs/pre-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ import schema from '../../../../api/${path}';
import {jsonData} from '../../utils';
export const json = jsonData(schema, 'docs/pre-build.js');
# ${schema.title}
<PropertyTable schema={schema}/>
`
);
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/actionable.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/actionable.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This component makes its child actionable based on the defined properties.

When stacking two or more actionables of the same size and using the same attribute, only the lowest one in the tree will be called.
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/button.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This is the button component.

You can set its text, disable it, adjust its size and style, react to a click and add left or right icons.
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/checkbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/checkbox.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This component provides a toggleable checkbox with several presentation options.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/container.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/container.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

The container component that can be used to apply border, padding, constraints or decoration to its child.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/dropdownButton.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/dropdownButton.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

A dropdown button that can be used to open a dropdown menu when clicked.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/flex.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/flex.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

The Flex component is a container that displays its children in a row or column.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/flexible.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/flexible.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

The Flexible component can be used to define the way in which its child flexes.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/form.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/form.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

The Form component is a container that dispatches an event with all its containing field values.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/icon.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/icon.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

All of the possible values for the icon come from the [material design icons](https://api.flutter.dev/flutter/material/Icons-class.html#constants).

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/image.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/image.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This component can be used to load an image online or directly from the application.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/menu.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/menu.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This component is meant to be used along with the `menuItem` component because there is no real interest of using it alone.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/menuItem.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/menuItem.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This component is made to be used with the `menu` component. This will ensure that the styling is correct and that the menu items are properly sized.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/overlayEntry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/overlayEntry.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This component is used to create an **overlay** that shows itself over the current application's UI. For example, it might be interesting to use it when displaying errors in a snackbar.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/radio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/radio.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This component is basically a radio component as you might know it from other frameworks.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/slider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/slider.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

The slider component can be used to select from a **range** of values.

A certain amount of **divisions** can be set for the slider using the `divisions` property. Then, the `min` and `max` properties need to be set to define the values of the slider. For example, in the case of a slider ranging from **1 to 10** the number of divisions would be 10 and the **min** and **max** properties would be respectively set to 1 and 10.
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/stack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/stack.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This component is used to make its children overlap. This is particularly interesting when building complex views that needs to put some content above an image or for styling some views.
The first child in the list will be in the background while the last child of the list will be in the foreground of the stack.

Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/statusSticker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/statusSticker.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This component is a status based sticker. It can take 4 different statuses, `success`, `warning`, `error` and `pending`

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/text.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/text.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This is a typical text component.

This component has a `children` property in case some complex text needs to be done (see examples below).
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/textfield.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/textfield.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This component gives the possibility to the user to write text.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/toggle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/toggle.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This component can be toggled on or off.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/view.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/view.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This component calls a view defined in the application. This can be used to create reusable views across the application and call them from anywhere.

The view must be defined and references in the index.js root file of the application.
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/components/wrap.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import schema from '../../../../api/components/wrap.schema.json';
import {jsonData} from '../../utils';
export const json = jsonData(schema);

# {schema.title}

This component can be used to display a long list of components, if they get out of the screen the wrap component will make the overflowing ones use a new row.

## Examples
Expand Down
2 changes: 0 additions & 2 deletions docs/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ export const json = {
"title": "Components API"
}

# {json.title}

The Lenra's Components API describes the possible component JSON data managed by the Lenra's client to display app UI.

This API is described by a JSON Schema.
Expand Down

0 comments on commit 0bca3d0

Please sign in to comment.