@oliasoft-open-source/react-ui-library 3.12.0-beta-21 → 3.12.0-beta-24
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/Color-6VNJS4EI.e4c0834e.js +1 -0
- package/dist/assets/DocsRenderer-3PUGWF3O.f92963bd.js +1 -0
- package/dist/assets/GlobalScrollAreaStyles-UY5SB7EJ.95e3a6cd.js +7 -0
- package/dist/assets/Lato-Bold.ae88fc0d.woff2 +0 -0
- package/dist/assets/Lato-BoldItalic.c0916a33.woff2 +0 -0
- package/dist/assets/Lato-Italic.4465765f.woff2 +0 -0
- package/dist/assets/Lato-Regular.983b0caf.woff2 +0 -0
- package/dist/assets/OverlayScrollbars-GZGLA7DL.14482910.js +1 -0
- package/dist/assets/WithTooltip-J57HCPYA.e76142a2.js +1 -0
- package/dist/assets/accordion.13178c66.js +1 -0
- package/dist/assets/accordion.525b2fab.css +1 -0
- package/dist/assets/accordion.stories.ac37cb89.css +1 -0
- package/dist/assets/accordion.stories.ca971206.js +170 -0
- package/dist/assets/actions.310c4239.js +1 -0
- package/dist/assets/actions.e1c5ac61.css +1 -0
- package/dist/assets/actions.stories.7879a8f9.js +1 -0
- package/dist/assets/afe.stories.b8e1fa81.js +89 -0
- package/dist/assets/assertThisInitialized.962dde02.js +1 -0
- package/dist/assets/badge.aa4742d6.css +1 -0
- package/dist/assets/badge.c60b26e4.js +1 -0
- package/dist/assets/badge.stories.33b97584.js +1 -0
- package/dist/assets/blowout.stories.01234877.js +40 -0
- package/dist/assets/breadcrumb.stories.d62b029a.js +1 -0
- package/dist/assets/breadcrumb.stories.ec30543a.css +1 -0
- package/dist/assets/button-group.2c67f8a4.css +1 -0
- package/dist/assets/button-group.db95fc8a.js +1 -0
- package/dist/assets/button-group.stories.5ba89e99.js +61 -0
- package/dist/assets/button.4d73be0d.js +1 -0
- package/dist/assets/button.6bb4f57b.css +1 -0
- package/dist/assets/button.stories.6e26de2a.js +51 -0
- package/dist/assets/buttons-and-links.c155f224.js +14 -0
- package/dist/assets/card.1c1f9162.css +1 -0
- package/dist/assets/card.edc0d859.js +1 -0
- package/dist/assets/card.stories.66e7ff29.js +1 -0
- package/dist/assets/casing-loads.stories.e0ccfa32.js +209 -0
- package/dist/assets/cell.stories.e3104e33.js +208 -0
- package/dist/assets/check-box.01bce682.css +1 -0
- package/dist/assets/check-box.fe165636.js +1 -0
- package/dist/assets/check-box.stories.57dad348.js +37 -0
- package/dist/assets/chunk-S4VUQJ4A.e6a8607d.js +1 -0
- package/dist/assets/color.7b9a43d9.js +11 -0
- package/dist/assets/column.stories.d5ed4f3a.js +79 -0
- package/dist/assets/common-enum.04de2059.js +1 -0
- package/dist/assets/config.c9ed1eeb.js +54 -0
- package/dist/assets/dialog.4e7f29a6.css +1 -0
- package/dist/assets/dialog.d82a54f5.js +1 -0
- package/dist/assets/disabled-context.47d44ea4.js +1 -0
- package/dist/assets/divider.370893dc.js +1 -0
- package/dist/assets/divider.662a7bed.css +1 -0
- package/dist/assets/divider.stories.3bfb53de.js +1 -0
- package/dist/assets/drawer.112c042f.css +1 -0
- package/dist/assets/drawer.cd7dde21.js +3 -0
- package/dist/assets/drawer.stories.98d39cde.js +109 -0
- package/dist/assets/empty.stories.628b1f43.css +1 -0
- package/dist/assets/empty.stories.a46e313b.js +1 -0
- package/dist/assets/enum.9003e5cc.js +1 -0
- package/dist/assets/extends.946277fc.js +1 -0
- package/dist/assets/field.34841a80.js +7 -0
- package/dist/assets/field.bc01d139.css +1 -0
- package/dist/assets/field.stories.6af15057.js +44 -0
- package/dist/assets/file-input.stories.c6f928e4.js +55 -0
- package/dist/assets/file-input.stories.f40408e6.css +1 -0
- package/dist/assets/flex.f0bedd04.js +1 -0
- package/dist/assets/flex.stories.376a9450.js +15 -0
- package/dist/assets/footer.stories.61ffd164.js +3 -0
- package/dist/assets/form-row.62481e7e.css +1 -0
- package/dist/assets/form-row.78983423.js +1 -0
- package/dist/assets/form.stories.f11fed32.js +49 -0
- package/dist/assets/formation.stories.2f7b0e86.js +74 -0
- package/dist/assets/formatter-SWP5E3XI.6de38e99.js +156 -0
- package/dist/assets/grid.87b6d860.js +15 -0
- package/dist/assets/grid.stories.1433d600.js +13 -0
- package/dist/assets/heading.73ccb489.css +1 -0
- package/dist/assets/heading.d8accca2.js +1 -0
- package/dist/assets/heading.stories.44222c36.js +15 -0
- package/dist/assets/help-icon.191ef5ef.css +1 -0
- package/dist/assets/help-icon.8deae1d5.js +1 -0
- package/dist/assets/help-icon.stories.74febf53.js +4 -0
- package/dist/assets/hoist-non-react-statics.cjs.10bac274.js +8 -0
- package/dist/assets/icon.678900bc.css +1 -0
- package/dist/assets/icon.86155bc3.js +8 -0
- package/dist/assets/icon.stories.00e227aa.js +6 -0
- package/dist/assets/icons8-junction.2d176da1.svg +4 -0
- package/dist/assets/icons8-junction.d57c510c.js +1 -0
- package/dist/assets/iframe.fefb1d39.js +1 -0
- package/dist/assets/immer.esm.e53d4108.js +1 -0
- package/dist/assets/index.24227caa.js +1 -0
- package/dist/assets/index.26a3f852.js +364 -0
- package/dist/assets/index.55214191.js +5 -0
- package/dist/assets/index.73b4811b.js +1 -0
- package/dist/assets/index.8c7046c4.js +12 -0
- package/dist/assets/index.b8646d95.js +8 -0
- package/dist/assets/index.c3ebe287.js +1 -0
- package/dist/assets/index.cb615f32.js +23 -0
- package/dist/assets/index.cb879655.js +1 -0
- package/dist/assets/index.eeb00e59.js +1 -0
- package/dist/assets/index.es.5a055fee.js +79 -0
- package/dist/assets/inheritsLoose.5387fada.js +1 -0
- package/dist/assets/input-group-addon.1b2fe0a2.css +1 -0
- package/dist/assets/input-group-addon.d746d2dd.js +1 -0
- package/dist/assets/input-group.21ee5488.css +1 -0
- package/dist/assets/input-group.655922b4.js +1 -0
- package/dist/assets/input-group.stories.4c57ce15.js +167 -0
- package/dist/assets/input-validation.624edbc2.js +26 -0
- package/dist/assets/input.6e66348d.css +1 -0
- package/dist/assets/input.c3176058.js +1 -0
- package/dist/assets/input.stories.478a5078.js +17 -0
- package/dist/assets/inputs.bfbe6c45.js +62 -0
- package/dist/assets/jsx-runtime.bc0b5389.js +8 -0
- package/dist/assets/label.71b4dc9a.js +7 -0
- package/dist/assets/label.858be3a9.css +1 -0
- package/dist/assets/label.stories.e0d2308f.js +11 -0
- package/dist/assets/layout-forms.d212df4d.js +16 -0
- package/dist/assets/layout-general.f69a9c00.js +35 -0
- package/dist/assets/list-heading.0b169dd3.css +1 -0
- package/dist/assets/list-heading.647cd461.js +1 -0
- package/dist/assets/list.c0b606e4.js +8 -0
- package/dist/assets/list.stories-data.adf90caf.js +1 -0
- package/dist/assets/list.stories.7ac2d704.js +455 -0
- package/dist/assets/loader.a3325b3b.css +1 -0
- package/dist/assets/loader.c35b8c59.js +1 -0
- package/dist/assets/loader.stories.7b04d56f.js +83 -0
- package/dist/assets/lodash.96de7017.js +27 -0
- package/dist/assets/logo.0bd264c0.svg +13 -0
- package/dist/assets/logo.2108d336.js +1 -0
- package/dist/assets/memoize-one.esm.7a54f149.js +1 -0
- package/dist/assets/menu.stories-data.900a9cfa.js +1 -0
- package/dist/assets/menu.stories.c36361c9.js +60 -0
- package/dist/assets/message.65e5823f.js +1 -0
- package/dist/assets/message.be82e7d4.css +1 -0
- package/dist/assets/message.stories.3fa55adc.js +273 -0
- package/dist/assets/modal.stories.2abfae2c.js +141 -0
- package/dist/assets/number-input.9aea4872.js +14 -0
- package/dist/assets/number-input.stories.eb42243a.js +81 -0
- package/dist/assets/objectSpread2.62d3bde3.js +1 -0
- package/dist/assets/option-dropdown.stories.964a6723.js +21 -0
- package/dist/assets/option-dropdown.stories.ed561ab5.css +1 -0
- package/dist/assets/page.0fb98747.js +1 -0
- package/dist/assets/page.2695c4f2.css +1 -0
- package/dist/assets/page.stories.5e31b195.js +57 -0
- package/dist/assets/page.stories.dd8c1b35.css +1 -0
- package/dist/assets/pagination.4f19f4f6.js +1 -0
- package/dist/assets/pagination.94a8083b.css +1 -0
- package/dist/assets/pagination.stories.60a578d4.js +59 -0
- package/dist/assets/pop-confirm.stories.5d206e9c.js +3 -0
- package/dist/assets/pop-confirm.stories.9af1de76.css +1 -0
- package/dist/assets/popover.deb1280b.js +1 -0
- package/dist/assets/popover.e1591e30.css +1 -0
- package/dist/assets/popover.stories.112ee36a.js +1 -0
- package/dist/assets/portal.23946b05.js +1 -0
- package/dist/assets/portal.stories.9cb2196e.js +20 -0
- package/dist/assets/preview.282104ff.css +1 -0
- package/dist/assets/preview.30462fd6.js +1 -0
- package/dist/assets/preview.a4ca7a98.js +1 -0
- package/dist/assets/preview.b7c2a37d.js +3 -0
- package/dist/assets/progress-bar.52d10897.js +1 -0
- package/dist/assets/progress-bar.ab07ff52.css +1 -0
- package/dist/assets/progress-bar.stories.fcc25c58.js +1 -0
- package/dist/assets/projects.stories.9871f3b0.js +46 -0
- package/dist/assets/radio-button.581bf0f0.js +1 -0
- package/dist/assets/radio-button.6e83a3d2.css +1 -0
- package/dist/assets/radio-button.stories.c66de8c8.js +31 -0
- package/dist/assets/react-16.27cfc332.js +1 -0
- package/dist/assets/redux.afc48bf2.js +1 -0
- package/dist/assets/reservoirs.stories.8acab80f.js +157 -0
- package/dist/assets/rich-text-input.stories.43df28cf.css +1 -0
- package/dist/assets/rich-text-input.stories.e13f8c3c.js +255 -0
- package/dist/assets/row.1d0d4b93.js +39 -0
- package/dist/assets/row.8eeaa564.css +1 -0
- package/dist/assets/row.stories.d884a19c.js +122 -0
- package/dist/assets/select.0c940187.js +1 -0
- package/dist/assets/select.e0d41c57.css +1 -0
- package/dist/assets/select.input.395daa83.js +1 -0
- package/dist/assets/select.stories.8ecd1d7e.js +841 -0
- package/dist/assets/side-bar.04dfa34e.css +1 -0
- package/dist/assets/side-bar.38b8fdc1.js +1 -0
- package/dist/assets/side-bar.stories.6d5af4d9.js +1 -0
- package/dist/assets/site.stories.eebf3d98.js +167 -0
- package/dist/assets/slider.295b80b6.js +7 -0
- package/dist/assets/slider.876efa63.css +1 -0
- package/dist/assets/slider.stories.dac4ae4e.js +127 -0
- package/dist/assets/spacer.17f9f9e6.js +1 -0
- package/dist/assets/spacer.stories.2e017931.js +7 -0
- package/dist/assets/spinner.9cd41d19.css +1 -0
- package/dist/assets/spinner.f0fdc45e.js +1 -0
- package/dist/assets/spinner.stories.037bbf80.js +6 -0
- package/dist/assets/styled-components.browser.esm.611ca86c.js +4 -0
- package/dist/assets/syntaxhighlighter-PONEFOSF.2daaa147.js +1 -0
- package/dist/assets/table.34589fe4.js +1 -0
- package/dist/assets/table.7acbb8cb.css +1 -0
- package/dist/assets/table.stories-data.ad50babd.js +1 -0
- package/dist/assets/table.stories.c045b7cf.js +509 -0
- package/dist/assets/tabs.3dbf724d.css +1 -0
- package/dist/assets/tabs.408b21fe.js +1 -0
- package/dist/assets/tabs.stories.b3e0b918.js +30 -0
- package/dist/assets/text-link.stories.9180c74e.js +1 -0
- package/dist/assets/text.3e08313f.js +1 -0
- package/dist/assets/text.449f16cc.css +1 -0
- package/dist/assets/text.stories.5ba7837b.js +1 -0
- package/dist/assets/textarea.61ee0223.js +1 -0
- package/dist/assets/textarea.e4db0752.css +1 -0
- package/dist/assets/textarea.stories.2b56ca62.js +9 -0
- package/dist/assets/title.stories.adbe835e.js +37 -0
- package/dist/assets/toaster.41028eac.css +1 -0
- package/dist/assets/toaster.b90d2fdf.js +1 -0
- package/dist/assets/toaster.stories.8caabcd8.js +34 -0
- package/dist/assets/toggle.ba9d43b4.js +1 -0
- package/dist/assets/toggle.c2bbeb51.css +1 -0
- package/dist/assets/toggle.stories.091d9048.js +72 -0
- package/dist/assets/tooltip.47b8435e.js +26 -0
- package/dist/assets/tooltip.bdf67884.css +1 -0
- package/dist/assets/tooltip.stories.730e6534.js +17 -0
- package/dist/assets/tooltip.test-case.stories.0022ff66.js +3 -0
- package/dist/assets/top-bar.3d7158ba.css +1 -0
- package/dist/assets/top-bar.d067e7e6.js +1 -0
- package/dist/assets/top-bar.stories.69d16baa.js +1 -0
- package/dist/assets/top-bar.testcase.stories.10864a92.js +30 -0
- package/dist/assets/tree.stories.154364be.css +1 -0
- package/dist/assets/tree.stories.f3d83294.js +72 -0
- package/dist/assets/types.f0417c6d.js +1 -0
- package/dist/favicon.svg +7 -0
- package/dist/global.css +1 -28136
- package/dist/iframe.html +458 -0
- package/dist/index.d.ts +1467 -79
- package/dist/index.html +98 -0
- package/dist/index.js +72363 -86
- package/dist/index.json +1 -0
- package/dist/project.json +1 -0
- package/dist/sb-addons/actions-0/manager-bundle.js +3 -0
- package/dist/sb-addons/actions-0/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/storybook-dark-mode-esm-preset-1/manager-bundle.js +5 -0
- package/dist/sb-addons/storybook-dark-mode-esm-preset-1/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-common-assets/fonts.css +31 -0
- package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/dist/sb-manager/GlobalScrollAreaStyles-UY5SB7EJ-BKTFUTA6.js +7 -0
- package/dist/sb-manager/OverlayScrollbars-GZGLA7DL-YJ2Z3IBE.js +1 -0
- package/dist/sb-manager/WithTooltip-J57HCPYA-3VOMFVVS.js +1 -0
- package/dist/sb-manager/chunk-3J6GS6FI.js +1 -0
- package/dist/sb-manager/chunk-IZBYDH3T.js +408 -0
- package/dist/sb-manager/chunk-NBCGHFLK.js +136 -0
- package/dist/sb-manager/chunk-O2ZUMB77.js +7 -0
- package/dist/sb-manager/chunk-QMHPSTMR.js +15 -0
- package/dist/sb-manager/chunk-QPL63VNK.js +1 -0
- package/dist/sb-manager/chunk-RKFFWI2D.js +1 -0
- package/dist/sb-manager/chunk-SPUAGIB2.js +207 -0
- package/dist/sb-manager/formatter-SWP5E3XI-FS7NNRKF.js +156 -0
- package/dist/sb-manager/globals.js +1 -0
- package/dist/sb-manager/index.js +1 -0
- package/dist/sb-manager/runtime.js +1 -0
- package/dist/sb-manager/syntaxhighlighter-PONEFOSF-PLQPOLN2.js +1 -0
- package/dist/sb-preview/globals.js +1 -0
- package/dist/sb-preview/runtime.js +112 -0
- package/dist/stories.json +1 -0
- package/package.json +8 -9
- package/dist/common-enum.d.ts +0 -73
- package/dist/common-enum.js +0 -81
- package/dist/components/accordion/accordion.d.ts +0 -4
- package/dist/components/accordion/accordion.interface.d.ts +0 -17
- package/dist/components/accordion/accordion.interface.js +0 -1
- package/dist/components/accordion/accordion.js +0 -17
- package/dist/components/accordion/accordion.stories.d.ts +0 -11
- package/dist/components/accordion/accordion.stories.js +0 -140
- package/dist/components/accordion/chevron/chevron.d.ts +0 -5
- package/dist/components/accordion/chevron/chevron.js +0 -8
- package/dist/components/accordion/enum.d.ts +0 -4
- package/dist/components/accordion/enum.js +0 -5
- package/dist/components/accordion/helpers/accordion-with-default-toggle.d.ts +0 -12
- package/dist/components/accordion/helpers/accordion-with-default-toggle.js +0 -35
- package/dist/components/actions/actions.d.ts +0 -14
- package/dist/components/actions/actions.interface.d.ts +0 -25
- package/dist/components/actions/actions.interface.js +0 -1
- package/dist/components/actions/actions.js +0 -66
- package/dist/components/actions/actions.stories.d.ts +0 -25
- package/dist/components/actions/actions.stories.js +0 -67
- package/dist/components/badge/badge.d.ts +0 -10
- package/dist/components/badge/badge.js +0 -21
- package/dist/components/badge/badge.stories.d.ts +0 -7
- package/dist/components/badge/badge.stories.js +0 -21
- package/dist/components/breadcrumb/breadcrumb.d.ts +0 -6
- package/dist/components/breadcrumb/breadcrumb.js +0 -11
- package/dist/components/breadcrumb/breadcrumb.stories.d.ts +0 -5
- package/dist/components/breadcrumb/breadcrumb.stories.js +0 -36
- package/dist/components/breadcrumb/enum.d.ts +0 -5
- package/dist/components/breadcrumb/enum.js +0 -6
- package/dist/components/breadcrumb/link.d.ts +0 -12
- package/dist/components/breadcrumb/link.js +0 -12
- package/dist/components/button/button.d.ts +0 -31
- package/dist/components/button/button.js +0 -52
- package/dist/components/button/button.stories.d.ts +0 -13
- package/dist/components/button/button.stories.js +0 -63
- package/dist/components/button/enum.d.ts +0 -5
- package/dist/components/button/enum.js +0 -6
- package/dist/components/button-group/button-group.d.ts +0 -38
- package/dist/components/button-group/button-group.js +0 -83
- package/dist/components/button-group/button-group.stories-data.d.ts +0 -6
- package/dist/components/button-group/button-group.stories-data.js +0 -61
- package/dist/components/button-group/button-group.stories.d.ts +0 -9
- package/dist/components/button-group/button-group.stories.js +0 -51
- package/dist/components/card/card.d.ts +0 -10
- package/dist/components/card/card.js +0 -6
- package/dist/components/card/card.stories.d.ts +0 -8
- package/dist/components/card/card.stories.js +0 -27
- package/dist/components/check-box/check-box.d.ts +0 -19
- package/dist/components/check-box/check-box.js +0 -19
- package/dist/components/check-box/check-box.stories.d.ts +0 -6
- package/dist/components/check-box/check-box.stories.js +0 -29
- package/dist/components/color/color.stories-data.d.ts +0 -9
- package/dist/components/color/color.stories-data.js +0 -55
- package/dist/components/dialog/dialog.d.ts +0 -17
- package/dist/components/dialog/dialog.js +0 -18
- package/dist/components/divider/divider.d.ts +0 -9
- package/dist/components/divider/divider.js +0 -19
- package/dist/components/divider/divider.stories.d.ts +0 -7
- package/dist/components/divider/divider.stories.js +0 -41
- package/dist/components/drawer/drawer-resize-wrapper.d.ts +0 -2
- package/dist/components/drawer/drawer-resize-wrapper.js +0 -33
- package/dist/components/drawer/drawer-tabs.d.ts +0 -2
- package/dist/components/drawer/drawer-tabs.js +0 -15
- package/dist/components/drawer/drawer.constants.d.ts +0 -2
- package/dist/components/drawer/drawer.constants.js +0 -2
- package/dist/components/drawer/drawer.d.ts +0 -2
- package/dist/components/drawer/drawer.interface.d.ts +0 -55
- package/dist/components/drawer/drawer.interface.js +0 -1
- package/dist/components/drawer/drawer.js +0 -80
- package/dist/components/drawer/drawer.stories.d.ts +0 -40
- package/dist/components/drawer/drawer.stories.js +0 -176
- package/dist/components/empty/empty.d.ts +0 -8
- package/dist/components/empty/empty.js +0 -6
- package/dist/components/empty/empty.stories.d.ts +0 -5
- package/dist/components/empty/empty.stories.js +0 -19
- package/dist/components/file-input/enum.d.ts +0 -6
- package/dist/components/file-input/enum.js +0 -7
- package/dist/components/file-input/file-input.d.ts +0 -18
- package/dist/components/file-input/file-input.js +0 -47
- package/dist/components/file-input/file-input.stories.d.ts +0 -7
- package/dist/components/file-input/file-input.stories.js +0 -65
- package/dist/components/form/field.d.ts +0 -16
- package/dist/components/form/field.js +0 -13
- package/dist/components/form/field.stories.d.ts +0 -12
- package/dist/components/form/field.stories.js +0 -51
- package/dist/components/form/form.stories.d.ts +0 -27
- package/dist/components/form/form.stories.js +0 -76
- package/dist/components/heading/heading.d.ts +0 -19
- package/dist/components/heading/heading.js +0 -9
- package/dist/components/heading/heading.stories.d.ts +0 -10
- package/dist/components/heading/heading.stories.js +0 -46
- package/dist/components/help-icon/help-icon.d.ts +0 -10
- package/dist/components/help-icon/help-icon.js +0 -19
- package/dist/components/help-icon/help-icon.stories.d.ts +0 -10
- package/dist/components/help-icon/help-icon.stories.js +0 -37
- package/dist/components/icon/icon.d.ts +0 -16
- package/dist/components/icon/icon.js +0 -31
- package/dist/components/icon/icon.stories.d.ts +0 -25
- package/dist/components/icon/icon.stories.js +0 -37
- package/dist/components/icon/named-icon.d.ts +0 -6
- package/dist/components/icon/named-icon.js +0 -418
- package/dist/components/input/input.d.ts +0 -26
- package/dist/components/input/input.js +0 -40
- package/dist/components/input/input.stories.d.ts +0 -5
- package/dist/components/input/input.stories.js +0 -22
- package/dist/components/input-group/input-group-addon/input-group-addon.d.ts +0 -8
- package/dist/components/input-group/input-group-addon/input-group-addon.js +0 -20
- package/dist/components/input-group/input-group.d.ts +0 -7
- package/dist/components/input-group/input-group.js +0 -27
- package/dist/components/input-group/input-group.stories.d.ts +0 -8
- package/dist/components/input-group/input-group.stories.js +0 -65
- package/dist/components/label/label.d.ts +0 -24
- package/dist/components/label/label.js +0 -14
- package/dist/components/label/label.stories.d.ts +0 -10
- package/dist/components/label/label.stories.js +0 -42
- package/dist/components/layout/column/column.d.ts +0 -18
- package/dist/components/layout/column/column.js +0 -13
- package/dist/components/layout/column/styles.d.ts +0 -15
- package/dist/components/layout/column/styles.js +0 -41
- package/dist/components/layout/column.stories.d.ts +0 -20
- package/dist/components/layout/column.stories.js +0 -53
- package/dist/components/layout/flex/flex.d.ts +0 -11
- package/dist/components/layout/flex/flex.js +0 -18
- package/dist/components/layout/flex/flex.stories.d.ts +0 -10
- package/dist/components/layout/flex/flex.stories.js +0 -52
- package/dist/components/layout/form-row/form-row.d.ts +0 -5
- package/dist/components/layout/form-row/form-row.js +0 -5
- package/dist/components/layout/grid/grid.d.ts +0 -11
- package/dist/components/layout/grid/grid.js +0 -41
- package/dist/components/layout/grid/grid.stories.d.ts +0 -9
- package/dist/components/layout/grid/grid.stories.js +0 -48
- package/dist/components/layout/page/page.d.ts +0 -9
- package/dist/components/layout/page/page.js +0 -11
- package/dist/components/layout/page.stories.d.ts +0 -9
- package/dist/components/layout/page.stories.js +0 -32
- package/dist/components/layout/placeholder.d.ts +0 -1
- package/dist/components/layout/placeholder.js +0 -1
- package/dist/components/layout/print-header/print-header.d.ts +0 -7
- package/dist/components/layout/print-header/print-header.js +0 -3
- package/dist/components/layout/row/row.d.ts +0 -15
- package/dist/components/layout/row/row.js +0 -24
- package/dist/components/layout/spacer/spacer.d.ts +0 -6
- package/dist/components/layout/spacer/spacer.js +0 -8
- package/dist/components/list/list-row/item-content.d.ts +0 -2
- package/dist/components/list/list-row/item-content.js +0 -9
- package/dist/components/list/list-row/label.d.ts +0 -2
- package/dist/components/list/list-row/label.js +0 -6
- package/dist/components/list/list-row/list-heading.d.ts +0 -3
- package/dist/components/list/list-row/list-heading.js +0 -10
- package/dist/components/list/list-row/list-row.d.ts +0 -3
- package/dist/components/list/list-row/list-row.interface.d.ts +0 -105
- package/dist/components/list/list-row/list-row.interface.js +0 -1
- package/dist/components/list/list-row/list-row.js +0 -56
- package/dist/components/list/list-row/list-subheading.d.ts +0 -3
- package/dist/components/list/list-row/list-subheading.js +0 -27
- package/dist/components/list/list-row/meta-content.d.ts +0 -2
- package/dist/components/list/list-row/meta-content.js +0 -12
- package/dist/components/list/list-row/meta-count.d.ts +0 -2
- package/dist/components/list/list-row/meta-count.js +0 -5
- package/dist/components/list/list-row/name.d.ts +0 -3
- package/dist/components/list/list-row/name.js +0 -12
- package/dist/components/list/list.d.ts +0 -2
- package/dist/components/list/list.interface.d.ts +0 -55
- package/dist/components/list/list.interface.js +0 -1
- package/dist/components/list/list.js +0 -86
- package/dist/components/list/list.stories-data.d.ts +0 -310
- package/dist/components/list/list.stories-data.js +0 -270
- package/dist/components/list/list.stories.d.ts +0 -22
- package/dist/components/list/list.stories.js +0 -411
- package/dist/components/list/toggle-narrow.d.ts +0 -2
- package/dist/components/list/toggle-narrow.js +0 -7
- package/dist/components/loader/loader.d.ts +0 -14
- package/dist/components/loader/loader.js +0 -15
- package/dist/components/loader/loader.stories.d.ts +0 -32
- package/dist/components/loader/loader.stories.js +0 -92
- package/dist/components/menu/enum.d.ts +0 -11
- package/dist/components/menu/enum.js +0 -13
- package/dist/components/menu/index.d.ts +0 -4
- package/dist/components/menu/index.js +0 -8
- package/dist/components/menu/layer/divider.d.ts +0 -1
- package/dist/components/menu/layer/divider.js +0 -3
- package/dist/components/menu/layer/heading.d.ts +0 -8
- package/dist/components/menu/layer/heading.js +0 -3
- package/dist/components/menu/layer/layer.d.ts +0 -15
- package/dist/components/menu/layer/layer.js +0 -47
- package/dist/components/menu/layer/option.d.ts +0 -19
- package/dist/components/menu/layer/option.js +0 -22
- package/dist/components/menu/layer/path.d.ts +0 -5
- package/dist/components/menu/layer/path.js +0 -30
- package/dist/components/menu/layer/placementOptions.d.ts +0 -3
- package/dist/components/menu/layer/placementOptions.js +0 -6
- package/dist/components/menu/layer/section.d.ts +0 -10
- package/dist/components/menu/layer/section.js +0 -23
- package/dist/components/menu/menu.d.ts +0 -3
- package/dist/components/menu/menu.interface.d.ts +0 -82
- package/dist/components/menu/menu.interface.js +0 -1
- package/dist/components/menu/menu.js +0 -92
- package/dist/components/menu/menu.stories-data.d.ts +0 -101
- package/dist/components/menu/menu.stories-data.js +0 -182
- package/dist/components/menu/menu.stories.d.ts +0 -31
- package/dist/components/menu/menu.stories.js +0 -104
- package/dist/components/menu/menu.test.d.ts +0 -1
- package/dist/components/menu/menu.test.js +0 -46
- package/dist/components/menu/trigger/button.d.ts +0 -14
- package/dist/components/menu/trigger/button.js +0 -13
- package/dist/components/menu/trigger/component.d.ts +0 -8
- package/dist/components/menu/trigger/component.js +0 -6
- package/dist/components/menu/trigger/text.d.ts +0 -10
- package/dist/components/menu/trigger/text.js +0 -9
- package/dist/components/menu/trigger/trigger.d.ts +0 -27
- package/dist/components/menu/trigger/trigger.js +0 -35
- package/dist/components/message/dismiss.d.ts +0 -8
- package/dist/components/message/dismiss.js +0 -17
- package/dist/components/message/enum.d.ts +0 -9
- package/dist/components/message/enum.js +0 -11
- package/dist/components/message/message.d.ts +0 -19
- package/dist/components/message/message.js +0 -49
- package/dist/components/message/message.stories.d.ts +0 -11
- package/dist/components/message/message.stories.js +0 -82
- package/dist/components/modal/modal.d.ts +0 -8
- package/dist/components/modal/modal.js +0 -7
- package/dist/components/modal/modal.stories.d.ts +0 -12
- package/dist/components/modal/modal.stories.js +0 -107
- package/dist/components/number-input/number-input.d.ts +0 -26
- package/dist/components/number-input/number-input.js +0 -66
- package/dist/components/number-input/number-input.stories.d.ts +0 -13
- package/dist/components/number-input/number-input.stories.js +0 -43
- package/dist/components/option-dropdown/enum.d.ts +0 -5
- package/dist/components/option-dropdown/enum.js +0 -6
- package/dist/components/option-dropdown/heading.d.ts +0 -4
- package/dist/components/option-dropdown/heading.js +0 -3
- package/dist/components/option-dropdown/layer.d.ts +0 -16
- package/dist/components/option-dropdown/layer.js +0 -43
- package/dist/components/option-dropdown/option-dropdown.d.ts +0 -19
- package/dist/components/option-dropdown/option-dropdown.js +0 -17
- package/dist/components/option-dropdown/option-dropdown.stories.d.ts +0 -5
- package/dist/components/option-dropdown/option-dropdown.stories.js +0 -35
- package/dist/components/option-dropdown/option.d.ts +0 -10
- package/dist/components/option-dropdown/option.js +0 -7
- package/dist/components/pagination/pagination.d.ts +0 -13
- package/dist/components/pagination/pagination.interface.d.ts +0 -15
- package/dist/components/pagination/pagination.interface.js +0 -1
- package/dist/components/pagination/pagination.js +0 -33
- package/dist/components/pagination/pagination.stories.d.ts +0 -7
- package/dist/components/pagination/pagination.stories.js +0 -62
- package/dist/components/pagination/pagination.test.d.ts +0 -1
- package/dist/components/pagination/pagination.test.js +0 -84
- package/dist/components/pagination/pagination.viewdata.d.ts +0 -17
- package/dist/components/pagination/pagination.viewdata.js +0 -53
- package/dist/components/pop-confirm/content.d.ts +0 -9
- package/dist/components/pop-confirm/content.js +0 -5
- package/dist/components/pop-confirm/pop-confirm.d.ts +0 -14
- package/dist/components/pop-confirm/pop-confirm.js +0 -7
- package/dist/components/pop-confirm/pop-confirm.stories.d.ts +0 -4
- package/dist/components/pop-confirm/pop-confirm.stories.js +0 -43
- package/dist/components/popover/popover.d.ts +0 -14
- package/dist/components/popover/popover.js +0 -39
- package/dist/components/popover/popover.stories.d.ts +0 -7
- package/dist/components/popover/popover.stories.js +0 -43
- package/dist/components/portal/portal.d.ts +0 -6
- package/dist/components/portal/portal.js +0 -11
- package/dist/components/portal/portal.stories.d.ts +0 -7
- package/dist/components/portal/portal.stories.js +0 -51
- package/dist/components/progress-bar/progress-bar.d.ts +0 -9
- package/dist/components/progress-bar/progress-bar.js +0 -21
- package/dist/components/progress-bar/progress-bar.stories.d.ts +0 -4
- package/dist/components/progress-bar/progress-bar.stories.js +0 -16
- package/dist/components/radio-button/radio-button.d.ts +0 -27
- package/dist/components/radio-button/radio-button.js +0 -45
- package/dist/components/radio-button/radio-button.stories.d.ts +0 -5
- package/dist/components/radio-button/radio-button.stories.js +0 -45
- package/dist/components/radio-button/radio-input.d.ts +0 -16
- package/dist/components/radio-button/radio-input.js +0 -9
- package/dist/components/rich-text-input/rich-text-input.d.ts +0 -10
- package/dist/components/rich-text-input/rich-text-input.js +0 -35
- package/dist/components/rich-text-input/rich-text-input.stories.d.ts +0 -9
- package/dist/components/rich-text-input/rich-text-input.stories.js +0 -60
- package/dist/components/rich-text-input/rich-text-toolbar/enum.d.ts +0 -7
- package/dist/components/rich-text-input/rich-text-toolbar/enum.js +0 -8
- package/dist/components/rich-text-input/rich-text-toolbar/rich-text-toolbar.d.ts +0 -7
- package/dist/components/rich-text-input/rich-text-toolbar/rich-text-toolbar.js +0 -42
- package/dist/components/select/custom-select/custom-select.d.ts +0 -2
- package/dist/components/select/custom-select/custom-select.interface.d.ts +0 -47
- package/dist/components/select/custom-select/custom-select.interface.js +0 -1
- package/dist/components/select/custom-select/custom-select.js +0 -51
- package/dist/components/select/custom-select/custom-select.reducer.d.ts +0 -6
- package/dist/components/select/custom-select/custom-select.reducer.js +0 -140
- package/dist/components/select/custom-select/enum.d.ts +0 -11
- package/dist/components/select/custom-select/enum.js +0 -12
- package/dist/components/select/custom-select/helper.d.ts +0 -3
- package/dist/components/select/custom-select/helper.js +0 -55
- package/dist/components/select/custom-select/hooks/enum.d.ts +0 -20
- package/dist/components/select/custom-select/hooks/enum.js +0 -22
- package/dist/components/select/custom-select/hooks/use-custom-select-logic.d.ts +0 -39
- package/dist/components/select/custom-select/hooks/use-custom-select-logic.js +0 -222
- package/dist/components/select/custom-select/layer/heading.d.ts +0 -3
- package/dist/components/select/custom-select/layer/heading.js +0 -5
- package/dist/components/select/custom-select/layer/layer.d.ts +0 -17
- package/dist/components/select/custom-select/layer/layer.js +0 -25
- package/dist/components/select/custom-select/layer/option.d.ts +0 -15
- package/dist/components/select/custom-select/layer/option.js +0 -10
- package/dist/components/select/custom-select/layer/placementOptions.d.ts +0 -10
- package/dist/components/select/custom-select/layer/placementOptions.js +0 -7
- package/dist/components/select/custom-select/layer/section.d.ts +0 -15
- package/dist/components/select/custom-select/layer/section.js +0 -16
- package/dist/components/select/custom-select/reducer.interface.d.ts +0 -34
- package/dist/components/select/custom-select/reducer.interface.js +0 -1
- package/dist/components/select/custom-select/trigger/input.d.ts +0 -14
- package/dist/components/select/custom-select/trigger/input.js +0 -21
- package/dist/components/select/custom-select/trigger/multi-selected-options.d.ts +0 -8
- package/dist/components/select/custom-select/trigger/multi-selected-options.js +0 -41
- package/dist/components/select/custom-select/trigger/trigger.d.ts +0 -34
- package/dist/components/select/custom-select/trigger/trigger.js +0 -53
- package/dist/components/select/native-select/native-select.d.ts +0 -29
- package/dist/components/select/native-select/native-select.js +0 -61
- package/dist/components/select/select.d.ts +0 -2
- package/dist/components/select/select.input.d.ts +0 -21
- package/dist/components/select/select.input.js +0 -114
- package/dist/components/select/select.interface.d.ts +0 -39
- package/dist/components/select/select.interface.js +0 -1
- package/dist/components/select/select.js +0 -61
- package/dist/components/select/select.stories-data.d.ts +0 -25
- package/dist/components/select/select.stories-data.js +0 -113
- package/dist/components/select/select.stories.d.ts +0 -30
- package/dist/components/select/select.stories.js +0 -93
- package/dist/components/select/select.test.d.ts +0 -1
- package/dist/components/select/select.test.js +0 -303
- package/dist/components/side-bar/link.d.ts +0 -17
- package/dist/components/side-bar/link.js +0 -20
- package/dist/components/side-bar/sections.d.ts +0 -21
- package/dist/components/side-bar/sections.js +0 -7
- package/dist/components/side-bar/side-bar.d.ts +0 -26
- package/dist/components/side-bar/side-bar.js +0 -28
- package/dist/components/side-bar/side-bar.stories.d.ts +0 -5
- package/dist/components/side-bar/side-bar.stories.js +0 -90
- package/dist/components/slider/slider-tooltip.d.ts +0 -5
- package/dist/components/slider/slider-tooltip.js +0 -13
- package/dist/components/slider/slider.d.ts +0 -37
- package/dist/components/slider/slider.js +0 -57
- package/dist/components/slider/slider.stories.d.ts +0 -16
- package/dist/components/slider/slider.stories.js +0 -85
- package/dist/components/spinner/spinner.d.ts +0 -7
- package/dist/components/spinner/spinner.js +0 -6
- package/dist/components/spinner/spinner.stories.d.ts +0 -4
- package/dist/components/spinner/spinner.stories.js +0 -14
- package/dist/components/table/cell/cell-types/action-cell.d.ts +0 -5
- package/dist/components/table/cell/cell-types/action-cell.js +0 -5
- package/dist/components/table/cell/cell-types/cell-help-icon.d.ts +0 -5
- package/dist/components/table/cell/cell-types/cell-help-icon.js +0 -7
- package/dist/components/table/cell/cell-types/cell-library-icon.d.ts +0 -5
- package/dist/components/table/cell/cell-types/cell-library-icon.js +0 -8
- package/dist/components/table/cell/cell-types/cell-types.interface.d.ts +0 -150
- package/dist/components/table/cell/cell-types/cell-types.interface.js +0 -1
- package/dist/components/table/cell/cell-types/check-box-cell.d.ts +0 -7
- package/dist/components/table/cell/cell-types/check-box-cell.js +0 -5
- package/dist/components/table/cell/cell-types/icon-cell.d.ts +0 -5
- package/dist/components/table/cell/cell-types/icon-cell.js +0 -9
- package/dist/components/table/cell/cell-types/input-cell.d.ts +0 -8
- package/dist/components/table/cell/cell-types/input-cell.js +0 -6
- package/dist/components/table/cell/cell-types/link-cell.d.ts +0 -7
- package/dist/components/table/cell/cell-types/link-cell.js +0 -23
- package/dist/components/table/cell/cell-types/number-input-cell.d.ts +0 -7
- package/dist/components/table/cell/cell-types/number-input-cell.js +0 -5
- package/dist/components/table/cell/cell-types/popover-cell.d.ts +0 -6
- package/dist/components/table/cell/cell-types/popover-cell.js +0 -8
- package/dist/components/table/cell/cell-types/select-cell.d.ts +0 -8
- package/dist/components/table/cell/cell-types/select-cell.js +0 -6
- package/dist/components/table/cell/cell-types/slider-cell.d.ts +0 -6
- package/dist/components/table/cell/cell-types/slider-cell.js +0 -6
- package/dist/components/table/cell/cell-types/sort-cell.d.ts +0 -5
- package/dist/components/table/cell/cell-types/sort-cell.js +0 -9
- package/dist/components/table/cell/cell-types/static-cell.d.ts +0 -7
- package/dist/components/table/cell/cell-types/static-cell.js +0 -16
- package/dist/components/table/cell/cell-wrapper.d.ts +0 -8
- package/dist/components/table/cell/cell-wrapper.js +0 -33
- package/dist/components/table/cell/cell.d.ts +0 -12
- package/dist/components/table/cell/cell.js +0 -45
- package/dist/components/table/cell/cell.stories.d.ts +0 -21
- package/dist/components/table/cell/cell.stories.js +0 -209
- package/dist/components/table/cell/input-cell-wrapper.d.ts +0 -7
- package/dist/components/table/cell/input-cell-wrapper.js +0 -8
- package/dist/components/table/enum.d.ts +0 -9
- package/dist/components/table/enum.js +0 -10
- package/dist/components/table/footer/footer.d.ts +0 -10
- package/dist/components/table/footer/footer.js +0 -18
- package/dist/components/table/footer/footer.stories.d.ts +0 -3
- package/dist/components/table/footer/footer.stories.js +0 -19
- package/dist/components/table/helper.d.ts +0 -22
- package/dist/components/table/helper.js +0 -49
- package/dist/components/table/helper.test.d.ts +0 -1
- package/dist/components/table/helper.test.js +0 -127
- package/dist/components/table/row/expanded-content-row.d.ts +0 -7
- package/dist/components/table/row/expanded-content-row.js +0 -6
- package/dist/components/table/row/row.d.ts +0 -37
- package/dist/components/table/row/row.js +0 -46
- package/dist/components/table/row/row.stories.d.ts +0 -9
- package/dist/components/table/row/row.stories.js +0 -132
- package/dist/components/table/table-scroll-wrapper.d.ts +0 -13
- package/dist/components/table/table-scroll-wrapper.js +0 -24
- package/dist/components/table/table.d.ts +0 -34
- package/dist/components/table/table.js +0 -91
- package/dist/components/table/table.stories-data.d.ts +0 -1970
- package/dist/components/table/table.stories-data.js +0 -996
- package/dist/components/table/table.stories.d.ts +0 -17
- package/dist/components/table/table.stories.js +0 -521
- package/dist/components/table/table.test.d.ts +0 -1
- package/dist/components/table/table.test.js +0 -27
- package/dist/components/table/table.viewdata.d.ts +0 -16
- package/dist/components/table/table.viewdata.js +0 -17
- package/dist/components/table/title/title.d.ts +0 -8
- package/dist/components/table/title/title.js +0 -22
- package/dist/components/table/title/title.stories.d.ts +0 -11
- package/dist/components/table/title/title.stories.js +0 -53
- package/dist/components/tabs/content.d.ts +0 -7
- package/dist/components/tabs/content.js +0 -6
- package/dist/components/tabs/label.d.ts +0 -14
- package/dist/components/tabs/label.js +0 -8
- package/dist/components/tabs/tabs.d.ts +0 -33
- package/dist/components/tabs/tabs.js +0 -64
- package/dist/components/tabs/tabs.stories.d.ts +0 -10
- package/dist/components/tabs/tabs.stories.js +0 -86
- package/dist/components/text/text.d.ts +0 -15
- package/dist/components/text/text.js +0 -6
- package/dist/components/text/text.stories.d.ts +0 -6
- package/dist/components/text/text.stories.js +0 -22
- package/dist/components/text-link/text-link.d.ts +0 -9
- package/dist/components/text-link/text-link.js +0 -5
- package/dist/components/text-link/text-link.stories.d.ts +0 -5
- package/dist/components/text-link/text-link.stories.js +0 -17
- package/dist/components/textarea/textarea.d.ts +0 -22
- package/dist/components/textarea/textarea.js +0 -15
- package/dist/components/textarea/textarea.stories.d.ts +0 -4
- package/dist/components/textarea/textarea.stories.js +0 -18
- package/dist/components/toaster/toaster.d.ts +0 -19
- package/dist/components/toaster/toaster.js +0 -51
- package/dist/components/toaster/toaster.stories.d.ts +0 -15
- package/dist/components/toaster/toaster.stories.js +0 -84
- package/dist/components/toggle/toggle.d.ts +0 -14
- package/dist/components/toggle/toggle.js +0 -17
- package/dist/components/toggle/toggle.stories.d.ts +0 -10
- package/dist/components/toggle/toggle.stories.js +0 -41
- package/dist/components/tooltip/tooltip-layer.d.ts +0 -16
- package/dist/components/tooltip/tooltip-layer.js +0 -19
- package/dist/components/tooltip/tooltip.d.ts +0 -19
- package/dist/components/tooltip/tooltip.js +0 -31
- package/dist/components/tooltip/tooltip.stories.d.ts +0 -11
- package/dist/components/tooltip/tooltip.stories.js +0 -50
- package/dist/components/tooltip/tooltip.test-case.stories.d.ts +0 -4
- package/dist/components/tooltip/tooltip.test-case.stories.js +0 -20
- package/dist/components/top-bar/element/element.d.ts +0 -32
- package/dist/components/top-bar/element/element.js +0 -28
- package/dist/components/top-bar/element/enum.d.ts +0 -6
- package/dist/components/top-bar/element/enum.js +0 -7
- package/dist/components/top-bar/element/link.d.ts +0 -11
- package/dist/components/top-bar/element/link.js +0 -15
- package/dist/components/top-bar/title.d.ts +0 -9
- package/dist/components/top-bar/title.js +0 -7
- package/dist/components/top-bar/top-bar.d.ts +0 -11
- package/dist/components/top-bar/top-bar.js +0 -19
- package/dist/components/top-bar/top-bar.stories.d.ts +0 -6
- package/dist/components/top-bar/top-bar.stories.js +0 -124
- package/dist/components/top-bar/top-bar.testcase.stories.d.ts +0 -5
- package/dist/components/top-bar/top-bar.testcase.stories.js +0 -53
- package/dist/components/top-bar/warning.d.ts +0 -5
- package/dist/components/top-bar/warning.js +0 -5
- package/dist/components/tree/tree-item.d.ts +0 -10
- package/dist/components/tree/tree-item.js +0 -27
- package/dist/components/tree/tree-placeholder.d.ts +0 -4
- package/dist/components/tree/tree-placeholder.js +0 -3
- package/dist/components/tree/tree.d.ts +0 -42
- package/dist/components/tree/tree.js +0 -50
- package/dist/components/tree/tree.stories-data.d.ts +0 -126
- package/dist/components/tree/tree.stories-data.js +0 -83
- package/dist/components/tree/tree.stories.d.ts +0 -11
- package/dist/components/tree/tree.stories.js +0 -98
- package/dist/helpers/disabled-context.d.ts +0 -2
- package/dist/helpers/disabled-context.js +0 -2
- package/dist/helpers/text.d.ts +0 -1
- package/dist/helpers/text.js +0 -9
- package/dist/helpers/types.d.ts +0 -3
- package/dist/helpers/types.js +0 -8
- package/dist/hooks/index.d.ts +0 -4
- package/dist/hooks/index.js +0 -4
- package/dist/hooks/use-focus.d.ts +0 -4
- package/dist/hooks/use-focus.js +0 -10
- package/dist/hooks/use-fonts-ready.d.ts +0 -1
- package/dist/hooks/use-fonts-ready.js +0 -13
- package/dist/hooks/use-keyboard-event.d.ts +0 -2
- package/dist/hooks/use-keyboard-event.js +0 -14
- package/dist/hooks/use-window-width.d.ts +0 -1
- package/dist/hooks/use-window-width.js +0 -16
- package/dist/my-dummy.js +0 -1
|
@@ -1,996 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Flex } from '../layout/flex/flex';
|
|
3
|
-
import { Menu } from '../menu/menu';
|
|
4
|
-
import { Text } from '../text/text';
|
|
5
|
-
import { Icon } from '../icon/icon';
|
|
6
|
-
import { IconType, TriggerType } from "../../common-enum";
|
|
7
|
-
import { MenuType } from "../menu/enum";
|
|
8
|
-
export const table = {
|
|
9
|
-
headers: [
|
|
10
|
-
{
|
|
11
|
-
cells: [
|
|
12
|
-
{ value: 'Name' },
|
|
13
|
-
{ value: 'Weight' },
|
|
14
|
-
{ value: 'Energy' },
|
|
15
|
-
{ value: 'Origin' },
|
|
16
|
-
],
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
rows: [
|
|
20
|
-
{
|
|
21
|
-
cells: [
|
|
22
|
-
{ value: 'Brown rice', testId: 'table-tbody-cell-brown-rice' },
|
|
23
|
-
{ value: 100, testId: 'table-tbody-cell-100' },
|
|
24
|
-
{ value: 361, testId: 'table-tbody-cell-361' },
|
|
25
|
-
{ value: 'Vietnam', testId: 'table-tbody-cell-vietnam' },
|
|
26
|
-
],
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
cells: [
|
|
30
|
-
{ value: 'Buckwheat', testId: 'table-tbody-cell-buckwheat' },
|
|
31
|
-
{ value: 50, testId: 'table-tbody-cell-50' },
|
|
32
|
-
{ value: 358, testId: 'table-tbody-cell-358' },
|
|
33
|
-
{ value: 'Poland', testId: 'table-tbody-cell-poland' },
|
|
34
|
-
],
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
cells: [
|
|
38
|
-
{ value: 'Couscous', testId: 'table-tbody-cell-couscous' },
|
|
39
|
-
{ value: 10, testId: 'table-tbody-cell-10' },
|
|
40
|
-
{ value: 368, testId: 'table-tbody-cell-368' },
|
|
41
|
-
{ value: 'France', testId: 'table-tbody-cell-france' },
|
|
42
|
-
],
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
};
|
|
46
|
-
export const tableColumnWidths = {
|
|
47
|
-
...table,
|
|
48
|
-
columnWidths: ['200px', '20%', '100px', 'auto'],
|
|
49
|
-
};
|
|
50
|
-
export const tableStaticTooltips = {
|
|
51
|
-
...table,
|
|
52
|
-
rows: table.rows.map((row) => ({
|
|
53
|
-
...row,
|
|
54
|
-
cells: row.cells.map((cell) => ({ ...cell, tooltip: 'Tooltip' })),
|
|
55
|
-
})),
|
|
56
|
-
};
|
|
57
|
-
export const tableCellWidths = {
|
|
58
|
-
...table,
|
|
59
|
-
rows: table.rows.map((row) => ({
|
|
60
|
-
...row,
|
|
61
|
-
cells: row.cells.map((cell) => ({ ...cell, width: '200px' })),
|
|
62
|
-
})),
|
|
63
|
-
};
|
|
64
|
-
export const tableCellStyleProp = {
|
|
65
|
-
...table,
|
|
66
|
-
rows: table.rows.map((row) => ({
|
|
67
|
-
...row,
|
|
68
|
-
cells: row.cells.map((cell) => ({
|
|
69
|
-
...cell,
|
|
70
|
-
style: {
|
|
71
|
-
width: '200px',
|
|
72
|
-
background: 'var(--color-background-table-header)',
|
|
73
|
-
fontWeight: 'bold',
|
|
74
|
-
},
|
|
75
|
-
})),
|
|
76
|
-
})),
|
|
77
|
-
};
|
|
78
|
-
export const tableBreakLongContent = {
|
|
79
|
-
...table,
|
|
80
|
-
rows: [
|
|
81
|
-
{
|
|
82
|
-
cells: [
|
|
83
|
-
{
|
|
84
|
-
breakWord: true,
|
|
85
|
-
value: 'LoremipsumdolorsitametconsecteturadipiscingelitseddoeiusmodtemporincididuntutlaboreetdoloremagnaaliquaUtenimadminimveniamquisnostrudexercitationullamcolaborisnisiutaliquipexeacommodoconsequatDuisauteiruredolorinreprehenderitinvoluptatevelitessecillumdoloreeullamcolaborisnisiutaliquipexeacommodoconsequatDuisauteiruredolorinreprehenderitinvoluptatevelitessecillumdoloreeufugiatnullapariaturufugiatnullapariatur',
|
|
86
|
-
},
|
|
87
|
-
{ value: 100 },
|
|
88
|
-
{ value: 361 },
|
|
89
|
-
{ value: 'Vietnam' },
|
|
90
|
-
],
|
|
91
|
-
},
|
|
92
|
-
...table.rows,
|
|
93
|
-
],
|
|
94
|
-
};
|
|
95
|
-
export const tableUnits = {
|
|
96
|
-
...table,
|
|
97
|
-
headers: [
|
|
98
|
-
...table.headers,
|
|
99
|
-
{
|
|
100
|
-
cells: [
|
|
101
|
-
{},
|
|
102
|
-
{
|
|
103
|
-
options: [
|
|
104
|
-
{ label: 'kg', value: 'kg' },
|
|
105
|
-
{ label: 'tonnes', value: 'tonnes' },
|
|
106
|
-
],
|
|
107
|
-
type: 'Select',
|
|
108
|
-
searchable: false,
|
|
109
|
-
value: { label: 'kg', value: 'kg' },
|
|
110
|
-
onChange: () => { },
|
|
111
|
-
},
|
|
112
|
-
{ type: 'Unit', value: 'kcal / 100g' },
|
|
113
|
-
{},
|
|
114
|
-
],
|
|
115
|
-
},
|
|
116
|
-
],
|
|
117
|
-
};
|
|
118
|
-
export const tableActiveRow = {
|
|
119
|
-
...table,
|
|
120
|
-
rows: table.rows.map((row, index) => ({
|
|
121
|
-
...row,
|
|
122
|
-
active: index === 0,
|
|
123
|
-
onRowClick: () => { },
|
|
124
|
-
})),
|
|
125
|
-
};
|
|
126
|
-
export const tableTitle = {
|
|
127
|
-
...table,
|
|
128
|
-
name: 'Food',
|
|
129
|
-
};
|
|
130
|
-
export const tableTitleJsx = {
|
|
131
|
-
...table,
|
|
132
|
-
name: (_jsxs(Flex, { gap: "8px", alignItems: "center", children: ["Food", _jsx(Icon, { icon: IconType.STAR })] })),
|
|
133
|
-
};
|
|
134
|
-
const actions = [
|
|
135
|
-
{
|
|
136
|
-
childComponent: (_jsx(Menu, { menu: {
|
|
137
|
-
label: 'Import food',
|
|
138
|
-
trigger: TriggerType.DROP_DOWN_BUTTON,
|
|
139
|
-
sections: [
|
|
140
|
-
{ type: MenuType.HEADING, label: 'Import options' },
|
|
141
|
-
{ type: MenuType.OPTION, label: 'Import from csv' },
|
|
142
|
-
{ type: MenuType.OPTION, label: 'Import from library' },
|
|
143
|
-
],
|
|
144
|
-
small: true,
|
|
145
|
-
} })),
|
|
146
|
-
},
|
|
147
|
-
];
|
|
148
|
-
export const tableChildComponent = {
|
|
149
|
-
...table,
|
|
150
|
-
name: 'Food',
|
|
151
|
-
actions,
|
|
152
|
-
testId: 'table-child-component',
|
|
153
|
-
};
|
|
154
|
-
export const tableWithActionHeaderAndNoLabel = {
|
|
155
|
-
...table,
|
|
156
|
-
actions,
|
|
157
|
-
actionsRight: true,
|
|
158
|
-
};
|
|
159
|
-
export const tableInfiniteScroll = {
|
|
160
|
-
...table,
|
|
161
|
-
headers: [
|
|
162
|
-
...table.headers,
|
|
163
|
-
{
|
|
164
|
-
cells: [
|
|
165
|
-
{},
|
|
166
|
-
{
|
|
167
|
-
options: [
|
|
168
|
-
{ label: 'kg', value: 'kg' },
|
|
169
|
-
{ label: 'tonnes', value: 'tonnes' },
|
|
170
|
-
],
|
|
171
|
-
type: 'Select',
|
|
172
|
-
native: true,
|
|
173
|
-
value: { label: 'kg', value: 'kg' },
|
|
174
|
-
onChange: () => { },
|
|
175
|
-
},
|
|
176
|
-
{ type: 'Unit', value: 'kcal / 100g' },
|
|
177
|
-
{},
|
|
178
|
-
],
|
|
179
|
-
},
|
|
180
|
-
],
|
|
181
|
-
bordered: true,
|
|
182
|
-
infiniteScroll: true,
|
|
183
|
-
maxHeight: '500px',
|
|
184
|
-
stickyHeaders: true,
|
|
185
|
-
rows: Array.from({ length: 100 }, (_, index) => ({
|
|
186
|
-
cells: [
|
|
187
|
-
{ type: 'Input', value: `Strawberry Letter ${index + 1}` },
|
|
188
|
-
{ type: 'Input', value: 100 },
|
|
189
|
-
{ type: 'Input', value: 361 },
|
|
190
|
-
{ type: 'Input', value: 'Vietnam' },
|
|
191
|
-
],
|
|
192
|
-
})),
|
|
193
|
-
footer: {
|
|
194
|
-
content: (_jsxs(_Fragment, { children: [_jsx("strong", { children: "Footer content:" }), " goes here"] })),
|
|
195
|
-
},
|
|
196
|
-
};
|
|
197
|
-
export const tableInfiniteScrollFullHeight = {
|
|
198
|
-
...tableInfiniteScroll,
|
|
199
|
-
maxHeight: '100%',
|
|
200
|
-
};
|
|
201
|
-
export const tableInfiniteScrollShort = {
|
|
202
|
-
...tableInfiniteScroll,
|
|
203
|
-
rows: Array.from({ length: 1 }, (_, index) => ({
|
|
204
|
-
cells: [
|
|
205
|
-
{ type: 'Input', value: `Strawberry Letter ${index + 1}` },
|
|
206
|
-
{ type: 'Input', value: 100 },
|
|
207
|
-
{ type: 'Input', value: 361 },
|
|
208
|
-
{ type: 'Input', value: 'Vietnam' },
|
|
209
|
-
],
|
|
210
|
-
})),
|
|
211
|
-
};
|
|
212
|
-
export const tableInfiniteScrollDnD = {
|
|
213
|
-
...tableInfiniteScroll,
|
|
214
|
-
draggable: true,
|
|
215
|
-
};
|
|
216
|
-
export const tableRowFocus = {
|
|
217
|
-
...table,
|
|
218
|
-
rows: table.rows.map((row, index) => ({
|
|
219
|
-
...row,
|
|
220
|
-
onRowFocus: () => { },
|
|
221
|
-
})),
|
|
222
|
-
};
|
|
223
|
-
const subComponent = () => {
|
|
224
|
-
return (_jsxs("ul", { children: [_jsx("li", { children: "Carrots" }), _jsx("li", { children: "Chocolate" }), _jsx("li", { children: "Chorizo" })] }));
|
|
225
|
-
};
|
|
226
|
-
export const tableJsxContent = {
|
|
227
|
-
headers: [
|
|
228
|
-
{
|
|
229
|
-
cells: [{ value: 'Name' }, { value: 'Content' }],
|
|
230
|
-
},
|
|
231
|
-
],
|
|
232
|
-
rows: [
|
|
233
|
-
{
|
|
234
|
-
cells: [{ value: 'Sub-component' }, { value: subComponent() }],
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
cells: [
|
|
238
|
-
{ value: 'JSX' },
|
|
239
|
-
{
|
|
240
|
-
value: (_jsxs("div", { children: ["Some ", _jsx(Text, { bold: true, children: "bold content" })] })),
|
|
241
|
-
},
|
|
242
|
-
],
|
|
243
|
-
},
|
|
244
|
-
],
|
|
245
|
-
};
|
|
246
|
-
export const tableColspan = {
|
|
247
|
-
...table,
|
|
248
|
-
headers: [
|
|
249
|
-
{
|
|
250
|
-
cells: [{ value: '' }, { value: 'Stats', colSpan: 2 }, { value: '' }],
|
|
251
|
-
},
|
|
252
|
-
...table.headers,
|
|
253
|
-
],
|
|
254
|
-
rows: [
|
|
255
|
-
...table.rows,
|
|
256
|
-
{
|
|
257
|
-
cells: [{ value: 'Total', colSpan: 4 }],
|
|
258
|
-
},
|
|
259
|
-
],
|
|
260
|
-
};
|
|
261
|
-
export const tableRowspan = {
|
|
262
|
-
...table,
|
|
263
|
-
headers: [
|
|
264
|
-
{
|
|
265
|
-
cells: [
|
|
266
|
-
{ value: 'Name', colSpan: 2 },
|
|
267
|
-
{ value: 'Origin', rowSpan: 2 },
|
|
268
|
-
],
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
cells: [{ value: 'English' }, { value: 'Chinese' }],
|
|
272
|
-
},
|
|
273
|
-
],
|
|
274
|
-
rows: [
|
|
275
|
-
{
|
|
276
|
-
cells: [
|
|
277
|
-
{ type: 'Input', value: 'Brown rice' },
|
|
278
|
-
{ type: 'Input', value: '糙米' },
|
|
279
|
-
{
|
|
280
|
-
type: 'Select',
|
|
281
|
-
options: [
|
|
282
|
-
{ label: 'China', value: 'China' },
|
|
283
|
-
{ label: 'France', value: 'France' },
|
|
284
|
-
{ label: 'Poland', value: 'Poland' },
|
|
285
|
-
],
|
|
286
|
-
value: { label: 'China', value: 'China' },
|
|
287
|
-
rowSpan: 2,
|
|
288
|
-
},
|
|
289
|
-
],
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
cells: [
|
|
293
|
-
{ type: 'Input', value: 'White rice' },
|
|
294
|
-
{ type: 'Input', value: '白米' },
|
|
295
|
-
],
|
|
296
|
-
},
|
|
297
|
-
],
|
|
298
|
-
};
|
|
299
|
-
export const tableColspanWidths = {
|
|
300
|
-
...table,
|
|
301
|
-
columnWidths: ['auto', '120px', '120px', 'auto'],
|
|
302
|
-
headers: [
|
|
303
|
-
{
|
|
304
|
-
cells: [
|
|
305
|
-
{ value: 'Header' },
|
|
306
|
-
{ value: 'Header', colSpan: 2 },
|
|
307
|
-
{ value: 'Header' },
|
|
308
|
-
],
|
|
309
|
-
},
|
|
310
|
-
],
|
|
311
|
-
};
|
|
312
|
-
export const tableAlignment = {
|
|
313
|
-
...table,
|
|
314
|
-
columnAlignment: ['left', 'right', 'right', 'left'],
|
|
315
|
-
};
|
|
316
|
-
export const tableHeaderAlignment = {
|
|
317
|
-
...tableColspan,
|
|
318
|
-
columnAlignment: ['left', 'right', 'right', 'left', 'right'],
|
|
319
|
-
columnHeaderAlignments: [
|
|
320
|
-
['', 'center', ''],
|
|
321
|
-
['', 'right', 'right', ''],
|
|
322
|
-
],
|
|
323
|
-
};
|
|
324
|
-
export const tableEditable = {
|
|
325
|
-
fixedWidth: 'auto',
|
|
326
|
-
headers: [
|
|
327
|
-
{
|
|
328
|
-
cells: [
|
|
329
|
-
{
|
|
330
|
-
value: 'Input',
|
|
331
|
-
testId: 'with-editable-cells-cell-name',
|
|
332
|
-
width: '140px',
|
|
333
|
-
},
|
|
334
|
-
{ value: 'Select (native)', width: '140px' },
|
|
335
|
-
{ value: 'Number Input', width: '140px' },
|
|
336
|
-
{ value: 'Select (custom)', width: '140px' },
|
|
337
|
-
{ value: 'Slider', width: '140px' },
|
|
338
|
-
{ value: 'Static' },
|
|
339
|
-
],
|
|
340
|
-
},
|
|
341
|
-
],
|
|
342
|
-
rows: [
|
|
343
|
-
{
|
|
344
|
-
cells: [
|
|
345
|
-
{
|
|
346
|
-
value: 'Buckwheat',
|
|
347
|
-
type: 'Input',
|
|
348
|
-
onChange: () => { },
|
|
349
|
-
testId: 'table-tbody-cell-buckwheat',
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
type: 'Select',
|
|
353
|
-
native: true,
|
|
354
|
-
options: [
|
|
355
|
-
{ label: 50, value: 50 },
|
|
356
|
-
{ label: 100, value: 100 },
|
|
357
|
-
],
|
|
358
|
-
value: { label: 100, value: 100 },
|
|
359
|
-
onChange: () => { },
|
|
360
|
-
},
|
|
361
|
-
{ value: 361, type: 'NumberInput', onChange: () => { } },
|
|
362
|
-
{
|
|
363
|
-
type: 'Select',
|
|
364
|
-
options: [
|
|
365
|
-
{ label: 'France', value: 'France' },
|
|
366
|
-
{ label: 'Poland', value: 'Poland' },
|
|
367
|
-
{ label: 'Vietnam', value: 'Vietnam' },
|
|
368
|
-
],
|
|
369
|
-
value: { label: 'Poland', value: 'Poland' },
|
|
370
|
-
onChange: () => { },
|
|
371
|
-
},
|
|
372
|
-
{ type: 'Slider', value: 50, min: 0, max: 100, onChange: () => { } },
|
|
373
|
-
{ value: 361 },
|
|
374
|
-
],
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
cells: [
|
|
378
|
-
{
|
|
379
|
-
value: 'Arborio rice',
|
|
380
|
-
type: 'Input',
|
|
381
|
-
onChange: () => { },
|
|
382
|
-
testId: 'table-tbody-cell-arborio',
|
|
383
|
-
error: 'Error',
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
type: 'Select',
|
|
387
|
-
native: true,
|
|
388
|
-
options: [
|
|
389
|
-
{ label: 50, value: 50 },
|
|
390
|
-
{ label: 100, value: 100 },
|
|
391
|
-
],
|
|
392
|
-
value: { label: 100, value: 100 },
|
|
393
|
-
onChange: () => { },
|
|
394
|
-
error: 'Error',
|
|
395
|
-
},
|
|
396
|
-
{ value: 361, type: 'NumberInput', onChange: () => { }, error: 'Error' },
|
|
397
|
-
{
|
|
398
|
-
type: 'Select',
|
|
399
|
-
options: [
|
|
400
|
-
{ label: 'France', value: 'France' },
|
|
401
|
-
{ label: 'Italy', value: 'Italy' },
|
|
402
|
-
{ label: 'Vietnam', value: 'Vietnam' },
|
|
403
|
-
],
|
|
404
|
-
value: { label: 'Italy', value: 'Italy' },
|
|
405
|
-
onChange: () => { },
|
|
406
|
-
error: 'Error',
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
type: 'Slider',
|
|
410
|
-
value: 50,
|
|
411
|
-
min: 0,
|
|
412
|
-
max: 100,
|
|
413
|
-
onChange: () => { },
|
|
414
|
-
error: 'Error',
|
|
415
|
-
},
|
|
416
|
-
{ value: 361, error: 'Error' },
|
|
417
|
-
],
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
cells: [
|
|
421
|
-
{
|
|
422
|
-
value: 'Couscous',
|
|
423
|
-
type: 'Input',
|
|
424
|
-
onChange: () => { },
|
|
425
|
-
testId: 'table-tbody-cell-couscous',
|
|
426
|
-
warning: 'Warning',
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
type: 'Select',
|
|
430
|
-
native: true,
|
|
431
|
-
options: [
|
|
432
|
-
{ label: 50, value: 50 },
|
|
433
|
-
{ label: 100, value: 100 },
|
|
434
|
-
],
|
|
435
|
-
value: { label: 100, value: 100 },
|
|
436
|
-
onChange: () => { },
|
|
437
|
-
warning: 'Warning',
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
value: 361,
|
|
441
|
-
type: 'NumberInput',
|
|
442
|
-
onChange: () => { },
|
|
443
|
-
warning: 'Warning',
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
type: 'Select',
|
|
447
|
-
options: [
|
|
448
|
-
{ label: 'France', value: 'France' },
|
|
449
|
-
{ label: 'Poland', value: 'Poland' },
|
|
450
|
-
{ label: 'Vietnam', value: 'Vietnam' },
|
|
451
|
-
],
|
|
452
|
-
value: { label: 'France', value: 'France' },
|
|
453
|
-
onChange: () => { },
|
|
454
|
-
warning: 'Warning',
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
type: 'Slider',
|
|
458
|
-
value: 50,
|
|
459
|
-
min: 0,
|
|
460
|
-
max: 100,
|
|
461
|
-
onChange: () => { },
|
|
462
|
-
warning: 'Warning',
|
|
463
|
-
},
|
|
464
|
-
{ value: 361, warning: 'Warning' },
|
|
465
|
-
],
|
|
466
|
-
},
|
|
467
|
-
],
|
|
468
|
-
};
|
|
469
|
-
export const tableCheckboxes = {
|
|
470
|
-
...table,
|
|
471
|
-
headers: table.headers.map((row) => ({
|
|
472
|
-
...row,
|
|
473
|
-
cells: [
|
|
474
|
-
{
|
|
475
|
-
type: 'CheckBox',
|
|
476
|
-
onChange: () => { },
|
|
477
|
-
},
|
|
478
|
-
...row.cells,
|
|
479
|
-
],
|
|
480
|
-
})),
|
|
481
|
-
rows: table.rows.map((row) => ({
|
|
482
|
-
...row,
|
|
483
|
-
cells: [
|
|
484
|
-
{
|
|
485
|
-
type: 'CheckBox',
|
|
486
|
-
onChange: () => { },
|
|
487
|
-
},
|
|
488
|
-
...row.cells,
|
|
489
|
-
],
|
|
490
|
-
})),
|
|
491
|
-
};
|
|
492
|
-
export const tableDisabled = {
|
|
493
|
-
...tableEditable,
|
|
494
|
-
rows: tableEditable.rows.map((row) => ({
|
|
495
|
-
...row,
|
|
496
|
-
cells: row.cells.map((cell) => ({ ...cell, disabled: true })),
|
|
497
|
-
})),
|
|
498
|
-
};
|
|
499
|
-
export const tableFilters = {
|
|
500
|
-
...table,
|
|
501
|
-
headers: [
|
|
502
|
-
...table.headers,
|
|
503
|
-
{
|
|
504
|
-
cells: [
|
|
505
|
-
{
|
|
506
|
-
value: '',
|
|
507
|
-
type: 'Input',
|
|
508
|
-
placeholder: 'Search',
|
|
509
|
-
onChange: () => { },
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
value: '',
|
|
513
|
-
type: 'Input',
|
|
514
|
-
placeholder: 'Search',
|
|
515
|
-
onChange: () => { },
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
value: '',
|
|
519
|
-
type: 'Input',
|
|
520
|
-
placeholder: 'Search',
|
|
521
|
-
onChange: () => { },
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
value: '',
|
|
525
|
-
type: 'Input',
|
|
526
|
-
placeholder: 'Search',
|
|
527
|
-
onChange: () => { },
|
|
528
|
-
},
|
|
529
|
-
],
|
|
530
|
-
},
|
|
531
|
-
],
|
|
532
|
-
};
|
|
533
|
-
export const tableSort = {
|
|
534
|
-
headers: [
|
|
535
|
-
{
|
|
536
|
-
cells: [
|
|
537
|
-
{ value: 'Name' },
|
|
538
|
-
{
|
|
539
|
-
value: 'Weight (kg)',
|
|
540
|
-
hasSort: true,
|
|
541
|
-
sort: 'up',
|
|
542
|
-
sortPriority: 1,
|
|
543
|
-
onSort: () => { },
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
value: 'Energy (kcal / 100g)',
|
|
547
|
-
hasSort: true,
|
|
548
|
-
sort: 'down',
|
|
549
|
-
sortPriority: 2,
|
|
550
|
-
onSort: () => { },
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
value: 'Origin',
|
|
554
|
-
hasSort: true,
|
|
555
|
-
sort: '',
|
|
556
|
-
sortPriority: 1,
|
|
557
|
-
onSort: () => { },
|
|
558
|
-
},
|
|
559
|
-
],
|
|
560
|
-
},
|
|
561
|
-
],
|
|
562
|
-
rows: [
|
|
563
|
-
{
|
|
564
|
-
cells: [
|
|
565
|
-
{ value: 'Brown rice' },
|
|
566
|
-
{ value: 100 },
|
|
567
|
-
{ value: 361 },
|
|
568
|
-
{ value: 'Vietnam' },
|
|
569
|
-
],
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
cells: [
|
|
573
|
-
{ value: 'Buckwheat' },
|
|
574
|
-
{ value: 50 },
|
|
575
|
-
{ value: 358 },
|
|
576
|
-
{ value: 'Poland' },
|
|
577
|
-
],
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
cells: [
|
|
581
|
-
{ value: 'Couscous' },
|
|
582
|
-
{ value: 10 },
|
|
583
|
-
{ value: 368 },
|
|
584
|
-
{ value: 'France' },
|
|
585
|
-
],
|
|
586
|
-
},
|
|
587
|
-
],
|
|
588
|
-
};
|
|
589
|
-
export const tableIcons = {
|
|
590
|
-
headers: [
|
|
591
|
-
{
|
|
592
|
-
cells: [
|
|
593
|
-
{},
|
|
594
|
-
{ value: 'Name' },
|
|
595
|
-
{ value: 'Weight (kg)' },
|
|
596
|
-
{ value: 'Energy (kcal / 100g)' },
|
|
597
|
-
{ value: 'Origin' },
|
|
598
|
-
],
|
|
599
|
-
},
|
|
600
|
-
],
|
|
601
|
-
rows: [
|
|
602
|
-
{
|
|
603
|
-
cells: [
|
|
604
|
-
{
|
|
605
|
-
type: 'Icon',
|
|
606
|
-
icon: _jsx(Icon, { icon: IconType.SUCCESS, color: "var(--color-text-success)" }),
|
|
607
|
-
tooltip: 'Success tooltip here',
|
|
608
|
-
width: 'var(--size)',
|
|
609
|
-
},
|
|
610
|
-
{ value: 'Brown rice' },
|
|
611
|
-
{ value: 100 },
|
|
612
|
-
{ value: 361 },
|
|
613
|
-
{ value: 'Vietnam' },
|
|
614
|
-
],
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
cells: [
|
|
618
|
-
{
|
|
619
|
-
type: 'Icon',
|
|
620
|
-
icon: _jsx(Icon, { icon: IconType.WARNING, color: "var(--color-text-warning)" }),
|
|
621
|
-
tooltip: 'Warning tooltip here',
|
|
622
|
-
width: 'var(--size)',
|
|
623
|
-
},
|
|
624
|
-
{ value: 'Buckwheat' },
|
|
625
|
-
{ value: 50 },
|
|
626
|
-
{ value: 358 },
|
|
627
|
-
{ value: 'Poland' },
|
|
628
|
-
],
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
cells: [
|
|
632
|
-
{
|
|
633
|
-
type: 'Icon',
|
|
634
|
-
icon: _jsx(Icon, { icon: IconType.ERROR, color: "var(--color-text-error)" }),
|
|
635
|
-
tooltip: 'Error tooltip here',
|
|
636
|
-
width: 'var(--size)',
|
|
637
|
-
},
|
|
638
|
-
{ value: 'Couscous' },
|
|
639
|
-
{ value: 10 },
|
|
640
|
-
{ value: 368 },
|
|
641
|
-
{ value: 'France' },
|
|
642
|
-
],
|
|
643
|
-
},
|
|
644
|
-
],
|
|
645
|
-
};
|
|
646
|
-
export const tableLinks = {
|
|
647
|
-
headers: [
|
|
648
|
-
{
|
|
649
|
-
cells: [{ value: 'Lorem' }, { value: 'Ipsum' }],
|
|
650
|
-
},
|
|
651
|
-
],
|
|
652
|
-
rows: [
|
|
653
|
-
{
|
|
654
|
-
cells: [
|
|
655
|
-
{
|
|
656
|
-
type: 'Link',
|
|
657
|
-
value: 'Link text',
|
|
658
|
-
onClick: () => console.log('Link clicked'),
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
type: 'Link',
|
|
662
|
-
value: 'Disabled link text',
|
|
663
|
-
disabled: true,
|
|
664
|
-
onClick: () => console.log('Link clicked'),
|
|
665
|
-
},
|
|
666
|
-
],
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
cells: [
|
|
670
|
-
{
|
|
671
|
-
type: 'Link',
|
|
672
|
-
value: 'Static warning link',
|
|
673
|
-
warning: 'Warning message',
|
|
674
|
-
onClick: () => console.log('Link clicked'),
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
type: 'Link',
|
|
678
|
-
value: 'Static error link',
|
|
679
|
-
error: 'Error message',
|
|
680
|
-
onClick: () => console.log('Link clicked'),
|
|
681
|
-
},
|
|
682
|
-
],
|
|
683
|
-
},
|
|
684
|
-
],
|
|
685
|
-
};
|
|
686
|
-
export const tableActions = {
|
|
687
|
-
headers: [
|
|
688
|
-
{
|
|
689
|
-
cells: [
|
|
690
|
-
{ value: 'Name' },
|
|
691
|
-
{ value: 'Weight (kg)' },
|
|
692
|
-
{ value: 'Energy (kcal / 100g)' },
|
|
693
|
-
{ value: 'Origin' },
|
|
694
|
-
{ value: 'Lorem' },
|
|
695
|
-
{ value: 'Ipsum' },
|
|
696
|
-
{ value: 'Dolor' },
|
|
697
|
-
],
|
|
698
|
-
actions: [
|
|
699
|
-
{
|
|
700
|
-
primary: true,
|
|
701
|
-
label: 'Add',
|
|
702
|
-
icon: 'add',
|
|
703
|
-
onClick: () => { },
|
|
704
|
-
},
|
|
705
|
-
],
|
|
706
|
-
},
|
|
707
|
-
],
|
|
708
|
-
rows: [
|
|
709
|
-
{
|
|
710
|
-
cells: [
|
|
711
|
-
{ value: 'Brown rice' },
|
|
712
|
-
{ value: 100 },
|
|
713
|
-
{ value: 361 },
|
|
714
|
-
{ value: 'Vietnam' },
|
|
715
|
-
{ value: 'Lorem' },
|
|
716
|
-
{ value: 'Ipsum' },
|
|
717
|
-
{ value: 'Dolor' },
|
|
718
|
-
],
|
|
719
|
-
actions: [{ label: 'Delete', icon: 'minus', onClick: () => { } }],
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
cells: [
|
|
723
|
-
{ value: 'Buckwheat' },
|
|
724
|
-
{ value: 50 },
|
|
725
|
-
{ value: 358 },
|
|
726
|
-
{ value: 'Poland' },
|
|
727
|
-
{ value: 'Lorem' },
|
|
728
|
-
{ value: 'Ipsum' },
|
|
729
|
-
{ value: 'Dolor' },
|
|
730
|
-
],
|
|
731
|
-
actions: [{ label: 'Delete', icon: 'minus', onClick: () => { } }],
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
cells: [
|
|
735
|
-
{ value: 'Couscous' },
|
|
736
|
-
{ value: 10 },
|
|
737
|
-
{ value: 368 },
|
|
738
|
-
{ value: 'France' },
|
|
739
|
-
{ value: 'Lorem' },
|
|
740
|
-
{ value: 'Ipsum' },
|
|
741
|
-
{ value: 'Dolor' },
|
|
742
|
-
],
|
|
743
|
-
actions: [
|
|
744
|
-
{
|
|
745
|
-
label: 'test',
|
|
746
|
-
icon: 'minus',
|
|
747
|
-
onClick: () => { },
|
|
748
|
-
hidden: true,
|
|
749
|
-
},
|
|
750
|
-
],
|
|
751
|
-
},
|
|
752
|
-
],
|
|
753
|
-
};
|
|
754
|
-
export const tableWithSubActions = {
|
|
755
|
-
headers: [
|
|
756
|
-
{
|
|
757
|
-
cells: [
|
|
758
|
-
{ value: 'Name' },
|
|
759
|
-
{ value: 'Weight (kg)' },
|
|
760
|
-
{ value: 'Energy (kcal / 100g)' },
|
|
761
|
-
{ value: 'Origin' },
|
|
762
|
-
],
|
|
763
|
-
actions: [
|
|
764
|
-
{
|
|
765
|
-
primary: true,
|
|
766
|
-
label: 'Add',
|
|
767
|
-
icon: 'add',
|
|
768
|
-
onClick: () => { },
|
|
769
|
-
},
|
|
770
|
-
],
|
|
771
|
-
},
|
|
772
|
-
],
|
|
773
|
-
rows: [
|
|
774
|
-
{
|
|
775
|
-
cells: [
|
|
776
|
-
{ value: 'Brown rice' },
|
|
777
|
-
{ value: 100 },
|
|
778
|
-
{ value: 361 },
|
|
779
|
-
{ value: 'Vietnam' },
|
|
780
|
-
],
|
|
781
|
-
actions: [
|
|
782
|
-
{
|
|
783
|
-
label: 'More',
|
|
784
|
-
subActions: [
|
|
785
|
-
{
|
|
786
|
-
label: 'Move Up',
|
|
787
|
-
icon: 'up',
|
|
788
|
-
onClick: () => { },
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
label: 'Move Down',
|
|
792
|
-
icon: 'down',
|
|
793
|
-
onClick: () => { },
|
|
794
|
-
},
|
|
795
|
-
],
|
|
796
|
-
},
|
|
797
|
-
{ label: 'Delete', icon: 'minus', onClick: () => { } },
|
|
798
|
-
],
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
cells: [
|
|
802
|
-
{ value: 'Buckwheat' },
|
|
803
|
-
{ value: 50 },
|
|
804
|
-
{ value: 358 },
|
|
805
|
-
{ value: 'Poland' },
|
|
806
|
-
],
|
|
807
|
-
actions: [
|
|
808
|
-
{
|
|
809
|
-
label: 'More',
|
|
810
|
-
subActions: [
|
|
811
|
-
{
|
|
812
|
-
label: 'Move Up',
|
|
813
|
-
icon: 'up',
|
|
814
|
-
onClick: () => { },
|
|
815
|
-
},
|
|
816
|
-
{
|
|
817
|
-
label: 'Move Down',
|
|
818
|
-
icon: 'down',
|
|
819
|
-
onClick: () => { },
|
|
820
|
-
},
|
|
821
|
-
],
|
|
822
|
-
},
|
|
823
|
-
{ label: 'Delete', icon: 'minus', onClick: () => { } },
|
|
824
|
-
],
|
|
825
|
-
},
|
|
826
|
-
{
|
|
827
|
-
cells: [
|
|
828
|
-
{ value: 'Couscous' },
|
|
829
|
-
{ value: 10 },
|
|
830
|
-
{ value: 368 },
|
|
831
|
-
{ value: 'France' },
|
|
832
|
-
],
|
|
833
|
-
actions: [
|
|
834
|
-
{
|
|
835
|
-
label: 'More',
|
|
836
|
-
subActions: [
|
|
837
|
-
{
|
|
838
|
-
label: 'Move Up',
|
|
839
|
-
icon: 'up',
|
|
840
|
-
onClick: () => { },
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
label: 'Move Down',
|
|
844
|
-
icon: 'down',
|
|
845
|
-
onClick: () => { },
|
|
846
|
-
},
|
|
847
|
-
],
|
|
848
|
-
},
|
|
849
|
-
{ label: 'Delete', icon: 'minus', onClick: () => { } },
|
|
850
|
-
],
|
|
851
|
-
},
|
|
852
|
-
],
|
|
853
|
-
};
|
|
854
|
-
export const tableFooter = {
|
|
855
|
-
...table,
|
|
856
|
-
footer: {
|
|
857
|
-
content: (_jsxs(_Fragment, { children: [_jsx("strong", { children: "Footer content:" }), " goes here"] })),
|
|
858
|
-
pagination: {
|
|
859
|
-
rowCount: 500,
|
|
860
|
-
selectedPage: 10,
|
|
861
|
-
rowsPerPage: {
|
|
862
|
-
onChange: () => { },
|
|
863
|
-
options: [
|
|
864
|
-
{ label: '10 / page', value: 10 },
|
|
865
|
-
{ label: '20 / page', value: 20 },
|
|
866
|
-
{ label: '50 / page', value: 50 },
|
|
867
|
-
{ label: 'Show all', value: 0 },
|
|
868
|
-
],
|
|
869
|
-
value: 20,
|
|
870
|
-
},
|
|
871
|
-
goTo: { onChange: () => { } },
|
|
872
|
-
onSelectPage: () => { },
|
|
873
|
-
small: true,
|
|
874
|
-
},
|
|
875
|
-
actions: [{ label: 'Star', icon: 'star', onClick: () => { } }],
|
|
876
|
-
},
|
|
877
|
-
};
|
|
878
|
-
export const tableHelpLibraryIcons = {
|
|
879
|
-
...table,
|
|
880
|
-
headers: table.headers.map((header) => ({
|
|
881
|
-
...header,
|
|
882
|
-
cells: header.cells.map((cell) => ({
|
|
883
|
-
...cell,
|
|
884
|
-
helpIcon: {
|
|
885
|
-
onClick: () => console.log('Help clicked'),
|
|
886
|
-
tooltip: 'Help text goes here',
|
|
887
|
-
},
|
|
888
|
-
libraryIcon: {
|
|
889
|
-
onClick: () => console.log('Library clicked'),
|
|
890
|
-
tooltip: 'Edit in library',
|
|
891
|
-
},
|
|
892
|
-
})),
|
|
893
|
-
})),
|
|
894
|
-
};
|
|
895
|
-
export const tableOverflowing = {
|
|
896
|
-
columnWidths: [undefined, '100px', '100px', '100px', undefined],
|
|
897
|
-
columnAlignment: ['left', 'right', 'left', 'left', 'left', 'right'],
|
|
898
|
-
columnHeaderAlignments: [['left', 'right', 'left', 'left', 'left', 'right']],
|
|
899
|
-
headers: [
|
|
900
|
-
{
|
|
901
|
-
cells: [
|
|
902
|
-
{
|
|
903
|
-
value: 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed doeius mod tempor incididunt laboreet dolore magna aliqua',
|
|
904
|
-
},
|
|
905
|
-
{ value: 'Weight (kg)' },
|
|
906
|
-
{ value: 'Energy (kcal / 100g)' },
|
|
907
|
-
{ value: 'Origin' },
|
|
908
|
-
{ value: 'Static' },
|
|
909
|
-
{ value: 'Static Right' },
|
|
910
|
-
],
|
|
911
|
-
},
|
|
912
|
-
],
|
|
913
|
-
rows: [
|
|
914
|
-
{
|
|
915
|
-
cells: [
|
|
916
|
-
{
|
|
917
|
-
breakWord: true,
|
|
918
|
-
value: 'LoremipsumdolorsitametconsecteturadipiscingelitseddoeiusmodtemporincididuntutlaboreetdoloremagnaaliquaUtenimadminimveniamquisnostrudexercitationullamcolaborisnisiutaliquipexeacommodoconsequatDuisauteiruredolorinreprehenderitinvoluptatevelitessecillumdoloreeullamcolaborisnisiutaliquipexeacommodoconsequatDuisauteiruredolorinreprehenderitinvoluptatevelitessecillumdoloreeufugiatnullapariaturufugiatnullapariatur',
|
|
919
|
-
},
|
|
920
|
-
{
|
|
921
|
-
type: 'Select',
|
|
922
|
-
native: true,
|
|
923
|
-
options: [
|
|
924
|
-
{ label: 50, value: 50 },
|
|
925
|
-
{ label: 100, value: 100 },
|
|
926
|
-
],
|
|
927
|
-
value: { label: 100, value: 100 },
|
|
928
|
-
onChange: () => { },
|
|
929
|
-
disabled: true,
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
type: 'Select',
|
|
933
|
-
options: [
|
|
934
|
-
{ label: 'Vietnam', value: 'Vietnam' },
|
|
935
|
-
{ label: 'Other', value: 'Other' },
|
|
936
|
-
],
|
|
937
|
-
value: { label: 'Vietnam', value: 'Vietnam' },
|
|
938
|
-
onChange: () => { },
|
|
939
|
-
error: 'Error',
|
|
940
|
-
},
|
|
941
|
-
{
|
|
942
|
-
value: 'Brown rice',
|
|
943
|
-
type: 'Input',
|
|
944
|
-
onChange: () => { },
|
|
945
|
-
testId: 'table-tbody-cell-brown-rice',
|
|
946
|
-
warning: 'Warning message',
|
|
947
|
-
},
|
|
948
|
-
{
|
|
949
|
-
value: 'Static warning',
|
|
950
|
-
warning: 'Warning message',
|
|
951
|
-
},
|
|
952
|
-
{
|
|
953
|
-
value: '100',
|
|
954
|
-
},
|
|
955
|
-
],
|
|
956
|
-
},
|
|
957
|
-
{
|
|
958
|
-
cells: [
|
|
959
|
-
{ value: 'Buckwheat' },
|
|
960
|
-
{
|
|
961
|
-
type: 'Select',
|
|
962
|
-
native: true,
|
|
963
|
-
options: [
|
|
964
|
-
{ label: 50, value: 50 },
|
|
965
|
-
{ label: 100, value: 100 },
|
|
966
|
-
],
|
|
967
|
-
value: { label: 100, value: 100 },
|
|
968
|
-
onChange: () => { },
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
type: 'Select',
|
|
972
|
-
options: [
|
|
973
|
-
{ label: 'Vietnam', value: 'Vietnam' },
|
|
974
|
-
{ label: 'Other', value: 'Other' },
|
|
975
|
-
],
|
|
976
|
-
value: { label: 'Vietnam', value: 'Vietnam' },
|
|
977
|
-
onChange: () => { },
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
value: 'Brown rice',
|
|
981
|
-
type: 'Input',
|
|
982
|
-
onChange: () => { },
|
|
983
|
-
testId: 'table-tbody-cell-brown-rice',
|
|
984
|
-
},
|
|
985
|
-
{
|
|
986
|
-
type: 'Link',
|
|
987
|
-
value: 'Static error link',
|
|
988
|
-
error: 'Error message',
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
value: '100',
|
|
992
|
-
},
|
|
993
|
-
],
|
|
994
|
-
},
|
|
995
|
-
],
|
|
996
|
-
};
|