@lax-wp/design-system 0.3.85 → 0.3.86

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.
@@ -0,0 +1,6 @@
1
+ import React, { type ReactNode } from 'react';
2
+ export interface ButtonGroupProps {
3
+ children: ReactNode;
4
+ variant: 'group' | 'ungroup';
5
+ }
6
+ export declare const ButtonGroup: React.FC<ButtonGroupProps>;
package/dist/index.d.ts CHANGED
@@ -129,6 +129,8 @@ export { default as Radio } from "./components/button/Radio";
129
129
  export type { RadioProps, } from "./components/button/Radio";
130
130
  export { ButtonThreeDots } from "./components/button/ButtonThreeDots";
131
131
  export type { TButtonThreeDotsProps, } from "./components/button/ButtonThreeDots";
132
+ export { ButtonGroup } from "./components/button/ButtonGroup";
133
+ export type { ButtonGroupProps, } from "./components/button/ButtonGroup";
132
134
  export { FloatingBar } from "./components/floating-bar/FloatingBar";
133
135
  export type { FloatingBarProps, FloatingBarActionConfig, FloatingBarDeleteConfig, FloatingBarSize, FloatingBarPosition, FloatingBarTheme, } from "./components/floating-bar/FloatingBar";
134
136
  export { SearchBar } from "./components/forms/search-bar/SearchBar";
package/dist/index.es.js CHANGED
@@ -41523,7 +41523,13 @@ const Xie = qw, Zie = ({ className: e, isChecked: t, onSelect: n }) => /* @__PUR
41523
41523
  size: 18,
41524
41524
  className: `text-neutral-500 dark:text-black-200 hover:text-neutral-700 dark:hover:text-neutral-400 ${t ? "opacity-50" : ""} ${e || ""}`
41525
41525
  }
41526
- ) }), zne = kt(
41526
+ ) }), qie = ({ children: e, variant: t }) => /* @__PURE__ */ p.jsx(
41527
+ "div",
41528
+ {
41529
+ className: `inline-flex ${t === "group" ? "border border-neutral-300 divide-x rounded-lg" : "gap-2"}`,
41530
+ children: e
41531
+ }
41532
+ ), zne = kt(
41527
41533
  ({
41528
41534
  show: e = !1,
41529
41535
  onClose: t,
@@ -50593,7 +50599,7 @@ const vE = ({
50593
50599
  ) : /* @__PURE__ */ p.jsx("div", { className: "flex gap-2 items-center", children: w(b, "no-tooltip") }) });
50594
50600
  };
50595
50601
  vE.displayName = "DynamicItemsCell";
50596
- const Kie = xa(vE), xie = (e, t, n) => {
50602
+ const Qie = xa(vE), xie = (e, t, n) => {
50597
50603
  if (e == null || e === "")
50598
50604
  return "";
50599
50605
  const r = typeof e == "string" ? parseFloat(e) : e;
@@ -50672,6 +50678,7 @@ export {
50672
50678
  die as BreadCrumb,
50673
50679
  gE as BreadCrumbItem,
50674
50680
  di as Button,
50681
+ qie as ButtonGroup,
50675
50682
  Jie as ButtonThreeDots,
50676
50683
  jW as COUNTRY_CODES,
50677
50684
  $O as CURRENCIES,
@@ -50701,7 +50708,7 @@ export {
50701
50708
  iU as DynamicDataInput,
50702
50709
  Sj as DynamicDataInputField,
50703
50710
  rU as DynamicDataModal,
50704
- Kie as DynamicItemsCell,
50711
+ Qie as DynamicItemsCell,
50705
50712
  o5 as EditIcon,
50706
50713
  Uie as ErrorModal,
50707
50714
  jK as FileUpload,