@lax-wp/design-system 0.3.83 → 0.3.84

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,8 @@
1
+ import React from 'react';
2
+ export interface IRadioProps {
3
+ className?: string;
4
+ isChecked?: boolean;
5
+ onSelect?: (e: React.MouseEvent<HTMLInputElement>) => void;
6
+ }
7
+ declare const Radio: React.FC<IRadioProps>;
8
+ export default Radio;
package/dist/index.d.ts CHANGED
@@ -125,6 +125,8 @@ export { OptionButton } from "./components/buttons/option-button/OptionButton";
125
125
  export type { OptionButtonProps, } from "./components/buttons/option-button/OptionButton";
126
126
  export { default as IconButton } from "./components/button/IconButton";
127
127
  export type { IconButtonProps, } from "./components/button/IconButton";
128
+ export { default as Radio } from "./components/button/Radio";
129
+ export type { IRadioProps, } from "./components/button/Radio";
128
130
  export { FloatingBar } from "./components/floating-bar/FloatingBar";
129
131
  export type { FloatingBarProps, FloatingBarActionConfig, FloatingBarDeleteConfig, FloatingBarSize, FloatingBarPosition, FloatingBarTheme, } from "./components/floating-bar/FloatingBar";
130
132
  export { SearchBar } from "./components/forms/search-bar/SearchBar";
package/dist/index.es.js CHANGED
@@ -41504,7 +41504,16 @@ const qw = kt(
41504
41504
  }
41505
41505
  );
41506
41506
  qw.displayName = "DiffViewer";
41507
- const Yie = qw, Mne = kt(
41507
+ const Yie = qw, Xie = ({ className: e, isChecked: t, onSelect: n }) => /* @__PURE__ */ p.jsx(
41508
+ "input",
41509
+ {
41510
+ type: "radio",
41511
+ className: e,
41512
+ id: "connection",
41513
+ checked: t,
41514
+ onClick: n
41515
+ }
41516
+ ), Mne = kt(
41508
41517
  ({
41509
41518
  show: e = !1,
41510
41519
  onClose: t,
@@ -50574,7 +50583,7 @@ const vE = ({
50574
50583
  ) : /* @__PURE__ */ p.jsx("div", { className: "flex gap-2 items-center", children: w(b, "no-tooltip") }) });
50575
50584
  };
50576
50585
  vE.displayName = "DynamicItemsCell";
50577
- const Zie = xa(vE), bie = (e, t, n) => {
50586
+ const Jie = xa(vE), bie = (e, t, n) => {
50578
50587
  if (e == null || e === "")
50579
50588
  return "";
50580
50589
  const r = typeof e == "string" ? parseFloat(e) : e;
@@ -50681,7 +50690,7 @@ export {
50681
50690
  rU as DynamicDataInput,
50682
50691
  kj as DynamicDataInputField,
50683
50692
  nU as DynamicDataModal,
50684
- Zie as DynamicItemsCell,
50693
+ Jie as DynamicItemsCell,
50685
50694
  o5 as EditIcon,
50686
50695
  Wie as ErrorModal,
50687
50696
  _K as FileUpload,
@@ -50712,6 +50721,7 @@ export {
50712
50721
  ene as PdfViewer,
50713
50722
  iU as PercentageInputField,
50714
50723
  tne as Popper,
50724
+ Xie as Radio,
50715
50725
  Qte as ResizableSidebar,
50716
50726
  YO as SearchBar,
50717
50727
  rN as SelectField,