Skip to content

Commit bddead5

Browse files
authored
move InlineInputText to be under Form/Input (#691)
1 parent 5b7de2e commit bddead5

File tree

9 files changed

+12
-3
lines changed

9 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- `TextArea` component was created with documentation and tests
1313
- `FieldTextArea` component was created with documentation and tests
1414

15+
### Change
16+
17+
move path for InlineInputText now under Form/Inputs
18+
1519
## [0.7.24] - 2020-03-12
1620

1721
### Added
22+
1823
- `ArrowLeft` Icon added
1924
- `Checkbox` supports `defaultChecked` property.
2025
- `TabPanels` supports `FlexBoxProps` & `LayoutProps`
2126

2227
### Change
28+
2329
- `ArrowDropDown` and `ArrowDropUp` Icons renamed to `ArrowUp` and `ArrowDown`
2430

2531
## Fixed

packages/components/src/InlineInputText/InlineInputText.test.tsx renamed to packages/components/src/Form/Inputs/InlineInputText/InlineInputText.test.tsx

File renamed without changes.

packages/components/src/InlineInputText/InlineInputText.tsx renamed to packages/components/src/Form/Inputs/InlineInputText/InlineInputText.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import React, { forwardRef, Ref } from 'react'
2323
import isFunction from 'lodash/isFunction'
2424
import styled from 'styled-components'
2525
import { typography, TypographyProps } from '@looker/design-tokens'
26-
import { inputPropKeys, InputProps } from '../Form/Inputs/InputProps'
26+
import { inputPropKeys, InputProps } from '../InputProps'
2727

2828
interface InlineInputTextProps
2929
extends TypographyProps,

packages/components/src/InlineInputText/__snapshots__/InlineInputText.test.tsx.snap renamed to packages/components/src/Form/Inputs/InlineInputText/__snapshots__/InlineInputText.test.tsx.snap

File renamed without changes.

packages/components/src/InlineInputText/index.ts renamed to packages/components/src/Form/Inputs/InlineInputText/index.ts

File renamed without changes.

packages/components/src/Form/Inputs/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
export * from './Checkbox'
2828
export * from './Combobox'
29+
export * from './InlineInputText'
2930
export * from './InputChips'
3031
export * from './InputDate'
3132
export * from './InputDateRange'

packages/components/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export * from './Divider'
3737
export * from './Form'
3838
export * from './GlobalStyle'
3939
export * from './Icon'
40-
export * from './InlineInputText'
4140
export * from './Layout'
4241
export * from './Link'
4342
export * from './List'

packages/www/src/documentation/components/content/inline-input-text.mdx renamed to packages/www/src/documentation/components/forms/inline-input-text.mdx

File renamed without changes.

packages/www/src/documentation/components/navigation.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ const components: NavigationSection = {
7878
title: 'Fields',
7979
path: 'fields',
8080
},
81+
{
82+
title: 'InlineInputText',
83+
path: 'inline-input-text',
84+
},
8185
{
8286
title: 'InputChips',
8387
path: 'input-chips',
@@ -161,7 +165,6 @@ const components: NavigationSection = {
161165
{ title: 'DateTimeFormat', path: 'date-time-format' },
162166
{ title: 'Divider', path: 'divider' },
163167
{ title: 'Icon', path: 'icon' },
164-
{ title: 'InlineInputText', path: 'inline-input-text' },
165168
{ title: 'List', path: 'list' },
166169
{ title: 'Spinner', path: 'spinner' },
167170
{ title: 'Swatch', path: 'swatch' },

0 commit comments

Comments
 (0)