@atomscraft/css 0.0.0-stage → 0.1.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.
@@ -0,0 +1,67 @@
1
+ .ac-visually-hidden {
2
+ position: absolute;
3
+ inline-size: 1px;
4
+ block-size: 1px;
5
+ margin: -1px;
6
+ padding: 0;
7
+ overflow: hidden;
8
+ clip-path: inset(50%);
9
+ white-space: nowrap;
10
+ border: 0;
11
+ }
12
+
13
+ .ac-icon {
14
+ flex-shrink: 0;
15
+ inline-size: 1em;
16
+ block-size: 1em;
17
+ }
18
+
19
+ .ac-icon[data-size="xs"] {
20
+ inline-size: 0.75rem;
21
+ block-size: 0.75rem;
22
+ }
23
+
24
+ .ac-icon[data-size="sm"] {
25
+ inline-size: 1rem;
26
+ block-size: 1rem;
27
+ }
28
+
29
+ .ac-icon[data-size="md"] {
30
+ inline-size: 1.25rem;
31
+ block-size: 1.25rem;
32
+ }
33
+
34
+ .ac-icon[data-size="lg"] {
35
+ inline-size: 1.5rem;
36
+ block-size: 1.5rem;
37
+ }
38
+
39
+ .ac-icon[data-size="xl"] {
40
+ inline-size: 2rem;
41
+ block-size: 2rem;
42
+ }
43
+
44
+ @keyframes ac-spin {
45
+ to {
46
+ transform: rotate(360deg);
47
+ }
48
+ }
49
+
50
+ @keyframes ac-fade-in {
51
+ from {
52
+ opacity: 0;
53
+ }
54
+ }
55
+
56
+ @keyframes ac-pop-in {
57
+ from {
58
+ opacity: 0;
59
+ transform: scale(0.96) translateY(var(--_enter-y, 4px));
60
+ }
61
+ }
62
+
63
+ @keyframes ac-shimmer {
64
+ to {
65
+ background-position-x: -200%;
66
+ }
67
+ }
package/package.json CHANGED
@@ -1,6 +1,41 @@
1
1
  {
2
2
  "name": "@atomscraft/css",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.0",
4
+ "description": "Framework-agnostic stylesheet for AtomCraft components (ac-* classes).",
5
+ "license": "MIT",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "style": "./dist/index.css",
10
+ "type": "module",
11
+ "exports": {
12
+ ".": "./dist/index.css",
13
+ "./tokens.css": "./dist/tokens.css",
14
+ "./package.json": "./package.json"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/NassimFarhat/AtomCraft-UI.git",
19
+ "directory": "packages/css"
20
+ },
21
+ "homepage": "https://github.com/NassimFarhat/AtomCraft-UI#readme",
22
+ "bugs": {
23
+ "url": "https://github.com/NassimFarhat/AtomCraft-UI/issues"
24
+ },
25
+ "keywords": [
26
+ "atomcraft",
27
+ "css",
28
+ "design-system",
29
+ "ui"
30
+ ],
31
+ "sideEffects": [
32
+ "**/*.css"
33
+ ],
34
+ "publishConfig": {
35
+ "access": "public"
36
+ },
37
+ "scripts": {
38
+ "build": "node scripts/build-css.mjs",
39
+ "pack:check": "npm pack --dry-run"
40
+ }
6
41
  }