@kopexa/select 13.0.0 → 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.
@@ -32,9 +32,10 @@ var Select = ({
32
32
  indicator,
33
33
  icon,
34
34
  size,
35
+ variant,
35
36
  ...props
36
37
  }) => {
37
- const styles = select({ size });
38
+ const styles = select({ size, variant });
38
39
  const ctx = useMemo(
39
40
  () => ({
40
41
  indicatorPosition,
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
@@ -9,7 +9,7 @@ import {
9
9
  SelectSeparator,
10
10
  SelectTrigger,
11
11
  SelectValue
12
- } from "./chunk-VZW4B4YM.mjs";
12
+ } from "./chunk-3TQEB2O6.mjs";
13
13
 
14
14
  // src/index.ts
15
15
  var Select2 = Object.assign(Select, {
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
@@ -10,7 +10,7 @@ import {
10
10
  SelectSeparator,
11
11
  SelectTrigger,
12
12
  SelectValue
13
- } from "./chunk-VZW4B4YM.mjs";
13
+ } from "./chunk-3TQEB2O6.mjs";
14
14
  export {
15
15
  Select,
16
16
  SelectClear,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopexa/select",
3
- "version": "13.0.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.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.0",
36
- "@kopexa/shared-utils": "13.0.0",
37
- "@kopexa/icons": "13.0.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",