@oliasoft-open-source/react-ui-library 4.2.3-beta-4 → 4.2.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/404.html +1 -0
- package/dist/assets/{index-813ecf5c.js → index-cc2feb7a.js} +5 -8
- package/dist/index.html +1 -1
- package/dist/index.js +4 -20
- package/dist/index.js.map +1 -1
- package/dist/storybook/assets/{Color-6VNJS4EI-bc563b23.js → Color-6VNJS4EI-808eec2a.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-NNNQARDV-11de29a4.js → DocsRenderer-NNNQARDV-5cca9a05.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-4HIR6TLV-67bf79ea.js → WithTooltip-4HIR6TLV-35c426d7.js} +1 -1
- package/dist/storybook/assets/{accordion.stories-42418c6a.js → accordion.stories-28f367e8.js} +1 -1
- package/dist/storybook/assets/{afe.stories-26757d75.js → afe.stories-cfc21d8f.js} +1 -1
- package/dist/storybook/assets/{buttons-and-links-e0bcbd3a.js → buttons-and-links-cd06c725.js} +1 -1
- package/dist/storybook/assets/{casing-loads.stories-f1e073d7.js → casing-loads.stories-53f0c170.js} +1 -1
- package/dist/storybook/assets/{cell.stories-8afc8edf.js → cell.stories-000c0a3d.js} +1 -1
- package/dist/storybook/assets/{chunk-HLWAVYOI-becefbd7.js → chunk-HLWAVYOI-81c562b1.js} +1 -1
- package/dist/storybook/assets/{color-0ee88b7a.js → color-d3810b8e.js} +1 -1
- package/dist/storybook/assets/{field.stories-ce5bdddc.js → field.stories-34933c78.js} +1 -1
- package/dist/storybook/assets/{file-input.stories-d5228f9e.js → file-input.stories-94743e9d.js} +1 -1
- package/dist/storybook/assets/{footer.stories-2cb1e221.js → footer.stories-a609872b.js} +1 -1
- package/dist/storybook/assets/{form.stories-ee1e9035.js → form.stories-855aa193.js} +1 -1
- package/dist/storybook/assets/{formation.stories-bc6265cd.js → formation.stories-26609d7c.js} +1 -1
- package/dist/storybook/assets/{formatter-SWP5E3XI-977d3e58.js → formatter-SWP5E3XI-6ad445c8.js} +1 -1
- package/dist/storybook/assets/iframe-b1d7d28b.js +1 -0
- package/dist/storybook/assets/{index-1d774621.js → index-08c03c21.js} +4 -4
- package/dist/storybook/assets/input-f82f3a98.js +1 -0
- package/dist/storybook/assets/{input-group.stories-270f3d33.js → input-group.stories-854d8ff5.js} +1 -1
- package/dist/storybook/assets/{input-validation-cdc8ad3b.js → input-validation-88198d89.js} +1 -1
- package/dist/storybook/assets/input.stories-c809bbe4.js +41 -0
- package/dist/storybook/assets/{inputs-0ba53fa9.js → inputs-ce764c65.js} +1 -1
- package/dist/storybook/assets/{layout-forms-eb0af27e.js → layout-forms-9b627848.js} +1 -1
- package/dist/storybook/assets/{layout-general-20700d03.js → layout-general-55ed749e.js} +1 -1
- package/dist/storybook/assets/{modal.stories-9456ab60.js → modal.stories-68ebfaa7.js} +1 -1
- package/dist/storybook/assets/{number-input-22f13747.js → number-input-1f8dcc90.js} +1 -1
- package/dist/storybook/assets/{number-input.stories-f2431322.js → number-input.stories-b0743e1e.js} +1 -1
- package/dist/storybook/assets/{padding-and-spacing-34f59def.js → padding-and-spacing-cb26bd6d.js} +1 -1
- package/dist/storybook/assets/{pagination-bea6935c.js → pagination-556e629a.js} +1 -1
- package/dist/storybook/assets/{pagination.stories-afb40a35.js → pagination.stories-3834d042.js} +1 -1
- package/dist/storybook/assets/{popover.stories-ae9f16bf.js → popover.stories-3582d313.js} +1 -1
- package/dist/storybook/assets/{preview-2ff97e83.js → preview-5bb72268.js} +1 -1
- package/dist/storybook/assets/preview-ba5067fd.js +1 -0
- package/dist/storybook/assets/{reservoirs.stories-bb6b15b6.js → reservoirs.stories-9edb6ff1.js} +1 -1
- package/dist/storybook/assets/{row.stories-627091f9.js → row.stories-d3e5a7b6.js} +1 -1
- package/dist/storybook/assets/{site.stories-e171426a.js → site.stories-464b55be.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-NMPM6SWI-0bc876dd.js → syntaxhighlighter-NMPM6SWI-152b0b7a.js} +1 -1
- package/dist/storybook/assets/{table-477fba9c.js → table-b41d5bdc.js} +1 -1
- package/dist/storybook/assets/{table.stories-1eb7891a.js → table.stories-8ded62ea.js} +1 -1
- package/dist/storybook/assets/textarea-d48efea2.js +1 -0
- package/dist/storybook/assets/textarea.stories-89c8afd7.js +9 -0
- package/dist/storybook/assets/{title.stories-a94f38ac.js → title.stories-1a983eea.js} +1 -1
- package/dist/storybook/assets/{unit-input.stories-e291a2d0.js → unit-input.stories-58bddfdf.js} +1 -1
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/index.json +1 -1
- package/dist/storybook/project.json +1 -1
- package/dist/storybook/stories.json +1 -1
- package/package.json +1 -1
- package/dist/storybook/assets/iframe-dded20f4.js +0 -1
- package/dist/storybook/assets/input-29097e0e.js +0 -1
- package/dist/storybook/assets/input.stories-8245f129.js +0 -50
- package/dist/storybook/assets/preview-5ca5a67b.js +0 -1
- package/dist/storybook/assets/textarea-68e22391.js +0 -1
- package/dist/storybook/assets/textarea.stories-f6986d18.js +0 -20
package/dist/404.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!doctype html><head><title>React UI Library</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1" user-scalable="no"><meta name="apple-mobile-web-app-capable" content="yes"><script type="module" crossorigin src="/react-ui-library/assets/index-cc2feb7a.js"></script><link rel="stylesheet" href="/react-ui-library/assets/index-0d78a198.css"></head><body><div id="content"></div></body>
|
|
@@ -22953,15 +22953,8 @@ reactExports.forwardRef(
|
|
|
22953
22953
|
size: size2 = null
|
|
22954
22954
|
//use width instead
|
|
22955
22955
|
}, ref2) => {
|
|
22956
|
-
const disabledContext = reactExports.useContext(DisabledContext);
|
|
22957
22956
|
const [valueState, setValueState] = reactExports.useState(value);
|
|
22958
|
-
reactExports.
|
|
22959
|
-
setValueState(value);
|
|
22960
|
-
}, [value]);
|
|
22961
|
-
const handleChange = (e2) => {
|
|
22962
|
-
setValueState(e2.target.value);
|
|
22963
|
-
onChange(e2);
|
|
22964
|
-
};
|
|
22957
|
+
const disabledContext = reactExports.useContext(DisabledContext);
|
|
22965
22958
|
const order2 = (() => {
|
|
22966
22959
|
if (groupOrder) {
|
|
22967
22960
|
switch (groupOrder) {
|
|
@@ -22976,6 +22969,10 @@ reactExports.forwardRef(
|
|
|
22976
22969
|
return "";
|
|
22977
22970
|
})();
|
|
22978
22971
|
const width2 = propWidth || (size2 ? "auto" : "100%");
|
|
22972
|
+
const handleChange = (e2) => {
|
|
22973
|
+
setValueState(e2.target.value);
|
|
22974
|
+
onChange(e2);
|
|
22975
|
+
};
|
|
22979
22976
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { width: width2 }, className: order2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22980
22977
|
Tooltip,
|
|
22981
22978
|
{
|
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><head><title>React UI Library</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1" user-scalable="no"><meta name="apple-mobile-web-app-capable" content="yes"><script type="module" crossorigin src="/react-ui-library/assets/index-
|
|
1
|
+
<!doctype html><head><title>React UI Library</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1" user-scalable="no"><meta name="apple-mobile-web-app-capable" content="yes"><script type="module" crossorigin src="/react-ui-library/assets/index-cc2feb7a.js"></script><link rel="stylesheet" href="/react-ui-library/assets/index-0d78a198.css"></head><body><div id="content"></div></body>
|
package/dist/index.js
CHANGED
|
@@ -9163,14 +9163,6 @@ const Input$1 = forwardRef(
|
|
|
9163
9163
|
//use width instead
|
|
9164
9164
|
}, ref2) => {
|
|
9165
9165
|
const disabledContext = useContext(DisabledContext);
|
|
9166
|
-
const [valueState, setValueState] = useState(value);
|
|
9167
|
-
useEffect(() => {
|
|
9168
|
-
setValueState(value);
|
|
9169
|
-
}, [value]);
|
|
9170
|
-
const handleChange = (e2) => {
|
|
9171
|
-
setValueState(e2.target.value);
|
|
9172
|
-
onChange(e2);
|
|
9173
|
-
};
|
|
9174
9166
|
const order2 = (() => {
|
|
9175
9167
|
if (groupOrder) {
|
|
9176
9168
|
switch (groupOrder) {
|
|
@@ -9202,8 +9194,8 @@ const Input$1 = forwardRef(
|
|
|
9202
9194
|
type: type || "text",
|
|
9203
9195
|
size: size2 || 20,
|
|
9204
9196
|
placeholder: placeholder3 ?? "",
|
|
9205
|
-
value:
|
|
9206
|
-
onChange
|
|
9197
|
+
value: value ?? "",
|
|
9198
|
+
onChange,
|
|
9207
9199
|
onKeyPress,
|
|
9208
9200
|
onFocus,
|
|
9209
9201
|
onBlur,
|
|
@@ -56777,14 +56769,6 @@ const TextArea = ({
|
|
|
56777
56769
|
testId
|
|
56778
56770
|
}) => {
|
|
56779
56771
|
const disabledContext = useContext(DisabledContext);
|
|
56780
|
-
const [valueState, setValueState] = useState(value);
|
|
56781
|
-
useEffect(() => {
|
|
56782
|
-
setValueState(value);
|
|
56783
|
-
}, [value]);
|
|
56784
|
-
const handleChange = (e2) => {
|
|
56785
|
-
setValueState(e2.target.value);
|
|
56786
|
-
onChange(e2);
|
|
56787
|
-
};
|
|
56788
56772
|
const textarea2 = /* @__PURE__ */ jsx(
|
|
56789
56773
|
"textarea",
|
|
56790
56774
|
{
|
|
@@ -56795,11 +56779,11 @@ const TextArea = ({
|
|
|
56795
56779
|
monospace2 ? styles$5.monospace : ""
|
|
56796
56780
|
),
|
|
56797
56781
|
name: name2,
|
|
56798
|
-
value
|
|
56782
|
+
value,
|
|
56799
56783
|
placeholder: placeholder3,
|
|
56800
56784
|
cols,
|
|
56801
56785
|
rows,
|
|
56802
|
-
onChange
|
|
56786
|
+
onChange,
|
|
56803
56787
|
disabled: disabled2 || disabledContext,
|
|
56804
56788
|
onKeyPress,
|
|
56805
56789
|
onFocus,
|