@zidsa/zidmui 1.4.41 → 1.5.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.
@@ -0,0 +1,364 @@
1
+ /**
2
+ * Utility Classes
3
+ * Common patterns using design tokens
4
+ */
5
+
6
+ /* ========================================
7
+ * Display Utilities
8
+ * ======================================== */
9
+ .zid-hidden {
10
+ display: none;
11
+ }
12
+
13
+ .zid-block {
14
+ display: block;
15
+ }
16
+
17
+ .zid-inline {
18
+ display: inline;
19
+ }
20
+
21
+ .zid-inline-block {
22
+ display: inline-block;
23
+ }
24
+
25
+ .zid-flex {
26
+ display: flex;
27
+ }
28
+
29
+ .zid-inline-flex {
30
+ display: inline-flex;
31
+ }
32
+
33
+ .zid-grid {
34
+ display: grid;
35
+ }
36
+
37
+ /* ========================================
38
+ * Flex Utilities
39
+ * ======================================== */
40
+ .zid-flex-row {
41
+ flex-direction: row;
42
+ }
43
+
44
+ .zid-flex-col {
45
+ flex-direction: column;
46
+ }
47
+
48
+ .zid-flex-wrap {
49
+ flex-wrap: wrap;
50
+ }
51
+
52
+ .zid-flex-nowrap {
53
+ flex-wrap: nowrap;
54
+ }
55
+
56
+ .zid-items-start {
57
+ align-items: flex-start;
58
+ }
59
+
60
+ .zid-items-center {
61
+ align-items: center;
62
+ }
63
+
64
+ .zid-items-end {
65
+ align-items: flex-end;
66
+ }
67
+
68
+ .zid-justify-start {
69
+ justify-content: flex-start;
70
+ }
71
+
72
+ .zid-justify-center {
73
+ justify-content: center;
74
+ }
75
+
76
+ .zid-justify-end {
77
+ justify-content: flex-end;
78
+ }
79
+
80
+ .zid-justify-between {
81
+ justify-content: space-between;
82
+ }
83
+
84
+ .zid-flex-1 {
85
+ flex: 1;
86
+ }
87
+
88
+ .zid-flex-auto {
89
+ flex: auto;
90
+ }
91
+
92
+ .zid-flex-none {
93
+ flex: none;
94
+ }
95
+
96
+ /* ========================================
97
+ * Gap Utilities
98
+ * ======================================== */
99
+ .zid-gap-0 {
100
+ gap: var(--zid-spacing-0);
101
+ }
102
+
103
+ .zid-gap-1 {
104
+ gap: var(--zid-spacing-1);
105
+ }
106
+
107
+ .zid-gap-2 {
108
+ gap: var(--zid-spacing-2);
109
+ }
110
+
111
+ .zid-gap-3 {
112
+ gap: var(--zid-spacing-3);
113
+ }
114
+
115
+ .zid-gap-4 {
116
+ gap: var(--zid-spacing-4);
117
+ }
118
+
119
+ /* ========================================
120
+ * Text Alignment
121
+ * ======================================== */
122
+ .zid-text-left {
123
+ text-align: left;
124
+ }
125
+
126
+ .zid-text-center {
127
+ text-align: center;
128
+ }
129
+
130
+ .zid-text-right {
131
+ text-align: right;
132
+ }
133
+
134
+ /* ========================================
135
+ * Text Colors
136
+ * ======================================== */
137
+ .zid-text-primary {
138
+ color: var(--zid-text-primary);
139
+ }
140
+
141
+ .zid-text-secondary {
142
+ color: var(--zid-text-secondary);
143
+ }
144
+
145
+ .zid-text-tertiary {
146
+ color: var(--zid-text-tertiary);
147
+ }
148
+
149
+ .zid-text-disabled {
150
+ color: var(--zid-text-disabled);
151
+ }
152
+
153
+ /* ========================================
154
+ * Font Weights
155
+ * ======================================== */
156
+ .zid-font-regular {
157
+ font-weight: var(--zid-font-weight-regular);
158
+ }
159
+
160
+ .zid-font-medium {
161
+ font-weight: var(--zid-font-weight-medium);
162
+ }
163
+
164
+ .zid-font-semibold {
165
+ font-weight: var(--zid-font-weight-semibold);
166
+ }
167
+
168
+ .zid-font-bold {
169
+ font-weight: var(--zid-font-weight-bold);
170
+ }
171
+
172
+ /* ========================================
173
+ * Font Sizes
174
+ * ======================================== */
175
+ .zid-text-xs {
176
+ font-size: var(--zid-font-size-xs);
177
+ }
178
+
179
+ .zid-text-sm {
180
+ font-size: var(--zid-font-size-sm);
181
+ }
182
+
183
+ .zid-text-base {
184
+ font-size: var(--zid-font-size-base);
185
+ }
186
+
187
+ .zid-text-lg {
188
+ font-size: var(--zid-font-size-lg);
189
+ }
190
+
191
+ .zid-text-xl {
192
+ font-size: var(--zid-font-size-xl);
193
+ }
194
+
195
+ /* ========================================
196
+ * Width Utilities
197
+ * ======================================== */
198
+ .zid-w-full {
199
+ width: 100%;
200
+ }
201
+
202
+ .zid-w-auto {
203
+ width: auto;
204
+ }
205
+
206
+ /* ========================================
207
+ * Margin Utilities
208
+ * ======================================== */
209
+ .zid-m-0 {
210
+ margin: var(--zid-spacing-0);
211
+ }
212
+
213
+ .zid-m-1 {
214
+ margin: var(--zid-spacing-1);
215
+ }
216
+
217
+ .zid-m-2 {
218
+ margin: var(--zid-spacing-2);
219
+ }
220
+
221
+ .zid-mt-1 {
222
+ margin-top: var(--zid-spacing-1);
223
+ }
224
+
225
+ .zid-mt-2 {
226
+ margin-top: var(--zid-spacing-2);
227
+ }
228
+
229
+ .zid-mb-1 {
230
+ margin-bottom: var(--zid-spacing-1);
231
+ }
232
+
233
+ .zid-mb-2 {
234
+ margin-bottom: var(--zid-spacing-2);
235
+ }
236
+
237
+ /* ========================================
238
+ * Padding Utilities
239
+ * ======================================== */
240
+ .zid-p-0 {
241
+ padding: var(--zid-spacing-0);
242
+ }
243
+
244
+ .zid-p-1 {
245
+ padding: var(--zid-spacing-1);
246
+ }
247
+
248
+ .zid-p-2 {
249
+ padding: var(--zid-spacing-2);
250
+ }
251
+
252
+ .zid-p-3 {
253
+ padding: var(--zid-spacing-3);
254
+ }
255
+
256
+ .zid-p-4 {
257
+ padding: var(--zid-spacing-4);
258
+ }
259
+
260
+ /* ========================================
261
+ * Border Radius
262
+ * ======================================== */
263
+ .zid-rounded-none {
264
+ border-radius: var(--zid-radius-none);
265
+ }
266
+
267
+ .zid-rounded-sm {
268
+ border-radius: var(--zid-radius-sm);
269
+ }
270
+
271
+ .zid-rounded {
272
+ border-radius: var(--zid-radius-standard);
273
+ }
274
+
275
+ .zid-rounded-md {
276
+ border-radius: var(--zid-radius-md);
277
+ }
278
+
279
+ .zid-rounded-lg {
280
+ border-radius: var(--zid-radius-lg);
281
+ }
282
+
283
+ .zid-rounded-full {
284
+ border-radius: var(--zid-radius-full);
285
+ }
286
+
287
+ /* ========================================
288
+ * Shadows
289
+ * ======================================== */
290
+ .zid-shadow-none {
291
+ box-shadow: var(--zid-shadow-0);
292
+ }
293
+
294
+ .zid-shadow-sm {
295
+ box-shadow: var(--zid-shadow-1);
296
+ }
297
+
298
+ .zid-shadow {
299
+ box-shadow: var(--zid-shadow-2);
300
+ }
301
+
302
+ .zid-shadow-md {
303
+ box-shadow: var(--zid-shadow-4);
304
+ }
305
+
306
+ .zid-shadow-lg {
307
+ box-shadow: var(--zid-shadow-8);
308
+ }
309
+
310
+ .zid-shadow-xl {
311
+ box-shadow: var(--zid-shadow-16);
312
+ }
313
+
314
+ /* ========================================
315
+ * Overflow
316
+ * ======================================== */
317
+ .zid-overflow-hidden {
318
+ overflow: hidden;
319
+ }
320
+
321
+ .zid-overflow-auto {
322
+ overflow: auto;
323
+ }
324
+
325
+ .zid-overflow-scroll {
326
+ overflow: scroll;
327
+ }
328
+
329
+ /* ========================================
330
+ * Cursor
331
+ * ======================================== */
332
+ .zid-cursor-pointer {
333
+ cursor: pointer;
334
+ }
335
+
336
+ .zid-cursor-not-allowed {
337
+ cursor: not-allowed;
338
+ }
339
+
340
+ /* ========================================
341
+ * Visibility
342
+ * ======================================== */
343
+ .zid-visible {
344
+ visibility: visible;
345
+ }
346
+
347
+ .zid-invisible {
348
+ visibility: hidden;
349
+ }
350
+
351
+ /* ========================================
352
+ * Screen Reader Only
353
+ * ======================================== */
354
+ .zid-sr-only {
355
+ position: absolute;
356
+ width: 1px;
357
+ height: 1px;
358
+ padding: 0;
359
+ margin: -1px;
360
+ overflow: hidden;
361
+ clip: rect(0, 0, 0, 0);
362
+ white-space: nowrap;
363
+ border: 0;
364
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zidsa/zidmui",
3
3
  "type": "module",
4
- "version": "1.4.41",
4
+ "version": "1.5.0",
5
5
  "description": "Zid MUI shared components and utilities",
6
6
  "author": "Abdulaziz Homaily <a.homaily@gmail.com>",
7
7
  "license": "MIT",
@@ -183,7 +183,8 @@
183
183
  "storybook": "10.2.8",
184
184
  "typescript": "5.9.3",
185
185
  "vite": "7.3.1",
186
- "vite-plugin-dts": "4.5.4"
186
+ "vite-plugin-dts": "4.5.4",
187
+ "vite-plugin-static-copy": "3.2.0"
187
188
  },
188
189
  "engines": {
189
190
  "node": ">=22.14.0",