@krizaka/ui 2.0.0-beta.1 → 2.0.0-beta.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.
Files changed (52) hide show
  1. package/README.md +14 -3
  2. package/dist/button-G5qY4qSY.d.ts +68 -0
  3. package/dist/card.js +1 -1
  4. package/dist/checkbox.d.ts +52 -0
  5. package/dist/checkbox.js +42 -0
  6. package/dist/checkbox.js.map +1 -0
  7. package/dist/chip.d.ts +97 -0
  8. package/dist/chip.js +93 -0
  9. package/dist/chip.js.map +1 -0
  10. package/dist/{chunk-RLOXWF2G.js → chunk-5AXLA4LK.js} +1 -1
  11. package/dist/chunk-5AXLA4LK.js.map +1 -0
  12. package/dist/chunk-5FRYKFTO.js +121 -0
  13. package/dist/chunk-5FRYKFTO.js.map +1 -0
  14. package/dist/{chunk-CPMZS4XA.js → chunk-FJDSLNXK.js} +1 -1
  15. package/dist/chunk-FJDSLNXK.js.map +1 -0
  16. package/dist/cn.d.ts +3 -0
  17. package/dist/cn.js +1 -1
  18. package/dist/command.d.ts +156 -0
  19. package/dist/command.js +111 -0
  20. package/dist/command.js.map +1 -0
  21. package/dist/confirm-button.d.ts +23 -0
  22. package/dist/confirm-button.js +85 -0
  23. package/dist/confirm-button.js.map +1 -0
  24. package/dist/dialog-DGBY2grk.d.ts +147 -0
  25. package/dist/dialog.d.ts +4 -131
  26. package/dist/dialog.js +26 -90
  27. package/dist/dialog.js.map +1 -1
  28. package/dist/dropdown-menu.js +1 -1
  29. package/dist/field.js +1 -1
  30. package/dist/motion.css +7 -1
  31. package/dist/popover.js +1 -1
  32. package/dist/progress.d.ts +87 -0
  33. package/dist/progress.js +85 -0
  34. package/dist/progress.js.map +1 -0
  35. package/dist/radio-group.d.ts +77 -0
  36. package/dist/radio-group.js +48 -0
  37. package/dist/radio-group.js.map +1 -0
  38. package/dist/slider.d.ts +88 -0
  39. package/dist/slider.js +82 -0
  40. package/dist/slider.js.map +1 -0
  41. package/dist/switch.d.ts +72 -0
  42. package/dist/switch.js +38 -0
  43. package/dist/switch.js.map +1 -0
  44. package/dist/tabs.d.ts +83 -0
  45. package/dist/tabs.js +60 -0
  46. package/dist/tabs.js.map +1 -0
  47. package/dist/theme.d.ts +2 -59
  48. package/dist/toast.js +1 -1
  49. package/dist/tooltip.js +1 -1
  50. package/package.json +134 -5
  51. package/dist/chunk-CPMZS4XA.js.map +0 -1
  52. package/dist/chunk-RLOXWF2G.js.map +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@krizaka/ui",
3
- "version": "2.0.0-beta.1",
4
- "description": "The Krizaka front-end platform's components: the primitives (button, card, dialog, toast, menu, field, theme, countdown…) on the semantic --kz-* tokens, the animated marks (Krizaka, Orazaka, Orochia) and the motion signature — web and /native.",
3
+ "version": "2.0.0-beta.2",
4
+ "description": "The Krizaka front-end platform's components: the primitives (button, card, dialog, toast, menu, field, tabs, chip, switch, slider, command palette, theme, countdown…) on the semantic --kz-* tokens, the animated marks (Krizaka, Orazaka, Orochia) and the motion signature — web and /native.",
5
5
  "keywords": [
6
6
  "krizaka",
7
7
  "orazaka",
@@ -16,7 +16,9 @@
16
16
  "tailwindcss",
17
17
  "components",
18
18
  "dialog",
19
- "toast"
19
+ "toast",
20
+ "tabs",
21
+ "command-palette"
20
22
  ],
21
23
  "homepage": "https://github.com/krizaka/krizaka-ui#readme",
22
24
  "bugs": "https://github.com/krizaka/krizaka-ui/issues",
@@ -124,6 +126,42 @@
124
126
  "types": "./dist/kbd.d.ts",
125
127
  "import": "./dist/kbd.js"
126
128
  },
129
+ "./tabs": {
130
+ "types": "./dist/tabs.d.ts",
131
+ "import": "./dist/tabs.js"
132
+ },
133
+ "./chip": {
134
+ "types": "./dist/chip.d.ts",
135
+ "import": "./dist/chip.js"
136
+ },
137
+ "./switch": {
138
+ "types": "./dist/switch.d.ts",
139
+ "import": "./dist/switch.js"
140
+ },
141
+ "./slider": {
142
+ "types": "./dist/slider.d.ts",
143
+ "import": "./dist/slider.js"
144
+ },
145
+ "./checkbox": {
146
+ "types": "./dist/checkbox.d.ts",
147
+ "import": "./dist/checkbox.js"
148
+ },
149
+ "./radio-group": {
150
+ "types": "./dist/radio-group.d.ts",
151
+ "import": "./dist/radio-group.js"
152
+ },
153
+ "./command": {
154
+ "types": "./dist/command.d.ts",
155
+ "import": "./dist/command.js"
156
+ },
157
+ "./confirm-button": {
158
+ "types": "./dist/confirm-button.d.ts",
159
+ "import": "./dist/confirm-button.js"
160
+ },
161
+ "./progress": {
162
+ "types": "./dist/progress.d.ts",
163
+ "import": "./dist/progress.js"
164
+ },
127
165
  "./motion.css": "./dist/motion.css",
128
166
  "./tailwind.css": "./tailwind.css",
129
167
  "./native": {
@@ -142,7 +180,7 @@
142
180
  "*.css"
143
181
  ],
144
182
  "peerDependencies": {
145
- "@krizaka/tailwind": ">=2.0.0-beta.1",
183
+ "@krizaka/tailwind": ">=2.0.0-beta.2",
146
184
  "react": ">=18",
147
185
  "react-dom": ">=18",
148
186
  "react-native": ">=0.76",
@@ -426,10 +464,101 @@
426
464
  "tailwind-variants",
427
465
  "clsx"
428
466
  ]
467
+ },
468
+ {
469
+ "name": "./tabs",
470
+ "path": "dist/tabs.js",
471
+ "limit": "10 kB",
472
+ "gzip": true,
473
+ "ignore": [
474
+ "tailwind-variants",
475
+ "clsx"
476
+ ]
477
+ },
478
+ {
479
+ "name": "./chip",
480
+ "path": "dist/chip.js",
481
+ "limit": "10 kB",
482
+ "gzip": true,
483
+ "ignore": [
484
+ "tailwind-variants",
485
+ "clsx"
486
+ ]
487
+ },
488
+ {
489
+ "name": "./switch",
490
+ "path": "dist/switch.js",
491
+ "limit": "6 kB",
492
+ "gzip": true,
493
+ "ignore": [
494
+ "tailwind-variants",
495
+ "clsx"
496
+ ]
497
+ },
498
+ {
499
+ "name": "./slider",
500
+ "path": "dist/slider.js",
501
+ "limit": "12 kB",
502
+ "gzip": true,
503
+ "ignore": [
504
+ "tailwind-variants",
505
+ "clsx"
506
+ ]
507
+ },
508
+ {
509
+ "name": "./checkbox",
510
+ "path": "dist/checkbox.js",
511
+ "limit": "6 kB",
512
+ "gzip": true,
513
+ "ignore": [
514
+ "tailwind-variants",
515
+ "clsx"
516
+ ]
517
+ },
518
+ {
519
+ "name": "./radio-group",
520
+ "path": "dist/radio-group.js",
521
+ "limit": "11 kB",
522
+ "gzip": true,
523
+ "ignore": [
524
+ "tailwind-variants",
525
+ "clsx"
526
+ ]
527
+ },
528
+ {
529
+ "name": "./command",
530
+ "path": "dist/command.js",
531
+ "limit": "21 kB",
532
+ "gzip": true,
533
+ "ignore": [
534
+ "tailwind-variants",
535
+ "clsx"
536
+ ]
537
+ },
538
+ {
539
+ "name": "./confirm-button",
540
+ "path": "dist/confirm-button.js",
541
+ "limit": "3 kB",
542
+ "gzip": true,
543
+ "ignore": [
544
+ "tailwind-variants",
545
+ "clsx"
546
+ ]
547
+ },
548
+ {
549
+ "name": "./progress",
550
+ "path": "dist/progress.js",
551
+ "limit": "1.2 kB",
552
+ "gzip": true,
553
+ "ignore": [
554
+ "tailwind-variants",
555
+ "clsx"
556
+ ]
429
557
  }
430
558
  ],
431
559
  "dependencies": {
432
560
  "clsx": "^2.1.1",
561
+ "cmdk": "^1.1.1",
433
562
  "radix-ui": "^1.7.0",
434
563
  "sonner": "^2.0.8",
435
564
  "tailwind-variants": "^3.3.1"
@@ -440,6 +569,6 @@
440
569
  "typecheck": "tsc --noEmit",
441
570
  "test": "vitest run",
442
571
  "size": "size-limit",
443
- "publint": "publint && attw --pack . --profile esm-only --exclude-entrypoints ./motion.css ./tailwind.css"
572
+ "publint": "publint && attw --pack . --profile esm-only --exclude-entrypoints ./motion.css ./tailwind.css && node scripts/consumer.mjs"
444
573
  }
445
574
  }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/cn.ts"],"sourcesContent":["import { type ClassValue, clsx } from \"clsx\";\nimport { cn as merge } from \"tailwind-variants\";\n\nexport type { ClassValue };\n\n/**\n * Merges Tailwind classes: the last one wins — a product's `className` overrides the primitive's. The merge engine is\n * tailwind-merge as tailwind-variants ships it (the one `tv` uses), so the platform carries a single copy of it.\n */\nexport function cn(...inputs: ClassValue[]): string {\n return merge(clsx(inputs)) ?? \"\";\n}\n"],"mappings":";AAAA,SAA0B,YAAY;AACtC,SAAS,MAAM,aAAa;AAQrB,SAAS,MAAM,QAA8B;AAClD,SAAO,MAAM,KAAK,MAAM,CAAC,KAAK;AAChC;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/cn.ts"],"sourcesContent":["import { type ClassValue, clsx } from \"clsx\";\nimport { cn as merge } from \"tailwind-variants\";\n\nexport type { ClassValue };\n\n/**\n * Merges Tailwind classes: the last one wins — a product's `className` overrides the primitive's. The merge engine is\n * tailwind-merge as tailwind-variants ships it (the one `tv` uses), so the platform carries a single copy of it.\n */\nexport function cn(...inputs: ClassValue[]): string {\n return merge(clsx(inputs)) ?? \"\";\n}\n"],"mappings":";;;AAAA,SAA0B,YAAY;AACtC,SAAS,MAAM,aAAa;AAQrB,SAAS,MAAM,QAA8B;AAClD,SAAO,MAAM,KAAK,MAAM,CAAC,KAAK;AAChC;","names":[]}