periplo-ui 4.1.0 → 4.1.2

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.
Binary file
package/dist/theme.css ADDED
@@ -0,0 +1,260 @@
1
+ @theme {
2
+ --font-family-sans: var(--font-onest), sans-serif;
3
+ --font-family-onest: var(--font-onest), sans-serif;
4
+
5
+ --color-foreground: #1d1d1b;
6
+ --color-white: #ffffff;
7
+ --color-card: #f7f7f6;
8
+ --color-card-foreground: #1d1d1b;
9
+ --color-popover: #f7f7f6;
10
+ --color-popover-foreground: #1d1d1b;
11
+
12
+ --color-neutral-50: #f7f7f6;
13
+ --color-neutral-100: #e4e4e3;
14
+ --color-neutral-200: #c9c9c6;
15
+ --color-neutral-300: #a7a6a1;
16
+ --color-neutral-400: #84837d;
17
+ --color-neutral-500: #696963;
18
+ --color-neutral-600: #53534e;
19
+ --color-neutral-700: #454440;
20
+ --color-neutral-800: #393936;
21
+ --color-neutral-900: #32322f;
22
+ --color-neutral-950: #1d1d1b;
23
+ --color-neutral: #696963;
24
+ --color-neutral-foreground: #f7f7f6;
25
+
26
+ --color-primary-50: #fff0de;
27
+ --color-primary-100: #ffe182;
28
+ --color-primary-200: #ffd685;
29
+ --color-primary-300: #ffce59;
30
+ --color-primary-400: #ffc92f;
31
+ --color-primary-500: #fbba00;
32
+ --color-primary-600: #f1a100;
33
+ --color-primary-700: #f8a800;
34
+ --color-primary-800: #faa100;
35
+ --color-primary-900: #f19700;
36
+ --color-primary-950: #ed8c00;
37
+ --color-primary: #fbba00;
38
+ --color-primary-foreground: #1d1d1b;
39
+
40
+ --color-accent-50: #ffd5a8;
41
+ --color-accent-100: #ffcc93;
42
+ --color-accent-200: #ffb86a;
43
+ --color-accent-300: #ffa542;
44
+ --color-accent-400: #ff9119;
45
+ --color-accent-500: #f77d00;
46
+ --color-accent-600: #d57000;
47
+ --color-accent-700: #bc6200;
48
+ --color-accent-800: #a35500;
49
+ --color-accent-900: #894800;
50
+ --color-accent-950: #7c4100;
51
+ --color-accent: #f77d00;
52
+ --color-accent-foreground: #1d1d1b;
53
+
54
+ --color-success-50: #f2fbf2;
55
+ --color-success-100: #e1f8e0;
56
+ --color-success-200: #c5efc3;
57
+ --color-success-300: #90e194;
58
+ --color-success-400: #5fcb5d;
59
+ --color-success-500: #2ec03c;
60
+ --color-success-600: #299128;
61
+ --color-success-700: #247223;
62
+ --color-success-800: #215b20;
63
+ --color-success-900: #1c4b1d;
64
+ --color-success-950: #0a290b;
65
+ --color-success: #247223;
66
+ --color-success-foreground: #ffffff;
67
+
68
+ --color-warning-50: #fcf5ee;
69
+ --color-warning-100: #f7e4ce;
70
+ --color-warning-200: #eec799;
71
+ --color-warning-300: #e6a563;
72
+ --color-warning-400: #de8334;
73
+ --color-warning-500: #d76929;
74
+ --color-warning-600: #be4d21;
75
+ --color-warning-700: #9e331f;
76
+ --color-warning-800: #812b1f;
77
+ --color-warning-900: #6b251c;
78
+ --color-warning-950: #3d100b;
79
+ --color-warning: #d76929;
80
+ --color-warning-foreground: #ffffff;
81
+
82
+ --color-error-50: #fef2f2;
83
+ --color-error-100: #fee2e2;
84
+ --color-error-200: #ffc9c9;
85
+ --color-error-300: #fda4a4;
86
+ --color-error-400: #fa6f70;
87
+ --color-error-500: #f13637;
88
+ --color-error-600: #df2324;
89
+ --color-error-700: #bc191a;
90
+ --color-error-800: #9b191a;
91
+ --color-error-900: #811b1c;
92
+ --color-error-950: #460909;
93
+ --color-error: #bc191a;
94
+ --color-error-foreground: #ffffff;
95
+
96
+ --color-background-50: #ffffff;
97
+ --color-background-100: #fbfbfb;
98
+ --color-background-200: #fef0d6;
99
+ --color-background-300: #fde1ae;
100
+ --color-background-400: #fcd386;
101
+ --color-background-500: #fbc45f;
102
+ --color-background-600: #fab637;
103
+ --color-background-700: #f9a70f;
104
+ --color-background-800: #da8f05;
105
+ --color-background-900: #b27504;
106
+ --color-background-950: #9e6804;
107
+ --color-background: #fbc45f;
108
+ --color-background-foreground: #1d1d1b;
109
+
110
+ --color-information-50: #ecf7ff;
111
+ --color-information-100: #d4ecff;
112
+ --color-information-200: #b2e0ff;
113
+ --color-information-300: #7dceff;
114
+ --color-information-400: #40b1ff;
115
+ --color-information-500: #148bff;
116
+ --color-information-600: #0068ff;
117
+ --color-information-700: #0050ff;
118
+ --color-information-800: #0041d1;
119
+ --color-information-900: #083ba0;
120
+ --color-information-950: #0a2561;
121
+
122
+ --color-sidebar: #ffffff;
123
+ --color-sidebar-foreground: #1d1d1b;
124
+ --color-sidebar-primary: #f7f7f6;
125
+ --color-sidebar-primary-foreground: #1d1d1b;
126
+ --color-sidebar-accent: #f7f7f6;
127
+ --color-sidebar-accent-foreground: #1d1d1b;
128
+ --color-sidebar-border: #e4e4e3;
129
+ --color-sidebar-ring: #fab700;
130
+
131
+ --color-border: #e4e4e3;
132
+ --color-input: #f7f7f6;
133
+ --color-ring: #fab700;
134
+
135
+ --shadow-tooltip: 0 2px 5px 2px rgba(0, 0, 0, 0.1);
136
+ --shadow-toast: 0 4px 12px #0000001a;
137
+
138
+ --border-width-1_5: 1.5px;
139
+
140
+ --animate-marquee: marquee 60s infinite linear;
141
+ --animate-marquee-vertical: marquee-vertical 60s linear infinite;
142
+ --animate-accordion-down: accordion-down 0.2s ease-out;
143
+ --animate-accordion-up: accordion-up 0.2s ease-out;
144
+ --animate-shine: shine 1s ease;
145
+ --animate-shine-infinite: shine-infinite 10s ease infinite;
146
+ --animate-icon-down-up: icon-down-up 0.2s ease-out;
147
+ --animate-indeterminate: indeterminate 2s infinite linear;
148
+
149
+ @keyframes marquee {
150
+ from {
151
+ transform: translateX(0);
152
+ }
153
+ to {
154
+ transform: translateX(calc(-100% - var(--gap)));
155
+ }
156
+ }
157
+
158
+ @keyframes marquee-vertical {
159
+ from {
160
+ transform: translateY(0);
161
+ }
162
+ to {
163
+ transform: translateY(calc(-100% - var(--gap)));
164
+ }
165
+ }
166
+
167
+ @keyframes accordion-down {
168
+ from {
169
+ height: 0;
170
+ }
171
+ to {
172
+ height: var(--radix-accordion-content-height);
173
+ }
174
+ }
175
+
176
+ @keyframes accordion-up {
177
+ from {
178
+ height: var(--radix-accordion-content-height);
179
+ }
180
+ to {
181
+ height: 0;
182
+ }
183
+ }
184
+
185
+ @keyframes shine {
186
+ 0% {
187
+ background-position: 200% 0;
188
+ }
189
+ 100% {
190
+ background-position: -100% 0;
191
+ }
192
+ }
193
+
194
+ @keyframes shine-infinite {
195
+ 0% {
196
+ background-position: 200% 0;
197
+ }
198
+ 10% {
199
+ background-position: -100% 0;
200
+ }
201
+ 100% {
202
+ background-position: -100% 0;
203
+ }
204
+ }
205
+
206
+ @keyframes icon-down-up {
207
+ 0% {
208
+ transform: translateY(0%);
209
+ }
210
+ 50% {
211
+ transform: translateY(100%);
212
+ }
213
+ 50.01% {
214
+ transform: translateY(-100%);
215
+ }
216
+ 100% {
217
+ transform: translateY(0%);
218
+ }
219
+ }
220
+
221
+ @keyframes indeterminate {
222
+ 0% {
223
+ transform: translateX(-100%);
224
+ }
225
+ 50% {
226
+ transform: translateX(0);
227
+ }
228
+ 100% {
229
+ transform: translateX(100%);
230
+ }
231
+ }
232
+ }
233
+
234
+ @font-face {
235
+ font-family: 'Onest';
236
+ src: url('./fonts/Onest.woff2');
237
+ font-display: swap;
238
+ }
239
+
240
+ @layer base {
241
+ input[type='number']::-webkit-inner-spin-button,
242
+ input[type='number']::-webkit-outer-spin-button {
243
+ -webkit-appearance: none;
244
+ margin: 0;
245
+ }
246
+
247
+ * {
248
+ @apply border-border outline-ring/50;
249
+ }
250
+ }
251
+
252
+ @layer utilities {
253
+ .scrollbar-none::-webkit-scrollbar {
254
+ width: 0px;
255
+ }
256
+ }
257
+
258
+ :root {
259
+ --font-onest: 'Onest';
260
+ }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "periplo-ui",
3
3
  "description": "IATI UI library",
4
4
  "private": false,
5
- "version": "4.1.0",
5
+ "version": "4.1.2",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
@@ -221,33 +221,10 @@
221
221
  "peerDependencies": {
222
222
  "@hookform/resolvers": "^3 || ^5",
223
223
  "@phosphor-icons/react": "^2",
224
- "@radix-ui/react-accordion": "^1",
225
- "@radix-ui/react-avatar": "^1",
226
- "@radix-ui/react-checkbox": "^1",
227
- "@radix-ui/react-collapsible": "^1",
228
- "@radix-ui/react-dialog": "^1",
229
- "@radix-ui/react-dropdown-menu": "^2",
230
- "@radix-ui/react-label": "^2",
231
- "@radix-ui/react-popover": "^1",
232
- "@radix-ui/react-progress": "^1",
233
- "@radix-ui/react-radio-group": "^1",
234
- "@radix-ui/react-select": "^2",
235
- "@radix-ui/react-separator": "^1",
236
- "@radix-ui/react-slot": "^1",
237
- "@radix-ui/react-tabs": "^1",
238
- "@radix-ui/react-toggle": "^1",
239
- "@radix-ui/react-toggle-group": "^1",
240
- "@radix-ui/react-tooltip": "^1",
241
224
  "@tanstack/react-table": "^8",
242
- "@tanstack/react-virtual": "^3",
243
- "cmdk": "^1",
244
- "date-fns": "^3 || ^4",
245
- "embla-carousel-react": "^8",
246
225
  "react": "^18 || ^19",
247
- "react-day-picker": "^9",
248
226
  "react-dom": "^18 || ^19",
249
227
  "react-hook-form": "^7",
250
- "sonner": "^1 || ^2",
251
228
  "zod": "^3 || ^4"
252
229
  },
253
230
  "peerDependenciesMeta": {
@@ -257,81 +234,12 @@
257
234
  "@phosphor-icons/react": {
258
235
  "optional": true
259
236
  },
260
- "@radix-ui/react-accordion": {
261
- "optional": true
262
- },
263
- "@radix-ui/react-avatar": {
264
- "optional": true
265
- },
266
- "@radix-ui/react-checkbox": {
267
- "optional": true
268
- },
269
- "@radix-ui/react-collapsible": {
270
- "optional": true
271
- },
272
- "@radix-ui/react-dialog": {
273
- "optional": true
274
- },
275
- "@radix-ui/react-dropdown-menu": {
276
- "optional": true
277
- },
278
- "@radix-ui/react-label": {
279
- "optional": true
280
- },
281
- "@radix-ui/react-popover": {
282
- "optional": true
283
- },
284
- "@radix-ui/react-progress": {
285
- "optional": true
286
- },
287
- "@radix-ui/react-radio-group": {
288
- "optional": true
289
- },
290
- "@radix-ui/react-select": {
291
- "optional": true
292
- },
293
- "@radix-ui/react-separator": {
294
- "optional": true
295
- },
296
- "@radix-ui/react-slot": {
297
- "optional": true
298
- },
299
- "@radix-ui/react-tabs": {
300
- "optional": true
301
- },
302
- "@radix-ui/react-toggle": {
303
- "optional": true
304
- },
305
- "@radix-ui/react-toggle-group": {
306
- "optional": true
307
- },
308
- "@radix-ui/react-tooltip": {
309
- "optional": true
310
- },
311
237
  "@tanstack/react-table": {
312
238
  "optional": true
313
239
  },
314
- "@tanstack/react-virtual": {
315
- "optional": true
316
- },
317
- "cmdk": {
318
- "optional": true
319
- },
320
- "date-fns": {
321
- "optional": true
322
- },
323
- "embla-carousel-react": {
324
- "optional": true
325
- },
326
- "react-day-picker": {
327
- "optional": true
328
- },
329
240
  "react-hook-form": {
330
241
  "optional": true
331
242
  },
332
- "sonner": {
333
- "optional": true
334
- },
335
243
  "zod": {
336
244
  "optional": true
337
245
  }
@@ -420,7 +328,6 @@
420
328
  "typescript-eslint": "8.35.1",
421
329
  "vite": "6.4.2",
422
330
  "vite-plugin-dts": "4.5.4",
423
- "vite-plugin-static-copy": "^3.1.0",
424
331
  "vitest": "4.1.5",
425
332
  "zod": "3.25.67"
426
333
  },
@@ -428,8 +335,31 @@
428
335
  "dist"
429
336
  ],
430
337
  "dependencies": {
338
+ "@radix-ui/react-accordion": "^1.2.11",
339
+ "@radix-ui/react-avatar": "^1.1.10",
340
+ "@radix-ui/react-checkbox": "^1.3.2",
341
+ "@radix-ui/react-collapsible": "^1.1.11",
342
+ "@radix-ui/react-dialog": "^1.1.14",
343
+ "@radix-ui/react-dropdown-menu": "^2.1.15",
344
+ "@radix-ui/react-label": "^2.1.7",
345
+ "@radix-ui/react-popover": "^1.1.14",
346
+ "@radix-ui/react-progress": "^1.1.7",
347
+ "@radix-ui/react-radio-group": "^1.3.7",
348
+ "@radix-ui/react-select": "^2.2.5",
349
+ "@radix-ui/react-separator": "^1.1.7",
350
+ "@radix-ui/react-slot": "^1.2.3",
351
+ "@radix-ui/react-tabs": "^1.1.12",
352
+ "@radix-ui/react-toggle": "^1.1.9",
353
+ "@radix-ui/react-toggle-group": "^1.1.10",
354
+ "@radix-ui/react-tooltip": "^1.2.7",
431
355
  "class-variance-authority": "0.7.1",
432
356
  "clsx": "2.1.1",
433
- "tailwind-merge": "3.3.1"
357
+ "cmdk": "^1.1.1",
358
+ "date-fns": "^4.1.0",
359
+ "embla-carousel-react": "^8.6.0",
360
+ "react-day-picker": "^9.7.0",
361
+ "sonner": "^2.0.5",
362
+ "tailwind-merge": "3.3.1",
363
+ "@tanstack/react-virtual": "^3.13.18"
434
364
  }
435
365
  }