@dust-tt/sparkle 0.2.265-rc-2 → 0.2.265-rc-3

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
@@ -113492,7 +113492,7 @@ var Label$2 = React__namespace.forwardRef((props, forwardedRef) => {
113492
113492
  Label$2.displayName = NAME$3;
113493
113493
  var Root$4 = Label$2;
113494
113494
 
113495
- var labelVariants = cn("s-text-sm s-font-medium s-text-foreground s-leading-none", "peer-disabled:s-cursor-not-allowed peer-disabled:s-opacity-70");
113495
+ var labelVariants = cn("s-text-sm s-text-foreground s-leading-none", "peer-disabled:s-cursor-not-allowed peer-disabled:s-opacity-70");
113496
113496
  var Label$1 = React__namespace.forwardRef(function (_a, ref) {
113497
113497
  var className = _a.className, props = __rest(_a, ["className"]);
113498
113498
  return (React__namespace.createElement(Root$4, __assign({ ref: ref, className: cn(labelVariants, className) }, props)));
@@ -113502,7 +113502,7 @@ Label$1.displayName = Root$4.displayName;
113502
113502
  var inputStyleClasses = cn("s-text-sm s-bg-background s-rounded-xl s-border s-border-border-dark s-flex s-h-9 s-w-full s-px-3 s-py-1.5 ", "file:s-border-0 file:s-bg-transparent file:s-text-sm file:s-font-medium file:s-text-foreground", "placeholder:s-text-muted-foreground", "focus-visible:s-outline-none focus-visible:s-ring-2 focus-visible:s-ring-offset-2 focus-visible:s-ring-ring focus-visible:s-border-primary-400", "disabled:s-cursor-not-allowed disabled:s-opacity-50 disabled:s-text-muted-foreground");
113503
113503
  var Input = React.forwardRef(function (_a, ref) {
113504
113504
  var className = _a.className, error = _a.error, value = _a.value, label = _a.label, _b = _a.showErrorLabel, showErrorLabel = _b === void 0 ? false : _b, props = __rest(_a, ["className", "error", "value", "label", "showErrorLabel"]);
113505
- return (React.createElement("div", { className: "s-flex s-flex-col s-gap-1 s-p-px" },
113505
+ return (React.createElement("div", { className: "s-flex s-flex-col s-gap-1 s-px-1" },
113506
113506
  label && (React.createElement(Label$1, { htmlFor: props.name, className: "s-pb-1 s-text-element-700 dark:s-text-element-700-dark" }, label)),
113507
113507
  React.createElement("input", __assign({ ref: ref, className: cn(inputStyleClasses, className, !error
113508
113508
  ? cn("s-ring-structure-200 focus:s-ring-action-300", "dark:s-ring-structure-300-dark dark:focus:s-ring-action-300-dark")