@madgex/design-system 10.0.2 → 10.0.3
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/assets/icons.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"asterisk"},{"name":"calendar"},{"name":"
|
|
1
|
+
[{"name":"asterisk"},{"name":"calendar"},{"name":"check"},{"name":"chevron-down"},{"name":"chevron-left"},{"name":"chevron-right"},{"name":"chevron-up"},{"name":"close"},{"name":"cross"},{"name":"doc-pdf"},{"name":"doc"},{"name":"email"},{"name":"external"},{"name":"flag"},{"name":"job"},{"name":"list-bullets"},{"name":"list-numbers"},{"name":"location-pin"},{"name":"information"},{"name":"menu"},{"name":"plus-small"},{"name":"minus"},{"name":"plus"},{"name":"question-mark"},{"name":"redo"},{"name":"search"},{"name":"share"},{"name":"social-linkedin"},{"name":"social-facebook"},{"name":"social-pinterest"},{"name":"social-reddit"},{"name":"social-twitter"},{"name":"spinner"},{"name":"star-fill"},{"name":"text-bold"},{"name":"star-outline"},{"name":"text-italic"},{"name":"text-link"},{"name":"text-strike-through"},{"name":"text-underline"},{"name":"triangle-down"},{"name":"triangle-up"},{"name":"triangle-right"},{"name":"undo"},{"name":"upload"},{"name":"user"}]
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@madgex/design-system",
|
|
3
3
|
"author": "Madgex",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
|
-
"version": "10.0.
|
|
5
|
+
"version": "10.0.3",
|
|
6
6
|
"main": "dist/js/index.js",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./dist/js/index.js",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"engines": {
|
|
97
97
|
"node": ">=22"
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "9251597158a6a12ebd007560f96ae1ed96b4cd93"
|
|
100
100
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
const optionsSalary = { ...new Array(20).fill().map((_, index) => `Up to £${10 + index * 10}k`) };
|
|
2
|
+
const optionsDistance = { ...new Array(20).fill().map((_, index) => `Within ${5 * (1 + index)} miles`) };
|
|
3
|
+
|
|
1
4
|
module.exports = {
|
|
2
5
|
title: 'Combobox',
|
|
3
6
|
label: 'Combobox',
|
|
@@ -11,7 +14,7 @@ module.exports = {
|
|
|
11
14
|
id: 'distance-selection',
|
|
12
15
|
optional: 'true',
|
|
13
16
|
labelText: 'How far are you willing to travel?',
|
|
14
|
-
options:
|
|
17
|
+
options: optionsDistance,
|
|
15
18
|
fallbackTo: 'select',
|
|
16
19
|
classes: 'im-a-custom-class',
|
|
17
20
|
},
|
|
@@ -25,7 +28,7 @@ module.exports = {
|
|
|
25
28
|
id: 'multiselect',
|
|
26
29
|
optional: 'true',
|
|
27
30
|
labelText: 'How far are you willing to travel?',
|
|
28
|
-
options:
|
|
31
|
+
options: optionsDistance,
|
|
29
32
|
fallbackTo: 'select',
|
|
30
33
|
multiple: true,
|
|
31
34
|
placeholder: 'eg. Within 5 miles',
|
|
@@ -39,7 +42,7 @@ module.exports = {
|
|
|
39
42
|
id: 'salary-selection',
|
|
40
43
|
optional: 'true',
|
|
41
44
|
labelText: 'Salary expectations?',
|
|
42
|
-
options:
|
|
45
|
+
options: optionsSalary,
|
|
43
46
|
value: 'Up to',
|
|
44
47
|
fallbackTo: 'select',
|
|
45
48
|
},
|