@terminal-blueprint/react 0.1.0 → 0.1.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/dist/index.cjs CHANGED
@@ -650,6 +650,7 @@ function ModalRoot({
650
650
  closeOnBackdrop = true,
651
651
  hideCloseButton = false,
652
652
  portalTarget,
653
+ variant,
653
654
  children,
654
655
  className,
655
656
  ref
@@ -735,7 +736,7 @@ function ModalRoot({
735
736
  "aria-modal": "true",
736
737
  "aria-labelledby": titleId,
737
738
  "aria-describedby": descId,
738
- className: cn("tb-modal", className),
739
+ className: cn("tb-modal", variant && `tb-modal--${variant}`, className),
739
740
  tabIndex: -1,
740
741
  onKeyDown: handleKeyDown,
741
742
  children: [
@@ -1737,7 +1738,6 @@ function ToolbarSelect({
1737
1738
  "div",
1738
1739
  {
1739
1740
  className: cn("tb-toolbar__option", opt.value === value && "tb-toolbar__option--active"),
1740
- style: { fontFamily: opt.value },
1741
1741
  onClick: () => select(opt),
1742
1742
  children: [
1743
1743
  opt.label,