@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.
- package/LICENSE +21 -0
- package/README.md +13 -2
- package/dist/components/app-layout.css +396 -0
- package/dist/components/button.css +134 -0
- package/dist/components/calendar.css +162 -0
- package/dist/components/card.css +177 -0
- package/dist/components/choice-controls.css +175 -0
- package/dist/components/code.css +78 -0
- package/dist/components/command.css +49 -0
- package/dist/components/dialog.css +162 -0
- package/dist/components/disclosure.css +192 -0
- package/dist/components/display.css +430 -0
- package/dist/components/feedback.css +213 -0
- package/dist/components/field.css +230 -0
- package/dist/components/form-controls.css +150 -0
- package/dist/components/form.css +111 -0
- package/dist/components/listbox.css +296 -0
- package/dist/components/navigation.css +140 -0
- package/dist/components/overlays.css +120 -0
- package/dist/components/slider.css +134 -0
- package/dist/components/table.css +249 -0
- package/dist/components/typography.css +155 -0
- package/dist/index.css +23 -0
- package/dist/reset.css +55 -0
- package/dist/tokens.css +811 -0
- package/dist/utilities.css +67 -0
- package/package.json +38 -3
|
@@ -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.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
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
|
}
|