@oliasoft-open-source/react-ui-library 4.4.8 → 4.4.9-beta-1
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/assets/{index-neKlYvgy.js → index-UlXF8M5L.js} +21 -5
- package/dist/index.d.ts +7 -2
- package/dist/index.html +1 -1
- package/dist/index.js +21 -5
- package/dist/index.js.map +1 -1
- package/dist/storybook/assets/{Color-6VNJS4EI-mlGeGy0N.js → Color-6VNJS4EI-dBRov0iu.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-NNNQARDV-FLE8MQVp.js → DocsRenderer-NNNQARDV-XOipoxsx.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-4HIR6TLV-gwf45DIV.js → WithTooltip-4HIR6TLV-N9BTPjWv.js} +1 -1
- package/dist/storybook/assets/{accordion-6_27SROY.js → accordion-MRdNs3mQ.js} +1 -1
- package/dist/storybook/assets/{accordion.stories-yWtLkrNK.js → accordion.stories-UmGPZpjJ.js} +2 -2
- package/dist/storybook/assets/{actions-Z9jDWreP.js → actions--jdeAagr.js} +1 -1
- package/dist/storybook/assets/actions.stories-T8b1WLu9.js +1 -0
- package/dist/storybook/assets/afe.stories-Vw9r62sk.js +88 -0
- package/dist/storybook/assets/badge.stories-spKtjcPw.js +1 -0
- package/dist/storybook/assets/blowout.stories-U_cS_3Xs.js +40 -0
- package/dist/storybook/assets/{button-group-q8QKkLVU.js → button-group-kcxXYkIJ.js} +1 -1
- package/dist/storybook/assets/{button-group.stories-tLZpLTfD.js → button-group.stories-U6DjmSki.js} +2 -2
- package/dist/storybook/assets/button-qfybxFqE.js +1 -0
- package/dist/storybook/assets/button.stories-6GvGJMKF.js +80 -0
- package/dist/storybook/assets/{buttons-and-links-t1EEC4gc.js → buttons-and-links-e6-ikhN9.js} +2 -2
- package/dist/storybook/assets/card.stories-v_QIHoI3.js +1 -0
- package/dist/storybook/assets/{casing-loads.stories-ee6r2j2Q.js → casing-loads.stories-xqjG7_uN.js} +2 -2
- package/dist/storybook/assets/cell.stories-SsCpOpZw.js +212 -0
- package/dist/storybook/assets/{check-box-LZdXXKhv.js → check-box-7DccPNCs.js} +1 -1
- package/dist/storybook/assets/{check-box.stories-0XCykxnz.js → check-box.stories-QBPARD7M.js} +2 -2
- package/dist/storybook/assets/{chunk-HLWAVYOI-53hWDdvc.js → chunk-HLWAVYOI-HfFAKSRB.js} +1 -1
- package/dist/storybook/assets/color-RZTO_BH4.js +25 -0
- package/dist/storybook/assets/{column.stories-6OLsjlcP.js → column.stories-FWqVDX5B.js} +4 -4
- package/dist/storybook/assets/{dialog-WKHRZcjc.js → dialog-e8amLd6m.js} +1 -1
- package/dist/storybook/assets/{drawer-WuErQ5Z8.js → drawer-LFjap9lP.js} +1 -1
- package/dist/storybook/assets/{drawer.stories-ezk4vO0w.js → drawer.stories-liH4UlvJ.js} +4 -4
- package/dist/storybook/assets/empty.stories-quAOsHNV.js +1 -0
- package/dist/storybook/assets/{field-eknsj_Ll.js → field-9udMeZdr.js} +1 -1
- package/dist/storybook/assets/{field.stories-RmhJ16HT.js → field.stories-H98nslNw.js} +2 -2
- package/dist/storybook/assets/file-input.stories-WyK9TFKC.js +66 -0
- package/dist/storybook/assets/{flex-3eLDDUyy.js → flex-ZVra76N-.js} +1 -1
- package/dist/storybook/assets/{flex.stories-_VBDAVzN.js → flex.stories-JzmT6lSO.js} +2 -2
- package/dist/storybook/assets/footer.stories-wPp58LMn.js +3 -0
- package/dist/storybook/assets/form.stories-RMbO5qjE.js +49 -0
- package/dist/storybook/assets/formation.stories-0fppcLax.js +74 -0
- package/dist/storybook/assets/{formatter-SWP5E3XI-TLomX0jS.js → formatter-SWP5E3XI-s19u3emO.js} +1 -1
- package/dist/storybook/assets/{heading-Bk0bpNfe.js → heading-sY0SLHoQ.js} +1 -1
- package/dist/storybook/assets/{heading.stories-DmZLaZJb.js → heading.stories-hnhUBXVe.js} +2 -2
- package/dist/storybook/assets/{help-icon--rUDxLUD.js → help-icon-yrJgkgdC.js} +1 -1
- package/dist/storybook/assets/help-icon.stories-gjzAU_pF.js +4 -0
- package/dist/storybook/assets/hoist-non-react-statics.cjs-pnyno-Dk.js +8 -0
- package/dist/storybook/assets/{icon-y1a2N5SZ.js → icon-_m67DAr0.js} +3 -3
- package/dist/storybook/assets/icon.stories-vAvCbxZP.js +6 -0
- package/dist/storybook/assets/iframe-uF49rd0M.js +7 -0
- package/dist/storybook/assets/{index-0dxTfrBP.js → index-oLFGkfb-.js} +5 -5
- package/dist/storybook/assets/index.es-LXZC0YVN.js +79 -0
- package/dist/storybook/assets/{input-group.stories-WljyIQ0a.js → input-group.stories-zQ6b9scC.js} +2 -2
- package/dist/storybook/assets/{input-u1He-wWs.js → input-iDZqV-2m.js} +1 -1
- package/dist/storybook/assets/{input-validation-jCRmk_jl.js → input-validation-lIx2JTiW.js} +2 -2
- package/dist/storybook/assets/{input.stories-rLdDRxtU.js → input.stories-iopguZKB.js} +1 -1
- package/dist/storybook/assets/{inputs-ZpY3-Ny4.js → inputs-ubhN8jR5.js} +14 -14
- package/dist/storybook/assets/{label-0_Qf6I8t.js → label-J7MI85wD.js} +1 -1
- package/dist/storybook/assets/label.stories-kmvMrgz2.js +11 -0
- package/dist/storybook/assets/{layout-forms-tcQfdK2L.js → layout-forms-R_iC_SeZ.js} +4 -4
- package/dist/storybook/assets/{layout-general-bz1oHjNF.js → layout-general-2sM6LsZn.js} +2 -2
- package/dist/storybook/assets/list-1fS-ZLaF.js +8 -0
- package/dist/storybook/assets/{list-heading-Vd3hu5Pf.js → list-heading-vbaXVA9N.js} +1 -1
- package/dist/storybook/assets/{list.stories-data-9RrIjRci.js → list.stories-data-tBKSPg9P.js} +1 -1
- package/dist/storybook/assets/list.stories-maVHoPyy.js +478 -0
- package/dist/storybook/assets/{loader.stories-0OwmnNML.js → loader.stories-9Tv8nlOO.js} +2 -2
- package/dist/storybook/assets/{menu.stories-data-l5rlcD9_.js → menu.stories-data-VCYkzuDD.js} +1 -1
- package/dist/storybook/assets/{menu.stories-5G4phywO.js → menu.stories-iE1tUnCd.js} +2 -2
- package/dist/storybook/assets/{message-uMHaTEXV.js → message-p9VAXLNZ.js} +1 -1
- package/dist/storybook/assets/{message.stories-CDgUaLZP.js → message.stories-34ul5gSz.js} +2 -2
- package/dist/storybook/assets/{modal.stories-15sY1c5H.js → modal.stories-RMMVeIMK.js} +2 -2
- 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-477qVsQF.js} +2 -2
- package/dist/storybook/assets/objectWithoutPropertiesLoose-9Q1jwsKS.js +1 -0
- package/dist/storybook/assets/option-dropdown.stories-NRogMOtD.js +21 -0
- package/dist/storybook/assets/{padding-and-spacing-dSuzf2dz.js → padding-and-spacing-_thODzSW.js} +1 -1
- package/dist/storybook/assets/page.stories-qo9KEiWt.js +57 -0
- package/dist/storybook/assets/{pagination-5n5spTRo.js → pagination-qKZAUHlD.js} +1 -1
- package/dist/storybook/assets/{pagination.stories-g4a-aSxq.js → pagination.stories-tRiEpkH6.js} +2 -2
- package/dist/storybook/assets/pop-confirm.stories-aFXfbsuI.js +9 -0
- package/dist/storybook/assets/{popover-Y3FpGdUS.js → popover-GnGIPc9x.js} +1 -1
- package/dist/storybook/assets/popover.stories-zzxDYG13.js +1 -0
- package/dist/storybook/assets/{preview-xbxc--KY.js → preview-FRdqQg8W.js} +3 -3
- package/dist/storybook/assets/{preview-8q_cpMjL.js → preview-eDFlm4aX.js} +2 -2
- package/dist/storybook/assets/projects.stories-mDHzd2Nc.js +47 -0
- package/dist/storybook/assets/{radio-button-jHcwHUA4.js → radio-button-T38JdN-I.js} +1 -1
- package/dist/storybook/assets/{radio-button.stories-LkCJsp5P.js → radio-button.stories-MbtUJQ4_.js} +5 -5
- package/dist/storybook/assets/react-router-dom-2JKSc1g5.js +8 -0
- package/dist/storybook/assets/{reservoirs.stories-CtIlcj-X.js → reservoirs.stories-ttnZYnPz.js} +2 -2
- package/dist/storybook/assets/{rich-text-input.stories-7UzvJ-A1.js → rich-text-input.stories-OiAxLAVQ.js} +3 -3
- package/dist/storybook/assets/{row.stories-uPD-qTX2.js → row.stories-8AoB-Dlf.js} +2 -2
- package/dist/storybook/assets/{select-JjEPivho.js → select-0hek2Baz.js} +1 -1
- package/dist/storybook/assets/{select.stories-qFDyxRFm.js → select.stories-tCGanTNP.js} +2 -2
- package/dist/storybook/assets/{side-bar-Fjr2t9MT.js → side-bar-0iIgujp4.js} +1 -1
- package/dist/storybook/assets/side-bar.stories-v7wWMQcv.js +1 -0
- package/dist/storybook/assets/{site.stories-UH3PK5eu.js → site.stories-2PTp7gw0.js} +2 -2
- package/dist/storybook/assets/{slider-nl2rJ9LF.js → slider-t5EokN-o.js} +2 -2
- package/dist/storybook/assets/{slider.stories--aZa8kf-.js → slider.stories-Knk-d29_.js} +4 -4
- package/dist/storybook/assets/spacer.stories--6Lac6Fz.js +1 -0
- package/dist/storybook/assets/{syntaxhighlighter-NMPM6SWI-1xSal2rv.js → syntaxhighlighter-NMPM6SWI-y1MAbcc6.js} +1 -1
- package/dist/storybook/assets/table-o1Zuxe0v.js +1 -0
- package/dist/storybook/assets/{table.stories-GrJ75DyI.js → table.stories-K2LI80yY.js} +2 -2
- package/dist/storybook/assets/{table.stories-data-9XfBJddg.js → table.stories-data-tHq-3JM9.js} +1 -1
- package/dist/storybook/assets/text-link.stories-sfurduAc.js +14 -0
- package/dist/storybook/assets/{textarea-u-nirfI6.js → textarea-QFVBH_vb.js} +1 -1
- package/dist/storybook/assets/{textarea.stories-Hl-oeUWU.js → textarea.stories-HETiaNLn.js} +1 -1
- package/dist/storybook/assets/{title.stories-RyQ9x-ug.js → title.stories-waT6sG0P.js} +3 -3
- package/dist/storybook/assets/{toaster-eOozfa7U.js → toaster-bqqWcltU.js} +1 -1
- package/dist/storybook/assets/{toaster.stories--z_U2gRN.js → toaster.stories-oExX0THb.js} +2 -2
- package/dist/storybook/assets/{toggle-BPI2y-lU.js → toggle-b0PkHQDl.js} +1 -1
- package/dist/storybook/assets/{toggle.stories-HiGs6slZ.js → toggle.stories-wWcYddEt.js} +2 -2
- 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-8mCQYXFD.js +3 -0
- package/dist/storybook/assets/{top-bar-3dxv0sp9.js → top-bar-odjinr_b.js} +1 -1
- package/dist/storybook/assets/top-bar.stories-Q3tcZHmc.js +1 -0
- package/dist/storybook/assets/top-bar.testcase.stories-85g2VfLi.js +30 -0
- package/dist/storybook/assets/{tree.stories-_5t-Rrls.js → tree.stories-vNmT3unc.js} +3 -3
- package/dist/storybook/assets/unit-input.stories-OL_uzjER.js +273 -0
- 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 +2 -1
- package/dist/404.html +0 -1
- package/dist/storybook/assets/actions.stories-Qrio9EMy.js +0 -1
- package/dist/storybook/assets/afe.stories-u2K3NwaR.js +0 -88
- package/dist/storybook/assets/badge.stories-C0MXS15j.js +0 -1
- package/dist/storybook/assets/blowout.stories-BXWf5R9h.js +0 -40
- package/dist/storybook/assets/button-7V8oA22w.js +0 -1
- package/dist/storybook/assets/button.stories-f6VcbEgi.js +0 -71
- package/dist/storybook/assets/card.stories-HzHJW6ek.js +0 -1
- package/dist/storybook/assets/cell.stories-y081eSUk.js +0 -208
- package/dist/storybook/assets/color-LlgCLGE5.js +0 -25
- package/dist/storybook/assets/empty.stories-lva3DbfI.js +0 -1
- package/dist/storybook/assets/file-input.stories-6NjWeNyC.js +0 -66
- package/dist/storybook/assets/footer.stories-m5VFK6Bo.js +0 -3
- package/dist/storybook/assets/form.stories-z3f6tVdU.js +0 -49
- package/dist/storybook/assets/formation.stories-KUe50fTQ.js +0 -74
- package/dist/storybook/assets/help-icon.stories-vifwJgNA.js +0 -4
- package/dist/storybook/assets/icon.stories-h0hheUmg.js +0 -6
- package/dist/storybook/assets/iframe-ujjJUTtn.js +0 -7
- package/dist/storybook/assets/index.es-JXn3JM7k.js +0 -86
- package/dist/storybook/assets/label.stories-aXdU5_Ql.js +0 -11
- package/dist/storybook/assets/list-8l-RGDgw.js +0 -8
- package/dist/storybook/assets/list.stories-uR6izjvO.js +0 -457
- package/dist/storybook/assets/option-dropdown.stories-Q2zd2AcS.js +0 -21
- package/dist/storybook/assets/page.stories-9XUTUblI.js +0 -57
- package/dist/storybook/assets/pop-confirm.stories-_agvSFJd.js +0 -9
- package/dist/storybook/assets/popover.stories-bWBLR9fB.js +0 -1
- package/dist/storybook/assets/projects.stories-84p22lkF.js +0 -47
- package/dist/storybook/assets/side-bar.stories-0_pud_bN.js +0 -1
- package/dist/storybook/assets/spacer.stories-bgTBb3VB.js +0 -1
- package/dist/storybook/assets/table-lfeSnryj.js +0 -1
- package/dist/storybook/assets/text-link.stories-kjfUeFtk.js +0 -1
- package/dist/storybook/assets/tooltip.test-case.stories-3T_tzhJs.js +0 -3
- package/dist/storybook/assets/top-bar.stories-sMvXnmhR.js +0 -1
- package/dist/storybook/assets/top-bar.testcase.stories-Nb8fdPBS.js +0 -30
- package/dist/storybook/assets/unit-input.stories-u823izRm.js +0 -273
|
@@ -18318,8 +18318,10 @@ const Button$1 = ({
|
|
|
18318
18318
|
warning: warning2,
|
|
18319
18319
|
testId,
|
|
18320
18320
|
tooltip: tooltip2,
|
|
18321
|
-
inverted: inverted2 = false
|
|
18321
|
+
inverted: inverted2 = false,
|
|
18322
18322
|
// *Deprecated*
|
|
18323
|
+
component: Component2 = "button",
|
|
18324
|
+
url
|
|
18323
18325
|
}) => {
|
|
18324
18326
|
const disabledContext = reactExports.useContext(DisabledContext);
|
|
18325
18327
|
const color2 = (() => {
|
|
@@ -18353,7 +18355,7 @@ const Button$1 = ({
|
|
|
18353
18355
|
return "";
|
|
18354
18356
|
})();
|
|
18355
18357
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ButtonTooltipWrapper, { tooltip: tooltip2, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
18356
|
-
|
|
18358
|
+
Component2,
|
|
18357
18359
|
{
|
|
18358
18360
|
type: type2 === ButtonType.SUBMIT ? ButtonType.SUBMIT : ButtonType.BUTTON,
|
|
18359
18361
|
className: cx$2(
|
|
@@ -18377,6 +18379,7 @@ const Button$1 = ({
|
|
|
18377
18379
|
...title2 ? { title: title2 } : {},
|
|
18378
18380
|
style: { width: width2 },
|
|
18379
18381
|
"data-testid": testId,
|
|
18382
|
+
to: url,
|
|
18380
18383
|
children: [
|
|
18381
18384
|
icon2 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: buttonStyles.icon, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: icon2 }) }),
|
|
18382
18385
|
loading && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: buttonStyles.icon, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -26147,10 +26150,12 @@ reactExports.forwardRef(
|
|
|
26147
26150
|
({ items: items2, expanding, invokeEditOnRowClick, provided, draggable }, listRowRefs) => {
|
|
26148
26151
|
const disabledContext = reactExports.useContext(DisabledContext);
|
|
26149
26152
|
const listElement = (index2, provided2, item2, indent, hasOnClick, edit2) => {
|
|
26153
|
+
const Component2 = item2.component || "a";
|
|
26150
26154
|
return /* @__PURE__ */ reactExports.createElement(
|
|
26151
|
-
|
|
26155
|
+
Component2,
|
|
26152
26156
|
{
|
|
26153
26157
|
href: item2.url,
|
|
26158
|
+
to: item2.url,
|
|
26154
26159
|
ref: provided2 == null ? void 0 : provided2.innerRef,
|
|
26155
26160
|
...provided2.draggableProps,
|
|
26156
26161
|
style: getItemStyle(provided2.draggableProps, item2),
|
|
@@ -68323,9 +68328,20 @@ const TextLink = ({
|
|
|
68323
68328
|
href = void 0,
|
|
68324
68329
|
target = void 0,
|
|
68325
68330
|
testId,
|
|
68326
|
-
onClick
|
|
68331
|
+
onClick,
|
|
68332
|
+
component: Component2 = "a"
|
|
68327
68333
|
}) => {
|
|
68328
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
68334
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
68335
|
+
Component2,
|
|
68336
|
+
{
|
|
68337
|
+
href,
|
|
68338
|
+
to: href,
|
|
68339
|
+
target,
|
|
68340
|
+
onClick,
|
|
68341
|
+
"data-testid": testId,
|
|
68342
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { link: true, children })
|
|
68343
|
+
}
|
|
68344
|
+
);
|
|
68329
68345
|
};
|
|
68330
68346
|
const inputInTable = "_inputInTable_66zck_1";
|
|
68331
68347
|
const inputHover = "_inputHover_66zck_13";
|
package/dist/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare enum BreadcrumbLinkType {
|
|
|
41
41
|
CUSTOM = "custom"
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
export declare const Button: ({ active, basic, colored, disabled, groupOrder, icon, label, loading, name, pill, round, small, styles, width, title, type, onClick, error, warning, testId, tooltip, inverted, }: IButtonProps) => JSX_2.Element;
|
|
44
|
+
export declare const Button: ({ active, basic, colored, disabled, groupOrder, icon, label, loading, name, pill, round, small, styles, width, title, type, onClick, error, warning, testId, tooltip, inverted, component: Component, url, }: IButtonProps) => JSX_2.Element;
|
|
45
45
|
|
|
46
46
|
export declare const ButtonGroup: (props: IButtonGroupProps) => JSX_2.Element;
|
|
47
47
|
|
|
@@ -198,6 +198,7 @@ export declare interface IButtonGroupProps {
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
export declare interface IButtonProps {
|
|
201
|
+
href?: string;
|
|
201
202
|
active?: boolean;
|
|
202
203
|
basic?: boolean;
|
|
203
204
|
colored?: boolean | string;
|
|
@@ -220,6 +221,8 @@ export declare interface IButtonProps {
|
|
|
220
221
|
testId?: string;
|
|
221
222
|
tooltip?: ReactNode | string;
|
|
222
223
|
inverted?: boolean;
|
|
224
|
+
component?: React_2.ElementType;
|
|
225
|
+
url?: string;
|
|
223
226
|
}
|
|
224
227
|
|
|
225
228
|
export declare interface ICardProps {
|
|
@@ -658,6 +661,7 @@ declare interface IListItem {
|
|
|
658
661
|
id?: TStringOrNumber;
|
|
659
662
|
type?: string;
|
|
660
663
|
metaCount?: number;
|
|
664
|
+
component?: React.ElementType;
|
|
661
665
|
}
|
|
662
666
|
|
|
663
667
|
export declare interface IListProps {
|
|
@@ -1370,6 +1374,7 @@ export declare interface ITextLinkProps {
|
|
|
1370
1374
|
testId?: string;
|
|
1371
1375
|
onClick?: (e: React_2.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
1372
1376
|
children?: React_2.ReactNode;
|
|
1377
|
+
component?: React_2.ElementType;
|
|
1373
1378
|
}
|
|
1374
1379
|
|
|
1375
1380
|
export declare interface ITextProps {
|
|
@@ -1659,7 +1664,7 @@ export { Text_2 as Text }
|
|
|
1659
1664
|
|
|
1660
1665
|
export declare const TextArea: ({ name, value, placeholder, cols, rows, disabled, onChange, onKeyPress, onFocus, onBlur, tabIndex, error, warning, tooltip, maxTooltipWidth, resize, monospace, testId, }: ITextAreaProps) => JSX_2.Element;
|
|
1661
1666
|
|
|
1662
|
-
export declare const TextLink: ({ children, href, target, testId, onClick, }: ITextLinkProps) => JSX_2.Element;
|
|
1667
|
+
export declare const TextLink: ({ children, href, target, testId, onClick, component: Component, }: ITextLinkProps) => JSX_2.Element;
|
|
1663
1668
|
|
|
1664
1669
|
declare type TFileReaderMethod = TInputReaderMethods | string;
|
|
1665
1670
|
|
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-UlXF8M5L.js"></script><link rel="stylesheet" crossorigin href="/react-ui-library/assets/index-AkeNwthw.css"></head><body><div id="content"></div></body>
|
package/dist/index.js
CHANGED
|
@@ -4133,8 +4133,10 @@ const Button$1 = ({
|
|
|
4133
4133
|
warning: warning2,
|
|
4134
4134
|
testId,
|
|
4135
4135
|
tooltip: tooltip2,
|
|
4136
|
-
inverted: inverted2 = false
|
|
4136
|
+
inverted: inverted2 = false,
|
|
4137
4137
|
// *Deprecated*
|
|
4138
|
+
component: Component2 = "button",
|
|
4139
|
+
url
|
|
4138
4140
|
}) => {
|
|
4139
4141
|
const disabledContext = useContext(DisabledContext);
|
|
4140
4142
|
const color2 = (() => {
|
|
@@ -4168,7 +4170,7 @@ const Button$1 = ({
|
|
|
4168
4170
|
return "";
|
|
4169
4171
|
})();
|
|
4170
4172
|
return /* @__PURE__ */ jsx(ButtonTooltipWrapper, { tooltip: tooltip2, children: /* @__PURE__ */ jsxs(
|
|
4171
|
-
|
|
4173
|
+
Component2,
|
|
4172
4174
|
{
|
|
4173
4175
|
type: type === ButtonType.SUBMIT ? ButtonType.SUBMIT : ButtonType.BUTTON,
|
|
4174
4176
|
className: cx$2(
|
|
@@ -4192,6 +4194,7 @@ const Button$1 = ({
|
|
|
4192
4194
|
...title2 ? { title: title2 } : {},
|
|
4193
4195
|
style: { width: width2 },
|
|
4194
4196
|
"data-testid": testId,
|
|
4197
|
+
to: url,
|
|
4195
4198
|
children: [
|
|
4196
4199
|
icon2 && /* @__PURE__ */ jsx("span", { className: buttonStyles.icon, children: /* @__PURE__ */ jsx(Icon, { icon: icon2 }) }),
|
|
4197
4200
|
loading && /* @__PURE__ */ jsx("span", { className: buttonStyles.icon, children: /* @__PURE__ */ jsx(
|
|
@@ -18990,10 +18993,12 @@ const ListRow = forwardRef(
|
|
|
18990
18993
|
({ items, expanding, invokeEditOnRowClick, provided, draggable: draggable2 }, listRowRefs) => {
|
|
18991
18994
|
const disabledContext = useContext(DisabledContext);
|
|
18992
18995
|
const listElement = (index2, provided2, item2, indent, hasOnClick, edit2) => {
|
|
18996
|
+
const Component2 = item2.component || "a";
|
|
18993
18997
|
return /* @__PURE__ */ createElement(
|
|
18994
|
-
|
|
18998
|
+
Component2,
|
|
18995
18999
|
{
|
|
18996
19000
|
href: item2.url,
|
|
19001
|
+
to: item2.url,
|
|
18997
19002
|
ref: provided2 == null ? void 0 : provided2.innerRef,
|
|
18998
19003
|
...provided2.draggableProps,
|
|
18999
19004
|
style: getItemStyle(provided2.draggableProps, item2),
|
|
@@ -56728,9 +56733,20 @@ const TextLink = ({
|
|
|
56728
56733
|
href = void 0,
|
|
56729
56734
|
target = void 0,
|
|
56730
56735
|
testId,
|
|
56731
|
-
onClick
|
|
56736
|
+
onClick,
|
|
56737
|
+
component: Component2 = "a"
|
|
56732
56738
|
}) => {
|
|
56733
|
-
return /* @__PURE__ */ jsx(
|
|
56739
|
+
return /* @__PURE__ */ jsx(
|
|
56740
|
+
Component2,
|
|
56741
|
+
{
|
|
56742
|
+
href,
|
|
56743
|
+
to: href,
|
|
56744
|
+
target,
|
|
56745
|
+
onClick,
|
|
56746
|
+
"data-testid": testId,
|
|
56747
|
+
children: /* @__PURE__ */ jsx(Text, { link: true, children })
|
|
56748
|
+
}
|
|
56749
|
+
);
|
|
56734
56750
|
};
|
|
56735
56751
|
const inputInTable = "_inputInTable_66zck_1";
|
|
56736
56752
|
const inputHover = "_inputHover_66zck_13";
|