@namuna-nur/ui-kit 1.9.7 → 1.9.9
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 +10 -0
- package/lib/assets/fonts/TTHoves-MediumItalic.ttf +0 -0
- package/lib/assets/fonts/TTHoves-Regular.ttf +0 -0
- package/lib/assets/fonts/TTHoves-Thin.ttf +0 -0
- package/lib/assets/fonts/TTHoves-ThinItalic.ttf +0 -0
- package/lib/atoms/index.js +1256 -38
- package/lib/fonts.css +30 -0
- package/lib/hooks/index.js +44 -7
- package/lib/index.js +167 -169
- package/lib/molecules/index.js +5949 -120
- package/lib/shared/assets-icons-0.js +15 -0
- package/lib/shared/assets-icons-1.js +13 -0
- package/lib/shared/assets-icons-2.js +23 -0
- package/lib/shared/assets-icons-3.js +10 -0
- package/lib/shared/assets-icons-4.js +21 -0
- package/lib/shared/shared.js +349 -0
- package/lib/src/atoms/Select/Select.d.ts +1 -1
- package/lib/src/atoms/Select/Select.stories.d.ts +1 -1
- package/lib/src/atoms/Select/Select.types.d.ts +1 -0
- package/lib/src/atoms/Skeleton/Skeleton.d.ts +3 -0
- package/lib/src/atoms/Skeleton/Skeleton.stories.d.ts +8 -0
- package/lib/src/atoms/Skeleton/Skeleton.test.d.ts +1 -0
- package/lib/src/atoms/Skeleton/Skeleton.tokens.d.ts +3 -0
- package/lib/src/atoms/Skeleton/Skeleton.types.d.ts +5 -0
- package/lib/src/atoms/Skeleton/index.d.ts +3 -0
- package/lib/src/atoms/index.d.ts +1 -0
- package/lib/src/molecules/FileUploader/FileUploader.types.d.ts +2 -2
- package/lib/src/molecules/FileUploader/FileUploader.utils.d.ts +1 -1
- package/lib/src/utils/echarts.d.ts +2 -0
- package/lib/style.css +1 -1
- package/lib/utils/index.js +54 -10
- package/package.json +5 -3
- package/lib/shared/ProgressItem.tokens.js +0 -60903
- package/lib/shared/Spinner.tokens.js +0 -6225
- package/lib/shared/TabDots.tokens.js +0 -992
- package/lib/shared/twMerge.js +0 -3562
- package/lib/shared/useDebounce.js +0 -15
- package/lib/shared/useFiles.js +0 -31
- package/lib/shared/useOption.js +0 -8
package/README.md
CHANGED
|
@@ -59,6 +59,16 @@ module.exports = {
|
|
|
59
59
|
import '@namuna-nur/ui-kit/style.css'
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
### Fonts
|
|
63
|
+
The UI kit ships TT Hoves as an **optional** font bundle (kept separate so `style.css` stays small).
|
|
64
|
+
|
|
65
|
+
To enable it in a consuming app:
|
|
66
|
+
```ts
|
|
67
|
+
import '@namuna-nur/ui-kit/fonts.css'
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
If you already manage fonts in your app, you can skip this and keep your own font pipeline.
|
|
71
|
+
|
|
62
72
|
### Tree-Shaking
|
|
63
73
|
The package is shipped as ES modules (`module` + `exports` map). Unused exports are tree-shakable provided your bundler (Vite, Webpack 5, Next.js, etc.) is configured for production. CSS side effect is declared via `sideEffects` to keep required styles.
|
|
64
74
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|