@oliasoft-open-source/react-ui-library 4.4.5 → 4.4.6
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/README.md +14 -13
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/storybook/assets/{Color-6VNJS4EI-JPO8g4-d.js → Color-6VNJS4EI-_dRDhCm9.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-NNNQARDV-dj1Jrcw9.js → DocsRenderer-NNNQARDV-28fMwnmq.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-4HIR6TLV-6wggtBpW.js → WithTooltip-4HIR6TLV-R8L6EEId.js} +1 -1
- package/dist/storybook/assets/{accordion.stories-opLIo5UL.js → accordion.stories-HJ9BJwQ7.js} +1 -1
- package/dist/storybook/assets/{actions-Z9jDWreP.js → actions-SGexXf58.js} +1 -1
- package/dist/storybook/assets/{actions.stories-Qrio9EMy.js → actions.stories-dDCC23QK.js} +1 -1
- package/dist/storybook/assets/{afe.stories-bE4zK-h_.js → afe.stories-n9sXDAMv.js} +1 -1
- package/dist/storybook/assets/{badge.stories-C0MXS15j.js → badge.stories-nzXJ1qip.js} +1 -1
- package/dist/storybook/assets/{blowout.stories-i7Ii3760.js → blowout.stories-ro9WCHli.js} +1 -1
- package/dist/storybook/assets/{button-7V8oA22w.js → button-IoNblLER.js} +1 -1
- package/dist/storybook/assets/{button-group-q8QKkLVU.js → button-group-KeeGgC4K.js} +1 -1
- package/dist/storybook/assets/{button-group.stories-tLZpLTfD.js → button-group.stories-DG3i2d7K.js} +1 -1
- package/dist/storybook/assets/{button.stories-f6VcbEgi.js → button.stories-l16OpEcf.js} +1 -1
- package/dist/storybook/assets/{buttons-and-links-g8yuFPh9.js → buttons-and-links-tkxG3kgV.js} +1 -1
- package/dist/storybook/assets/{card.stories-HzHJW6ek.js → card.stories-OtRekExg.js} +1 -1
- package/dist/storybook/assets/{casing-loads.stories-Dbh5Xaro.js → casing-loads.stories-0zrCUsqE.js} +1 -1
- package/dist/storybook/assets/{cell.stories-NxparZz7.js → cell.stories-Ehu0aU_p.js} +1 -1
- package/dist/storybook/assets/{check-box-LZdXXKhv.js → check-box-BX5dfQFk.js} +1 -1
- package/dist/storybook/assets/{check-box.stories-0XCykxnz.js → check-box.stories-FNs72smP.js} +1 -1
- package/dist/storybook/assets/{chunk-HLWAVYOI-ygHnYErV.js → chunk-HLWAVYOI-kw6a-keI.js} +1 -1
- package/dist/storybook/assets/{color-Ztq-ecbJ.js → color-BhuaDXrf.js} +1 -1
- package/dist/storybook/assets/{column.stories-6OLsjlcP.js → column.stories-5pd3N4bE.js} +1 -1
- package/dist/storybook/assets/{dialog-WKHRZcjc.js → dialog-dekS0lUR.js} +1 -1
- package/dist/storybook/assets/{drawer-WuErQ5Z8.js → drawer-TM-jK3WR.js} +1 -1
- package/dist/storybook/assets/{drawer.stories-c19pPEDS.js → drawer.stories-vbAx1cVn.js} +1 -1
- package/dist/storybook/assets/{empty.stories-lva3DbfI.js → empty.stories-KIByp315.js} +1 -1
- package/dist/storybook/assets/{field-eknsj_Ll.js → field-kOZPBHf6.js} +1 -1
- package/dist/storybook/assets/{field.stories-RmhJ16HT.js → field.stories-aEccauPi.js} +1 -1
- package/dist/storybook/assets/{file-input.stories-6NjWeNyC.js → file-input.stories-stKkZRq3.js} +1 -1
- package/dist/storybook/assets/{flex-3eLDDUyy.js → flex-RYZsoWEN.js} +1 -1
- package/dist/storybook/assets/{flex.stories-_VBDAVzN.js → flex.stories-eE4D3WOx.js} +1 -1
- package/dist/storybook/assets/{footer.stories-jOcNV914.js → footer.stories-Vpukxt9h.js} +1 -1
- package/dist/storybook/assets/{form.stories-z3f6tVdU.js → form.stories-mfqPst-0.js} +1 -1
- package/dist/storybook/assets/{formation.stories-CP9s3YpO.js → formation.stories-lft6kcDi.js} +1 -1
- package/dist/storybook/assets/{formatter-SWP5E3XI-E97rQSEW.js → formatter-SWP5E3XI-HZT22qXC.js} +1 -1
- package/dist/storybook/assets/{heading-Bk0bpNfe.js → heading-cUVItwKq.js} +1 -1
- package/dist/storybook/assets/{heading.stories-DmZLaZJb.js → heading.stories-oT9C0pps.js} +1 -1
- package/dist/storybook/assets/{help-icon--rUDxLUD.js → help-icon-nI9A506M.js} +1 -1
- package/dist/storybook/assets/{help-icon.stories-vifwJgNA.js → help-icon.stories-Qz7MKCnQ.js} +1 -1
- package/dist/storybook/assets/{icon.stories-h0hheUmg.js → icon.stories-W-UgTWyK.js} +1 -1
- package/dist/storybook/assets/{iframe-AUkrEPU5.js → iframe-XBPUzu3d.js} +2 -2
- package/dist/storybook/assets/{index-Nl9_dDx8.js → index-1H_5u6kk.js} +5 -5
- package/dist/storybook/assets/{input-group.stories-WljyIQ0a.js → input-group.stories-EouZEW-v.js} +1 -1
- package/dist/storybook/assets/{input-u1He-wWs.js → input-iDZqV-2m.js} +1 -1
- package/dist/storybook/assets/{input-validation-z8fyf6gi.js → input-validation-0c7gmfXI.js} +1 -1
- package/dist/storybook/assets/{input.stories-rLdDRxtU.js → input.stories-iopguZKB.js} +1 -1
- package/dist/storybook/assets/{inputs-8Tq5qc-i.js → inputs-tIcOEAMN.js} +1 -1
- package/dist/storybook/assets/{label-0_Qf6I8t.js → label-RpB4JmHX.js} +1 -1
- package/dist/storybook/assets/{label.stories-aXdU5_Ql.js → label.stories-HcdQ1bEB.js} +1 -1
- package/dist/storybook/assets/{layout-forms-XNAPuHWq.js → layout-forms-V5OXjIIg.js} +1 -1
- package/dist/storybook/assets/{layout-general-eSYL-k7p.js → layout-general-jHUGh0eW.js} +1 -1
- package/dist/storybook/assets/{list-j3r22cSu.js → list-FJ7byNrg.js} +1 -1
- package/dist/storybook/assets/{list-heading-Vd3hu5Pf.js → list-heading-XbqCJOHh.js} +1 -1
- package/dist/storybook/assets/{list.stories-2yRF27Ri.js → list.stories-TWHKRxEz.js} +1 -1
- package/dist/storybook/assets/{list.stories-data-9RrIjRci.js → list.stories-data-xtoFstOq.js} +1 -1
- package/dist/storybook/assets/{loader.stories-0OwmnNML.js → loader.stories-G8Q_Fm8u.js} +1 -1
- package/dist/storybook/assets/{menu.stories-5G4phywO.js → menu.stories--cHB1GVw.js} +1 -1
- package/dist/storybook/assets/{menu.stories-data-l5rlcD9_.js → menu.stories-data-hEz8P1yK.js} +1 -1
- package/dist/storybook/assets/{message.stories-CDgUaLZP.js → message.stories-BqM_-mrZ.js} +1 -1
- package/dist/storybook/assets/{modal.stories-15sY1c5H.js → modal.stories-K4XxeWTp.js} +1 -1
- package/dist/storybook/assets/{number-input-SvjJIGsW.js → number-input-d7hXQldd.js} +1 -1
- package/dist/storybook/assets/{number-input.stories-BURENIFo.js → number-input.stories-SOsG2FLJ.js} +1 -1
- package/dist/storybook/assets/{option-dropdown.stories-Q2zd2AcS.js → option-dropdown.stories-1Y5JDaBF.js} +1 -1
- package/dist/storybook/assets/{padding-and-spacing-HDjepnU0.js → padding-and-spacing-Ym21tALq.js} +1 -1
- package/dist/storybook/assets/{page.stories-pa-9WU0e.js → page.stories-B5gzoAi8.js} +1 -1
- package/dist/storybook/assets/{pagination-5n5spTRo.js → pagination-Eaj_UOBW.js} +1 -1
- package/dist/storybook/assets/{pagination.stories-g4a-aSxq.js → pagination.stories-sl2a8BMq.js} +1 -1
- package/dist/storybook/assets/{pop-confirm.stories-GrZU-cOl.js → pop-confirm.stories-SWGIXExE.js} +1 -1
- package/dist/storybook/assets/{popover-Y3FpGdUS.js → popover-uAo1e4-D.js} +1 -1
- package/dist/storybook/assets/{popover.stories-bWBLR9fB.js → popover.stories-FoVQ4bxr.js} +1 -1
- package/dist/storybook/assets/{preview-q5u9dOq2.js → preview-TZkA-fgu.js} +2 -2
- package/dist/storybook/assets/{preview-eU7qcOB_.js → preview-tswp4ETo.js} +1 -1
- package/dist/storybook/assets/{projects.stories-uVJwpgmP.js → projects.stories-UU4irLQZ.js} +1 -1
- package/dist/storybook/assets/{radio-button-jHcwHUA4.js → radio-button-QcS9mLYi.js} +1 -1
- package/dist/storybook/assets/{radio-button.stories-LkCJsp5P.js → radio-button.stories-KCS981-F.js} +1 -1
- package/dist/storybook/assets/{reservoirs.stories-PYG7B9HM.js → reservoirs.stories-iKvudcEf.js} +1 -1
- package/dist/storybook/assets/{rich-text-input.stories-7UzvJ-A1.js → rich-text-input.stories-D55Op5Gf.js} +1 -1
- package/dist/storybook/assets/{row.stories-e_8SxhxO.js → row.stories-zktI2Hsm.js} +1 -1
- package/dist/storybook/assets/{select-JjEPivho.js → select-Z1HqJ5aU.js} +1 -1
- package/dist/storybook/assets/{select.stories-YmcYKg5S.js → select.stories-oUxeDUts.js} +64 -26
- package/dist/storybook/assets/{side-bar-Fjr2t9MT.js → side-bar-GJ2tcZYY.js} +1 -1
- package/dist/storybook/assets/{side-bar.stories-0_pud_bN.js → side-bar.stories-1JBVkV0B.js} +1 -1
- package/dist/storybook/assets/{site.stories-PT8pXukS.js → site.stories-4pPVEtn7.js} +1 -1
- package/dist/storybook/assets/{slider-nl2rJ9LF.js → slider-_5NQKbM-.js} +1 -1
- package/dist/storybook/assets/{slider.stories--aZa8kf-.js → slider.stories-QyyBB_rz.js} +1 -1
- package/dist/storybook/assets/{spacer.stories-bgTBb3VB.js → spacer.stories-ohvvF76C.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-NMPM6SWI--vgbFCQa.js → syntaxhighlighter-NMPM6SWI-Gu4QOY67.js} +1 -1
- package/dist/storybook/assets/{table-xPyJ9i6r.js → table-lwIme7xR.js} +1 -1
- package/dist/storybook/assets/{table.stories-ARisa1dE.js → table.stories-41MtiDAf.js} +1 -1
- package/dist/storybook/assets/{table.stories-data-9XfBJddg.js → table.stories-data-llyPErVC.js} +1 -1
- package/dist/storybook/assets/{textarea-u-nirfI6.js → textarea-DP6wtaV-.js} +1 -1
- package/dist/storybook/assets/{textarea.stories-Hl-oeUWU.js → textarea.stories-Sjp4FV3U.js} +1 -1
- package/dist/storybook/assets/{title.stories-8BXKoy7Q.js → title.stories-3QdFCijW.js} +1 -1
- package/dist/storybook/assets/{toaster.stories--z_U2gRN.js → toaster.stories-Q2ZKHFA-.js} +1 -1
- package/dist/storybook/assets/{toggle-BPI2y-lU.js → toggle-wk0GbVB8.js} +1 -1
- package/dist/storybook/assets/{toggle.stories-HiGs6slZ.js → toggle.stories-26FM6XKo.js} +1 -1
- package/dist/storybook/assets/{tooltip-HEHiU__l.js → tooltip-ZHdi6rl-.js} +1 -1
- package/dist/storybook/assets/{tooltip.stories-tiOgoWHH.js → tooltip.stories-gTfOeEzv.js} +1 -1
- package/dist/storybook/assets/{tooltip.test-case.stories-3T_tzhJs.js → tooltip.test-case.stories-rhi1E3MS.js} +1 -1
- package/dist/storybook/assets/{top-bar-9iOkm7Gq.js → top-bar-0fDAFWyC.js} +1 -1
- package/dist/storybook/assets/{top-bar.stories-5jcHi3Q_.js → top-bar.stories-YKtteM_h.js} +1 -1
- package/dist/storybook/assets/{top-bar.testcase.stories-7acJvLc_.js → top-bar.testcase.stories-Z-6C5D2R.js} +1 -1
- package/dist/storybook/assets/{tree.stories-_5t-Rrls.js → tree.stories-Fsb5fGEv.js} +1 -1
- package/dist/storybook/assets/{unit-input.stories-u823izRm.js → unit-input.stories-ZdrR9JWT.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/README.md
CHANGED
|
@@ -2416,19 +2416,20 @@ The `PopConfirm` component creates a popover with confirmation buttons, typicall
|
|
|
2416
2416
|
|
|
2417
2417
|
### Props
|
|
2418
2418
|
|
|
2419
|
-
| Prop | Description
|
|
2420
|
-
|
|
2421
|
-
| `children` | The content that triggers the popover when clicked.
|
|
2422
|
-
| `placement` | The placement of the popover relative to the trigger element.
|
|
2423
|
-
| `closeOnOutsideClick`| If `true`, the popover closes when clicked outside of it.
|
|
2424
|
-
| `fullWidth` | If `true`, the popover will take the full width of its container.
|
|
2425
|
-
| `title` | The title displayed in the popover.
|
|
2426
|
-
| `cancelText` | The text for the cancel button.
|
|
2427
|
-
| `onClickCancel` | The function called when the cancel button is clicked.
|
|
2428
|
-
| `okText` | The text for the OK button.
|
|
2429
|
-
| `onClickOk` | The function called when the OK button is clicked.
|
|
2430
|
-
| `
|
|
2431
|
-
| `
|
|
2419
|
+
| Prop | Description | Default Value |
|
|
2420
|
+
|----------------------|-------------------------------------------------------------------|--------------------|
|
|
2421
|
+
| `children` | The content that triggers the popover when clicked. | - |
|
|
2422
|
+
| `placement` | The placement of the popover relative to the trigger element. | `'top-center'` |
|
|
2423
|
+
| `closeOnOutsideClick`| If `true`, the popover closes when clicked outside of it. | `true` |
|
|
2424
|
+
| `fullWidth` | If `true`, the popover will take the full width of its container. | `false` |
|
|
2425
|
+
| `title` | The title displayed in the popover. | `''` |
|
|
2426
|
+
| `cancelText` | The text for the cancel button. | `'Cancel'` |
|
|
2427
|
+
| `onClickCancel` | The function called when the cancel button is clicked. | Closes the popover |
|
|
2428
|
+
| `okText` | The text for the OK button. | `'Ok'` |
|
|
2429
|
+
| `onClickOk` | The function called when the OK button is clicked. | `() => {}` |
|
|
2430
|
+
| `disableConfirmButton`| If `true`, disable confirm button. | `false` |
|
|
2431
|
+
| `overflowContainer` | If `true`, the popover will overflow its container if necessary. | `false` |
|
|
2432
|
+
| `testId` | Optional test id for testing purposes. | - |
|
|
2432
2433
|
|
|
2433
2434
|
### Usage Example
|
|
2434
2435
|
|
package/dist/index.d.ts
CHANGED
|
@@ -979,6 +979,7 @@ export declare interface IPopConfirmProps {
|
|
|
979
979
|
title?: string;
|
|
980
980
|
cancelText?: string;
|
|
981
981
|
onClickCancel?: (close?: TEmpty) => void;
|
|
982
|
+
disableConfirmButton?: boolean;
|
|
982
983
|
okText?: string;
|
|
983
984
|
onClickOk?: (close?: TEmpty) => void;
|
|
984
985
|
overflowContainer?: boolean;
|
|
@@ -1577,7 +1578,7 @@ export declare const Page: ({ children, left, padding: paddingProp, scroll, top,
|
|
|
1577
1578
|
|
|
1578
1579
|
export declare const Pagination: ({ pagination }: IPaginationProps) => JSX_2.Element;
|
|
1579
1580
|
|
|
1580
|
-
export declare const PopConfirm: ({ children, placement, closeOnOutsideClick, fullWidth, title, cancelText, onClickCancel, okText, onClickOk, overflowContainer, testId, }: IPopConfirmProps) => JSX_2.Element;
|
|
1581
|
+
export declare const PopConfirm: ({ children, placement, closeOnOutsideClick, fullWidth, title, cancelText, onClickCancel, okText, onClickOk, disableConfirmButton, overflowContainer, testId, }: IPopConfirmProps) => JSX_2.Element;
|
|
1581
1582
|
|
|
1582
1583
|
export declare const Popover: ({ children, content, placement, closeOnOutsideClick, fullWidth, showCloseButton, testId, disabled, overflowContainer, }: IPopoverProps) => JSX_2.Element;
|
|
1583
1584
|
|
package/dist/index.js
CHANGED
|
@@ -58212,6 +58212,7 @@ const Content = ({
|
|
|
58212
58212
|
title: title2,
|
|
58213
58213
|
okText,
|
|
58214
58214
|
onClickOk,
|
|
58215
|
+
disableConfirmButton,
|
|
58215
58216
|
cancelText,
|
|
58216
58217
|
onClickCancel,
|
|
58217
58218
|
close: close2,
|
|
@@ -58226,6 +58227,7 @@ const Content = ({
|
|
|
58226
58227
|
colored: true,
|
|
58227
58228
|
label: okText,
|
|
58228
58229
|
onClick: () => onClickOk(close2),
|
|
58230
|
+
disabled: disableConfirmButton,
|
|
58229
58231
|
testId: `${testId}-ok-button`
|
|
58230
58232
|
}
|
|
58231
58233
|
),
|
|
@@ -58251,6 +58253,7 @@ const PopConfirm = ({
|
|
|
58251
58253
|
okText = "Ok",
|
|
58252
58254
|
onClickOk = () => {
|
|
58253
58255
|
},
|
|
58256
|
+
disableConfirmButton = false,
|
|
58254
58257
|
overflowContainer = false,
|
|
58255
58258
|
testId = void 0
|
|
58256
58259
|
}) => {
|
|
@@ -58260,6 +58263,7 @@ const PopConfirm = ({
|
|
|
58260
58263
|
title: title2,
|
|
58261
58264
|
okText,
|
|
58262
58265
|
onClickOk,
|
|
58266
|
+
disableConfirmButton,
|
|
58263
58267
|
cancelText,
|
|
58264
58268
|
onClickCancel,
|
|
58265
58269
|
testId
|