@recursica/mantine-adapter 0.55.0 → 0.55.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/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "url": "git+https://github.com/borderux/recursica.git",
14
14
  "directory": "packages/mantine-adapter"
15
15
  },
16
- "version": "0.55.0",
16
+ "version": "0.55.1",
17
17
  "type": "module",
18
18
  "main": "./dist/mantine-adapter.cjs",
19
19
  "module": "./dist/mantine-adapter.js",
@@ -103,7 +103,7 @@
103
103
  "vitest": "^3.2.4"
104
104
  },
105
105
  "dependencies": {
106
- "@recursica/adapter-common": "^0.28.0"
106
+ "@recursica/adapter-common": "^0.28.1"
107
107
  },
108
108
  "peerDependencies": {
109
109
  "@mantine/core": "^8.0.0",
@@ -27,7 +27,6 @@ const meta: Meta<DropdownStoryProps> = {
27
27
  disabled: false,
28
28
  required: false,
29
29
  readOnly: false,
30
- searchable: false,
31
30
  clearable: false,
32
31
  },
33
32
  argTypes: {
@@ -38,9 +37,6 @@ const meta: Meta<DropdownStoryProps> = {
38
37
  readOnly: {
39
38
  control: "boolean",
40
39
  },
41
- searchable: {
42
- control: "boolean",
43
- },
44
40
  clearable: {
45
41
  control: "boolean",
46
42
  },
@@ -63,12 +59,10 @@ export const Default: Story = {
63
59
  args: {},
64
60
  };
65
61
 
66
- export const SearchableClearable: Story = {
62
+ export const Clearable: Story = {
67
63
  args: {
68
- label: "Search & Clear Options",
69
- searchable: true,
64
+ label: "Clearable Options",
70
65
  clearable: true,
71
- placeholder: "Start typing...",
72
66
  },
73
67
  };
74
68
 
@@ -23,7 +23,7 @@ import { type RecursicaDropdownProps as BaseRecursicaDropdownProps } from "@recu
23
23
  export interface RecursicaDropdownProps
24
24
  extends Omit<
25
25
  MantineSelectProps,
26
- "size" | "variant" | "radius" | "wrapperProps" | "data"
26
+ "size" | "variant" | "radius" | "wrapperProps" | "data" | "searchable"
27
27
  >,
28
28
  Omit<
29
29
  RecursicaFormControlWrapperProps,
@@ -40,6 +40,7 @@ const UNSUPPORTED_PROPS = [
40
40
  "size", // Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
41
41
  "variant", // Colors/variants are token-driven; the library's native palette isn't exposed.
42
42
  "radius", // Recursica does not expose the library's native corner-radius system.
43
+ "searchable", // Not a supported Dropdown feature — that's what makes it an AutoComplete.
43
44
  ] as const satisfies readonly (keyof MantineSelectProps)[];
44
45
 
45
46
  export const Dropdown = forwardRef<HTMLInputElement, DropdownProps>(
@@ -23,7 +23,7 @@ const meta: Meta<typeof FormControlLayout> = {
23
23
  },
24
24
  labelSize: {
25
25
  control: "radio",
26
- options: ["default", "small", "md"],
26
+ options: ["default", "small"],
27
27
  description: "Dictates the physical width of the left column.",
28
28
  },
29
29
  children: {
@@ -20,7 +20,7 @@ const meta: Meta<LabelStoryProps> = {
20
20
  argTypes: {
21
21
  labelSize: {
22
22
  control: "inline-radio",
23
- options: ["default", "small", "md"],
23
+ options: ["default", "small"],
24
24
  description:
25
25
  "Sizing metrics for the Label. Only visually distinguishable once composed inside a `side-by-side` FormControlLayout, which is where the resulting width constraint applies.",
26
26
  },
@@ -66,7 +66,7 @@ const PanelBase = function Panel({
66
66
  overStyled = false,
67
67
  placement = "right",
68
68
  keepMounted = true,
69
- wrapHeaderText = false,
69
+ wrapHeaderText = true,
70
70
  ...rest
71
71
  }: PanelProps) {
72
72
  const sanitizedProps = filterStylingProps(rest, overStyled);