@dt-dds/react-text-field 1.0.0-beta.86 → 1.0.0-beta.88

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @dt-ui/react-text-field
2
2
 
3
+ ## 1.0.0-beta.88
4
+
5
+ ### Patch Changes
6
+
7
+ - @dt-dds/react-spinner@1.0.0-beta.83
8
+
9
+ ## 1.0.0-beta.87
10
+
11
+ ### Minor Changes
12
+
13
+ - feat: implement new Dropdown
14
+ - feat: add native attributes to Typography
15
+ - feat: implement new Select field
16
+
17
+ ### Patch Changes
18
+
19
+ - fix: text filed extra-suffix visual accessibility
20
+ - Updated dependencies
21
+ - Updated dependencies
22
+ - Updated dependencies
23
+ - @dt-dds/react-core@1.0.0-beta.51
24
+ - @dt-dds/react-icon@1.0.0-beta.53
25
+ - @dt-dds/react-label-field@1.0.0-beta.51
26
+ - @dt-dds/react-icon-button@1.0.0-beta.19
27
+ - @dt-dds/react-tooltip@1.0.0-beta.59
28
+ - @dt-dds/react-spinner@1.0.0-beta.82
29
+ - @dt-dds/react-typography@1.0.0-beta.42
30
+
3
31
  ## 1.0.0-beta.86
4
32
 
5
33
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { CustomTheme } from '@dt-dds/themes';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { BaseProps } from '@dt-dds/react-core';
4
- import { FieldScale } from '@dt-dds/react-label-field';
3
+ import { BaseProps, Scale } from '@dt-dds/react-core';
5
4
  import * as react from 'react';
6
5
  import { ReactNode, ComponentPropsWithoutRef, RefObject } from 'react';
7
6
  import * as _emotion_styled from '@emotion/styled';
@@ -26,7 +25,7 @@ interface TextFieldProps extends ComponentPropsWithoutRef<'input'>, BaseProps {
26
25
  inputRef?: RefObject<HTMLInputElement>;
27
26
  message?: string;
28
27
  variant?: TextFieldVariant;
29
- scale?: FieldScale;
28
+ scale?: Scale;
30
29
  backgroundFill?: TextFieldBackgroundFill;
31
30
  onResetInput?: () => void;
32
31
  }
@@ -38,7 +37,7 @@ interface TextFieldStyledProps {
38
37
  }
39
38
  interface InputFieldStyledProps {
40
39
  isFloatingLabel: boolean;
41
- scale: FieldScale;
40
+ scale: Scale;
42
41
  }
43
42
  interface InputWrapperStyledProps {
44
43
  isFloatingLabel: boolean;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { CustomTheme } from '@dt-dds/themes';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { BaseProps } from '@dt-dds/react-core';
4
- import { FieldScale } from '@dt-dds/react-label-field';
3
+ import { BaseProps, Scale } from '@dt-dds/react-core';
5
4
  import * as react from 'react';
6
5
  import { ReactNode, ComponentPropsWithoutRef, RefObject } from 'react';
7
6
  import * as _emotion_styled from '@emotion/styled';
@@ -26,7 +25,7 @@ interface TextFieldProps extends ComponentPropsWithoutRef<'input'>, BaseProps {
26
25
  inputRef?: RefObject<HTMLInputElement>;
27
26
  message?: string;
28
27
  variant?: TextFieldVariant;
29
- scale?: FieldScale;
28
+ scale?: Scale;
30
29
  backgroundFill?: TextFieldBackgroundFill;
31
30
  onResetInput?: () => void;
32
31
  }
@@ -38,7 +37,7 @@ interface TextFieldStyledProps {
38
37
  }
39
38
  interface InputFieldStyledProps {
40
39
  isFloatingLabel: boolean;
41
- scale: FieldScale;
40
+ scale: Scale;
42
41
  }
43
42
  interface InputWrapperStyledProps {
44
43
  isFloatingLabel: boolean;
package/dist/index.js CHANGED
@@ -216,7 +216,7 @@ var InputExtraSuffixStyled = import_styled.default.div`
216
216
  return `
217
217
  display: flex;
218
218
  cursor: ${isClickable ? "pointer" : "default"};
219
- padding-right: ${theme.spacing.spacing_40}};
219
+ margin-right: ${theme.spacing.spacing_40}};
220
220
 
221
221
  &:focus-visible {
222
222
  outline: 2px solid ${theme.palette.border.dark};
package/dist/index.mjs CHANGED
@@ -179,7 +179,7 @@ var InputExtraSuffixStyled = styled.div`
179
179
  return `
180
180
  display: flex;
181
181
  cursor: ${isClickable ? "pointer" : "default"};
182
- padding-right: ${theme.spacing.spacing_40}};
182
+ margin-right: ${theme.spacing.spacing_40}};
183
183
 
184
184
  &:focus-visible {
185
185
  outline: 2px solid ${theme.palette.border.dark};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dt-dds/react-text-field",
3
- "version": "1.0.0-beta.86",
3
+ "version": "1.0.0-beta.88",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js"
@@ -20,13 +20,13 @@
20
20
  "test:update:snapshot": "jest -u"
21
21
  },
22
22
  "dependencies": {
23
- "@dt-dds/react-core": "1.0.0-beta.50",
24
- "@dt-dds/react-spinner": "1.0.0-beta.81",
25
- "@dt-dds/react-label-field": "1.0.0-beta.50",
26
- "@dt-dds/react-typography": "1.0.0-beta.41",
27
- "@dt-dds/react-icon-button": "1.0.0-beta.18",
28
- "@dt-dds/react-icon": "1.0.0-beta.52",
29
- "@dt-dds/react-tooltip": "1.0.0-beta.58",
23
+ "@dt-dds/react-core": "1.0.0-beta.51",
24
+ "@dt-dds/react-spinner": "1.0.0-beta.83",
25
+ "@dt-dds/react-label-field": "1.0.0-beta.51",
26
+ "@dt-dds/react-typography": "1.0.0-beta.42",
27
+ "@dt-dds/react-icon-button": "1.0.0-beta.19",
28
+ "@dt-dds/react-icon": "1.0.0-beta.53",
29
+ "@dt-dds/react-tooltip": "1.0.0-beta.59",
30
30
  "@dt-dds/themes": "1.0.0-beta.9"
31
31
  },
32
32
  "devDependencies": {