@nl-rvo/css-max-width-layout 1.3.1 → 1.4.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.
@@ -1 +1 @@
1
- .rvo-max-width-layout{margin-inline-end:auto;margin-inline-start:auto}.rvo-max-width-layout--uncentered{margin-inline-end:0;margin-inline-start:0}.rvo-max-width-layout--sm{inline-size:100%;max-inline-size:var(--rvo-layout-max-width-sm)}.rvo-max-width-layout--md{inline-size:100%;max-inline-size:var(--rvo-layout-max-width-md)}.rvo-max-width-layout--lg{inline-size:100%;max-inline-size:var(--rvo-layout-max-width-lg)}.rvo-max-width-layout-inline-padding--sm{padding-inline-end:var(--rvo-space-sm);padding-inline-start:var(--rvo-space-sm)}.rvo-max-width-layout-inline-padding--md{padding-inline-end:var(--rvo-space-md);padding-inline-start:var(--rvo-space-md)}.rvo-max-width-layout-inline-padding--lg{padding-inline-end:var(--rvo-space-lg);padding-inline-start:var(--rvo-space-lg)}
1
+ .rvo-max-width-layout{margin-inline-end:auto;margin-inline-start:auto}.rvo-max-width-layout--uncentered{margin-inline-end:0;margin-inline-start:0}.rvo-max-width-layout--sm{inline-size:100%;max-inline-size:var(--rvo-layout-max-width-sm)}.rvo-max-width-layout--md{inline-size:100%;max-inline-size:var(--rvo-layout-max-width-md)}.rvo-max-width-layout--lg{inline-size:100%;max-inline-size:var(--rvo-layout-max-width-lg)}.rvo-max-width-layout-inline-padding--sm{padding-inline-end:var(--rvo-space-sm);padding-inline-start:var(--rvo-space-sm)}.rvo-max-width-layout-inline-padding--md{padding-inline-end:var(--rvo-space-md);padding-inline-start:var(--rvo-space-md)}.rvo-max-width-layout-inline-padding--lg{padding-inline-end:var(--rvo-space-lg);padding-inline-start:var(--rvo-space-lg)}/*# sourceMappingURL=max-width-layout.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../src/max-width-layout.scss"],"names":[],"mappings":"AAIA,sBACE,uBACA,yBAGF,kCACE,oBACA,sBAGF,0BACE,iBACA,+CAGF,0BACE,iBACA,+CAGF,0BACE,iBACA,+CAGF,yCACE,uCACA,yCAGF,yCACE,uCACA,yCAGF,yCACE,uCACA","file":"max-width-layout.css"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.1",
2
+ "version": "1.4.0",
3
3
  "author": "Community for NL Design System",
4
4
  "license": "CC0-1.0",
5
5
  "name": "@nl-rvo/css-max-width-layout",
@@ -9,26 +9,26 @@
9
9
  "css",
10
10
  "max-width-layout"
11
11
  ],
12
- "files": [
13
- "src/index.scss",
14
- "dist/",
15
- "design-tokens.json",
16
- "*.md"
17
- ],
18
- "main": "dist/index.css",
19
- "publishConfig": {
20
- "access": "public"
21
- },
22
12
  "repository": {
23
13
  "type": "git+ssh",
24
14
  "url": "git@github.com:nl-design-system/rvo.git",
25
- "directory": "components/max-width-layout"
15
+ "directory": "components/max-width-layout/style"
26
16
  },
27
- "devDependencies": {
28
- "@nl-rvo/build-utils-css": "0.1.0"
17
+ "files": [
18
+ "src/",
19
+ "dist/"
20
+ ],
21
+ "exports": {
22
+ ".": "./dist/max-width-layout.css",
23
+ "./dist/*": "./dist/*"
24
+ },
25
+ "publishConfig": {
26
+ "access": "public",
27
+ "provenance": true
29
28
  },
30
29
  "scripts": {
31
- "build": "build-css-package",
32
- "clean": "rimraf dist"
30
+ "build": "sass --pkg-importer=node --style=compressed ./src/:./dist/",
31
+ "watch": "sass --pkg-importer=node --style=compressed --watch ./src/:./dist/",
32
+ "clean": "rimraf ./dist/"
33
33
  }
34
34
  }
package/CHANGELOG.md DELETED
@@ -1,72 +0,0 @@
1
- # `@nl-rvo/css-max-width-layout`
2
-
3
- ## 1.3.1
4
-
5
- ### Patch Changes
6
-
7
- - 93fdefc: Use CSS Logical properties, to support both `dir=ltr` and `dir=rtl`.
8
-
9
- ## 1.3.0
10
-
11
- ### Minor Changes
12
-
13
- - fa36e07: Project structure updates
14
-
15
- - Moved all Storybook stories to the /stories directory.
16
- - Moved all documentation files to the /docs directory.
17
- - Removed React components from library-component-react and moved them into this package.
18
- - Update all .stories imports to the right react package "component-library-react"
19
- - Fix all Redundant / PascalCase lint warnings for .stories files.
20
-
21
- ## 1.2.5
22
-
23
- ### Patch Changes
24
-
25
- - 11eb258: Update imports to support storybook v10
26
-
27
- ## 1.2.4
28
-
29
- ### Patch Changes
30
-
31
- - d9727b9: Added width 100% to layout types and update linked components using this class
32
-
33
- ## 1.2.3
34
-
35
- ### Patch Changes
36
-
37
- - 8fcf59c: Added width 100% to layout types and update linked components using this class
38
-
39
- ## 1.2.2
40
-
41
- ### Patch Changes
42
-
43
- - de80995: Made centered content in max-width-layout optional
44
-
45
- ## 1.2.1
46
-
47
- ### Patch Changes
48
-
49
- - 07b0344: Added min-width to max-width-layout to ensure it fits correctly in other layout containers
50
-
51
- ## 1.2.0
52
-
53
- ### Minor Changes
54
-
55
- - 0cdf4eb: Remove utrecht-components-css reference and include utrecht css per component when needed
56
-
57
- ## 1.1.0
58
-
59
- ### Minor Changes
60
-
61
- - c029d6a: Removed grid styling when layout contains progress tracker
62
-
63
- ## 1.0.0
64
-
65
- ### Major Changes
66
-
67
- - daa0537: Create npm package for each component.
68
-
69
- ## Pre-releases
70
-
71
- _@nl-rvo/component-library-css@1.0.0-alpha.17_:
72
- Added component
package/README.mdx DELETED
@@ -1,28 +0,0 @@
1
- De max width layout component kadert een vlak af wanneer een bepaalde breedte bereikt wordt.
2
-
3
- ## Wanneer gebruik je max width layout
4
-
5
- Wanneer je content hebt die niet over de gehele breedte van het scherm getoond mag worden.
6
-
7
- ## Anatomie van het component
8
-
9
- Het component bestaat uit:
10
-
11
- - Container
12
-
13
- ## Richtlijnen
14
-
15
- - Content moet leesbaar blijven en een regel tekst moet daarom tussen de 75 en 100 tekens bevatten. Een max width container kan helpen om de content af te kaderen.
16
-
17
- ## Rijkshuisstijl
18
-
19
- Er zijn geen richtlijnen vanuit de Rijkshuisstijl betreffende de maximale breedte van content.
20
-
21
- ## Bronnen
22
-
23
- - <a
24
- href="https://web.archive.org/web/20220606133257/https://baymard.com/blog/line-length-readability"
25
- className="rvo-link"
26
- >
27
- Readability: The Optimal Line Length - Baymard Institute
28
- </a>
@@ -1,26 +0,0 @@
1
- {
2
- "rvo": {
3
- "layout": {
4
- "max-width": {
5
- "sm": {
6
- "css": {
7
- "syntax": "<length>",
8
- "inherits": true
9
- }
10
- },
11
- "md": {
12
- "css": {
13
- "syntax": "<length>",
14
- "inherits": true
15
- }
16
- },
17
- "lg": {
18
- "css": {
19
- "syntax": "<length>",
20
- "inherits": true
21
- }
22
- }
23
- }
24
- }
25
- }
26
- }
package/dist/index.css DELETED
@@ -1,44 +0,0 @@
1
- /**
2
- * @license CC0-1.0
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- .rvo-max-width-layout {
7
- margin-inline-end: auto;
8
- margin-inline-start: auto;
9
- }
10
-
11
- .rvo-max-width-layout--uncentered {
12
- margin-inline-end: 0;
13
- margin-inline-start: 0;
14
- }
15
-
16
- .rvo-max-width-layout--sm {
17
- inline-size: 100%;
18
- max-inline-size: var(--rvo-layout-max-width-sm);
19
- }
20
-
21
- .rvo-max-width-layout--md {
22
- inline-size: 100%;
23
- max-inline-size: var(--rvo-layout-max-width-md);
24
- }
25
-
26
- .rvo-max-width-layout--lg {
27
- inline-size: 100%;
28
- max-inline-size: var(--rvo-layout-max-width-lg);
29
- }
30
-
31
- .rvo-max-width-layout-inline-padding--sm {
32
- padding-inline-end: var(--rvo-space-sm);
33
- padding-inline-start: var(--rvo-space-sm);
34
- }
35
-
36
- .rvo-max-width-layout-inline-padding--md {
37
- padding-inline-end: var(--rvo-space-md);
38
- padding-inline-start: var(--rvo-space-md);
39
- }
40
-
41
- .rvo-max-width-layout-inline-padding--lg {
42
- padding-inline-end: var(--rvo-space-lg);
43
- padding-inline-start: var(--rvo-space-lg);
44
- }
package/dist/index.mjs DELETED
@@ -1 +0,0 @@
1
- export default ".rvo-max-width-layout{margin-inline-end:auto;margin-inline-start:auto}.rvo-max-width-layout--uncentered{margin-inline-end:0;margin-inline-start:0}.rvo-max-width-layout--sm{inline-size:100%;max-inline-size:var(--rvo-layout-max-width-sm)}.rvo-max-width-layout--md{inline-size:100%;max-inline-size:var(--rvo-layout-max-width-md)}.rvo-max-width-layout--lg{inline-size:100%;max-inline-size:var(--rvo-layout-max-width-lg)}.rvo-max-width-layout-inline-padding--sm{padding-inline-end:var(--rvo-space-sm);padding-inline-start:var(--rvo-space-sm)}.rvo-max-width-layout-inline-padding--md{padding-inline-end:var(--rvo-space-md);padding-inline-start:var(--rvo-space-md)}.rvo-max-width-layout-inline-padding--lg{padding-inline-end:var(--rvo-space-lg);padding-inline-start:var(--rvo-space-lg)}";
@@ -1,2 +0,0 @@
1
- declare const css: string;
2
- export default css;
File without changes