@appkit/dek-ui 0.1.2 → 0.1.4
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/README.md +2 -26
- package/dist/components/CardButton/CardButton.d.ts +2 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.es.js +13432 -13433
- package/dist/index.umd.js +68 -68
- package/dist/lib/ui/viewBackColorToCSS.d.ts +1 -2
- package/dist/stories/View.stories.d.ts +0 -1
- package/package.json +2 -3
- package/dist/components/Provider/Provider.d.ts +0 -6
package/README.md
CHANGED
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Dek UI
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Currently, two official plugins are available:
|
|
6
|
-
|
|
7
|
-
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
8
|
-
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
-
|
|
10
|
-
## Expanding the ESLint configuration
|
|
11
|
-
|
|
12
|
-
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
|
|
13
|
-
|
|
14
|
-
- Configure the top-level `parserOptions` property like this:
|
|
15
|
-
|
|
16
|
-
```js
|
|
17
|
-
parserOptions: {
|
|
18
|
-
ecmaVersion: 'latest',
|
|
19
|
-
sourceType: 'module',
|
|
20
|
-
project: ['./tsconfig.json', './tsconfig.node.json'],
|
|
21
|
-
tsconfigRootDir: __dirname,
|
|
22
|
-
},
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
|
|
26
|
-
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
|
|
27
|
-
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
|
|
3
|
+
Component library for Dek
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { ButtonProps } from '../Button/Button';
|
|
2
|
-
|
|
2
|
+
export type CardButtonProps = ButtonProps;
|
|
3
|
+
declare const CardButton: (props: CardButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
export default CardButton;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
export * from './components/Button/Button';
|
|
1
2
|
export * from './components/Button/types';
|
|
3
|
+
export * from './components/CardButton/CardButton';
|
|
4
|
+
export * from './components/IconButton/IconButton';
|
|
5
|
+
export * from './components/PillButton/PillButton';
|
|
2
6
|
export { default as Button } from './components/Button/Button';
|
|
3
7
|
export { default as ButtonLoadingIcon } from './components/ButtonLoadingIcon/ButtonLoadingIcon';
|
|
4
8
|
export { default as CardButton } from './components/CardButton/CardButton';
|
|
@@ -11,7 +15,6 @@ export { default as Image } from './components/Image/Image';
|
|
|
11
15
|
export { default as LoadingDots } from './components/LoadingDots/LoadingDots';
|
|
12
16
|
export { default as PillButton } from './components/PillButton/PillButton';
|
|
13
17
|
export { default as ProgressBar } from './components/ProgressBar/ProgressBar';
|
|
14
|
-
export { default as Provider } from './components/Provider/Provider';
|
|
15
18
|
export { default as Screen } from './components/Screen/Screen';
|
|
16
19
|
export { default as ScreenLoadingOverlay } from './components/ScreenLoadingOverlay/ScreenLoadingOverlay';
|
|
17
20
|
export { default as Text } from './components/Text/Text';
|