@kopexa/select 13.0.1 → 13.0.2
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/{chunk-VZW4B4YM.mjs → chunk-3TQEB2O6.mjs} +2 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +1 -1
- package/dist/select.d.mts +2 -1
- package/dist/select.d.ts +2 -1
- package/dist/select.js +2 -1
- package/dist/select.mjs +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import '@base-ui-components/react/select';
|
|
|
4
4
|
import '@kopexa/theme';
|
|
5
5
|
import 'react';
|
|
6
6
|
|
|
7
|
-
declare const Select: (({ indicatorPosition, indicatorVisibility, indicator, icon, size, ...props }: SelectProps) => react_jsx_runtime.JSX.Element) & {
|
|
7
|
+
declare const Select: (({ indicatorPosition, indicatorVisibility, indicator, icon, size, variant, ...props }: SelectProps) => react_jsx_runtime.JSX.Element) & {
|
|
8
8
|
Value: typeof SelectValue;
|
|
9
9
|
Trigger: typeof SelectTrigger;
|
|
10
10
|
Content: typeof SelectContent;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import '@base-ui-components/react/select';
|
|
|
4
4
|
import '@kopexa/theme';
|
|
5
5
|
import 'react';
|
|
6
6
|
|
|
7
|
-
declare const Select: (({ indicatorPosition, indicatorVisibility, indicator, icon, size, ...props }: SelectProps) => react_jsx_runtime.JSX.Element) & {
|
|
7
|
+
declare const Select: (({ indicatorPosition, indicatorVisibility, indicator, icon, size, variant, ...props }: SelectProps) => react_jsx_runtime.JSX.Element) & {
|
|
8
8
|
Value: typeof SelectValue;
|
|
9
9
|
Trigger: typeof SelectTrigger;
|
|
10
10
|
Content: typeof SelectContent;
|
package/dist/index.js
CHANGED
|
@@ -48,9 +48,10 @@ var Select = ({
|
|
|
48
48
|
indicator,
|
|
49
49
|
icon,
|
|
50
50
|
size,
|
|
51
|
+
variant,
|
|
51
52
|
...props
|
|
52
53
|
}) => {
|
|
53
|
-
const styles = (0, import_theme.select)({ size });
|
|
54
|
+
const styles = (0, import_theme.select)({ size, variant });
|
|
54
55
|
const ctx = (0, import_react.useMemo)(
|
|
55
56
|
() => ({
|
|
56
57
|
indicatorPosition,
|
package/dist/index.mjs
CHANGED
package/dist/select.d.mts
CHANGED
|
@@ -8,8 +8,9 @@ type SelectProps = ComponentProps<typeof Select$1.Root> & SelectVariantProps & {
|
|
|
8
8
|
indicatorVisibility?: boolean;
|
|
9
9
|
indicator?: ReactNode;
|
|
10
10
|
icon?: ReactNode;
|
|
11
|
+
loading?: boolean;
|
|
11
12
|
};
|
|
12
|
-
declare const Select: ({ indicatorPosition, indicatorVisibility, indicator, icon, size, ...props }: SelectProps) => react_jsx_runtime.JSX.Element;
|
|
13
|
+
declare const Select: ({ indicatorPosition, indicatorVisibility, indicator, icon, size, variant, ...props }: SelectProps) => react_jsx_runtime.JSX.Element;
|
|
13
14
|
declare function SelectGroup({ ...props }: React.ComponentProps<typeof Select$1.Group>): react_jsx_runtime.JSX.Element;
|
|
14
15
|
declare function SelectValue({ placeholder, ...props }: React.ComponentProps<typeof Select$1.Value> & {
|
|
15
16
|
placeholder?: string;
|
package/dist/select.d.ts
CHANGED
|
@@ -8,8 +8,9 @@ type SelectProps = ComponentProps<typeof Select$1.Root> & SelectVariantProps & {
|
|
|
8
8
|
indicatorVisibility?: boolean;
|
|
9
9
|
indicator?: ReactNode;
|
|
10
10
|
icon?: ReactNode;
|
|
11
|
+
loading?: boolean;
|
|
11
12
|
};
|
|
12
|
-
declare const Select: ({ indicatorPosition, indicatorVisibility, indicator, icon, size, ...props }: SelectProps) => react_jsx_runtime.JSX.Element;
|
|
13
|
+
declare const Select: ({ indicatorPosition, indicatorVisibility, indicator, icon, size, variant, ...props }: SelectProps) => react_jsx_runtime.JSX.Element;
|
|
13
14
|
declare function SelectGroup({ ...props }: React.ComponentProps<typeof Select$1.Group>): react_jsx_runtime.JSX.Element;
|
|
14
15
|
declare function SelectValue({ placeholder, ...props }: React.ComponentProps<typeof Select$1.Value> & {
|
|
15
16
|
placeholder?: string;
|
package/dist/select.js
CHANGED
|
@@ -55,9 +55,10 @@ var Select = ({
|
|
|
55
55
|
indicator,
|
|
56
56
|
icon,
|
|
57
57
|
size,
|
|
58
|
+
variant,
|
|
58
59
|
...props
|
|
59
60
|
}) => {
|
|
60
|
-
const styles = (0, import_theme.select)({ size });
|
|
61
|
+
const styles = (0, import_theme.select)({ size, variant });
|
|
61
62
|
const ctx = (0, import_react.useMemo)(
|
|
62
63
|
() => ({
|
|
63
64
|
indicatorPosition,
|
package/dist/select.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/select",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.2",
|
|
4
4
|
"description": "a select component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"select"
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"motion": ">=12.23.6",
|
|
29
29
|
"react": ">=19.0.0-rc.0",
|
|
30
30
|
"react-dom": ">=19.0.0-rc.0",
|
|
31
|
-
"@kopexa/theme": "13.0.
|
|
31
|
+
"@kopexa/theme": "13.0.2"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@base-ui-components/react": "1.0.0-beta.3",
|
|
35
|
-
"@kopexa/react-utils": "13.0.
|
|
36
|
-
"@kopexa/shared-utils": "13.0.
|
|
37
|
-
"@kopexa/icons": "13.0.
|
|
35
|
+
"@kopexa/react-utils": "13.0.2",
|
|
36
|
+
"@kopexa/shared-utils": "13.0.2",
|
|
37
|
+
"@kopexa/icons": "13.0.2"
|
|
38
38
|
},
|
|
39
39
|
"clean-package": "../../../clean-package.config.json",
|
|
40
40
|
"module": "dist/index.mjs",
|