@oliasoft-open-source/react-ui-library 4.0.0-beta-76 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/404.html +1 -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/index-19cea2db.css +28195 -0
- package/dist/assets/{index-20a759e1.js → index-8ffb7022.js} +918 -915
- package/dist/index.html +1 -1
- package/dist/storybook/assets/Color-6VNJS4EI-f5850230.js +1 -0
- package/dist/storybook/assets/DocsRenderer-NNNQARDV-3228161f.js +1 -0
- package/dist/storybook/assets/Lato-Bold-ae88fc0d.woff2 +0 -0
- package/dist/storybook/assets/Lato-BoldItalic-c0916a33.woff2 +0 -0
- package/dist/storybook/assets/Lato-Italic-4465765f.woff2 +0 -0
- package/dist/storybook/assets/Lato-Regular-983b0caf.woff2 +0 -0
- package/dist/storybook/assets/WithTooltip-4HIR6TLV-22ec8d70.js +1 -0
- package/dist/storybook/assets/accordion-525b2fab.css +1 -0
- package/dist/storybook/assets/accordion-9fdba428.js +1 -0
- package/dist/storybook/assets/{accordion.stories-ad03b4bc.js → accordion.stories-3d0142a2.js} +2 -2
- package/dist/storybook/assets/accordion.stories-ac37cb89.css +1 -0
- package/dist/storybook/assets/actions-15aa4d2d.js +1 -0
- package/dist/storybook/assets/actions-3070a94c.css +1 -0
- package/dist/storybook/assets/{actions.stories-a38cd26e.js → actions.stories-142ec4d0.js} +1 -1
- package/dist/storybook/assets/afe.stories-f1ee171a.js +89 -0
- package/dist/storybook/assets/badge-71433498.css +1 -0
- package/dist/storybook/assets/badge-b5b5b5ae.js +1 -0
- package/dist/storybook/assets/{badge.stories-1cbf35f9.js → badge.stories-64f4c748.js} +1 -1
- package/dist/storybook/assets/blowout.stories-4da5d715.js +40 -0
- package/dist/storybook/assets/breadcrumb.stories-136b2054.js +1 -0
- package/dist/storybook/assets/breadcrumb.stories-ec30543a.css +1 -0
- package/dist/storybook/assets/button-4b8f889a.css +1 -0
- package/dist/storybook/assets/button-8a0f5308.js +1 -0
- package/dist/storybook/assets/button-group-2c67f8a4.css +1 -0
- package/dist/storybook/assets/button-group-801d7130.js +1 -0
- package/dist/storybook/assets/{button-group.stories-7659a587.js → button-group.stories-b2a4fab2.js} +1 -1
- package/dist/storybook/assets/button.stories-8c0d7230.js +61 -0
- package/dist/storybook/assets/buttons-and-links-5fa499f7.js +14 -0
- package/dist/storybook/assets/card-1c1f9162.css +1 -0
- package/dist/storybook/assets/card-3e67b904.js +1 -0
- package/dist/storybook/assets/{card.stories-0437a4e2.js → card.stories-5057b7e4.js} +1 -1
- package/dist/storybook/assets/casing-loads.stories-e488810c.js +209 -0
- package/dist/storybook/assets/{cell.stories-d4e422d8.js → cell.stories-d4ae5746.js} +2 -2
- package/dist/storybook/assets/check-box-107d61fc.js +1 -0
- package/dist/storybook/assets/check-box-94e34dc5.css +1 -0
- package/dist/storybook/assets/check-box.stories-cc9ad863.js +49 -0
- package/dist/storybook/assets/{chunk-HLWAVYOI-f45033a0.js → chunk-HLWAVYOI-87a6c0a5.js} +1 -1
- package/dist/storybook/assets/color-acf04c8b.js +11 -0
- package/dist/storybook/assets/{column.stories-8cfe0ecc.js → column.stories-e430553e.js} +9 -9
- package/dist/storybook/assets/common-types-3a5f9d98.js +1 -0
- package/dist/storybook/assets/{config-f7e17b17.js → config-1628eeac.js} +26 -26
- package/dist/storybook/assets/dialog-4e7f29a6.css +1 -0
- package/dist/storybook/assets/dialog-7490d36e.js +1 -0
- package/dist/storybook/assets/divider-662a7bed.css +1 -0
- package/dist/storybook/assets/divider-fb60bbde.js +1 -0
- package/dist/storybook/assets/{divider.stories-60c6cd1d.js → divider.stories-bcefaa9e.js} +1 -1
- package/dist/storybook/assets/drawer-112c042f.css +1 -0
- package/dist/storybook/assets/{drawer-907c8484.js → drawer-e728f151.js} +2 -2
- package/dist/storybook/assets/drawer.stories-4a7577fb.js +109 -0
- package/dist/storybook/assets/empty.stories-628b1f43.css +1 -0
- package/dist/storybook/assets/empty.stories-a4b67b35.js +1 -0
- package/dist/storybook/assets/field-9d8b2e8b.js +7 -0
- package/dist/storybook/assets/field-bc01d139.css +1 -0
- package/dist/storybook/assets/field.stories-ae4af0d4.js +44 -0
- package/dist/storybook/assets/{file-input.stories-6878a9b8.js → file-input.stories-4877047e.js} +1 -1
- package/dist/storybook/assets/flex-4bc3b694.js +1 -0
- package/dist/storybook/assets/{flex.stories-6a278b40.js → flex.stories-14bb111a.js} +1 -1
- package/dist/storybook/assets/footer.stories-9c7d0117.js +3 -0
- package/dist/storybook/assets/form-row-62481e7e.css +1 -0
- package/dist/storybook/assets/form-row-e13cb51c.js +1 -0
- package/dist/storybook/assets/form.stories-f607f1d7.js +49 -0
- package/dist/storybook/assets/formation.stories-93c19951.js +74 -0
- package/dist/storybook/assets/{formatter-SWP5E3XI-a593829d.js → formatter-SWP5E3XI-78fcfb2f.js} +2 -2
- package/dist/storybook/assets/grid-bdd5bfc0.js +15 -0
- package/dist/storybook/assets/{grid.stories-bf68df4a.js → grid.stories-e21fa5e2.js} +1 -1
- package/dist/storybook/assets/heading-ac9164cb.css +1 -0
- package/dist/storybook/assets/heading-ec1532e4.js +1 -0
- package/dist/storybook/assets/{heading.stories-6ff7f5ed.js → heading.stories-7dbe6755.js} +4 -4
- package/dist/storybook/assets/help-icon-191ef5ef.css +1 -0
- package/dist/storybook/assets/{help-icon-c0abd380.js → help-icon-3041deab.js} +1 -1
- package/dist/storybook/assets/{help-icon.stories-a30b7058.js → help-icon.stories-fc8576e7.js} +1 -1
- package/dist/storybook/assets/icon-678900bc.css +1 -0
- package/dist/storybook/assets/icon-ce35c889.js +8 -0
- package/dist/storybook/assets/icon.stories-eb636561.js +6 -0
- package/dist/storybook/assets/icons8-junction-2d176da1.svg +4 -0
- package/dist/storybook/assets/icons8-junction-3a487c26.js +1 -0
- package/dist/storybook/assets/iframe-529fb939.js +1 -0
- package/dist/storybook/assets/{index-cf68f115.js → index-97a99495.js} +1 -1
- package/dist/storybook/assets/index-da4c9412.js +364 -0
- package/dist/storybook/assets/{index.es-37e2ce0d.js → index.es-2fe9f7ec.js} +4 -4
- package/dist/storybook/assets/inheritsLoose-d4851ab8.js +1 -0
- package/dist/storybook/assets/input-6e66348d.css +1 -0
- package/dist/storybook/assets/input-f5960ca1.js +1 -0
- package/dist/storybook/assets/input-group-0ccd8ab2.js +1 -0
- package/dist/storybook/assets/input-group-21ee5488.css +1 -0
- package/dist/storybook/assets/input-group-addon-1b2fe0a2.css +1 -0
- package/dist/storybook/assets/input-group-addon-9c5ee64d.js +1 -0
- package/dist/storybook/assets/{input-group.stories-40320b11.js → input-group.stories-f3486b7e.js} +2 -2
- package/dist/storybook/assets/{input-validation-5b81e7b5.js → input-validation-d95b6f1d.js} +2 -2
- package/dist/storybook/assets/input.stories-1a3053b2.js +17 -0
- package/dist/storybook/assets/{inputs-9c7c91ec.js → inputs-4de4b348.js} +2 -2
- package/dist/storybook/assets/label-275c5215.js +7 -0
- package/dist/storybook/assets/label-858be3a9.css +1 -0
- package/dist/storybook/assets/{label.stories-1c98204a.js → label.stories-edcbd8d5.js} +1 -1
- package/dist/storybook/assets/layout-forms-b4870cb8.js +16 -0
- package/dist/storybook/assets/{layout-general-37bf0a57.js → layout-general-d1966b47.js} +4 -4
- package/dist/storybook/assets/list-54a3245f.js +8 -0
- package/dist/storybook/assets/list-heading-69656301.css +1 -0
- package/dist/storybook/assets/list-heading-c91b473d.js +1 -0
- package/dist/storybook/assets/{list.stories-c8b4f325.js → list.stories-456a7802.js} +2 -2
- package/dist/storybook/assets/list.stories-data-6b871b1a.js +1 -0
- package/dist/storybook/assets/loader-54efe57c.js +1 -0
- package/dist/storybook/assets/loader-e63e6355.css +1 -0
- package/dist/storybook/assets/{loader.stories-4e8e8df7.js → loader.stories-4a323528.js} +1 -1
- package/dist/storybook/assets/{menu.stories-data-28e27478.js → menu.stories-data-44ff43c0.js} +1 -1
- package/dist/storybook/assets/{menu.stories-8d724757.js → menu.stories-dbefe151.js} +1 -1
- package/dist/storybook/assets/message-be82e7d4.css +1 -0
- package/dist/storybook/assets/message-dc76f113.js +1 -0
- package/dist/storybook/assets/{message.stories-9b9c40c4.js → message.stories-e5835c17.js} +9 -43
- package/dist/storybook/assets/{modal.stories-bc062916.js → modal.stories-aa4e0c3c.js} +2 -2
- package/dist/storybook/assets/{number-input-7cb3ea4d.js → number-input-bd9ce0d8.js} +1 -1
- package/dist/storybook/assets/{number-input.stories-d69977eb.js → number-input.stories-5e403f37.js} +2 -2
- package/dist/storybook/assets/option-dropdown.stories-674da84d.js +21 -0
- package/dist/storybook/assets/option-dropdown.stories-ed561ab5.css +1 -0
- package/dist/storybook/assets/page-1a36abc8.js +1 -0
- package/dist/storybook/assets/page-2695c4f2.css +1 -0
- package/dist/storybook/assets/{page.stories-5237223c.js → page.stories-503e5c38.js} +1 -1
- package/dist/storybook/assets/{pagination-27bfe219.js → pagination-8a57e64c.js} +1 -1
- package/dist/storybook/assets/{pagination.stories-d649f147.js → pagination.stories-f94fc786.js} +2 -2
- package/dist/storybook/assets/{pop-confirm.stories-eacd6c1c.js → pop-confirm.stories-1e772e4a.js} +4 -4
- package/dist/storybook/assets/pop-confirm.stories-987a0dbc.css +1 -0
- package/dist/storybook/assets/popover-66b44246.js +1 -0
- package/dist/storybook/assets/popover-e1591e30.css +1 -0
- package/dist/storybook/assets/popover.stories-c447ef85.js +1 -0
- package/dist/storybook/assets/preview-22770a6e.js +1 -0
- package/dist/storybook/assets/preview-7738a2f2.js +151 -0
- package/dist/storybook/assets/preview-99060a0f.css +1 -0
- package/dist/storybook/assets/projects.stories-c7d63b2a.js +46 -0
- package/dist/storybook/assets/radio-button-117d386e.js +1 -0
- package/dist/storybook/assets/radio-button-72d78cec.css +1 -0
- package/dist/storybook/assets/radio-button.stories-59c89310.js +41 -0
- package/dist/storybook/assets/{reservoirs.stories-fdd214af.js → reservoirs.stories-44079623.js} +5 -4
- package/dist/storybook/assets/{rich-text-input.stories-023a1c99.css → rich-text-input.stories-683b1e08.css} +1 -1
- package/dist/storybook/assets/{rich-text-input.stories-9e13d090.js → rich-text-input.stories-c4f55b1d.js} +3 -3
- package/dist/storybook/assets/row-8eeaa564.css +1 -0
- package/dist/storybook/assets/row-f26d47b5.js +39 -0
- package/dist/storybook/assets/{row.stories-dbcfcbe1.js → row.stories-530fc77e.js} +2 -2
- package/dist/storybook/assets/select-1d89adb8.css +1 -0
- package/dist/storybook/assets/select-b09da604.js +1 -0
- package/dist/storybook/assets/{select.stories-151c4801.js → select.stories-085dc8d6.js} +2 -2
- package/dist/storybook/assets/side-bar-04dfa34e.css +1 -0
- package/dist/storybook/assets/side-bar-751e7461.js +1 -0
- package/dist/storybook/assets/side-bar.stories-205b027a.js +1 -0
- package/dist/storybook/assets/{site.stories-31c1365b.js → site.stories-0ad351a8.js} +10 -9
- package/dist/storybook/assets/slider-4cf22613.js +7 -0
- package/dist/storybook/assets/slider-876efa63.css +1 -0
- package/dist/storybook/assets/{slider.stories-a55df653.js → slider.stories-d6d94449.js} +2 -2
- package/dist/storybook/assets/spacer-b33ecb12.js +1 -0
- package/dist/storybook/assets/spacer.stories-1f2b973c.js +1 -0
- package/dist/storybook/assets/spinner-4948799e.js +1 -0
- package/dist/storybook/assets/spinner-9cd41d19.css +1 -0
- package/dist/storybook/assets/spinner.stories-4c0e6c6a.js +6 -0
- package/dist/storybook/assets/syntaxhighlighter-NMPM6SWI-65dab71a.js +1 -0
- package/dist/storybook/assets/table-4577f430.js +1 -0
- package/dist/storybook/assets/table-fc60163a.css +1 -0
- package/dist/storybook/assets/table.stories-data-36b51ec6.js +1 -0
- package/dist/storybook/assets/{table.stories-9251bb1e.js → table.stories-e92ed8f5.js} +2 -2
- package/dist/storybook/assets/tabs-633ac3c9.css +1 -0
- package/dist/storybook/assets/tabs-e917de9f.js +1 -0
- package/dist/storybook/assets/{tabs.stories-c962aeea.js → tabs.stories-71b39e1f.js} +1 -1
- package/dist/storybook/assets/text-449f16cc.css +1 -0
- package/dist/storybook/assets/text-78efb253.js +1 -0
- package/dist/storybook/assets/{text-link.stories-c1227c6f.js → text-link.stories-aa9527a2.js} +1 -1
- package/dist/storybook/assets/text.stories-77c9e317.js +1 -0
- package/dist/storybook/assets/textarea-4305a8f9.js +1 -0
- package/dist/storybook/assets/textarea-e4db0752.css +1 -0
- package/dist/storybook/assets/{textarea.stories-02879684.js → textarea.stories-d44a0c16.js} +1 -1
- package/dist/storybook/assets/{title.stories-f438f1b4.js → title.stories-50ddba28.js} +2 -2
- package/dist/storybook/assets/{toaster-ec06371b.css → toaster-41028eac.css} +1 -1
- package/dist/storybook/assets/{toaster-65c600e3.js → toaster-cf8976cf.js} +1 -1
- package/dist/storybook/assets/{toaster.stories-d2b0218f.js → toaster.stories-22a924ea.js} +1 -1
- package/dist/storybook/assets/toggle-1072546b.js +1 -0
- package/dist/storybook/assets/toggle-77558d28.css +1 -0
- package/dist/storybook/assets/toggle.stories-4aa906cd.js +84 -0
- package/dist/storybook/assets/tooltip-bdf67884.css +1 -0
- package/dist/storybook/assets/{tooltip-856042a7.js → tooltip-eb0f0865.js} +4 -4
- package/dist/storybook/assets/{tooltip.stories-666868d0.js → tooltip.stories-e4cbe195.js} +1 -1
- package/dist/storybook/assets/{tooltip.test-case.stories-4c1ea273.js → tooltip.test-case.stories-afedd312.js} +1 -1
- package/dist/storybook/assets/top-bar-5bb7221b.js +1 -0
- package/dist/storybook/assets/top-bar-e0b5a720.css +1 -0
- package/dist/storybook/assets/top-bar.stories-80222eb8.js +1 -0
- package/dist/storybook/assets/{top-bar.testcase.stories-dc051455.js → top-bar.testcase.stories-be59c3ab.js} +1 -1
- package/dist/storybook/assets/tree.stories-154364be.css +1 -0
- package/dist/storybook/assets/{tree.stories-802beca3.js → tree.stories-d2beee3c.js} +2 -2
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/index.json +1 -1
- package/dist/storybook/project.json +1 -1
- package/dist/storybook/stories.json +1 -1
- package/package.json +1 -1
- package/dist/assets/bg-rock-164a1bdb.jpg +0 -0
- package/dist/assets/index-9f2f8de9.css +0 -11209
- package/dist/assets/noto-sans-cyrillic-400-italic-e1366c30.woff +0 -0
- package/dist/assets/noto-sans-cyrillic-400-italic-f452db2a.woff2 +0 -0
- package/dist/assets/noto-sans-cyrillic-400-normal-85078bfb.woff +0 -0
- package/dist/assets/noto-sans-cyrillic-400-normal-aabb2e68.woff2 +0 -0
- package/dist/assets/noto-sans-cyrillic-700-italic-5e3a3f90.woff +0 -0
- package/dist/assets/noto-sans-cyrillic-700-italic-640c1f3c.woff2 +0 -0
- package/dist/assets/noto-sans-cyrillic-700-normal-6debf38d.woff +0 -0
- package/dist/assets/noto-sans-cyrillic-700-normal-94f49d79.woff2 +0 -0
- package/dist/assets/noto-sans-cyrillic-ext-400-italic-4a066f39.woff2 +0 -0
- package/dist/assets/noto-sans-cyrillic-ext-400-italic-d41caa22.woff +0 -0
- package/dist/assets/noto-sans-cyrillic-ext-400-normal-0b48f539.woff2 +0 -0
- package/dist/assets/noto-sans-cyrillic-ext-400-normal-9e486f9d.woff +0 -0
- package/dist/assets/noto-sans-cyrillic-ext-700-italic-34dc50df.woff +0 -0
- package/dist/assets/noto-sans-cyrillic-ext-700-italic-c926d08f.woff2 +0 -0
- package/dist/assets/noto-sans-cyrillic-ext-700-normal-8967b221.woff2 +0 -0
- package/dist/assets/noto-sans-cyrillic-ext-700-normal-dac487d5.woff +0 -0
- package/dist/assets/noto-sans-devanagari-400-italic-c23c3bcb.woff +0 -0
- package/dist/assets/noto-sans-devanagari-400-italic-cf2ab1aa.woff2 +0 -0
- package/dist/assets/noto-sans-devanagari-400-normal-4dbee9f9.woff +0 -0
- package/dist/assets/noto-sans-devanagari-400-normal-ad99c6e6.woff2 +0 -0
- package/dist/assets/noto-sans-devanagari-700-italic-464b905e.woff +0 -0
- package/dist/assets/noto-sans-devanagari-700-italic-91e684f1.woff2 +0 -0
- package/dist/assets/noto-sans-devanagari-700-normal-0076830d.woff +0 -0
- package/dist/assets/noto-sans-devanagari-700-normal-cb6a5f18.woff2 +0 -0
- package/dist/assets/noto-sans-greek-400-italic-4150066f.woff2 +0 -0
- package/dist/assets/noto-sans-greek-400-italic-7371763a.woff +0 -0
- package/dist/assets/noto-sans-greek-400-normal-39bdd4b2.woff +0 -0
- package/dist/assets/noto-sans-greek-400-normal-87c15bdb.woff2 +0 -0
- package/dist/assets/noto-sans-greek-700-italic-b7feb202.woff2 +0 -0
- package/dist/assets/noto-sans-greek-700-italic-f4cc4f0b.woff +0 -0
- package/dist/assets/noto-sans-greek-700-normal-2ab560ee.woff +0 -0
- package/dist/assets/noto-sans-greek-700-normal-741a8ce4.woff2 +0 -0
- package/dist/assets/noto-sans-greek-ext-400-italic-521abdae.woff +0 -0
- package/dist/assets/noto-sans-greek-ext-400-italic-b4229535.woff2 +0 -0
- package/dist/assets/noto-sans-greek-ext-400-normal-5e0d248b.woff2 +0 -0
- package/dist/assets/noto-sans-greek-ext-400-normal-a321d2bc.woff +0 -0
- package/dist/assets/noto-sans-greek-ext-700-italic-4f4d843e.woff +0 -0
- package/dist/assets/noto-sans-greek-ext-700-italic-656e9e8a.woff2 +0 -0
- package/dist/assets/noto-sans-greek-ext-700-normal-9e1e15e5.woff2 +0 -0
- package/dist/assets/noto-sans-greek-ext-700-normal-fe405e93.woff +0 -0
- package/dist/assets/noto-sans-latin-400-italic-36bfecf9.woff +0 -0
- package/dist/assets/noto-sans-latin-400-italic-76feca1e.woff2 +0 -0
- package/dist/assets/noto-sans-latin-400-normal-a6fd04ca.woff +0 -0
- package/dist/assets/noto-sans-latin-400-normal-ae90c002.woff2 +0 -0
- package/dist/assets/noto-sans-latin-700-italic-0114b623.woff2 +0 -0
- package/dist/assets/noto-sans-latin-700-italic-090e554c.woff +0 -0
- package/dist/assets/noto-sans-latin-700-normal-3e647021.woff +0 -0
- package/dist/assets/noto-sans-latin-700-normal-58083c3b.woff2 +0 -0
- package/dist/assets/noto-sans-latin-ext-400-italic-000f0939.woff2 +0 -0
- package/dist/assets/noto-sans-latin-ext-400-italic-209f50d8.woff +0 -0
- package/dist/assets/noto-sans-latin-ext-400-normal-0471a144.woff2 +0 -0
- package/dist/assets/noto-sans-latin-ext-400-normal-05741022.woff +0 -0
- package/dist/assets/noto-sans-latin-ext-700-italic-2ce43666.woff2 +0 -0
- package/dist/assets/noto-sans-latin-ext-700-italic-d6cafb04.woff +0 -0
- package/dist/assets/noto-sans-latin-ext-700-normal-22b9ec3f.woff +0 -0
- package/dist/assets/noto-sans-latin-ext-700-normal-2686da46.woff2 +0 -0
- package/dist/assets/noto-sans-vietnamese-400-italic-4b406d13.woff +0 -0
- package/dist/assets/noto-sans-vietnamese-400-italic-771fc68a.woff2 +0 -0
- package/dist/assets/noto-sans-vietnamese-400-normal-6e416387.woff +0 -0
- package/dist/assets/noto-sans-vietnamese-400-normal-7fa5e6cb.woff2 +0 -0
- package/dist/assets/noto-sans-vietnamese-700-italic-6ab2edd3.woff2 +0 -0
- package/dist/assets/noto-sans-vietnamese-700-italic-74a23856.woff +0 -0
- package/dist/assets/noto-sans-vietnamese-700-normal-0f8a5c93.woff2 +0 -0
- package/dist/assets/noto-sans-vietnamese-700-normal-a84e25c4.woff +0 -0
- package/dist/storybook/assets/Color-6VNJS4EI-2313fdb3.js +0 -1
- package/dist/storybook/assets/DocsRenderer-NNNQARDV-cc73aba9.js +0 -1
- package/dist/storybook/assets/WithTooltip-4HIR6TLV-e74626d1.js +0 -1
- package/dist/storybook/assets/accordion-1b587708.js +0 -1
- package/dist/storybook/assets/accordion-e6b28b2f.css +0 -1
- package/dist/storybook/assets/accordion.stories-e92bccf3.css +0 -1
- package/dist/storybook/assets/actions-77ea67be.css +0 -1
- package/dist/storybook/assets/actions-83a2a04e.js +0 -1
- package/dist/storybook/assets/afe.stories-cee81eae.js +0 -88
- package/dist/storybook/assets/badge-20e7ee0b.js +0 -1
- package/dist/storybook/assets/badge-2476bcf1.css +0 -1
- package/dist/storybook/assets/bg-rock-164a1bdb.jpg +0 -0
- package/dist/storybook/assets/blowout.stories-82d6a756.js +0 -40
- package/dist/storybook/assets/breadcrumb.stories-a644544e.css +0 -1
- package/dist/storybook/assets/breadcrumb.stories-e4334a75.js +0 -1
- package/dist/storybook/assets/button-050c998a.js +0 -1
- package/dist/storybook/assets/button-7c35ef6e.css +0 -1
- package/dist/storybook/assets/button-group-0176fca3.js +0 -1
- package/dist/storybook/assets/button-group-ca0fb5b4.css +0 -1
- package/dist/storybook/assets/button.stories-5f73ddef.js +0 -71
- package/dist/storybook/assets/buttons-and-links-0ccd326b.js +0 -14
- package/dist/storybook/assets/card-13420d4a.css +0 -1
- package/dist/storybook/assets/card-3847c251.js +0 -1
- package/dist/storybook/assets/casing-loads.stories-656e5aae.js +0 -209
- package/dist/storybook/assets/check-box-960c9b05.css +0 -1
- package/dist/storybook/assets/check-box-b38490e5.js +0 -1
- package/dist/storybook/assets/check-box.stories-9bf1c260.js +0 -97
- package/dist/storybook/assets/color-753c68c1.js +0 -25
- package/dist/storybook/assets/common-types-2c81813f.js +0 -1
- package/dist/storybook/assets/dialog-4c8a6ebd.js +0 -1
- package/dist/storybook/assets/dialog-8e840c50.css +0 -1
- package/dist/storybook/assets/divider-182aa58c.js +0 -1
- package/dist/storybook/assets/divider-241be35b.css +0 -1
- package/dist/storybook/assets/drawer-21c7feed.css +0 -1
- package/dist/storybook/assets/drawer.stories-4b58fc68.js +0 -113
- package/dist/storybook/assets/empty.stories-30fdd793.js +0 -1
- package/dist/storybook/assets/empty.stories-9914c767.css +0 -1
- package/dist/storybook/assets/extends-98964cd2.js +0 -1
- package/dist/storybook/assets/field-1e434b15.css +0 -1
- package/dist/storybook/assets/field-248df38c.js +0 -7
- package/dist/storybook/assets/field.stories-60d1a82f.js +0 -49
- package/dist/storybook/assets/flex-1d14d86c.js +0 -1
- package/dist/storybook/assets/footer.stories-6bfdf4a6.js +0 -3
- package/dist/storybook/assets/form-row-19dd7f6e.js +0 -1
- package/dist/storybook/assets/form-row-5bcba379.css +0 -1
- package/dist/storybook/assets/form.stories-c29a7b5c.js +0 -49
- package/dist/storybook/assets/formation.stories-ab5ccc2b.js +0 -74
- package/dist/storybook/assets/grid-3b729f81.js +0 -15
- package/dist/storybook/assets/heading-39e599c8.js +0 -1
- package/dist/storybook/assets/heading-5f132816.css +0 -1
- package/dist/storybook/assets/help-icon-7c4fbd39.css +0 -1
- package/dist/storybook/assets/icon-8acf9925.js +0 -8
- package/dist/storybook/assets/icon-custom-822ce507.js +0 -1
- package/dist/storybook/assets/icon-custom-e24cd2fb.svg +0 -1
- package/dist/storybook/assets/icon-e56ff3c6.css +0 -1
- package/dist/storybook/assets/icon.stories-466d158f.js +0 -6
- package/dist/storybook/assets/iframe-95ffacc3.js +0 -1
- package/dist/storybook/assets/index-72565c00.js +0 -364
- package/dist/storybook/assets/inheritsLoose-c82a83d4.js +0 -1
- package/dist/storybook/assets/input-05f21b51.js +0 -1
- package/dist/storybook/assets/input-5552adb5.css +0 -1
- package/dist/storybook/assets/input-group-20c3add3.js +0 -1
- package/dist/storybook/assets/input-group-a73e9700.css +0 -1
- package/dist/storybook/assets/input-group-addon-f572ad00.css +0 -1
- package/dist/storybook/assets/input-group-addon-f8f6683a.js +0 -1
- package/dist/storybook/assets/input.stories-bf58ba7c.js +0 -41
- package/dist/storybook/assets/isPlainObject-1cdd40eb.js +0 -1
- package/dist/storybook/assets/label-e6d15b59.js +0 -7
- package/dist/storybook/assets/label-fc529eb8.css +0 -1
- package/dist/storybook/assets/layout-forms-983b0601.js +0 -16
- package/dist/storybook/assets/list-bc0d9ad9.js +0 -8
- package/dist/storybook/assets/list-heading-2215213f.js +0 -1
- package/dist/storybook/assets/list-heading-d7e578fa.css +0 -1
- package/dist/storybook/assets/list.stories-data-ba40864f.js +0 -1
- package/dist/storybook/assets/loader-85a5e78d.css +0 -1
- package/dist/storybook/assets/loader-87ec8334.js +0 -1
- package/dist/storybook/assets/message-0b5ae3c5.js +0 -1
- package/dist/storybook/assets/message-b56c617e.css +0 -1
- package/dist/storybook/assets/noto-sans-cyrillic-400-italic-e1366c30.woff +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-400-italic-f452db2a.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-400-normal-85078bfb.woff +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-400-normal-aabb2e68.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-700-italic-5e3a3f90.woff +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-700-italic-640c1f3c.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-700-normal-6debf38d.woff +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-700-normal-94f49d79.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-ext-400-italic-4a066f39.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-ext-400-italic-d41caa22.woff +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-ext-400-normal-0b48f539.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-ext-400-normal-9e486f9d.woff +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-ext-700-italic-34dc50df.woff +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-ext-700-italic-c926d08f.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-ext-700-normal-8967b221.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-cyrillic-ext-700-normal-dac487d5.woff +0 -0
- package/dist/storybook/assets/noto-sans-devanagari-400-italic-c23c3bcb.woff +0 -0
- package/dist/storybook/assets/noto-sans-devanagari-400-italic-cf2ab1aa.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-devanagari-400-normal-4dbee9f9.woff +0 -0
- package/dist/storybook/assets/noto-sans-devanagari-400-normal-ad99c6e6.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-devanagari-700-italic-464b905e.woff +0 -0
- package/dist/storybook/assets/noto-sans-devanagari-700-italic-91e684f1.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-devanagari-700-normal-0076830d.woff +0 -0
- package/dist/storybook/assets/noto-sans-devanagari-700-normal-cb6a5f18.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-greek-400-italic-4150066f.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-greek-400-italic-7371763a.woff +0 -0
- package/dist/storybook/assets/noto-sans-greek-400-normal-39bdd4b2.woff +0 -0
- package/dist/storybook/assets/noto-sans-greek-400-normal-87c15bdb.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-greek-700-italic-b7feb202.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-greek-700-italic-f4cc4f0b.woff +0 -0
- package/dist/storybook/assets/noto-sans-greek-700-normal-2ab560ee.woff +0 -0
- package/dist/storybook/assets/noto-sans-greek-700-normal-741a8ce4.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-greek-ext-400-italic-521abdae.woff +0 -0
- package/dist/storybook/assets/noto-sans-greek-ext-400-italic-b4229535.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-greek-ext-400-normal-5e0d248b.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-greek-ext-400-normal-a321d2bc.woff +0 -0
- package/dist/storybook/assets/noto-sans-greek-ext-700-italic-4f4d843e.woff +0 -0
- package/dist/storybook/assets/noto-sans-greek-ext-700-italic-656e9e8a.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-greek-ext-700-normal-9e1e15e5.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-greek-ext-700-normal-fe405e93.woff +0 -0
- package/dist/storybook/assets/noto-sans-latin-400-italic-36bfecf9.woff +0 -0
- package/dist/storybook/assets/noto-sans-latin-400-italic-76feca1e.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-latin-400-normal-a6fd04ca.woff +0 -0
- package/dist/storybook/assets/noto-sans-latin-400-normal-ae90c002.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-latin-700-italic-0114b623.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-latin-700-italic-090e554c.woff +0 -0
- package/dist/storybook/assets/noto-sans-latin-700-normal-3e647021.woff +0 -0
- package/dist/storybook/assets/noto-sans-latin-700-normal-58083c3b.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-latin-ext-400-italic-000f0939.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-latin-ext-400-italic-209f50d8.woff +0 -0
- package/dist/storybook/assets/noto-sans-latin-ext-400-normal-0471a144.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-latin-ext-400-normal-05741022.woff +0 -0
- package/dist/storybook/assets/noto-sans-latin-ext-700-italic-2ce43666.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-latin-ext-700-italic-d6cafb04.woff +0 -0
- package/dist/storybook/assets/noto-sans-latin-ext-700-normal-22b9ec3f.woff +0 -0
- package/dist/storybook/assets/noto-sans-latin-ext-700-normal-2686da46.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-vietnamese-400-italic-4b406d13.woff +0 -0
- package/dist/storybook/assets/noto-sans-vietnamese-400-italic-771fc68a.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-vietnamese-400-normal-6e416387.woff +0 -0
- package/dist/storybook/assets/noto-sans-vietnamese-400-normal-7fa5e6cb.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-vietnamese-700-italic-6ab2edd3.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-vietnamese-700-italic-74a23856.woff +0 -0
- package/dist/storybook/assets/noto-sans-vietnamese-700-normal-0f8a5c93.woff2 +0 -0
- package/dist/storybook/assets/noto-sans-vietnamese-700-normal-a84e25c4.woff +0 -0
- package/dist/storybook/assets/option-dropdown.stories-4c391727.js +0 -21
- package/dist/storybook/assets/option-dropdown.stories-ddc96b15.css +0 -1
- package/dist/storybook/assets/padding-and-spacing-e7c92787.js +0 -19
- package/dist/storybook/assets/page-478952f1.css +0 -1
- package/dist/storybook/assets/page-6d07f774.js +0 -1
- package/dist/storybook/assets/pop-confirm.stories-c9faec6b.css +0 -1
- package/dist/storybook/assets/popover-c1234faa.js +0 -1
- package/dist/storybook/assets/popover-e0bfd3a6.css +0 -1
- package/dist/storybook/assets/popover.stories-5ff63b56.js +0 -1
- package/dist/storybook/assets/preview-0b007fe0.js +0 -1
- package/dist/storybook/assets/preview-71d7f886.js +0 -326
- package/dist/storybook/assets/preview-d47a2f40.css +0 -1
- package/dist/storybook/assets/projects.stories-0a617b80.js +0 -47
- package/dist/storybook/assets/radio-button-52e2b7a7.css +0 -1
- package/dist/storybook/assets/radio-button-d69b72e4.js +0 -1
- package/dist/storybook/assets/radio-button.stories-6ff0dc9b.js +0 -61
- package/dist/storybook/assets/row-2397cf9f.js +0 -39
- package/dist/storybook/assets/row-4bea1664.css +0 -1
- package/dist/storybook/assets/select-83e9d851.js +0 -1
- package/dist/storybook/assets/select-e4a165b9.css +0 -1
- package/dist/storybook/assets/side-bar-51697e1e.js +0 -1
- package/dist/storybook/assets/side-bar-a3cae6a4.css +0 -1
- package/dist/storybook/assets/side-bar.stories-7476c9a2.js +0 -1
- package/dist/storybook/assets/slider-53a190ae.css +0 -1
- package/dist/storybook/assets/slider-5d5442fe.js +0 -7
- package/dist/storybook/assets/spacer-54db0620.js +0 -1
- package/dist/storybook/assets/spacer.stories-a2798d47.js +0 -1
- package/dist/storybook/assets/spinner-5f2e7676.css +0 -1
- package/dist/storybook/assets/spinner-a81ebe38.js +0 -1
- package/dist/storybook/assets/spinner.stories-07039a8c.js +0 -26
- package/dist/storybook/assets/syntaxhighlighter-NMPM6SWI-2c64d924.js +0 -1
- package/dist/storybook/assets/table-24be8f4e.js +0 -1
- package/dist/storybook/assets/table-41cb8b17.css +0 -1
- package/dist/storybook/assets/table.stories-data-ddbcf8c3.js +0 -1
- package/dist/storybook/assets/tabs-c2db5f41.css +0 -1
- package/dist/storybook/assets/tabs-cdfc5225.js +0 -1
- package/dist/storybook/assets/text-1e636744.css +0 -1
- package/dist/storybook/assets/text-ad1f5f1d.js +0 -1
- package/dist/storybook/assets/text.stories-8ab6da1c.js +0 -1
- package/dist/storybook/assets/textarea-5ebdd171.js +0 -1
- package/dist/storybook/assets/textarea-926d9307.css +0 -1
- package/dist/storybook/assets/toggle-35349f40.css +0 -1
- package/dist/storybook/assets/toggle-6f4d5797.js +0 -1
- package/dist/storybook/assets/toggle.stories-a289f544.js +0 -108
- package/dist/storybook/assets/tooltip-80296f1d.css +0 -1
- package/dist/storybook/assets/top-bar-38689fe2.js +0 -1
- package/dist/storybook/assets/top-bar-55ed86a3.css +0 -1
- package/dist/storybook/assets/top-bar.stories-3d9a6da1.js +0 -1
- package/dist/storybook/assets/tree.stories-3406c5f6.css +0 -1
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import{j as e}from"./jsx-runtime-f961835c.js";import{r as c}from"./index-f80c8c95.js";import{I as h}from"./common-types-3a5f9d98.js";import{T}from"./top-bar-5bb7221b.js";import{S as I}from"./side-bar-751e7461.js";import{H as r}from"./heading-ec1532e4.js";import{B as n}from"./button-8a0f5308.js";import{D as x}from"./drawer-e728f151.js";import{L as O}from"./list-54a3245f.js";import{F as a}from"./field-9d8b2e8b.js";import{I as o}from"./input-f5960ca1.js";import{M as D,D as E}from"./dialog-7490d36e.js";import{C as H}from"./check-box-107d61fc.js";import{F as u}from"./form-row-e13cb51c.js";import{P as k}from"./page-1a36abc8.js";import{R as y,C as R}from"./row-f26d47b5.js";import{S as d}from"./select-b09da604.js";import{S as t}from"./spacer-b33ecb12.js";import{T as B}from"./tabs-e917de9f.js";import{T as M}from"./table-4577f430.js";import"./index-a80ed1cf.js";import"./actions-15aa4d2d.js";import"./lodash-75c70a11.js";import"./disabled-context-d654f6ff.js";import"./tooltip-eb0f0865.js";import"./index-3d476d02.js";import"./icon-ce35c889.js";import"./inheritsLoose-d4851ab8.js";import"./tslib.es6-dfef685f.js";import"./index-c89a1915.js";import"./types-cc224262.js";import"./types-332ceaf3.js";import"./badge-b5b5b5ae.js";import"./index-c7f280f6.js";import"./help-icon-3041deab.js";import"./spinner-4948799e.js";import"./index.es-2fe9f7ec.js";import"./redux-10ee6be7.js";import"./objectSpread2-fdee9b6d.js";import"./memoize-one.esm-52518564.js";import"./card-3e67b904.js";import"./list-heading-c91b473d.js";import"./loader-54efe57c.js";import"./label-275c5215.js";import"./portal-03fe4689.js";import"./styled-components.browser.esm-416d73e5.js";import"./assertThisInitialized-081f9914.js";import"./text-78efb253.js";import"./select.input-88b6ebab.js";import"./pagination-8a57e64c.js";import"./input-group-0ccd8ab2.js";import"./input-group-addon-9c5ee64d.js";import"./number-input-bd9ce0d8.js";import"./index-54f0d271.js";import"./slider-4cf22613.js";import"./popover-66b44246.js";const Ne={title:"Layout/Layout Examples",parameters:{layout:"fullscreen",docs:{story:{inline:!1,iframeHeight:400}}}},s=()=>{const[v,i]=c.useState(!1),C=()=>e.jsx("div",{style:{color:"#aaa",display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",overflow:"hidden",top:0,left:0,right:0,bottom:0},children:"SCHEMATIC"}),m=[{label:"Casing Loads",value:"casingloads"},{label:"Plot Charts",value:"charts"}],j={name:"Casing Loads",items:[{id:1,name:"Sections",type:"Heading"},{id:2,name:'30" Conductor Casing',active:!0},{id:3,name:"Ipsum"},{id:4,name:"Dolor"}]},w={columnWidths:["auto","auto","auto","auto","1%"],headers:[{cells:[{value:"Load case name"},{value:"Internal profile"},{value:"External profile"},{value:"Temperature profile"},{value:""}]}],rows:[{cells:[{value:"Load case 1"},{value:"Profile 1"},{value:"Profile 2"},{value:"Profile 3"},{value:"Edit",type:"Link",onClick:()=>i(!0)}]},{cells:[{value:"Load case 2"},{value:"Profile 1"},{value:"Profile 2"},{value:"Profile 3"},{value:"Edit",type:"Link",onClick:()=>i(!0)}]}]},L=()=>e.jsxs(e.Fragment,{children:[e.jsx(a,{label:"Name",children:e.jsx(o,{value:"Load case 1"})}),e.jsx(t,{}),e.jsx(r,{children:"Internal Profile"}),e.jsx(t,{height:"10px"}),e.jsxs(u,{children:[e.jsx(a,{label:"Profile",children:e.jsx(d,{native:!0,width:"auto",options:[{label:"Profile 1",value:"1"},{label:"Profile 2",value:"2"}]})}),e.jsx(a,{label:"Influx depth",children:e.jsx(o,{width:"120px"})}),e.jsx(a,{label:"Gas gradient",children:e.jsx(o,{width:"120px"})}),e.jsx(a,{label:"Mud weight",children:e.jsx(o,{width:"120px"})}),e.jsx(a,{label:"Input n",children:e.jsx(o,{width:"120px"})}),e.jsx(a,{children:e.jsx(H,{label:"Limit gas at shoe"})})]}),e.jsx(t,{}),e.jsx(r,{children:"External Profile"}),e.jsx(t,{height:"10px"}),e.jsxs(u,{children:[e.jsx(a,{label:"Profile",children:e.jsx(d,{native:!0,width:"auto",options:[{label:"Profile 1",value:"1"},{label:"Profile 2",value:"2"}]})}),e.jsx(a,{label:"FG above TOC",children:e.jsx(o,{width:"120px"})}),e.jsx(a,{label:"FG below TOC",children:e.jsx(o,{width:"120px"})})]}),e.jsx(t,{}),e.jsx(r,{children:"Temperature Profile"}),e.jsx(t,{height:"10px"}),e.jsxs(u,{children:[e.jsx(a,{label:"Profile",children:e.jsx(d,{native:!0,width:"auto",options:[{label:"Profile 1",value:"1"},{label:"Profile 2",value:"2"}]})}),e.jsx(a,{label:"Custome table",children:e.jsx(d,{native:!0,width:"auto",options:[{label:"Custome table 1",value:"1"},{label:"Custome table 2",value:"2"}]})})]})]}),F=()=>{const[l,p]=c.useState(!0);return e.jsx(x,{button:e.jsx(n,{onClick:()=>p(!l),round:!0,icon:h.CHEVRON_LEFT}),open:l,width:300,closedWidth:50,children:e.jsx(O,{drawer:!0,narrow:!l,list:j})})},P=()=>{const[l,p]=c.useState(!0);return e.jsx(x,{right:!0,background:"white",button:e.jsx(n,{onClick:()=>p(!l),round:!0,icon:h.CHEVRON_RIGHT}),open:l,width:300,closedWidth:50,children:e.jsx(C,{})})},S=()=>e.jsx(D,{visible:v,children:e.jsx(E,{dialog:{heading:"Load case 1",content:e.jsx(L,{}),footer:e.jsxs(e.Fragment,{children:[e.jsx(n,{label:"Save",colored:!0,onClick:()=>i(!1)}),e.jsx(n,{label:"Cancel",onClick:()=>i(!1)})]}),onClose:()=>i(!1)}})});return e.jsxs(e.Fragment,{children:[e.jsx(T,{}),e.jsx(I,{options:{title:"",sections:[]}}),e.jsx(k,{padding:!1,scroll:!1,children:e.jsxs(y,{spacing:0,flex:!0,children:[e.jsx(F,{}),e.jsxs(R,{borderLeft:!0,borderRight:!0,padding:!0,scroll:!0,children:[e.jsx(r,{top:!0,marginBottom:0,children:'30" Conductor Casing'}),e.jsx(B,{margin:!1,options:m,value:m[0]}),e.jsx(t,{}),e.jsx(M,{table:w})]}),e.jsx(P,{})]})}),e.jsx(S,{})]})};var g,f,b;s.parameters={...s.parameters,docs:{...(g=s.parameters)==null?void 0:g.docs,source:{originalSource:`() => {
|
|
2
|
+
const [dialogOpen, setDialogOpen] = useState(false);
|
|
3
|
+
const SchematicPlaceholder = () => <div style={{
|
|
4
|
+
color: '#aaa',
|
|
5
|
+
display: 'flex',
|
|
6
|
+
alignItems: 'center',
|
|
7
|
+
justifyContent: 'center',
|
|
8
|
+
position: 'absolute',
|
|
9
|
+
overflow: 'hidden',
|
|
10
|
+
top: 0,
|
|
11
|
+
left: 0,
|
|
12
|
+
right: 0,
|
|
13
|
+
bottom: 0
|
|
14
|
+
}}>
|
|
15
|
+
SCHEMATIC
|
|
16
|
+
</div>;
|
|
17
|
+
const casingTabs = [{
|
|
18
|
+
label: 'Casing Loads',
|
|
19
|
+
value: 'casingloads'
|
|
20
|
+
}, {
|
|
21
|
+
label: 'Plot Charts',
|
|
22
|
+
value: 'charts'
|
|
23
|
+
}];
|
|
24
|
+
const casingListData = {
|
|
25
|
+
name: 'Casing Loads',
|
|
26
|
+
items: [{
|
|
27
|
+
id: 1,
|
|
28
|
+
name: 'Sections',
|
|
29
|
+
type: 'Heading'
|
|
30
|
+
}, {
|
|
31
|
+
id: 2,
|
|
32
|
+
name: '30" Conductor Casing',
|
|
33
|
+
active: true
|
|
34
|
+
}, {
|
|
35
|
+
id: 3,
|
|
36
|
+
name: 'Ipsum'
|
|
37
|
+
}, {
|
|
38
|
+
id: 4,
|
|
39
|
+
name: 'Dolor'
|
|
40
|
+
}]
|
|
41
|
+
};
|
|
42
|
+
const loadsTableData = {
|
|
43
|
+
columnWidths: ['auto', 'auto', 'auto', 'auto', '1%'],
|
|
44
|
+
headers: [{
|
|
45
|
+
cells: [{
|
|
46
|
+
value: 'Load case name'
|
|
47
|
+
}, {
|
|
48
|
+
value: 'Internal profile'
|
|
49
|
+
}, {
|
|
50
|
+
value: 'External profile'
|
|
51
|
+
}, {
|
|
52
|
+
value: 'Temperature profile'
|
|
53
|
+
}, {
|
|
54
|
+
value: ''
|
|
55
|
+
}]
|
|
56
|
+
}],
|
|
57
|
+
rows: [{
|
|
58
|
+
cells: [{
|
|
59
|
+
value: 'Load case 1'
|
|
60
|
+
}, {
|
|
61
|
+
value: 'Profile 1'
|
|
62
|
+
}, {
|
|
63
|
+
value: 'Profile 2'
|
|
64
|
+
}, {
|
|
65
|
+
value: 'Profile 3'
|
|
66
|
+
}, {
|
|
67
|
+
value: 'Edit',
|
|
68
|
+
type: 'Link',
|
|
69
|
+
onClick: () => setDialogOpen(true)
|
|
70
|
+
}]
|
|
71
|
+
}, {
|
|
72
|
+
cells: [{
|
|
73
|
+
value: 'Load case 2'
|
|
74
|
+
}, {
|
|
75
|
+
value: 'Profile 1'
|
|
76
|
+
}, {
|
|
77
|
+
value: 'Profile 2'
|
|
78
|
+
}, {
|
|
79
|
+
value: 'Profile 3'
|
|
80
|
+
}, {
|
|
81
|
+
value: 'Edit',
|
|
82
|
+
type: 'Link',
|
|
83
|
+
onClick: () => setDialogOpen(true)
|
|
84
|
+
}]
|
|
85
|
+
}]
|
|
86
|
+
};
|
|
87
|
+
const LoadCaseForm = () => <>
|
|
88
|
+
<Field label="Name">
|
|
89
|
+
<Input value="Load case 1" />
|
|
90
|
+
</Field>
|
|
91
|
+
<Spacer />
|
|
92
|
+
<Heading>Internal Profile</Heading>
|
|
93
|
+
<Spacer height="10px" />
|
|
94
|
+
<FormRow>
|
|
95
|
+
<Field label="Profile">
|
|
96
|
+
<Select native width="auto" options={[{
|
|
97
|
+
label: 'Profile 1',
|
|
98
|
+
value: '1'
|
|
99
|
+
}, {
|
|
100
|
+
label: 'Profile 2',
|
|
101
|
+
value: '2'
|
|
102
|
+
}]} />
|
|
103
|
+
</Field>
|
|
104
|
+
<Field label="Influx depth">
|
|
105
|
+
<Input width="120px" />
|
|
106
|
+
</Field>
|
|
107
|
+
<Field label="Gas gradient">
|
|
108
|
+
<Input width="120px" />
|
|
109
|
+
</Field>
|
|
110
|
+
<Field label="Mud weight">
|
|
111
|
+
<Input width="120px" />
|
|
112
|
+
</Field>
|
|
113
|
+
<Field label="Input n">
|
|
114
|
+
<Input width="120px" />
|
|
115
|
+
</Field>
|
|
116
|
+
<Field>
|
|
117
|
+
<CheckBox label="Limit gas at shoe" />
|
|
118
|
+
</Field>
|
|
119
|
+
</FormRow>
|
|
120
|
+
<Spacer />
|
|
121
|
+
<Heading>External Profile</Heading>
|
|
122
|
+
<Spacer height="10px" />
|
|
123
|
+
<FormRow>
|
|
124
|
+
<Field label="Profile">
|
|
125
|
+
<Select native width="auto" options={[{
|
|
126
|
+
label: 'Profile 1',
|
|
127
|
+
value: '1'
|
|
128
|
+
}, {
|
|
129
|
+
label: 'Profile 2',
|
|
130
|
+
value: '2'
|
|
131
|
+
}]} />
|
|
132
|
+
</Field>
|
|
133
|
+
<Field label="FG above TOC">
|
|
134
|
+
<Input width="120px" />
|
|
135
|
+
</Field>
|
|
136
|
+
<Field label="FG below TOC">
|
|
137
|
+
<Input width="120px" />
|
|
138
|
+
</Field>
|
|
139
|
+
</FormRow>
|
|
140
|
+
<Spacer />
|
|
141
|
+
<Heading>Temperature Profile</Heading>
|
|
142
|
+
<Spacer height="10px" />
|
|
143
|
+
<FormRow>
|
|
144
|
+
<Field label="Profile">
|
|
145
|
+
<Select native width="auto" options={[{
|
|
146
|
+
label: 'Profile 1',
|
|
147
|
+
value: '1'
|
|
148
|
+
}, {
|
|
149
|
+
label: 'Profile 2',
|
|
150
|
+
value: '2'
|
|
151
|
+
}]} />
|
|
152
|
+
</Field>
|
|
153
|
+
<Field label="Custome table">
|
|
154
|
+
<Select native width="auto" options={[{
|
|
155
|
+
label: 'Custome table 1',
|
|
156
|
+
value: '1'
|
|
157
|
+
}, {
|
|
158
|
+
label: 'Custome table 2',
|
|
159
|
+
value: '2'
|
|
160
|
+
}]} />
|
|
161
|
+
</Field>
|
|
162
|
+
</FormRow>
|
|
163
|
+
</>;
|
|
164
|
+
const CasingLoadsList = () => {
|
|
165
|
+
const [open, setOpen] = useState(true);
|
|
166
|
+
return <Drawer button={<Button onClick={() => setOpen(!open)} round icon={IconType.CHEVRON_LEFT} />} open={open} width={300} closedWidth={50}>
|
|
167
|
+
<List drawer narrow={!open} list={casingListData} />
|
|
168
|
+
</Drawer>;
|
|
169
|
+
};
|
|
170
|
+
const CasingLoadsSchematic = () => {
|
|
171
|
+
const [open, setOpen] = useState(true);
|
|
172
|
+
return <Drawer right background="white" button={<Button onClick={() => setOpen(!open)} round icon={IconType.CHEVRON_RIGHT} />} open={open} width={300} closedWidth={50}>
|
|
173
|
+
<SchematicPlaceholder />
|
|
174
|
+
</Drawer>;
|
|
175
|
+
};
|
|
176
|
+
const CasingLoadsEditModal = () => <Modal visible={dialogOpen}>
|
|
177
|
+
<Dialog dialog={{
|
|
178
|
+
heading: 'Load case 1',
|
|
179
|
+
content: <LoadCaseForm />,
|
|
180
|
+
footer: <>
|
|
181
|
+
<Button label="Save" colored onClick={() => setDialogOpen(false)} />
|
|
182
|
+
<Button label="Cancel" onClick={() => setDialogOpen(false)} />
|
|
183
|
+
</>,
|
|
184
|
+
onClose: () => setDialogOpen(false)
|
|
185
|
+
}} />
|
|
186
|
+
</Modal>;
|
|
187
|
+
return <>
|
|
188
|
+
<TopBar />
|
|
189
|
+
<SideBar options={{
|
|
190
|
+
title: '',
|
|
191
|
+
sections: []
|
|
192
|
+
}} />
|
|
193
|
+
<Page padding={false} scroll={false}>
|
|
194
|
+
<Row spacing={0} flex>
|
|
195
|
+
<CasingLoadsList />
|
|
196
|
+
<Column borderLeft borderRight padding scroll>
|
|
197
|
+
<Heading top marginBottom={0}>
|
|
198
|
+
30" Conductor Casing
|
|
199
|
+
</Heading>
|
|
200
|
+
<Tabs margin={false} options={casingTabs} value={casingTabs[0]} />
|
|
201
|
+
<Spacer />
|
|
202
|
+
<Table table={loadsTableData} />
|
|
203
|
+
</Column>
|
|
204
|
+
<CasingLoadsSchematic />
|
|
205
|
+
</Row>
|
|
206
|
+
</Page>
|
|
207
|
+
<CasingLoadsEditModal />
|
|
208
|
+
</>;
|
|
209
|
+
}`,...(b=(f=s.parameters)==null?void 0:f.docs)==null?void 0:b.source}}};s.__docgenInfo={description:"",methods:[],displayName:"CasingLoads"};const We=["CasingLoads"];export{s as CasingLoads,We as __namedExportsOrder,Ne as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e}from"./jsx-runtime-f961835c.js";import{r as U}from"./index-f80c8c95.js";import{T as I}from"./table-
|
|
1
|
+
import{j as e}from"./jsx-runtime-f961835c.js";import{r as U}from"./index-f80c8c95.js";import{T as I}from"./table-4577f430.js";import{F as De}from"./field-9d8b2e8b.js";import{B as F}from"./button-8a0f5308.js";import{I as Me}from"./input-f5960ca1.js";import{F as Je}from"./flex-4bc3b694.js";import{t as ze,s as Xe,u as Ge,v as qe,w as Ke,x as Ne,y as Qe,z as Ve,A as Ye,B as Ze,C as $e,D as _e,E as er,F as rr,G as ar,H as sr,I as tr}from"./table.stories-data-36b51ec6.js";import"./index-a80ed1cf.js";import"./index.es-2fe9f7ec.js";import"./inheritsLoose-d4851ab8.js";import"./redux-10ee6be7.js";import"./objectSpread2-fdee9b6d.js";import"./index-3d476d02.js";import"./memoize-one.esm-52518564.js";import"./icon-ce35c889.js";import"./tslib.es6-dfef685f.js";import"./index-c89a1915.js";import"./disabled-context-d654f6ff.js";import"./lodash-75c70a11.js";import"./actions-15aa4d2d.js";import"./common-types-3a5f9d98.js";import"./tooltip-eb0f0865.js";import"./types-cc224262.js";import"./types-332ceaf3.js";import"./badge-b5b5b5ae.js";import"./heading-ec1532e4.js";import"./help-icon-3041deab.js";import"./pagination-8a57e64c.js";import"./select-b09da604.js";import"./assertThisInitialized-081f9914.js";import"./text-78efb253.js";import"./select.input-88b6ebab.js";import"./input-group-0ccd8ab2.js";import"./input-group-addon-9c5ee64d.js";import"./number-input-bd9ce0d8.js";import"./index-54f0d271.js";import"./check-box-107d61fc.js";import"./slider-4cf22613.js";import"./index-c7f280f6.js";import"./popover-66b44246.js";import"./label-275c5215.js";import"./spinner-4948799e.js";const Nr={title:"Basic/Table/Cell",component:I,args:{table:{...ze}}},r=t=>e.jsx(I,{...t}),d=r.bind({});d.args={table:Xe};const m=r.bind({});m.args={table:Ge};const u=r.bind({});u.args={table:qe};const b=r.bind({});b.args={table:Ke};const g=r.bind({});g.args={table:Ne};const v=r.bind({});v.args={table:Qe};const x=r.bind({});x.args={table:Ve};const C=r.bind({});C.args={table:Ye};const h=r.bind({});h.args={table:Ze};const S=r.bind({});S.args={table:$e};const f=r.bind({});f.args={table:_e};const j=r.bind({});j.args={table:er};const y=r.bind({});y.args={table:rr};const T=r.bind({});T.args={table:ar};const n=r.bind({});n.args={table:sr};n.parameters={docs:{description:{story:"Setting `breakWord: true` on a cell will allow very long text strings to break"}}};const P=()=>{const t=["Section","Width","Height"];let p=["","m","m"],W=[...Array(10).keys()].map((l,a)=>[a,a*2,a*2]);const A=()=>{const l=({close:s,value:O})=>e.jsxs(e.Fragment,{children:[e.jsx(De,{label:"Input",children:e.jsx(Me,{value:O,width:"100%"})}),e.jsxs(Je,{gap:!0,children:[e.jsx(F,{colored:!0,label:"Save",onClick:()=>{}}),e.jsx(F,{label:"Cancel",onClick:s})]})]}),a={fixedWidth:"100%",headers:[{cells:t.map(s=>({value:s}))},{cells:[{},{menu:[{label:"m",value:"m"},{label:"ft",value:"ft"}],value:p[1],type:"Unit"},{menu:[{label:"m",value:"m"},{label:"ft",value:"ft"}],value:p[2],type:"Unit"}]}],rows:W.map((s,O)=>({cells:[...Array(3).keys()].map((o,c)=>({value:s[c],type:"Popover",content:e.jsx(l,{value:s[c]})}))}))};return e.jsx(I,{table:a})};return e.jsx(A,{})},w=()=>{const t=["Section","Width","Height"];let p=["","m","m"],W=[...Array(10).keys()].map((l,a)=>[a,a*2,a*2]);const A=()=>{const[l,a]=U.useState(!1),s=({close:o,value:c})=>{U.useEffect(()=>{l||a(!0)},[]);const B=()=>{a(!1),o()};return e.jsxs(e.Fragment,{children:[e.jsx(De,{label:"Input",children:e.jsx(Me,{value:c,width:"100%"})}),e.jsxs(Je,{gap:!0,children:[e.jsx(F,{colored:!0,label:"Save",onClick:B}),e.jsx(F,{label:"Cancel",onClick:B})]})]})},O={headers:[{cells:t.map(o=>({value:o}))},{cells:[{},{menu:[{label:"m",value:"m"},{label:"ft",value:"ft"}],value:p[1],type:"Unit"},{menu:[{label:"m",value:"m"},{label:"ft",value:"ft"}],value:p[2],type:"Unit"}]}],rows:W.map((o,c)=>({cells:[...Array(3).keys()].map((B,E)=>({value:o[E],type:"Popover",disabled:l,closeOnOutsideClick:!1,content:e.jsx(s,{value:o[E]})}))}))};return e.jsx(I,{table:O})};return e.jsx(A,{})},k=r.bind({});k.args={table:tr};const i=r.bind({});i.args={table:{..._e,name:"Food"}};i.decorators=[t=>e.jsx("div",{style:{width:180,height:180,overflow:"hidden",resize:"both"},children:e.jsx(t,{})})];var L,R,H;d.parameters={...d.parameters,docs:{...(L=d.parameters)==null?void 0:L.docs,source:{originalSource:`args => {
|
|
2
2
|
return <Table
|
|
3
3
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
4
4
|
{...args} />;
|
|
@@ -205,4 +205,4 @@ import{j as e}from"./jsx-runtime-f961835c.js";import{r as U}from"./index-f80c8c9
|
|
|
205
205
|
return <Table
|
|
206
206
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
207
207
|
{...args} />;
|
|
208
|
-
}`,...(He=(Re=i.parameters)==null?void 0:Re.docs)==null?void 0:He.source}}};const
|
|
208
|
+
}`,...(He=(Re=i.parameters)==null?void 0:Re.docs)==null?void 0:He.source}}};const Qr=["Editable","Disabled","Colspan","ColspanWithWidths","CellWidths","CellStyleProp","Rowspan","Checkboxes","Icons","Links","Actions","Menus","JSXContent","StaticCellTooltips","WordbreakLongContent","Popover","SinglePopoverAtOnce","OverflowingCells","TestScrolling"];export{f as Actions,v as CellStyleProp,g as CellWidths,C as Checkboxes,u as Colspan,b as ColspanWithWidths,m as Disabled,d as Editable,h as Icons,y as JSXContent,S as Links,j as Menus,k as OverflowingCells,P as Popover,x as Rowspan,w as SinglePopoverAtOnce,T as StaticCellTooltips,i as TestScrolling,n as WordbreakLongContent,Qr as __namedExportsOrder,Nr as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as a}from"./jsx-runtime-f961835c.js";import{r as g}from"./index-f80c8c95.js";import{c as j}from"./index-a80ed1cf.js";import{I as v}from"./common-types-3a5f9d98.js";import{D as C}from"./disabled-context-d654f6ff.js";import{H as q}from"./help-icon-3041deab.js";import{I as V}from"./icon-ce35c889.js";const E="_checkbox_4a6js_341",T="_noLabel_4a6js_356",M="_small_4a6js_359",H="_checkmark_4a6js_384",L="_disabled_4a6js_408",N="_noMargin_4a6js_422",B="_isInTable_4a6js_425",D="_helpIconEnabled_4a6js_428",e={checkbox:E,noLabel:T,small:M,checkmark:H,disabled:L,noMargin:N,isInTable:B,helpIconEnabled:D},u=({noMargin:i=!1,dataix:m=0,isInTable:p=!1,tabIndex:f=0,checked:l=!1,name:n,key:b="",label:o="",disabled:_=!1,small:x=!1,onChange:h,testId:y,value:w,helpText:r,onClickHelp:d})=>{const k=g.useContext(C),I=r||d,s=_||k;return a.jsxs("div",{className:j(e.checkbox,i&&e.noMargin,p&&e.isInTable,s&&e.disabled,x&&e.small,!o&&e.noLabel),"data-ix":m,onClick:c=>{if(!s){const t=c.target;t.name=n,t.value=!l,t.checked=!l,h(c)}},"data-testid":y,children:[a.jsx("input",{type:"checkbox",tabIndex:f,checked:l,name:n,onChange:()=>{},disabled:s},b),a.jsxs("label",{htmlFor:n,children:[a.jsx("span",{className:e.checkmark,children:a.jsx(V,{icon:v.CHECK})}),o]}),I&&a.jsx("div",{className:e.helpIconEnabled,onClick:d,children:a.jsx(q,{text:r})})]})};try{u.displayName="CheckBox",u.__docgenInfo={description:"",displayName:"CheckBox",props:{checked:{defaultValue:{value:"false"},description:"",name:"checked",required:!1,type:{name:"boolean"}},isInTable:{defaultValue:{value:"false"},description:"",name:"isInTable",required:!1,type:{name:"boolean"}},label:{defaultValue:{value:""},description:"",name:"label",required:!1,type:{name:"string | null"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},noMargin:{defaultValue:{value:"false"},description:"",name:"noMargin",required:!1,type:{name:"boolean"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(evt: ChangeEvent<HTMLInputElement>) => void"}},tabIndex:{defaultValue:{value:"0"},description:"",name:"tabIndex",required:!1,type:{name:"number"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}},small:{defaultValue:{value:"false"},description:"",name:"small",required:!1,type:{name:"boolean"}},testId:{defaultValue:null,description:"",name:"testId",required:!1,type:{name:"string"}},key:{defaultValue:{value:""},description:"",name:"key",required:!1,type:{name:"string"}},dataix:{defaultValue:{value:"0"},description:"",name:"dataix",required:!1,type:{name:"number"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string"}},helpText:{defaultValue:null,description:"",name:"helpText",required:!1,type:{name:"string"}},onClickHelp:{defaultValue:null,description:"",name:"onClickHelp",required:!1,type:{name:"TEmpty"}}}}}catch{}export{u as C};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--color-primary-0: hsl(0, 0%, 100%);--color-primary-50: hsl(18.24742268, 82.90598291%, 97.5%);--color-primary-100: hsl(18.24742268, 82.90598291%, 92.5%);--color-primary-150: hsl(18.24742268, 82.90598291%, 87.5%);--color-primary-200: hsl(18.24742268, 82.90598291%, 82.5%);--color-primary-250: hsl(18.24742268, 82.90598291%, 77.5%);--color-primary-300: hsl(18.24742268, 82.90598291%, 72.5%);--color-primary-350: hsl(18.24742268, 82.90598291%, 67.5%);--color-primary-400: hsl(18.24742268, 82.90598291%, 62.5%);--color-primary-450: hsl(18.24742268, 82.90598291%, 57.5%);--color-primary-500: hsl(18.24742268, 82.90598291%, 52.5%);--color-primary-550: hsl(18.24742268, 82.90598291%, 47.5%);--color-primary-600: hsl(18.24742268, 82.90598291%, 42.5%);--color-primary-650: hsl(18.24742268, 82.90598291%, 37.5%);--color-primary-700: hsl(18.24742268, 82.90598291%, 32.5%);--color-primary-750: hsl(18.24742268, 82.90598291%, 27.5%);--color-primary-800: hsl(18.24742268, 82.90598291%, 22.5%);--color-primary-850: hsl(18.24742268, 82.90598291%, 17.5%);--color-primary-900: hsl(18.24742268, 82.90598291%, 12.5%);--color-primary-950: hsl(18.24742268, 82.90598291%, 7.5%);--color-primary-1000: hsl(18.24742268, 82.90598291%, 2.5%);--color-error-0: hsl(180, 100%, 100%);--color-error-50: hsl(0, 71.29186603%, 97.5%);--color-error-100: hsl(0, 71.29186603%, 92.5%);--color-error-150: hsl(0, 71.29186603%, 87.5%);--color-error-200: hsl(0, 71.29186603%, 82.5%);--color-error-250: hsl(0, 71.29186603%, 77.5%);--color-error-300: hsl(0, 71.29186603%, 72.5%);--color-error-350: hsl(0, 71.29186603%, 67.5%);--color-error-400: hsl(0, 71.29186603%, 62.5%);--color-error-450: hsl(0, 71.29186603%, 57.5%);--color-error-500: hsl(0, 71.29186603%, 52.5%);--color-error-550: hsl(0, 71.29186603%, 47.5%);--color-error-600: hsl(0, 71.29186603%, 42.5%);--color-error-650: hsl(0, 71.29186603%, 37.5%);--color-error-700: hsl(0, 71.29186603%, 32.5%);--color-error-750: hsl(0, 71.29186603%, 27.5%);--color-error-800: hsl(0, 71.29186603%, 22.5%);--color-error-850: hsl(0, 71.29186603%, 17.5%);--color-error-900: hsl(0, 71.29186603%, 12.5%);--color-error-950: hsl(0, 71.29186603%, 7.5%);--color-error-1000: hsl(0, 71.29186603%, 2.5%);--color-success-0: hsl(0, 0%, 100%);--color-success-50: hsl(120, 52.03252033%, 97.5%);--color-success-100: hsl(120, 52.03252033%, 92.5%);--color-success-150: hsl(120, 52.03252033%, 87.5%);--color-success-200: hsl(120, 52.03252033%, 82.5%);--color-success-250: hsl(120, 52.03252033%, 77.5%);--color-success-300: hsl(120, 52.03252033%, 72.5%);--color-success-350: hsl(120, 52.03252033%, 67.5%);--color-success-400: hsl(120, 52.03252033%, 62.5%);--color-success-450: hsl(120, 52.03252033%, 57.5%);--color-success-500: hsl(120, 52.03252033%, 52.5%);--color-success-550: hsl(120, 52.03252033%, 47.5%);--color-success-600: hsl(120, 52.03252033%, 42.5%);--color-success-650: hsl(120, 52.03252033%, 37.5%);--color-success-700: hsl(120, 52.03252033%, 32.5%);--color-success-750: hsl(120, 52.03252033%, 27.5%);--color-success-800: hsl(120, 52.03252033%, 22.5%);--color-success-850: hsl(120, 52.03252033%, 17.5%);--color-success-900: hsl(120, 52.03252033%, 12.5%);--color-success-950: hsl(120, 52.03252033%, 7.5%);--color-success-1000: hsl(120, 52.03252033%, 2.5%);--color-warning-0: hsl(240, 100%, 100%);--color-warning-50: hsl(44.9197861, 76.32653061%, 97.5%);--color-warning-100: hsl(44.9197861, 76.32653061%, 92.5%);--color-warning-150: hsl(44.9197861, 76.32653061%, 87.5%);--color-warning-200: hsl(44.9197861, 76.32653061%, 82.5%);--color-warning-250: hsl(44.9197861, 76.32653061%, 77.5%);--color-warning-300: hsl(44.9197861, 76.32653061%, 72.5%);--color-warning-350: hsl(44.9197861, 76.32653061%, 67.5%);--color-warning-400: hsl(44.9197861, 76.32653061%, 62.5%);--color-warning-450: hsl(44.9197861, 76.32653061%, 57.5%);--color-warning-500: hsl(44.9197861, 76.32653061%, 52.5%);--color-warning-550: hsl(44.9197861, 76.32653061%, 47.5%);--color-warning-600: hsl(44.9197861, 76.32653061%, 42.5%);--color-warning-650: hsl(44.9197861, 76.32653061%, 37.5%);--color-warning-700: hsl(44.9197861, 76.32653061%, 32.5%);--color-warning-750: hsl(44.9197861, 76.32653061%, 27.5%);--color-warning-800: hsl(44.9197861, 76.32653061%, 22.5%);--color-warning-850: hsl(44.9197861, 76.32653061%, 17.5%);--color-warning-900: hsl(44.9197861, 76.32653061%, 12.5%);--color-warning-950: hsl(44.9197861, 76.32653061%, 7.5%);--color-warning-1000: hsl(44.9197861, 76.32653061%, 2.5%);--color-info-0: hsl(0, 0%, 100%);--color-info-50: hsl(201.03092784, 82.90598291%, 97.5%);--color-info-100: hsl(201.03092784, 82.90598291%, 92.5%);--color-info-150: hsl(201.03092784, 82.90598291%, 87.5%);--color-info-200: hsl(201.03092784, 82.90598291%, 82.5%);--color-info-250: hsl(201.03092784, 82.90598291%, 77.5%);--color-info-300: hsl(201.03092784, 82.90598291%, 72.5%);--color-info-350: hsl(201.03092784, 82.90598291%, 67.5%);--color-info-400: hsl(201.03092784, 82.90598291%, 62.5%);--color-info-450: hsl(201.03092784, 82.90598291%, 57.5%);--color-info-500: hsl(201.03092784, 82.90598291%, 52.5%);--color-info-550: hsl(201.03092784, 82.90598291%, 47.5%);--color-info-600: hsl(201.03092784, 82.90598291%, 42.5%);--color-info-650: hsl(201.03092784, 82.90598291%, 37.5%);--color-info-700: hsl(201.03092784, 82.90598291%, 32.5%);--color-info-750: hsl(201.03092784, 82.90598291%, 27.5%);--color-info-800: hsl(201.03092784, 82.90598291%, 22.5%);--color-info-850: hsl(201.03092784, 82.90598291%, 17.5%);--color-info-900: hsl(201.03092784, 82.90598291%, 12.5%);--color-info-950: hsl(201.03092784, 82.90598291%, 7.5%);--color-info-1000: hsl(201.03092784, 82.90598291%, 2.5%);--color-neutral-0: hsl(0, 0%, 100%);--color-neutral-50: hsl(210, 10%, 97.5%);--color-neutral-100: hsl(210, 10%, 92.5%);--color-neutral-150: hsl(210, 10%, 87.5%);--color-neutral-200: hsl(210, 10%, 82.5%);--color-neutral-250: hsl(210, 10%, 77.5%);--color-neutral-300: hsl(210, 10%, 72.5%);--color-neutral-350: hsl(210, 10%, 67.5%);--color-neutral-400: hsl(210, 10%, 62.5%);--color-neutral-450: hsl(210, 10%, 57.5%);--color-neutral-500: hsl(210, 10%, 52.5%);--color-neutral-550: hsl(210, 10%, 47.5%);--color-neutral-600: hsl(210, 10%, 42.5%);--color-neutral-650: hsl(210, 10%, 37.5%);--color-neutral-700: hsl(210, 10%, 32.5%);--color-neutral-750: hsl(210, 10%, 27.5%);--color-neutral-800: hsl(210, 10%, 22.5%);--color-neutral-850: hsl(210, 10%, 17.5%);--color-neutral-900: hsl(210, 10%, 12.5%);--color-neutral-950: hsl(210, 10%, 7.5%);--color-neutral-1000: hsl(210, 10%, 2.5%);--color-primary-muted-0: hsl(0, 0%, 100%);--color-primary-muted-50: hsl(18.24742268, 57.90598291%, 97.5%);--color-primary-muted-100: hsl(18.24742268, 57.90598291%, 92.5%);--color-primary-muted-150: hsl(18.24742268, 57.90598291%, 87.5%);--color-primary-muted-200: hsl(18.24742268, 57.90598291%, 82.5%);--color-primary-muted-250: hsl(18.24742268, 57.90598291%, 77.5%);--color-primary-muted-300: hsl(18.24742268, 57.90598291%, 72.5%);--color-primary-muted-350: hsl(18.24742268, 57.90598291%, 67.5%);--color-primary-muted-400: hsl(18.24742268, 57.90598291%, 62.5%);--color-primary-muted-450: hsl(18.24742268, 57.90598291%, 57.5%);--color-primary-muted-500: hsl(18.24742268, 57.90598291%, 52.5%);--color-primary-muted-550: hsl(18.24742268, 57.90598291%, 47.5%);--color-primary-muted-600: hsl(18.24742268, 57.90598291%, 42.5%);--color-primary-muted-650: hsl(18.24742268, 57.90598291%, 37.5%);--color-primary-muted-700: hsl(18.24742268, 57.90598291%, 32.5%);--color-primary-muted-750: hsl(18.24742268, 57.90598291%, 27.5%);--color-primary-muted-800: hsl(18.24742268, 57.90598291%, 22.5%);--color-primary-muted-850: hsl(18.24742268, 57.90598291%, 17.5%);--color-primary-muted-900: hsl(18.24742268, 57.90598291%, 12.5%);--color-primary-muted-950: hsl(18.24742268, 57.90598291%, 7.5%);--color-primary-muted-1000: hsl(18.24742268, 57.90598291%, 2.5%);--color-error-muted-0: hsl(180, 100%, 100%);--color-error-muted-50: hsl(0, 46.29186603%, 97.5%);--color-error-muted-100: hsl(0, 46.29186603%, 92.5%);--color-error-muted-150: hsl(0, 46.29186603%, 87.5%);--color-error-muted-200: hsl(0, 46.29186603%, 82.5%);--color-error-muted-250: hsl(0, 46.29186603%, 77.5%);--color-error-muted-300: hsl(0, 46.29186603%, 72.5%);--color-error-muted-350: hsl(0, 46.29186603%, 67.5%);--color-error-muted-400: hsl(0, 46.29186603%, 62.5%);--color-error-muted-450: hsl(0, 46.29186603%, 57.5%);--color-error-muted-500: hsl(0, 46.29186603%, 52.5%);--color-error-muted-550: hsl(0, 46.29186603%, 47.5%);--color-error-muted-600: hsl(0, 46.29186603%, 42.5%);--color-error-muted-650: hsl(0, 46.29186603%, 37.5%);--color-error-muted-700: hsl(0, 46.29186603%, 32.5%);--color-error-muted-750: hsl(0, 46.29186603%, 27.5%);--color-error-muted-800: hsl(0, 46.29186603%, 22.5%);--color-error-muted-850: hsl(0, 46.29186603%, 17.5%);--color-error-muted-900: hsl(0, 46.29186603%, 12.5%);--color-error-muted-950: hsl(0, 46.29186603%, 7.5%);--color-error-muted-1000: hsl(0, 46.29186603%, 2.5%);--color-success-muted-0: hsl(0, 0%, 100%);--color-success-muted-50: hsl(120, 27.03252033%, 97.5%);--color-success-muted-100: hsl(120, 27.03252033%, 92.5%);--color-success-muted-150: hsl(120, 27.03252033%, 87.5%);--color-success-muted-200: hsl(120, 27.03252033%, 82.5%);--color-success-muted-250: hsl(120, 27.03252033%, 77.5%);--color-success-muted-300: hsl(120, 27.03252033%, 72.5%);--color-success-muted-350: hsl(120, 27.03252033%, 67.5%);--color-success-muted-400: hsl(120, 27.03252033%, 62.5%);--color-success-muted-450: hsl(120, 27.03252033%, 57.5%);--color-success-muted-500: hsl(120, 27.03252033%, 52.5%);--color-success-muted-550: hsl(120, 27.03252033%, 47.5%);--color-success-muted-600: hsl(120, 27.03252033%, 42.5%);--color-success-muted-650: hsl(120, 27.03252033%, 37.5%);--color-success-muted-700: hsl(120, 27.03252033%, 32.5%);--color-success-muted-750: hsl(120, 27.03252033%, 27.5%);--color-success-muted-800: hsl(120, 27.03252033%, 22.5%);--color-success-muted-850: hsl(120, 27.03252033%, 17.5%);--color-success-muted-900: hsl(120, 27.03252033%, 12.5%);--color-success-muted-950: hsl(120, 27.03252033%, 7.5%);--color-success-muted-1000: hsl(120, 27.03252033%, 2.5%);--color-warning-muted-0: hsl(240, 100%, 100%);--color-warning-muted-50: hsl(44.9197861, 51.32653061%, 97.5%);--color-warning-muted-100: hsl(44.9197861, 51.32653061%, 92.5%);--color-warning-muted-150: hsl(44.9197861, 51.32653061%, 87.5%);--color-warning-muted-200: hsl(44.9197861, 51.32653061%, 82.5%);--color-warning-muted-250: hsl(44.9197861, 51.32653061%, 77.5%);--color-warning-muted-300: hsl(44.9197861, 51.32653061%, 72.5%);--color-warning-muted-350: hsl(44.9197861, 51.32653061%, 67.5%);--color-warning-muted-400: hsl(44.9197861, 51.32653061%, 62.5%);--color-warning-muted-450: hsl(44.9197861, 51.32653061%, 57.5%);--color-warning-muted-500: hsl(44.9197861, 51.32653061%, 52.5%);--color-warning-muted-550: hsl(44.9197861, 51.32653061%, 47.5%);--color-warning-muted-600: hsl(44.9197861, 51.32653061%, 42.5%);--color-warning-muted-650: hsl(44.9197861, 51.32653061%, 37.5%);--color-warning-muted-700: hsl(44.9197861, 51.32653061%, 32.5%);--color-warning-muted-750: hsl(44.9197861, 51.32653061%, 27.5%);--color-warning-muted-800: hsl(44.9197861, 51.32653061%, 22.5%);--color-warning-muted-850: hsl(44.9197861, 51.32653061%, 17.5%);--color-warning-muted-900: hsl(44.9197861, 51.32653061%, 12.5%);--color-warning-muted-950: hsl(44.9197861, 51.32653061%, 7.5%);--color-warning-muted-1000: hsl(44.9197861, 51.32653061%, 2.5%);--color-info-muted-0: hsl(0, 0%, 100%);--color-info-muted-50: hsl(201.03092784, 57.90598291%, 97.5%);--color-info-muted-100: hsl(201.03092784, 57.90598291%, 92.5%);--color-info-muted-150: hsl(201.03092784, 57.90598291%, 87.5%);--color-info-muted-200: hsl(201.03092784, 57.90598291%, 82.5%);--color-info-muted-250: hsl(201.03092784, 57.90598291%, 77.5%);--color-info-muted-300: hsl(201.03092784, 57.90598291%, 72.5%);--color-info-muted-350: hsl(201.03092784, 57.90598291%, 67.5%);--color-info-muted-400: hsl(201.03092784, 57.90598291%, 62.5%);--color-info-muted-450: hsl(201.03092784, 57.90598291%, 57.5%);--color-info-muted-500: hsl(201.03092784, 57.90598291%, 52.5%);--color-info-muted-550: hsl(201.03092784, 57.90598291%, 47.5%);--color-info-muted-600: hsl(201.03092784, 57.90598291%, 42.5%);--color-info-muted-650: hsl(201.03092784, 57.90598291%, 37.5%);--color-info-muted-700: hsl(201.03092784, 57.90598291%, 32.5%);--color-info-muted-750: hsl(201.03092784, 57.90598291%, 27.5%);--color-info-muted-800: hsl(201.03092784, 57.90598291%, 22.5%);--color-info-muted-850: hsl(201.03092784, 57.90598291%, 17.5%);--color-info-muted-900: hsl(201.03092784, 57.90598291%, 12.5%);--color-info-muted-950: hsl(201.03092784, 57.90598291%, 7.5%);--color-info-muted-1000: hsl(201.03092784, 57.90598291%, 2.5%)}:root{color-scheme:initial;--size: 32px;--size-sm: 24px;--size-xs: 16px;--spacing-3xl: 36px;--spacing-2xl: 32px;--spacing-xl: 28px;--spacing-lg: 24px;--spacing: 20px;--spacing-sm: 16px;--spacing-xs: 12px;--spacing-2xs: 8px;--spacing-3xs: 4px;--padding-input-x: 12px;--padding-input-y: 6.5px;--padding-input: var(--padding-input-y) var(--padding-input-x);--padding-input-small-x: 7px;--padding-input-small-y: 3.5px;--padding-input-small: var(--padding-input-small-y) var(--padding-input-small-x);--border-radius: 4px;--color-text: rgba(0, 0, 0, .87);--color-text-muted: #7d7b7a;--color-text-faint: #acabab;--color-text-error: hsl(0, 40%, 50%);--color-text-warning: var(--color-warning-700);--color-text-success: hsl(120, 40%, 50%);--color-text-info: hsl(201.03092784, 40%, 50%);--color-text-primary: #eb6429;--color-text-primary-hover: #ce4c13;--color-text-primary-active: #9f3b0f;--color-text-placeholder: rgba(0, 0, 0, .3);--color-background: #f5f7f9;--color-background-raised: white;--color-background-disabled: rgba(0, 0, 0, .025);--color-background-info: hsl(201.03092784, 40%, 90%);--color-background-error: hsl(0, 40%, 90%);--color-background-success: hsl(120, 40%, 90%);--color-background-warning: var(--color-warning-100);--color-background-primary: #eb6429;--color-background-input: white;--color-background-listitem-active: #fff0e4;--color-background-listitem-hover: #f5f7f9;--color-background-menuitem-active: #edf1f4;--color-background-menuitem-hover: #f5f7f9;--color-background-menuitem-activehover: #e5eaef;--color-border: #ddd;--color-border-checkbox: var(--color-neutral-300);--color-border-hover: var(--color-neutral-400);--color-border-focus: var(--color-info-muted-500);--color-border-error: var(--color-error-muted-300);--color-border-error-hover: var(--color-error-muted-400);--color-border-warning: var(--color-warning-muted-300);--color-border-warning-hover: var(--color-warning-muted-400);--shadow-focus: 0 0 0 2px rgba(41, 167, 235, .25)}html[data-theme=dark]{color-scheme:dark;--color-text: var(--color-neutral-200);--color-text-muted: var(--color-neutral-400);--color-text-faint: var(--color-neutral-600);--color-text-primary: var(--color-primary-muted-450);--color-text-primary-active: var(--color-primary-muted-350);--color-text-primary-hover: var(--color-primary-muted-400);--color-text-error: var(--color-error-muted-300);--color-text-info: var(--color-info-muted-300);--color-text-success: var(--color-success-muted-300);--color-text-warning: var(--color-warning-muted-300);--color-text-placeholder: rgba(255, 255, 255, .3);--color-background: var(--color-neutral-900);--color-background-raised: var(--color-neutral-800);--color-background-disabled: rgba(0, 0, 0, .2);--color-background-error: var(--color-error-muted-700);--color-background-info: var(--color-info-muted-700);--color-background-success: var(--color-success-muted-700);--color-background-warning: var(--color-warning-muted-700);--color-background-primary: var(--color-primary-muted-500);--color-background-input: var(--color-neutral-750);--color-background-listitem-active: var(--color-primary-muted-750);--color-background-listitem-hover: var(--color-neutral-750);--color-background-menuitem-active: var(--color-neutral-650);--color-background-menuitem-hover: var(--color-neutral-700);--color-background-menuitem-activehover: var(--color-neutral-600);--color-border: var(--color-neutral-1000);--color-border-checkbox: var(--color-neutral-1000);--color-border-hover: var(--color-neutral-500);--color-border-focus: var(--color-info-500);--color-border-error: var(--color-neutral-1000);--color-border-warning: var(--color-neutral-1000);--shadow-focus: 0 0 0 2px rgba(41, 167, 235, .5)}._checkbox_4a6js_341{margin:calc((var(--size) - var(--size-xs)) / 2) 0;position:relative;display:flex;align-items:center;gap:8px;backface-visibility:hidden;vertical-align:baseline;font-style:normal;min-height:var(--size-xs);font-size:inherit;line-height:var(--size-xs);min-width:var(--size-xs);outline:0px}._checkbox_4a6js_341._noLabel_4a6js_356{width:var(--size-xs)}._checkbox_4a6js_341._small_4a6js_359{margin:calc((var(--size-sm) - var(--size-xs)) / 2) 0;font-size:12px}._checkbox_4a6js_341 input{cursor:pointer;position:absolute;top:0;left:0;width:var(--size-xs);height:var(--size-xs);opacity:0!important;outline:0px;z-index:-1}._checkbox_4a6js_341 label{cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--color-text);transition:color .1s ease 0s;display:block;padding-left:1.85714em;font-size:1em;outline:0px}._checkbox_4a6js_341 label ._checkmark_4a6js_384{position:absolute;top:0;left:0;width:var(--size-xs);height:var(--size-xs);font-size:12px;display:inline-flex;align-items:center;justify-content:center;background:var(--color-background-input);border-radius:.214286rem;transition:border .1s ease 0s,opacity .1s ease 0s,transform .1s ease 0s,box-shadow .1s ease 0s;border:1px solid var(--color-border-checkbox);color:transparent}._checkbox_4a6js_341 label ._checkmark_4a6js_384:hover{border-color:var(--color-border-hover)}._checkbox_4a6js_341 input:checked~label ._checkmark_4a6js_384{background:var(--color-background-primary);border-color:transparent;color:#fff}._checkbox_4a6js_341._disabled_4a6js_408{cursor:default;pointer-events:none}._checkbox_4a6js_341._disabled_4a6js_408 label{color:var(--color-text-muted)}._checkbox_4a6js_341._disabled_4a6js_408 ._checkmark_4a6js_384{background:var(--color-background-disabled)!important;border-color:var(--color-border-checkbox)!important}._checkbox_4a6js_341._disabled_4a6js_408 input:checked~label ._checkmark_4a6js_384{color:var(--color-text-faint)}._noMargin_4a6js_422,._isInTable_4a6js_425{margin:0}._helpIconEnabled_4a6js_428{pointer-events:auto}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import{j as _}from"./jsx-runtime-f961835c.js";import{C as k}from"./check-box-107d61fc.js";import"./index-f80c8c95.js";import"./index-a80ed1cf.js";import"./common-types-3a5f9d98.js";import"./disabled-context-d654f6ff.js";import"./help-icon-3041deab.js";import"./tooltip-eb0f0865.js";import"./index-3d476d02.js";import"./icon-ce35c889.js";import"./inheritsLoose-d4851ab8.js";import"./tslib.es6-dfef685f.js";import"./index-c89a1915.js";const{useArgs:B}=__STORYBOOK_MODULE_ADDONS__,N={title:"Forms/CheckBox",component:k,args:{disabled:!1,label:"Label"}},a=C=>{const[{checked:A},b]=B(),H=()=>{b({checked:!A})};return _.jsx(k,{...C,onChange:H})},r=a.bind({}),e=a.bind({});e.args={helpText:"Help text"};const n=a.bind({});n.args={onClickHelp:()=>console.log("Help clicked")};const s=a.bind({});s.args={helpText:"Help text",disabled:!0};var t,o,c;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`args => {
|
|
2
|
+
const [{
|
|
3
|
+
checked
|
|
4
|
+
}, updateArgs] = useArgs();
|
|
5
|
+
const handleChange = () => {
|
|
6
|
+
updateArgs({
|
|
7
|
+
checked: !checked
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
return <CheckBox
|
|
11
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
12
|
+
{...args} onChange={handleChange} />;
|
|
13
|
+
}`,...(c=(o=r.parameters)==null?void 0:o.docs)==null?void 0:c.source}}};var p,d,l;e.parameters={...e.parameters,docs:{...(p=e.parameters)==null?void 0:p.docs,source:{originalSource:`args => {
|
|
14
|
+
const [{
|
|
15
|
+
checked
|
|
16
|
+
}, updateArgs] = useArgs();
|
|
17
|
+
const handleChange = () => {
|
|
18
|
+
updateArgs({
|
|
19
|
+
checked: !checked
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
return <CheckBox
|
|
23
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
24
|
+
{...args} onChange={handleChange} />;
|
|
25
|
+
}`,...(l=(d=e.parameters)==null?void 0:d.docs)==null?void 0:l.source}}};var i,g,h;n.parameters={...n.parameters,docs:{...(i=n.parameters)==null?void 0:i.docs,source:{originalSource:`args => {
|
|
26
|
+
const [{
|
|
27
|
+
checked
|
|
28
|
+
}, updateArgs] = useArgs();
|
|
29
|
+
const handleChange = () => {
|
|
30
|
+
updateArgs({
|
|
31
|
+
checked: !checked
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
return <CheckBox
|
|
35
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
36
|
+
{...args} onChange={handleChange} />;
|
|
37
|
+
}`,...(h=(g=n.parameters)==null?void 0:g.docs)==null?void 0:h.source}}};var m,u,x;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`args => {
|
|
38
|
+
const [{
|
|
39
|
+
checked
|
|
40
|
+
}, updateArgs] = useArgs();
|
|
41
|
+
const handleChange = () => {
|
|
42
|
+
updateArgs({
|
|
43
|
+
checked: !checked
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
return <CheckBox
|
|
47
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
48
|
+
{...args} onChange={handleChange} />;
|
|
49
|
+
}`,...(x=(u=s.parameters)==null?void 0:u.docs)==null?void 0:x.source}}};const U=["Default","HelpText","OnClickHelp","DisabledWithHelpText"];export{r as Default,s as DisabledWithHelpText,e as HelpText,n as OnClickHelp,U as __namedExportsOrder,N as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as i}from"./iframe-
|
|
1
|
+
import{_ as i}from"./iframe-529fb939.js";import{R as t,r as p}from"./index-f80c8c95.js";import{r as l,u}from"./react-16-147b12fd.js";import{b as h,A as E,H as d,D as x}from"./index-da4c9412.js";var D={code:h,a:E,...d},_=class extends p.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(r){let{showException:e}=this.props;e(r)}render(){let{hasError:r}=this.state,{children:e}=this.props;return r?null:t.createElement(t.Fragment,null,e)}},R=class{constructor(){this.render=async(r,e,o)=>{let n={...D,...e==null?void 0:e.components},s=x;return new Promise((a,m)=>{i(()=>import("./index-46b5be7e.js"),["./index-46b5be7e.js","./index-5cdc9468.js","./index-f80c8c95.js"],import.meta.url).then(({MDXProvider:c})=>l(t.createElement(_,{showException:m,key:Math.random()},t.createElement(c,{components:n},t.createElement(s,{context:r,docsParameter:e}))),o)).then(()=>a())})},this.unmount=r=>{u(r)}}};export{R as D,D as d};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{j as o}from"./jsx-runtime-f961835c.js";import"./chunk-HLWAVYOI-87a6c0a5.js";import{M as a}from"./index-da4c9412.js";import{r as d}from"./index-f80c8c95.js";import{t as p,T as m}from"./toaster-cf8976cf.js";import{u as i}from"./index-5cdc9468.js";import"./iframe-529fb939.js";import"../sb-preview/runtime.js";import"./react-16-147b12fd.js";import"./index-3d476d02.js";import"./inheritsLoose-d4851ab8.js";import"./assertThisInitialized-081f9914.js";import"./index-97a99495.js";import"./message-dc76f113.js";import"./index-a80ed1cf.js";import"./common-types-3a5f9d98.js";import"./icon-ce35c889.js";import"./tslib.es6-dfef685f.js";import"./index-c89a1915.js";import"./disabled-context-d654f6ff.js";const x=["--color-text","--color-text-muted","--color-text-faint","--color-text-error","--color-text-warning","--color-text-success","--color-text-info","--color-text-primary","--color-text-primary-hover","--color-text-primary-active"],u=["--color-background","--color-background-raised","--color-background-primary","--color-background-info","--color-background-warning","--color-background-success","--color-background-error"],g=["--color-border","--color-border-error","--color-border-warning","--color-border-focus"],e=({colors:t})=>o.jsx("div",{style:{display:"grid",gridTemplateColumns:"auto 1fr auto 1fr",gap:20,alignItems:"center"},children:t.map((r,l)=>{const n=`var(${r})`,c=()=>{navigator.clipboard.writeText(n),p({message:{type:"Success",content:"Copied to clipboard"}})};return o.jsxs(d.Fragment,{children:[o.jsx("div",{style:{padding:"16px 20px",backgroundColor:n,border:"1px solid rgba(0,0,0,0.1)"},onClick:c}),o.jsx("code",{onClick:c,children:n})]},l)})});try{e.displayName="ColorPalette",e.__docgenInfo={description:"",displayName:"ColorPalette",props:{colors:{defaultValue:null,description:"",name:"colors",required:!0,type:{name:"string[]"}}}}}catch{}function s(t){const r=Object.assign({h1:"h1",p:"p",strong:"strong",h2:"h2"},i(),t.components);return o.jsxs(o.Fragment,{children:[o.jsx(a,{title:"Colors"}),`
|
|
2
|
+
`,o.jsx(r.h1,{id:"colors",children:"Colors"}),`
|
|
3
|
+
`,o.jsx(r.p,{children:"When setting colors (either by component props or in custom styling), prefer CSS variables to literal color values."}),`
|
|
4
|
+
`,o.jsx(r.p,{children:o.jsx(r.strong,{children:"Click on a color below to copy the variable name to the clipboard."})}),`
|
|
5
|
+
`,o.jsx(r.h2,{id:"text",children:"Text"}),`
|
|
6
|
+
`,o.jsx(e,{colors:x}),`
|
|
7
|
+
`,o.jsx(r.h2,{id:"backgrounds",children:"Backgrounds"}),`
|
|
8
|
+
`,o.jsx(e,{colors:u}),`
|
|
9
|
+
`,o.jsx(r.h2,{id:"borders",children:"Borders"}),`
|
|
10
|
+
`,o.jsx(e,{colors:g}),`
|
|
11
|
+
`,o.jsx(m,{})]})}function I(t={}){const{wrapper:r}=Object.assign({},i(),t.components);return r?o.jsx(r,Object.assign({},t,{children:o.jsx(s,t)})):s(t)}export{I as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as n}from"./jsx-runtime-f961835c.js";import{C as i,R as T}from"./row-
|
|
1
|
+
import{j as n}from"./jsx-runtime-f961835c.js";import{C as i,R as T}from"./row-f26d47b5.js";import{H as _}from"./heading-ec1532e4.js";import"./index-f80c8c95.js";import"./styled-components.browser.esm-416d73e5.js";import"./tslib.es6-dfef685f.js";import"./index-a80ed1cf.js";import"./common-types-3a5f9d98.js";import"./help-icon-3041deab.js";import"./tooltip-eb0f0865.js";import"./index-3d476d02.js";import"./icon-ce35c889.js";import"./inheritsLoose-d4851ab8.js";import"./index-c89a1915.js";import"./disabled-context-d654f6ff.js";const U={title:"Layout/Columns & Rows",component:i,parameters:{layout:"fullscreen"},args:{width:"50%",padding:!0,borderRight:!0},argTypes:{width:{control:{type:"text"}},padding:{control:{type:"text"}},borderLeft:{control:{type:"boolean"}},borderRight:{control:{type:"boolean"}}}},r=E=>{const{height:y,wrap:j,...W}=E;return n.jsxs(T,{spacing:0,height:y,wrap:j,children:[n.jsxs(i,{...W,children:[n.jsx(_,{top:!0,children:"Column"}),"Example content goes here lorem ipsum. ".repeat(20)]}),n.jsx(i,{padding:"20px",background:"var(--color-background)"})]})},p=r.bind({}),o=r.bind({});o.args={padding:!1};const e=r.bind({});e.args={width:"400px"};const a=r.bind({});a.args={scroll:!0,height:"200px"};const t=r.bind({});t.args={scroll:!0,showScrollbar:!1,height:"200px"};const s=r.bind({});s.args={wrap:!0,widthTablet:"50%",widthMobile:"100%",borderRight:!1};var c,g,m;p.parameters={...p.parameters,docs:{...(c=p.parameters)==null?void 0:c.docs,source:{originalSource:`args => {
|
|
2
2
|
const {
|
|
3
3
|
height,
|
|
4
4
|
wrap,
|
|
@@ -9,7 +9,7 @@ import{j as n}from"./jsx-runtime-f961835c.js";import{C as i,R as T}from"./row-23
|
|
|
9
9
|
<Heading top>Column</Heading>
|
|
10
10
|
{'Example content goes here lorem ipsum. '.repeat(20)}
|
|
11
11
|
</Column>
|
|
12
|
-
<Column padding background="var(--color-background)" />
|
|
12
|
+
<Column padding="20px" background="var(--color-background)" />
|
|
13
13
|
</Row>;
|
|
14
14
|
}`,...(m=(g=p.parameters)==null?void 0:g.docs)==null?void 0:m.source}}};var l,u,d;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`args => {
|
|
15
15
|
const {
|
|
@@ -22,7 +22,7 @@ import{j as n}from"./jsx-runtime-f961835c.js";import{C as i,R as T}from"./row-23
|
|
|
22
22
|
<Heading top>Column</Heading>
|
|
23
23
|
{'Example content goes here lorem ipsum. '.repeat(20)}
|
|
24
24
|
</Column>
|
|
25
|
-
<Column padding background="var(--color-background)" />
|
|
25
|
+
<Column padding="20px" background="var(--color-background)" />
|
|
26
26
|
</Row>;
|
|
27
27
|
}`,...(d=(u=o.parameters)==null?void 0:u.docs)==null?void 0:d.source}}};var h,w,b;e.parameters={...e.parameters,docs:{...(h=e.parameters)==null?void 0:h.docs,source:{originalSource:`args => {
|
|
28
28
|
const {
|
|
@@ -35,9 +35,9 @@ import{j as n}from"./jsx-runtime-f961835c.js";import{C as i,R as T}from"./row-23
|
|
|
35
35
|
<Heading top>Column</Heading>
|
|
36
36
|
{'Example content goes here lorem ipsum. '.repeat(20)}
|
|
37
37
|
</Column>
|
|
38
|
-
<Column padding background="var(--color-background)" />
|
|
38
|
+
<Column padding="20px" background="var(--color-background)" />
|
|
39
39
|
</Row>;
|
|
40
|
-
}`,...(b=(w=e.parameters)==null?void 0:w.docs)==null?void 0:b.source}}};var C,
|
|
40
|
+
}`,...(b=(w=e.parameters)==null?void 0:w.docs)==null?void 0:b.source}}};var x,C,R;a.parameters={...a.parameters,docs:{...(x=a.parameters)==null?void 0:x.docs,source:{originalSource:`args => {
|
|
41
41
|
const {
|
|
42
42
|
height,
|
|
43
43
|
wrap,
|
|
@@ -48,9 +48,9 @@ import{j as n}from"./jsx-runtime-f961835c.js";import{C as i,R as T}from"./row-23
|
|
|
48
48
|
<Heading top>Column</Heading>
|
|
49
49
|
{'Example content goes here lorem ipsum. '.repeat(20)}
|
|
50
50
|
</Column>
|
|
51
|
-
<Column padding background="var(--color-background)" />
|
|
51
|
+
<Column padding="20px" background="var(--color-background)" />
|
|
52
52
|
</Row>;
|
|
53
|
-
}`,...(R=(
|
|
53
|
+
}`,...(R=(C=a.parameters)==null?void 0:C.docs)==null?void 0:R.source}}};var H,k,A;t.parameters={...t.parameters,docs:{...(H=t.parameters)==null?void 0:H.docs,source:{originalSource:`args => {
|
|
54
54
|
const {
|
|
55
55
|
height,
|
|
56
56
|
wrap,
|
|
@@ -61,7 +61,7 @@ import{j as n}from"./jsx-runtime-f961835c.js";import{C as i,R as T}from"./row-23
|
|
|
61
61
|
<Heading top>Column</Heading>
|
|
62
62
|
{'Example content goes here lorem ipsum. '.repeat(20)}
|
|
63
63
|
</Column>
|
|
64
|
-
<Column padding background="var(--color-background)" />
|
|
64
|
+
<Column padding="20px" background="var(--color-background)" />
|
|
65
65
|
</Row>;
|
|
66
66
|
}`,...(A=(k=t.parameters)==null?void 0:k.docs)==null?void 0:A.source}}};var f,S,v;s.parameters={...s.parameters,docs:{...(f=s.parameters)==null?void 0:f.docs,source:{originalSource:`args => {
|
|
67
67
|
const {
|
|
@@ -74,6 +74,6 @@ import{j as n}from"./jsx-runtime-f961835c.js";import{C as i,R as T}from"./row-23
|
|
|
74
74
|
<Heading top>Column</Heading>
|
|
75
75
|
{'Example content goes here lorem ipsum. '.repeat(20)}
|
|
76
76
|
</Column>
|
|
77
|
-
<Column padding background="var(--color-background)" />
|
|
77
|
+
<Column padding="20px" background="var(--color-background)" />
|
|
78
78
|
</Row>;
|
|
79
79
|
}`,...(v=(S=s.parameters)==null?void 0:S.docs)==null?void 0:v.source}}};const V=["Default","NoPadding","FixedWidth","Scroll","HideScrollbar","ResponsiveWidth"];export{p as Default,e as FixedWidth,t as HideScrollbar,o as NoPadding,s as ResponsiveWidth,a as Scroll,V as __namedExportsOrder,U as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E=(t=>(t.TEXT="Text",t.BUTTON="Button",t.DROP_DOWN_BUTTON="DropDownButton",t.COMPONENT="Component",t))(E||{}),r=(t=>(t.FIRST="first",t.MIDDLE="middle",t.LAST="last",t))(r||{}),a=(t=>(t.DANGER="danger",t.RED="red",t.WHITE="white",t.SUCCESS="success",t.GREEN="green",t.MUTED="muted",t))(a||{}),R=(t=>(t.LEFT="left",t.RIGHT="right",t.CENTER="center",t))(R||{}),N=(t=>(t.TOP="top",t.BOTTOM="bottom",t))(N||{}),O=(t=>(t.LIBRARY="library",t.ADD="add",t.DRAG="drag",t.DRAG_HORIZONTAL="drag horizontal",t.HELP="help",t.NOTIFICATION="notification",t.MENU="menu",t.EDIT="edit",t.FAST_FORWARD="fast forward",t.INDENT="indent",t.STAR="star",t.LIST="list",t.SETTINGS="settings",t.CHECK="check",t.LOCK="lock",t.UNLOCK="unlock",t.CLOSE="close",t.SUCCESS="success",t.WARNING="warning",t.ERROR="error",t.INFO="info",t.LEFT="left",t.COLLAPSE="collapse",t.EXPAND="expand",t.SORT_ASCENDING="sort ascending",t.SORT_DESCENDING="sort descending",t.FAST_BACKWARD="fast backward",t.CHEVRON_DOWN="chevron down",t.CHEVRON_RIGHT="chevron right",t.CHEVRON_LEFT="chevron left",t.CHEVRON_DOUBLE_LEFT="chevron double left",t.CHEVRON_DOUBLE_RIGHT="chevron double right",t))(O||{}),s=(t=>(t.DARK="dark",t.WHITE="white",t.LIGHT="light",t.INHERIT="inherit",t))(s||{}),D=(t=>(t.TEXT="text",t.RADIO="radio",t.CHECKBOX="checkbox",t))(D||{});export{R as A,N as B,a as C,r as G,O as I,E as T,s as a,D as b};
|