modular-ui-kit-react 1.0.0 → 1.0.1

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # modular-ui-kit-react
2
2
 
3
+ [![NPM Version](https://img.shields.io/npm/v/modular-ui-kit-react?color=42b883)](https://www.npmjs.com/package/modular-ui-kit-react)
4
+
5
+ [![NPM Downloads](https://img.shields.io/npm/dm/modular-ui-kit-react?color=35495e)](https://www.npmjs.com/package/modular-ui-kit-react)
6
+
3
7
  [![GitHub Clones](https://img.shields.io/badge/dynamic/json?color=success&label=Clone&query=count&url=https://gist.githubusercontent.com/eugenia-vitinschii/e3f532a4d6ca634ade757fa0cea0aea9/raw/clone.json&logo=github)](https://github.com/MShawon/github-clone-count-badge)
4
8
 
5
9
  *Modular UI Kit React* A lightweight, modular React component library powered by SASS and unified design tokens. Built for seamless developer experience and modern web UI consistency.
@@ -1,10 +1,11 @@
1
- import { FC, ElementType, HTMLAttributes, ReactNode } from 'react';
1
+ import { FC, HTMLAttributes } from 'react';
2
2
  import { UITextAlign, UITextType, UITextVariant } from '../../types/ui.types';
3
3
  export interface MukTextProps extends HTMLAttributes<HTMLElement> {
4
4
  variant?: UITextVariant;
5
- as?: ElementType;
5
+ as?: React.ElementType;
6
6
  type?: UITextType;
7
7
  align?: UITextAlign;
8
- children?: ReactNode;
8
+ children?: React.ReactNode;
9
+ [key: string]: any;
9
10
  }
10
11
  export declare const MukText: FC<MukTextProps>;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "modular-ui-kit-react",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A modular, accessible TypeScript-driven UI library for React.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "Eugenia Vitinschii",
8
- "main": "./dist/index.cjs",
8
+ "main": "./dist/index.cjs",
9
9
  "module": "./dist/index.js",
10
10
  "types": "./dist/src/lib/index.d.ts",
11
11
  "style": "./dist/modular-ui-kit-react.css",
@@ -15,7 +15,12 @@
15
15
  "import": "./dist/index.js",
16
16
  "require": "./dist/index.cjs"
17
17
  },
18
- "./style.css": "./dist/modular-ui-kit-react.css"
18
+ "./modular-ui-kit-react.css": {
19
+ "default": "./dist/modular-ui-kit-react.css"
20
+ },
21
+ "./*.css": {
22
+ "default": "./dist/*.css"
23
+ }
19
24
  },
20
25
  "files": [
21
26
  "dist"