@geoinsight/react-components 0.8.12 → 1.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/cjs/index.css +463 -178
- package/dist/cjs/index.js +302 -219
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.css +463 -178
- package/dist/esm/index.js +303 -216
- package/dist/esm/index.js.map +1 -1
- package/package.json +13 -10
- package/storybook-static/115.875b767a.iframe.bundle.js +1 -0
- package/storybook-static/143.e6f5cdb6.iframe.bundle.js +2 -0
- package/storybook-static/143.e6f5cdb6.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/155.77237ba4.iframe.bundle.js +1 -0
- package/storybook-static/439.c739b452.iframe.bundle.js +1 -0
- package/storybook-static/49.9b0e5ded.iframe.bundle.js +2 -0
- package/storybook-static/497.a86e867f.iframe.bundle.js +134 -0
- package/storybook-static/497.a86e867f.iframe.bundle.js.map +1 -0
- package/storybook-static/607.55c78741.iframe.bundle.js +1 -0
- package/storybook-static/729.0e069928.iframe.bundle.js +1 -0
- package/storybook-static/750.1274e780.iframe.bundle.js +1 -0
- package/storybook-static/751.ce4b4118.iframe.bundle.js +411 -0
- package/storybook-static/751.ce4b4118.iframe.bundle.js.map +1 -0
- package/storybook-static/797.7e13109b.iframe.bundle.js +1 -0
- package/storybook-static/887.40a58cdf.iframe.bundle.js +1 -0
- package/storybook-static/components-button-index-stories.6b018cc0.iframe.bundle.js +1 -0
- package/storybook-static/components-form-index-stories.847721d0.iframe.bundle.js +1 -0
- package/storybook-static/components-input-index-stories.dba32411.iframe.bundle.js +2 -0
- package/storybook-static/components-loading-index-stories.b0653762.iframe.bundle.js +2 -0
- package/storybook-static/components-map-index-stories.08759744.iframe.bundle.js +1 -0
- package/storybook-static/components-menu-index-stories.0c6eb18b.iframe.bundle.js +1 -0
- package/storybook-static/components-modal-index-stories.ef8c8dd0.iframe.bundle.js +2 -0
- package/storybook-static/components-select-index-stories.a5ffb2f5.iframe.bundle.js +1 -0
- package/storybook-static/components-text-area-index-stories.44892133.iframe.bundle.js +2 -0
- package/storybook-static/context-loading-index-stories.ad731185.iframe.bundle.js +2 -0
- package/storybook-static/context-modal-index-stories.a607105d.iframe.bundle.js +2 -0
- package/storybook-static/iframe.html +4 -4
- package/storybook-static/index.html +2 -1
- package/storybook-static/index.json +1 -1
- package/storybook-static/main.9dd1aacd.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/runtime~main.3725a291.iframe.bundle.js +1 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +4 -4
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +37 -88
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js +9 -24
- package/storybook-static/sb-addons/links-0/manager-bundle.js +1 -1
- package/storybook-static/sb-manager/WithTooltip-V3YHNWJZ-LVYLGZW2.js +1 -0
- package/storybook-static/sb-manager/chunk-2IXBUOFS.js +7 -0
- package/storybook-static/sb-manager/{chunk-DAJ4OSDJ.js → chunk-F4FCO4CF.js} +23 -23
- package/storybook-static/sb-manager/{chunk-NFZCBIX3.js → chunk-INSKDKQB.js} +6 -6
- package/storybook-static/sb-manager/chunk-NGTUFCUO.js +9 -0
- package/storybook-static/sb-manager/globals-module-info.js +1 -0
- package/storybook-static/sb-manager/globals.js +1 -1
- package/storybook-static/sb-manager/index.js +1 -1
- package/storybook-static/sb-manager/runtime.js +1 -1
- package/storybook-static/sb-manager/{syntaxhighlighter-NMPM6SWI-GZTSOZ5L.js → syntaxhighlighter-V7JZZA35-DXZCI2WR.js} +1 -1
- package/storybook-static/sb-preview/globals.js +1 -1
- package/storybook-static/sb-preview/runtime.js +16 -16
- package/storybook-static/static/media/loading.cbc96c95.gif +0 -0
- package/storybook-static/stories-Introduction-stories-mdx.d86fb94b.iframe.bundle.js +2 -0
- package/storybook-static/stories-Introduction-stories-mdx.d86fb94b.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/stories.json +1 -1
- package/.yarn/install-state.gz +0 -0
- package/.yarnrc.yml +0 -1
- package/dist/cjs/components/accordion/accordion-button.d.ts +0 -4
- package/dist/cjs/components/accordion/accordion-content.d.ts +0 -4
- package/dist/cjs/components/accordion/accordion-item.d.ts +0 -4
- package/dist/cjs/components/accordion/accordion.d.ts +0 -4
- package/dist/cjs/components/accordion/index.d.ts +0 -4
- package/dist/cjs/components/accordion/index.stories.d.ts +0 -7
- package/dist/cjs/components/accordion/index.types.d.ts +0 -36
- package/dist/cjs/components/button/index.d.ts +0 -5
- package/dist/cjs/components/button/index.stories.d.ts +0 -7
- package/dist/cjs/components/button/index.types.d.ts +0 -41
- package/dist/cjs/components/form/FormInput.d.ts +0 -4
- package/dist/cjs/components/form/FormSelect.d.ts +0 -4
- package/dist/cjs/components/form/FormTextArea.d.ts +0 -4
- package/dist/cjs/components/form/index.d.ts +0 -4
- package/dist/cjs/components/form/index.stories.d.ts +0 -7
- package/dist/cjs/components/form/index.types.d.ts +0 -45
- package/dist/cjs/components/input/index.d.ts +0 -4
- package/dist/cjs/components/input/index.stories.d.ts +0 -8
- package/dist/cjs/components/input/index.types.d.ts +0 -40
- package/dist/cjs/components/loading/index.d.ts +0 -4
- package/dist/cjs/components/loading/index.stories.d.ts +0 -6
- package/dist/cjs/components/loading/index.types.d.ts +0 -11
- package/dist/cjs/components/map/MapboxMap.d.ts +0 -2
- package/dist/cjs/components/map/index.d.ts +0 -4
- package/dist/cjs/components/map/index.stories.d.ts +0 -8
- package/dist/cjs/components/map/index.types.d.ts +0 -56
- package/dist/cjs/components/map/useAddMap.d.ts +0 -8
- package/dist/cjs/components/map-control/index.d.ts +0 -4
- package/dist/cjs/components/map-control/index.types.d.ts +0 -11
- package/dist/cjs/components/modal/index.d.ts +0 -4
- package/dist/cjs/components/modal/index.stories.d.ts +0 -6
- package/dist/cjs/components/modal/index.types.d.ts +0 -39
- package/dist/cjs/components/select/index.d.ts +0 -4
- package/dist/cjs/components/select/index.stories.d.ts +0 -7
- package/dist/cjs/components/select/index.types.d.ts +0 -30
- package/dist/cjs/components/text-area/index.d.ts +0 -5
- package/dist/cjs/components/text-area/index.stories.d.ts +0 -7
- package/dist/cjs/components/text-area/index.types.d.ts +0 -43
- package/dist/cjs/context/accordion/index.d.ts +0 -10
- package/dist/cjs/context/loading/index.d.ts +0 -24
- package/dist/cjs/context/loading/index.stories.d.ts +0 -8
- package/dist/cjs/context/modal/index.d.ts +0 -29
- package/dist/cjs/context/modal/index.stories.d.ts +0 -6
- package/dist/cjs/context/theme/index.d.ts +0 -18
- package/dist/cjs/decorators/withColorScheme.d.ts +0 -7
- package/dist/cjs/decorators/withLoading.d.ts +0 -2
- package/dist/cjs/decorators/withModal.d.ts +0 -2
- package/dist/cjs/decorators/withWrapper.d.ts +0 -2
- package/dist/cjs/index.d.ts +0 -18
- package/dist/cjs/utils/palette.d.ts +0 -1
- package/dist/cjs/utils/recursive.d.ts +0 -6
- package/dist/esm/components/accordion/accordion-button.d.ts +0 -4
- package/dist/esm/components/accordion/accordion-content.d.ts +0 -4
- package/dist/esm/components/accordion/accordion-item.d.ts +0 -4
- package/dist/esm/components/accordion/accordion.d.ts +0 -4
- package/dist/esm/components/accordion/index.d.ts +0 -4
- package/dist/esm/components/accordion/index.stories.d.ts +0 -7
- package/dist/esm/components/accordion/index.types.d.ts +0 -36
- package/dist/esm/components/button/index.d.ts +0 -5
- package/dist/esm/components/button/index.stories.d.ts +0 -7
- package/dist/esm/components/button/index.types.d.ts +0 -41
- package/dist/esm/components/form/FormInput.d.ts +0 -4
- package/dist/esm/components/form/FormSelect.d.ts +0 -4
- package/dist/esm/components/form/FormTextArea.d.ts +0 -4
- package/dist/esm/components/form/index.d.ts +0 -4
- package/dist/esm/components/form/index.stories.d.ts +0 -7
- package/dist/esm/components/form/index.types.d.ts +0 -45
- package/dist/esm/components/input/index.d.ts +0 -4
- package/dist/esm/components/input/index.stories.d.ts +0 -8
- package/dist/esm/components/input/index.types.d.ts +0 -40
- package/dist/esm/components/loading/index.d.ts +0 -4
- package/dist/esm/components/loading/index.stories.d.ts +0 -6
- package/dist/esm/components/loading/index.types.d.ts +0 -11
- package/dist/esm/components/map/MapboxMap.d.ts +0 -2
- package/dist/esm/components/map/index.d.ts +0 -4
- package/dist/esm/components/map/index.stories.d.ts +0 -8
- package/dist/esm/components/map/index.types.d.ts +0 -56
- package/dist/esm/components/map/useAddMap.d.ts +0 -8
- package/dist/esm/components/map-control/index.d.ts +0 -4
- package/dist/esm/components/map-control/index.types.d.ts +0 -11
- package/dist/esm/components/modal/index.d.ts +0 -4
- package/dist/esm/components/modal/index.stories.d.ts +0 -6
- package/dist/esm/components/modal/index.types.d.ts +0 -39
- package/dist/esm/components/select/index.d.ts +0 -4
- package/dist/esm/components/select/index.stories.d.ts +0 -7
- package/dist/esm/components/select/index.types.d.ts +0 -30
- package/dist/esm/components/text-area/index.d.ts +0 -5
- package/dist/esm/components/text-area/index.stories.d.ts +0 -7
- package/dist/esm/components/text-area/index.types.d.ts +0 -43
- package/dist/esm/context/accordion/index.d.ts +0 -10
- package/dist/esm/context/loading/index.d.ts +0 -24
- package/dist/esm/context/loading/index.stories.d.ts +0 -8
- package/dist/esm/context/modal/index.d.ts +0 -29
- package/dist/esm/context/modal/index.stories.d.ts +0 -6
- package/dist/esm/context/theme/index.d.ts +0 -18
- package/dist/esm/decorators/withColorScheme.d.ts +0 -7
- package/dist/esm/decorators/withLoading.d.ts +0 -2
- package/dist/esm/decorators/withModal.d.ts +0 -2
- package/dist/esm/decorators/withWrapper.d.ts +0 -2
- package/dist/esm/index.d.ts +0 -18
- package/dist/esm/utils/palette.d.ts +0 -1
- package/dist/esm/utils/recursive.d.ts +0 -6
- package/storybook-static/145.34858399.iframe.bundle.js +0 -2
- package/storybook-static/296.673fff81.iframe.bundle.js +0 -1
- package/storybook-static/439.51454c4d.iframe.bundle.js +0 -1
- package/storybook-static/471.f9d522fc.iframe.bundle.js +0 -402
- package/storybook-static/471.f9d522fc.iframe.bundle.js.map +0 -1
- package/storybook-static/497.dafe304f.iframe.bundle.js +0 -134
- package/storybook-static/497.dafe304f.iframe.bundle.js.map +0 -1
- package/storybook-static/659.1ad30476.iframe.bundle.js +0 -1
- package/storybook-static/677.e7db0cd6.iframe.bundle.js +0 -2
- package/storybook-static/677.e7db0cd6.iframe.bundle.js.LICENSE.txt +0 -15
- package/storybook-static/729.01f72d48.iframe.bundle.js +0 -1
- package/storybook-static/750.2215b5aa.iframe.bundle.js +0 -1
- package/storybook-static/796.09f6c96d.iframe.bundle.js +0 -1
- package/storybook-static/984.6be9debc.iframe.bundle.js +0 -1
- package/storybook-static/components-accordion-index-stories.ef18c840.iframe.bundle.js +0 -1
- package/storybook-static/components-button-index-stories.ab760bed.iframe.bundle.js +0 -2
- package/storybook-static/components-form-index-stories.3cba66b0.iframe.bundle.js +0 -1
- package/storybook-static/components-input-index-stories.52cb94b7.iframe.bundle.js +0 -2
- package/storybook-static/components-loading-index-stories.c03f4231.iframe.bundle.js +0 -2
- package/storybook-static/components-map-index-stories.df3b2a69.iframe.bundle.js +0 -1
- package/storybook-static/components-modal-index-stories.4204e0d1.iframe.bundle.js +0 -1
- package/storybook-static/components-select-index-stories.5d8e5e16.iframe.bundle.js +0 -1
- package/storybook-static/components-text-area-index-stories.c1412c7f.iframe.bundle.js +0 -2
- package/storybook-static/context-loading-index-stories.4d6c26b7.iframe.bundle.js +0 -2
- package/storybook-static/context-modal-index-stories.74348761.iframe.bundle.js +0 -1
- package/storybook-static/main.6ecf7d5b.iframe.bundle.js +0 -1
- package/storybook-static/runtime~main.b58604cf.iframe.bundle.js +0 -1
- package/storybook-static/sb-manager/WithTooltip-4HIR6TLV-YPPZ2DMB.js +0 -1
- package/storybook-static/sb-manager/chunk-FWZ33S65.js +0 -9
- package/storybook-static/sb-manager/chunk-SZNM6KS3.js +0 -7
- package/storybook-static/stories-Introduction-stories-mdx.7a2cd1ec.iframe.bundle.js +0 -2
- /package/storybook-static/{145.34858399.iframe.bundle.js.LICENSE.txt → 49.9b0e5ded.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{497.dafe304f.iframe.bundle.js.LICENSE.txt → 497.a86e867f.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{471.f9d522fc.iframe.bundle.js.LICENSE.txt → 751.ce4b4118.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{components-button-index-stories.ab760bed.iframe.bundle.js.LICENSE.txt → components-input-index-stories.dba32411.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{components-input-index-stories.52cb94b7.iframe.bundle.js.LICENSE.txt → components-loading-index-stories.b0653762.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{components-loading-index-stories.c03f4231.iframe.bundle.js.LICENSE.txt → components-modal-index-stories.ef8c8dd0.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{components-text-area-index-stories.c1412c7f.iframe.bundle.js.LICENSE.txt → components-text-area-index-stories.44892133.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{context-loading-index-stories.4d6c26b7.iframe.bundle.js.LICENSE.txt → context-loading-index-stories.ad731185.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{stories-Introduction-stories-mdx.7a2cd1ec.iframe.bundle.js.LICENSE.txt → context-modal-index-stories.a607105d.iframe.bundle.js.LICENSE.txt} +0 -0
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see stories-Introduction-stories-mdx.d86fb94b.iframe.bundle.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunk_geoinsight_react_components=self.webpackChunk_geoinsight_react_components||[]).push([[991],{"./node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{NF:()=>withMDXComponents,Zo:()=>MDXProvider,ah:()=>useMDXComponents,pC:()=>MDXContext});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext({});function withMDXComponents(Component){return function boundMDXComponent(props){const allComponents=useMDXComponents(props.components);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component,{...props,allComponents})}}function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((()=>"function"==typeof components?components(contextComponents):{...contextComponents,...components}),[contextComponents,components])}const emptyObject={};function MDXProvider({components,children,disableParentContext}){let allComponents;return allComponents=disableParentContext?"function"==typeof components?components({}):components||emptyObject:useMDXComponents(components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},children)}},"./src/stories/Introduction.stories.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:()=>__namedExportsOrder,__page:()=>__page,default:()=>Introduction_stories});__webpack_require__("./node_modules/react/index.js");var lib=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),dist=(__webpack_require__("./node_modules/@storybook/addon-docs/dist/chunk-HLWAVYOI.mjs"),__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs"));const code_brackets_namespaceObject=__webpack_require__.p+"static/media/code-brackets.2e1112d7.svg",colors_namespaceObject=__webpack_require__.p+"static/media/colors.a4bd0486.svg",comments_namespaceObject=__webpack_require__.p+"static/media/comments.a3859089.svg",direction_namespaceObject=__webpack_require__.p+"static/media/direction.b770f9af.svg",flow_namespaceObject=__webpack_require__.p+"static/media/flow.edad2ac1.svg",plugin_namespaceObject=__webpack_require__.p+"static/media/plugin.d494b228.svg",repo_namespaceObject=__webpack_require__.p+"static/media/repo.6d496322.svg",stackalt_namespaceObject=__webpack_require__.p+"static/media/stackalt.dba9fbb3.svg";var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");function _createMdxContent(props){const _components=Object.assign({h1:"h1",p:"p",strong:"strong",code:"code",a:"a"},(0,lib.ah)(),props.components);return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(dist.h_,{title:"Example/Introduction"}),"\n",(0,jsx_runtime.jsx)("style",{children:"\n .subheading {\n --mediumdark: '#999999';\n font-weight: 900;\n font-size: 13px;\n color: #999;\n letter-spacing: 6px;\n line-height: 24px;\n text-transform: uppercase;\n margin-bottom: 12px;\n margin-top: 40px;\n }\n\n .link-list {\n display: grid;\n grid-template-columns: 1fr;\n grid-template-rows: 1fr 1fr;\n row-gap: 10px;\n }\n\n @media (min-width: 620px) {\n .link-list {\n row-gap: 20px;\n column-gap: 20px;\n grid-template-columns: 1fr 1fr;\n }\n }\n\n @media all and (-ms-high-contrast:none) {\n .link-list {\n display: -ms-grid;\n -ms-grid-columns: 1fr 1fr;\n -ms-grid-rows: 1fr 1fr;\n }\n }\n\n .link-item {\n display: block;\n padding: 20px 30px 20px 15px;\n border: 1px solid #00000010;\n border-radius: 5px;\n transition: background 150ms ease-out, border 150ms ease-out, transform 150ms ease-out;\n color: #333333;\n display: flex;\n align-items: flex-start;\n }\n\n .link-item:hover {\n border-color: #1EA7FD50;\n transform: translate3d(0, -3px, 0);\n box-shadow: rgba(0, 0, 0, 0.08) 0 3px 10px 0;\n }\n\n .link-item:active {\n border-color: #1EA7FD;\n transform: translate3d(0, 0, 0);\n }\n\n .link-item strong {\n font-weight: 700;\n display: block;\n margin-bottom: 2px;\n }\n\n .link-item img {\n height: 40px;\n width: 40px;\n margin-right: 15px;\n flex: none;\n }\n\n .link-item span {\n font-size: 14px;\n line-height: 20px;\n }\n\n .tip {\n display: inline-block;\n border-radius: 1em;\n font-size: 11px;\n line-height: 12px;\n font-weight: 700;\n background: #E7FDD8;\n color: #66BF3C;\n padding: 4px 12px;\n margin-right: 10px;\n vertical-align: top;\n }\n\n .tip-wrapper {\n font-size: 13px;\n line-height: 20px;\n margin-top: 40px;\n margin-bottom: 40px;\n }\n\n .tip-wrapper code {\n font-size: 12px;\n display: inline-block;\n }\n "}),"\n",(0,jsx_runtime.jsx)(_components.h1,{id:"welcome-to-storybook",children:"Welcome to Storybook"}),"\n",(0,jsx_runtime.jsxs)(_components.p,{children:["Storybook helps you build UI components in isolation from your app's business logic, data, and context.\nThat makes it easy to develop hard-to-reach states. Save these UI states as ",(0,jsx_runtime.jsx)(_components.strong,{children:"stories"})," to revisit during development, testing, or QA."]}),"\n",(0,jsx_runtime.jsxs)(_components.p,{children:["Browse example stories now by navigating to them in the sidebar.\nView their code in the ",(0,jsx_runtime.jsx)(_components.code,{children:"stories"})," directory to learn how they work.\nWe recommend building UIs with a ",(0,jsx_runtime.jsx)(_components.a,{href:"https://componentdriven.org",target:"_blank",rel:"nofollow noopener noreferrer",children:(0,jsx_runtime.jsx)(_components.strong,{children:"component-driven"})})," process starting with atomic components and ending with pages."]}),"\n",(0,jsx_runtime.jsx)("div",{className:"subheading",children:"Configure"}),"\n",(0,jsx_runtime.jsxs)("div",{className:"link-list",children:[(0,jsx_runtime.jsxs)("a",{className:"link-item",href:"https://storybook.js.org/docs/react/addons/addon-types",target:"_blank",children:[(0,jsx_runtime.jsx)("img",{src:plugin_namespaceObject,alt:"plugin"}),(0,jsx_runtime.jsx)("span",{children:(0,jsx_runtime.jsxs)(_components.p,{children:[(0,jsx_runtime.jsx)("strong",{children:"Presets for popular tools"}),"\nEasy setup for TypeScript, SCSS and more."]})})]}),(0,jsx_runtime.jsxs)("a",{className:"link-item",href:"https://storybook.js.org/docs/react/configure/webpack",target:"_blank",children:[(0,jsx_runtime.jsx)("img",{src:stackalt_namespaceObject,alt:"Build"}),(0,jsx_runtime.jsx)("span",{children:(0,jsx_runtime.jsxs)(_components.p,{children:[(0,jsx_runtime.jsx)("strong",{children:"Build configuration"}),"\nHow to customize webpack and Babel"]})})]}),(0,jsx_runtime.jsxs)("a",{className:"link-item",href:"https://storybook.js.org/docs/react/configure/styling-and-css",target:"_blank",children:[(0,jsx_runtime.jsx)("img",{src:colors_namespaceObject,alt:"colors"}),(0,jsx_runtime.jsx)("span",{children:(0,jsx_runtime.jsxs)(_components.p,{children:[(0,jsx_runtime.jsx)("strong",{children:"Styling"}),"\nHow to load and configure CSS libraries"]})})]}),(0,jsx_runtime.jsxs)("a",{className:"link-item",href:"https://storybook.js.org/docs/react/get-started/setup#configure-storybook-for-your-stack",target:"_blank",children:[(0,jsx_runtime.jsx)("img",{src:flow_namespaceObject,alt:"flow"}),(0,jsx_runtime.jsx)("span",{children:(0,jsx_runtime.jsxs)(_components.p,{children:[(0,jsx_runtime.jsx)("strong",{children:"Data"}),"\nProviders and mocking for data libraries"]})})]})]}),"\n",(0,jsx_runtime.jsx)("div",{className:"subheading",children:"Learn"}),"\n",(0,jsx_runtime.jsxs)("div",{className:"link-list",children:[(0,jsx_runtime.jsxs)("a",{className:"link-item",href:"https://storybook.js.org/docs",target:"_blank",children:[(0,jsx_runtime.jsx)("img",{src:repo_namespaceObject,alt:"repo"}),(0,jsx_runtime.jsx)("span",{children:(0,jsx_runtime.jsxs)(_components.p,{children:[(0,jsx_runtime.jsx)("strong",{children:"Storybook documentation"}),"\nConfigure, customize, and extend"]})})]}),(0,jsx_runtime.jsxs)("a",{className:"link-item",href:"https://storybook.js.org/tutorials/",target:"_blank",children:[(0,jsx_runtime.jsx)("img",{src:direction_namespaceObject,alt:"direction"}),(0,jsx_runtime.jsx)("span",{children:(0,jsx_runtime.jsxs)(_components.p,{children:[(0,jsx_runtime.jsx)("strong",{children:"In-depth guides"}),"\nBest practices from leading teams"]})})]}),(0,jsx_runtime.jsxs)("a",{className:"link-item",href:"https://github.com/storybookjs/storybook",target:"_blank",children:[(0,jsx_runtime.jsx)("img",{src:code_brackets_namespaceObject,alt:"code"}),(0,jsx_runtime.jsx)("span",{children:(0,jsx_runtime.jsxs)(_components.p,{children:[(0,jsx_runtime.jsx)("strong",{children:"GitHub project"}),"\nView the source and add issues"]})})]}),(0,jsx_runtime.jsxs)("a",{className:"link-item",href:"https://discord.gg/storybook",target:"_blank",children:[(0,jsx_runtime.jsx)("img",{src:comments_namespaceObject,alt:"comments"}),(0,jsx_runtime.jsx)("span",{children:(0,jsx_runtime.jsxs)(_components.p,{children:[(0,jsx_runtime.jsx)("strong",{children:"Discord chat"}),"\nChat with maintainers and the community"]})})]})]}),"\n",(0,jsx_runtime.jsx)("div",{className:"tip-wrapper",children:(0,jsx_runtime.jsxs)(_components.p,{children:[(0,jsx_runtime.jsx)("span",{className:"tip",children:"Tip"}),"Edit the Markdown in"," ","\n",(0,jsx_runtime.jsx)("code",{children:"stories/Introduction.stories.mdx"})]})})]})}const __page=()=>{throw new Error("Docs-only story")};__page.parameters={docsOnly:!0};const componentMeta={title:"Example/Introduction",tags:["stories-mdx"],includeStories:["__page"]};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs={...componentMeta.parameters.docs||{},page:function MDXContent(props={}){const{wrapper:MDXLayout}=Object.assign({},(0,lib.ah)(),props.components);return MDXLayout?(0,jsx_runtime.jsx)(MDXLayout,{...props,children:(0,jsx_runtime.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}};const Introduction_stories=componentMeta,__namedExportsOrder=["__page"]},"./node_modules/memoizerific sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/memoizerific sync recursive",module.exports=webpackEmptyContext},"./node_modules/react/cjs/react-jsx-runtime.production.min.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var f=__webpack_require__("./node_modules/react/index.js"),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function q(c,a,g){var b,d={},e=null,h=null;for(b in void 0!==g&&(e=""+g),void 0!==a.key&&(e=""+a.key),void 0!==a.ref&&(h=a.ref),a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l,exports.jsx=q,exports.jsxs=q},"./node_modules/react/jsx-runtime.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/react/cjs/react-jsx-runtime.production.min.js")}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"v":3,"stories":{"example-introduction--docs":{"id":"example-introduction--docs","title":"Example/Introduction","name":"Docs","importPath":"./src/stories/Introduction.stories.mdx","tags":["stories-mdx","stories-mdx-docsOnly","docs"],"storiesImports":[],"kind":"Example/Introduction","story":"Docs","parameters":{"__id":"example-introduction--docs","docsOnly":true,"fileName":"./src/stories/Introduction.stories.mdx"}},"example-accordion--docs":{"id":"example-accordion--docs","title":"Example/Accordion","name":"Docs","importPath":"./src/components/accordion/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Example/Accordion","story":"Docs","parameters":{"__id":"example-accordion--docs","docsOnly":true,"fileName":"./src/components/accordion/index.stories.tsx"}},"example-accordion--primary":{"id":"example-accordion--primary","name":"Primary","title":"Example/Accordion","importPath":"./src/components/accordion/index.stories.tsx","tags":["story"],"kind":"Example/Accordion","story":"Primary","parameters":{"__id":"example-accordion--primary","docsOnly":false,"fileName":"./src/components/accordion/index.stories.tsx"}},"example-accordion--secondary":{"id":"example-accordion--secondary","name":"Secondary","title":"Example/Accordion","importPath":"./src/components/accordion/index.stories.tsx","tags":["story"],"kind":"Example/Accordion","story":"Secondary","parameters":{"__id":"example-accordion--secondary","docsOnly":false,"fileName":"./src/components/accordion/index.stories.tsx"}},"example-button--docs":{"id":"example-button--docs","title":"Example/Button","name":"Docs","importPath":"./src/components/button/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Example/Button","story":"Docs","parameters":{"__id":"example-button--docs","docsOnly":true,"fileName":"./src/components/button/index.stories.tsx"}},"example-button--primary":{"id":"example-button--primary","name":"Primary","title":"Example/Button","importPath":"./src/components/button/index.stories.tsx","tags":["story"],"kind":"Example/Button","story":"Primary","parameters":{"__id":"example-button--primary","docsOnly":false,"fileName":"./src/components/button/index.stories.tsx"}},"example-button--secondary":{"id":"example-button--secondary","name":"Secondary","title":"Example/Button","importPath":"./src/components/button/index.stories.tsx","tags":["story"],"kind":"Example/Button","story":"Secondary","parameters":{"__id":"example-button--secondary","docsOnly":false,"fileName":"./src/components/button/index.stories.tsx"}},"example-form--docs":{"id":"example-form--docs","title":"Example/Form","name":"Docs","importPath":"./src/components/form/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Example/Form","story":"Docs","parameters":{"__id":"example-form--docs","docsOnly":true,"fileName":"./src/components/form/index.stories.tsx"}},"example-form--insert-form":{"id":"example-form--insert-form","name":"Insert Form","title":"Example/Form","importPath":"./src/components/form/index.stories.tsx","tags":["story"],"kind":"Example/Form","story":"Insert Form","parameters":{"__id":"example-form--insert-form","docsOnly":false,"fileName":"./src/components/form/index.stories.tsx"}},"example-form--update-form":{"id":"example-form--update-form","name":"Update Form","title":"Example/Form","importPath":"./src/components/form/index.stories.tsx","tags":["story"],"kind":"Example/Form","story":"Update Form","parameters":{"__id":"example-form--update-form","docsOnly":false,"fileName":"./src/components/form/index.stories.tsx"}},"example-input--docs":{"id":"example-input--docs","title":"Example/Input","name":"Docs","importPath":"./src/components/input/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Example/Input","story":"Docs","parameters":{"__id":"example-input--docs","docsOnly":true,"fileName":"./src/components/input/index.stories.tsx"}},"example-input--primary":{"id":"example-input--primary","name":"Primary","title":"Example/Input","importPath":"./src/components/input/index.stories.tsx","tags":["story"],"kind":"Example/Input","story":"Primary","parameters":{"__id":"example-input--primary","docsOnly":false,"fileName":"./src/components/input/index.stories.tsx"}},"example-input--error":{"id":"example-input--error","name":"Error","title":"Example/Input","importPath":"./src/components/input/index.stories.tsx","tags":["story"],"kind":"Example/Input","story":"Error","parameters":{"__id":"example-input--error","docsOnly":false,"fileName":"./src/components/input/index.stories.tsx"}},"example-input--search":{"id":"example-input--search","name":"Search","title":"Example/Input","importPath":"./src/components/input/index.stories.tsx","tags":["story"],"kind":"Example/Input","story":"Search","parameters":{"__id":"example-input--search","docsOnly":false,"fileName":"./src/components/input/index.stories.tsx"}},"example-loading--docs":{"id":"example-loading--docs","title":"Example/Loading","name":"Docs","importPath":"./src/components/loading/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Example/Loading","story":"Docs","parameters":{"__id":"example-loading--docs","docsOnly":true,"fileName":"./src/components/loading/index.stories.tsx"}},"example-loading--primary":{"id":"example-loading--primary","name":"Primary","title":"Example/Loading","importPath":"./src/components/loading/index.stories.tsx","tags":["story"],"kind":"Example/Loading","story":"Primary","parameters":{"__id":"example-loading--primary","docsOnly":false,"fileName":"./src/components/loading/index.stories.tsx"}},"example-map--docs":{"id":"example-map--docs","title":"Example/Map","name":"Docs","importPath":"./src/components/map/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Example/Map","story":"Docs","parameters":{"__id":"example-map--docs","docsOnly":true,"fileName":"./src/components/map/index.stories.tsx"}},"example-map--deck-gl":{"id":"example-map--deck-gl","name":"Deck GL","title":"Example/Map","importPath":"./src/components/map/index.stories.tsx","tags":["story"],"kind":"Example/Map","story":"Deck GL","parameters":{"__id":"example-map--deck-gl","docsOnly":false,"fileName":"./src/components/map/index.stories.tsx"}},"example-map--deck-gl-points":{"id":"example-map--deck-gl-points","name":"Deck GL Points","title":"Example/Map","importPath":"./src/components/map/index.stories.tsx","tags":["story"],"kind":"Example/Map","story":"Deck GL Points","parameters":{"__id":"example-map--deck-gl-points","docsOnly":false,"fileName":"./src/components/map/index.stories.tsx"}},"example-map--mapbox":{"id":"example-map--mapbox","name":"Mapbox","title":"Example/Map","importPath":"./src/components/map/index.stories.tsx","tags":["story"],"kind":"Example/Map","story":"Mapbox","parameters":{"__id":"example-map--mapbox","docsOnly":false,"fileName":"./src/components/map/index.stories.tsx"}},"example-modal--docs":{"id":"example-modal--docs","title":"Example/Modal","name":"Docs","importPath":"./src/components/modal/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Example/Modal","story":"Docs","parameters":{"__id":"example-modal--docs","docsOnly":true,"fileName":"./src/components/modal/index.stories.tsx"}},"example-modal--primary":{"id":"example-modal--primary","name":"Primary","title":"Example/Modal","importPath":"./src/components/modal/index.stories.tsx","tags":["story"],"kind":"Example/Modal","story":"Primary","parameters":{"__id":"example-modal--primary","docsOnly":false,"fileName":"./src/components/modal/index.stories.tsx"}},"example-select--docs":{"id":"example-select--docs","title":"Example/Select","name":"Docs","importPath":"./src/components/select/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Example/Select","story":"Docs","parameters":{"__id":"example-select--docs","docsOnly":true,"fileName":"./src/components/select/index.stories.tsx"}},"example-select--primary":{"id":"example-select--primary","name":"Primary","title":"Example/Select","importPath":"./src/components/select/index.stories.tsx","tags":["story"],"kind":"Example/Select","story":"Primary","parameters":{"__id":"example-select--primary","docsOnly":false,"fileName":"./src/components/select/index.stories.tsx"}},"example-select--error":{"id":"example-select--error","name":"Error","title":"Example/Select","importPath":"./src/components/select/index.stories.tsx","tags":["story"],"kind":"Example/Select","story":"Error","parameters":{"__id":"example-select--error","docsOnly":false,"fileName":"./src/components/select/index.stories.tsx"}},"example-textarea--docs":{"id":"example-textarea--docs","title":"Example/TextArea","name":"Docs","importPath":"./src/components/text-area/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Example/TextArea","story":"Docs","parameters":{"__id":"example-textarea--docs","docsOnly":true,"fileName":"./src/components/text-area/index.stories.tsx"}},"example-textarea--active":{"id":"example-textarea--active","name":"Active","title":"Example/TextArea","importPath":"./src/components/text-area/index.stories.tsx","tags":["story"],"kind":"Example/TextArea","story":"Active","parameters":{"__id":"example-textarea--active","docsOnly":false,"fileName":"./src/components/text-area/index.stories.tsx"}},"example-textarea--disabled":{"id":"example-textarea--disabled","name":"Disabled","title":"Example/TextArea","importPath":"./src/components/text-area/index.stories.tsx","tags":["story"],"kind":"Example/TextArea","story":"Disabled","parameters":{"__id":"example-textarea--disabled","docsOnly":false,"fileName":"./src/components/text-area/index.stories.tsx"}},"context-loading--docs":{"id":"context-loading--docs","title":"Context/Loading","name":"Docs","importPath":"./src/context/loading/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Context/Loading","story":"Docs","parameters":{"__id":"context-loading--docs","docsOnly":true,"fileName":"./src/context/loading/index.stories.tsx"}},"context-loading--basic":{"id":"context-loading--basic","name":"Basic","title":"Context/Loading","importPath":"./src/context/loading/index.stories.tsx","tags":["story"],"kind":"Context/Loading","story":"Basic","parameters":{"__id":"context-loading--basic","docsOnly":false,"fileName":"./src/context/loading/index.stories.tsx"}},"context-loading--custom-message":{"id":"context-loading--custom-message","name":"Custom Message","title":"Context/Loading","importPath":"./src/context/loading/index.stories.tsx","tags":["story"],"kind":"Context/Loading","story":"Custom Message","parameters":{"__id":"context-loading--custom-message","docsOnly":false,"fileName":"./src/context/loading/index.stories.tsx"}},"context-loading--custom-image":{"id":"context-loading--custom-image","name":"Custom Image","title":"Context/Loading","importPath":"./src/context/loading/index.stories.tsx","tags":["story"],"kind":"Context/Loading","story":"Custom Image","parameters":{"__id":"context-loading--custom-image","docsOnly":false,"fileName":"./src/context/loading/index.stories.tsx"}},"context-modal--docs":{"id":"context-modal--docs","title":"Context/Modal","name":"Docs","importPath":"./src/context/modal/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Context/Modal","story":"Docs","parameters":{"__id":"context-modal--docs","docsOnly":true,"fileName":"./src/context/modal/index.stories.tsx"}},"context-modal--basic":{"id":"context-modal--basic","name":"Basic","title":"Context/Modal","importPath":"./src/context/modal/index.stories.tsx","tags":["story"],"kind":"Context/Modal","story":"Basic","parameters":{"__id":"context-modal--basic","docsOnly":false,"fileName":"./src/context/modal/index.stories.tsx"}}}}
|
|
1
|
+
{"v":3,"stories":{"example-introduction--docs":{"id":"example-introduction--docs","title":"Example/Introduction","name":"Docs","importPath":"./src/stories/Introduction.stories.mdx","tags":["stories-mdx","stories-mdx-docsOnly","docs"],"storiesImports":[],"kind":"Example/Introduction","story":"Docs","parameters":{"__id":"example-introduction--docs","docsOnly":true,"fileName":"./src/stories/Introduction.stories.mdx"}},"components-button--docs":{"id":"components-button--docs","title":"Components/Button","name":"Docs","importPath":"./src/components/button/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Components/Button","story":"Docs","parameters":{"__id":"components-button--docs","docsOnly":true,"fileName":"./src/components/button/index.stories.tsx"}},"components-button--primary-medium":{"id":"components-button--primary-medium","name":"Primary Medium","title":"Components/Button","importPath":"./src/components/button/index.stories.tsx","tags":["story"],"kind":"Components/Button","story":"Primary Medium","parameters":{"__id":"components-button--primary-medium","docsOnly":false,"fileName":"./src/components/button/index.stories.tsx"}},"components-button--primary-large":{"id":"components-button--primary-large","name":"Primary Large","title":"Components/Button","importPath":"./src/components/button/index.stories.tsx","tags":["story"],"kind":"Components/Button","story":"Primary Large","parameters":{"__id":"components-button--primary-large","docsOnly":false,"fileName":"./src/components/button/index.stories.tsx"}},"components-button--primary-small":{"id":"components-button--primary-small","name":"Primary Small","title":"Components/Button","importPath":"./src/components/button/index.stories.tsx","tags":["story"],"kind":"Components/Button","story":"Primary Small","parameters":{"__id":"components-button--primary-small","docsOnly":false,"fileName":"./src/components/button/index.stories.tsx"}},"components-button--secondary-color":{"id":"components-button--secondary-color","name":"Secondary Color","title":"Components/Button","importPath":"./src/components/button/index.stories.tsx","tags":["story"],"kind":"Components/Button","story":"Secondary Color","parameters":{"__id":"components-button--secondary-color","docsOnly":false,"fileName":"./src/components/button/index.stories.tsx"}},"components-button--secondary-button-link":{"id":"components-button--secondary-button-link","name":"Secondary Button Link","title":"Components/Button","importPath":"./src/components/button/index.stories.tsx","tags":["story"],"kind":"Components/Button","story":"Secondary Button Link","parameters":{"__id":"components-button--secondary-button-link","docsOnly":false,"fileName":"./src/components/button/index.stories.tsx"}},"components-button--primary-button-disabled":{"id":"components-button--primary-button-disabled","name":"Primary Button Disabled","title":"Components/Button","importPath":"./src/components/button/index.stories.tsx","tags":["story"],"kind":"Components/Button","story":"Primary Button Disabled","parameters":{"__id":"components-button--primary-button-disabled","docsOnly":false,"fileName":"./src/components/button/index.stories.tsx"}},"components-button--secondary-button-disabled":{"id":"components-button--secondary-button-disabled","name":"Secondary Button Disabled","title":"Components/Button","importPath":"./src/components/button/index.stories.tsx","tags":["story"],"kind":"Components/Button","story":"Secondary Button Disabled","parameters":{"__id":"components-button--secondary-button-disabled","docsOnly":false,"fileName":"./src/components/button/index.stories.tsx"}},"components-button--icon-button":{"id":"components-button--icon-button","name":"Icon Button","title":"Components/Button","importPath":"./src/components/button/index.stories.tsx","tags":["story"],"kind":"Components/Button","story":"Icon Button","parameters":{"__id":"components-button--icon-button","docsOnly":false,"fileName":"./src/components/button/index.stories.tsx"}},"components-button--primary-button-link":{"id":"components-button--primary-button-link","name":"Primary Button Link","title":"Components/Button","importPath":"./src/components/button/index.stories.tsx","tags":["story"],"kind":"Components/Button","story":"Primary Button Link","parameters":{"__id":"components-button--primary-button-link","docsOnly":false,"fileName":"./src/components/button/index.stories.tsx"}},"components-button--link-outside-button":{"id":"components-button--link-outside-button","name":"Link Outside Button","title":"Components/Button","importPath":"./src/components/button/index.stories.tsx","tags":["story"],"kind":"Components/Button","story":"Link Outside Button","parameters":{"__id":"components-button--link-outside-button","docsOnly":false,"fileName":"./src/components/button/index.stories.tsx"}},"components-button--link-outside-button-as-pure-link":{"id":"components-button--link-outside-button-as-pure-link","name":"Link Outside Button As Pure Link","title":"Components/Button","importPath":"./src/components/button/index.stories.tsx","tags":["story"],"kind":"Components/Button","story":"Link Outside Button As Pure Link","parameters":{"__id":"components-button--link-outside-button-as-pure-link","docsOnly":false,"fileName":"./src/components/button/index.stories.tsx"}},"components-form--docs":{"id":"components-form--docs","title":"Components/Form","name":"Docs","importPath":"./src/components/form/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Components/Form","story":"Docs","parameters":{"__id":"components-form--docs","docsOnly":true,"fileName":"./src/components/form/index.stories.tsx"}},"components-form--insert-form":{"id":"components-form--insert-form","name":"Insert Form","title":"Components/Form","importPath":"./src/components/form/index.stories.tsx","tags":["story"],"kind":"Components/Form","story":"Insert Form","parameters":{"__id":"components-form--insert-form","docsOnly":false,"fileName":"./src/components/form/index.stories.tsx"}},"components-form--update-form-with-full-initial-state":{"id":"components-form--update-form-with-full-initial-state","name":"Update Form With Full Initial State","title":"Components/Form","importPath":"./src/components/form/index.stories.tsx","tags":["story"],"kind":"Components/Form","story":"Update Form With Full Initial State","parameters":{"__id":"components-form--update-form-with-full-initial-state","docsOnly":false,"fileName":"./src/components/form/index.stories.tsx"}},"components-form--only-input":{"id":"components-form--only-input","name":"Only Input","title":"Components/Form","importPath":"./src/components/form/index.stories.tsx","tags":["story"],"kind":"Components/Form","story":"Only Input","parameters":{"__id":"components-form--only-input","docsOnly":false,"fileName":"./src/components/form/index.stories.tsx"}},"components-form--only-text-area":{"id":"components-form--only-text-area","name":"Only Text Area","title":"Components/Form","importPath":"./src/components/form/index.stories.tsx","tags":["story"],"kind":"Components/Form","story":"Only Text Area","parameters":{"__id":"components-form--only-text-area","docsOnly":false,"fileName":"./src/components/form/index.stories.tsx"}},"components-form--only-select-different-button":{"id":"components-form--only-select-different-button","name":"Only Select Different Button","title":"Components/Form","importPath":"./src/components/form/index.stories.tsx","tags":["story"],"kind":"Components/Form","story":"Only Select Different Button","parameters":{"__id":"components-form--only-select-different-button","docsOnly":false,"fileName":"./src/components/form/index.stories.tsx"}},"components-input--docs":{"id":"components-input--docs","title":"Components/Input","name":"Docs","importPath":"./src/components/input/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Components/Input","story":"Docs","parameters":{"__id":"components-input--docs","docsOnly":true,"fileName":"./src/components/input/index.stories.tsx"}},"components-input--primary":{"id":"components-input--primary","name":"Primary","title":"Components/Input","importPath":"./src/components/input/index.stories.tsx","tags":["story"],"kind":"Components/Input","story":"Primary","parameters":{"__id":"components-input--primary","docsOnly":false,"fileName":"./src/components/input/index.stories.tsx"}},"components-input--error":{"id":"components-input--error","name":"Error","title":"Components/Input","importPath":"./src/components/input/index.stories.tsx","tags":["story"],"kind":"Components/Input","story":"Error","parameters":{"__id":"components-input--error","docsOnly":false,"fileName":"./src/components/input/index.stories.tsx"}},"components-input--search":{"id":"components-input--search","name":"Search","title":"Components/Input","importPath":"./src/components/input/index.stories.tsx","tags":["story"],"kind":"Components/Input","story":"Search","parameters":{"__id":"components-input--search","docsOnly":false,"fileName":"./src/components/input/index.stories.tsx"}},"components-input--with-label":{"id":"components-input--with-label","name":"With Label","title":"Components/Input","importPath":"./src/components/input/index.stories.tsx","tags":["story"],"kind":"Components/Input","story":"With Label","parameters":{"__id":"components-input--with-label","docsOnly":false,"fileName":"./src/components/input/index.stories.tsx"}},"components-input--with-label-special-class":{"id":"components-input--with-label-special-class","name":"With Label Special Class","title":"Components/Input","importPath":"./src/components/input/index.stories.tsx","tags":["story"],"kind":"Components/Input","story":"With Label Special Class","parameters":{"__id":"components-input--with-label-special-class","docsOnly":false,"fileName":"./src/components/input/index.stories.tsx"}},"components-input--with-custom-class-name":{"id":"components-input--with-custom-class-name","name":"With Custom Class Name","title":"Components/Input","importPath":"./src/components/input/index.stories.tsx","tags":["story"],"kind":"Components/Input","story":"With Custom Class Name","parameters":{"__id":"components-input--with-custom-class-name","docsOnly":false,"fileName":"./src/components/input/index.stories.tsx"}},"components-input--custom-background-color":{"id":"components-input--custom-background-color","name":"Custom Background Color","title":"Components/Input","importPath":"./src/components/input/index.stories.tsx","tags":["story"],"kind":"Components/Input","story":"Custom Background Color","parameters":{"__id":"components-input--custom-background-color","docsOnly":false,"fileName":"./src/components/input/index.stories.tsx"}},"components-loading--docs":{"id":"components-loading--docs","title":"Components/Loading","name":"Docs","importPath":"./src/components/loading/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Components/Loading","story":"Docs","parameters":{"__id":"components-loading--docs","docsOnly":true,"fileName":"./src/components/loading/index.stories.tsx"}},"components-loading--primary":{"id":"components-loading--primary","name":"Primary","title":"Components/Loading","importPath":"./src/components/loading/index.stories.tsx","tags":["story"],"kind":"Components/Loading","story":"Primary","parameters":{"__id":"components-loading--primary","docsOnly":false,"fileName":"./src/components/loading/index.stories.tsx"}},"components-map--docs":{"id":"components-map--docs","title":"Components/Map","name":"Docs","importPath":"./src/components/map/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Components/Map","story":"Docs","parameters":{"__id":"components-map--docs","docsOnly":true,"fileName":"./src/components/map/index.stories.tsx"}},"components-map--deck-gl":{"id":"components-map--deck-gl","name":"Deck GL","title":"Components/Map","importPath":"./src/components/map/index.stories.tsx","tags":["story"],"kind":"Components/Map","story":"Deck GL","parameters":{"__id":"components-map--deck-gl","docsOnly":false,"fileName":"./src/components/map/index.stories.tsx"}},"components-map--deck-gl-points":{"id":"components-map--deck-gl-points","name":"Deck GL Points","title":"Components/Map","importPath":"./src/components/map/index.stories.tsx","tags":["story"],"kind":"Components/Map","story":"Deck GL Points","parameters":{"__id":"components-map--deck-gl-points","docsOnly":false,"fileName":"./src/components/map/index.stories.tsx"}},"components-map--deck-gl-popup":{"id":"components-map--deck-gl-popup","name":"Deck GL Popup","title":"Components/Map","importPath":"./src/components/map/index.stories.tsx","tags":["story"],"kind":"Components/Map","story":"Deck GL Popup","parameters":{"__id":"components-map--deck-gl-popup","docsOnly":false,"fileName":"./src/components/map/index.stories.tsx"}},"components-map--deck-gl-toc":{"id":"components-map--deck-gl-toc","name":"Deck GL Toc","title":"Components/Map","importPath":"./src/components/map/index.stories.tsx","tags":["story"],"kind":"Components/Map","story":"Deck GL Toc","parameters":{"__id":"components-map--deck-gl-toc","docsOnly":false,"fileName":"./src/components/map/index.stories.tsx"}},"components-map--mapbox":{"id":"components-map--mapbox","name":"Mapbox","title":"Components/Map","importPath":"./src/components/map/index.stories.tsx","tags":["story"],"kind":"Components/Map","story":"Mapbox","parameters":{"__id":"components-map--mapbox","docsOnly":false,"fileName":"./src/components/map/index.stories.tsx"}},"components-map--mapbox-popup":{"id":"components-map--mapbox-popup","name":"Mapbox Popup","title":"Components/Map","importPath":"./src/components/map/index.stories.tsx","tags":["story"],"kind":"Components/Map","story":"Mapbox Popup","parameters":{"__id":"components-map--mapbox-popup","docsOnly":false,"fileName":"./src/components/map/index.stories.tsx"}},"components-map--mapbox-toc":{"id":"components-map--mapbox-toc","name":"Mapbox Toc","title":"Components/Map","importPath":"./src/components/map/index.stories.tsx","tags":["story"],"kind":"Components/Map","story":"Mapbox Toc","parameters":{"__id":"components-map--mapbox-toc","docsOnly":false,"fileName":"./src/components/map/index.stories.tsx"}},"components-menu--docs":{"id":"components-menu--docs","title":"Components/Menu","name":"Docs","importPath":"./src/components/menu/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Components/Menu","story":"Docs","parameters":{"__id":"components-menu--docs","docsOnly":true,"fileName":"./src/components/menu/index.stories.tsx"}},"components-menu--primary-open-by-default":{"id":"components-menu--primary-open-by-default","name":"Primary Open By Default","title":"Components/Menu","importPath":"./src/components/menu/index.stories.tsx","tags":["story"],"kind":"Components/Menu","story":"Primary Open By Default","parameters":{"__id":"components-menu--primary-open-by-default","docsOnly":false,"fileName":"./src/components/menu/index.stories.tsx"}},"components-menu--secondary-closed-by-default":{"id":"components-menu--secondary-closed-by-default","name":"Secondary Closed By Default","title":"Components/Menu","importPath":"./src/components/menu/index.stories.tsx","tags":["story"],"kind":"Components/Menu","story":"Secondary Closed By Default","parameters":{"__id":"components-menu--secondary-closed-by-default","docsOnly":false,"fileName":"./src/components/menu/index.stories.tsx"}},"components-modal--docs":{"id":"components-modal--docs","title":"Components/Modal","name":"Docs","importPath":"./src/components/modal/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Components/Modal","story":"Docs","parameters":{"__id":"components-modal--docs","docsOnly":true,"fileName":"./src/components/modal/index.stories.tsx"}},"components-modal--primary-with-overlay":{"id":"components-modal--primary-with-overlay","name":"Primary With Overlay","title":"Components/Modal","importPath":"./src/components/modal/index.stories.tsx","tags":["story"],"kind":"Components/Modal","story":"Primary With Overlay","parameters":{"__id":"components-modal--primary-with-overlay","docsOnly":false,"fileName":"./src/components/modal/index.stories.tsx"}},"components-modal--title-and-subtitle":{"id":"components-modal--title-and-subtitle","name":"Title And Subtitle","title":"Components/Modal","importPath":"./src/components/modal/index.stories.tsx","tags":["story"],"kind":"Components/Modal","story":"Title And Subtitle","parameters":{"__id":"components-modal--title-and-subtitle","docsOnly":false,"fileName":"./src/components/modal/index.stories.tsx"}},"components-modal--without-overlay":{"id":"components-modal--without-overlay","name":"Without Overlay","title":"Components/Modal","importPath":"./src/components/modal/index.stories.tsx","tags":["story"],"kind":"Components/Modal","story":"Without Overlay","parameters":{"__id":"components-modal--without-overlay","docsOnly":false,"fileName":"./src/components/modal/index.stories.tsx"}},"components-modal--with-footer":{"id":"components-modal--with-footer","name":"With Footer","title":"Components/Modal","importPath":"./src/components/modal/index.stories.tsx","tags":["story"],"kind":"Components/Modal","story":"With Footer","parameters":{"__id":"components-modal--with-footer","docsOnly":false,"fileName":"./src/components/modal/index.stories.tsx"}},"components-modal--with-footer-and-subtitle":{"id":"components-modal--with-footer-and-subtitle","name":"With Footer And Subtitle","title":"Components/Modal","importPath":"./src/components/modal/index.stories.tsx","tags":["story"],"kind":"Components/Modal","story":"With Footer And Subtitle","parameters":{"__id":"components-modal--with-footer-and-subtitle","docsOnly":false,"fileName":"./src/components/modal/index.stories.tsx"}},"components-modal--without-close-button":{"id":"components-modal--without-close-button","name":"Without Close Button","title":"Components/Modal","importPath":"./src/components/modal/index.stories.tsx","tags":["story"],"kind":"Components/Modal","story":"Without Close Button","parameters":{"__id":"components-modal--without-close-button","docsOnly":false,"fileName":"./src/components/modal/index.stories.tsx"}},"components-select--docs":{"id":"components-select--docs","title":"Components/Select","name":"Docs","importPath":"./src/components/select/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Components/Select","story":"Docs","parameters":{"__id":"components-select--docs","docsOnly":true,"fileName":"./src/components/select/index.stories.tsx"}},"components-select--primary":{"id":"components-select--primary","name":"Primary","title":"Components/Select","importPath":"./src/components/select/index.stories.tsx","tags":["story"],"kind":"Components/Select","story":"Primary","parameters":{"__id":"components-select--primary","docsOnly":false,"fileName":"./src/components/select/index.stories.tsx"}},"components-select--primary-label-and-label-class":{"id":"components-select--primary-label-and-label-class","name":"Primary Label And Label Class","title":"Components/Select","importPath":"./src/components/select/index.stories.tsx","tags":["story"],"kind":"Components/Select","story":"Primary Label And Label Class","parameters":{"__id":"components-select--primary-label-and-label-class","docsOnly":false,"fileName":"./src/components/select/index.stories.tsx"}},"components-select--error":{"id":"components-select--error","name":"Error","title":"Components/Select","importPath":"./src/components/select/index.stories.tsx","tags":["story"],"kind":"Components/Select","story":"Error","parameters":{"__id":"components-select--error","docsOnly":false,"fileName":"./src/components/select/index.stories.tsx"}},"components-select--different-default-selected-value":{"id":"components-select--different-default-selected-value","name":"Different Default Selected Value","title":"Components/Select","importPath":"./src/components/select/index.stories.tsx","tags":["story"],"kind":"Components/Select","story":"Different Default Selected Value","parameters":{"__id":"components-select--different-default-selected-value","docsOnly":false,"fileName":"./src/components/select/index.stories.tsx"}},"components-select--different-class-name-group":{"id":"components-select--different-class-name-group","name":"Different Class Name Group","title":"Components/Select","importPath":"./src/components/select/index.stories.tsx","tags":["story"],"kind":"Components/Select","story":"Different Class Name Group","parameters":{"__id":"components-select--different-class-name-group","docsOnly":false,"fileName":"./src/components/select/index.stories.tsx"}},"components-textarea--docs":{"id":"components-textarea--docs","title":"Components/TextArea","name":"Docs","importPath":"./src/components/text-area/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Components/TextArea","story":"Docs","parameters":{"__id":"components-textarea--docs","docsOnly":true,"fileName":"./src/components/text-area/index.stories.tsx"}},"components-textarea--active":{"id":"components-textarea--active","name":"Active","title":"Components/TextArea","importPath":"./src/components/text-area/index.stories.tsx","tags":["story"],"kind":"Components/TextArea","story":"Active","parameters":{"__id":"components-textarea--active","docsOnly":false,"fileName":"./src/components/text-area/index.stories.tsx"}},"components-textarea--disabled":{"id":"components-textarea--disabled","name":"Disabled","title":"Components/TextArea","importPath":"./src/components/text-area/index.stories.tsx","tags":["story"],"kind":"Components/TextArea","story":"Disabled","parameters":{"__id":"components-textarea--disabled","docsOnly":false,"fileName":"./src/components/text-area/index.stories.tsx"}},"components-textarea--active-with-label":{"id":"components-textarea--active-with-label","name":"Active With Label","title":"Components/TextArea","importPath":"./src/components/text-area/index.stories.tsx","tags":["story"],"kind":"Components/TextArea","story":"Active With Label","parameters":{"__id":"components-textarea--active-with-label","docsOnly":false,"fileName":"./src/components/text-area/index.stories.tsx"}},"components-textarea--active-with-configurable-label":{"id":"components-textarea--active-with-configurable-label","name":"Active With Configurable Label","title":"Components/TextArea","importPath":"./src/components/text-area/index.stories.tsx","tags":["story"],"kind":"Components/TextArea","story":"Active With Configurable Label","parameters":{"__id":"components-textarea--active-with-configurable-label","docsOnly":false,"fileName":"./src/components/text-area/index.stories.tsx"}},"components-textarea--no-toggle-button":{"id":"components-textarea--no-toggle-button","name":"No Toggle Button","title":"Components/TextArea","importPath":"./src/components/text-area/index.stories.tsx","tags":["story"],"kind":"Components/TextArea","story":"No Toggle Button","parameters":{"__id":"components-textarea--no-toggle-button","docsOnly":false,"fileName":"./src/components/text-area/index.stories.tsx"}},"context-loading--docs":{"id":"context-loading--docs","title":"Context/Loading","name":"Docs","importPath":"./src/context/loading/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Context/Loading","story":"Docs","parameters":{"__id":"context-loading--docs","docsOnly":true,"fileName":"./src/context/loading/index.stories.tsx"}},"context-loading--basic":{"id":"context-loading--basic","name":"Basic","title":"Context/Loading","importPath":"./src/context/loading/index.stories.tsx","tags":["story"],"kind":"Context/Loading","story":"Basic","parameters":{"__id":"context-loading--basic","docsOnly":false,"fileName":"./src/context/loading/index.stories.tsx"}},"context-loading--custom-message":{"id":"context-loading--custom-message","name":"Custom Message","title":"Context/Loading","importPath":"./src/context/loading/index.stories.tsx","tags":["story"],"kind":"Context/Loading","story":"Custom Message","parameters":{"__id":"context-loading--custom-message","docsOnly":false,"fileName":"./src/context/loading/index.stories.tsx"}},"context-loading--custom-image":{"id":"context-loading--custom-image","name":"Custom Image","title":"Context/Loading","importPath":"./src/context/loading/index.stories.tsx","tags":["story"],"kind":"Context/Loading","story":"Custom Image","parameters":{"__id":"context-loading--custom-image","docsOnly":false,"fileName":"./src/context/loading/index.stories.tsx"}},"context-modal--docs":{"id":"context-modal--docs","title":"Context/Modal","name":"Docs","importPath":"./src/context/modal/index.stories.tsx","tags":["docs","autodocs"],"storiesImports":[],"kind":"Context/Modal","story":"Docs","parameters":{"__id":"context-modal--docs","docsOnly":true,"fileName":"./src/context/modal/index.stories.tsx"}},"context-modal--basic":{"id":"context-modal--basic","name":"Basic","title":"Context/Modal","importPath":"./src/context/modal/index.stories.tsx","tags":["story"],"kind":"Context/Modal","story":"Basic","parameters":{"__id":"context-modal--basic","docsOnly":false,"fileName":"./src/context/modal/index.stories.tsx"}}}}
|
package/.yarn/install-state.gz
DELETED
|
Binary file
|
package/.yarnrc.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nodeLinker: node-modules
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import "./index.css";
|
|
2
|
-
import { AccordionButton as AccordionButtonProps } from "./index.types";
|
|
3
|
-
export declare function AccordionButton({ children, className, is, label, ...rest }: AccordionButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default AccordionButton;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import "./index.css";
|
|
2
|
-
import { AccordionContent as AccordionContentProps } from "./index.types";
|
|
3
|
-
export declare const AccordionContent: ({ children, className, label, toggle, }: AccordionContentProps) => false | "" | import("react/jsx-runtime").JSX.Element | undefined;
|
|
4
|
-
export default AccordionContent;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { Accordion } from "./accordion";
|
|
3
|
-
declare const meta: Meta<typeof Accordion>;
|
|
4
|
-
type Story = StoryObj<typeof Accordion>;
|
|
5
|
-
export declare const Primary: Story;
|
|
6
|
-
export declare const Secondary: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { ButtonAsButton, ButtonAsLink } from "../button/index.types";
|
|
3
|
-
export interface Accordion {
|
|
4
|
-
/**
|
|
5
|
-
* Accordion children
|
|
6
|
-
*/
|
|
7
|
-
children: ReactNode | ReactNode[];
|
|
8
|
-
/**
|
|
9
|
-
* Expand all items
|
|
10
|
-
*/
|
|
11
|
-
expanded: "all" | "none" | "custom";
|
|
12
|
-
}
|
|
13
|
-
export interface ToggleArray {
|
|
14
|
-
[key: string]: {
|
|
15
|
-
depth: number;
|
|
16
|
-
isToggle: boolean;
|
|
17
|
-
paddingLeft?: string;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export interface AccordionItem {
|
|
21
|
-
children: ReactNode | ReactNode[];
|
|
22
|
-
className?: string;
|
|
23
|
-
label?: string;
|
|
24
|
-
isExpanded?: boolean;
|
|
25
|
-
}
|
|
26
|
-
export type AccordionButton = ButtonAsButton & ButtonAsLink & {
|
|
27
|
-
is?: "button" | "link";
|
|
28
|
-
label?: string;
|
|
29
|
-
toggle?: ToggleArray;
|
|
30
|
-
};
|
|
31
|
-
export interface AccordionContent {
|
|
32
|
-
children: ReactNode | ReactNode[];
|
|
33
|
-
className?: string;
|
|
34
|
-
label?: string;
|
|
35
|
-
toggle?: ToggleArray;
|
|
36
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ButtonAsButton, ButtonAsLink } from "./index.types";
|
|
3
|
-
import "./index.css";
|
|
4
|
-
export declare function Button({ children, className, icon, isNewWindow, mode, size, as, CustomAnchor, ...rest }: ButtonAsButton | ButtonAsLink): JSX.Element;
|
|
5
|
-
export default Button;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { StoryObj, Meta } from "@storybook/react";
|
|
2
|
-
import { Button } from "./index";
|
|
3
|
-
declare const meta: Meta<typeof Button>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Button>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Secondary: Story;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
type Mode = "primary" | "secondary" | "icon";
|
|
3
|
-
type Size = "small" | "medium" | "large";
|
|
4
|
-
export type ButtonAsButton = Base & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof Base> & {
|
|
5
|
-
as?: "button";
|
|
6
|
-
};
|
|
7
|
-
export type ButtonAsLink = Base & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof Base> & {
|
|
8
|
-
as?: "link";
|
|
9
|
-
};
|
|
10
|
-
export interface Base {
|
|
11
|
-
/**
|
|
12
|
-
* What to put inside the button (string or html elements)
|
|
13
|
-
*/
|
|
14
|
-
children?: JSX.Element | string;
|
|
15
|
-
/**
|
|
16
|
-
* Custom css class name
|
|
17
|
-
*/
|
|
18
|
-
className?: string;
|
|
19
|
-
/**
|
|
20
|
-
* If you want to add an icon image next to the children. Needs to be an react html element.
|
|
21
|
-
*/
|
|
22
|
-
icon?: JSX.Element;
|
|
23
|
-
/**
|
|
24
|
-
* If you want to open a new window on the browser when you click the button. Only applies to html anchor elements.
|
|
25
|
-
*/
|
|
26
|
-
isNewWindow?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Css mode used to style the button.
|
|
29
|
-
*/
|
|
30
|
-
mode?: Mode;
|
|
31
|
-
/**
|
|
32
|
-
* Button size.
|
|
33
|
-
*/
|
|
34
|
-
size?: Size;
|
|
35
|
-
/**
|
|
36
|
-
* Button type.
|
|
37
|
-
*/
|
|
38
|
-
as?: "button" | "link";
|
|
39
|
-
CustomAnchor?: React.ComponentClass<any>;
|
|
40
|
-
}
|
|
41
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { Form } from "./index";
|
|
3
|
-
declare const meta: Meta<typeof Form>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Form>;
|
|
6
|
-
export declare const InsertForm: Story;
|
|
7
|
-
export declare const UpdateForm: Story;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Dispatch, JSXElementConstructor, ReactElement, ReactNode, SetStateAction } from "react";
|
|
2
|
-
import { FieldError, FieldErrorsImpl, FieldValues, FormState, Merge } from "react-hook-form";
|
|
3
|
-
import { Input } from "../input/index.types";
|
|
4
|
-
import { TextArea } from "../text-area/index.types";
|
|
5
|
-
import { Select } from "../select/index.types";
|
|
6
|
-
export interface Form {
|
|
7
|
-
/**
|
|
8
|
-
* Custom css class name.
|
|
9
|
-
*/
|
|
10
|
-
className?: string;
|
|
11
|
-
children?: ReactNode | ReactNode[];
|
|
12
|
-
onSubmit: (data: FieldValues, setResult: SetResult) => void;
|
|
13
|
-
submitButton?: {
|
|
14
|
-
label: string;
|
|
15
|
-
};
|
|
16
|
-
initialState?: FormState<FieldValues>;
|
|
17
|
-
}
|
|
18
|
-
export interface ReactNodeControlled extends ReactElement<any, string | JSXElementConstructor<any>> {
|
|
19
|
-
props: ControlledInput;
|
|
20
|
-
}
|
|
21
|
-
export type ControlledInput = Input & TextArea & {
|
|
22
|
-
name: string;
|
|
23
|
-
error: string;
|
|
24
|
-
};
|
|
25
|
-
export type SetResult = Dispatch<SetStateAction<{
|
|
26
|
-
message?: string;
|
|
27
|
-
isSuccess: boolean;
|
|
28
|
-
}>>;
|
|
29
|
-
export interface FormInputs extends Input {
|
|
30
|
-
name: string;
|
|
31
|
-
isRequired?: boolean;
|
|
32
|
-
error?: {
|
|
33
|
-
message?: string | false | FieldError | Merge<FieldError, FieldErrorsImpl<any>> | undefined;
|
|
34
|
-
is?: boolean;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export interface FormSelect extends Select {
|
|
38
|
-
name: string;
|
|
39
|
-
isRequired?: boolean;
|
|
40
|
-
error?: {
|
|
41
|
-
message?: string | false | FieldError | Merge<FieldError, FieldErrorsImpl<any>> | undefined;
|
|
42
|
-
is?: boolean;
|
|
43
|
-
};
|
|
44
|
-
fieldsToReset?: string[];
|
|
45
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Input as InputProps } from "./index.types";
|
|
2
|
-
import "./index.css";
|
|
3
|
-
export declare function Input({ inputClassName, classNameGroup, error, inputRef, styleGroup, placeholder, label, labelClass, icon, ...rest }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default Input;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { Input } from "./index";
|
|
3
|
-
declare const meta: Meta<typeof Input>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Input>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Error: Story;
|
|
8
|
-
export declare const Search: Story;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { dataTheme } from "data-theme";
|
|
2
|
-
import { CSSProperties, ReactNode, Ref } from "react";
|
|
3
|
-
import { FieldError, FieldErrorsImpl, Merge } from "react-hook-form";
|
|
4
|
-
export interface Input extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
5
|
-
/**
|
|
6
|
-
* Custom css class name.
|
|
7
|
-
*/
|
|
8
|
-
inputClassName?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Custom css class name for group wrapper.
|
|
11
|
-
*/
|
|
12
|
-
classNameGroup?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Data theme for the html. `${themes}`
|
|
15
|
-
*/
|
|
16
|
-
paletteTheme?: dataTheme;
|
|
17
|
-
/**
|
|
18
|
-
* Error message to show when input has an error.
|
|
19
|
-
*/
|
|
20
|
-
error?: {
|
|
21
|
-
message?: string | false | FieldError | Merge<FieldError, FieldErrorsImpl<any>> | undefined;
|
|
22
|
-
is?: boolean;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Ref react elemnt to use
|
|
26
|
-
*/
|
|
27
|
-
inputRef?: Ref<HTMLInputElement>;
|
|
28
|
-
/**
|
|
29
|
-
* Style input group wrapper
|
|
30
|
-
*/
|
|
31
|
-
styleGroup?: CSSProperties;
|
|
32
|
-
isRequired?: boolean;
|
|
33
|
-
label?: string;
|
|
34
|
-
labelClass?: string;
|
|
35
|
-
icon?: {
|
|
36
|
-
className?: string;
|
|
37
|
-
element?: ReactNode;
|
|
38
|
-
position?: "right" | "left";
|
|
39
|
-
};
|
|
40
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Map as MapProps } from "./index.types";
|
|
2
|
-
import "./index.css";
|
|
3
|
-
export declare function MapComponent({ basemap, initialViewState, framework, mapProps, hasSwitchBasemap, layers, controls, basemapToken, ...rest }: MapProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default MapComponent;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { MapComponent } from "./index";
|
|
3
|
-
declare const meta: Meta<typeof MapComponent>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof MapComponent>;
|
|
6
|
-
export declare const DeckGL: Story;
|
|
7
|
-
export declare const DeckGLPoints: Story;
|
|
8
|
-
export declare const Mapbox: Story;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { Viewport } from "@deck.gl/core/typed";
|
|
3
|
-
import { LayerProps } from "@deck.gl/core/typed";
|
|
4
|
-
export interface Map {
|
|
5
|
-
/**
|
|
6
|
-
* Basemap tile
|
|
7
|
-
*/
|
|
8
|
-
basemap?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Component's children
|
|
11
|
-
*/
|
|
12
|
-
children?: ReactNode;
|
|
13
|
-
/**
|
|
14
|
-
* Viewport of the map
|
|
15
|
-
*/
|
|
16
|
-
initialViewState?: Viewport;
|
|
17
|
-
/**
|
|
18
|
-
* Type of the visualization framework
|
|
19
|
-
*/
|
|
20
|
-
framework?: "deck.gl" | "mapboxgl";
|
|
21
|
-
/**
|
|
22
|
-
* if it has switch basemap button
|
|
23
|
-
*/
|
|
24
|
-
hasSwitchBasemap?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Props of the visualization framework
|
|
27
|
-
*/
|
|
28
|
-
layers?: {
|
|
29
|
-
type: string;
|
|
30
|
-
layer: LayerProps;
|
|
31
|
-
}[];
|
|
32
|
-
/**
|
|
33
|
-
* Props of the visualization framework
|
|
34
|
-
*/
|
|
35
|
-
mapProps?: {
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Controls you want to add
|
|
40
|
-
*/
|
|
41
|
-
controls?: Controls;
|
|
42
|
-
}
|
|
43
|
-
export type Controls = {
|
|
44
|
-
[key in keyof Position]: ReactNode;
|
|
45
|
-
};
|
|
46
|
-
export interface Position {
|
|
47
|
-
"top-left"?: ReactNode;
|
|
48
|
-
"top-center"?: ReactNode;
|
|
49
|
-
"top-right"?: ReactNode;
|
|
50
|
-
"center-left"?: ReactNode;
|
|
51
|
-
center?: ReactNode;
|
|
52
|
-
"center-right"?: ReactNode;
|
|
53
|
-
"bottom-left"?: ReactNode;
|
|
54
|
-
"bottom-center"?: ReactNode;
|
|
55
|
-
"bottom-right"?: ReactNode;
|
|
56
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface MapControl {
|
|
3
|
-
/**
|
|
4
|
-
* Position of the control
|
|
5
|
-
*/
|
|
6
|
-
position?: "top-left" | "top-center" | "top-right" | "center-left" | "center" | "center-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
7
|
-
/**
|
|
8
|
-
* Children inside the control
|
|
9
|
-
*/
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Modal as ModalProps } from "./index.types";
|
|
2
|
-
import "./index.css";
|
|
3
|
-
export declare function Modal({ className, modalref, children, title, subtitle, footer, hasOverlay, hasCloseButton, handleClose, ...rest }: ModalProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default Modal;
|