dara-ui 0.1.0 → 0.3.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/components/PageLoader/PageLoader.d.ts +83 -0
- package/dist/components/PageLoader/PageLoaderProvider.d.ts +80 -0
- package/dist/components/PageLoader/index.d.ts +5 -0
- package/dist/components/ScrollReveal/ScrollReveal.d.ts +59 -0
- package/dist/components/ScrollReveal/index.d.ts +5 -0
- package/dist/components/ScrollReveal/useScrollReveal.d.ts +36 -0
- package/dist/dara-ui.cjs.js +352 -332
- package/dist/dara-ui.es.js +2786 -2237
- package/dist/index.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/translations/en.d.ts +30 -0
- package/dist/translations/fa.d.ts +30 -0
- package/dist/translations/fr.d.ts +30 -0
- package/dist/translations/index.d.ts +90 -0
- package/package.json +4 -7
|
@@ -731,6 +731,36 @@ export declare const translations: {
|
|
|
731
731
|
tag3: string;
|
|
732
732
|
tag4: string;
|
|
733
733
|
};
|
|
734
|
+
scrollReveal: {
|
|
735
|
+
title: string;
|
|
736
|
+
subtitle: string;
|
|
737
|
+
animation: string;
|
|
738
|
+
stagger: string;
|
|
739
|
+
allPresets: string;
|
|
740
|
+
triggerAgain: string;
|
|
741
|
+
demoTip: string;
|
|
742
|
+
};
|
|
743
|
+
pageLoader: {
|
|
744
|
+
title: string;
|
|
745
|
+
subtitle: string;
|
|
746
|
+
shapes: string;
|
|
747
|
+
spinner: string;
|
|
748
|
+
ring: string;
|
|
749
|
+
dots: string;
|
|
750
|
+
pulse: string;
|
|
751
|
+
bars: string;
|
|
752
|
+
withBrand: string;
|
|
753
|
+
withProgress: string;
|
|
754
|
+
provider: string;
|
|
755
|
+
loadingArchives: string;
|
|
756
|
+
downloading: string;
|
|
757
|
+
navigating: string;
|
|
758
|
+
fetchingData: string;
|
|
759
|
+
uploading: string;
|
|
760
|
+
simulateRoute: string;
|
|
761
|
+
simulateFetch: string;
|
|
762
|
+
simulateUpload: string;
|
|
763
|
+
};
|
|
734
764
|
};
|
|
735
765
|
fa: {
|
|
736
766
|
app: {
|
|
@@ -1463,6 +1493,36 @@ export declare const translations: {
|
|
|
1463
1493
|
tag3: string;
|
|
1464
1494
|
tag4: string;
|
|
1465
1495
|
};
|
|
1496
|
+
scrollReveal: {
|
|
1497
|
+
title: string;
|
|
1498
|
+
subtitle: string;
|
|
1499
|
+
animation: string;
|
|
1500
|
+
stagger: string;
|
|
1501
|
+
allPresets: string;
|
|
1502
|
+
triggerAgain: string;
|
|
1503
|
+
demoTip: string;
|
|
1504
|
+
};
|
|
1505
|
+
pageLoader: {
|
|
1506
|
+
title: string;
|
|
1507
|
+
subtitle: string;
|
|
1508
|
+
shapes: string;
|
|
1509
|
+
spinner: string;
|
|
1510
|
+
ring: string;
|
|
1511
|
+
dots: string;
|
|
1512
|
+
pulse: string;
|
|
1513
|
+
bars: string;
|
|
1514
|
+
withBrand: string;
|
|
1515
|
+
withProgress: string;
|
|
1516
|
+
provider: string;
|
|
1517
|
+
loadingArchives: string;
|
|
1518
|
+
downloading: string;
|
|
1519
|
+
navigating: string;
|
|
1520
|
+
fetchingData: string;
|
|
1521
|
+
uploading: string;
|
|
1522
|
+
simulateRoute: string;
|
|
1523
|
+
simulateFetch: string;
|
|
1524
|
+
simulateUpload: string;
|
|
1525
|
+
};
|
|
1466
1526
|
};
|
|
1467
1527
|
fr: {
|
|
1468
1528
|
app: {
|
|
@@ -2194,6 +2254,36 @@ export declare const translations: {
|
|
|
2194
2254
|
tag3: string;
|
|
2195
2255
|
tag4: string;
|
|
2196
2256
|
};
|
|
2257
|
+
scrollReveal: {
|
|
2258
|
+
title: string;
|
|
2259
|
+
subtitle: string;
|
|
2260
|
+
animation: string;
|
|
2261
|
+
stagger: string;
|
|
2262
|
+
allPresets: string;
|
|
2263
|
+
triggerAgain: string;
|
|
2264
|
+
demoTip: string;
|
|
2265
|
+
};
|
|
2266
|
+
pageLoader: {
|
|
2267
|
+
title: string;
|
|
2268
|
+
subtitle: string;
|
|
2269
|
+
shapes: string;
|
|
2270
|
+
spinner: string;
|
|
2271
|
+
ring: string;
|
|
2272
|
+
dots: string;
|
|
2273
|
+
pulse: string;
|
|
2274
|
+
bars: string;
|
|
2275
|
+
withBrand: string;
|
|
2276
|
+
withProgress: string;
|
|
2277
|
+
provider: string;
|
|
2278
|
+
loadingArchives: string;
|
|
2279
|
+
downloading: string;
|
|
2280
|
+
navigating: string;
|
|
2281
|
+
fetchingData: string;
|
|
2282
|
+
uploading: string;
|
|
2283
|
+
simulateRoute: string;
|
|
2284
|
+
simulateFetch: string;
|
|
2285
|
+
simulateUpload: string;
|
|
2286
|
+
};
|
|
2197
2287
|
};
|
|
2198
2288
|
};
|
|
2199
2289
|
export type TranslationKey = keyof typeof en;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dara-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Some Modernlike React component library with full RTL and theming support.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Dara <thedarigan@gmail.com>",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/idarigan/dara-ui"
|
|
10
|
+
"url": "git+https://github.com/idarigan/dara-ui.git"
|
|
11
11
|
},
|
|
12
12
|
"sideEffects": [
|
|
13
13
|
"**/*.css"
|
|
@@ -47,9 +47,8 @@
|
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"dev": "vite",
|
|
50
|
-
"build": "npm run build:css && tsc -b && vite build",
|
|
51
|
-
"build:lib": "tsc -b && vite build",
|
|
52
50
|
"build:css": "tailwindcss -i src/styles/index.css -o build/style.css --minify",
|
|
51
|
+
"build": "npm run build:css && tsc -b && vite build",
|
|
53
52
|
"preview": "vite preview",
|
|
54
53
|
"storybook": "storybook dev -p 6006",
|
|
55
54
|
"build-storybook": "storybook build",
|
|
@@ -65,7 +64,6 @@
|
|
|
65
64
|
"@storybook/addon-themes": "^8.6.18",
|
|
66
65
|
"@storybook/react-vite": "^8.6.18",
|
|
67
66
|
"@storybook/theming": "^8.6.18",
|
|
68
|
-
"@tailwindcss/cli": "^4.3.3",
|
|
69
67
|
"@tailwindcss/vite": "^4.3.2",
|
|
70
68
|
"@types/node": "^24.13.2",
|
|
71
69
|
"@types/react": "^19.2.17",
|
|
@@ -73,15 +71,14 @@
|
|
|
73
71
|
"@vitejs/plugin-react": "^4.3.0",
|
|
74
72
|
"@vitest/browser-playwright": "^4.1.9",
|
|
75
73
|
"@vitest/coverage-v8": "^4.1.9",
|
|
76
|
-
"autoprefixer": "^10.5.2",
|
|
77
74
|
"eslint": "^10.6.0",
|
|
78
75
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
79
76
|
"eslint-plugin-react-refresh": "^0.5.3",
|
|
80
77
|
"globals": "^17.7.0",
|
|
81
78
|
"playwright": "^1.61.1",
|
|
82
|
-
"postcss": "^8.5.16",
|
|
83
79
|
"storybook": "^8.6.18",
|
|
84
80
|
"tailwindcss": "^4.3.2",
|
|
81
|
+
"@tailwindcss/cli": "^4.3.3",
|
|
85
82
|
"typescript": "~6.0.2",
|
|
86
83
|
"typescript-eslint": "^8.62.0",
|
|
87
84
|
"vercel": "^37.0.0",
|