@dust-tt/sparkle 0.2.173 → 0.2.174-pr

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/cjs/index.js CHANGED
@@ -106282,13 +106282,14 @@ function RadioButton(_a) {
106282
106282
  function Popup(_a) {
106283
106283
  var show = _a.show, chipLabel = _a.chipLabel, description = _a.description, buttonLabel = _a.buttonLabel, buttonClick = _a.buttonClick, className = _a.className, onClose = _a.onClose;
106284
106284
  return (React.createElement(Xe$1, { show: show, enter: "s-transition-opacity s-duration-300", appear: true, enterFrom: "s-opacity-0", enterTo: "s-opacity-100", leave: "s-transition-opacity s-duration-300", leaveFrom: "s-opacity-100", leaveTo: "s-opacity-0", className: classNames("s-z-30 s-flex s-w-64 s-flex-col s-gap-3 s-rounded-xl s-border s-border-pink-100 s-bg-pink-50 s-p-4 s-shadow-xl", className || "") },
106285
- React.createElement("div", { className: "s-flex" },
106286
- React.createElement(Chip, { color: "pink" }, chipLabel),
106287
- onClose && (React.createElement("div", { className: "-s-mr-1 -s-mt-1 s-flex s-grow s-items-start s-justify-end" },
106288
- React.createElement(IconButton, { icon: SvgXMark$1, onClick: onClose, variant: "secondary", size: "sm" })))),
106289
- React.createElement("div", { className: "s-text-sm s-font-normal s-text-element-900" }, description),
106290
- React.createElement("div", { className: "s-self-center" },
106291
- React.createElement(Button, { variant: "primary", size: "sm", label: buttonLabel, onClick: buttonClick }))));
106285
+ React.createElement("div", null,
106286
+ React.createElement("div", { className: "s-flex" },
106287
+ React.createElement(Chip, { color: "pink" }, chipLabel),
106288
+ onClose && (React.createElement("div", { className: "-s-mr-1 -s-mt-1 s-flex s-grow s-items-start s-justify-end" },
106289
+ React.createElement(IconButton, { icon: SvgXMark$1, onClick: onClose, variant: "secondary", size: "sm" })))),
106290
+ React.createElement("div", { className: "s-text-sm s-font-normal s-text-element-900" }, description),
106291
+ React.createElement("div", { className: "s-self-center" },
106292
+ React.createElement(Button, { variant: "primary", size: "sm", label: buttonLabel, onClick: buttonClick })))));
106292
106293
  }
106293
106294
 
106294
106295
  function TemplateItem(_a) {