Skip to content

Commit

Permalink
Add initial research for a number input (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow authored Oct 3, 2024
1 parent b2343d6 commit 8a11a27
Show file tree
Hide file tree
Showing 27 changed files with 132 additions and 8 deletions.
Binary file added site/public/images/antd-input-number-basic.png
Loading
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
Loading
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
Loading
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/carbon-input-number-basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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-hovered.png
Loading
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
Loading
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
Loading
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
Loading
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/kolibri-input-number-basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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/lion-input-number-basic.png
Loading
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/lion-input-number-disabled.png
Loading
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 @@ -634,7 +634,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 @@ -419,6 +419,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
24 changes: 22 additions & 2 deletions site/src/sources/kolibri.json
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,19 @@
"url": "https://public-ui.github.io/en/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": "Defines which key combination can be used to trigger or focus the interactive element of the component."
Expand Down Expand Up @@ -738,8 +751,15 @@
"name": "placeholder",
"description": "Defines the placeholder for input field. To be shown when there's no value."
},
{ "name": "read-only", "description": "Makes the input element read only." },
{ "name": "required", "description": "Makes the input element required." },
{
"name": "read-only",
"openUIName": "readonly",
"description": "Setzt das Eingabefeld in den schreibgeschützten Modus."
},
{
"name": "required",
"description": "Makes the input element required."
},
{
"name": "smart-button",
"description": "Allows to add a button with an arbitrary action within the element (_hide-label only)."
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 @@ -78,6 +78,7 @@
},
{
"name": "input-amount",
"openUIName": "InputNumber",
"url": "https://lion-web-components.netlify.app/?path=/docs/forms-input-amount--main"
},
{
Expand All @@ -102,7 +103,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 @@ -60,6 +60,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

0 comments on commit 8a11a27

Please sign in to comment.