@valtimo/components 12.7.0 → 12.9.0

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 (23) hide show
  1. package/assets/css/formio-carbon.scss +132 -14
  2. package/esm2022/lib/components/carbon-list/carbon-list.component.mjs +28 -19
  3. package/esm2022/lib/components/form-io/formio-value-resolver-selector/formio-value-resolver-selector.component.mjs +1 -1
  4. package/esm2022/lib/components/multi-input/carbon-multi-input.component.mjs +20 -6
  5. package/esm2022/lib/components/multi-input/components/key-value-path-selector/key-value-path-selector.component.mjs +2 -2
  6. package/esm2022/lib/components/multi-input/components/value-path-selector-dropdown-value/value-path-selector-dropdown-value.component.mjs +2 -2
  7. package/esm2022/lib/components/multi-input/components/value-path-selector-value/value-path-selector-value.component.mjs +2 -2
  8. package/esm2022/lib/components/status-selector/status-selector.component.mjs +3 -3
  9. package/esm2022/lib/components/value-path-selector/value-path-selector.component.mjs +62 -22
  10. package/esm2022/lib/models/value-path-selector.model.mjs +7 -2
  11. package/esm2022/lib/services/value-path-selector.service.mjs +55 -40
  12. package/fesm2022/valtimo-components.mjs +165 -83
  13. package/fesm2022/valtimo-components.mjs.map +1 -1
  14. package/lib/components/carbon-list/carbon-list.component.d.ts.map +1 -1
  15. package/lib/components/multi-input/carbon-multi-input.component.d.ts +3 -1
  16. package/lib/components/multi-input/carbon-multi-input.component.d.ts.map +1 -1
  17. package/lib/components/value-path-selector/value-path-selector.component.d.ts +13 -7
  18. package/lib/components/value-path-selector/value-path-selector.component.d.ts.map +1 -1
  19. package/lib/models/value-path-selector.model.d.ts +17 -2
  20. package/lib/models/value-path-selector.model.d.ts.map +1 -1
  21. package/lib/services/value-path-selector.service.d.ts +8 -4
  22. package/lib/services/value-path-selector.service.d.ts.map +1 -1
  23. package/package.json +1 -1
@@ -78,8 +78,64 @@
78
78
  padding-left: 0;
79
79
  }
80
80
 
81
- .nav.nav-tabs .nav-item .nav-link.active {
81
+ .nav.nav-tabs .nav-item .nav-link {
82
82
  border: none !important;
83
+ font-size: var(--cds-heading-compact-01-font-size, 0.875rem);
84
+ line-height: var(--cds-heading-compact-01-line-height, 1.28572);
85
+ letter-spacing: var(--cds-heading-compact-01-letter-spacing, 0.16px);
86
+ color: var(--cds-text-primary, #161616) !important;
87
+ padding: 1rem;
88
+
89
+ &.active {
90
+ font-weight: var(--cds-heading-compact-01-font-weight, 600);
91
+ }
92
+ }
93
+
94
+ .choices__inner {
95
+ border: 1px solid var(--cds-border-subtle-01) !important;
96
+ background-color: var(--cds-layer-01) !important;
97
+ border-radius: 0;
98
+ padding: 0.5rem;
99
+
100
+ .choices__input {
101
+ background: transparent;
102
+ }
103
+
104
+ .choices__item {
105
+ font-size: var(--cds-label-01-font-size, 0.75rem);
106
+ font-weight: var(--cds-label-01-font-weight, 400);
107
+ line-height: var(--cds-label-01-line-height, 1.33333);
108
+ letter-spacing: var(--cds-label-01-letter-spacing, 0.32px);
109
+ display: inline-flex;
110
+ align-items: center;
111
+ justify-content: center;
112
+ border-radius: 1rem;
113
+ margin: 0.25rem;
114
+ cursor: default;
115
+ max-inline-size: 13rem;
116
+ min-block-size: var(--cds-layout-size-height-local);
117
+ min-inline-size: 2rem;
118
+ padding-inline: 0.5rem;
119
+ vertical-align: middle;
120
+ word-break: break-word;
121
+ background-color: var(--cds-tag-background-cyan, #bae6ff) !important;
122
+ color: var(--cds-tag-color-cyan, #00539a) !important;
123
+ border: 1px solid var(--cds-tag-border-cyan, #33b1ff) !important;
124
+
125
+ .choices__button {
126
+ border-left: 1px solid var(--cds-tag-border-cyan, #33b1ff) !important;
127
+ filter: invert(1) sepia(1) saturate(500%) hue-rotate(200deg);
128
+ opacity: 0.6;
129
+ }
130
+
131
+ &.is-highlighted {
132
+ background-color: var(--cds-tag-hover-cyan, #99daff) !important;
133
+ }
134
+ }
135
+ }
136
+
137
+ .wizard-page {
138
+ margin-bottom: 1rem;
83
139
  }
84
140
 
85
141
  /* styling from https://raw.githubusercontent.com/IBM/ipm-bootstrap-carbon-theme/refs/heads/master/dist/css/bootstrap.css */
@@ -335,11 +391,11 @@
335
391
  }
336
392
  .table td,
337
393
  .table th {
338
- background-color: #fff !important;
394
+ background-color: var(--cds-layer-01);
339
395
  }
340
396
  .table-bordered th,
341
397
  .table-bordered td {
342
- border: 1px solid #ddd !important;
398
+ border: 1px solid var(--cds-border-subtle-01) !important;
343
399
  }
344
400
  }
345
401
  @font-face {
@@ -2513,7 +2569,7 @@
2513
2569
  border-top: 2px solid #ddd;
2514
2570
  }
2515
2571
  .table .table {
2516
- background-color: #fff;
2572
+ background-color: var(--cds-layer-01);
2517
2573
  }
2518
2574
  .table-condensed > thead > tr > th,
2519
2575
  .table-condensed > tbody > tr > th,
@@ -2523,8 +2579,9 @@
2523
2579
  .table-condensed > tfoot > tr > td {
2524
2580
  padding: 5px;
2525
2581
  }
2526
- .table-bordered {
2527
- border: 1px solid #ddd;
2582
+ .table-bordered,
2583
+ .formio-component-datagrid .datagrid-table {
2584
+ border: 1px solid var(--cds-border-subtle-01) !important;
2528
2585
  }
2529
2586
  .table-bordered > thead > tr > th,
2530
2587
  .table-bordered > tbody > tr > th,
@@ -2532,7 +2589,16 @@
2532
2589
  .table-bordered > thead > tr > td,
2533
2590
  .table-bordered > tbody > tr > td,
2534
2591
  .table-bordered > tfoot > tr > td {
2535
- border: 1px solid #ddd;
2592
+ border: 1px solid var(--cds-border-subtle-01) !important;
2593
+ }
2594
+ .table-bordered > thead > tr > th,
2595
+ .table-bordered > tbody > tr > th,
2596
+ .table-bordered > tfoot > tr > th {
2597
+ font-size: var(--cds-heading-compact-01-font-size, 0.875rem);
2598
+ font-weight: var(--cds-heading-compact-01-font-weight, 600);
2599
+ line-height: var(--cds-heading-compact-01-line-height, 1.28572);
2600
+ letter-spacing: var(--cds-heading-compact-01-letter-spacing, 0.16px);
2601
+ color: var(--cds-text-primary, #161616);
2536
2602
  }
2537
2603
  .table-bordered > thead > tr > th,
2538
2604
  .table-bordered > thead > tr > td {
@@ -4263,8 +4329,8 @@
4263
4329
  background-color: #f4f4f7;
4264
4330
  border: 1px solid #f4f4f7;
4265
4331
  border-bottom-color: transparent;
4266
- -webkit-box-shadow: inset 0 2px 0 0 var(--vcds-formio-blue-19);
4267
- box-shadow: inset 0 2px 0 0 var(--vcds-formio-blue-19);
4332
+ -webkit-box-shadow: inset 0 2px 0 0 var(--vcds-formio-blue-18);
4333
+ box-shadow: inset 0 2px 0 0 var(--vcds-formio-blue-18);
4268
4334
  }
4269
4335
  .nav-tabs.nav-justified {
4270
4336
  width: 100%;
@@ -4939,25 +5005,46 @@
4939
5005
  color: #777777;
4940
5006
  }
4941
5007
  .pagination {
4942
- display: inline-block;
5008
+ display: flex;
5009
+ flex-wrap: nowrap; /* Ensures all items stay in a single row */
5010
+ overflow-x: auto; /* Enables horizontal scrolling if needed */
4943
5011
  padding-left: 0;
4944
5012
  margin: 20px 0;
4945
5013
  border-radius: 0px;
4946
5014
  }
4947
5015
  .pagination > li {
4948
- display: inline;
5016
+ list-style: none; /* Removes bullet points */
5017
+ flex: 0 0 auto; /* Prevents items from stretching */
5018
+ }
5019
+ .pagination > li > button {
5020
+ background-color: transparent !important;
5021
+ color: var(--cds-text-primary, #161616) !important;
5022
+ font-size: var(--cds-body-compact-01-font-size, 0.875rem);
5023
+ font-weight: var(--cds-body-compact-01-font-weight, 400);
5024
+ line-height: 1.45;
5025
+ transition:
5026
+ box-shadow 110ms cubic-bezier(0.2, 0, 0.38, 0.9),
5027
+ color 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
5028
+ border-left: 0;
5029
+ border-right: 0;
5030
+ border-bottom: 0;
5031
+ border-radius: 0 !important;
5032
+ border-color: var(--cds-border-subtle) !important;
5033
+ border-top-width: 3px;
5034
+ }
5035
+ .pagination > li.active > button {
5036
+ border-color: var(--cds-interactive, var(--vcds-color-60)) !important;
4949
5037
  }
4950
5038
  .pagination > li > a,
4951
5039
  .pagination > li > span {
4952
- position: relative;
4953
- float: left;
5040
+ display: inline-block; /* Ensures proper spacing and alignment */
4954
5041
  padding: 6px 12px;
4955
- margin-left: -1px;
4956
5042
  line-height: 1.42857143;
4957
5043
  color: var(--vcds-formio-blue-19);
4958
5044
  text-decoration: none;
4959
5045
  background-color: #fff;
4960
5046
  border: 1px solid #ddd;
5047
+ white-space: nowrap; /* Prevents text wrapping inside pagination items */
4961
5048
  }
4962
5049
  .pagination > li > a:hover,
4963
5050
  .pagination > li > span:hover,
@@ -7667,4 +7754,35 @@
7667
7754
  inset 0 1px 3px rgba(0, 0, 0, 0.05),
7668
7755
  0 1px 0 rgba(255, 255, 255, 0.1);
7669
7756
  }
7757
+
7758
+ .card {
7759
+ background-color: var(--cds-layer-01) !important;
7760
+ box-shadow: none !important;
7761
+
7762
+ &.border {
7763
+ border: 1px solid var(--cds-border-subtle-01) !important;
7764
+ }
7765
+
7766
+ div[ref='header'] {
7767
+ background-color: var(--cds-layer-accent);
7768
+ color: var(--cds-text-primary, #161616);
7769
+ padding: 1rem;
7770
+ margin: 0;
7771
+
7772
+ .card-title {
7773
+ font-size: var(--cds-heading-compact-01-font-size, 0.875rem);
7774
+ font-weight: var(--cds-heading-compact-01-font-weight, 600);
7775
+ line-height: var(--cds-heading-compact-01-line-height, 1.28572);
7776
+ letter-spacing: var(--cds-heading-compact-01-letter-spacing, 0.16px);
7777
+ }
7778
+
7779
+ i {
7780
+ color: var(--cds-text-primary, #161616) !important;
7781
+ }
7782
+ }
7783
+ }
7784
+
7785
+ .card-body {
7786
+ padding: 1rem;
7787
+ }
7670
7788
  }