@justeattakeaway/pie-breadcrumb 0.8.5 → 0.8.7
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.
|
@@ -4,7 +4,7 @@ const r = class r extends e {
|
|
|
4
4
|
this.getAttribute("v") || this.setAttribute("v", r.v);
|
|
5
5
|
}
|
|
6
6
|
};
|
|
7
|
-
r.v = "0.8.
|
|
7
|
+
r.v = "0.8.7";
|
|
8
8
|
let t = r;
|
|
9
9
|
const o = "*,*:after,*:before{box-sizing:inherit}:host{display:block}.c-breadcrumb{--breadcrumb-background-color: var(--dt-color-transparent);--breadcrumb-item-flex-direction: row;--breadcrumb-item-color: var(--dt-color-content-link);--breadcrumb-separator-color: var(--dt-color-content-subdued);--breadcrumb-separator-transform: none;background-color:var(--breadcrumb-background-color);padding-block-start:var(--dt-spacing-a);padding-block-end:var(--dt-spacing-a)}.c-breadcrumb--scrim{--breadcrumb-background-color: var(--dt-color-overlay);--breadcrumb-item-color: var(--dt-color-content-link-light);--breadcrumb-separator-color: var(--dt-color-content-light);border-radius:var(--dt-radius-rounded-e);padding-inline-start:var(--dt-spacing-d);padding-inline-end:var(--dt-spacing-d)}.c-breadcrumb-list{margin:0;padding:0;display:flex;flex-flow:row;gap:var(--dt-spacing-a)}.c-breadcrumb-item{display:flex;flex-direction:var(--breadcrumb-item-flex-direction);align-items:center;white-space:nowrap;gap:var(--dt-spacing-a)}.c-breadcrumb-item pie-link{--link-text-color: var(--breadcrumb-item-color);--link-font-weight: var(--dt-font-body-strong-l-link-weight)}.c-breadcrumb-separator{display:inline-flex;color:var(--breadcrumb-separator-color);transform:var(--breadcrumb-separator-transform)}.c-breadcrumb-separator:dir(rtl){--breadcrumb-separator-transform: rotate(180deg)}:host([isCompact]) .c-breadcrumb{--breadcrumb-item-flex-direction: row-reverse;--breadcrumb-separator-transform: rotate(180deg)}:host([isCompact]) ::slotted(pie-breadcrumb-item:not(:nth-last-of-type(2),:only-child)){display:none}:host([hideCurrentPage]) ::slotted(pie-breadcrumb-item:last-of-type){display:none}:host(:last-of-type:not(:only-of-type)) pie-link{--link-font-weight: var(--dt-font-body-l-link-weight)}:host(:last-of-type:not(:only-of-type)) pie-link::part(base):hover,:host(:last-of-type:not(:only-of-type)) pie-link::part(base):active{--link-text-decoration: none}:host(:last-of-type:not(:only-of-type)) pie-link span{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host(:last-of-type:not(:only-of-type)) .c-breadcrumb-separator{display:none}";
|
|
10
10
|
export {
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { unsafeCSS as u, html as m } from "lit";
|
|
|
2
2
|
import { property as n } from "lit/decorators.js";
|
|
3
3
|
import { validPropertyValues as d, safeCustomElement as b } from "@justeattakeaway/pie-webc-core";
|
|
4
4
|
import { classMap as h } from "lit/directives/class-map.js";
|
|
5
|
-
import { s as f, P as C } from "./breadcrumb-
|
|
5
|
+
import { s as f, P as C } from "./breadcrumb-Dhu6f4Dy.js";
|
|
6
6
|
const v = ["default", "scrim"], l = {
|
|
7
7
|
variant: "default",
|
|
8
8
|
isCompact: !1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { unsafeCSS as c, html as l } from "lit";
|
|
2
2
|
import { property as m } from "lit/decorators.js";
|
|
3
|
-
import { s as f, P as b } from "../breadcrumb-
|
|
3
|
+
import { s as f, P as b } from "../breadcrumb-Dhu6f4Dy.js";
|
|
4
4
|
import { safeCustomElement as h } from "@justeattakeaway/pie-webc-core";
|
|
5
5
|
import { ifDefined as d } from "lit/directives/if-defined.js";
|
|
6
6
|
import "@justeattakeaway/pie-link";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-breadcrumb",
|
|
3
3
|
"description": "PIE Design System Breadcrumb built using Web Components",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.7",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justeattakeaway/pie",
|
|
@@ -29,32 +29,29 @@
|
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "run -T vite build",
|
|
32
|
-
"build:react-wrapper": "
|
|
32
|
+
"build:react-wrapper": "run -T build-react-wrapper",
|
|
33
33
|
"create:manifest": "run -T cem analyze --litelement",
|
|
34
34
|
"lint:scripts": "run -T eslint .",
|
|
35
35
|
"lint:scripts:fix": "yarn lint:scripts --fix",
|
|
36
36
|
"lint:style": "run -T stylelint ./src/**/*.{css,scss}",
|
|
37
37
|
"lint:style:fix": "yarn lint:style --fix",
|
|
38
38
|
"watch": "run -T vite build --watch",
|
|
39
|
-
"test:browsers": "
|
|
39
|
+
"test:browsers": "run -T playwright test -c ./playwright-lit.config.ts",
|
|
40
40
|
"test:browsers:ci": "yarn test:browsers",
|
|
41
|
-
"test:visual": "run -T cross-env-shell PERCY_TOKEN=${PERCY_TOKEN_PIE_BREADCRUMB} percy exec --allowed-hostname cloudfront.net --
|
|
41
|
+
"test:visual": "run -T cross-env-shell PERCY_TOKEN=${PERCY_TOKEN_PIE_BREADCRUMB} percy exec --allowed-hostname cloudfront.net -- run -T playwright test -c ./playwright-lit-visual.config.ts",
|
|
42
42
|
"test:visual:ci": "yarn test:visual"
|
|
43
43
|
},
|
|
44
44
|
"author": "Just Eat Takeaway.com - Design System Team",
|
|
45
45
|
"license": "Apache-2.0",
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@justeattakeaway/pie-components-config": "0.21.
|
|
47
|
+
"@justeattakeaway/pie-components-config": "0.21.3",
|
|
48
48
|
"@justeattakeaway/pie-css": "1.1.1",
|
|
49
|
-
"@justeattakeaway/pie-monorepo-utils": "0.9.
|
|
49
|
+
"@justeattakeaway/pie-monorepo-utils": "0.9.2"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@justeattakeaway/pie-icons-webc": "1.24.
|
|
53
|
-
"@justeattakeaway/pie-link": "1.3.
|
|
54
|
-
"@justeattakeaway/pie-webc-core": "14.0.
|
|
55
|
-
},
|
|
56
|
-
"volta": {
|
|
57
|
-
"extends": "../../../package.json"
|
|
52
|
+
"@justeattakeaway/pie-icons-webc": "1.24.2",
|
|
53
|
+
"@justeattakeaway/pie-link": "1.3.31",
|
|
54
|
+
"@justeattakeaway/pie-webc-core": "14.0.2"
|
|
58
55
|
},
|
|
59
56
|
"customElements": "custom-elements.json",
|
|
60
57
|
"sideEffects": [
|
|
File without changes
|
package/src/react.ts
CHANGED
|
File without changes
|