@feminab/box-ui 0.1.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/.babelrc +15 -0
- package/.storybook/main.ts +20 -0
- package/.storybook/preview.ts +15 -0
- package/README.md +46 -0
- package/dist/@interfaces/Badge.d.d.ts +12 -0
- package/dist/@interfaces/Badge.d.d.ts.map +1 -0
- package/dist/@interfaces/Button.d.d.ts +15 -0
- package/dist/@interfaces/Button.d.d.ts.map +1 -0
- package/dist/@interfaces/Color.d.d.ts +6 -0
- package/dist/@interfaces/Color.d.d.ts.map +1 -0
- package/dist/@interfaces/IButtonItem.d.d.ts +6 -0
- package/dist/@interfaces/IButtonItem.d.d.ts.map +1 -0
- package/dist/@interfaces/ISubNavItem.d.d.ts +9 -0
- package/dist/@interfaces/ISubNavItem.d.d.ts.map +1 -0
- package/dist/@interfaces/MobileNavProps.d.d.ts +5 -0
- package/dist/@interfaces/MobileNavProps.d.d.ts.map +1 -0
- package/dist/@interfaces/NavItem.d.d.ts +22 -0
- package/dist/@interfaces/NavItem.d.d.ts.map +1 -0
- package/dist/@interfaces/Pagination.d.d.ts +8 -0
- package/dist/@interfaces/Pagination.d.d.ts.map +1 -0
- package/dist/@interfaces/Select.d.d.ts +14 -0
- package/dist/@interfaces/Select.d.d.ts.map +1 -0
- package/dist/@interfaces/SideNavProps.d.d.ts +11 -0
- package/dist/@interfaces/SideNavProps.d.d.ts.map +1 -0
- package/dist/@interfaces/TextInput.d.d.ts +15 -0
- package/dist/@interfaces/TextInput.d.d.ts.map +1 -0
- package/dist/@interfaces/index.d.ts +12 -0
- package/dist/@interfaces/index.d.ts.map +1 -0
- package/dist/Badge.d.ts +4 -0
- package/dist/Badge.d.ts.map +1 -0
- package/dist/Button.d.ts +4 -0
- package/dist/Button.d.ts.map +1 -0
- package/dist/ButtonGroup.d.ts +9 -0
- package/dist/ButtonGroup.d.ts.map +1 -0
- package/dist/ColorBox.d.ts +4 -0
- package/dist/ColorBox.d.ts.map +1 -0
- package/dist/Header.d.ts +13 -0
- package/dist/Header.d.ts.map +1 -0
- package/dist/Nav/MobileNav.d.ts +4 -0
- package/dist/Nav/MobileNav.d.ts.map +1 -0
- package/dist/Nav/NavItem.d.ts +4 -0
- package/dist/Nav/NavItem.d.ts.map +1 -0
- package/dist/Nav/SideNav.d.ts +5 -0
- package/dist/Nav/SideNav.d.ts.map +1 -0
- package/dist/Nav/SubNavItem.d.ts +4 -0
- package/dist/Nav/SubNavItem.d.ts.map +1 -0
- package/dist/Page.d.ts +3 -0
- package/dist/Page.d.ts.map +1 -0
- package/dist/Paginate.d.ts +4 -0
- package/dist/Paginate.d.ts.map +1 -0
- package/dist/Select.d.ts +4 -0
- package/dist/Select.d.ts.map +1 -0
- package/dist/StoryLayout.d.ts +9 -0
- package/dist/StoryLayout.d.ts.map +1 -0
- package/dist/TextInput.d.ts +4 -0
- package/dist/TextInput.d.ts.map +1 -0
- package/dist/Typography.d.ts +14 -0
- package/dist/Typography.d.ts.map +1 -0
- package/dist/box-ui.cjs.development.js +1122 -0
- package/dist/box-ui.cjs.development.js.map +1 -0
- package/dist/box-ui.cjs.production.min.js +2 -0
- package/dist/box-ui.cjs.production.min.js.map +1 -0
- package/dist/box-ui.esm.js +1096 -0
- package/dist/box-ui.esm.js.map +1 -0
- package/dist/data/colors.d.ts +3 -0
- package/dist/data/colors.d.ts.map +1 -0
- package/dist/data/countries.d.ts +3 -0
- package/dist/data/countries.d.ts.map +1 -0
- package/dist/data/images/index.d.ts +5 -0
- package/dist/data/images/index.d.ts.map +1 -0
- package/dist/data/index.d.ts +6 -0
- package/dist/data/index.d.ts.map +1 -0
- package/dist/data/navItems.d.ts +4 -0
- package/dist/data/navItems.d.ts.map +1 -0
- package/dist/data/options.d.ts +5 -0
- package/dist/data/options.d.ts.map +1 -0
- package/dist/data/prices.d.ts +3 -0
- package/dist/data/prices.d.ts.map +1 -0
- package/dist/hooks/useIconClassName.d.ts +5 -0
- package/dist/hooks/useIconClassName.d.ts.map +1 -0
- package/dist/hooks/useIconProps.d.ts +5 -0
- package/dist/hooks/useIconProps.d.ts.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/reportWebVitals.d.ts +4 -0
- package/dist/reportWebVitals.d.ts.map +1 -0
- package/dist/setupTests.d.ts +2 -0
- package/dist/setupTests.d.ts.map +1 -0
- package/dist/stories/Badge.stories.d.ts +13 -0
- package/dist/stories/Badge.stories.d.ts.map +1 -0
- package/dist/stories/Button.stories.d.ts +16 -0
- package/dist/stories/Button.stories.d.ts.map +1 -0
- package/dist/stories/ButtonGroup.stories.d.ts +11 -0
- package/dist/stories/ButtonGroup.stories.d.ts.map +1 -0
- package/dist/stories/Colors.stories.d.ts +8 -0
- package/dist/stories/Colors.stories.d.ts.map +1 -0
- package/dist/stories/Header.stories.d.ts +20 -0
- package/dist/stories/Header.stories.d.ts.map +1 -0
- package/dist/stories/MobileNav.stories.d.ts +10 -0
- package/dist/stories/MobileNav.stories.d.ts.map +1 -0
- package/dist/stories/Page.stories.d.ts +14 -0
- package/dist/stories/Page.stories.d.ts.map +1 -0
- package/dist/stories/Paginate.stories.d.ts +11 -0
- package/dist/stories/Paginate.stories.d.ts.map +1 -0
- package/dist/stories/Select.stories.d.ts +11 -0
- package/dist/stories/Select.stories.d.ts.map +1 -0
- package/dist/stories/SideNav.stories.d.ts +10 -0
- package/dist/stories/SideNav.stories.d.ts.map +1 -0
- package/dist/stories/TextInput.stories.d.ts +11 -0
- package/dist/stories/TextInput.stories.d.ts.map +1 -0
- package/dist/stories/Typography.stories.d.ts +11 -0
- package/dist/stories/Typography.stories.d.ts.map +1 -0
- package/output.css +639 -0
- package/package.json +91 -0
- package/postcss.config.js +6 -0
- package/public/favicon.ico +0 -0
- package/public/index.html +43 -0
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +25 -0
- package/public/robots.txt +3 -0
- package/src/@interfaces/Badge.d.tsx +13 -0
- package/src/@interfaces/Button.d.tsx +17 -0
- package/src/@interfaces/Color.d.tsx +5 -0
- package/src/@interfaces/IButtonItem.d.tsx +6 -0
- package/src/@interfaces/ISubNavItem.d.tsx +10 -0
- package/src/@interfaces/MobileNavProps.d.tsx +4 -0
- package/src/@interfaces/NavItem.d.tsx +22 -0
- package/src/@interfaces/Pagination.d.tsx +7 -0
- package/src/@interfaces/Select.d.tsx +12 -0
- package/src/@interfaces/SideNavProps.d.tsx +11 -0
- package/src/@interfaces/TextInput.d.tsx +13 -0
- package/src/@interfaces/index.tsx +11 -0
- package/src/Badge.tsx +44 -0
- package/src/Button.tsx +132 -0
- package/src/ButtonGroup.tsx +37 -0
- package/src/ColorBox.tsx +15 -0
- package/src/Header.tsx +55 -0
- package/src/Nav/MobileNav.tsx +35 -0
- package/src/Nav/NavItem.tsx +101 -0
- package/src/Nav/SideNav.tsx +165 -0
- package/src/Nav/SubNavItem.tsx +39 -0
- package/src/Page.tsx +72 -0
- package/src/Paginate.tsx +102 -0
- package/src/Select.tsx +102 -0
- package/src/StoryLayout.tsx +17 -0
- package/src/TextInput.tsx +103 -0
- package/src/Typography.tsx +81 -0
- package/src/data/colors.tsx +279 -0
- package/src/data/countries.tsx +57 -0
- package/src/data/images/be.svg +1 -0
- package/src/data/images/de.svg +1 -0
- package/src/data/images/fr.svg +1 -0
- package/src/data/images/in.svg +1 -0
- package/src/data/images/index.tsx +33 -0
- package/src/data/images/it.svg +1 -0
- package/src/data/images/logo.svg +23 -0
- package/src/data/images/nl.svg +1 -0
- package/src/data/images/ru.svg +1 -0
- package/src/data/images/us.svg +1 -0
- package/src/data/index.tsx +5 -0
- package/src/data/navItems.tsx +109 -0
- package/src/data/options.tsx +51 -0
- package/src/data/prices.tsx +36 -0
- package/src/hooks/useIconClassName.tsx +14 -0
- package/src/hooks/useIconProps.tsx +19 -0
- package/src/index.js +15 -0
- package/src/react-app-env.d.ts +1 -0
- package/src/reportWebVitals.ts +15 -0
- package/src/setupTests.ts +5 -0
- package/src/stories/Badge.stories.tsx +86 -0
- package/src/stories/Button.stories.tsx +104 -0
- package/src/stories/ButtonGroup.stories.tsx +83 -0
- package/src/stories/Colors.stories.tsx +31 -0
- package/src/stories/Configure.mdx +364 -0
- package/src/stories/Header.stories.ts +33 -0
- package/src/stories/MobileNav.stories.tsx +60 -0
- package/src/stories/Page.stories.ts +32 -0
- package/src/stories/Paginate.stories.tsx +64 -0
- package/src/stories/Select.stories.tsx +77 -0
- package/src/stories/SideNav.stories.tsx +38 -0
- package/src/stories/TextInput.stories.tsx +100 -0
- package/src/stories/Typography.stories.tsx +115 -0
- package/src/stories/assets/accessibility.png +0 -0
- package/src/stories/assets/accessibility.svg +1 -0
- package/src/stories/assets/addon-library.png +0 -0
- package/src/stories/assets/assets.png +0 -0
- package/src/stories/assets/avif-test-image.avif +0 -0
- package/src/stories/assets/context.png +0 -0
- package/src/stories/assets/discord.svg +1 -0
- package/src/stories/assets/docs.png +0 -0
- package/src/stories/assets/figma-plugin.png +0 -0
- package/src/stories/assets/github.svg +1 -0
- package/src/stories/assets/share.png +0 -0
- package/src/stories/assets/styling.png +0 -0
- package/src/stories/assets/testing.png +0 -0
- package/src/stories/assets/theming.png +0 -0
- package/src/stories/assets/tutorials.svg +1 -0
- package/src/stories/assets/youtube.svg +1 -0
- package/src/styles/global.css +367 -0
- package/storybook-static/125.65b26339.iframe.bundle.js +405 -0
- package/storybook-static/125.65b26339.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/125.65b26339.iframe.bundle.js.map +1 -0
- package/storybook-static/13.0638081a.iframe.bundle.js +2 -0
- package/storybook-static/13.0638081a.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/161.a19908ac.iframe.bundle.js +2 -0
- package/storybook-static/161.a19908ac.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/161528bb6c25115b3f83.png +0 -0
- package/storybook-static/167.3fa3a909.iframe.bundle.js +1 -0
- package/storybook-static/294.ce38f65c.iframe.bundle.js +1 -0
- package/storybook-static/2dbc69731c3f9930a271.png +0 -0
- package/storybook-static/314.568bd9af.iframe.bundle.js +2 -0
- package/storybook-static/314.568bd9af.iframe.bundle.js.LICENSE.txt +15 -0
- package/storybook-static/364.0b18ef67.iframe.bundle.js +1 -0
- package/storybook-static/735.1625d9f4.iframe.bundle.js +2 -0
- package/storybook-static/735.1625d9f4.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/742.597501f6.iframe.bundle.js +1 -0
- package/storybook-static/7a58d2cb9a6358f85e9b.png +0 -0
- package/storybook-static/844.aec20bdb.iframe.bundle.js +95 -0
- package/storybook-static/844.aec20bdb.iframe.bundle.js.LICENSE.txt +19 -0
- package/storybook-static/844.aec20bdb.iframe.bundle.js.map +1 -0
- package/storybook-static/9335a1a91b80ad4fec70.png +0 -0
- package/storybook-static/936.fd850a3f.iframe.bundle.js +1 -0
- package/storybook-static/961.0e5457c5.iframe.bundle.js +2 -0
- package/storybook-static/961.0e5457c5.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/c720ced26387af8a9cb2.png +0 -0
- package/storybook-static/e93de094692245f1ec04.png +0 -0
- package/storybook-static/f7d8b9a8cec7528e0e36.png +0 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/favicon.svg +1 -0
- package/storybook-static/iframe.html +511 -0
- package/storybook-static/index.html +185 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/logo192.png +0 -0
- package/storybook-static/logo512.png +0 -0
- package/storybook-static/main.069281cf.iframe.bundle.js +1 -0
- package/storybook-static/manifest.json +25 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/robots.txt +3 -0
- package/storybook-static/runtime~main.295ddda4.iframe.bundle.js +1 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +331 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +51 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +402 -0
- package/storybook-static/sb-addons/essentials-docs-3/manager-bundle.js +242 -0
- package/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/interactions-11/manager-bundle.js +222 -0
- package/storybook-static/sb-addons/links-12/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/onboarding-9/manager-bundle.js +127 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +1051 -0
- package/storybook-static/sb-manager/globals-runtime.js +41591 -0
- package/storybook-static/sb-manager/globals.js +48 -0
- package/storybook-static/sb-manager/runtime.js +12048 -0
- package/storybook-static/sb-preview/globals.js +33 -0
- package/storybook-static/sb-preview/runtime.js +7745 -0
- package/storybook-static/static/css/main.08036cd2.css +2294 -0
- package/storybook-static/static/css/main.08036cd2.css.map +1 -0
- package/storybook-static/static/media/discord.d85804c7f88be863ff119366ab74d826.svg +1 -0
- package/storybook-static/static/media/github.e4e8df827592b1ed0288e4678e1965ce.svg +1 -0
- package/storybook-static/static/media/tutorials.fde6e46fc254fa77b6e39d1118470f7c.svg +1 -0
- package/storybook-static/static/media/youtube.fd046a09fac357359f94cc21068d6560.svg +1 -0
- package/storybook-static/stories-Badge-stories.484f7206.iframe.bundle.js +1 -0
- package/storybook-static/stories-Button-stories.5e29be85.iframe.bundle.js +1 -0
- package/storybook-static/stories-ButtonGroup-stories.cc89968c.iframe.bundle.js +1 -0
- package/storybook-static/stories-Colors-stories.f892dc75.iframe.bundle.js +2 -0
- package/storybook-static/stories-Colors-stories.f892dc75.iframe.bundle.js.LICENSE.txt +15 -0
- package/storybook-static/stories-Configure-mdx.81346d97.iframe.bundle.js +1 -0
- package/storybook-static/stories-Header-stories.cf691094.iframe.bundle.js +2 -0
- package/storybook-static/stories-Header-stories.cf691094.iframe.bundle.js.LICENSE.txt +15 -0
- package/storybook-static/stories-MobileNav-stories.f04cccdd.iframe.bundle.js +1 -0
- package/storybook-static/stories-Page-stories.0c9aa29d.iframe.bundle.js +2 -0
- package/storybook-static/stories-Page-stories.0c9aa29d.iframe.bundle.js.LICENSE.txt +15 -0
- package/storybook-static/stories-Paginate-stories.3b161781.iframe.bundle.js +1 -0
- package/storybook-static/stories-Select-stories.7556ae0d.iframe.bundle.js +1 -0
- package/storybook-static/stories-SideNav-stories.093fac6a.iframe.bundle.js +1 -0
- package/storybook-static/stories-TextInput-stories.6d3e15c6.iframe.bundle.js +1 -0
- package/storybook-static/stories-Typography-stories.6640f7ac.iframe.bundle.js +2 -0
- package/storybook-static/stories-Typography-stories.6640f7ac.iframe.bundle.js.LICENSE.txt +15 -0
- package/tailwind.config.js +113 -0
- package/tsconfig.json +29 -0
package/.babelrc
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
import type { StorybookConfig } from "@storybook/react-webpack5";
|
2
|
+
|
3
|
+
const config: StorybookConfig = {
|
4
|
+
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
5
|
+
addons: [
|
6
|
+
"@storybook/addon-essentials",
|
7
|
+
"@storybook/preset-create-react-app",
|
8
|
+
"@storybook/addon-onboarding",
|
9
|
+
"@chromatic-com/storybook",
|
10
|
+
"@storybook/addon-interactions",
|
11
|
+
"@storybook/addon-links",
|
12
|
+
],
|
13
|
+
framework: {
|
14
|
+
name: "@storybook/react-webpack5",
|
15
|
+
options: {},
|
16
|
+
},
|
17
|
+
staticDirs: ["../public"],
|
18
|
+
};
|
19
|
+
|
20
|
+
export default config;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import type { Preview } from '@storybook/react'
|
2
|
+
import "../src/styles/global.css";
|
3
|
+
|
4
|
+
const preview: Preview = {
|
5
|
+
parameters: {
|
6
|
+
controls: {
|
7
|
+
matchers: {
|
8
|
+
color: /(background|color)$/i,
|
9
|
+
date: /Date$/i,
|
10
|
+
},
|
11
|
+
},
|
12
|
+
},
|
13
|
+
};
|
14
|
+
|
15
|
+
export default preview;
|
package/README.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# Getting Started with Create React App
|
2
|
+
|
3
|
+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
4
|
+
|
5
|
+
## Available Scripts
|
6
|
+
|
7
|
+
In the project directory, you can run:
|
8
|
+
|
9
|
+
### `npm start`
|
10
|
+
|
11
|
+
Runs the app in the development mode.\
|
12
|
+
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
13
|
+
|
14
|
+
The page will reload if you make edits.\
|
15
|
+
You will also see any lint errors in the console.
|
16
|
+
|
17
|
+
### `npm test`
|
18
|
+
|
19
|
+
Launches the test runner in the interactive watch mode.\
|
20
|
+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
21
|
+
|
22
|
+
### `npm run build`
|
23
|
+
|
24
|
+
Builds the app for production to the `build` folder.\
|
25
|
+
It correctly bundles React in production mode and optimizes the build for the best performance.
|
26
|
+
|
27
|
+
The build is minified and the filenames include the hashes.\
|
28
|
+
Your app is ready to be deployed!
|
29
|
+
|
30
|
+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
31
|
+
|
32
|
+
### `npm run eject`
|
33
|
+
|
34
|
+
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
|
35
|
+
|
36
|
+
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
37
|
+
|
38
|
+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
|
39
|
+
|
40
|
+
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
|
41
|
+
|
42
|
+
## Learn More
|
43
|
+
|
44
|
+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
45
|
+
|
46
|
+
To learn React, check out the [React documentation](https://reactjs.org/).
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export declare type BadgeVariant = "gray" | "primary" | "warning" | "error" | "success";
|
3
|
+
export declare type BadgeSize = "sm" | "md" | "lg";
|
4
|
+
export interface BadgeProps {
|
5
|
+
children: string | React.ReactElement;
|
6
|
+
LeadingIcon?: React.ReactElement;
|
7
|
+
TrailingIcon?: React.ReactElement;
|
8
|
+
className?: string;
|
9
|
+
variant: BadgeVariant;
|
10
|
+
size: BadgeSize;
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=Badge.d.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Badge.d.d.ts","sourceRoot":"","sources":["../src/@interfaces/Badge.d.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,oBAAY,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAChF,oBAAY,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3C,MAAM,WAAW,UAAU;IACvB,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,YAAY,CAAC;IACtC,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC;IACtB,IAAI,EAAE,SAAS,CAAC;CACnB"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { ButtonHTMLAttributes, ReactElement } from 'react';
|
2
|
+
export declare type ButtonVariant = 'primary' | 'secondary' | 'secondaryGray' | 'tertiary' | 'tertiaryGray';
|
3
|
+
export declare type ButtonSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
4
|
+
export declare type ButtonState = "default" | "hover" | "focus" | "disabled";
|
5
|
+
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
6
|
+
variant?: ButtonVariant;
|
7
|
+
size?: ButtonSize;
|
8
|
+
children?: string | ReactElement;
|
9
|
+
className?: string;
|
10
|
+
LeadingIcon?: ReactElement;
|
11
|
+
TrailingIcon?: ReactElement;
|
12
|
+
IconOnly?: React.ReactElement<React.HTMLProps<HTMLElement>>;
|
13
|
+
disabled?: boolean;
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=Button.d.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Button.d.d.ts","sourceRoot":"","sources":["../src/@interfaces/Button.d.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAE,YAAY,EAAC,MAAM,OAAO,CAAC;AAEzD,oBAAY,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,eAAe,GAAG,UAAU,GAAG,cAAc,CAAC;AACpG,oBAAY,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AAC3D,oBAAY,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,CAAC;AAErE,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IACxE,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Color.d.d.ts","sourceRoot":"","sources":["../src/@interfaces/Color.d.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAA;CACd"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IButtonItem.d.d.ts","sourceRoot":"","sources":["../src/@interfaces/IButtonItem.d.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,WAAW;IACxB,KAAK,EAAC,MAAM,CAAC;IACb,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { SubNavItem } from "./NavItem.d";
|
3
|
+
export interface SubNavItemProps {
|
4
|
+
inDropdown?: boolean;
|
5
|
+
isActive: boolean;
|
6
|
+
subItem: SubNavItem;
|
7
|
+
onClick: React.MouseEventHandler<HTMLLIElement>;
|
8
|
+
}
|
9
|
+
//# sourceMappingURL=ISubNavItem.d.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ISubNavItem.d.d.ts","sourceRoot":"","sources":["../src/@interfaces/ISubNavItem.d.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,WAAW,eAAe;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,UAAU,CAAC;IACpB,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAAC;CACnD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MobileNavProps.d.d.ts","sourceRoot":"","sources":["../src/@interfaces/MobileNavProps.d.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export interface BaseNavItem {
|
3
|
+
order: number;
|
4
|
+
path?: string;
|
5
|
+
label: string;
|
6
|
+
}
|
7
|
+
export interface SubNavItem extends BaseNavItem {
|
8
|
+
}
|
9
|
+
export interface INavItem extends BaseNavItem {
|
10
|
+
icon: React.ReactElement;
|
11
|
+
toggleSidebar?: boolean;
|
12
|
+
subItems?: SubNavItem[];
|
13
|
+
}
|
14
|
+
export interface NavItemProps {
|
15
|
+
item: INavItem;
|
16
|
+
isActive: boolean;
|
17
|
+
activeSubNavItem: string;
|
18
|
+
open: boolean;
|
19
|
+
openDropdown: boolean;
|
20
|
+
onClick: (item: INavItem, subNavPath?: string) => void;
|
21
|
+
}
|
22
|
+
//# sourceMappingURL=NavItem.d.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NavItem.d.d.ts","sourceRoot":"","sources":["../src/@interfaces/NavItem.d.tsx"],"names":[],"mappings":";AAAA,MAAM,WAAW,WAAW;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAW,SAAQ,WAAW;CAAG;AAElD,MAAM,WAAW,QAAS,SAAQ,WAAW;IACzC,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACxD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Pagination.d.d.ts","sourceRoot":"","sources":["../src/@interfaces/Pagination.d.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACrB"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export interface IOption {
|
3
|
+
value: string;
|
4
|
+
label: string | React.ReactNode;
|
5
|
+
}
|
6
|
+
export interface SelectProps {
|
7
|
+
placeholder: string;
|
8
|
+
options?: IOption[];
|
9
|
+
selectedOption?: IOption | undefined;
|
10
|
+
setSelectedOption: (option: string) => void;
|
11
|
+
LeadingIcon?: React.ReactElement;
|
12
|
+
width?: string;
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=Select.d.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Select.d.d.ts","sourceRoot":"","sources":["../src/@interfaces/Select.d.tsx"],"names":[],"mappings":";AAAA,MAAM,WAAW,OAAO;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;CACnC;AACD,MAAM,WAAW,WAAW;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { INavItem } from "./NavItem.d";
|
2
|
+
export interface SideNavProps {
|
3
|
+
className?: string;
|
4
|
+
navItemsTop: INavItem[];
|
5
|
+
navItemsBottom: INavItem[];
|
6
|
+
open: boolean;
|
7
|
+
setOpen: (open: boolean) => void;
|
8
|
+
username: string;
|
9
|
+
email: string;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=SideNavProps.d.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SideNavProps.d.d.ts","sourceRoot":"","sources":["../src/@interfaces/SideNavProps.d.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,WAAW,YAAY;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,QAAQ,EAAE,CAAC;IACxB,cAAc,EAAE,QAAQ,EAAE,CAAC;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export interface TextInputProps {
|
3
|
+
type: "email" | "text";
|
4
|
+
value: string;
|
5
|
+
placeholder: string;
|
6
|
+
error?: string;
|
7
|
+
label?: string;
|
8
|
+
helperText?: string;
|
9
|
+
disabled?: boolean;
|
10
|
+
leadingText?: string;
|
11
|
+
LeadingIcon?: React.ReactElement;
|
12
|
+
TrailingIcon?: React.ReactElement;
|
13
|
+
handleChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=TextInput.d.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TextInput.d.d.ts","sourceRoot":"","sources":["../src/@interfaces/TextInput.d.tsx"],"names":[],"mappings":";AAAA,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAC,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC,YAAY,CAAC,EAAC,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CACtE"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export * from './Color.d';
|
2
|
+
export * from './IButtonItem.d';
|
3
|
+
export * from './Pagination.d';
|
4
|
+
export * from './Badge.d';
|
5
|
+
export * from './Button.d';
|
6
|
+
export * from './Select.d';
|
7
|
+
export * from './TextInput.d';
|
8
|
+
export * from './NavItem.d';
|
9
|
+
export * from './ISubNavItem.d';
|
10
|
+
export * from './SideNavProps.d';
|
11
|
+
export * from './MobileNavProps.d';
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/@interfaces/index.tsx"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
|
package/dist/Badge.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["src/Badge.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,UAAU,EAA2B,MAAM,eAAe,CAAC;AAiBpE,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAyBhC,CAAC"}
|
package/dist/Button.d.ts
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { ButtonProps } from "./@interfaces";
|
3
|
+
export declare const Button: ({ children, className, variant, size, disabled, LeadingIcon, TrailingIcon, IconOnly, ...buttonProps }: ButtonProps) => React.JSX.Element;
|
4
|
+
//# sourceMappingURL=Button.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["src/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAC1E,OAAO,EACL,WAAW,EAIZ,MAAM,eAAe,CAAC;AAuDvB,eAAO,MAAM,MAAM,0GAUhB,WAAW,sBA4Db,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { IButtonItem } from "./@interfaces";
|
3
|
+
export interface ButtonGroupProps {
|
4
|
+
options: IButtonItem[];
|
5
|
+
activeOption: string;
|
6
|
+
setActiveOption: (activeOption: string) => void;
|
7
|
+
}
|
8
|
+
export declare const ButtonGroup: ({ options, activeOption, setActiveOption, }: ButtonGroupProps) => React.JSX.Element;
|
9
|
+
//# sourceMappingURL=ButtonGroup.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["src/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CACjD;AAED,eAAO,MAAM,WAAW,gDAIrB,gBAAgB,sBAsBlB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ColorBox.d.ts","sourceRoot":"","sources":["src/ColorBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,eAAO,MAAM,QAAQ,2BAA4B,MAAM,sBAWtD,CAAC"}
|
package/dist/Header.d.ts
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare type User = {
|
3
|
+
name: string;
|
4
|
+
};
|
5
|
+
export interface HeaderProps {
|
6
|
+
user?: User;
|
7
|
+
onLogin?: () => void;
|
8
|
+
onLogout?: () => void;
|
9
|
+
onCreateAccount?: () => void;
|
10
|
+
}
|
11
|
+
export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => React.JSX.Element;
|
12
|
+
export {};
|
13
|
+
//# sourceMappingURL=Header.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["src/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,aAAK,IAAI,GAAG;IACV,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,eAAO,MAAM,MAAM,iDAAkD,WAAW,sBAuC/E,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MobileNav.d.ts","sourceRoot":"","sources":["../src/Nav/MobileNav.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAC;AAG9C,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,cAAc,CA2B3C,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../src/Nav/NavItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAC,EAAE,EAAC,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQ9C,eAAO,MAAM,OAAO,EAAC,EAAE,CAAC,YAAY,CA2FlC,CAAC"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { SideNavProps } from "../@interfaces";
|
3
|
+
export declare const renderLogo: () => React.JSX.Element;
|
4
|
+
export declare const SideNav: ({ className, navItemsTop, navItemsBottom, username, email, open, setOpen, }: SideNavProps) => React.JSX.Element;
|
5
|
+
//# sourceMappingURL=SideNav.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../src/Nav/SideNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAY,MAAM,gBAAgB,CAAC;AAQxD,eAAO,MAAM,UAAU,yBAEtB,CAAC;AAEF,eAAO,MAAM,OAAO,gFAQjB,YAAY,sBA+Id,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SubNavItem.d.ts","sourceRoot":"","sources":["../src/Nav/SubNavItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAiC1C,CAAC"}
|
package/dist/Page.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["src/Page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EA+DxB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Paginate.d.ts","sourceRoot":"","sources":["src/Paginate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAKhD,eAAO,MAAM,QAAQ,wDAMlB,eAAe,sBAyFjB,CAAC"}
|
package/dist/Select.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["src/Select.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,EAAE,EAIH,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAU5C,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAqFlC,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export interface IStoryArgs {
|
3
|
+
darkMode: boolean;
|
4
|
+
className?: String;
|
5
|
+
children?: React.ReactNode;
|
6
|
+
noPadding?: String;
|
7
|
+
}
|
8
|
+
export declare const StoryLayout: (args: IStoryArgs) => React.JSX.Element;
|
9
|
+
//# sourceMappingURL=StoryLayout.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StoryLayout.d.ts","sourceRoot":"","sources":["src/StoryLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,SAAU,UAAU,sBAM3C,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["src/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAK/C,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAgGxC,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React, { FC } from "react";
|
2
|
+
declare type TypographyVariant = "xs" | "sm" | "md" | "lg" | "xl" | "h6" | "h5" | "h4" | "h3" | "h2" | "h1";
|
3
|
+
declare type TypographyWeightOption = "regular" | "medium" | "semibold" | "bold";
|
4
|
+
export interface TypographyProps {
|
5
|
+
variant?: TypographyVariant;
|
6
|
+
customWeight?: TypographyWeightOption;
|
7
|
+
customColor?: string;
|
8
|
+
customClass?: string;
|
9
|
+
className?: string;
|
10
|
+
children: string | React.ReactNode;
|
11
|
+
}
|
12
|
+
export declare const Typography: FC<TypographyProps>;
|
13
|
+
export {};
|
14
|
+
//# sourceMappingURL=Typography.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["src/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAO,MAAM,OAAO,CAAC;AAGvC,aAAK,iBAAiB,GAClB,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;AAET,aAAK,sBAAsB,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC;AAIzE,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;CACpC;AAuBD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA8B1C,CAAC"}
|