@jumpgroup/jump-design-system 0.1.4 → 0.1.5
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/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/{index-c572276a.js → index-46644e39.js} +499 -152
- package/dist/cjs/index-46644e39.js.map +1 -0
- package/dist/cjs/jump-button.cjs.entry.js +22 -15
- package/dist/cjs/jump-button.cjs.entry.js.map +1 -1
- package/dist/cjs/jump-design-system.cjs.js +6 -4
- package/dist/cjs/jump-design-system.cjs.js.map +1 -1
- package/dist/cjs/jump-icon.cjs.entry.js +19 -30
- package/dist/cjs/jump-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/jump-pagination.cjs.entry.js +22 -21
- package/dist/cjs/jump-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +6 -4
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/app-icon/jump-icon.js +59 -59
- package/dist/collection/components/app-icon/jump-icon.js.map +1 -1
- package/dist/collection/components/app-icon/jump-icon.stories.js +16 -16
- package/dist/collection/components/app-icon/jump-icon.stories.js.map +1 -1
- package/dist/collection/components/app-icon/test/jump-icon.e2e.js +6 -6
- package/dist/collection/components/app-icon/test/jump-icon.e2e.js.map +1 -1
- package/dist/collection/components/app-icon/test/jump-icon.spec.js +7 -7
- package/dist/collection/components/app-icon/test/jump-icon.spec.js.map +1 -1
- package/dist/collection/components/jump-button/jump-button.js +266 -153
- package/dist/collection/components/jump-button/jump-button.js.map +1 -1
- package/dist/collection/components/jump-button/jump-button.stories.js +284 -167
- package/dist/collection/components/jump-button/jump-button.stories.js.map +1 -1
- package/dist/collection/components/jump-button/test/jump-button.e2e.js +6 -6
- package/dist/collection/components/jump-button/test/jump-button.e2e.js.map +1 -1
- package/dist/collection/components/jump-button/test/jump-button.spec.js +7 -7
- package/dist/collection/components/jump-button/test/jump-button.spec.js.map +1 -1
- package/dist/collection/components/jump-pagination/jump-pagination.js +175 -175
- package/dist/collection/components/jump-pagination/jump-pagination.js.map +1 -1
- package/dist/collection/components/jump-pagination/jump-pagination.stories.js +91 -92
- package/dist/collection/components/jump-pagination/jump-pagination.stories.js.map +1 -1
- package/dist/collection/components/jump-pagination/test/jump-pagination.e2e.js +6 -6
- package/dist/collection/components/jump-pagination/test/jump-pagination.e2e.js.map +1 -1
- package/dist/collection/components/jump-pagination/test/jump-pagination.spec.js +7 -7
- package/dist/collection/components/jump-pagination/test/jump-pagination.spec.js.map +1 -1
- package/dist/collection/utils/utils.js +1 -1
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/collection/utils/utils.spec.js +12 -12
- package/dist/collection/utils/utils.spec.js.map +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +1 -1
- package/dist/components/jump-button.d.ts +2 -2
- package/dist/components/jump-button.js +47 -34
- package/dist/components/jump-button.js.map +1 -1
- package/dist/components/jump-icon.d.ts +2 -2
- package/dist/components/jump-icon2.js +33 -44
- package/dist/components/jump-icon2.js.map +1 -1
- package/dist/components/jump-pagination.d.ts +2 -2
- package/dist/components/jump-pagination.js +47 -46
- package/dist/components/jump-pagination.js.map +1 -1
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/{index-ad69454c.js → index-b0176170.js} +499 -152
- package/dist/esm/index-b0176170.js.map +1 -0
- package/dist/esm/jump-button.entry.js +22 -15
- package/dist/esm/jump-button.entry.js.map +1 -1
- package/dist/esm/jump-design-system.js +7 -5
- package/dist/esm/jump-design-system.js.map +1 -1
- package/dist/esm/jump-icon.entry.js +19 -30
- package/dist/esm/jump-icon.entry.js.map +1 -1
- package/dist/esm/jump-pagination.entry.js +22 -21
- package/dist/esm/jump-pagination.entry.js.map +1 -1
- package/dist/esm/loader.js +7 -5
- package/dist/esm/loader.js.map +1 -1
- 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-0d2b55a8.entry.js +2 -0
- package/dist/jump-design-system/p-0d2b55a8.entry.js.map +1 -0
- package/dist/jump-design-system/{p-15ecd712.entry.js → p-3cbc3a68.entry.js} +3 -3
- package/dist/jump-design-system/p-3cbc3a68.entry.js.map +1 -0
- package/dist/jump-design-system/p-68bce598.js +3 -0
- package/dist/jump-design-system/p-68bce598.js.map +1 -0
- package/dist/jump-design-system/{p-42799645.entry.js → p-9e6ea006.entry.js} +2 -2
- package/dist/jump-design-system/p-9e6ea006.entry.js.map +1 -0
- package/dist/jump-design-system/p-e1255160.js +2 -0
- package/dist/jump-design-system/p-e1255160.js.map +1 -0
- package/dist/jump-design-system-elements.json +53 -1
- package/dist/types/components/app-icon/jump-icon.d.ts +10 -10
- package/dist/types/components/app-icon/jump-icon.stories.d.ts +14 -14
- package/dist/types/components/jump-button/jump-button.d.ts +53 -29
- package/dist/types/components/jump-button/jump-button.stories.d.ts +147 -85
- package/dist/types/components/jump-pagination/jump-pagination.d.ts +24 -24
- package/dist/types/components/jump-pagination/jump-pagination.stories.d.ts +63 -63
- package/dist/types/components.d.ts +52 -4
- package/dist/types/stencil-public-runtime.d.ts +46 -5
- package/loader/index.d.ts +1 -1
- package/package.json +2 -2
- package/readme.md +13 -8
- package/dist/cjs/index-c572276a.js.map +0 -1
- package/dist/esm/index-ad69454c.js.map +0 -1
- package/dist/jump-design-system/p-15ecd712.entry.js.map +0 -1
- package/dist/jump-design-system/p-42799645.entry.js.map +0 -1
- package/dist/jump-design-system/p-44f459bb.js +0 -3
- package/dist/jump-design-system/p-44f459bb.js.map +0 -1
- package/dist/jump-design-system/p-6ba563bd.entry.js +0 -2
- package/dist/jump-design-system/p-6ba563bd.entry.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as o,H as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as o,H as a}from"./p-68bce598.js";const r='jump-button button{background-color:transparent;border:none;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer}jump-button{display:inline-flex;align-items:center;--jump-button-color:#ffffff;--jump-button-color-disabled:#cbcbcb;--jump-button-background:blue;--jump-button-background-outline:transparent;--jump-button-color-hover:#ffffff;--jump-button-background-hover:darkblue;--jump-button-border-radius:var(--border-radius-1, 0.1875rem) var(--border-radius-1, 0.1875rem) var(--border-radius-1, 0.1875rem) var(--border-radius-1, 0.1875rem);--jump-button-padding:1rem 1.25rem}jump-button button{background-color:var(--jump-button-background);border-radius:var(--jump-button-border-radius);color:var(--jump-button-color);position:relative;font-family:var(--ff-primary, "Arial"), sans-serif;font-weight:var(--fw-400, 400);font-size:var(--fs-400, 1rem);line-height:var(--lh-400, 1.3);display:flex;align-items:center;gap:var(--jump-button-gap, 0.5rem);padding:var(--jump-button-padding)}jump-button button:hover{background-color:var(--jump-button-background-hover);color:var(--jump-button-color-hover)}jump-button button[data-variant=primary]{--jump-button-color:var(--neutral-white);--jump-button-background:var(--primary-standard);--jump-button-color-hover:var(--neutral-white);--jump-button-background-hover:var(--primary-hard)}jump-button button[data-variant=secondary]{--jump-button-color:var(--neutral-white);--jump-button-background:var(--secondary-standard);--jump-button-color-hover:var(--neutral-white);--jump-button-background-hover:var(--secondary-hard)}jump-button button[disabled]{--jump-button-background:var(--jump-button-color-disabled);--jump-button-background-hover:var(--jump-button-color-disabled);cursor:not-allowed}jump-button button[data-pill]{border-radius:100rem}jump-button button[data-size=small]{font-size:var(--fs-300, 0.875rem);line-height:var(--lh-300, 1.2);--jump-button-padding:0.5rem 1rem}jump-button button[data-size=medium]{font-size:var(--fs-400, 1rem);line-height:var(--lh-400, 1.3)}jump-button button[data-size=large]{font-size:var(--fs-500, 1.125rem);line-height:var(--lh-500, 1.4);--jump-button-padding:1.125rem 1.5rem}jump-button button[data-outline]{background-color:var(--jump-button-background-outline);border:1px solid var(--jump-button-background);color:var(--jump-button-background)}jump-button button[data-outline]:hover{background-color:var(--jump-button-background-hover);border:1px solid var(--jump-button-background-hover);color:var(--jump-button-background-hover)}jump-button button[data-text]{background-color:transparent;border:none;color:var(--jump-button-background);padding:0}jump-button button[data-text]:hover{background-color:transparent;border:none;color:var(--jump-button-background-hover)}jump-button button[data-only-icon]{--jump-button-padding:1.125rem}jump-button button[data-only-icon][data-size=small]{--jump-button-padding:0.5rem}jump-button button[data-only-icon][data-size=medium]{--jump-button-padding:1rem}jump-button button[data-only-icon][data-size=large]{--jump-button-padding:1.125rem}';const n=r;const u=class{constructor(o){t(this,o);this.disabled=false;this.variant="primary";this.outline=false;this.size="medium";this.pill=false;this.text=false;this.onlyIcon=false;this.href="";this.target=undefined;this.type="button";this.name="";this.value="";this.ariaLabel=""}render(){return o(a,{key:"a55a80c6b7c4f83caaba83c8dea98b22b8784844"},this.href?o("a",{href:this.href,"data-variant":this.variant,"data-outline":this.outline,"data-size":this.size,"data-pill":this.pill,"data-text":this.text,"data-only-icon":this.onlyIcon,"aria-label":this.ariaLabel,"data-target":this.target},o("slot",{name:"prefix"}),!this.onlyIcon&&o("slot",null),o("slot",{name:"suffix"})):o("button",{"data-variant":this.variant,"data-outline":this.outline,"data-size":this.size,"data-pill":this.pill,"data-text":this.text,"data-only-icon":this.onlyIcon,disabled:this.disabled,"aria-label":this.ariaLabel,type:this.type,name:this.name,value:this.value},o("slot",{name:"prefix"}),!this.onlyIcon&&o("slot",null),o("slot",{name:"suffix"})))}};u.style=n;export{u as jump_button};
|
|
2
|
+
//# sourceMappingURL=p-9e6ea006.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["jumpButtonCss","JumpButtonStyle0","AppButton","render","h","Host","key","this","href","variant","outline","size","pill","text","onlyIcon","ariaLabel","target","name","disabled","type","value"],"sources":["src/components/jump-button/jump-button.scss?tag=jump-button","src/components/jump-button/jump-button.tsx"],"sourcesContent":["%reset-button {\n background-color: transparent;\n border: none;\n padding: 0;\n margin: 0;\n font: inherit;\n color: inherit;\n cursor: pointer;\n}\n\njump-button {\n display: inline-flex;\n align-items: center;\n --jump-button-color: #ffffff;\n --jump-button-color-disabled: #cbcbcb;\n --jump-button-background: blue;\n --jump-button-background-outline: transparent;\n --jump-button-color-hover: #ffffff;\n --jump-button-background-hover: darkblue;\n --jump-button-border-radius: var(--border-radius-1, 0.1875rem) var(--border-radius-1, 0.1875rem) var(--border-radius-1, 0.1875rem) var(--border-radius-1, 0.1875rem);\n --jump-button-padding: 1rem 1.25rem;\n\n button {\n @extend %reset-button;\n background-color: var(--jump-button-background);\n border-radius: var(--jump-button-border-radius);\n color: var(--jump-button-color);\n position: relative;\n font-family: var(--ff-primary, 'Arial'), sans-serif;\n font-weight: var(--fw-400, 400);\n font-size: var(--fs-400, 1rem);\n line-height: var(--lh-400, 1.3);\n display: flex;\n align-items: center;\n gap: var(--jump-button-gap, 0.5rem);\n\n //TODO: internal padding of the button\n padding: var(--jump-button-padding);\n\n // TODO: gestire il focus con un outline\n &:hover {\n background-color: var(--jump-button-background-hover);\n color: var(--jump-button-color-hover);\n }\n\n &[data-variant='primary'] {\n --jump-button-color: var(--neutral-white);\n --jump-button-background: var(--primary-standard);\n --jump-button-color-hover: var(--neutral-white);\n --jump-button-background-hover: var(--primary-hard);\n }\n\n &[data-variant='secondary'] {\n --jump-button-color: var(--neutral-white);\n --jump-button-background: var(--secondary-standard);\n --jump-button-color-hover: var(--neutral-white);\n --jump-button-background-hover: var(--secondary-hard);\n }\n\n &[disabled] {\n --jump-button-background: var(--jump-button-color-disabled);\n --jump-button-background-hover: var(--jump-button-color-disabled);\n cursor: not-allowed;\n }\n\n &[data-pill] {\n border-radius: 100rem;\n }\n\n &[data-size='small'] {\n font-size: var(--fs-300, 0.875rem);\n line-height: var(--lh-300, 1.2);\n --jump-button-padding: 0.5rem 1rem;\n }\n\n &[data-size='medium'] {\n font-size: var(--fs-400, 1rem);\n line-height: var(--lh-400, 1.3);\n }\n\n &[data-size='large'] {\n font-size: var(--fs-500, 1.125rem);\n line-height: var(--lh-500, 1.4);\n --jump-button-padding: 1.125rem 1.5rem;\n }\n\n &[data-outline] {\n background-color: var(--jump-button-background-outline);\n border: 1px solid var(--jump-button-background);\n color: var(--jump-button-background);\n &:hover {\n background-color: var(--jump-button-background-hover);\n border: 1px solid var(--jump-button-background-hover);\n color: var(--jump-button-background-hover);\n }\n }\n\n &[data-text] {\n background-color: transparent;\n border: none;\n color: var(--jump-button-background);\n padding: 0;\n &:hover {\n background-color: transparent;\n border: none;\n color: var(--jump-button-background-hover);\n }\n }\n\n &[data-only-icon] {\n --jump-button-padding: 1.125rem;\n }\n &[data-only-icon][data-size='small'] {\n --jump-button-padding: 0.5rem;\n }\n &[data-only-icon][data-size='medium'] {\n --jump-button-padding: 1rem;\n }\n &[data-only-icon][data-size='large'] {\n --jump-button-padding: 1.125rem;\n }\n }\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'jump-button',\n styleUrl: 'jump-button.scss',\n shadow: false,\n})\nexport class AppButton {\n /**\n * Set the button as disabled; Vale solo per i bottoni\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Indicates the variant of the button\n */\n @Prop({reflect: true}) variant: 'primary'|'secondary'|'tertiary'|'neutral' = 'primary';\n\n /**\n * Indicates the button as outline\n */\n @Prop({reflect: true}) outline: boolean = false;\n\n /**\n * Indicates the size of the button\n */\n @Prop({reflect: true}) size: string = 'medium';\n\n /**\n * Indicates the button as pill\n */\n @Prop({reflect: true}) pill: boolean = false;\n\n /**\n * Indicates the button as text\n */\n @Prop({reflect: true}) text: boolean = false;\n\n /**\n * Indicates the button as only icon\n **/\n @Prop({reflect: true}) onlyIcon: boolean = false;\n\n /**\n * Indicates if button becames a anchor\n **/\n @Prop({reflect: true}) href: string = '';\n\n /**\n * Indicates the type of anchor's target \n **/\n @Prop({reflect: true}) target: '_blank' | '_parent' | '_self' | '_top'\n\n /**\n * Indicates type button\n **/\n @Prop({reflect: true}) type: 'button'|'submit'|'reset' = 'button';\n\n /**\n * Indicates the name that the sender button will send\n **/\n @Prop({reflect: true}) name: string = '';\n\n /**\n * Indicates the value that the sender button will send\n **/\n @Prop({reflect: true}) value: string = '';\n\n /**\n * Indicates the value of text alternative to an element that has no visible text on the screen\n **/\n @Prop({reflect: true}) ariaLabel: string = '';\n\n render() {\n return (\n <Host>\n {this.href ? (\n <a href={this.href} data-variant={this.variant} data-outline={this.outline} data-size={this.size} data-pill={this.pill} data-text={this.text} data-only-icon={this.onlyIcon} aria-label={this.ariaLabel} data-target={this.target}>\n <slot name=\"prefix\"></slot>\n {!this.onlyIcon && <slot></slot>}\n <slot name=\"suffix\"></slot>\n </a>\n ) : ( \n <button data-variant={this.variant} data-outline={this.outline} data-size={this.size} data-pill={this.pill} data-text={this.text} data-only-icon={this.onlyIcon} disabled={this.disabled} aria-label={this.ariaLabel} type={this.type} name={this.name} value={this.value}>\n <slot name=\"prefix\"></slot>\n {!this.onlyIcon && <slot></slot> }\n <slot name=\"suffix\"></slot>\n </button>\n )}\n </Host>\n );\n }\n\n}\n"],"mappings":"kDAAA,MAAMA,EAAgB,igGACtB,MAAAC,EAAeD,E,MCMFE,EAAS,M,uCAIQ,M,aAKiD,U,aAKnC,M,UAKJ,S,UAKC,M,UAKA,M,cAKI,M,UAKL,G,gCAUmB,S,UAKnB,G,WAKC,G,eAKI,E,CAE3C,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACFC,KAAKC,KACJJ,EAAA,KAAGI,KAAMD,KAAKC,KAAI,eAAgBD,KAAKE,QAAO,eAAgBF,KAAKG,QAAO,YAAaH,KAAKI,KAAI,YAAaJ,KAAKK,KAAI,YAAaL,KAAKM,KAAI,iBAAkBN,KAAKO,SAAQ,aAAcP,KAAKQ,UAAS,cAAeR,KAAKS,QACzNZ,EAAA,QAAMa,KAAK,YACTV,KAAKO,UAAYV,EAAA,aACnBA,EAAA,QAAMa,KAAK,YAGbb,EAAA,yBAAsBG,KAAKE,QAAO,eAAgBF,KAAKG,QAAO,YAAaH,KAAKI,KAAI,YAAaJ,KAAKK,KAAI,YAAaL,KAAKM,KAAI,iBAAkBN,KAAKO,SAAUI,SAAUX,KAAKW,SAAQ,aAAcX,KAAKQ,UAAWI,KAAMZ,KAAKY,KAAMF,KAAMV,KAAKU,KAAMG,MAAOb,KAAKa,OAClQhB,EAAA,QAAMa,KAAK,YACTV,KAAKO,UAAYV,EAAA,aACnBA,EAAA,QAAMa,KAAK,Y"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["globalScripts"],"sources":["@stencil/core/internal/app-globals"],"sourcesContent":["export const globalScripts = () => {};\n"],"mappings":"AAAY,MAACA,EAAgB,c"}
|
|
@@ -8,9 +8,21 @@
|
|
|
8
8
|
"value": ""
|
|
9
9
|
},
|
|
10
10
|
"attributes": [
|
|
11
|
+
{
|
|
12
|
+
"name": "aria-label",
|
|
13
|
+
"description": "Indicates the value of text alternative to an element that has no visible text on the screen"
|
|
14
|
+
},
|
|
11
15
|
{
|
|
12
16
|
"name": "disabled",
|
|
13
|
-
"description": "Set the button as disabled"
|
|
17
|
+
"description": "Set the button as disabled; Vale solo per i bottoni"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "href",
|
|
21
|
+
"description": "Indicates if button becames a anchor"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "name",
|
|
25
|
+
"description": "Indicates the name that the sender button will send"
|
|
14
26
|
},
|
|
15
27
|
{
|
|
16
28
|
"name": "only-icon",
|
|
@@ -28,14 +40,54 @@
|
|
|
28
40
|
"name": "size",
|
|
29
41
|
"description": "Indicates the size of the button"
|
|
30
42
|
},
|
|
43
|
+
{
|
|
44
|
+
"name": "target",
|
|
45
|
+
"description": "Indicates the type of anchor's target",
|
|
46
|
+
"values": [
|
|
47
|
+
{
|
|
48
|
+
"name": "_blank"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "_parent"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "_self"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "_top"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
},
|
|
31
61
|
{
|
|
32
62
|
"name": "text",
|
|
33
63
|
"description": "Indicates the button as text"
|
|
34
64
|
},
|
|
65
|
+
{
|
|
66
|
+
"name": "type",
|
|
67
|
+
"description": "Indicates type button",
|
|
68
|
+
"values": [
|
|
69
|
+
{
|
|
70
|
+
"name": "button"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "reset"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "submit"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "value",
|
|
82
|
+
"description": "Indicates the value that the sender button will send"
|
|
83
|
+
},
|
|
35
84
|
{
|
|
36
85
|
"name": "variant",
|
|
37
86
|
"description": "Indicates the variant of the button",
|
|
38
87
|
"values": [
|
|
88
|
+
{
|
|
89
|
+
"name": "neutral"
|
|
90
|
+
},
|
|
39
91
|
{
|
|
40
92
|
"name": "primary"
|
|
41
93
|
},
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare class AppIcon {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Name of the icon
|
|
4
|
+
**/
|
|
5
|
+
name: string;
|
|
6
|
+
/**
|
|
7
|
+
* Additional classes
|
|
8
|
+
**/
|
|
9
|
+
class: string;
|
|
10
|
+
componentDidLoad(): void;
|
|
11
|
+
render(): any;
|
|
12
12
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
argTypes: {
|
|
5
|
+
name: {
|
|
6
|
+
name: string;
|
|
7
|
+
control: string;
|
|
8
|
+
options: string[];
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
class: {
|
|
12
|
+
name: string;
|
|
13
|
+
control: string;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
10
16
|
};
|
|
11
|
-
class: {
|
|
12
|
-
name: string;
|
|
13
|
-
control: string;
|
|
14
|
-
description: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
17
|
};
|
|
18
18
|
export default _default;
|
|
19
19
|
export declare const Icon: any;
|
|
@@ -1,31 +1,55 @@
|
|
|
1
1
|
export declare class AppButton {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Set the button as disabled; Vale solo per i bottoni
|
|
4
|
+
*/
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Indicates the variant of the button
|
|
8
|
+
*/
|
|
9
|
+
variant: 'primary' | 'secondary' | 'tertiary' | 'neutral';
|
|
10
|
+
/**
|
|
11
|
+
* Indicates the button as outline
|
|
12
|
+
*/
|
|
13
|
+
outline: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Indicates the size of the button
|
|
16
|
+
*/
|
|
17
|
+
size: string;
|
|
18
|
+
/**
|
|
19
|
+
* Indicates the button as pill
|
|
20
|
+
*/
|
|
21
|
+
pill: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Indicates the button as text
|
|
24
|
+
*/
|
|
25
|
+
text: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Indicates the button as only icon
|
|
28
|
+
**/
|
|
29
|
+
onlyIcon: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Indicates if button becames a anchor
|
|
32
|
+
**/
|
|
33
|
+
href: string;
|
|
34
|
+
/**
|
|
35
|
+
* Indicates the type of anchor's target
|
|
36
|
+
**/
|
|
37
|
+
target: '_blank' | '_parent' | '_self' | '_top';
|
|
38
|
+
/**
|
|
39
|
+
* Indicates type button
|
|
40
|
+
**/
|
|
41
|
+
type: 'button' | 'submit' | 'reset';
|
|
42
|
+
/**
|
|
43
|
+
* Indicates the name that the sender button will send
|
|
44
|
+
**/
|
|
45
|
+
name: string;
|
|
46
|
+
/**
|
|
47
|
+
* Indicates the value that the sender button will send
|
|
48
|
+
**/
|
|
49
|
+
value: string;
|
|
50
|
+
/**
|
|
51
|
+
* Indicates the value of text alternative to an element that has no visible text on the screen
|
|
52
|
+
**/
|
|
53
|
+
ariaLabel: string;
|
|
54
|
+
render(): any;
|
|
31
55
|
}
|
|
@@ -1,92 +1,154 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
argTypes: {
|
|
5
|
+
label: {
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
control: string;
|
|
9
|
+
};
|
|
10
|
+
variant: {
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
control: string;
|
|
14
|
+
options: string[];
|
|
15
|
+
};
|
|
16
|
+
outline: {
|
|
17
|
+
name: string;
|
|
18
|
+
description: string;
|
|
19
|
+
control: string;
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
control: string;
|
|
25
|
+
options: string[];
|
|
26
|
+
labels: {
|
|
27
|
+
small: string;
|
|
28
|
+
medium: string;
|
|
29
|
+
large: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
pill: {
|
|
33
|
+
name: string;
|
|
34
|
+
description: string;
|
|
35
|
+
control: string;
|
|
36
|
+
};
|
|
37
|
+
disabled: {
|
|
38
|
+
name: string;
|
|
39
|
+
description: string;
|
|
40
|
+
control: string;
|
|
41
|
+
};
|
|
42
|
+
text: {
|
|
43
|
+
name: string;
|
|
44
|
+
description: string;
|
|
45
|
+
control: string;
|
|
46
|
+
};
|
|
47
|
+
showIcon: {
|
|
48
|
+
name: string;
|
|
49
|
+
description: string;
|
|
50
|
+
control: string;
|
|
51
|
+
};
|
|
52
|
+
iconOnly: {
|
|
53
|
+
name: string;
|
|
54
|
+
description: string;
|
|
55
|
+
control: string;
|
|
56
|
+
if: {
|
|
57
|
+
arg: string;
|
|
58
|
+
eq: boolean;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
iconName: {
|
|
62
|
+
name: string;
|
|
63
|
+
control: string;
|
|
64
|
+
options: string[];
|
|
65
|
+
description: string;
|
|
66
|
+
defaultValue: string;
|
|
67
|
+
if: {
|
|
68
|
+
arg: string;
|
|
69
|
+
eq: boolean;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
iconPosition: {
|
|
73
|
+
name: string;
|
|
74
|
+
description: string;
|
|
75
|
+
defaultValue: string;
|
|
76
|
+
control: string;
|
|
77
|
+
options: string[];
|
|
78
|
+
if: {
|
|
79
|
+
arg: string;
|
|
80
|
+
eq: boolean;
|
|
81
|
+
};
|
|
82
|
+
labels: {
|
|
83
|
+
left: string;
|
|
84
|
+
right: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
type: {
|
|
88
|
+
name: string;
|
|
89
|
+
description: string;
|
|
90
|
+
default: string;
|
|
91
|
+
control: string;
|
|
92
|
+
if: {
|
|
93
|
+
arg: string;
|
|
94
|
+
eq: boolean;
|
|
95
|
+
};
|
|
96
|
+
options: string[];
|
|
97
|
+
labels: {
|
|
98
|
+
button: string;
|
|
99
|
+
submit: string;
|
|
100
|
+
reset: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
name: {
|
|
104
|
+
name: string;
|
|
105
|
+
description: string;
|
|
106
|
+
control: string;
|
|
107
|
+
if: {
|
|
108
|
+
arg: string;
|
|
109
|
+
exists: boolean;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
value: {
|
|
113
|
+
name: string;
|
|
114
|
+
description: string;
|
|
115
|
+
control: string;
|
|
116
|
+
if: {
|
|
117
|
+
arg: string;
|
|
118
|
+
exists: boolean;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
ariaLabel: {
|
|
122
|
+
name: string;
|
|
123
|
+
description: string;
|
|
124
|
+
control: string;
|
|
125
|
+
};
|
|
126
|
+
href: {
|
|
127
|
+
name: string;
|
|
128
|
+
description: string;
|
|
129
|
+
control: string;
|
|
130
|
+
};
|
|
131
|
+
target: {
|
|
132
|
+
name: string;
|
|
133
|
+
description: string;
|
|
134
|
+
default: string;
|
|
135
|
+
control: string;
|
|
136
|
+
if: {
|
|
137
|
+
arg: string;
|
|
138
|
+
exists: boolean;
|
|
139
|
+
};
|
|
140
|
+
options: string[];
|
|
141
|
+
labels: {
|
|
142
|
+
_blank: string;
|
|
143
|
+
_parent: string;
|
|
144
|
+
_self: string;
|
|
145
|
+
_top: string;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
9
148
|
};
|
|
10
|
-
variant: {
|
|
11
|
-
name: string;
|
|
12
|
-
description: string;
|
|
13
|
-
control: string;
|
|
14
|
-
options: string[];
|
|
15
|
-
};
|
|
16
|
-
outline: {
|
|
17
|
-
name: string;
|
|
18
|
-
description: string;
|
|
19
|
-
control: string;
|
|
20
|
-
};
|
|
21
|
-
size: {
|
|
22
|
-
name: string;
|
|
23
|
-
description: string;
|
|
24
|
-
control: string;
|
|
25
|
-
options: string[];
|
|
26
|
-
labels: {
|
|
27
|
-
small: string;
|
|
28
|
-
medium: string;
|
|
29
|
-
large: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
pill: {
|
|
33
|
-
name: string;
|
|
34
|
-
description: string;
|
|
35
|
-
control: string;
|
|
36
|
-
};
|
|
37
|
-
disabled: {
|
|
38
|
-
name: string;
|
|
39
|
-
description: string;
|
|
40
|
-
control: string;
|
|
41
|
-
};
|
|
42
|
-
text: {
|
|
43
|
-
name: string;
|
|
44
|
-
description: string;
|
|
45
|
-
control: string;
|
|
46
|
-
};
|
|
47
|
-
showIcon: {
|
|
48
|
-
name: string;
|
|
49
|
-
description: string;
|
|
50
|
-
control: string;
|
|
51
|
-
};
|
|
52
|
-
iconOnly: {
|
|
53
|
-
name: string;
|
|
54
|
-
description: string;
|
|
55
|
-
control: string;
|
|
56
|
-
if: {
|
|
57
|
-
arg: string;
|
|
58
|
-
eq: boolean;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
iconName: {
|
|
62
|
-
name: string;
|
|
63
|
-
control: string;
|
|
64
|
-
options: string[];
|
|
65
|
-
description: string;
|
|
66
|
-
defaultValue: string;
|
|
67
|
-
if: {
|
|
68
|
-
arg: string;
|
|
69
|
-
eq: boolean;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
iconPosition: {
|
|
73
|
-
name: string;
|
|
74
|
-
description: string;
|
|
75
|
-
defaultValue: string;
|
|
76
|
-
control: string;
|
|
77
|
-
options: string[];
|
|
78
|
-
if: {
|
|
79
|
-
arg: string;
|
|
80
|
-
eq: boolean;
|
|
81
|
-
};
|
|
82
|
-
labels: {
|
|
83
|
-
left: string;
|
|
84
|
-
right: string;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
149
|
};
|
|
89
150
|
export default _default;
|
|
151
|
+
export declare const Name: any;
|
|
90
152
|
export declare const Primary: any;
|
|
91
153
|
export declare const OutlinePrimary: any;
|
|
92
154
|
export declare const PillPrimary: any;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export declare class JumpPagination {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
2
|
+
totalElements: number;
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
currentPage: number;
|
|
7
|
+
lastPage: number;
|
|
8
|
+
/**
|
|
9
|
+
* Label for the elements per page select
|
|
10
|
+
*/
|
|
11
|
+
labelElementsPerPage: string;
|
|
12
|
+
/**
|
|
13
|
+
* Values for the elements per page select
|
|
14
|
+
*/
|
|
15
|
+
elementsRanges: Array<number>;
|
|
16
|
+
/**
|
|
17
|
+
* Indicates the first page/product of the list
|
|
18
|
+
*/
|
|
19
|
+
firstPage: number;
|
|
20
|
+
/**
|
|
21
|
+
* If true, the component will show the complete version of the pagination, with elements informations
|
|
22
|
+
*/
|
|
23
|
+
completeVersion: boolean;
|
|
24
|
+
showAdditionalChrevrons: boolean;
|
|
25
|
+
render(): any;
|
|
26
26
|
}
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
argTypes: {
|
|
5
|
+
completeVersion: {
|
|
6
|
+
name: string;
|
|
7
|
+
control: string;
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
showAdditionalChrevrons: {
|
|
11
|
+
name: string;
|
|
12
|
+
control: string;
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
firstPage: {
|
|
16
|
+
name: string;
|
|
17
|
+
control: string;
|
|
18
|
+
description: string;
|
|
19
|
+
if: {
|
|
20
|
+
arg: string;
|
|
21
|
+
eq: boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
currentPage: {
|
|
25
|
+
name: string;
|
|
26
|
+
control: string;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
lastPage: {
|
|
30
|
+
name: string;
|
|
31
|
+
control: string;
|
|
32
|
+
description: string;
|
|
33
|
+
if: {
|
|
34
|
+
arg: string;
|
|
35
|
+
eq: boolean;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
totalElements: {
|
|
39
|
+
name: string;
|
|
40
|
+
control: string;
|
|
41
|
+
description: string;
|
|
42
|
+
if: {
|
|
43
|
+
arg: string;
|
|
44
|
+
eq: boolean;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
labelElementsPerPage: {
|
|
48
|
+
name: string;
|
|
49
|
+
control: string;
|
|
50
|
+
description: string;
|
|
51
|
+
if: {
|
|
52
|
+
arg: string;
|
|
53
|
+
eq: boolean;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
elementsRanges: {
|
|
57
|
+
name: string;
|
|
58
|
+
control: string;
|
|
59
|
+
options: number[];
|
|
60
|
+
if: {
|
|
61
|
+
arg: string;
|
|
62
|
+
eq: boolean;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
9
65
|
};
|
|
10
|
-
showAdditionalChrevrons: {
|
|
11
|
-
name: string;
|
|
12
|
-
control: string;
|
|
13
|
-
description: string;
|
|
14
|
-
};
|
|
15
|
-
firstPage: {
|
|
16
|
-
name: string;
|
|
17
|
-
control: string;
|
|
18
|
-
description: string;
|
|
19
|
-
if: {
|
|
20
|
-
arg: string;
|
|
21
|
-
eq: boolean;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
currentPage: {
|
|
25
|
-
name: string;
|
|
26
|
-
control: string;
|
|
27
|
-
description: string;
|
|
28
|
-
};
|
|
29
|
-
lastPage: {
|
|
30
|
-
name: string;
|
|
31
|
-
control: string;
|
|
32
|
-
description: string;
|
|
33
|
-
if: {
|
|
34
|
-
arg: string;
|
|
35
|
-
eq: boolean;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
totalElements: {
|
|
39
|
-
name: string;
|
|
40
|
-
control: string;
|
|
41
|
-
description: string;
|
|
42
|
-
if: {
|
|
43
|
-
arg: string;
|
|
44
|
-
eq: boolean;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
labelElementsPerPage: {
|
|
48
|
-
name: string;
|
|
49
|
-
control: string;
|
|
50
|
-
description: string;
|
|
51
|
-
if: {
|
|
52
|
-
arg: string;
|
|
53
|
-
eq: boolean;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
elementsRanges: {
|
|
57
|
-
name: string;
|
|
58
|
-
control: string;
|
|
59
|
-
options: number[];
|
|
60
|
-
if: {
|
|
61
|
-
arg: string;
|
|
62
|
-
eq: boolean;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
66
|
};
|
|
67
67
|
export default _default;
|
|
68
68
|
export declare const PaginationPerProdottiRidotto: any;
|