Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial research for a number input #784

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file added site/public/images/antd-input-number-basic.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/public/images/antd-input-number-disabled.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/public/images/antd-input-number-hovered.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/public/images/chromium-input-number-basic.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/public/images/fast-input-number-basic.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/public/images/fast-input-number-disabled.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/public/images/fast-input-number-hovered.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions site/src/pages/components/inputnumber.research.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
menu: Research
name: Number (Input)

layout: ../../layouts/ComponentLayout.astro
---

import Concepts from '../../components/concepts'
import ComponentCoverage from '../../components/component-coverage'

## Names

<ComponentCoverage component="InputNumber" />

## Concepts

<Concepts client:load component="InputNumber" />
19 changes: 18 additions & 1 deletion site/src/sources/antd.json
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,24 @@
},
{
"name": "InputNumber",
"url": "https://ant.design/components/input-number"
"url": "https://ant.design/components/input-number",
"concepts": [
{
"name": "basic",
"image": "antd-input-number-basic.png"
},
{
"name": "disabled",
"image": "antd-input-number-disabled.png"
},
{
"name": "hovered",
"image": "antd-input-number-hovered.png"
},
{
"name": "readonly"
}
]
},
{
"name": "Input",
Expand Down
17 changes: 16 additions & 1 deletion site/src/sources/carbon.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,22 @@
},
{
"name": "Number input",
"url": "https://www.carbondesignsystem.com/components/number-input/code"
"openUIName": "InputNumber",
"url": "https://www.carbondesignsystem.com/components/number-input/code",
"concepts": [
{
"name": "basic",
"image": "carbon-input-number-basic.png"
},
{
"name": "disabled",
"image": "carbon-input-number-disabled.png"
},
{
"name": "readonly",
"image": "carbon-input-number-readonly.png"
}
]
},
{
"name": "Pagination",
Expand Down
17 changes: 16 additions & 1 deletion site/src/sources/chromium.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,22 @@
"openUIName": "Slider"
},
{
"name": "Number"
"name": "Number",
"openUIName": "InputNumber",
"concepts": [
{
"name": "basic",
"image": "chromium-input-number-basic.png"
},
{
"name": "disabled",
"image": "chromium-input-number-disabled.png"
},
{
"name": "hovered",
"image": "chromium-input-number-hovered.png"
}
]
},
{
"name": "Text",
Expand Down
22 changes: 22 additions & 0 deletions site/src/sources/fast.json
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,28 @@
"name": "Data Grid",
"definition": "The data grid component enables authors to display an array of data in a tabular layout. The layout can include a header region where a title can be displayed for each column.",
"url": "https://explore.fast.design/components/fast-data-grid"
},
{
"name": "Number field",
"openUIName": "InputNumber",
"url": "https://explore.fast.design/components/fast-number-field",
"concepts": [
{
"name": "basic",
"image": "fast-input-number-basic.png"
},
{
"name": "disabled",
"image": "fast-input-number-disabled.png"
},
{
"name": "hovered",
"image": "fast-input-number-hovered.png"
},
{
"name": "readonly"
}
]
}
]
}
3 changes: 2 additions & 1 deletion site/src/sources/firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"openUIName": "Slider"
},
{
"name": "Number"
"name": "Number",
"openUIName": "InputNumber"
},
{
"name": "Text",
Expand Down
18 changes: 14 additions & 4 deletions site/src/sources/kolibri.json
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,19 @@
"url": "https://public-ui.github.io/docs/components/input-number",
"anatomy": [],
"concepts": [
{
"name": "basic",
"image": "kolibri-input-number-basic.png"
},
{
"name": "disabled",
"description": "Setzt das Feld in einen inaktiven Zustand, in dem es keine Interaktion erlaubt.",
"image": "kolibri-input-number-disabled.png"
},
{
"name": "hovered",
"image": "kolibri-input-number-hovered.png"
},
{
"name": "access-key",
"description": "Gibt an, mit welcher Tastenkombination man das Input auslösen oder fokussieren kann."
Expand All @@ -565,10 +578,6 @@
"name": "auto-complete",
"description": "Gibt an, ob das Eingabefeld autovervollständigt werden kann."
},
{
"name": "disabled",
"description": "Setzt das Feld in einen inaktiven Zustand, in dem es keine Interaktion erlaubt."
},
{ "name": "error", "description": "Gibt den Text für eine Fehlermeldung an." },
{ "name": "hide-label", "description": "Versteckt das sichtbare Label des Elements." },
{ "name": "hint", "description": "Gibt den Hinweistext an." },
Expand All @@ -591,6 +600,7 @@
},
{
"name": "read-only",
"openUIName": "readonly",
"description": "Setzt das Eingabefeld in den schreibgeschützten Modus."
},
{ "name": "required", "description": "Macht das Eingabeelement zu einem Pflichtfeld." },
Expand Down
17 changes: 16 additions & 1 deletion site/src/sources/lion.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
},
{
"name": "input-amount",
"openUIName": "InputNumber",
"url": "https://lion-web-components.netlify.app/?path=/docs/forms-input-amount--main"
},
{
Expand All @@ -67,7 +68,21 @@
},
{
"name": "input-stepper",
"url": "https://lion-web-components.netlify.app/?path=/docs/forms-input-stepper--main"
"openUIName": "InputNumber",
"url": "https://lion-web.netlify.app/components/input-stepper/overview/",
"concepts": [
{
"name": "basic",
"image": "lion-input-number-basic.png"
},
{
"name": "disabled",
"image": "lion-input-number-disabled.png"
},
{
"name": "readonly"
}
]
},
{
"name": "listbox",
Expand Down
1 change: 1 addition & 0 deletions site/src/sources/web.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
},
{
"name": "Number",
"openUIName": "InputNumber",
"url": "https://html.spec.whatwg.org/multipage/input.html#number-state-(type=number)"
},
{
Expand Down
3 changes: 2 additions & 1 deletion site/src/sources/webkit.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"openUIName": "Slider"
},
{
"name": "Number"
"name": "Number",
"openUIName": "InputNumber"
},
{
"name": "Text",
Expand Down