dfh-ui-library 1.4.49 → 1.4.50
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 +87 -2
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Button/Button.handler.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Button/Button.handler.d.ts +1 -1
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -6,13 +6,98 @@
|
|
|
6
6
|
npm install
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
```bash
|
|
10
|
+
|
|
11
|
+
1. npm install -D tailwindcss postcss autoprefixer
|
|
12
|
+
|
|
13
|
+
2. npx tailwindcss init -p
|
|
14
|
+
|
|
15
|
+
3. update tailwind.config.js "content" with following code snipet
|
|
16
|
+
|
|
17
|
+
content: [
|
|
18
|
+
"./index.html",
|
|
19
|
+
"./src/**/*.{js,ts,jsx,tsx}",
|
|
20
|
+
]
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
include following css to index.css
|
|
10
24
|
|
|
11
25
|
```bash
|
|
12
|
-
@import
|
|
26
|
+
@import '../node_modules/dfh-ui-library/dist/cjs/index.css';
|
|
13
27
|
@import 'tailwindcss/base';
|
|
14
28
|
@import 'tailwindcss/components';
|
|
15
29
|
@import 'tailwindcss/utilities';
|
|
30
|
+
@import 'tailwindcss/variants';
|
|
31
|
+
|
|
32
|
+
table {
|
|
33
|
+
border-collapse: collapse;
|
|
34
|
+
width: 100%;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
th,
|
|
38
|
+
td {
|
|
39
|
+
padding: 10px;
|
|
40
|
+
border-right: 1px solid #dddddd; /* Solid right border for all cells */
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
th {
|
|
44
|
+
background-color: #fcfcfc; /* Optional: Add background color for header cells */
|
|
45
|
+
font-weight: 500;
|
|
46
|
+
border-top: 1px solid #dddddd;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Dashed bottom border for all rows */
|
|
50
|
+
tr {
|
|
51
|
+
border-bottom: 1px dashed #dddddd;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Remove border from the last column */
|
|
55
|
+
th:last-child,
|
|
56
|
+
td:last-child {
|
|
57
|
+
border-right: none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
tr:nth-child(even) {
|
|
61
|
+
background-color: #f6f6f6;
|
|
62
|
+
} /*# sourceMappingURL=main.css.map */
|
|
63
|
+
|
|
64
|
+
.image-wrapper {
|
|
65
|
+
position: relative;
|
|
66
|
+
width: 100%;
|
|
67
|
+
height: 100%;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.loader {
|
|
71
|
+
position: absolute;
|
|
72
|
+
top: 50%;
|
|
73
|
+
left: 50%;
|
|
74
|
+
transform: translate(-50%, -50%);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.image {
|
|
78
|
+
display: block;
|
|
79
|
+
width: 100%;
|
|
80
|
+
height: auto;
|
|
81
|
+
opacity: 0;
|
|
82
|
+
transition: opacity 0.5s ease-in-out;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.image.loaded {
|
|
86
|
+
opacity: 1;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.loader-wrapper {
|
|
90
|
+
position: relative;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.progress-bar {
|
|
94
|
+
position: absolute;
|
|
95
|
+
top: 50%;
|
|
96
|
+
left: 50%;
|
|
97
|
+
transform: translate(-50%, -50%);
|
|
98
|
+
width: 100%;
|
|
99
|
+
}
|
|
100
|
+
|
|
16
101
|
|
|
17
102
|
```
|
|
18
103
|
|