@sebgroup/green-react 1.0.0 → 1.0.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/index.d.ts CHANGED
@@ -11,4 +11,5 @@ export * from './lib/stepper/stepper';
11
11
  export * from './lib/select';
12
12
  export * from './lib/dropdown/dropdown';
13
13
  export * from './lib/datepicker/datepicker';
14
+ export * from './types';
14
15
  export { AlertRibbon as Alert } from './lib/alert-ribbon/alert-ribbon';
@@ -1,5 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { IValidator } from '@sebgroup/extract';
3
+ import { SelectorAttributesProps, LabelProps } from '../../types';
3
4
  export interface SelectProps extends SelectorAttributesProps, LabelProps {
4
5
  children: ReactNode;
5
6
  validator?: IValidator;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebgroup/green-react",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "peerDependencies": {
5
5
  "react": "^17 || ^18",
6
6
  "react-dom": "^17 || ^18"
@@ -0,0 +1 @@
1
+ export * from './props';
@@ -0,0 +1,9 @@
1
+ export interface SelectorAttributesProps {
2
+ id?: string;
3
+ className?: string;
4
+ testId?: string;
5
+ }
6
+ export interface LabelProps {
7
+ label?: string;
8
+ labelInformation?: string;
9
+ }