@justeattakeaway/pie-divider 1.5.22 → 1.5.24
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/custom-elements.json +23 -5
- package/dist/index.d.ts +0 -0
- package/dist/index.js +1 -1
- package/dist/react.d.ts +0 -0
- package/dist/react.js +0 -0
- package/package.json +8 -11
- package/src/react.ts +0 -0
package/custom-elements.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"type": {
|
|
35
35
|
"text": "DefaultProps"
|
|
36
36
|
},
|
|
37
|
-
"default": "{
|
|
37
|
+
"default": "{ variant: 'default', orientation: 'horizontal', label: '', }"
|
|
38
38
|
}
|
|
39
39
|
],
|
|
40
40
|
"exports": [
|
|
@@ -76,17 +76,35 @@
|
|
|
76
76
|
{
|
|
77
77
|
"kind": "field",
|
|
78
78
|
"name": "variant",
|
|
79
|
-
"privacy": "public"
|
|
79
|
+
"privacy": "public",
|
|
80
|
+
"attribute": "variant"
|
|
80
81
|
},
|
|
81
82
|
{
|
|
82
83
|
"kind": "field",
|
|
83
84
|
"name": "orientation",
|
|
84
|
-
"privacy": "public"
|
|
85
|
+
"privacy": "public",
|
|
86
|
+
"attribute": "orientation",
|
|
87
|
+
"reflects": true
|
|
85
88
|
},
|
|
86
89
|
{
|
|
87
90
|
"kind": "field",
|
|
88
91
|
"name": "label",
|
|
89
|
-
"privacy": "public"
|
|
92
|
+
"privacy": "public",
|
|
93
|
+
"attribute": "label"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"attributes": [
|
|
97
|
+
{
|
|
98
|
+
"name": "variant",
|
|
99
|
+
"fieldName": "variant"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "orientation",
|
|
103
|
+
"fieldName": "orientation"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "label",
|
|
107
|
+
"fieldName": "label"
|
|
90
108
|
}
|
|
91
109
|
],
|
|
92
110
|
"superclass": {
|
|
@@ -103,7 +121,7 @@
|
|
|
103
121
|
"name": "*",
|
|
104
122
|
"declaration": {
|
|
105
123
|
"name": "*",
|
|
106
|
-
"
|
|
124
|
+
"module": "src/defs"
|
|
107
125
|
}
|
|
108
126
|
},
|
|
109
127
|
{
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ const v = class v extends m {
|
|
|
7
7
|
this.getAttribute("v") || this.setAttribute("v", v.v);
|
|
8
8
|
}
|
|
9
9
|
};
|
|
10
|
-
v.v = "1.5.
|
|
10
|
+
v.v = "1.5.24";
|
|
11
11
|
let p = v;
|
|
12
12
|
const w = "*,*:after,*:before{box-sizing:inherit}:host{display:block}:host([orientation=vertical]){height:100%}.c-divider{--divider-bg-color: var(--dt-color-divider-default);--divider-width: 100%;--divider-min-width: 16px;--divider-height: 1px;--divider-label-max-width: 90%;--divider-font-family: var(--dt-font-body-l-family);--divider-font-size: calc(var(--dt-font-body-l-size) * 1px);--divider-line-height: calc(var(--dt-font-body-l-line-height) * 1px);width:var(--divider-width)}.c-divider,.c-divider hr{margin:0;border:0;background-color:var(--divider-bg-color)}.c-divider:not(.c-divider--labelled){height:var(--divider-height)}.c-divider.c-divider--labelled{display:flex;align-items:center;text-align:center;gap:var(--dt-spacing-b);background-color:transparent;color:var(--dt-color-content-subdued-solid)}.c-divider.c-divider--labelled .c-divider-label{font-size:var(--divider-font-size);line-height:var(--divider-line-height);font-family:var(--divider-font-family);max-width:var(--divider-label-max-width);word-wrap:break-word}.c-divider.c-divider--labelled hr{flex-grow:1;height:var(--divider-height);min-width:var(--divider-min-width)}.c-divider.c-divider--labelled.c-divider--inverse{color:var(--dt-color-content-inverse-solid)}.c-divider.c-divider--inverse{--divider-bg-color: var(--dt-color-divider-inverse)}.c-divider.c-divider--vertical{--divider-width: 1px;--divider-height: 100%}", x = ["default", "inverse"], $ = ["horizontal", "vertical"], l = {
|
|
13
13
|
variant: "default",
|
package/dist/react.d.ts
CHANGED
|
File without changes
|
package/dist/react.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-divider",
|
|
3
3
|
"description": "PIE Design System Divider built using Web Components",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.24",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justeattakeaway/pie",
|
|
@@ -28,31 +28,28 @@
|
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "run -T vite build",
|
|
31
|
-
"build:react-wrapper": "
|
|
31
|
+
"build:react-wrapper": "run -T build-react-wrapper",
|
|
32
32
|
"create:manifest": "run -T cem analyze --litelement",
|
|
33
33
|
"lint:scripts": "run -T eslint .",
|
|
34
34
|
"lint:scripts:fix": "yarn lint:scripts --fix",
|
|
35
35
|
"lint:style": "run -T stylelint ./src/**/*.{css,scss}",
|
|
36
36
|
"lint:style:fix": "yarn lint:style --fix",
|
|
37
37
|
"watch": "run -T vite build --watch",
|
|
38
|
-
"test:browsers": "
|
|
38
|
+
"test:browsers": "run -T playwright test -c ./playwright-lit.config.ts",
|
|
39
39
|
"test:browsers:ci": "yarn test:browsers",
|
|
40
|
-
"test:visual": "run -T cross-env-shell PERCY_TOKEN=${PERCY_TOKEN_PIE_DIVIDER} percy exec --allowed-hostname cloudfront.net --
|
|
40
|
+
"test:visual": "run -T cross-env-shell PERCY_TOKEN=${PERCY_TOKEN_PIE_DIVIDER} percy exec --allowed-hostname cloudfront.net -- run -T playwright test -c ./playwright-lit-visual.config.ts",
|
|
41
41
|
"test:visual:ci": "yarn test:visual"
|
|
42
42
|
},
|
|
43
43
|
"author": "Just Eat Takeaway.com - Design System Team",
|
|
44
44
|
"license": "Apache-2.0",
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@justeattakeaway/pie-components-config": "0.21.
|
|
46
|
+
"@justeattakeaway/pie-components-config": "0.21.3",
|
|
47
47
|
"@justeattakeaway/pie-css": "1.1.1",
|
|
48
|
-
"@justeattakeaway/pie-monorepo-utils": "0.9.
|
|
49
|
-
"@justeattakeaway/pie-wrapper-react": "0.14.
|
|
48
|
+
"@justeattakeaway/pie-monorepo-utils": "0.9.2",
|
|
49
|
+
"@justeattakeaway/pie-wrapper-react": "0.14.5"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@justeattakeaway/pie-webc-core": "14.0.
|
|
53
|
-
},
|
|
54
|
-
"volta": {
|
|
55
|
-
"extends": "../../../package.json"
|
|
52
|
+
"@justeattakeaway/pie-webc-core": "14.0.2"
|
|
56
53
|
},
|
|
57
54
|
"customElements": "custom-elements.json",
|
|
58
55
|
"sideEffects": [
|
package/src/react.ts
CHANGED
|
File without changes
|