@foxui/core 0.4.0 → 0.4.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/README.md CHANGED
@@ -16,7 +16,6 @@ svelte 5 + tailwind 4 ui kit, base components
16
16
  - [Head](https://flo-bit.dev/ui-kit/components/base/head)
17
17
  - [Heading](https://flo-bit.dev/ui-kit/components/base/image)
18
18
  - [Modals](https://flo-bit.dev/ui-kit/components/base/modal)
19
- - [Number Input](https://flo-bit.dev/ui-kit/components/base/number-input)
20
19
  - [Popover](https://flo-bit.dev/ui-kit/components/base/popover)
21
20
  - [Prose](https://flo-bit.dev/ui-kit/components/base/prose)
22
21
  - [Scroll Area](https://flo-bit.dev/ui-kit/components/base/scroll-area)
@@ -1,4 +1,4 @@
1
- <script lang="ts" module>
1
+ <!-- <script lang="ts" module>
2
2
  import type { WithElementRef } from 'bits-ui';
3
3
  import { type VariantProps, tv } from 'tailwind-variants';
4
4
  import { cn } from '../../utils';
@@ -198,4 +198,4 @@
198
198
  display: none;
199
199
  }
200
200
  </style>
201
- </noscript>
201
+ </noscript> -->
@@ -1,98 +1,18 @@
1
- import type { WithElementRef } from 'bits-ui';
2
- import { type VariantProps } from 'tailwind-variants';
3
- export declare const numberInputVariants: import("tailwind-variants").TVReturnType<{
4
- variant: {
5
- primary: string;
6
- secondary: string;
7
- };
8
- size: {
9
- default: string;
10
- sm: string;
11
- lg: string;
12
- };
13
- }, undefined, "group flex w-full max-w-44 touch-manipulation items-stretch justify-between rounded-2xl ring focus-within:ring-2", {
14
- variant: {
15
- primary: string;
16
- secondary: string;
17
- };
18
- size: {
19
- default: string;
20
- sm: string;
21
- lg: string;
22
- };
23
- }, undefined, import("tailwind-variants").TVReturnType<{
24
- variant: {
25
- primary: string;
26
- secondary: string;
27
- };
28
- size: {
29
- default: string;
30
- sm: string;
31
- lg: string;
32
- };
33
- }, undefined, "group flex w-full max-w-44 touch-manipulation items-stretch justify-between rounded-2xl ring focus-within:ring-2", unknown, unknown, undefined>>;
34
- export declare const numberInputButtonVariants: import("tailwind-variants").TVReturnType<{
35
- variant: {
36
- primary: string;
37
- secondary: string;
38
- };
39
- }, undefined, "button-number-input flex cursor-pointer items-center pr-[.5em] pl-[.5em] transition-colors disabled:cursor-not-allowed disabled:opacity-50", {
40
- variant: {
41
- primary: string;
42
- secondary: string;
43
- };
44
- }, undefined, import("tailwind-variants").TVReturnType<{
45
- variant: {
46
- primary: string;
47
- secondary: string;
48
- };
49
- }, undefined, "button-number-input flex cursor-pointer items-center pr-[.5em] pl-[.5em] transition-colors disabled:cursor-not-allowed disabled:opacity-50", unknown, unknown, undefined>>;
50
- export declare const numberInputInputVariants: import("tailwind-variants").TVReturnType<{
51
- variant: {
52
- primary: string;
53
- secondary: string;
54
- };
55
- size: {
56
- default: string;
57
- sm: string;
58
- lg: string;
59
- };
60
- }, undefined, "number-input w-full [appearance:textfield] border-0 bg-transparent text-center font-[inherit] font-semibold text-transparent outline-none [-moz-appearance:_textfield] focus-visible:ring-0 [&::-webkit-inner-spin-button]:m-0 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none", {
61
- variant: {
62
- primary: string;
63
- secondary: string;
64
- };
65
- size: {
66
- default: string;
67
- sm: string;
68
- lg: string;
69
- };
70
- }, undefined, import("tailwind-variants").TVReturnType<{
71
- variant: {
72
- primary: string;
73
- secondary: string;
74
- };
75
- size: {
76
- default: string;
77
- sm: string;
78
- lg: string;
79
- };
80
- }, undefined, "number-input w-full [appearance:textfield] border-0 bg-transparent text-center font-[inherit] font-semibold text-transparent outline-none [-moz-appearance:_textfield] focus-visible:ring-0 [&::-webkit-inner-spin-button]:m-0 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none", unknown, unknown, undefined>>;
81
- export type NumberInputVariant = VariantProps<typeof numberInputVariants>['variant'];
82
- export type NumberInputSize = VariantProps<typeof numberInputVariants>['size'];
83
- export type NumberInputProps = WithElementRef<WithoutChildrenOrChild<HTMLAttributes<HTMLDivElement>>> & {
84
- variant?: NumberInputVariant;
85
- size?: NumberInputSize;
86
- min?: number;
87
- value?: number;
88
- max?: number;
89
- defaultValue?: number;
90
- class?: string;
91
- step?: number;
92
- inputRef?: HTMLInputElement | null;
93
- };
94
- import type { WithoutChildrenOrChild } from 'bits-ui';
95
- import type { HTMLAttributes } from 'svelte/elements';
96
- declare const NumberInput: import("svelte").Component<NumberInputProps, {}, "ref" | "value" | "inputRef">;
97
- type NumberInput = ReturnType<typeof NumberInput>;
1
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
+ $$bindings?: Bindings;
4
+ } & Exports;
5
+ (internal: unknown, props: {
6
+ $$events?: Events;
7
+ $$slots?: Slots;
8
+ }): Exports & {
9
+ $set?: any;
10
+ $on?: any;
11
+ };
12
+ z_$$bindings?: Bindings;
13
+ }
14
+ declare const NumberInput: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
15
+ [evt: string]: CustomEvent<any>;
16
+ }, {}, {}, string>;
17
+ type NumberInput = InstanceType<typeof NumberInput>;
98
18
  export default NumberInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@foxui/core",
3
3
  "private": false,
4
- "version": "0.4.0",
4
+ "version": "0.4.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"