@jumpgroup/jump-design-system 0.1.8 → 0.2.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.
- package/dist/cjs/{index-91a3ed32.js → index-4b95f596.js} +458 -43
- package/dist/cjs/index-4b95f596.js.map +1 -0
- package/dist/cjs/jump-badge.cjs.entry.js +24 -0
- package/dist/cjs/jump-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/jump-button.cjs.entry.js +2 -2
- package/dist/cjs/jump-button.cjs.entry.js.map +1 -1
- package/dist/cjs/jump-card.cjs.entry.js +34 -0
- package/dist/cjs/jump-card.cjs.entry.js.map +1 -0
- package/dist/cjs/jump-design-system.cjs.js +3 -3
- package/dist/cjs/jump-design-system.cjs.js.map +1 -1
- package/dist/cjs/jump-icon.cjs.entry.js +1 -1
- package/dist/cjs/jump-pagination.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/jump-badge/jump-badge.css +25 -0
- package/dist/collection/components/jump-badge/jump-badge.js +62 -0
- package/dist/collection/components/jump-badge/jump-badge.js.map +1 -0
- package/dist/collection/components/jump-badge/jump-badge.stories.js +26 -0
- package/dist/collection/components/jump-badge/jump-badge.stories.js.map +1 -0
- package/dist/collection/components/jump-badge/test/jump-badge.e2e.js +10 -0
- package/dist/collection/components/jump-badge/test/jump-badge.e2e.js.map +1 -0
- package/dist/collection/components/jump-badge/test/jump-badge.spec.js +18 -0
- package/dist/collection/components/jump-badge/test/jump-badge.spec.js.map +1 -0
- package/dist/collection/components/jump-button/{jump-button.stories.js → jump-button-filled.stories.js} +12 -10
- package/dist/collection/components/jump-button/jump-button-filled.stories.js.map +1 -0
- package/dist/collection/components/jump-button/jump-button-outline.stories.js +376 -0
- package/dist/collection/components/jump-button/jump-button-outline.stories.js.map +1 -0
- package/dist/collection/components/jump-button/jump-button.js +1 -2
- package/dist/collection/components/jump-button/jump-button.js.map +1 -1
- package/dist/collection/components/jump-card/jump-card-border-radius.stories.js +114 -0
- package/dist/collection/components/jump-card/jump-card-border-radius.stories.js.map +1 -0
- package/dist/collection/components/jump-card/jump-card-border.stories.js +113 -0
- package/dist/collection/components/jump-card/jump-card-border.stories.js.map +1 -0
- package/dist/collection/components/jump-card/jump-card-boxed.stories.js +114 -0
- package/dist/collection/components/jump-card/jump-card-boxed.stories.js.map +1 -0
- package/dist/collection/components/jump-card/jump-card-horizontal.stories.js +114 -0
- package/dist/collection/components/jump-card/jump-card-horizontal.stories.js.map +1 -0
- package/dist/collection/components/jump-card/jump-card-media-rounded.stories.js +125 -0
- package/dist/collection/components/jump-card/jump-card-media-rounded.stories.js.map +1 -0
- package/dist/collection/components/jump-card/jump-card-no-image.stories.js +112 -0
- package/dist/collection/components/jump-card/jump-card-no-image.stories.js.map +1 -0
- package/dist/collection/components/jump-card/jump-card-shadow.stories.js +113 -0
- package/dist/collection/components/jump-card/jump-card-shadow.stories.js.map +1 -0
- package/dist/collection/components/jump-card/jump-card-top-border-content-radius.stories.js +114 -0
- package/dist/collection/components/jump-card/jump-card-top-border-content-radius.stories.js.map +1 -0
- package/dist/collection/components/jump-card/jump-card-video.stories.js +111 -0
- package/dist/collection/components/jump-card/jump-card-video.stories.js.map +1 -0
- package/dist/collection/components/jump-card/jump-card.css +99 -0
- package/dist/collection/components/jump-card/jump-card.js +232 -0
- package/dist/collection/components/jump-card/jump-card.js.map +1 -0
- package/dist/collection/components/jump-card/jump-card.stories.js +113 -0
- package/dist/collection/components/jump-card/jump-card.stories.js.map +1 -0
- package/dist/collection/components/jump-card/test/jump-card.e2e.js +10 -0
- package/dist/collection/components/jump-card/test/jump-card.e2e.js.map +1 -0
- package/dist/collection/components/jump-card/test/jump-card.spec.js +18 -0
- package/dist/collection/components/jump-card/test/jump-card.spec.js.map +1 -0
- package/dist/collection/components/jump-pagination/jump-pagination.js +3 -3
- package/dist/components/jump-badge.d.ts +11 -0
- package/dist/components/jump-badge.js +40 -0
- package/dist/components/jump-badge.js.map +1 -0
- package/dist/components/jump-button.js +2 -3
- package/dist/components/jump-button.js.map +1 -1
- package/dist/components/jump-card.d.ts +11 -0
- package/dist/components/jump-card.js +59 -0
- package/dist/components/jump-card.js.map +1 -0
- package/dist/components/jump-pagination.js +3 -3
- package/dist/esm/{index-3cf3394c.js → index-6fbf8ed3.js} +458 -43
- package/dist/esm/index-6fbf8ed3.js.map +1 -0
- package/dist/esm/jump-badge.entry.js +20 -0
- package/dist/esm/jump-badge.entry.js.map +1 -0
- package/dist/esm/jump-button.entry.js +2 -2
- package/dist/esm/jump-button.entry.js.map +1 -1
- package/dist/esm/jump-card.entry.js +30 -0
- package/dist/esm/jump-card.entry.js.map +1 -0
- package/dist/esm/jump-design-system.js +4 -4
- package/dist/esm/jump-design-system.js.map +1 -1
- package/dist/esm/jump-icon.entry.js +1 -1
- package/dist/esm/jump-pagination.entry.js +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/jump-design-system/jump-design-system.esm.js +1 -1
- package/dist/jump-design-system/jump-design-system.esm.js.map +1 -1
- package/dist/jump-design-system/p-22f19a67.entry.js +2 -0
- package/dist/jump-design-system/p-22f19a67.entry.js.map +1 -0
- package/dist/jump-design-system/{p-85fbbf60.entry.js → p-70d78318.entry.js} +2 -2
- package/dist/jump-design-system/p-c2ab38b9.js +3 -0
- package/dist/jump-design-system/p-c2ab38b9.js.map +1 -0
- package/dist/jump-design-system/{p-e2af0fd9.entry.js → p-db7d19d5.entry.js} +2 -2
- package/dist/jump-design-system/p-db7d19d5.entry.js.map +1 -0
- package/dist/jump-design-system/{p-f4cfa17d.entry.js → p-f1c84912.entry.js} +2 -2
- package/dist/jump-design-system/p-f77f001e.entry.js +2 -0
- package/dist/jump-design-system/p-f77f001e.entry.js.map +1 -0
- package/dist/jump-design-system-elements.json +78 -0
- package/dist/types/components/jump-badge/jump-badge.d.ts +11 -0
- package/dist/types/components/jump-badge/jump-badge.stories.d.ts +19 -0
- package/dist/types/components/jump-button/jump-button-outline.stories.d.ts +164 -0
- package/dist/types/components/jump-card/jump-card-border-radius.stories.d.ts +77 -0
- package/dist/types/components/jump-card/jump-card-border.stories.d.ts +77 -0
- package/dist/types/components/jump-card/jump-card-boxed.stories.d.ts +77 -0
- package/dist/types/components/jump-card/jump-card-horizontal.stories.d.ts +77 -0
- package/dist/types/components/jump-card/jump-card-media-rounded.stories.d.ts +79 -0
- package/dist/types/components/jump-card/jump-card-no-image.stories.d.ts +77 -0
- package/dist/types/components/jump-card/jump-card-shadow.stories.d.ts +77 -0
- package/dist/types/components/jump-card/jump-card-top-border-content-radius.stories.d.ts +77 -0
- package/dist/types/components/jump-card/jump-card-video.stories.d.ts +77 -0
- package/dist/types/components/jump-card/jump-card.d.ts +47 -0
- package/dist/types/components/jump-card/jump-card.stories.d.ts +77 -0
- package/dist/types/components.d.ts +130 -0
- package/package.json +1 -1
- package/readme.md +4 -3
- package/dist/cjs/index-91a3ed32.js.map +0 -1
- package/dist/collection/components/jump-button/jump-button.stories.js.map +0 -1
- package/dist/esm/index-3cf3394c.js.map +0 -1
- package/dist/jump-design-system/p-7216d46f.js +0 -3
- package/dist/jump-design-system/p-7216d46f.js.map +0 -1
- package/dist/jump-design-system/p-e2af0fd9.entry.js.map +0 -1
- /package/dist/jump-design-system/{p-85fbbf60.entry.js.map → p-70d78318.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-f4cfa17d.entry.js.map → p-f1c84912.entry.js.map} +0 -0
- /package/dist/types/components/jump-button/{jump-button.stories.d.ts → jump-button-filled.stories.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"jump-card.js","mappings":";;AAAA,MAAM,WAAW,GAAG,uvEAAuvE,CAAC;AAC5wE,uBAAe,WAAW;;MCMb,OAAO;;;;0BAI2B,KAAK;oBAKX,KAAK;;;4BAeG,KAAK;sCAKK,KAAK;qBAKtB,KAAK;4BAKE,KAAK;sBAKZ,EAAE;sBAKF,EAAE;wBAKA,EAAE;;IAE5C,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,UAAU,EAAE,IAAI,CAAC,UAAU,mBAAiB,IAAI,CAAC,YAAY,mBAAiB,IAAI,CAAC,YAAY,+BAA6B,IAAI,CAAC,sBAAsB,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,IACvN,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,GAAG,WAAK,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM,GAAQ,GAAG,EAAE,EACpF,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,MAAM;YAC5B,aAAO,QAAQ,UACb,cAAQ,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAC,WAAW,GAAE,EAC9C,cAAQ,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAC,WAAW,GAAE,EAC9C,cAAQ,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAC,YAAY,GAAE,CACzC,GAAG,EAAE,EACf,4DAAK,KAAK,EAAC,SAAS,IAClB,6DAAM,IAAI,EAAC,MAAM,GAAQ,EACzB,6DAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/jump-card/jump-card.scss?tag=jump-card","src/components/jump-card/jump-card.tsx"],"sourcesContent":["jump-card {\n display: flex;\n flex-direction: column;\n position: relative;\n // --jump-card-max-width: 320px;\n --jump-card-max-width-horizontal: 100%;\n --jump-card-color: var(--neutral-grey-primary);\n --jump-card-background: #fff;\n --jump-card-color-dark: #fff;\n --jump-card-border-color: var(--neutral-grey-background);\n --jump-card-border-radius: 6px;\n --jump-card-border-top-radius: 1rem;\n --jump-card-top-border-body-radius: 1.5rem 1rem;\n --jump-card-padding: 1rem 1.25rem;\n\n font-family: var(--ff-primary, 'Arial'), sans-serif;\n line-height: var(--lh-400, 1.3);\n background-color: var(--jump-card-background);\n color: var(--jump-card-color);\n // max-width: var(--jump-card-max-width);\n overflow: hidden;\n\n img,\n video {\n aspect-ratio: 4/3;\n overflow: hidden;\n position: relative;\n }\n\n .Content {\n padding: 1.5rem 1rem;\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n flex: 1;\n background-color: var(--jump-card-background);\n }\n\n &[dark] {\n background-color: var(--neutral-grey-primary);\n color: var(--jump-card-color-dark);\n\n .Content {\n background-color: var(--neutral-grey-primary);\n color: var(--jump-card-color-dark);\n }\n }\n\n &[border] {\n border: 1px solid var(--jump-card-border-color);\n }\n\n &[border-radius] {\n border-radius: var(--jump-card-border-radius);\n }\n\n &[top-border-content-radius] {\n border-radius: var(--jump-card-border-top-radius);\n\n .Content {\n border-top-left-radius: var(--jump-card-border-top-radius);\n border-top-right-radius: var(--jump-card-border-top-radius);\n margin-top: -1rem;\n z-index: 2;\n }\n }\n\n &[boxed] {\n border-radius: var(--jump-card-border-radius);\n\n img,\n video {\n border-radius: var(--jump-card-border-radius);\n background-color: var(--jump-card-background);\n margin: 0.5rem 0.5rem 0;\n }\n }\n\n &[horizontal] {\n flex-direction: row;\n gap: 0.5rem;\n align-items: center;\n max-width: var(--jump-card-max-width-horizontal);\n }\n\n &[rounded-media] {\n align-items: center;\n justify-content: center;\n text-align: center;\n background-color: transparent;\n\n img,\n video {\n background-color: transparent;\n border-radius: 50%;\n aspect-ratio: 1;\n object-fit: cover;\n width: 100%;\n flex: 0 1 40%;\n }\n\n .Content {\n background-color: transparent;\n align-items: center;\n }\n }\n\n &[rounded-media][horizontal] {\n text-align: left;\n\n .Content {\n align-items: flex-start;\n }\n }\n\n &[shadow] {\n box-shadow: 0px 2px 25px 0px hsla(0, 0%, 0%, 0.1);\n }\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'jump-card',\n styleUrl: 'jump-card.scss',\n shadow: false,\n})\nexport class AppCard {\n /**\n * Indicates if the card is horizontal\n */\n @Prop({reflect: true}) horizontal: boolean = false;\n\n /**\n * Indicates if the card is horizontal\n */\n @Prop({reflect: true}) dark: boolean = false;\n\n /**\n * Indicates if card has shadow\n */\n @Prop({reflect: true}) shadow: boolean;\n\n /**\n * Indicates if card has borders\n */\n @Prop({reflect: true}) border: boolean;\n\n /**\n * Indicates if borders of the entire card are rounded\n */\n @Prop({reflect: true}) borderRadius: boolean = false;\n\n /**\n * Indicates if border top of the body is rounded; Not compatible with boxed\n */\n @Prop({reflect: true}) topBorderContentRadius: boolean = false;\n\n /**\n * Indicates if media has padding; Not compatible with roundedMedia\n */\n @Prop({reflect: true}) boxed: boolean = false;\n\n /**\n * Indicates if image is rounded and there isnt a bg\n */\n @Prop({reflect: true}) roundedMedia: boolean = false;\n\n /**\n * Indicates the imgSrc of the card\n */\n @Prop({reflect: true}) imgSrc: string = '';\n\n /**\n * Indicates the img's alt of the card\n */\n @Prop({reflect: true}) imgAlt: string = '';\n\n /**\n * Indicates the videoSrc of the card\n */\n @Prop({reflect: true}) videoSrc: string = '';\n\n render() {\n return (\n <Host horizontal={this.horizontal} border-radius={this.borderRadius} rounded-media={this.roundedMedia} top-border-content-radius={this.topBorderContentRadius} boxed={this.boxed} shadow={this.shadow} border={this.border}>\n {this.imgSrc && !this.videoSrc ? <img src={this.imgSrc} alt={this.imgAlt}></img> : ''}\n {this.videoSrc && !this.imgSrc ? \n <video autoplay> \n <source src={this.videoSrc} type=\"video/mp4\"/> \n <source src={this.videoSrc} type=\"video/mov\"/> \n <source src={this.videoSrc} type=\"video/webm\"/> \n </video> : ''}\n <div class=\"Content\">\n <slot name=\"body\"></slot>\n <slot name=\"footer\"></slot>\n </div>\n </Host>\n );\n }\n\n}\n"],"version":3}
|
|
@@ -19,11 +19,11 @@ const JumpPagination$1 = /*@__PURE__*/ proxyCustomElement(class JumpPagination e
|
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
var _a;
|
|
22
|
-
return (h(Host, { key: '
|
|
23
|
-
h("div", { class: "elementsPerPage" }, h("label", { htmlFor: "elements" }, (_a = this.labelElementsPerPage) !== null && _a !== void 0 ? _a : 'Elements per page'), h("select", { name: "elements", id: "elements" }, this.elementsRanges.map((range) => (h("option", { value: range }, range))))), h("div", { key: '
|
|
22
|
+
return (h(Host, { key: 'e19fd7770573042573cc19152c02c74054c80ca0', class: "JumpPagination" }, h("div", { key: '293584737d7a7d04e6d35756736f5041e79057bc', class: "JumpPagination__Wrapper" }, this.completeVersion &&
|
|
23
|
+
h("div", { class: "elementsPerPage" }, h("label", { htmlFor: "elements" }, (_a = this.labelElementsPerPage) !== null && _a !== void 0 ? _a : 'Elements per page'), h("select", { name: "elements", id: "elements" }, this.elementsRanges.map((range) => (h("option", { value: range }, range))))), h("div", { key: 'abcc46875ebf0e3d6197b964b6ae5fc7d3478bd8', class: "indicators" }, h("div", { key: '4bf7e8c0470eb551389f35ac9325162a01ebdde2', class: "elements" }, this.completeVersion ?
|
|
24
24
|
h("span", null, h("span", null, this.firstPage), " - ", h("span", null, this.currentPage), " di ", h("span", null, this.totalElements))
|
|
25
25
|
:
|
|
26
|
-
h("span", null, h("span", null, this.currentPage), " di ", h("span", null, this.lastPage))), h("div", { key: '
|
|
26
|
+
h("span", null, h("span", null, this.currentPage), " di ", h("span", null, this.lastPage))), h("div", { key: '977288ffe184d14a7bf5b3fe8cb0d252324b303c', class: "arrow" }, this.showAdditionalChrevrons && h("jump-icon", { name: "chevrons-left" }), h("jump-icon", { key: 'b4707986287695a858e70ad2765f2b7e6a3d144c', name: "chevron-left" }), h("jump-icon", { key: '2cbe3824ee94c3d893784ffb78fefff385c714d3', name: "chevron-right" }), this.showAdditionalChrevrons && h("jump-icon", { name: "chevrons-right" }))))));
|
|
27
27
|
}
|
|
28
28
|
static get style() { return JumpPaginationStyle0; }
|
|
29
29
|
}, [0, "jump-pagination", {
|