atomsystem 0.1.26 → 0.1.28

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/css/tab.css ADDED
@@ -0,0 +1,56 @@
1
+ .tab {
2
+ display: flex;
3
+ width: 100%;
4
+ background-color: var(--color-bg-wrapper);
5
+ border-bottom: 1px solid var(--color-border-standard);
6
+ position: relative;
7
+ z-index: 0;
8
+ height: 57px;
9
+ }
10
+
11
+ .tab-nav-item {
12
+ padding: var(--spacing-common-x);
13
+ cursor: pointer;
14
+ border: 1px solid transparent; /* reserve space for active state border */
15
+ border-bottom: none;
16
+ background-color: transparent;
17
+ color: var(--color-text-standard);
18
+ transition: all 0.2s ease-in-out;
19
+ display: flex;
20
+ align-items: center;
21
+ justify-content: center;
22
+ }
23
+
24
+ .tab-nav-item:hover {
25
+ background-color: var(--color-bg-card);
26
+ }
27
+
28
+ .tab-nav-item-active {
29
+ background-color: var(--color-bg-card);
30
+ border: 1px solid var(--color-border-standard);
31
+ border-bottom: 1px solid var(--color-bg-card);
32
+ position: relative;
33
+ z-index: 10;
34
+ color: var(--color-primary);
35
+ }
36
+
37
+ .tab-content {
38
+ background-color: var(--color-bg-card);
39
+ padding: var(--spacing-common-x);
40
+ border: 1px solid var(--color-border-standard);
41
+ border-top: 0;
42
+ margin-top: -1px; /* Overlap the top line of content with the bottom line of tab to allow the active tab to connect */
43
+ position: relative;
44
+ z-index: 1;
45
+ }
46
+
47
+ .tab-content-item {
48
+ color: var(--color-text-standard);
49
+ width: 100%;
50
+ }
51
+
52
+ @media (min-width: 640px) {
53
+ .tab-content-item {
54
+ width: auto;
55
+ }
56
+ }
package/css/table.css ADDED
@@ -0,0 +1,58 @@
1
+ .table-container {
2
+ overflow: auto;
3
+ width: 100%;
4
+ }
5
+
6
+ .table {
7
+ min-width: 100%;
8
+ border-collapse: collapse;
9
+ border-radius: var(--radius-common);
10
+ border: 1px solid var(--color-table-header-border);
11
+ overflow: hidden;
12
+ }
13
+
14
+ .table-header {
15
+ background-color: var(--color-table-header-bg);
16
+ }
17
+
18
+ .table-header th {
19
+ padding: var(--spacing-common-y) var(--spacing-common-x);
20
+ text-align: center;
21
+ color: var(--color-table-header-text);
22
+ font-weight: var(--font-weight-header);
23
+ font-size: var(--text-body);
24
+ letter-spacing: 0.05em;
25
+ border-bottom: 1px solid var(--color-table-header-border);
26
+ }
27
+
28
+ .table-body {
29
+ /* Body styles if needed */
30
+ }
31
+
32
+ .table-row {
33
+ background-color: var(--color-table-body-bg);
34
+ transition: background-color 0.2s ease;
35
+ }
36
+
37
+ .table-row:nth-child(even) {
38
+ background-color: var(--color-table-body-bgEven);
39
+ }
40
+
41
+ .table-row:hover {
42
+ filter: brightness(0.95);
43
+ }
44
+
45
+ .table-cell {
46
+ padding: var(--spacing-sm-y) var(--spacing-common-x);
47
+ color: var(--color-table-body-text);
48
+ font-size: var(--text-body);
49
+ border-bottom: 1px solid var(--color-table-body-border);
50
+ text-align: left;
51
+ }
52
+
53
+ .table-empty {
54
+ padding: var(--spacing-common-x);
55
+ text-align: center;
56
+ color: var(--color-text-standard);
57
+ font-size: var(--text-body);
58
+ }
package/css/text.css ADDED
@@ -0,0 +1,25 @@
1
+ body{
2
+ @apply text-text-standard
3
+ }
4
+
5
+ h1{
6
+ @apply text-h1 font-header
7
+ }
8
+ h2{
9
+ @apply text-h2 font-header
10
+ }
11
+ h3{
12
+ @apply text-h3 font-header
13
+ }
14
+ h4{
15
+ @apply text-h4 font-header
16
+ }
17
+ h5{
18
+ @apply text-h5 font-header
19
+ }
20
+ h6{
21
+ @apply text-h6 font-header
22
+ }
23
+ p{
24
+ @apply text-body
25
+ }
package/css/toast.css ADDED
@@ -0,0 +1,69 @@
1
+ .toast-container {
2
+ position: fixed;
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: var(--spacing-sm-y);
6
+ bottom: 24px;
7
+ right: 24px;
8
+ z-index: 50;
9
+ }
10
+
11
+ .toast-item {
12
+ background-color: var(--toast-bg, var(--color-bg-card));
13
+ border: 1px solid var(--toast-border, var(--border-standard));
14
+ border-radius: var(--radius-common);
15
+ color: var(--toast-color, var(--text-standard));
16
+ padding: var(--spacing-common-x);
17
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
18
+ min-width: 250px;
19
+ }
20
+
21
+ /* Status Variants */
22
+ .toast-item.standard {
23
+ --toast-bg: var(--color-bg-card);
24
+ --toast-border: var(--border-standard);
25
+ --toast-color: var(--text-standard);
26
+ }
27
+
28
+ .toast-item.primary {
29
+ --toast-bg: var(--color-primary);
30
+ --toast-border: var(--color-primary);
31
+ --toast-color: var(--color-white);
32
+ }
33
+
34
+ .toast-item.secondary {
35
+ --toast-bg: var(--color-secondary);
36
+ --toast-border: var(--color-secondary);
37
+ --toast-color: var(--color-white);
38
+ }
39
+
40
+ .toast-item.success {
41
+ --toast-bg: var(--color-success);
42
+ --toast-border: var(--color-success);
43
+ --toast-color: var(--color-white);
44
+ }
45
+
46
+ .toast-item.danger,
47
+ .toast-item.error {
48
+ --toast-bg: var(--color-danger);
49
+ --toast-border: var(--color-danger);
50
+ --toast-color: var(--color-white);
51
+ }
52
+
53
+ .toast-item.warning {
54
+ --toast-bg: var(--color-warning);
55
+ --toast-border: var(--color-warning);
56
+ --toast-color: var(--color-white);
57
+ }
58
+
59
+ .toast-item.info {
60
+ --toast-bg: var(--color-info);
61
+ --toast-border: var(--color-info);
62
+ --toast-color: var(--color-white);
63
+ }
64
+
65
+ .toast-desc {
66
+ font-size: var(--text-sm);
67
+ margin-top: var(--spacing-gap-small);
68
+ opacity: 0.9;
69
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atomsystem",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "type": "module",
5
5
  "homepage": "https://system.atomground.com",
6
6
  "bin": {
@@ -8,11 +8,11 @@
8
8
  "atomsystem-add": "cli/add.js"
9
9
  },
10
10
  "files": [
11
- "token.json",
12
11
  "tokens",
13
12
  "tailwind.config.ts",
14
13
  "build",
15
- "app/templates"
14
+ "app/templates",
15
+ "css"
16
16
  ],
17
17
  "scripts": {
18
18
  "dev": "node build/build-tokens.js && next dev",
@@ -22,7 +22,6 @@
22
22
  "token-build": "node build/build-tokens.js"
23
23
  },
24
24
  "peerDependencies": {
25
- "@tokens-studio/sd-transforms": "^1.2.8",
26
25
  "react": "^18.0.0",
27
26
  "react-dom": "^18.0.0",
28
27
  "sd-tailwindcss-transformer": "^2.0.0",
@@ -30,14 +29,18 @@
30
29
  },
31
30
  "dependencies": {
32
31
  "@gsap/react": "^2.1.2",
32
+ "@mdx-js/loader": "^3.1.0",
33
+ "@mdx-js/react": "^3.1.0",
34
+ "@next/mdx": "^15.4.6",
33
35
  "@next/third-parties": "^15.0.3",
34
36
  "@tailwindcss/postcss": "^4.0.17",
35
- "@tokens-studio/sd-transforms": "^1.2.8",
37
+ "@tokens-studio/sd-transforms": "^1.3.0",
38
+ "@types/mdx": "^2.0.13",
36
39
  "clsx": "^2.1.1",
37
40
  "gsap": "^3.12.7",
38
41
  "highlight.js": "^11.11.1",
39
42
  "inquirer": "^12.4.2",
40
- "next": "^15.2.4",
43
+ "next": "15.2.8",
41
44
  "react": "^18.0.0",
42
45
  "react-dom": "^18.0.0",
43
46
  "react-modal": "^3.16.3",