@dust-tt/sparkle 0.2.211 → 0.2.212

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dust-tt/sparkle",
3
- "version": "0.2.211",
3
+ "version": "0.2.212",
4
4
  "scripts": {
5
5
  "build": "rm -rf dist && rollup -c",
6
6
  "build:with-tw-base": "rollup -c --environment INCLUDE_TW_BASE:true",
@@ -5,10 +5,12 @@ import { classNames } from "@sparkle/lib/utils";
5
5
 
6
6
  import { Icon } from "./Icon";
7
7
 
8
+ export type CheckBoxCheckedStatus = "checked" | "unchecked" | "partial";
9
+
8
10
  export interface CheckboxProps {
9
11
  variant?: "selectable" | "checkable";
10
12
  size?: "xs" | "sm";
11
- checked?: "checked" | "unchecked" | "partial";
13
+ checked?: CheckBoxCheckedStatus;
12
14
  disabled?: boolean;
13
15
  onChange: (checked: boolean) => void;
14
16
  className?: string;
@@ -177,7 +177,7 @@ Tree.Item = function ({
177
177
  }}
178
178
  />
179
179
  )}
180
- {type === "leaf" && <div className="s-w-5"></div>}
180
+ {type === "leaf" && <div className="s-w-4"></div>}
181
181
  {checkbox && <Checkbox {...checkbox} size="xs" />}
182
182
  <Icon
183
183
  visual={visual}