react-ui-suite 1.1.9 → 1.1.11

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.
@@ -19,15 +19,14 @@
19
19
  justify-content: flex-end;
20
20
  }
21
21
 
22
- .rui-dialog__card {
23
- width: min(640px, 92vw);
24
- border-radius: 1.5rem;
25
- border-width: 1px;
26
- border-color: rgb(226 232 240 / 1);
27
- background-color: rgb(255 255 255 / 0.95);
28
- padding: 1.5rem;
29
- box-shadow: 0 0 0 0px #fff, 0 0 0 calc(1px + 0px) rgb(59 130 246 / 0.5), 0 0 #0000;
30
- }
22
+ .rui-dialog__card {
23
+ width: min(640px, 92vw);
24
+ border-radius: 1.5rem;
25
+ border: 1px solid var(--rui-color-border);
26
+ background-color: rgb(255 255 255 / 0.95);
27
+ padding: 1.5rem;
28
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
29
+ }
31
30
 
32
31
  .rui-dialog__card--floating {
33
32
  pointer-events: auto;
@@ -41,10 +40,9 @@
41
40
  cursor: grabbing;
42
41
  }
43
42
 
44
- .rui-dialog__card:is([data-theme="dark"] *) {
45
- border-color: rgb(63 63 70 / 0.6);
46
- background-color: rgb(24 24 27 / 0.95);
47
- }
43
+ .rui-dialog__card:is([data-theme="dark"] *) {
44
+ background-color: rgb(24 24 27 / 0.95);
45
+ }
48
46
 
49
47
  .rui-dialog__header {
50
48
  display: flex;
@@ -53,22 +51,9 @@
53
51
  gap: 0.75rem;
54
52
  }
55
53
 
56
- .rui-dialog__eyebrow {
57
- margin: 0px;
58
- font-size: 0.75rem;
59
- line-height: 1rem;
60
- text-transform: uppercase;
61
- letter-spacing: 0.3em;
62
- color: rgb(100 116 139 / 1);
63
- }
64
-
65
- .rui-dialog__eyebrow:is([data-theme="dark"] *) {
66
- color: rgb(161 161 170 / 1);
67
- }
68
-
69
- .rui-dialog__title {
70
- margin: 0px;
71
- font-size: 1.25rem;
54
+ .rui-dialog__title {
55
+ margin: 0px;
56
+ font-size: 1.25rem;
72
57
  line-height: 1.75rem;
73
58
  color: rgb(15 23 42 / 1);
74
59
  }
package/dist/index.js CHANGED
@@ -2566,7 +2566,7 @@ var DatePicker = React12.forwardRef(function DatePicker2({
2566
2566
  import * as React13 from "react";
2567
2567
  import { createPortal as createPortal2 } from "react-dom";
2568
2568
  import clsx14 from "clsx";
2569
- import "./Dialog-ZY5E3VZ4.css";
2569
+ import "./Dialog-AAZFX5QB.css";
2570
2570
  import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
2571
2571
  function Dialog({
2572
2572
  open,
@@ -2731,7 +2731,6 @@ function Dialog({
2731
2731
  children: [
2732
2732
  /* @__PURE__ */ jsxs13("div", { className: "rui-dialog__header", children: [
2733
2733
  /* @__PURE__ */ jsxs13("div", { children: [
2734
- /* @__PURE__ */ jsx15("p", { className: "rui-dialog__eyebrow", children: "Dialog" }),
2735
2734
  /* @__PURE__ */ jsx15("h2", { id: titleId, className: "rui-dialog__title", children: title }),
2736
2735
  description ? /* @__PURE__ */ jsx15("p", { id: descriptionId, className: "rui-dialog__description", children: description }) : null
2737
2736
  ] }),
@@ -4670,11 +4669,6 @@ var Textarea = React23.forwardRef(function Textarea2({
4670
4669
  setValue(rest.value);
4671
4670
  }
4672
4671
  }, [rest.value]);
4673
- React23.useLayoutEffect(() => {
4674
- if (textareaRef.current && height === void 0) {
4675
- setHeight(textareaRef.current.offsetHeight);
4676
- }
4677
- }, [height]);
4678
4672
  React23.useLayoutEffect(() => {
4679
4673
  const el = textareaRef.current;
4680
4674
  if (!el) return;