@kolking/react-ui 1.0.0 → 1.1.0
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/{Input-Lz3ft8Tp.js → Input-DE1QkW7S.js} +1 -1
- package/dist/components/Button/Button.js +5 -5
- package/dist/components/Dialog/Dialog.js +1 -1
- package/dist/components/Dialog/DialogFocusTrap.js +9 -757
- package/dist/components/Fields/Checkbox.js +7 -7
- package/dist/components/Fields/Field.js +10 -10
- package/dist/components/Fields/Input.js +2 -2
- package/dist/components/Fields/Quantity.js +18 -18
- package/dist/components/Fields/Radio.js +5 -5
- package/dist/components/Fields/Select.js +6 -6
- package/dist/components/Fields/Textarea.js +18 -177
- package/dist/components/Fields/index.js +1 -1
- package/dist/components/Flex/Flex.js +7 -7
- package/dist/components/Heading/Heading.js +1 -1
- package/dist/components/Icon/Icon.js +1 -1
- package/dist/components/Menu/Menu.js +41 -40
- package/dist/components/Menu/MenuItem.js +10 -10
- package/dist/components/Notice/Notice.js +1 -1
- package/dist/components/Progress/ProgressBar.js +5 -5
- package/dist/components/Progress/ProgressCircular.js +1 -1
- package/dist/components/Segmented/Segmented.js +10 -10
- package/dist/components/Spinner/Spinner.js +4 -4
- package/dist/components/Tooltip/Tooltip.js +37 -37
- package/dist/index.js +1 -1
- package/dist/styles/style.css +1 -1
- package/package.json +1 -1
- package/dist/_commonjsHelpers-B52_cu2H.js +0 -26
- package/dist/floating-ui.react-KLg1MUz0.js +0 -22334
- package/dist/index-DyIdU--j.js +0 -45
- package/dist/index.esm-Dkuk1b-q.js +0 -211
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as f, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import u from "classnames";
|
|
3
3
|
import _ from "react";
|
|
4
4
|
import { cssProps as m } from "./utils/helpers.js";
|
|
5
5
|
import { s as t, V as h } from "./ValidationTooltip-BgSwl0hJ.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as u, jsx as v, Fragment as B } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import b from "classnames";
|
|
3
3
|
import { fixedForwardRef as w, wrapNode as d, cssProps as x } from "../../utils/helpers.js";
|
|
4
4
|
import { Spinner as N } from "../Spinner/Spinner.js";
|
|
5
5
|
const h = "Button_button_WuG2z", y = {
|
|
@@ -29,8 +29,8 @@ function A({
|
|
|
29
29
|
icon: n,
|
|
30
30
|
iconPosition: i = "start",
|
|
31
31
|
children: o,
|
|
32
|
-
className:
|
|
33
|
-
style:
|
|
32
|
+
className: g,
|
|
33
|
+
style: c,
|
|
34
34
|
...s
|
|
35
35
|
}, f) {
|
|
36
36
|
return /* @__PURE__ */ u(
|
|
@@ -43,8 +43,8 @@ function A({
|
|
|
43
43
|
"data-scheme": a,
|
|
44
44
|
"aria-disabled": s.disabled,
|
|
45
45
|
"aria-live": t ? "polite" : void 0,
|
|
46
|
-
className: b(y.button, y[`${r}-${a}`],
|
|
47
|
-
style: { ...
|
|
46
|
+
className: b(y.button, y[`${r}-${a}`], g),
|
|
47
|
+
style: { ...c, ...x({ size: p, minWidth: m, maxWidth: l }) },
|
|
48
48
|
children: [
|
|
49
49
|
o ? d(o, "span") : /* @__PURE__ */ u(B, { children: [
|
|
50
50
|
i === "start" && n,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
|
-
import
|
|
3
|
+
import l from "classnames";
|
|
4
4
|
import { Icon as g } from "../Icon/Icon.js";
|
|
5
5
|
import { Button as m } from "../Button/Button.js";
|
|
6
6
|
import { DialogFocusTrap as f } from "./DialogFocusTrap.js";
|