@nl-rvo/css-ordered-unordered-list 1.4.2 → 1.5.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 @@
1
+ .rvo-ul{list-style-type:disc}.rvo-ul--none{list-style-type:none}.rvo-ul--icon{--rvo-list-icon-before-margin: 0.5em;--rvo-list-icon-image: var(--rvo-list-icon-option-1-image)}.rvo-ul--icon-option-2{--rvo-list-icon-image: var(--rvo-list-icon-option-2-image)}.rvo-ul--icon-option-3{--rvo-list-icon-image: var(--rvo-list-icon-option-3-image)}.rvo-ul--icon li{align-items:flex-start;display:flex;list-style-type:none}.rvo-ul--icon li::before{align-self:flex-start;background-image:var(--rvo-list-icon-image);background-repeat:no-repeat;background-size:var(--rvo-list-icon-size) var(--rvo-list-icon-size);block-size:var(--rvo-list-icon-size);content:"";flex-shrink:0;inline-size:var(--rvo-list-icon-size);margin-block-start:var(--rvo-list-icon-before-margin);margin-inline-end:var(--rvo-list-icon-gap);min-inline-size:var(--rvo-list-icon-size)}.rvo-ol--no-margin,.rvo-ul--no-margin{margin-block-end:0;margin-block-start:0}.rvo-ul--no-padding{padding-inline-start:0}.rvo-ol--no-padding,.rvo-ul--no-padding:not(.rvo-ul--icon,.rvo-ul--none){padding-inline-start:var(--rvo-list-zero-padding-offset)}/*# sourceMappingURL=ordered-unordered-list.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../src/ordered-unordered-list.scss"],"names":[],"mappings":"AAKA,QACE,qBAGF,cACE,qBAGF,cACE,qCACA,2DAEA,uBACE,2DAEF,uBACE,2DAIJ,iBACE,uBACA,aACA,qBAEA,yBACE,sBACA,4CACA,4BACA,oEACA,qCACA,WACA,cACA,sCACA,sDACA,2CACA,0CAIJ,sCAEE,mBACA,qBAGF,oBACE,uBAGF,yEAEE","file":"ordered-unordered-list.css"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.2",
2
+ "version": "1.5.0",
3
3
  "author": "Community for NL Design System",
4
4
  "license": "CC0-1.0",
5
5
  "name": "@nl-rvo/css-ordered-unordered-list",
@@ -9,27 +9,26 @@
9
9
  "css",
10
10
  "ordered-unordered-list"
11
11
  ],
12
+ "repository": {
13
+ "type": "git+ssh",
14
+ "url": "git@github.com:nl-design-system/rvo.git",
15
+ "directory": "components/ordered-unordered-list/style"
16
+ },
12
17
  "files": [
13
- "src/index.scss",
14
- "dist/",
15
- "design-tokens.json",
16
- "*.md"
18
+ "src/",
19
+ "dist/"
17
20
  ],
18
- "main": "dist/index.css",
21
+ "exports": {
22
+ ".": "./dist/ordered-unordered-list.css",
23
+ "./dist/*": "./dist/*"
24
+ },
19
25
  "publishConfig": {
20
26
  "access": "public",
21
27
  "provenance": true
22
28
  },
23
- "repository": {
24
- "type": "git+ssh",
25
- "url": "git@github.com:nl-design-system/rvo.git",
26
- "directory": "components/ordered-unordered-list"
27
- },
28
- "devDependencies": {
29
- "@nl-rvo/build-utils-css": "0.1.0"
30
- },
31
29
  "scripts": {
32
- "build": "build-css-package",
33
- "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/"
34
33
  }
35
34
  }
package/CHANGELOG.md DELETED
@@ -1,73 +0,0 @@
1
- # `@nl-rvo/css-ordered-unordered-list`
2
-
3
- ## 1.4.2
4
-
5
- ### Patch Changes
6
-
7
- - 084a230: Ensure package is published with provenance
8
-
9
- ## 1.4.1
10
-
11
- ### Patch Changes
12
-
13
- - 93fdefc: Use CSS Logical properties, to support both `dir=ltr` and `dir=rtl`.
14
-
15
- ## 1.4.0
16
-
17
- ### Minor Changes
18
-
19
- - fa36e07: Project structure updates
20
-
21
- - Moved all Storybook stories to the /stories directory.
22
- - Moved all documentation files to the /docs directory.
23
- - Removed React components from library-component-react and moved them into this package.
24
- - Update all .stories imports to the right react package "component-library-react"
25
- - Fix all Redundant / PascalCase lint warnings for .stories files.
26
-
27
- ## 1.3.2
28
-
29
- ### Patch Changes
30
-
31
- - 3b31082: Updated all flex alignment and justify to prefix with flex-
32
-
33
- ## 1.3.1
34
-
35
- ### Patch Changes
36
-
37
- - 11eb258: Update imports to support storybook v10
38
-
39
- ## 1.3.0
40
-
41
- ### Minor Changes
42
-
43
- - 1ad7499: Align list item markers (ul li) to the top when list content spans multiple lines.
44
- - 1ad7499: Introduce new css variables to modify ul-icon image and before margin for more flexibility.
45
-
46
- ## 1.2.2
47
-
48
- ### Patch Changes
49
-
50
- - e24ffcf: adjustmnent in ordered and unordered list component props
51
-
52
- ## 1.2.1
53
-
54
- ### Patch Changes
55
-
56
- - 79d45ab: Unordered list icon has a min-width so it's always displayed over multiple lines
57
-
58
- ## 1.2.0
59
-
60
- ### Minor Changes
61
-
62
- - 0cdf4eb: Remove utrecht-components-css reference and include utrecht css per component when needed
63
-
64
- ## 1.0.0
65
-
66
- ### Major Changes
67
-
68
- - daa0537: Create npm package for each component.
69
-
70
- ## Pre-releases
71
-
72
- _@nl-rvo/component-library-css@1.0.0-alpha.376_:
73
- Added component
package/README.md DELETED
@@ -1 +0,0 @@
1
- Documentatie voor ordered/unordered list
@@ -1,42 +0,0 @@
1
- {
2
- "rvo": {
3
- "list": {
4
- "icon-size": {
5
- "css": {
6
- "syntax": "<length>",
7
- "inherits": true
8
- }
9
- },
10
- "icon-gap": {
11
- "css": {
12
- "syntax": "<length>",
13
- "inherits": true
14
- }
15
- },
16
- "icon-option-1-image": {
17
- "css": {
18
- "syntax": "<*>",
19
- "inherits": true
20
- }
21
- },
22
- "icon-option-2-image": {
23
- "css": {
24
- "syntax": "<*>",
25
- "inherits": true
26
- }
27
- },
28
- "icon-option-3-image": {
29
- "css": {
30
- "syntax": "<*>",
31
- "inherits": true
32
- }
33
- },
34
- "zero-padding-offset": {
35
- "css": {
36
- "syntax": "<length>",
37
- "inherits": true
38
- }
39
- }
40
- }
41
- }
42
- }
package/dist/index.css DELETED
@@ -1,57 +0,0 @@
1
- /**
2
- * @license CC0-1.0
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- .rvo-ul {
7
- list-style-type: disc;
8
- }
9
-
10
- .rvo-ul--none {
11
- list-style-type: none;
12
- }
13
-
14
- .rvo-ul--icon {
15
- --rvo-list-icon-before-margin: 0.5em;
16
- --rvo-list-icon-image: var(--rvo-list-icon-option-1-image);
17
- }
18
- .rvo-ul--icon-option-2 {
19
- --rvo-list-icon-image: var(--rvo-list-icon-option-2-image);
20
- }
21
- .rvo-ul--icon-option-3 {
22
- --rvo-list-icon-image: var(--rvo-list-icon-option-3-image);
23
- }
24
-
25
- .rvo-ul--icon li {
26
- align-items: flex-start;
27
- display: flex;
28
- list-style-type: none;
29
- }
30
- .rvo-ul--icon li::before {
31
- align-self: flex-start;
32
- background-image: var(--rvo-list-icon-image);
33
- background-repeat: no-repeat;
34
- background-size: var(--rvo-list-icon-size) var(--rvo-list-icon-size);
35
- block-size: var(--rvo-list-icon-size);
36
- content: "";
37
- flex-shrink: 0;
38
- inline-size: var(--rvo-list-icon-size);
39
- margin-block-start: var(--rvo-list-icon-before-margin);
40
- margin-inline-end: var(--rvo-list-icon-gap);
41
- min-inline-size: var(--rvo-list-icon-size);
42
- }
43
-
44
- .rvo-ol--no-margin,
45
- .rvo-ul--no-margin {
46
- margin-block-end: 0;
47
- margin-block-start: 0;
48
- }
49
-
50
- .rvo-ul--no-padding {
51
- padding-inline-start: 0;
52
- }
53
-
54
- .rvo-ol--no-padding,
55
- .rvo-ul--no-padding:not(.rvo-ul--icon, .rvo-ul--none) {
56
- padding-inline-start: var(--rvo-list-zero-padding-offset);
57
- }
@@ -1 +0,0 @@
1
- .rvo-ul{list-style-type:disc}.rvo-ul--none{list-style-type:none}.rvo-ul--icon{--rvo-list-icon-before-margin:0.5em;--rvo-list-icon-image:var(--rvo-list-icon-option-1-image)}.rvo-ul--icon-option-2{--rvo-list-icon-image:var(--rvo-list-icon-option-2-image)}.rvo-ul--icon-option-3{--rvo-list-icon-image:var(--rvo-list-icon-option-3-image)}.rvo-ul--icon li{align-items:flex-start;display:flex;list-style-type:none}.rvo-ul--icon li:before{align-self:flex-start;background-image:var(--rvo-list-icon-image);background-repeat:no-repeat;background-size:var(--rvo-list-icon-size) var(--rvo-list-icon-size);block-size:var(--rvo-list-icon-size);content:"";flex-shrink:0;inline-size:var(--rvo-list-icon-size);margin-block-start:var(--rvo-list-icon-before-margin);margin-inline-end:var(--rvo-list-icon-gap);min-inline-size:var(--rvo-list-icon-size)}.rvo-ol--no-margin,.rvo-ul--no-margin{margin-block-end:0;margin-block-start:0}.rvo-ul--no-padding{padding-inline-start:0}.rvo-ol--no-padding,.rvo-ul--no-padding:not(.rvo-ul--icon,.rvo-ul--none){padding-inline-start:var(--rvo-list-zero-padding-offset)}
package/dist/index.mjs DELETED
@@ -1 +0,0 @@
1
- export default ".rvo-ul{list-style-type:disc}.rvo-ul--none{list-style-type:none}.rvo-ul--icon{--rvo-list-icon-before-margin:0.5em;--rvo-list-icon-image:var(--rvo-list-icon-option-1-image)}.rvo-ul--icon-option-2{--rvo-list-icon-image:var(--rvo-list-icon-option-2-image)}.rvo-ul--icon-option-3{--rvo-list-icon-image:var(--rvo-list-icon-option-3-image)}.rvo-ul--icon li{align-items:flex-start;display:flex;list-style-type:none}.rvo-ul--icon li:before{align-self:flex-start;background-image:var(--rvo-list-icon-image);background-repeat:no-repeat;background-size:var(--rvo-list-icon-size) var(--rvo-list-icon-size);block-size:var(--rvo-list-icon-size);content:\"\";flex-shrink:0;inline-size:var(--rvo-list-icon-size);margin-block-start:var(--rvo-list-icon-before-margin);margin-inline-end:var(--rvo-list-icon-gap);min-inline-size:var(--rvo-list-icon-size)}.rvo-ol--no-margin,.rvo-ul--no-margin{margin-block-end:0;margin-block-start:0}.rvo-ul--no-padding{padding-inline-start:0}.rvo-ol--no-padding,.rvo-ul--no-padding:not(.rvo-ul--icon,.rvo-ul--none){padding-inline-start:var(--rvo-list-zero-padding-offset)}";
@@ -1,2 +0,0 @@
1
- declare const css: string;
2
- export default css;
File without changes