@justeattakeaway/pie-divider 1.4.6 → 1.5.1
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/dist/index.js +2 -2
- package/package.json +9 -4
- package/src/divider.scss +2 -2
package/dist/index.js
CHANGED
|
@@ -7,9 +7,9 @@ const v = class v extends u {
|
|
|
7
7
|
this.getAttribute("v") || this.setAttribute("v", v.v);
|
|
8
8
|
}
|
|
9
9
|
};
|
|
10
|
-
v.v = "1.
|
|
10
|
+
v.v = "1.5.1";
|
|
11
11
|
let p = v;
|
|
12
|
-
const x = "*,*: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-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)}.c-divider.c-divider--labelled .c-divider-label{font-size:var(--divider-font-size);line-height:var(--divider-line-height);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)}.c-divider.c-divider--inverse{--divider-bg-color: var(--dt-color-divider-inverse)}.c-divider.c-divider--vertical{--divider-width: 1px;--divider-height: 100%}", y = ["default", "inverse"], $ = ["horizontal", "vertical"], l = {
|
|
12
|
+
const x = "*,*: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-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);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%}", y = ["default", "inverse"], $ = ["horizontal", "vertical"], l = {
|
|
13
13
|
variant: "default",
|
|
14
14
|
orientation: "horizontal",
|
|
15
15
|
label: ""
|
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.
|
|
4
|
+
"version": "1.5.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justeattakeaway/pie",
|
|
@@ -19,7 +19,12 @@
|
|
|
19
19
|
"**/*.d.ts"
|
|
20
20
|
],
|
|
21
21
|
"pieMetadata": {
|
|
22
|
-
"componentStatus": "stable"
|
|
22
|
+
"componentStatus": "stable",
|
|
23
|
+
"replaces": {
|
|
24
|
+
"snacks": [
|
|
25
|
+
"Divider"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
23
28
|
},
|
|
24
29
|
"scripts": {
|
|
25
30
|
"build": "run -T vite build",
|
|
@@ -40,13 +45,13 @@
|
|
|
40
45
|
"devDependencies": {
|
|
41
46
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
42
47
|
"@justeattakeaway/pie-components-config": "0.21.0",
|
|
43
|
-
"@justeattakeaway/pie-css": "0.
|
|
48
|
+
"@justeattakeaway/pie-css": "0.23.0",
|
|
44
49
|
"@justeattakeaway/pie-monorepo-utils": "0.7.0",
|
|
45
50
|
"@justeattakeaway/pie-wrapper-react": "0.14.3",
|
|
46
51
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
47
52
|
},
|
|
48
53
|
"dependencies": {
|
|
49
|
-
"@justeattakeaway/pie-webc-core": "
|
|
54
|
+
"@justeattakeaway/pie-webc-core": "3.0.0"
|
|
50
55
|
},
|
|
51
56
|
"volta": {
|
|
52
57
|
"extends": "../../../package.json"
|
package/src/divider.scss
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
text-align: center;
|
|
37
37
|
gap: var(--dt-spacing-b);
|
|
38
38
|
background-color: transparent;
|
|
39
|
-
color: var(--dt-color-content-subdued);
|
|
39
|
+
color: var(--dt-color-content-subdued-solid);
|
|
40
40
|
|
|
41
41
|
.c-divider-label {
|
|
42
42
|
font-size: var(--divider-font-size);
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
&.c-divider--inverse {
|
|
55
|
-
color: var(--dt-color-content-inverse);
|
|
55
|
+
color: var(--dt-color-content-inverse-solid);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|