@kroo-web/design-system 1.27.1 → 1.29.0

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/README.MD CHANGED
@@ -22,6 +22,12 @@ or
22
22
  pnpm add @kroo-web/design-system -S
23
23
  ```
24
24
 
25
+ ## 🚀 Releasing
26
+
27
+ This project uses an automated Release Please pipeline. To ensure your features are published correctly, all merged PRs must follow Conventional Commits format.
28
+
29
+ Please read the full [Release Process & Troubleshooting Guide](RELEASE.md) before merging into `main`.
30
+
25
31
  ### Tokens
26
32
 
27
33
  Next, add the following the highest up in your application, usually in the `App.js` or `index.js` file.
@@ -9,4 +9,4 @@ export declare const Helper: Story;
9
9
  export declare const Error: Story;
10
10
  export declare const WithMinAndMax: Story;
11
11
  export declare const Disabled: Story;
12
- export declare const WithNativeDatePicker: Story;
12
+ export declare const WithDatePicker: Story;
@@ -1,23 +1,6 @@
1
1
  import { DetailedHTMLProps, InputHTMLAttributes } from 'react';
2
- import { FieldValues, Path } from 'react-hook-form';
3
2
 
4
- export type TDatePicker<T extends FieldValues> = {
5
- disabled?: boolean;
6
- helper?: {
7
- message: string;
8
- };
9
- id: string;
10
- label: string;
11
- max?: string;
12
- min?: string;
13
- name: Path<T>;
14
- };
15
- /**
16
- * @deprecated This component is deprecated.
17
- * Please use the NativeDatePicker component instead.
18
- */
19
- export declare const DatePicker: <T extends FieldValues>(props: TDatePicker<T>) => import("react/jsx-runtime").JSX.Element;
20
- export type TNativeDatePickerProps = {
3
+ export type TDatePickerProps = {
21
4
  error?: {
22
5
  message?: string;
23
6
  };
@@ -30,4 +13,4 @@ export type TNativeDatePickerProps = {
30
13
  min?: number | string;
31
14
  missing?: boolean;
32
15
  } & Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'max' | 'min' | 'type'>;
33
- export declare const NativeDatePicker: import('react').ForwardRefExoticComponent<Omit<TNativeDatePickerProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
16
+ export declare const DatePicker: import('react').ForwardRefExoticComponent<Omit<TDatePickerProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;