globalfy-design-system 0.36.0 → 0.38.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.
@@ -38,8 +38,6 @@ export declare const colors: {
38
38
  800: string;
39
39
  900: string;
40
40
  };
41
- DEFAULT: string;
42
- foreground: string;
43
41
  };
44
42
  secondary: {
45
43
  green: {
@@ -54,8 +52,6 @@ export declare const colors: {
54
52
  800: string;
55
53
  900: string;
56
54
  };
57
- DEFAULT: string;
58
- foreground: string;
59
55
  };
60
56
  tertiary: {
61
57
  green: {
@@ -133,48 +129,4 @@ export declare const colors: {
133
129
  900: string;
134
130
  };
135
131
  };
136
- globalfy: {
137
- primaryGreen: string;
138
- secondaryGreen: string;
139
- tertiaryGreen: string;
140
- white: string;
141
- primaryGrey: string;
142
- grey500: string;
143
- grey600: string;
144
- grey700: string;
145
- grey900: string;
146
- black: string;
147
- violet500: string;
148
- violet50: string;
149
- blue500: string;
150
- blue50: string;
151
- red700: string;
152
- red500: string;
153
- red50: string;
154
- };
155
- border: string;
156
- input: string;
157
- ring: string;
158
- background: string;
159
- foreground: string;
160
- destructive: {
161
- DEFAULT: string;
162
- foreground: string;
163
- };
164
- muted: {
165
- DEFAULT: string;
166
- foreground: string;
167
- };
168
- accent: {
169
- DEFAULT: string;
170
- foreground: string;
171
- };
172
- popover: {
173
- DEFAULT: string;
174
- foreground: string;
175
- };
176
- card: {
177
- DEFAULT: string;
178
- foreground: string;
179
- };
180
132
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "globalfy-design-system",
3
- "version": "0.36.0",
3
+ "version": "0.38.0",
4
4
  "description": "Globalfy Design System",
5
5
  "type": "module",
6
6
  "files": [
@@ -1,2 +0,0 @@
1
- import { FieldMessageProps } from "./FieldMessage.type";
2
- export declare const FieldMessage: ({ children }: FieldMessageProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import type { Meta, StoryObj } from "@storybook/react";
3
- import { FieldMessage } from ".";
4
- type FieldMessageProps = React.ComponentProps<typeof FieldMessage>;
5
- declare const meta: Meta<FieldMessageProps>;
6
- export default meta;
7
- type Story = StoryObj<FieldMessageProps>;
8
- export declare const Playground: Story;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- export type FieldMessageProps = {
3
- children: React.ReactNode;
4
- };
@@ -1,2 +0,0 @@
1
- export * from "./FieldMessage";
2
- export * from "./FieldMessage.type";
@@ -1,22 +0,0 @@
1
- import * as React from "react";
2
- import * as LabelPrimitive from "@radix-ui/react-label";
3
- import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
4
- declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = undefined>(props: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
5
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
6
- declare const useFormField: () => {
7
- invalid: boolean;
8
- isDirty: boolean;
9
- isTouched: boolean;
10
- error?: import("react-hook-form").FieldError | undefined;
11
- id: string;
12
- name: string;
13
- formItemId: string;
14
- formDescriptionId: string;
15
- formMessageId: string;
16
- };
17
- declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
18
- declare const FormLabel: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
19
- declare const FormControl: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-slot").SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
20
- declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
21
- declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
22
- export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField };
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- import * as LabelPrimitive from "@radix-ui/react-label";
3
- import { type VariantProps } from "class-variance-authority";
4
- declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
5
- export { Label };
@@ -1,2 +0,0 @@
1
- import { type ClassValue } from "clsx";
2
- export declare function cn(...inputs: ClassValue[]): string;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- type FormWrapperProps = {
3
- children: React.ReactNode;
4
- };
5
- export declare const FormWrapper: ({ children }: FormWrapperProps) => import("react/jsx-runtime").JSX.Element;
6
- export {};