comand-component-library 4.2.8 → 4.2.10

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.
@@ -72,7 +72,7 @@
72
72
  "selectOptions": [
73
73
  {
74
74
  "text": "Please select...",
75
- "value": null
75
+ "value": ""
76
76
  },
77
77
  {
78
78
  "text": "Option 1",
@@ -88,7 +88,6 @@
88
88
  }
89
89
  ],
90
90
  "labelText": "Select",
91
- "placeholder": "Placeholdertext",
92
91
  "required": false,
93
92
  "disabled": false
94
93
  },
@@ -101,7 +100,6 @@
101
100
  "value": "checkboxInputValue1",
102
101
  "inputValue": "checkboxInputValue1",
103
102
  "labelText": "Checkbox",
104
- "placeholder": "Placeholdertext",
105
103
  "required": false,
106
104
  "disabled": false
107
105
  },
@@ -113,7 +111,6 @@
113
111
  "id": "form-element-checkbox-id2",
114
112
  "inputValue": "checkboxInputValue2",
115
113
  "labelText": "Checkbox",
116
- "placeholder": "Placeholdertext",
117
114
  "required": false,
118
115
  "disabled": false
119
116
  },
@@ -125,7 +122,6 @@
125
122
  "id": "form-element-radio-id1",
126
123
  "inputValue": "valueRadioButton1",
127
124
  "labelText": "Radio",
128
- "placeholder": "Placeholdertext",
129
125
  "required": false,
130
126
  "disabled": false
131
127
  },
@@ -138,7 +134,6 @@
138
134
  "value": "valueRadioButton2",
139
135
  "inputValue": "valueRadioButton2",
140
136
  "labelText": "Radio",
141
- "placeholder": "Placeholdertext",
142
137
  "required": false,
143
138
  "disabled": false
144
139
  },
@@ -151,6 +146,7 @@
151
146
  "labelText": "Textarea",
152
147
  "placeholder": "Placeholdertext",
153
148
  "required": false,
154
- "disabled": false
149
+ "disabled": false,
150
+ "maxlength": 500
155
151
  }
156
152
  ]
@@ -1,29 +1,32 @@
1
- [
2
- {
3
- "iso2": "de",
4
- "name": "Deutsch",
5
- "tooltip": "Sprache zu deutsch wechseln",
6
- "link": {
7
- "type": "href",
8
- "path": "/"
9
- }
10
- },
11
- {
12
- "iso2": "en",
13
- "name": "English",
14
- "tooltip": "Switch language to English",
15
- "link": {
16
- "type": "href",
17
- "path": "/"
18
- }
19
- },
20
- {
21
- "iso2": "es",
22
- "name": "Español",
23
- "tooltip": "cambiar el idioma a español",
24
- "link": {
25
- "type": "href",
26
- "path": "/"
27
- }
28
- }
29
- ]
1
+ {
2
+ "pathFlags": "https://comand-ui.com/samples/images/flags",
3
+ "languages": [
4
+ {
5
+ "iso2": "de",
6
+ "name": "Deutsch",
7
+ "tooltip": "Sprache zu deutsch wechseln",
8
+ "link": {
9
+ "type": "href",
10
+ "path": "/"
11
+ }
12
+ },
13
+ {
14
+ "iso2": "en",
15
+ "name": "English",
16
+ "tooltip": "Switch language to English",
17
+ "link": {
18
+ "type": "href",
19
+ "path": "/"
20
+ }
21
+ },
22
+ {
23
+ "iso2": "es",
24
+ "name": "Español",
25
+ "tooltip": "cambiar el idioma a español",
26
+ "link": {
27
+ "type": "href",
28
+ "path": "/"
29
+ }
30
+ }
31
+ ]
32
+ }
@@ -0,0 +1 @@
1
+ Header set Access-Control-Allow-Origin "http://localhost:5175"
@@ -0,0 +1,113 @@
1
+ {
2
+ "person": {
3
+ "id": 1,
4
+ "type": "casual",
5
+ "imgSrc": "https://comand-ui.com/samples/images/user-images/fake-user-2.jpg",
6
+ "bgImgSrc": "/images/background-images/background-matrix.jpg",
7
+ "lastName": "Miller",
8
+ "middleName": "",
9
+ "firstName": "Jackson",
10
+ "birthdate": "1975-07-11",
11
+ "gender": "m",
12
+ "profession": "Developer",
13
+ "countryIso": "de",
14
+ "companyName": "Big Tech Company",
15
+ "about": "I am the best developer in my home office",
16
+ "group": "Friends"
17
+ },
18
+ "account": {
19
+ "online": true,
20
+ "type": "premium",
21
+ "created": "2023-03-17"
22
+ },
23
+ "tags": [
24
+ {
25
+ "name": "Backend Development"
26
+ },
27
+ {
28
+ "name": "Frontend Development",
29
+ "description": "Frontend Development embraces the visible part of development. This includes primary the structure and its styling of websites combined by some basic logic."
30
+ },
31
+ {
32
+ "name": "Data Migration"
33
+ }
34
+ ],
35
+ "contact": [
36
+ {
37
+ "name": "companyName",
38
+ "iconClass": "icon-company",
39
+ "data": "Your company name",
40
+ "labelText": "companyName"
41
+ },
42
+ {
43
+ "name": "address",
44
+ "iconClass": "icon-home",
45
+ "labelText": "Address",
46
+ "streetNo": "Your Street/No",
47
+ "zip": "Your zip",
48
+ "city": "Duisburg",
49
+ "miscInfo": "Misc. info",
50
+ "country": "de"
51
+ },
52
+ {
53
+ "name": "phone",
54
+ "iconClass": "icon-phone",
55
+ "data": "Your phone number",
56
+ "labelText": "Telephone",
57
+ "tooltip": "Call number",
58
+ "href": "0123456789"
59
+ },
60
+ {
61
+ "name": "phone",
62
+ "iconClass": "icon-device-smartphone",
63
+ "data": "Your mobile phone number",
64
+ "labelText": "Mobile phone",
65
+ "tooltip": "Call number",
66
+ "href": "0123456789"
67
+ },
68
+ {
69
+ "name": "email",
70
+ "iconClass": "icon-mail",
71
+ "data": "Your email address",
72
+ "labelText": "Email",
73
+ "tooltip": "Send mail",
74
+ "href": "mail@provider.de"
75
+ },
76
+ {
77
+ "name": "url",
78
+ "iconClass": "icon-globe",
79
+ "data": "Your website",
80
+ "labelText": "Website",
81
+ "tooltip": "Open website in new tab",
82
+ "href": "https://www.domain.toplevel"
83
+ }
84
+ ],
85
+ "networks": [
86
+ {
87
+ "buttonClass": "social-network-facebook",
88
+ "iconClass": "icon-facebook",
89
+ "linkText": "facebook",
90
+ "path": "https://www.facebook.com",
91
+ "tooltip": "Visit profile on facebook"
92
+ },
93
+ {
94
+ "buttonClass": "social-network-instagram",
95
+ "iconClass": "icon-instagram",
96
+ "linkText": "instagram",
97
+ "path": "https://www.instagram.com",
98
+ "tooltip": "Visit profile on instagram"
99
+ },
100
+ {
101
+ "buttonClass": "social-network-linkedin",
102
+ "iconClass": "icon-linkedin",
103
+ "linkText": "linkedin",
104
+ "path": "https://www.linkedin.com",
105
+ "tooltip": "Visit profile on linkedin"
106
+ }
107
+ ],
108
+ "profileVisibility": {
109
+ "casual": [],
110
+ "founder": ["canSeeLocation"],
111
+ "investor": ["canSeeLocation"]
112
+ }
113
+ }
@@ -91,6 +91,12 @@ body.avoid-scrolling {
91
91
  width: 3rem;
92
92
  background-size: 100% 100%;
93
93
  display: block;
94
+ aspect-ratio: 3/2;
95
+ }
96
+
97
+ a img.flag {
98
+ border: 0;
99
+ outline: var(--default-border);
94
100
  }
95
101
 
96
102
  /* end flags ----------------------------------------------------------------------------------------------------------------------------------------------------- */
@@ -311,7 +311,7 @@ data() {
311
311
  cmdHeadlineSettingsData: {
312
312
  preHeadlineText: "Pre-headline text",
313
313
  headlineText: "Headline text",
314
- headlineLevel: 1,
314
+ headlineLevel: 3,
315
315
  textAlign: "left"
316
316
  },
317
317
  cmdHeadlineSettingsControls: {
@@ -582,11 +582,14 @@ export default {
582
582
  align-self: auto;
583
583
  }
584
584
 
585
- .box-header .cmd-headline {
586
- margin-bottom: 0;
585
+ .box-header {
586
+ .cmd-headline {
587
+ margin-bottom: 0;
588
+ text-decoration: none;
587
589
 
588
- &:only-child {
589
- width: 100% /* stretch in flex-container */
590
+ &:only-child {
591
+ width: 100% /* stretch in flex-container */
592
+ }
590
593
  }
591
594
  }
592
595
 
@@ -533,6 +533,18 @@ export default {
533
533
  }
534
534
  }
535
535
 
536
+ a {
537
+ gap: calc(var(--icon-and-text-gap) / 2) !important;
538
+
539
+ span {
540
+ text-decoration: none !important;
541
+
542
+ &[class*="icon"]:last-child {
543
+ margin-left: auto !important;
544
+ }
545
+ }
546
+ }
547
+
536
548
  > ul {
537
549
  height: var(--form-input-height);
538
550
  margin: 0;
@@ -584,7 +596,6 @@ export default {
584
596
  }
585
597
 
586
598
  &.open {
587
- border-bottom: 0;
588
599
  ul {
589
600
  border-bottom-left-radius: var(--default-border-radius);
590
601
  border-bottom-right-radius: var(--default-border-radius);
@@ -730,9 +741,11 @@ export default {
730
741
  > ul {
731
742
  > li:first-child {
732
743
  > a {
744
+ text-decoration: none !important;
733
745
  border-color: var(--status-color);
734
746
 
735
747
  > span, [class*="icon-"] {
748
+ text-decoration: none !important;
736
749
  color: var(--status-color);
737
750
  }
738
751
 
@@ -3,8 +3,8 @@
3
3
  :class="{error: errorOccurred}" :novalidate="novalidate" :method="formMethod">
4
4
  <template v-if="useFieldset">
5
5
  <fieldset class="flex-container">
6
- <legend :class="{hidden : !legend.show, 'align-left': legend.align === 'left'}">{{
7
- legend.text
6
+ <legend :class="{hidden : !legendOptions.show, 'align-left': legendOptions.align === 'left'}">{{
7
+ legendOptions.text
8
8
  }}
9
9
  </legend>
10
10
  <CmdSystemMessage v-if="systemMessage.show && systemMessage.message" :validationStatus="systemMessage.validationStatus" :systemMessage="systemMessage.message"/>
@@ -120,13 +120,7 @@ export default {
120
120
  */
121
121
  legend: {
122
122
  type: Object,
123
- default() {
124
- return {
125
- show: true,
126
- align: "left",
127
- text: "Legend"
128
- }
129
- }
123
+ required: false
130
124
  },
131
125
  /**
132
126
  * activate if form-elements should be given by slot
@@ -183,6 +177,14 @@ export default {
183
177
  }
184
178
  },
185
179
  computed: {
180
+ legendOptions() {
181
+ return {
182
+ show: true,
183
+ align: "left",
184
+ text: "Legend",
185
+ ...this.legend
186
+ }
187
+ },
186
188
  submitButtonOptions() {
187
189
  return {
188
190
  iconClass: "icon-check",
@@ -1006,6 +1006,12 @@ export default {
1006
1006
  width: 100%;
1007
1007
  }
1008
1008
  }
1009
+
1010
+ .label-text {
1011
+ [class*="icon-"] {
1012
+ top: -.2rem;
1013
+ }
1014
+ }
1009
1015
  }
1010
1016
 
1011
1017
  .search-field-wrapper {