comand-component-library 4.3.7 → 4.3.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "4.3.7",
3
+ "version": "4.3.8",
4
4
  "license": "GPL-3.0-only",
5
5
  "author": "CoManD-UI",
6
6
  "private": false,
@@ -19,5 +19,34 @@
19
19
  "placeholder": "First Name",
20
20
  "required": true,
21
21
  "disabled": false
22
- }
22
+ },
23
+ {
24
+ "component": "CmdInputGroup",
25
+ "labelText": "Label for input-group (checkboxes):",
26
+ "inputTypes": "checkbox",
27
+ "toggleSwitches": true,
28
+ "required": true,
29
+ "value": ["option1"],
30
+ "name": "input-group-checkboxes",
31
+ "inputElements": [
32
+ {
33
+ "labelText": "Option 1",
34
+ "id": "option1",
35
+ "name": "checkbox-options",
36
+ "value": "option1"
37
+ },
38
+ {
39
+ "labelText": "Option 2",
40
+ "id": "option2",
41
+ "name": "checkbox-options",
42
+ "value": "option2"
43
+ },
44
+ {
45
+ "labelText": "Option 3",
46
+ "id": "option3",
47
+ "name": "checkbox-options",
48
+ "value": "option3"
49
+ }
50
+ ]
51
+ }
23
52
  ]
@@ -924,6 +924,7 @@ export default {
924
924
  &.success {
925
925
  * {
926
926
  --status-color: var(--success-color);
927
+ --form-input-text-color: var(--success-color);
927
928
  }
928
929
 
929
930
  &:has(input[type="checkbox"], input[type="radio"]) {
@@ -341,6 +341,10 @@ export default {
341
341
  > .label-text {
342
342
  display: inline-flex;
343
343
 
344
+ .flex-container {
345
+ gap: 1rem 1.5rem; /* vertical, horizontal */
346
+ }
347
+
344
348
  > span + a:has([class*="icon-"]) {
345
349
  margin-left: calc(var(--default-margin) / 2);
346
350
  }
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <!-- begin CmdLoginForm ---------------------------------------------------------------------------------------- -->
3
- <fieldset v-show="!sendLogin" class="cmd-login-form flex-container">
3
+ <fieldset v-if="!sendLogin" class="cmd-login-form flex-container">
4
4
  <legend :class="{hidden : !legendLoginForm.show, 'align-left': legendLoginForm.align === 'left'}">
5
5
  {{ legendLoginForm.text }}
6
6
  </legend>
@@ -66,7 +66,7 @@
66
66
  <!-- end default-login-button -->
67
67
 
68
68
  <!-- begin form elements -->
69
- <div v-show="showLogin" :class="['login-fields flex-container', {'vertical': orientation === 'vertical'}]">
69
+ <div v-if="showLogin" :class="['login-fields flex-container', {'vertical': orientation === 'vertical'}]">
70
70
  <!-- begin CmdFormElement -->
71
71
  <CmdFormElement
72
72
  element="input"
@@ -153,7 +153,7 @@
153
153
  <!-- end login-form -->
154
154
 
155
155
  <!-- begin send-login-form -->
156
- <fieldset v-show="sendLogin" class="cmd-login-form flex-container">
156
+ <fieldset v-if="sendLogin" class="cmd-login-form flex-container">
157
157
  <legend :class="{hidden : !legendForgotLoginForm.show, 'align-left': legendForgotLoginForm.align === 'left'}">
158
158
  {{ legendForgotLoginForm.text }}
159
159
  </legend>
@@ -345,19 +345,6 @@ export default {
345
345
  }
346
346
  }
347
347
 
348
- &.success {
349
- .number {
350
- border-color: var(--success-color);
351
- color: var(--success-color);
352
- }
353
-
354
- .active {
355
- .number {
356
- background: var(--success-color) !important;
357
- }
358
- }
359
- }
360
-
361
348
  :is(.active, .router-link-exact-active):not(.disabled) {
362
349
  a {
363
350
  background: var(--button-primary-background-highlighted);