@jumpgroup/jump-design-system 0.1.4 → 0.1.6

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.
Files changed (102) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  3. package/dist/cjs/{index-c572276a.js → index-46644e39.js} +499 -152
  4. package/dist/cjs/index-46644e39.js.map +1 -0
  5. package/dist/cjs/jump-button.cjs.entry.js +24 -16
  6. package/dist/cjs/jump-button.cjs.entry.js.map +1 -1
  7. package/dist/cjs/jump-design-system.cjs.js +6 -4
  8. package/dist/cjs/jump-design-system.cjs.js.map +1 -1
  9. package/dist/cjs/jump-icon.cjs.entry.js +19 -30
  10. package/dist/cjs/jump-icon.cjs.entry.js.map +1 -1
  11. package/dist/cjs/jump-pagination.cjs.entry.js +22 -21
  12. package/dist/cjs/jump-pagination.cjs.entry.js.map +1 -1
  13. package/dist/cjs/loader.cjs.js +6 -4
  14. package/dist/cjs/loader.cjs.js.map +1 -1
  15. package/dist/collection/collection-manifest.json +2 -2
  16. package/dist/collection/components/app-icon/jump-icon.js +59 -59
  17. package/dist/collection/components/app-icon/jump-icon.js.map +1 -1
  18. package/dist/collection/components/app-icon/jump-icon.stories.js +16 -16
  19. package/dist/collection/components/app-icon/jump-icon.stories.js.map +1 -1
  20. package/dist/collection/components/app-icon/test/jump-icon.e2e.js +6 -6
  21. package/dist/collection/components/app-icon/test/jump-icon.e2e.js.map +1 -1
  22. package/dist/collection/components/app-icon/test/jump-icon.spec.js +7 -7
  23. package/dist/collection/components/app-icon/test/jump-icon.spec.js.map +1 -1
  24. package/dist/collection/components/jump-button/jump-button.css +47 -21
  25. package/dist/collection/components/jump-button/jump-button.js +285 -153
  26. package/dist/collection/components/jump-button/jump-button.js.map +1 -1
  27. package/dist/collection/components/jump-button/jump-button.stories.js +371 -206
  28. package/dist/collection/components/jump-button/jump-button.stories.js.map +1 -1
  29. package/dist/collection/components/jump-button/test/jump-button.e2e.js +6 -6
  30. package/dist/collection/components/jump-button/test/jump-button.e2e.js.map +1 -1
  31. package/dist/collection/components/jump-button/test/jump-button.spec.js +7 -7
  32. package/dist/collection/components/jump-button/test/jump-button.spec.js.map +1 -1
  33. package/dist/collection/components/jump-pagination/jump-pagination.js +175 -175
  34. package/dist/collection/components/jump-pagination/jump-pagination.js.map +1 -1
  35. package/dist/collection/components/jump-pagination/jump-pagination.stories.js +91 -92
  36. package/dist/collection/components/jump-pagination/jump-pagination.stories.js.map +1 -1
  37. package/dist/collection/components/jump-pagination/test/jump-pagination.e2e.js +6 -6
  38. package/dist/collection/components/jump-pagination/test/jump-pagination.e2e.js.map +1 -1
  39. package/dist/collection/components/jump-pagination/test/jump-pagination.spec.js +7 -7
  40. package/dist/collection/components/jump-pagination/test/jump-pagination.spec.js.map +1 -1
  41. package/dist/collection/utils/utils.js +1 -1
  42. package/dist/collection/utils/utils.js.map +1 -1
  43. package/dist/collection/utils/utils.spec.js +12 -12
  44. package/dist/collection/utils/utils.spec.js.map +1 -1
  45. package/dist/components/index.d.ts +6 -0
  46. package/dist/components/index.js +1 -1
  47. package/dist/components/jump-button.d.ts +2 -2
  48. package/dist/components/jump-button.js +50 -35
  49. package/dist/components/jump-button.js.map +1 -1
  50. package/dist/components/jump-icon.d.ts +2 -2
  51. package/dist/components/jump-icon2.js +33 -44
  52. package/dist/components/jump-icon2.js.map +1 -1
  53. package/dist/components/jump-pagination.d.ts +2 -2
  54. package/dist/components/jump-pagination.js +47 -46
  55. package/dist/components/jump-pagination.js.map +1 -1
  56. package/dist/esm/app-globals-0f993ce5.js +5 -0
  57. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  58. package/dist/esm/{index-ad69454c.js → index-b0176170.js} +499 -152
  59. package/dist/esm/index-b0176170.js.map +1 -0
  60. package/dist/esm/jump-button.entry.js +24 -16
  61. package/dist/esm/jump-button.entry.js.map +1 -1
  62. package/dist/esm/jump-design-system.js +7 -5
  63. package/dist/esm/jump-design-system.js.map +1 -1
  64. package/dist/esm/jump-icon.entry.js +19 -30
  65. package/dist/esm/jump-icon.entry.js.map +1 -1
  66. package/dist/esm/jump-pagination.entry.js +22 -21
  67. package/dist/esm/jump-pagination.entry.js.map +1 -1
  68. package/dist/esm/loader.js +7 -5
  69. package/dist/esm/loader.js.map +1 -1
  70. package/dist/jump-design-system/jump-design-system.esm.js +1 -1
  71. package/dist/jump-design-system/jump-design-system.esm.js.map +1 -1
  72. package/dist/jump-design-system/p-0d2b55a8.entry.js +2 -0
  73. package/dist/jump-design-system/p-0d2b55a8.entry.js.map +1 -0
  74. package/dist/jump-design-system/p-1bb7f2a5.entry.js +2 -0
  75. package/dist/jump-design-system/p-1bb7f2a5.entry.js.map +1 -0
  76. package/dist/jump-design-system/{p-15ecd712.entry.js → p-3cbc3a68.entry.js} +3 -3
  77. package/dist/jump-design-system/p-3cbc3a68.entry.js.map +1 -0
  78. package/dist/jump-design-system/p-68bce598.js +3 -0
  79. package/dist/jump-design-system/p-68bce598.js.map +1 -0
  80. package/dist/jump-design-system/p-e1255160.js +2 -0
  81. package/dist/jump-design-system/p-e1255160.js.map +1 -0
  82. package/dist/jump-design-system-elements.json +57 -1
  83. package/dist/types/components/app-icon/jump-icon.d.ts +10 -10
  84. package/dist/types/components/app-icon/jump-icon.stories.d.ts +14 -14
  85. package/dist/types/components/jump-button/jump-button.d.ts +57 -29
  86. package/dist/types/components/jump-button/jump-button.stories.d.ts +152 -86
  87. package/dist/types/components/jump-pagination/jump-pagination.d.ts +24 -24
  88. package/dist/types/components/jump-pagination/jump-pagination.stories.d.ts +63 -63
  89. package/dist/types/components.d.ts +60 -4
  90. package/dist/types/stencil-public-runtime.d.ts +46 -5
  91. package/loader/index.d.ts +1 -1
  92. package/package.json +2 -2
  93. package/readme.md +13 -8
  94. package/dist/cjs/index-c572276a.js.map +0 -1
  95. package/dist/esm/index-ad69454c.js.map +0 -1
  96. package/dist/jump-design-system/p-15ecd712.entry.js.map +0 -1
  97. package/dist/jump-design-system/p-42799645.entry.js +0 -2
  98. package/dist/jump-design-system/p-42799645.entry.js.map +0 -1
  99. package/dist/jump-design-system/p-44f459bb.js +0 -3
  100. package/dist/jump-design-system/p-44f459bb.js.map +0 -1
  101. package/dist/jump-design-system/p-6ba563bd.entry.js +0 -2
  102. package/dist/jump-design-system/p-6ba563bd.entry.js.map +0 -1
@@ -8,9 +8,25 @@
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
+ },
15
+ {
16
+ "name": "class",
17
+ "description": "Indicates classes of the component"
18
+ },
11
19
  {
12
20
  "name": "disabled",
13
- "description": "Set the button as disabled"
21
+ "description": "Set the button as disabled; Vale solo per i bottoni"
22
+ },
23
+ {
24
+ "name": "href",
25
+ "description": "Indicates if button becames a anchor"
26
+ },
27
+ {
28
+ "name": "name",
29
+ "description": "Indicates the name that the sender button will send"
14
30
  },
15
31
  {
16
32
  "name": "only-icon",
@@ -28,14 +44,54 @@
28
44
  "name": "size",
29
45
  "description": "Indicates the size of the button"
30
46
  },
47
+ {
48
+ "name": "target",
49
+ "description": "Indicates the type of anchor's target",
50
+ "values": [
51
+ {
52
+ "name": "_blank"
53
+ },
54
+ {
55
+ "name": "_parent"
56
+ },
57
+ {
58
+ "name": "_self"
59
+ },
60
+ {
61
+ "name": "_top"
62
+ }
63
+ ]
64
+ },
31
65
  {
32
66
  "name": "text",
33
67
  "description": "Indicates the button as text"
34
68
  },
69
+ {
70
+ "name": "type",
71
+ "description": "Indicates type button",
72
+ "values": [
73
+ {
74
+ "name": "button"
75
+ },
76
+ {
77
+ "name": "reset"
78
+ },
79
+ {
80
+ "name": "submit"
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "name": "value",
86
+ "description": "Indicates the value that the sender button will send"
87
+ },
35
88
  {
36
89
  "name": "variant",
37
90
  "description": "Indicates the variant of the button",
38
91
  "values": [
92
+ {
93
+ "name": "neutral"
94
+ },
39
95
  {
40
96
  "name": "primary"
41
97
  },
@@ -1,12 +1,12 @@
1
1
  export declare class AppIcon {
2
- /**
3
- * Name of the icon
4
- **/
5
- name: string;
6
- /**
7
- * Additional classes
8
- **/
9
- class: string;
10
- componentDidLoad(): void;
11
- render(): any;
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
- title: string;
3
- tags: string[];
4
- argTypes: {
5
- name: {
6
- name: string;
7
- control: string;
8
- options: string[];
9
- description: string;
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,59 @@
1
1
  export declare class AppButton {
2
- /**
3
- * Set the button as disabled
4
- */
5
- disabled: boolean;
6
- /**
7
- * Indicates the variant of the button
8
- */
9
- variant: 'primary' | 'secondary' | 'tertiary';
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
- render(): any;
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
+ /**
55
+ * Indicates classes of the component
56
+ **/
57
+ class: string;
58
+ render(): any;
31
59
  }
@@ -1,90 +1,151 @@
1
1
  declare const _default: {
2
- title: string;
3
- tags: string[];
4
- argTypes: {
5
- label: {
6
- name: string;
7
- description: string;
8
- control: string;
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
+ exists: 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;
90
151
  export declare const Primary: any;
@@ -92,4 +153,9 @@ export declare const OutlinePrimary: any;
92
153
  export declare const PillPrimary: any;
93
154
  export declare const OutlinePillPrimary: any;
94
155
  export declare const Disabled: any;
95
- export declare const Text: any;
156
+ export declare const TextSecondary: any;
157
+ export declare const CustomButton: any;
158
+ export declare const ButtonWithIcon: any;
159
+ export declare const ButtonWithOnlyIcon: any;
160
+ export declare const Link: any;
161
+ export declare const AnchorWithIcon: any;
@@ -1,26 +1,26 @@
1
1
  export declare class JumpPagination {
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;
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
- title: string;
3
- tags: string[];
4
- argTypes: {
5
- completeVersion: {
6
- name: string;
7
- control: string;
8
- description: string;
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;