globalfy-design-system 1.15.0 → 1.17.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "globalfy-design-system",
3
- "version": "1.15.0",
3
+ "version": "1.17.0",
4
4
  "description": "Globalfy Design System",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",
@@ -22,6 +22,7 @@
22
22
  "test": "jest",
23
23
  "test:coverage": "jest --coverage",
24
24
  "test:watch": "jest --watch",
25
+ "build:dev:watch": "vite build --config vite.config.dev.ts --watch",
25
26
  "build": "tsc && vite build",
26
27
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
27
28
  "typecheck": "tsc --project tsconfig.json",
@@ -57,7 +58,7 @@
57
58
  "react": "^18.2.0",
58
59
  "react-day-picker": "^8.10.0",
59
60
  "react-dom": "^18.2.0",
60
- "react-hook-form": "^7.47.0",
61
+ "react-hook-form": "7.52.1",
61
62
  "react-icons": "^5.0.1",
62
63
  "react-input-mask": "^2.0.4",
63
64
  "react-international-phone": "^4.2.6",
@@ -122,6 +123,7 @@
122
123
  "prettier": "^3.0.3",
123
124
  "prettier-plugin-tailwindcss": "^0.5.9",
124
125
  "react-test-renderer": "^18.2.0",
126
+ "rollup-plugin-css-only": "^4.5.2",
125
127
  "semantic-release": "22",
126
128
  "storybook": "^7.5.1",
127
129
  "tailwindcss": "3.4.7",
@@ -1,3 +0,0 @@
1
- import { DayPickerDefaultProps, DayPickerMultipleProps, DayPickerRangeProps, DayPickerSingleProps } from 'react-day-picker';
2
-
3
- export type DatePickerProps = DayPickerDefaultProps | DayPickerSingleProps | DayPickerMultipleProps | DayPickerRangeProps;
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- export type InputProps = {
3
- label: string;
4
- placeholder?: string;
5
- message?: string;
6
- icon?: React.ReactNode;
7
- isInvalid?: boolean;
8
- isRequired?: boolean;
9
- isValid?: boolean;
10
- disabled?: boolean;
11
- value?: string;
12
- isDatePicker?: boolean;
13
- iconAction?: () => void;
14
- iconSize?: "small" | "large";
15
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "color" | "onFocus" | "onBlur">;
16
- export type InputPasswordProps = Omit<InputProps, "icon" | "type" | "isDatePicker">;
@@ -1,10 +0,0 @@
1
- import { TextareaHTMLAttributes } from 'react';
2
-
3
- export type TextAreaProps = {
4
- label: string;
5
- message?: string;
6
- isInvalid?: boolean;
7
- isValid?: boolean;
8
- allowResize?: boolean;
9
- value?: string;
10
- } & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size" | "defaultValue" | "color" | "onFocus" | "onBlur">;
@@ -1,6 +0,0 @@
1
- export type DatePickerInputProps = {
2
- label: string;
3
- onSelect?: (date: Date | undefined) => void;
4
- initialDate?: Date;
5
- dateFormat?: string;
6
- };