mac-human-design 0.1.8 → 0.1.9

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/changelog.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  This file tracks changes between published npm versions of `mac-human-design`.
4
4
 
5
+ ## 0.1.9
6
+
7
+ ### Fixed
8
+
9
+ - Removed an unused internal Motion helper parameter so strict TypeScript
10
+ consumers do not need to patch the published source.
11
+
12
+ ### Changed
13
+
14
+ - Bumped the package to `0.1.9`.
15
+
5
16
  ## 0.1.8
6
17
 
7
18
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mac-human-design",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Reusable macOS-oriented UI primitives and SF Symbols bridge for Tauri apps.",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -111,7 +111,7 @@ function isDisabled(props: Record<string, unknown>) {
111
111
  return Boolean(props.disabled || props["data-disabled"] || props["aria-disabled"]);
112
112
  }
113
113
 
114
- function interactiveControlDefaults(macClassName: string, props: Record<string, unknown>): MotionDefaults {
114
+ function interactiveControlDefaults(props: Record<string, unknown>): MotionDefaults {
115
115
  if (isDisabled(props)) {
116
116
  return {};
117
117
  }
@@ -147,7 +147,7 @@ function getMotionDefaults(macClassName: string, props: Record<string, unknown>)
147
147
  "hd-mac-disclosure-trigger",
148
148
  ])
149
149
  ) {
150
- return interactiveControlDefaults(macClassName, props);
150
+ return interactiveControlDefaults(props);
151
151
  }
152
152
 
153
153
  if (macClassName.includes("hd-mac-input")) {