@sonamu-kit/react-components 0.2.5 → 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.
@@ -69,8 +69,7 @@
69
69
  /* The color for focus rings, outlines, and other focus indicators. */
70
70
  --ring: rgba(94, 105, 209, 1);
71
71
  /* Shadow for small elevations, such as cards or modals. */
72
- --elevation-sm: 0px 1px 2px 0px rgba(0, 0, 0, 0.04),
73
- 0px 2px 4px 0px rgba(0, 0, 0, 0.04);
72
+ --elevation-sm: 0px 1px 2px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px 0px rgba(0, 0, 0, 0.04);
74
73
  /* The color for chart elements, such as a bar or line in a chart. */
75
74
  --chart-1: rgba(94, 105, 209, 1);
76
75
  /* The color for another chart element, such as a bar or line in a chart. */
@@ -268,8 +267,13 @@
268
267
  body {
269
268
  background: var(--background);
270
269
  color: var(--foreground);
271
- font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
272
- Roboto, sans-serif;
270
+ font-family:
271
+ "Pretendard",
272
+ -apple-system,
273
+ BlinkMacSystemFont,
274
+ system-ui,
275
+ Roboto,
276
+ sans-serif;
273
277
  }
274
278
  }
275
279
 
@@ -302,64 +306,104 @@
302
306
  @layer base {
303
307
  :where(:not(:has([class*=" text-"]), :not(:has([class^="text-"])))) {
304
308
  h1 {
305
- font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
306
- Roboto, sans-serif;
309
+ font-family:
310
+ "Pretendard",
311
+ -apple-system,
312
+ BlinkMacSystemFont,
313
+ system-ui,
314
+ Roboto,
315
+ sans-serif;
307
316
  font-size: var(--text-2xl);
308
317
  font-weight: var(--font-weight-medium);
309
318
  line-height: 1.5;
310
319
  }
311
320
 
312
321
  h2 {
313
- font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
314
- Roboto, sans-serif;
322
+ font-family:
323
+ "Pretendard",
324
+ -apple-system,
325
+ BlinkMacSystemFont,
326
+ system-ui,
327
+ Roboto,
328
+ sans-serif;
315
329
  font-size: var(--text-xl);
316
330
  font-weight: var(--font-weight-medium);
317
331
  line-height: 1.5;
318
332
  }
319
333
 
320
334
  h3 {
321
- font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
322
- Roboto, sans-serif;
335
+ font-family:
336
+ "Pretendard",
337
+ -apple-system,
338
+ BlinkMacSystemFont,
339
+ system-ui,
340
+ Roboto,
341
+ sans-serif;
323
342
  font-size: var(--text-lg);
324
343
  font-weight: var(--font-weight-medium);
325
344
  line-height: 1.5;
326
345
  }
327
346
 
328
347
  h4 {
329
- font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
330
- Roboto, sans-serif;
348
+ font-family:
349
+ "Pretendard",
350
+ -apple-system,
351
+ BlinkMacSystemFont,
352
+ system-ui,
353
+ Roboto,
354
+ sans-serif;
331
355
  font-size: var(--text-base);
332
356
  font-weight: var(--font-weight-medium);
333
357
  line-height: 1.5;
334
358
  }
335
359
 
336
360
  p {
337
- font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
338
- Roboto, sans-serif;
361
+ font-family:
362
+ "Pretendard",
363
+ -apple-system,
364
+ BlinkMacSystemFont,
365
+ system-ui,
366
+ Roboto,
367
+ sans-serif;
339
368
  font-size: var(--text-base);
340
369
  font-weight: var(--font-weight-normal);
341
370
  line-height: 1.5;
342
371
  }
343
372
 
344
373
  label {
345
- font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
346
- Roboto, sans-serif;
374
+ font-family:
375
+ "Pretendard",
376
+ -apple-system,
377
+ BlinkMacSystemFont,
378
+ system-ui,
379
+ Roboto,
380
+ sans-serif;
347
381
  font-size: var(--text-sm);
348
382
  font-weight: var(--font-weight-normal);
349
383
  line-height: 1.5;
350
384
  }
351
385
 
352
386
  button {
353
- font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
354
- Roboto, sans-serif;
387
+ font-family:
388
+ "Pretendard",
389
+ -apple-system,
390
+ BlinkMacSystemFont,
391
+ system-ui,
392
+ Roboto,
393
+ sans-serif;
355
394
  font-size: var(--text-base);
356
395
  font-weight: var(--font-weight-medium);
357
396
  line-height: 1.5;
358
397
  }
359
398
 
360
399
  input {
361
- font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
362
- Roboto, sans-serif;
400
+ font-family:
401
+ "Pretendard",
402
+ -apple-system,
403
+ BlinkMacSystemFont,
404
+ system-ui,
405
+ Roboto,
406
+ sans-serif;
363
407
  font-size: var(--text-base);
364
408
  font-weight: var(--font-weight-normal);
365
409
  line-height: 1.5;
@@ -477,25 +521,19 @@ html {
477
521
 
478
522
  /* Range selection - middle dates (연결된 배경) */
479
523
  .rdp-day_range_middle {
480
- background-color: color-mix(
481
- in srgb,
482
- var(--primary) 15%,
483
- transparent
484
- ) !important;
524
+ background-color: color-mix(in srgb, var(--primary) 15%, transparent) !important;
485
525
  border-radius: 0 !important;
486
526
  }
487
527
 
488
528
  /* Hover states */
489
- .rdp-day:not(.rdp-day_selected):not(.rdp-day_range_start):not(
490
- .rdp-day_range_end
491
- ):not(.rdp-day_range_middle):hover {
529
+ .rdp-day:not(.rdp-day_selected):not(.rdp-day_range_start):not(.rdp-day_range_end):not(
530
+ .rdp-day_range_middle
531
+ ):hover {
492
532
  background-color: var(--secondary) !important;
493
533
  }
494
534
 
495
535
  /* Selected single date */
496
- .rdp-day_selected:not(.rdp-day_range_start):not(.rdp-day_range_end):not(
497
- .rdp-day_range_middle
498
- ) {
536
+ .rdp-day_selected:not(.rdp-day_range_start):not(.rdp-day_range_end):not(.rdp-day_range_middle) {
499
537
  background-color: var(--primary) !important;
500
538
  color: var(--primary-foreground) !important;
501
539
  }
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@sonamu-kit/react-components",
3
- "version": "0.2.5",
4
- "type": "module",
3
+ "version": "0.3.0",
4
+ "license": "MIT",
5
5
  "author": "CartaNova <dev@cartanova.ai>",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/cartanova-ai/sonamu.git"
9
9
  },
10
- "license": "MIT",
11
10
  "files": [
12
11
  "dist"
13
12
  ],
13
+ "type": "module",
14
14
  "main": "./dist/react-components.es.js",
15
15
  "types": "./dist/index.d.ts",
16
16
  "exports": {
@@ -90,37 +90,44 @@
90
90
  "vaul": "^1.1.2",
91
91
  "zod": "^4.3.6"
92
92
  },
93
- "peerDependencies": {
94
- "@tanstack/react-query": "^5.90.12",
95
- "@tanstack/react-router": "1.143.11",
96
- "better-auth": "~1.4.18",
97
- "react": "^19.2.3",
98
- "react-dom": "^19.2.3"
99
- },
100
93
  "devDependencies": {
101
94
  "@iconify/json": "^2.2.421",
95
+ "@storybook/addon-a11y": "^10.2.19",
96
+ "@storybook/addon-docs": "^10.2.19",
97
+ "@storybook/react-vite": "^10.2.19",
102
98
  "@tailwindcss/vite": "^4.1.17",
103
99
  "@tanstack/react-query": "^5.90.12",
104
100
  "@tanstack/react-router": "1.143.11",
105
- "better-auth": "~1.4.18",
101
+ "@tanstack/router-plugin": "1.143.11",
106
102
  "@types/inflection": "^2.0.0",
107
103
  "@types/react": "^19.2.7",
108
104
  "@types/react-dom": "^19.2.3",
109
- "@vitejs/plugin-react": "4.7.0",
105
+ "@vitejs/plugin-react": "6.0.1",
106
+ "agentation": "^2.3.0",
110
107
  "autoprefixer": "^10.4.20",
108
+ "better-auth": "~1.4.18",
111
109
  "postcss": "^8.4.49",
110
+ "storybook": "^10.2.19",
112
111
  "tailwindcss": "^4.0.0",
113
- "typescript": "^5.9.3",
112
+ "typescript": "^6.0.0",
114
113
  "unplugin-icons": "0.20.2",
115
- "vite": "7.3.0",
114
+ "vite": "8.0.3",
116
115
  "vite-plugin-dts": "4.5.4",
117
- "vite-tsconfig-paths": "^5.1.4",
118
- "@tanstack/router-plugin": "1.143.11"
116
+ "vite-tsconfig-paths": "^5.1.4"
117
+ },
118
+ "peerDependencies": {
119
+ "@tanstack/react-query": "^5.90.12",
120
+ "@tanstack/react-router": "1.143.11",
121
+ "better-auth": "~1.4.18",
122
+ "react": "^19.2.3",
123
+ "react-dom": "^19.2.3"
119
124
  },
120
125
  "scripts": {
121
126
  "dev": "vite",
122
127
  "build": "vite build",
123
- "lint": "eslint src",
124
- "preview": "vite preview"
128
+ "lint": "oxlint src",
129
+ "preview": "vite preview",
130
+ "storybook": "storybook dev -p 6006",
131
+ "build-storybook": "storybook build"
125
132
  }
126
133
  }