@vygruppen/spor-react 12.4.12 → 12.4.13

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.4.12 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.4.13 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
@@ -11,16 +11,16 @@ CJS Build start
11
11
  ESM Build start
12
12
  DTS Build start
13
13
  ESM dist/icons/index.mjs 110.00 B
14
- ESM dist/index.mjs 289.92 KB
14
+ ESM dist/index.mjs 289.96 KB
15
15
  ESM dist/icons/index.mjs.map 157.00 B
16
- ESM dist/index.mjs.map 621.88 KB
17
- ESM ⚡️ Build success in 2632ms
18
- CJS dist/index.js 310.46 KB
16
+ ESM dist/index.mjs.map 621.93 KB
17
+ ESM ⚡️ Build success in 2713ms
18
+ CJS dist/index.js 310.49 KB
19
19
  CJS dist/icons/index.js 380.00 B
20
- CJS dist/index.js.map 621.88 KB
20
+ CJS dist/index.js.map 621.93 KB
21
21
  CJS dist/icons/index.js.map 157.00 B
22
- CJS ⚡️ Build success in 2641ms
23
- DTS ⚡️ Build success in 28243ms
22
+ CJS ⚡️ Build success in 2715ms
23
+ DTS ⚡️ Build success in 29044ms
24
24
  DTS dist/icons/index.d.ts 44.00 B
25
25
  DTS dist/index.d.ts 154.57 KB
26
26
  DTS dist/icons/index.d.mts 44.00 B
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.4.12 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.4.13 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,11 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.4.13
4
+
5
+ ### Patch Changes
6
+
7
+ - 321972c: Changed lefticon to leftIcon and added it to Input
8
+
3
9
  ## 12.4.12
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1144,8 +1144,8 @@ type ComboboxProps<T> = Exclude<InputProps, "variant" | "colorPalette" | "size">
1144
1144
  inputRef?: React__default.RefObject<HTMLInputElement>;
1145
1145
  /** If you want to allow an empty collection */
1146
1146
  allowsEmptyCollection?: boolean;
1147
- lefticon?: ReactNode;
1148
- righticon?: ReactNode;
1147
+ leftIcon?: ReactNode;
1148
+ rightIcon?: ReactNode;
1149
1149
  variant?: "core" | "floating";
1150
1150
  children?: React__default.ReactNode;
1151
1151
  };
package/dist/index.d.ts CHANGED
@@ -1144,8 +1144,8 @@ type ComboboxProps<T> = Exclude<InputProps, "variant" | "colorPalette" | "size">
1144
1144
  inputRef?: React__default.RefObject<HTMLInputElement>;
1145
1145
  /** If you want to allow an empty collection */
1146
1146
  allowsEmptyCollection?: boolean;
1147
- lefticon?: ReactNode;
1148
- righticon?: ReactNode;
1147
+ leftIcon?: ReactNode;
1148
+ rightIcon?: ReactNode;
1149
1149
  variant?: "core" | "floating";
1150
1150
  children?: React__default.ReactNode;
1151
1151
  };
package/dist/index.js CHANGED
@@ -3164,8 +3164,8 @@ var Combobox = (props) => {
3164
3164
  const {
3165
3165
  label,
3166
3166
  loading,
3167
- lefticon,
3168
- righticon,
3167
+ leftIcon,
3168
+ rightIcon,
3169
3169
  borderBottomLeftRadius = "sm",
3170
3170
  borderBottomRightRadius = "sm",
3171
3171
  borderTopLeftRadius = "sm",
@@ -3214,7 +3214,7 @@ var Combobox = (props) => {
3214
3214
  paddingLeft,
3215
3215
  paddingX,
3216
3216
  paddingY,
3217
- lefticon
3217
+ leftIcon
3218
3218
  };
3219
3219
  const {
3220
3220
  inputProps: { ...inputProps },
@@ -3251,6 +3251,7 @@ var Combobox = (props) => {
3251
3251
  borderBottomRightRadius: state.isOpen && !loading ? 0 : borderBottomRightRadius,
3252
3252
  _active: { backgroundColor: "core.surface.active" },
3253
3253
  ...inputProps,
3254
+ startElement: leftIcon,
3254
3255
  endElement: loading ? /* @__PURE__ */ jsxRuntime.jsx(
3255
3256
  ColorSpinner,
3256
3257
  {
@@ -3264,7 +3265,7 @@ var Combobox = (props) => {
3264
3265
  }
3265
3266
  }
3266
3267
  }
3267
- ) : righticon,
3268
+ ) : rightIcon,
3268
3269
  placeholder: ""
3269
3270
  }
3270
3271
  ),