@refactico/pages 0.1.0 → 0.2.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/index.cjs +2135 -875
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2136 -876
- package/dist/style.css +46 -35
- package/package.json +12 -11
package/dist/style.css
CHANGED
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
41
41
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
42
42
|
--color-red-50: oklch(97.1% .013 17.38);
|
|
43
|
+
--color-red-100: oklch(93.6% .032 17.717);
|
|
43
44
|
--color-red-200: oklch(88.5% .062 18.334);
|
|
44
45
|
--color-red-300: oklch(80.8% .114 19.571);
|
|
45
46
|
--color-red-400: oklch(70.4% .191 22.216);
|
|
@@ -384,10 +385,18 @@
|
|
|
384
385
|
@layer components;
|
|
385
386
|
|
|
386
387
|
@layer utilities {
|
|
388
|
+
.visible {
|
|
389
|
+
visibility: visible;
|
|
390
|
+
}
|
|
391
|
+
|
|
387
392
|
.absolute {
|
|
388
393
|
position: absolute;
|
|
389
394
|
}
|
|
390
395
|
|
|
396
|
+
.fixed {
|
|
397
|
+
position: fixed;
|
|
398
|
+
}
|
|
399
|
+
|
|
391
400
|
.relative {
|
|
392
401
|
position: relative;
|
|
393
402
|
}
|
|
@@ -400,10 +409,6 @@
|
|
|
400
409
|
position: sticky;
|
|
401
410
|
}
|
|
402
411
|
|
|
403
|
-
.-top-6 {
|
|
404
|
-
top: calc(var(--spacing) * -6);
|
|
405
|
-
}
|
|
406
|
-
|
|
407
412
|
.-top-12 {
|
|
408
413
|
top: calc(var(--spacing) * -12);
|
|
409
414
|
}
|
|
@@ -416,6 +421,10 @@
|
|
|
416
421
|
top: 100%;
|
|
417
422
|
}
|
|
418
423
|
|
|
424
|
+
.right-0 {
|
|
425
|
+
right: calc(var(--spacing) * 0);
|
|
426
|
+
}
|
|
427
|
+
|
|
419
428
|
.right-2 {
|
|
420
429
|
right: calc(var(--spacing) * 2);
|
|
421
430
|
}
|
|
@@ -424,10 +433,6 @@
|
|
|
424
433
|
bottom: calc(var(--spacing) * 2);
|
|
425
434
|
}
|
|
426
435
|
|
|
427
|
-
.bottom-full {
|
|
428
|
-
bottom: 100%;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
436
|
.left-0 {
|
|
432
437
|
left: calc(var(--spacing) * 0);
|
|
433
438
|
}
|
|
@@ -542,6 +547,10 @@
|
|
|
542
547
|
display: none;
|
|
543
548
|
}
|
|
544
549
|
|
|
550
|
+
.inline {
|
|
551
|
+
display: inline;
|
|
552
|
+
}
|
|
553
|
+
|
|
545
554
|
.inline-block {
|
|
546
555
|
display: inline-block;
|
|
547
556
|
}
|
|
@@ -610,10 +619,6 @@
|
|
|
610
619
|
width: calc(var(--spacing) * 5);
|
|
611
620
|
}
|
|
612
621
|
|
|
613
|
-
.w-8 {
|
|
614
|
-
width: calc(var(--spacing) * 8);
|
|
615
|
-
}
|
|
616
|
-
|
|
617
622
|
.w-10 {
|
|
618
623
|
width: calc(var(--spacing) * 10);
|
|
619
624
|
}
|
|
@@ -646,6 +651,10 @@
|
|
|
646
651
|
max-width: 1800px;
|
|
647
652
|
}
|
|
648
653
|
|
|
654
|
+
.max-w-\[calc\(100vw-16px\)\] {
|
|
655
|
+
max-width: calc(100vw - 16px);
|
|
656
|
+
}
|
|
657
|
+
|
|
649
658
|
.max-w-full {
|
|
650
659
|
max-width: 100%;
|
|
651
660
|
}
|
|
@@ -679,10 +688,18 @@
|
|
|
679
688
|
cursor: grab;
|
|
680
689
|
}
|
|
681
690
|
|
|
691
|
+
.cursor-not-allowed {
|
|
692
|
+
cursor: not-allowed;
|
|
693
|
+
}
|
|
694
|
+
|
|
682
695
|
.cursor-pointer {
|
|
683
696
|
cursor: pointer;
|
|
684
697
|
}
|
|
685
698
|
|
|
699
|
+
.resize {
|
|
700
|
+
resize: both;
|
|
701
|
+
}
|
|
702
|
+
|
|
686
703
|
.resize-none {
|
|
687
704
|
resize: none;
|
|
688
705
|
}
|
|
@@ -831,11 +848,6 @@
|
|
|
831
848
|
border-style: dotted;
|
|
832
849
|
}
|
|
833
850
|
|
|
834
|
-
.border-none {
|
|
835
|
-
--tw-border-style: none;
|
|
836
|
-
border-style: none;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
851
|
.border-solid {
|
|
840
852
|
--tw-border-style: solid;
|
|
841
853
|
border-style: solid;
|
|
@@ -1015,10 +1027,6 @@
|
|
|
1015
1027
|
background-color: var(--color-red-50);
|
|
1016
1028
|
}
|
|
1017
1029
|
|
|
1018
|
-
.bg-red-500 {
|
|
1019
|
-
background-color: var(--color-red-500);
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
1030
|
.bg-red-500\/80 {
|
|
1023
1031
|
background-color: #fb2c36cc;
|
|
1024
1032
|
}
|
|
@@ -1313,6 +1321,10 @@
|
|
|
1313
1321
|
overflow-wrap: break-word;
|
|
1314
1322
|
}
|
|
1315
1323
|
|
|
1324
|
+
.whitespace-nowrap {
|
|
1325
|
+
white-space: nowrap;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1316
1328
|
.whitespace-pre {
|
|
1317
1329
|
white-space: pre;
|
|
1318
1330
|
}
|
|
@@ -1493,6 +1505,10 @@
|
|
|
1493
1505
|
opacity: 0;
|
|
1494
1506
|
}
|
|
1495
1507
|
|
|
1508
|
+
.opacity-30 {
|
|
1509
|
+
opacity: .3;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1496
1512
|
.opacity-50 {
|
|
1497
1513
|
opacity: .5;
|
|
1498
1514
|
}
|
|
@@ -1554,6 +1570,10 @@
|
|
|
1554
1570
|
user-select: none;
|
|
1555
1571
|
}
|
|
1556
1572
|
|
|
1573
|
+
.ring-inset {
|
|
1574
|
+
--tw-ring-inset: inset;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1557
1577
|
@media (hover: hover) {
|
|
1558
1578
|
.group-hover\:bg-slate-200:is(:where(.group):hover *) {
|
|
1559
1579
|
background-color: var(--color-slate-200);
|
|
@@ -1563,7 +1583,7 @@
|
|
|
1563
1583
|
background-color: var(--color-slate-600);
|
|
1564
1584
|
}
|
|
1565
1585
|
|
|
1566
|
-
.group-hover\:opacity-100:is(:where(.group):hover *), .group-hover\/item\:opacity-100:is(:where(.group\/item):hover *)
|
|
1586
|
+
.group-hover\:opacity-100:is(:where(.group):hover *), .group-hover\/item\:opacity-100:is(:where(.group\/item):hover *) {
|
|
1567
1587
|
opacity: 1;
|
|
1568
1588
|
}
|
|
1569
1589
|
}
|
|
@@ -1643,6 +1663,10 @@
|
|
|
1643
1663
|
background-color: var(--color-red-50);
|
|
1644
1664
|
}
|
|
1645
1665
|
|
|
1666
|
+
.hover\:bg-red-100:hover {
|
|
1667
|
+
background-color: var(--color-red-100);
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1646
1670
|
.hover\:bg-red-950\/30:hover {
|
|
1647
1671
|
background-color: #4608094d;
|
|
1648
1672
|
}
|
|
@@ -1710,24 +1734,11 @@
|
|
|
1710
1734
|
}
|
|
1711
1735
|
}
|
|
1712
1736
|
|
|
1713
|
-
.focus\:ring-2:focus {
|
|
1714
|
-
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1715
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1716
|
-
}
|
|
1717
|
-
|
|
1718
|
-
.focus\:ring-indigo-500:focus {
|
|
1719
|
-
--tw-ring-color: var(--color-indigo-500);
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
1737
|
.focus\:outline-none:focus {
|
|
1723
1738
|
--tw-outline-style: none;
|
|
1724
1739
|
outline-style: none;
|
|
1725
1740
|
}
|
|
1726
1741
|
|
|
1727
|
-
.focus\:ring-inset:focus {
|
|
1728
|
-
--tw-ring-inset: inset;
|
|
1729
|
-
}
|
|
1730
|
-
|
|
1731
1742
|
.active\:cursor-grabbing:active {
|
|
1732
1743
|
cursor: grabbing;
|
|
1733
1744
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@refactico/pages",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0",
|
|
5
5
|
"description": "A component library for building pages with React.",
|
|
6
6
|
"author": "refactico",
|
|
7
7
|
"license": "MIT",
|
|
@@ -50,6 +50,16 @@
|
|
|
50
50
|
},
|
|
51
51
|
"./css": "./dist/style.css"
|
|
52
52
|
},
|
|
53
|
+
"scripts": {
|
|
54
|
+
"dev": "storybook dev -p 6006",
|
|
55
|
+
"test": "vitest run",
|
|
56
|
+
"test:watch": "vitest",
|
|
57
|
+
"build": "storybook build",
|
|
58
|
+
"build:lib": "tsc && vite build",
|
|
59
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
60
|
+
"format": "prettier . --write --ignore-unknown",
|
|
61
|
+
"prepare": "husky"
|
|
62
|
+
},
|
|
53
63
|
"devDependencies": {
|
|
54
64
|
"@storybook/addon-actions": "^8.6.15",
|
|
55
65
|
"@storybook/addon-essentials": "^8.6.14",
|
|
@@ -92,14 +102,5 @@
|
|
|
92
102
|
"peerDependencies": {
|
|
93
103
|
"react": "^19.0.0",
|
|
94
104
|
"react-dom": "^19.0.0"
|
|
95
|
-
},
|
|
96
|
-
"scripts": {
|
|
97
|
-
"dev": "storybook dev -p 6006",
|
|
98
|
-
"test": "vitest run",
|
|
99
|
-
"test:watch": "vitest",
|
|
100
|
-
"build": "storybook build",
|
|
101
|
-
"build:lib": "tsc && vite build",
|
|
102
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
103
|
-
"format": "prettier . --write --ignore-unknown"
|
|
104
105
|
}
|
|
105
|
-
}
|
|
106
|
+
}
|