@nl-rvo/css-ordered-unordered-list 1.4.1 → 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.1",
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,26 +9,26 @@
9
9
  "css",
10
10
  "ordered-unordered-list"
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/ordered-unordered-list"
15
+ "directory": "components/ordered-unordered-list/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/ordered-unordered-list.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,67 +0,0 @@
1
- # `@nl-rvo/css-ordered-unordered-list`
2
-
3
- ## 1.4.1
4
-
5
- ### Patch Changes
6
-
7
- - 93fdefc: Use CSS Logical properties, to support both `dir=ltr` and `dir=rtl`.
8
-
9
- ## 1.4.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.3.2
22
-
23
- ### Patch Changes
24
-
25
- - 3b31082: Updated all flex alignment and justify to prefix with flex-
26
-
27
- ## 1.3.1
28
-
29
- ### Patch Changes
30
-
31
- - 11eb258: Update imports to support storybook v10
32
-
33
- ## 1.3.0
34
-
35
- ### Minor Changes
36
-
37
- - 1ad7499: Align list item markers (ul li) to the top when list content spans multiple lines.
38
- - 1ad7499: Introduce new css variables to modify ul-icon image and before margin for more flexibility.
39
-
40
- ## 1.2.2
41
-
42
- ### Patch Changes
43
-
44
- - e24ffcf: adjustmnent in ordered and unordered list component props
45
-
46
- ## 1.2.1
47
-
48
- ### Patch Changes
49
-
50
- - 79d45ab: Unordered list icon has a min-width so it's always displayed over multiple lines
51
-
52
- ## 1.2.0
53
-
54
- ### Minor Changes
55
-
56
- - 0cdf4eb: Remove utrecht-components-css reference and include utrecht css per component when needed
57
-
58
- ## 1.0.0
59
-
60
- ### Major Changes
61
-
62
- - daa0537: Create npm package for each component.
63
-
64
- ## Pre-releases
65
-
66
- _@nl-rvo/component-library-css@1.0.0-alpha.376_:
67
- 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