@synertech/ui 0.56.0 → 0.57.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.
package/dist/lib/cn.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var t=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var s=(n,e)=>{for(var r in e)t(n,r,{get:e[r],enumerable:!0})},a=(n,e,r,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of f(e))!u.call(n,i)&&i!==r&&t(n,i,{get:()=>e[i],enumerable:!(l=o(e,i))||l.enumerable});return n};var c=n=>a(t({},"__esModule",{value:!0}),n);var g={};s(g,{cn:()=>d});module.exports=c(g);function d(...n){return n.filter(Boolean).join(" ")}0&&(module.exports={cn});
1
+ "use strict";var s=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var u=(e,n)=>{for(var t in n)s(e,t,{get:n[t],enumerable:!0})},c=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of m(n))!l.call(e,i)&&i!==t&&s(e,i,{get:()=>n[i],enumerable:!(r=o(n,i))||r.enumerable});return e};var d=e=>c(s({},"__esModule",{value:!0}),e);var p={};u(p,{cn:()=>g});module.exports=d(p);var a=require("tailwind-merge"),f=(0,a.extendTailwindMerge)({override:{conflictingClassGroups:{"font-size":[]}},extend:{theme:{animate:["shimmer"]},classGroups:{animate:[{animate:["in","out"]}]}}});function g(...e){return f(...e)}0&&(module.exports={cn});
package/dist/lib/cn.js CHANGED
@@ -1 +1 @@
1
- function e(...n){return n.filter(Boolean).join(" ")}export{e as cn};
1
+ import{extendTailwindMerge as n}from"tailwind-merge";var i=n({override:{conflictingClassGroups:{"font-size":[]}},extend:{theme:{animate:["shimmer"]},classGroups:{animate:[{animate:["in","out"]}]}}});function s(...e){return i(...e)}export{s as cn};
@@ -1435,6 +1435,9 @@
1435
1435
  .animate-\[progress-indeterminate_1\.5s_ease-in-out_infinite\] {
1436
1436
  animation: progress-indeterminate 1.5s ease-in-out infinite;
1437
1437
  }
1438
+ .animate-none {
1439
+ animation: none;
1440
+ }
1438
1441
  .animate-pulse {
1439
1442
  animation: var(--animate-pulse);
1440
1443
  }
@@ -2537,6 +2540,9 @@
2537
2540
  .bg-red-600 {
2538
2541
  background-color: var(--color-red-600);
2539
2542
  }
2543
+ .bg-red-600\! {
2544
+ background-color: var(--color-red-600) !important;
2545
+ }
2540
2546
  .bg-rose-100 {
2541
2547
  background-color: var(--color-rose-100);
2542
2548
  }
@@ -2642,6 +2648,9 @@
2642
2648
  .bg-yellow-100 {
2643
2649
  background-color: var(--color-yellow-100);
2644
2650
  }
2651
+ .bg-yellow-300 {
2652
+ background-color: var(--color-yellow-300);
2653
+ }
2645
2654
  .bg-yellow-400 {
2646
2655
  background-color: var(--color-yellow-400);
2647
2656
  }
@@ -3325,6 +3334,10 @@
3325
3334
  font-size: var(--text-sm);
3326
3335
  line-height: calc(var(--spacing) * 5);
3327
3336
  }
3337
+ .text-sm\/6 {
3338
+ font-size: var(--text-sm);
3339
+ line-height: calc(var(--spacing) * 6);
3340
+ }
3328
3341
  .text-xl {
3329
3342
  font-size: var(--text-xl);
3330
3343
  line-height: var(--tw-leading, var(--text-xl--line-height));
@@ -5396,11 +5409,21 @@
5396
5409
  display: none;
5397
5410
  }
5398
5411
  }
5412
+ .motion-reduce\:w-full {
5413
+ @media (prefers-reduced-motion: reduce) {
5414
+ width: 100%;
5415
+ }
5416
+ }
5399
5417
  .motion-reduce\:animate-none {
5400
5418
  @media (prefers-reduced-motion: reduce) {
5401
5419
  animation: none;
5402
5420
  }
5403
5421
  }
5422
+ .motion-reduce\:animate-pulse {
5423
+ @media (prefers-reduced-motion: reduce) {
5424
+ animation: var(--animate-pulse);
5425
+ }
5426
+ }
5404
5427
  .motion-reduce\:transition-none {
5405
5428
  @media (prefers-reduced-motion: reduce) {
5406
5429
  transition-property: none;
@@ -6496,6 +6519,19 @@
6496
6519
  }
6497
6520
  }
6498
6521
  }
6522
+ .dark\:bg-amber-900 {
6523
+ &:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
6524
+ background-color: var(--color-amber-900);
6525
+ }
6526
+ @media (prefers-color-scheme: dark) {
6527
+ &:where(
6528
+ :root:not(.light):not([data-theme="light"]),
6529
+ :root:not(.light):not([data-theme="light"]) *
6530
+ ) {
6531
+ background-color: var(--color-amber-900);
6532
+ }
6533
+ }
6534
+ }
6499
6535
  .dark\:bg-amber-900\/20 {
6500
6536
  &:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
6501
6537
  background-color: color-mix(in srgb, oklch(41.4% 0.112 45.904) 20%, transparent);
@@ -8385,6 +8421,19 @@
8385
8421
  }
8386
8422
  }
8387
8423
  }
8424
+ .dark\:text-amber-100 {
8425
+ &:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
8426
+ color: var(--color-amber-100);
8427
+ }
8428
+ @media (prefers-color-scheme: dark) {
8429
+ &:where(
8430
+ :root:not(.light):not([data-theme="light"]),
8431
+ :root:not(.light):not([data-theme="light"]) *
8432
+ ) {
8433
+ color: var(--color-amber-100);
8434
+ }
8435
+ }
8436
+ }
8388
8437
  .dark\:text-amber-200 {
8389
8438
  &:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
8390
8439
  color: var(--color-amber-200);
@@ -10006,6 +10055,27 @@
10006
10055
  }
10007
10056
  }
10008
10057
  }
10058
+ .dark\:hover\:bg-red-900 {
10059
+ &:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
10060
+ &:hover {
10061
+ @media (hover: hover) {
10062
+ background-color: var(--color-red-900);
10063
+ }
10064
+ }
10065
+ }
10066
+ @media (prefers-color-scheme: dark) {
10067
+ &:where(
10068
+ :root:not(.light):not([data-theme="light"]),
10069
+ :root:not(.light):not([data-theme="light"]) *
10070
+ ) {
10071
+ &:hover {
10072
+ @media (hover: hover) {
10073
+ background-color: var(--color-red-900);
10074
+ }
10075
+ }
10076
+ }
10077
+ }
10078
+ }
10009
10079
  .dark\:hover\:bg-red-900\/20 {
10010
10080
  &:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
10011
10081
  &:hover {
package/dist/styles.css CHANGED
@@ -1598,6 +1598,9 @@
1598
1598
  .animate-\[progress-indeterminate_1\.5s_ease-in-out_infinite\] {
1599
1599
  animation: progress-indeterminate 1.5s ease-in-out infinite;
1600
1600
  }
1601
+ .animate-none {
1602
+ animation: none;
1603
+ }
1601
1604
  .animate-pulse {
1602
1605
  animation: var(--animate-pulse);
1603
1606
  }
@@ -2700,6 +2703,9 @@
2700
2703
  .bg-red-600 {
2701
2704
  background-color: var(--color-red-600);
2702
2705
  }
2706
+ .bg-red-600\! {
2707
+ background-color: var(--color-red-600) !important;
2708
+ }
2703
2709
  .bg-rose-100 {
2704
2710
  background-color: var(--color-rose-100);
2705
2711
  }
@@ -2805,6 +2811,9 @@
2805
2811
  .bg-yellow-100 {
2806
2812
  background-color: var(--color-yellow-100);
2807
2813
  }
2814
+ .bg-yellow-300 {
2815
+ background-color: var(--color-yellow-300);
2816
+ }
2808
2817
  .bg-yellow-400 {
2809
2818
  background-color: var(--color-yellow-400);
2810
2819
  }
@@ -3488,6 +3497,10 @@
3488
3497
  font-size: var(--text-sm);
3489
3498
  line-height: calc(var(--spacing) * 5);
3490
3499
  }
3500
+ .text-sm\/6 {
3501
+ font-size: var(--text-sm);
3502
+ line-height: calc(var(--spacing) * 6);
3503
+ }
3491
3504
  .text-xl {
3492
3505
  font-size: var(--text-xl);
3493
3506
  line-height: var(--tw-leading, var(--text-xl--line-height));
@@ -5559,11 +5572,21 @@
5559
5572
  display: none;
5560
5573
  }
5561
5574
  }
5575
+ .motion-reduce\:w-full {
5576
+ @media (prefers-reduced-motion: reduce) {
5577
+ width: 100%;
5578
+ }
5579
+ }
5562
5580
  .motion-reduce\:animate-none {
5563
5581
  @media (prefers-reduced-motion: reduce) {
5564
5582
  animation: none;
5565
5583
  }
5566
5584
  }
5585
+ .motion-reduce\:animate-pulse {
5586
+ @media (prefers-reduced-motion: reduce) {
5587
+ animation: var(--animate-pulse);
5588
+ }
5589
+ }
5567
5590
  .motion-reduce\:transition-none {
5568
5591
  @media (prefers-reduced-motion: reduce) {
5569
5592
  transition-property: none;
@@ -6659,6 +6682,19 @@
6659
6682
  }
6660
6683
  }
6661
6684
  }
6685
+ .dark\:bg-amber-900 {
6686
+ &:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
6687
+ background-color: var(--color-amber-900);
6688
+ }
6689
+ @media (prefers-color-scheme: dark) {
6690
+ &:where(
6691
+ :root:not(.light):not([data-theme="light"]),
6692
+ :root:not(.light):not([data-theme="light"]) *
6693
+ ) {
6694
+ background-color: var(--color-amber-900);
6695
+ }
6696
+ }
6697
+ }
6662
6698
  .dark\:bg-amber-900\/20 {
6663
6699
  &:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
6664
6700
  background-color: color-mix(in srgb, oklch(41.4% 0.112 45.904) 20%, transparent);
@@ -8548,6 +8584,19 @@
8548
8584
  }
8549
8585
  }
8550
8586
  }
8587
+ .dark\:text-amber-100 {
8588
+ &:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
8589
+ color: var(--color-amber-100);
8590
+ }
8591
+ @media (prefers-color-scheme: dark) {
8592
+ &:where(
8593
+ :root:not(.light):not([data-theme="light"]),
8594
+ :root:not(.light):not([data-theme="light"]) *
8595
+ ) {
8596
+ color: var(--color-amber-100);
8597
+ }
8598
+ }
8599
+ }
8551
8600
  .dark\:text-amber-200 {
8552
8601
  &:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
8553
8602
  color: var(--color-amber-200);
@@ -10169,6 +10218,27 @@
10169
10218
  }
10170
10219
  }
10171
10220
  }
10221
+ .dark\:hover\:bg-red-900 {
10222
+ &:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
10223
+ &:hover {
10224
+ @media (hover: hover) {
10225
+ background-color: var(--color-red-900);
10226
+ }
10227
+ }
10228
+ }
10229
+ @media (prefers-color-scheme: dark) {
10230
+ &:where(
10231
+ :root:not(.light):not([data-theme="light"]),
10232
+ :root:not(.light):not([data-theme="light"]) *
10233
+ ) {
10234
+ &:hover {
10235
+ @media (hover: hover) {
10236
+ background-color: var(--color-red-900);
10237
+ }
10238
+ }
10239
+ }
10240
+ }
10241
+ }
10172
10242
  .dark\:hover\:bg-red-900\/20 {
10173
10243
  &:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
10174
10244
  &:hover {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@synertech/ui",
3
- "version": "0.56.0",
3
+ "version": "0.57.0",
4
4
  "type": "module",
5
- "description": "Synertech UI component library",
5
+ "description": "React dashboards, from a single package: charts, a data grid, forms and accessible dialogs for React and Next.js, with a compiled stylesheet and labels in English and French.",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
@@ -63,9 +63,23 @@
63
63
  },
64
64
  "keywords": [
65
65
  "react",
66
+ "nextjs",
67
+ "react-server-components",
66
68
  "components",
67
69
  "ui",
68
- "tailwind"
70
+ "tailwind",
71
+ "dashboard",
72
+ "charts",
73
+ "datagrid",
74
+ "data-table",
75
+ "gantt",
76
+ "date-picker",
77
+ "command-palette",
78
+ "tree-view",
79
+ "accessible",
80
+ "a11y",
81
+ "i18n",
82
+ "typescript"
69
83
  ],
70
84
  "author": "Kevin Tremblay",
71
85
  "license": "SEE LICENSE IN LICENSE",
@@ -128,6 +142,7 @@
128
142
  "dependencies": {
129
143
  "dompurify": "^3.4.18",
130
144
  "react-markdown": "^10.1.0",
131
- "remark-gfm": "^4.0.1"
145
+ "remark-gfm": "^4.0.1",
146
+ "tailwind-merge": "^3.7.3"
132
147
  }
133
148
  }