@anydigital/atomic-bricks 1.0.0-alpha

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 ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2013 Anton Staroverov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,42 @@
1
+ # `atomic-bricks`
2
+
3
+ Framework-agnostic CSS utility helpers for modern web development.
4
+
5
+ ## Installation
6
+
7
+ ### Via CDN
8
+
9
+ ```html
10
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@anydigital/atomic-bricks@1/dist/atomic-bricks.min.css">
11
+ ```
12
+
13
+ ### Via npm
14
+
15
+ ```sh
16
+ npm install @anydigital/atomic-bricks
17
+ ```
18
+
19
+ Then import in your CSS:
20
+
21
+ ```css
22
+ @import '@anydigital/atomic-bricks';
23
+ ```
24
+
25
+ ## Features
26
+
27
+ ### Overflow Control
28
+
29
+ Prevents horizontal overflow and scrolling on the entire page:
30
+
31
+ ```css
32
+ html, body {
33
+ overflow-x: clip;
34
+ }
35
+ ```
36
+
37
+ This is automatically applied when you include the stylesheet.
38
+
39
+ ## License
40
+
41
+ MIT
42
+
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @anydigital/atomic-bricks
3
+ * Framework-agnostic CSS utility helpers
4
+ */
5
+
6
+ /* Prevent horizontal overflow and scrolling, modern way */
7
+ html, body {
8
+ overflow-x: clip;
9
+ }
10
+
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@anydigital/atomic-bricks",
3
+ "version": "1.0.0-alpha",
4
+ "description": "Framework-agnostic CSS utility helpers for modern web development",
5
+ "main": "dist/atomic-bricks.css",
6
+ "style": "dist/atomic-bricks.css",
7
+ "files": [
8
+ "dist",
9
+ "src"
10
+ ],
11
+ "scripts": {
12
+ "build": "npx postcss src/atomic-bricks.css --no-map -o dist/atomic-bricks.css",
13
+ "prepublishOnly": "npm run build"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/anydigital/atomic-bricks.git"
18
+ },
19
+ "keywords": [
20
+ "css",
21
+ "utilities",
22
+ "helpers",
23
+ "atomic",
24
+ "cdn"
25
+ ],
26
+ "author": "Anton Staroverov",
27
+ "license": "MIT",
28
+ "devDependencies": {
29
+ "postcss": "^8.4.33",
30
+ "postcss-cli": "^11.0.0"
31
+ },
32
+ "jsdelivr": "dist/atomic-bricks.css",
33
+ "unpkg": "dist/atomic-bricks.css"
34
+ }
35
+
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @anydigital/atomic-bricks
3
+ * Framework-agnostic CSS utility helpers
4
+ */
5
+
6
+ /* Prevent horizontal overflow and scrolling, modern way */
7
+ html, body {
8
+ overflow-x: clip;
9
+ }
10
+