@korsolutions/ui 0.0.31 → 0.0.32
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/dist/typescript/src/components/avatar/variants/default.d.ts +1 -1
- package/dist/typescript/src/components/badge/variants/default.d.ts +1 -1
- package/dist/typescript/src/components/badge/variants/secondary.d.ts +1 -1
- package/dist/typescript/src/components/button/button.d.ts +1 -1
- package/dist/typescript/src/components/button/variants/default.d.ts +1 -1
- package/dist/typescript/src/components/button/variants/secondary.d.ts +1 -1
- package/dist/typescript/src/components/calendar/calendar.d.ts +1 -1
- package/dist/typescript/src/components/calendar/variants/default.d.ts +1 -1
- package/dist/typescript/src/components/card/variants/default.d.ts +1 -1
- package/dist/typescript/src/components/dropdown-menu/variants/default.d.ts +1 -1
- package/dist/typescript/src/components/empty/variants/default.d.ts +1 -1
- package/dist/typescript/src/components/field/variants/default.d.ts +1 -1
- package/dist/typescript/src/components/input/input.d.ts +2 -3
- package/dist/typescript/src/components/input/input.d.ts.map +1 -1
- package/dist/typescript/src/components/input/numeric-input.d.ts +2 -2
- package/dist/typescript/src/components/input/variants/default.d.ts +1 -1
- package/dist/typescript/src/components/popover/popover.d.ts +1 -1
- package/dist/typescript/src/components/popover/variants/default.d.ts +1 -1
- package/dist/typescript/src/components/popover/variants/unstyled.d.ts +1 -1
- package/dist/typescript/src/components/select/select.d.ts +1 -1
- package/dist/typescript/src/components/select/variants/default.d.ts +1 -1
- package/dist/typescript/src/components/textarea/textarea.d.ts +2 -3
- package/dist/typescript/src/components/textarea/textarea.d.ts.map +1 -1
- package/dist/typescript/src/components/textarea/variants/default.d.ts +1 -1
- package/dist/typescript/src/components/toast/variants/danger.d.ts +1 -1
- package/dist/typescript/src/components/toast/variants/default.d.ts +1 -1
- package/dist/typescript/src/components/toast/variants/success.d.ts +1 -1
- package/dist/typescript/src/primitives/dropdown-menu/context.d.ts +1 -1
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-trigger.d.ts +1 -1
- package/dist/typescript/src/primitives/input/input.d.ts +1 -1
- package/dist/typescript/src/primitives/popover/context.d.ts +1 -1
- package/dist/typescript/src/primitives/popover/popover-trigger.d.ts +1 -1
- package/dist/typescript/src/utils/use-themed-styles.d.ts +1 -1
- package/package.json +3 -2
- package/scripts/build.sh +2 -0
- package/src/components/input/input.tsx +1 -1
- package/src/components/textarea/textarea.tsx +1 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { type InputPrimitiveBaseProps } from "
|
|
1
|
+
import { type InputPrimitiveBaseProps } from "../../primitives";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { InputVariants } from "./variants";
|
|
4
|
-
interface InputProps extends InputPrimitiveBaseProps {
|
|
4
|
+
export interface InputProps extends InputPrimitiveBaseProps {
|
|
5
5
|
variant?: keyof typeof InputVariants;
|
|
6
6
|
}
|
|
7
7
|
export declare function Input(props: InputProps): React.JSX.Element;
|
|
8
|
-
export {};
|
|
9
8
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAC5E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAC5E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,WAAW,UAAW,SAAQ,uBAAuB;IACzD,OAAO,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;CACtC;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,qBAKtC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type NumericMaskFormat } from "
|
|
2
|
-
import { type InputPrimitiveBaseProps } from "
|
|
1
|
+
import { type NumericMaskFormat } from "../../hooks/use-numeric-mask";
|
|
2
|
+
import { type InputPrimitiveBaseProps } from "../../primitives";
|
|
3
3
|
import React from "react";
|
|
4
4
|
export interface NumericInputProps extends Omit<InputPrimitiveBaseProps, "value" | "onChange" | "keyboardType"> {
|
|
5
5
|
variant?: "default";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { type TextareaPrimitiveBaseProps } from "
|
|
1
|
+
import { type TextareaPrimitiveBaseProps } from "../../primitives";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { TextareaVariants } from "./variants";
|
|
4
|
-
interface TextareaProps extends TextareaPrimitiveBaseProps {
|
|
4
|
+
export interface TextareaProps extends TextareaPrimitiveBaseProps {
|
|
5
5
|
variant?: keyof typeof TextareaVariants;
|
|
6
6
|
}
|
|
7
7
|
export declare function Textarea(props: TextareaProps): React.JSX.Element;
|
|
8
|
-
export {};
|
|
9
8
|
//# sourceMappingURL=textarea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../../src/components/textarea/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../../src/components/textarea/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,WAAW,aAAc,SAAQ,0BAA0B;IAC/D,OAAO,CAAC,EAAE,MAAM,OAAO,gBAAgB,CAAC;CACzC;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,qBAK5C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LayoutPosition } from "
|
|
1
|
+
import type { LayoutPosition } from "../../hooks/use-relative-position";
|
|
2
2
|
import { type Dispatch } from "react";
|
|
3
3
|
import type { LayoutRectangle } from "react-native";
|
|
4
4
|
import type { DropdownMenuStyles } from "./types";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TextInputRef } from "
|
|
1
|
+
import type { TextInputRef } from "../../types/element.types";
|
|
2
2
|
import { type TextInputProps } from "react-native";
|
|
3
3
|
import type { InputStyles } from "./types";
|
|
4
4
|
export type InputPrimitiveBaseProps = Omit<TextInputProps, "onChange"> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LayoutPosition } from "
|
|
1
|
+
import type { LayoutPosition } from "../../hooks/use-relative-position";
|
|
2
2
|
import { type Dispatch } from "react";
|
|
3
3
|
import type { LayoutRectangle } from "react-native";
|
|
4
4
|
import type { PopoverStyles } from "./types";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@korsolutions/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.32",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"@types/react": "^19.2.3",
|
|
40
40
|
"@types/react-dom": "^19.2.3",
|
|
41
41
|
"babel-plugin-module-resolver": "^5.0.2",
|
|
42
|
-
"react-native-builder-bob": "^0.40.17"
|
|
42
|
+
"react-native-builder-bob": "^0.40.17",
|
|
43
|
+
"tsc-alias": "^1.8.16"
|
|
43
44
|
},
|
|
44
45
|
"peerDependencies": {
|
|
45
46
|
"react": "*",
|
package/scripts/build.sh
ADDED
|
@@ -2,7 +2,7 @@ import { InputPrimitive, type InputPrimitiveBaseProps } from "@/primitives";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { InputVariants } from "./variants";
|
|
4
4
|
|
|
5
|
-
interface InputProps extends InputPrimitiveBaseProps {
|
|
5
|
+
export interface InputProps extends InputPrimitiveBaseProps {
|
|
6
6
|
variant?: keyof typeof InputVariants;
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import { TextareaPrimitive, type TextareaPrimitiveBaseProps } from "@/primitives
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { TextareaVariants } from "./variants";
|
|
4
4
|
|
|
5
|
-
interface TextareaProps extends TextareaPrimitiveBaseProps {
|
|
5
|
+
export interface TextareaProps extends TextareaPrimitiveBaseProps {
|
|
6
6
|
variant?: keyof typeof TextareaVariants;
|
|
7
7
|
}
|
|
8
8
|
|