@spark-web/field 3.1.0 → 4.0.0-rc.1

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,39 @@
1
1
  # @spark-web/field
2
2
 
3
+ ## 4.0.0-rc.1
4
+
5
+ ### Major Changes
6
+
7
+ - rc
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies []:
12
+ - @spark-web/stack@2.0.0-rc.1
13
+ - @spark-web/theme@4.0.0-rc.1
14
+ - @spark-web/utils@2.0.0-rc.1
15
+ - @spark-web/a11y@2.0.0-rc.1
16
+ - @spark-web/icon@2.0.0-rc.1
17
+ - @spark-web/text@2.0.0-rc.1
18
+ - @spark-web/box@2.0.0-rc.1
19
+
20
+ ## 4.0.0-rc.0
21
+
22
+ ### Major Changes
23
+
24
+ - rc versio
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies []:
29
+ - @spark-web/stack@2.0.0-rc.0
30
+ - @spark-web/theme@4.0.0-rc.0
31
+ - @spark-web/a11y@2.0.0-rc.0
32
+ - @spark-web/icon@2.0.0-rc.0
33
+ - @spark-web/text@2.0.0-rc.0
34
+ - @spark-web/box@2.0.0-rc.0
35
+ - @spark-web/utils@2.0.0-rc.0
36
+
3
37
  ## 3.1.0
4
38
 
5
39
  ### Minor Changes
@@ -47,5 +47,5 @@ declare const messageToneMap: {
47
47
  readonly positive: "positive";
48
48
  };
49
49
  declare type FieldMessageProps = Required<Pick<FieldProps, 'message' | 'id' | 'tone'>>;
50
- export declare const FieldMessage: ({ message, id, tone }: FieldMessageProps) => JSX.Element;
50
+ export declare const FieldMessage: ({ message, id, tone }: FieldMessageProps) => import("@emotion/react/jsx-runtime").JSX.Element;
51
51
  export {};
@@ -1,4 +1,4 @@
1
- export { FieldContextProvider, useFieldContext } from './context';
2
- export { Field, FieldMessage, useFieldIds } from './field';
3
- export type { FieldContextType, FieldState, InputPropsDerivedFromField, } from './context';
4
- export type { FieldProps, Tone } from './field';
1
+ export { FieldContextProvider, useFieldContext } from "./context.js";
2
+ export { Field, FieldMessage, useFieldIds } from "./field.js";
3
+ export type { FieldContextType, FieldState, InputPropsDerivedFromField, } from "./context.js";
4
+ export type { FieldProps, Tone } from "./field.js";
@@ -1 +1,2 @@
1
1
  export * from "./declarations/src/index";
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bhcmstd2ViLWZpZWxkLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi9kZWNsYXJhdGlvbnMvc3JjL2luZGV4LmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var react = require('react');
6
- var css = require('@emotion/css');
6
+ var react$1 = require('@emotion/react');
7
7
  var a11y = require('@spark-web/a11y');
8
8
  var box = require('@spark-web/box');
9
9
  var icon = require('@spark-web/icon');
@@ -193,7 +193,7 @@ function IndicatorContainer(_ref4) {
193
193
  "aria-hidden": true,
194
194
  cursor: "default",
195
195
  flexShrink: 0,
196
- className: css.css(responsiveStyles),
196
+ css: react$1.css(responsiveStyles),
197
197
  children: children
198
198
  });
199
199
  }
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var react = require('react');
6
- var css = require('@emotion/css');
6
+ var react$1 = require('@emotion/react');
7
7
  var a11y = require('@spark-web/a11y');
8
8
  var box = require('@spark-web/box');
9
9
  var icon = require('@spark-web/icon');
@@ -193,7 +193,7 @@ function IndicatorContainer(_ref4) {
193
193
  "aria-hidden": true,
194
194
  cursor: "default",
195
195
  flexShrink: 0,
196
- className: css.css(responsiveStyles),
196
+ css: react$1.css(responsiveStyles),
197
197
  children: children
198
198
  });
199
199
  }
@@ -1,5 +1,5 @@
1
1
  import { createContext, useContext, forwardRef, useMemo, Fragment } from 'react';
2
- import { css } from '@emotion/css';
2
+ import { css } from '@emotion/react';
3
3
  import { mergeIds, useId, composeId, VisuallyHidden } from '@spark-web/a11y';
4
4
  import { Box } from '@spark-web/box';
5
5
  import { ExclamationCircleIcon, CheckCircleIcon } from '@spark-web/icon';
@@ -189,7 +189,7 @@ function IndicatorContainer(_ref4) {
189
189
  "aria-hidden": true,
190
190
  cursor: "default",
191
191
  flexShrink: 0,
192
- className: css(responsiveStyles),
192
+ css: css(responsiveStyles),
193
193
  children: children
194
194
  });
195
195
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-web/field",
3
- "version": "3.1.0",
3
+ "version": "4.0.0-rc.1",
4
4
  "homepage": "https://github.com/brighte-labs/spark-web#readme",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,15 +15,15 @@
15
15
  "README.md"
16
16
  ],
17
17
  "dependencies": {
18
- "@babel/runtime": "^7.19.0",
19
- "@emotion/css": "^11.9.0",
20
- "@spark-web/a11y": "^1.4.0",
21
- "@spark-web/box": "^1.2.0",
22
- "@spark-web/icon": "^1.3.0",
23
- "@spark-web/stack": "^1.1.0",
24
- "@spark-web/text": "^1.2.0",
25
- "@spark-web/theme": "^3.2.0",
26
- "@spark-web/utils": "^1.3.0"
18
+ "@babel/runtime": "^7.25.0",
19
+ "@emotion/react": "^11.13.5",
20
+ "@spark-web/a11y": "^2.0.0-rc.1",
21
+ "@spark-web/box": "^2.0.0-rc.1",
22
+ "@spark-web/icon": "^2.0.0-rc.1",
23
+ "@spark-web/stack": "^2.0.0-rc.1",
24
+ "@spark-web/text": "^2.0.0-rc.1",
25
+ "@spark-web/theme": "^4.0.0-rc.1",
26
+ "@spark-web/utils": "^2.0.0-rc.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/react": "^18.2.0",