@minimalstuff/ui 0.0.26 → 0.0.27

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 (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -221,11 +221,11 @@ declare type ScreenType =
221
221
  | 'large_desktop'
222
222
  | 'xlarge_desktop';
223
223
 
224
- export declare function Selector({ name, label, value, options, onChangeCallback, formatOptionLabel, required, ...props }: SelectorProps): JSX.Element;
224
+ export declare function Selector<T = string | number>({ name, label, value, options, onChangeCallback, formatOptionLabel, required, ...props }: SelectorProps<T>): JSX.Element;
225
225
 
226
- declare interface SelectorProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
226
+ declare interface SelectorProps<T> extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
227
227
  label: string;
228
- value: string | number;
228
+ value: T;
229
229
  name: string;
230
230
  errors?: string[];
231
231
  options: Option_2[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minimalstuff/ui",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "Minimal UI lib for React built on top of Emotion",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",
@@ -31,7 +31,7 @@
31
31
  "test-watch": "vitest",
32
32
  "test:ui": "vitest --ui",
33
33
  "test:staged": "vitest related --run",
34
- "release": "release-it",
34
+ "release": "release-it --ci --only-version",
35
35
  "storybook": "storybook dev -p 6006",
36
36
  "build-storybook": "storybook build"
37
37
  },