@atlaskit/textfield 5.0.5 → 5.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/codemods/{5.0.0-lite-mode.ts → 5.0.0-lite-mode.tsx} +1 -1
  3. package/codemods/__tests__/{5.0.0-lite-mode.ts → 5.0.0-lite-mode.tsx} +0 -0
  4. package/codemods/__tests__/remove-imports.tsx +1 -1
  5. package/codemods/__tests__/remove-prop.tsx +1 -1
  6. package/codemods/__tests__/rename-imports.tsx +1 -1
  7. package/codemods/migrations/{remove-imports.ts → remove-imports.tsx} +1 -1
  8. package/codemods/migrations/{remove-props.ts → remove-props.tsx} +1 -1
  9. package/codemods/migrations/{rename-imports.ts → rename-imports.tsx} +1 -1
  10. package/codemods/{utils.ts → migrations/utils.tsx} +0 -0
  11. package/dist/cjs/component-tokens.js +27 -29
  12. package/dist/cjs/index.js +1 -1
  13. package/dist/cjs/styles.js +22 -30
  14. package/dist/cjs/text-field.js +48 -45
  15. package/dist/cjs/version.json +1 -1
  16. package/dist/es2019/component-tokens.js +25 -28
  17. package/dist/es2019/index.js +1 -1
  18. package/dist/es2019/styles.js +18 -28
  19. package/dist/es2019/text-field.js +47 -44
  20. package/dist/es2019/version.json +1 -1
  21. package/dist/esm/component-tokens.js +25 -28
  22. package/dist/esm/index.js +1 -1
  23. package/dist/esm/styles.js +18 -28
  24. package/dist/esm/text-field.js +48 -46
  25. package/dist/esm/version.json +1 -1
  26. package/dist/types/component-tokens.d.ts +22 -22
  27. package/dist/types/index.d.ts +2 -2
  28. package/dist/types/styles.d.ts +135 -46
  29. package/dist/types/text-field.d.ts +11 -2
  30. package/dist/types/types.d.ts +1 -6
  31. package/package.json +17 -21
  32. package/extract-react-types/text-field-props.tsx +0 -5
@@ -1,44 +1,44 @@
1
1
  export declare const disabledBackgroundColor: {
2
- light: string;
3
- dark: string;
4
- };
5
- export declare const invalidBorderColor: {
6
- light: string;
7
- dark: string;
2
+ light: "var(--ds-background-disabled)";
3
+ dark: "var(--ds-background-disabled)";
8
4
  };
9
5
  export declare const defaultBackgroundColor: {
10
- light: string;
11
- dark: string;
6
+ light: "var(--ds-background-subtleBorderedNeutral-resting)";
7
+ dark: "var(--ds-background-subtleBorderedNeutral-resting)";
12
8
  };
13
9
  export declare const defaultBackgroundColorFocus: {
14
- light: string;
15
- dark: string;
10
+ light: "var(--ds-background-default)";
11
+ dark: "var(--ds-background-default)";
16
12
  };
17
13
  export declare const defaultBackgroundColorHover: {
18
- light: string;
19
- dark: string;
14
+ light: "var(--ds-background-default)";
15
+ dark: "var(--ds-background-default)";
16
+ };
17
+ export declare const subtleBackgroundColorHover: {
18
+ light: "var(--ds-background-transparentNeutral-hover)";
19
+ dark: "var(--ds-background-transparentNeutral-hover)";
20
20
  };
21
21
  export declare const defaultBorderColor: {
22
- light: string;
23
- dark: string;
22
+ light: "var(--ds-border-neutral)";
23
+ dark: "var(--ds-border-neutral)";
24
24
  };
25
25
  export declare const defaultBorderColorFocus: {
26
- light: string;
27
- dark: string;
26
+ light: "var(--ds-border-focus)";
27
+ dark: "var(--ds-border-focus)";
28
28
  };
29
29
  export declare const transparent: {
30
30
  light: string;
31
31
  dark: string;
32
32
  };
33
33
  export declare const textColor: {
34
- light: string;
35
- dark: string;
34
+ light: "var(--ds-text-highEmphasis)";
35
+ dark: "var(--ds-text-highEmphasis)";
36
36
  };
37
37
  export declare const disabledTextColor: {
38
- light: string;
39
- dark: string;
38
+ light: "var(--ds-text-disabled)";
39
+ dark: "var(--ds-text-disabled)";
40
40
  };
41
41
  export declare const placeholderTextColor: {
42
- light: string;
43
- dark: string;
42
+ light: "var(--ds-text-lowEmphasis)";
43
+ dark: "var(--ds-text-lowEmphasis)";
44
44
  };
@@ -1,3 +1,3 @@
1
1
  export { default } from './text-field';
2
- export { TextFieldColors } from './styles';
3
- export type { PublicProps as TextFieldProps, Appearance } from './types';
2
+ export { textFieldColors as TextFieldColors } from './styles';
3
+ export type { TextfieldProps as TextFieldProps, Appearance } from './types';
@@ -1,13 +1,106 @@
1
- import { CSSObject } from '@emotion/core';
2
1
  import { ThemeModes } from '@atlaskit/theme/types';
3
2
  import { Appearance } from './types';
4
- export declare const containerStyles: (appearance: Appearance, mode: ThemeModes, width?: string | number | undefined) => CSSObject;
5
- export declare const inputStyles: (mode: ThemeModes) => CSSObject;
6
- export declare const TextFieldColors: {
3
+ export declare const containerStyles: (appearance: Appearance, mode: ThemeModes, width?: string | number | undefined) => {
4
+ readonly borderRadius: 3;
5
+ readonly borderWidth: 2;
6
+ readonly borderStyle: "none" | "solid";
7
+ readonly boxSizing: "border-box";
8
+ readonly display: "flex";
9
+ readonly flex: "1 1 100%";
10
+ readonly fontSize: number;
11
+ readonly justifyContent: "space-between";
12
+ readonly maxWidth: string | number;
13
+ readonly overflow: "hidden";
14
+ readonly transition: "background-color 0.2s ease-in-out, border-color 0.2s ease-in-out";
15
+ readonly wordWrap: "break-word";
16
+ readonly verticalAlign: "top";
17
+ readonly pointerEvents: "auto";
18
+ readonly backgroundColor: string;
19
+ readonly borderColor: string;
20
+ readonly color: "var(--ds-text-highEmphasis)";
21
+ readonly cursor: string;
22
+ readonly '&:hover': {
23
+ backgroundColor: string;
24
+ };
25
+ readonly '&:focus-within': {
26
+ backgroundColor: string;
27
+ borderColor: string;
28
+ };
29
+ readonly '&[data-disabled]': {
30
+ backgroundColor: "var(--ds-background-disabled)";
31
+ borderColor: "var(--ds-background-disabled)";
32
+ color: "var(--ds-text-disabled)";
33
+ cursor: string;
34
+ };
35
+ readonly '&[data-invalid]': {
36
+ borderColor: "var(--ds-iconBorder-danger)";
37
+ };
38
+ readonly '&[data-invalid]:focus-within': {
39
+ backgroundColor: "var(--ds-background-default)";
40
+ borderColor: "var(--ds-border-focus)";
41
+ };
42
+ readonly '@media screen and (-ms-high-contrast: active)': {
43
+ '&[data-invalid]:focus-within': {
44
+ borderColor: string;
45
+ };
46
+ '&:focus-within': {
47
+ borderColor: string;
48
+ };
49
+ '&[data-disabled]': {
50
+ borderColor: string;
51
+ };
52
+ };
53
+ readonly alignItems: "center";
54
+ };
55
+ export declare const inputStyles: (mode: ThemeModes) => {
56
+ readonly backgroundColor: "transparent";
57
+ readonly border: 0;
58
+ readonly boxSizing: "border-box";
59
+ readonly color: "inherit";
60
+ readonly cursor: "inherit";
61
+ readonly fontSize: number;
62
+ readonly minWidth: "0";
63
+ readonly outline: "none";
64
+ readonly width: "100%";
65
+ readonly lineHeight: number;
66
+ readonly fontFamily: string;
67
+ readonly '&[data-monospaced]': {
68
+ readonly fontFamily: string;
69
+ };
70
+ readonly '&[data-compact]': {
71
+ readonly padding: string;
72
+ readonly height: string;
73
+ };
74
+ readonly '&:not([data-compact])': {
75
+ readonly padding: string;
76
+ readonly height: string;
77
+ };
78
+ readonly '&[disabled]': {
79
+ readonly WebkitTextFillColor: "var(--ds-text-disabled)";
80
+ };
81
+ readonly '&::-ms-clear': {
82
+ readonly display: "none";
83
+ };
84
+ readonly '&:invalid': {
85
+ readonly boxShadow: "none";
86
+ };
87
+ readonly '&::placeholder': {
88
+ readonly color: "var(--ds-text-lowEmphasis)";
89
+ readonly '&:disabled': {
90
+ readonly color: "var(--ds-text-disabled)";
91
+ };
92
+ };
93
+ readonly '@media screen and (-ms-high-contrast: active)': {
94
+ readonly '&[disabled]': {
95
+ readonly color: "GrayText";
96
+ };
97
+ };
98
+ };
99
+ export declare const textFieldColors: {
7
100
  backgroundColor: {
8
101
  standard: {
9
- light: string;
10
- dark: string;
102
+ light: "var(--ds-background-subtleBorderedNeutral-resting)";
103
+ dark: "var(--ds-background-subtleBorderedNeutral-resting)";
11
104
  };
12
105
  subtle: {
13
106
  light: string;
@@ -20,12 +113,12 @@ export declare const TextFieldColors: {
20
113
  };
21
114
  backgroundColorFocus: {
22
115
  standard: {
23
- light: string;
24
- dark: string;
116
+ light: "var(--ds-background-default)";
117
+ dark: "var(--ds-background-default)";
25
118
  };
26
119
  subtle: {
27
- light: string;
28
- dark: string;
120
+ light: "var(--ds-background-default)";
121
+ dark: "var(--ds-background-default)";
29
122
  };
30
123
  none: {
31
124
  light: string;
@@ -34,12 +127,12 @@ export declare const TextFieldColors: {
34
127
  };
35
128
  backgroundColorHover: {
36
129
  standard: {
37
- light: string;
38
- dark: string;
130
+ light: "var(--ds-background-default)";
131
+ dark: "var(--ds-background-default)";
39
132
  };
40
133
  subtle: {
41
- light: string;
42
- dark: string;
134
+ light: "var(--ds-background-transparentNeutral-hover)";
135
+ dark: "var(--ds-background-transparentNeutral-hover)";
43
136
  };
44
137
  none: {
45
138
  light: string;
@@ -48,8 +141,8 @@ export declare const TextFieldColors: {
48
141
  };
49
142
  borderColor: {
50
143
  standard: {
51
- light: string;
52
- dark: string;
144
+ light: "var(--ds-border-neutral)";
145
+ dark: "var(--ds-border-neutral)";
53
146
  };
54
147
  subtle: {
55
148
  light: string;
@@ -62,12 +155,12 @@ export declare const TextFieldColors: {
62
155
  };
63
156
  borderColorFocus: {
64
157
  standard: {
65
- light: string;
66
- dark: string;
158
+ light: "var(--ds-border-focus)";
159
+ dark: "var(--ds-border-focus)";
67
160
  };
68
161
  subtle: {
69
- light: string;
70
- dark: string;
162
+ light: "var(--ds-border-focus)";
163
+ dark: "var(--ds-border-focus)";
71
164
  };
72
165
  none: {
73
166
  light: string;
@@ -75,45 +168,41 @@ export declare const TextFieldColors: {
75
168
  };
76
169
  };
77
170
  placeholderTextColor: {
78
- light: string;
79
- dark: string;
171
+ light: "var(--ds-text-lowEmphasis)";
172
+ dark: "var(--ds-text-lowEmphasis)";
80
173
  };
81
174
  textColor: {
82
- light: string;
83
- dark: string;
175
+ light: "var(--ds-text-highEmphasis)";
176
+ dark: "var(--ds-text-highEmphasis)";
84
177
  };
85
178
  invalidRules: {
86
179
  light: {
87
- backgroundColor: string;
88
- backgroundColorFocus: string;
89
- backgroundColorHover: string;
90
- borderColor: string;
91
- borderColorFocus: string;
180
+ backgroundColor: "var(--ds-background-subtleBorderedNeutral-resting)";
181
+ backgroundColorHover: "var(--ds-background-default)";
182
+ backgroundColorFocus: "var(--ds-background-default)";
183
+ borderColor: "var(--ds-iconBorder-danger)";
184
+ borderColorFocus: "var(--ds-border-focus)";
92
185
  };
93
186
  dark: {
94
- backgroundColor: string;
95
- backgroundColorFocus: string;
96
- backgroundColorHover: string;
97
- borderColor: string;
98
- borderColorFocus: string;
187
+ backgroundColor: "var(--ds-background-subtleBorderedNeutral-resting)";
188
+ backgroundColorHover: "var(--ds-background-default)";
189
+ backgroundColorFocus: "var(--ds-background-default)";
190
+ borderColor: "var(--ds-iconBorder-danger)";
191
+ borderColorFocus: "var(--ds-border-focus)";
99
192
  };
100
193
  };
101
194
  disabledRules: {
102
195
  light: {
103
- backgroundColor: string;
104
- backgroundColorFocus: string;
105
- backgroundColorHover: string;
106
- borderColor: string;
107
- borderColorFocus: string;
108
- textColor: string;
196
+ backgroundColor: "var(--ds-background-disabled)";
197
+ backgroundColorHover: "var(--ds-background-disabled)";
198
+ borderColor: "var(--ds-background-disabled)";
199
+ textColor: "var(--ds-text-disabled)";
109
200
  };
110
201
  dark: {
111
- backgroundColor: string;
112
- backgroundColorFocus: string;
113
- backgroundColorHover: string;
114
- borderColor: string;
115
- borderColorFocus: string;
116
- textColor: string;
202
+ backgroundColor: "var(--ds-background-disabled)";
203
+ backgroundColorHover: "var(--ds-background-disabled)";
204
+ borderColor: "var(--ds-background-disabled)";
205
+ textColor: "var(--ds-text-disabled)";
117
206
  };
118
207
  };
119
208
  };
@@ -1,5 +1,14 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
- import { PublicProps } from './types';
4
- declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<PublicProps, "appearance" | "color" | "content" | "height" | "width" | "start" | "hidden" | "default" | "isCompact" | "isDisabled" | "isInvalid" | "isMonospaced" | "isReadOnly" | "isRequired" | "elemAfterInput" | "elemBeforeInput" | "onMouseDown" | "testId" | "name" | "className" | "placeholder" | "onChange" | "createAnalyticsEvent" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "defer" | "disabled" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css"> & React.RefAttributes<any>>>;
3
+ import { TextfieldProps } from './types';
4
+ declare const _default: React.NamedExoticComponent<TextfieldProps & React.RefAttributes<unknown>>;
5
+ /**
6
+ * __Textfield__
7
+ *
8
+ * A text field is an input that allows a user to write or edit text.
9
+ *
10
+ * - [Examples](https://atlassian.design/components/textfield/examples)
11
+ * - [Code](https://atlassian.design/components/textfield/code)
12
+ * - [Usage](https://atlassian.design/components/textfield/usage)
13
+ */
5
14
  export default _default;
@@ -1,7 +1,5 @@
1
1
  import React, { AllHTMLAttributes, FormEventHandler } from 'react';
2
- import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
3
- import { ThemeModes } from '@atlaskit/theme/types';
4
- export interface PublicProps extends WithAnalyticsEventsProps, AllHTMLAttributes<HTMLInputElement> {
2
+ export interface TextfieldProps extends AllHTMLAttributes<HTMLInputElement> {
5
3
  /**
6
4
  * Affects the visual style of the text field.
7
5
  */
@@ -70,7 +68,4 @@ export interface PublicProps extends WithAnalyticsEventsProps, AllHTMLAttributes
70
68
  */
71
69
  onChange?: FormEventHandler<HTMLInputElement>;
72
70
  }
73
- export interface InternalProps extends PublicProps {
74
- mode: ThemeModes;
75
- }
76
71
  export declare type Appearance = 'subtle' | 'standard' | 'none';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/textfield",
3
- "version": "5.0.5",
3
+ "version": "5.1.3",
4
4
  "description": "A text field is an input that allows a user to write or edit text.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -13,7 +13,7 @@
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
15
  "sideEffects": false,
16
- "atlaskit:src": "src/index.ts",
16
+ "atlaskit:src": "src/index.tsx",
17
17
  "atlassian": {
18
18
  "team": "Design System Team",
19
19
  "inPublicMirror": true,
@@ -23,11 +23,12 @@
23
23
  }
24
24
  },
25
25
  "af:exports": {
26
- ".": "./src/index.ts"
26
+ ".": "./src/index.tsx"
27
27
  },
28
28
  "dependencies": {
29
29
  "@atlaskit/analytics-next": "^8.2.0",
30
- "@atlaskit/theme": "^11.3.0",
30
+ "@atlaskit/theme": "^12.0.0",
31
+ "@atlaskit/tokens": "^0.3.0",
31
32
  "@babel/runtime": "^7.0.0",
32
33
  "@emotion/core": "^10.0.9"
33
34
  },
@@ -35,14 +36,15 @@
35
36
  "react": "^16.8.0"
36
37
  },
37
38
  "devDependencies": {
38
- "@atlaskit/avatar": "^20.1.0",
39
+ "@atlaskit/avatar": "^20.5.0",
39
40
  "@atlaskit/build-utils": "*",
40
- "@atlaskit/button": "^15.1.0",
41
+ "@atlaskit/button": "^16.1.0",
41
42
  "@atlaskit/docs": "*",
42
- "@atlaskit/form": "^8.1.0",
43
- "@atlaskit/icon": "^21.7.0",
43
+ "@atlaskit/form": "^8.4.0",
44
+ "@atlaskit/icon": "^21.9.0",
45
+ "@atlaskit/section-message": "^6.1.0",
44
46
  "@atlaskit/ssr": "*",
45
- "@atlaskit/toggle": "^12.0.0",
47
+ "@atlaskit/toggle": "^12.3.0",
46
48
  "@atlaskit/visual-regression": "*",
47
49
  "@atlaskit/webdriver-runner": "*",
48
50
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
@@ -64,18 +66,12 @@
64
66
  "import-structure": "atlassian-conventions"
65
67
  },
66
68
  "@repo/internal": {
67
- "ui-components": [
68
- "lite-mode"
69
- ],
70
- "analytics": [
71
- "analytics-next"
72
- ],
73
- "theming": [
74
- "new-theming-api"
75
- ],
76
- "deprecation": [
77
- "no-deprecated-imports"
78
- ]
69
+ "ui-components": "lite-mode",
70
+ "styling": "emotion",
71
+ "analytics": "analytics-next",
72
+ "theming": "tokens",
73
+ "design-system": "v1",
74
+ "deprecation": "no-deprecated-imports"
79
75
  }
80
76
  },
81
77
  "homepage": "https://atlassian.design/components/textfield/",
@@ -1,5 +0,0 @@
1
- import { PublicProps } from '../src/types';
2
-
3
- export default function TextFieldProps(props: PublicProps) {
4
- return null;
5
- }