@still-forest/canopy 0.48.3 → 0.49.0

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/index.d.ts CHANGED
@@ -154,7 +154,7 @@ declare interface ButtonSelectInputProps extends Omit<ButtonGroupProps, "childre
154
154
  error?: string;
155
155
  note?: string;
156
156
  options: Option_2[];
157
- secondaryOptions?: Option_2[];
157
+ secondaryOptions?: SelectPickerOption[];
158
158
  value: string | undefined;
159
159
  onChange: (value: string) => void;
160
160
  buttonClassName?: string;
@@ -660,8 +660,9 @@ export declare interface NumberInputProps extends Omit<TextInputProps, "type"> {
660
660
  }
661
661
 
662
662
  declare interface Option_2 {
663
- label: string;
663
+ label?: string;
664
664
  value: string;
665
+ icon?: React.ReactElement;
665
666
  }
666
667
 
667
668
  declare interface Option_3 {
package/dist/index.js CHANGED
@@ -9958,6 +9958,7 @@ const oy = ({ label: e, options: t, onSelect: n, selectedValue: r }) => /* @__PU
9958
9958
  {
9959
9959
  "aria-checked": R,
9960
9960
  className: S("flex-grow", d),
9961
+ icon: C.icon,
9961
9962
  label: C.label,
9962
9963
  onClick: () => c(C.value),
9963
9964
  onKeyDown: (F) => j(F, C.value),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@still-forest/canopy",
3
- "version": "0.48.3",
3
+ "version": "0.49.0",
4
4
  "author": "John Szymanowski",
5
5
  "license": "MIT",
6
6
  "description": "React components, built with Tailwind CSS, Shadcn, and VisX",