@vygruppen/spor-react 12.5.1 → 12.5.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.5.1 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.5.3 build /home/runner/work/spor/spor/packages/spor-react
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.tsx, src/icons/index.tsx
@@ -10,18 +10,18 @@ CLI Target: node16
10
10
  CJS Build start
11
11
  ESM Build start
12
12
  DTS Build start
13
- ESM dist/index.mjs 290.49 KB
14
13
  ESM dist/icons/index.mjs 110.00 B
15
- ESM dist/index.mjs.map 622.84 KB
14
+ ESM dist/index.mjs 290.49 KB
16
15
  ESM dist/icons/index.mjs.map 157.00 B
17
- ESM ⚡️ Build success in 2575ms
16
+ ESM dist/index.mjs.map 622.85 KB
17
+ ESM ⚡️ Build success in 2737ms
18
18
  CJS dist/index.js 311.03 KB
19
19
  CJS dist/icons/index.js 380.00 B
20
- CJS dist/index.js.map 622.84 KB
20
+ CJS dist/index.js.map 622.85 KB
21
21
  CJS dist/icons/index.js.map 157.00 B
22
- CJS ⚡️ Build success in 2576ms
23
- DTS ⚡️ Build success in 27967ms
22
+ CJS ⚡️ Build success in 2737ms
23
+ DTS ⚡️ Build success in 29147ms
24
24
  DTS dist/icons/index.d.ts 44.00 B
25
- DTS dist/index.d.ts 153.75 KB
25
+ DTS dist/index.d.ts 153.53 KB
26
26
  DTS dist/icons/index.d.mts 44.00 B
27
- DTS dist/index.d.mts 153.75 KB
27
+ DTS dist/index.d.mts 153.53 KB
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.5.1 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.5.3 postinstall /home/runner/work/spor/spor/packages/spor-react
3
3
  > chakra typegen src/theme/index.ts
4
4
 
5
5
  ┌ Chakra CLI ⚡️
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - d6fbc6c: Fix visual bug in numerstepper when withInput is false
8
+
9
+ ## 12.5.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 0e56389: Fix typing of value field on PhoneNumberInput
14
+
3
15
  ## 12.5.1
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1503,13 +1503,7 @@ type CountryCodeAndPhoneNumber = {
1503
1503
  * />
1504
1504
  * ```
1505
1505
  */
1506
- declare const PhoneNumberInput: React$1.ForwardRefExoticComponent<_chakra_ui_react.InputProps & Omit<_chakra_ui_react.FieldRootProps, "label"> & {
1507
- children?: React$1.ReactNode | undefined;
1508
- } & FieldBaseProps & {
1509
- label: React$1.ReactNode;
1510
- startElement?: React.ReactNode;
1511
- endElement?: React.ReactNode;
1512
- } & {
1506
+ declare const PhoneNumberInput: React$1.ForwardRefExoticComponent<Omit<InputProps, "value"> & {
1513
1507
  /** The label. Defaults to a localized version of "Phone number" */
1514
1508
  label?: string;
1515
1509
  /** Callback for when the country code or phone number changes */
package/dist/index.d.ts CHANGED
@@ -1503,13 +1503,7 @@ type CountryCodeAndPhoneNumber = {
1503
1503
  * />
1504
1504
  * ```
1505
1505
  */
1506
- declare const PhoneNumberInput: React$1.ForwardRefExoticComponent<_chakra_ui_react.InputProps & Omit<_chakra_ui_react.FieldRootProps, "label"> & {
1507
- children?: React$1.ReactNode | undefined;
1508
- } & FieldBaseProps & {
1509
- label: React$1.ReactNode;
1510
- startElement?: React.ReactNode;
1511
- endElement?: React.ReactNode;
1512
- } & {
1506
+ declare const PhoneNumberInput: React$1.ForwardRefExoticComponent<Omit<InputProps, "value"> & {
1513
1507
  /** The label. Defaults to a localized version of "Phone number" */
1514
1508
  label?: string;
1515
1509
  /** Callback for when the country code or phone number changes */
package/dist/index.js CHANGED
@@ -3809,11 +3809,11 @@ var NumericStepper = React28__namespace.default.forwardRef((props, ref) => {
3809
3809
  }
3810
3810
  }
3811
3811
  ) : /* @__PURE__ */ jsxRuntime.jsx(
3812
- react.chakra.text,
3812
+ Text3,
3813
3813
  {
3814
- css: styles,
3815
3814
  visibility: !showZero && value === 0 ? "hidden" : "visible",
3816
3815
  "aria-live": "assertive",
3816
+ paddingX: "0.95rem",
3817
3817
  "aria-label": ariaLabelContext.plural === "" ? "" : t(texts13.currentNumberAriaLabel(ariaLabelContext.plural)),
3818
3818
  children: value
3819
3819
  }