@rovula/ui 0.1.32 → 0.1.34

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.
@@ -5358,10 +5358,6 @@ input[type=number] {
5358
5358
  border-style: solid;
5359
5359
  }
5360
5360
 
5361
- .border-none {
5362
- border-style: none;
5363
- }
5364
-
5365
5361
  .\!border-action-button-solid-active-hover {
5366
5362
  --tw-border-opacity: 1 !important;
5367
5363
  border-color: color-mix(in srgb, var(--action-button-solid-active-hover-border) calc(100% * var(--tw-border-opacity, 1)), transparent) !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rovula/ui",
3
- "version": "0.1.32",
3
+ "version": "0.1.34",
4
4
  "main": "dist/cjs/bundle.js",
5
5
  "module": "dist/esm/bundle.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,8 +19,8 @@ const PopoverContent = React.forwardRef<
19
19
  align={align}
20
20
  sideOffset={sideOffset}
21
21
  className={cn(
22
- "z-50 min-w-72 rounded-md border bg-bg-bg1 border-none overflow-hidden p-0 text-common-black shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
23
- className
22
+ "z-50 min-w-72 rounded-md border bg-modal-surface border-bg-stroke3 overflow-hidden p-0 text-text-contrast-max shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
23
+ className,
24
24
  )}
25
25
  {...props}
26
26
  />
@@ -55,8 +55,9 @@ export const NonFloatingLabel = {
55
55
  <div className="flex w-full max-w-4xl flex-col gap-8">
56
56
  <div className="flex flex-col gap-3">
57
57
  <h4 className="typography-subtitle4 text-text-g-contrast-medium">
58
- Placeholder only — empty <code className="typography-small2">label</code>{" "}
59
- (no floating label, no label node)
58
+ Placeholder only — empty{" "}
59
+ <code className="typography-small2">label</code> (no floating label,
60
+ no label node)
60
61
  </h4>
61
62
  <p className="typography-small2 text-text-g-contrast-low max-w-2xl">
62
63
  Tab order follows DOM, like native inputs in a row.
@@ -495,8 +496,8 @@ const TrimOnCommitDemo = () => {
495
496
  <div className="flex flex-col gap-6 w-full max-w-md">
496
497
  <p className="text-sm text-text-g-contrast-low">
497
498
  <code>trimOnCommit</code> trims leading and trailing whitespace when the
498
- user blurs the input or presses Enter. Try typing{" "}
499
- <code>"hello "</code> then click outside or press Enter.
499
+ user blurs the input or presses Enter. Try typing <code>"hello "</code>{" "}
500
+ then click outside or press Enter.
500
501
  </p>
501
502
  <TextInput
502
503
  id="trim-commit-demo"
@@ -116,11 +116,7 @@ export const TextInput = forwardRef<HTMLInputElement, InputProps>(
116
116
  const hasRightSectionIcon = !!endIcon || !!renderEndIcon;
117
117
  const feedbackStatus =
118
118
  status ||
119
- (error || !!errorMessage
120
- ? "error"
121
- : warning || !!warningMessage
122
- ? "warning"
123
- : "default");
119
+ (error ? "error" : warning || !!warningMessage ? "warning" : "default");
124
120
  const isError = feedbackStatus === "error";
125
121
  const isWarning = feedbackStatus === "warning";
126
122
  const feedbackMessage =