@odx/ui 4.10.0 → 4.10.1

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 (107) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/ag-grid-theme.css +1 -261
  3. package/charts-theme.css +1 -45
  4. package/core-theme.css +1 -7478
  5. package/package.json +9 -3
  6. package/scss/_application.scss +59 -0
  7. package/scss/_base.scss +31 -0
  8. package/scss/_breakpoints.scss +86 -0
  9. package/scss/_color-palettes-dark.scss +53 -0
  10. package/scss/_color-palettes.scss +96 -0
  11. package/scss/_colors-dark.scss +53 -0
  12. package/scss/_colors.scss +98 -0
  13. package/scss/_content.scss +25 -0
  14. package/scss/_controls.scss +57 -0
  15. package/scss/_description-list.scss +30 -0
  16. package/scss/_dimensions.scss +81 -0
  17. package/scss/_helpers.scss +85 -0
  18. package/scss/_index.scss +8 -0
  19. package/scss/_layout.scss +162 -0
  20. package/scss/_motion.scss +14 -0
  21. package/scss/_skeleton.scss +49 -0
  22. package/scss/_text-list.scss +18 -0
  23. package/scss/_typography.scss +21 -0
  24. package/scss/_utils.scss +131 -0
  25. package/scss/_vertical-rythm.scss +3 -0
  26. package/scss/_visuals.scss +27 -0
  27. package/scss/accordion-item.component.scss +56 -0
  28. package/scss/accordion.component.scss +3 -0
  29. package/scss/action-group.component.scss +29 -0
  30. package/scss/active-indicator.scss +25 -0
  31. package/scss/ag-grid/theme.scss +303 -0
  32. package/scss/area-header.component.scss +163 -0
  33. package/scss/autocomplete.component.scss +14 -0
  34. package/scss/avatar.component.scss +68 -0
  35. package/scss/badge.component.scss +49 -0
  36. package/scss/bar.component.scss +93 -0
  37. package/scss/brand-logo.component.scss +17 -0
  38. package/scss/breadcrumbs.component.scss +45 -0
  39. package/scss/button-group.component.scss +101 -0
  40. package/scss/button.component.scss +143 -0
  41. package/scss/calendar.component.scss +243 -0
  42. package/scss/card.component.scss +232 -0
  43. package/scss/checkbox.component.scss +136 -0
  44. package/scss/chip-list.component.scss +23 -0
  45. package/scss/chip.component.scss +74 -0
  46. package/scss/circular-progress.component.scss +75 -0
  47. package/scss/components/card.component.scss +6 -6
  48. package/scss/components/table.component.scss +1 -0
  49. package/scss/connected-overlay.scss +63 -0
  50. package/scss/content-box.component.scss +46 -0
  51. package/scss/datepicker.component.scss +36 -0
  52. package/scss/daterangepicker.component.scss +45 -0
  53. package/scss/dropdown.component.scss +37 -0
  54. package/scss/error-page.component.scss +46 -0
  55. package/scss/expandable-list-item.component.scss +59 -0
  56. package/scss/footer.component.scss +86 -0
  57. package/scss/form-field.component.scss +264 -0
  58. package/scss/header-navigation.component.scss +35 -0
  59. package/scss/header.component.scss +73 -0
  60. package/scss/icon.component.scss +21 -0
  61. package/scss/inline-message.component.scss +34 -0
  62. package/scss/launch-tile.component.scss +119 -0
  63. package/scss/link.component.scss +28 -0
  64. package/scss/list-item.component.scss +119 -0
  65. package/scss/list.component.scss +27 -0
  66. package/scss/loading-spinner.component.scss +70 -0
  67. package/scss/logo.component.scss +33 -0
  68. package/scss/main-menu-button.component.scss +11 -0
  69. package/scss/main-menu-item.component.scss +55 -0
  70. package/scss/main-menu.component.scss +139 -0
  71. package/scss/mainfilter-group.component.scss +163 -0
  72. package/scss/menu.component.scss +51 -0
  73. package/scss/modal.component.scss +219 -0
  74. package/scss/navigation-back.component.scss +23 -0
  75. package/scss/notification-center.component.scss +74 -0
  76. package/scss/notification-item.component.scss +41 -0
  77. package/scss/option.component.scss +40 -0
  78. package/scss/paginator.component.scss +34 -0
  79. package/scss/progress.component.scss +41 -0
  80. package/scss/radio-button.component.scss +127 -0
  81. package/scss/radio-group.component.scss +14 -0
  82. package/scss/rail-navigation-item.component.scss +99 -0
  83. package/scss/rail-navigation.component.scss +53 -0
  84. package/scss/rich-list-item-header.component.scss +25 -0
  85. package/scss/rich-list-item.component.scss +59 -0
  86. package/scss/rich-list.component.scss +3 -0
  87. package/scss/search-bar.component.scss +47 -0
  88. package/scss/select.component.scss +75 -0
  89. package/scss/slider.component.scss +132 -0
  90. package/scss/spinbox.component.scss +128 -0
  91. package/scss/switch.component.scss +175 -0
  92. package/scss/tab-bar-item.component.scss +58 -0
  93. package/scss/tab-bar.component.scss +124 -0
  94. package/scss/table.component.scss +95 -0
  95. package/scss/theme.scss +303 -0
  96. package/scss/timepicker.component.scss +58 -0
  97. package/scss/toast-item.component.scss +79 -0
  98. package/scss/toast.component.scss +33 -0
  99. package/scss/toggle-button-group.component.scss +65 -0
  100. package/scss/toggle-button.component.scss +79 -0
  101. package/scss/tooltip.component.scss +37 -0
  102. package/scss/wizard-step.component.scss +256 -0
  103. package/scss/wizard.component.scss +18 -0
  104. package/24031beb1b96a58f519c.woff2 +0 -0
  105. package/323d385340fb9fee6450.svg +0 -6
  106. package/5eabf29514e9649c8c73.woff2 +0 -0
  107. package/eb2051d1f9da906e0b3e.woff2 +0 -0
@@ -0,0 +1,256 @@
1
+ @use 'sass:math';
2
+ @use 'sass:color';
3
+ @use '../abstract/dimensions';
4
+ @use '../abstract/utils';
5
+ @use '../abstract/motion';
6
+ @use '../abstract/typography';
7
+
8
+ .odx-wizard-step {
9
+ $root: &;
10
+ $parent-root: odx-wizard;
11
+ $step-size: dimensions.get-size(math.div(20, 24));
12
+ $icon-size: dimensions.get-size(math.div(13, 24));
13
+ $border-width: dimensions.get-size(math.div(2, 24));
14
+
15
+ cursor: pointer;
16
+ display: none;
17
+ flex: 1;
18
+ flex-direction: column;
19
+ overflow: hidden;
20
+
21
+ .#{$parent-root}:not(.#{$parent-root}--vertical) & {
22
+ gap: dimensions.get-size(math.div(8, 24));
23
+ min-width: var(--odx-horizontal-wizard-width);
24
+ }
25
+
26
+ &.is-disabled {
27
+ @include utils.non-interactive();
28
+ }
29
+
30
+ &--visible {
31
+ display: inline-flex;
32
+ }
33
+
34
+ &__label {
35
+ @include typography.prevent-text-overflow();
36
+ @include utils.with-outline();
37
+ @include motion.transition(background-color, outline-color);
38
+
39
+ align-self: center;
40
+ border-radius: var(--odx-v-border-radius-controls);
41
+ color: var(--odx-c-secondary-disabled);
42
+ margin: 0 auto;
43
+ padding: dimensions.get-size(math.div(4, 24));
44
+ user-select: none;
45
+
46
+ #{$root}--valid & {
47
+ color: var(--odx-control-color-disabled);
48
+ }
49
+
50
+ #{$root}--passed & {
51
+ color: var(--odx-c-primary);
52
+ }
53
+
54
+ #{$root}--active & {
55
+ font-weight: var(--odx-typography-font-weight-medium);
56
+ }
57
+
58
+ #{$root}:focus-visible & {
59
+ background-color: var(--odx-c-focus);
60
+ outline-color: var(--odx-c-focus-outline);
61
+ }
62
+
63
+ #{$root}:hover & {
64
+ background-color: var(--blue-700-5);
65
+ }
66
+
67
+ .#{$parent-root}--vertical & {
68
+ margin: unset;
69
+ }
70
+ }
71
+
72
+ &__line-before,
73
+ &__line-after,
74
+ &__dotted-line {
75
+ flex: 1;
76
+
77
+ .#{$parent-root}:not(.#{$parent-root}--vertical) & {
78
+ border-bottom: $border-width solid var(--odx-c-secondary-disabled);
79
+ height: 0;
80
+ }
81
+
82
+ .#{$parent-root}--vertical & {
83
+ border-left: $border-width solid var(--odx-c-secondary-disabled);
84
+ width: 0;
85
+ }
86
+ }
87
+
88
+ &__dotted-line {
89
+ &:not(.odx-wizard-step__dotted-line--active) {
90
+ display: none;
91
+ }
92
+
93
+ .#{$parent-root}:not(.#{$parent-root}--vertical) & {
94
+ align-self: flex-end;
95
+ border-style: dashed;
96
+ height: 0;
97
+ margin-bottom: calc(#{$step-size} / 2 - #{$border-width} / 2);
98
+ min-width: var(--odx-horizontal-wizard-width);
99
+ }
100
+
101
+ .#{$parent-root}.#{$parent-root}--vertical & {
102
+ border-style: dashed;
103
+ margin-left: calc(#{$step-size} / 2 - #{$border-width} / 2);
104
+ padding-bottom: var(--odx-vertical-wizard-height);
105
+ }
106
+
107
+ #{$root}:first-of-type + & {
108
+ .#{$parent-root}.#{$parent-root}--vertical & {
109
+ border-left-color: var(--odx-c-primary);
110
+ }
111
+
112
+ .#{$parent-root}:not(.#{$parent-root}--vertical) & {
113
+ border-bottom-color: var(--odx-c-primary);
114
+ }
115
+ }
116
+
117
+ .#{$parent-root}:not(.#{$parent-root}--vertical):has(#{$root}:last-of-type#{$root}--touched) & {
118
+ &:last-of-type {
119
+ border-bottom-color: var(--odx-control-color-disabled);
120
+ }
121
+ }
122
+
123
+ .#{$parent-root}--vertical:has(#{$root}:last-of-type#{$root}--touched) & {
124
+ &:last-of-type {
125
+ border-left-color: var(--odx-control-color-disabled);
126
+ }
127
+ }
128
+ }
129
+
130
+ &__line-before {
131
+ #{$root}:first-of-type & {
132
+ .#{$parent-root}:not(.#{$parent-root}--vertical) & {
133
+ border-bottom-color: transparent;
134
+ }
135
+
136
+ .#{$parent-root}--vertical & {
137
+ border-left-color: transparent;
138
+ }
139
+ }
140
+
141
+ #{$root}--touched & {
142
+ .#{$parent-root}:not(.#{$parent-root}--vertical) & {
143
+ border-bottom-color: var(--odx-control-color-disabled);
144
+ }
145
+
146
+ .#{$parent-root}--vertical & {
147
+ border-left-color: var(--odx-control-color-disabled);
148
+ }
149
+ }
150
+
151
+ #{$root}--passed & {
152
+ .#{$parent-root}:not(.#{$parent-root}--vertical) & {
153
+ border-bottom-color: var(--odx-c-primary);
154
+ }
155
+
156
+ .#{$parent-root}--vertical & {
157
+ border-left-color: var(--odx-c-primary);
158
+ }
159
+ }
160
+ }
161
+
162
+ &__line-after {
163
+ #{$root}--touched:not(#{$root}--is-last-touched) & {
164
+ .#{$parent-root}:not(.#{$parent-root}--vertical) & {
165
+ border-bottom-color: var(--odx-control-color-disabled);
166
+ }
167
+
168
+ .#{$parent-root}--vertical & {
169
+ border-left-color: var(--odx-control-color-disabled);
170
+ }
171
+ }
172
+
173
+ #{$root}:last-of-type & {
174
+ .#{$parent-root}:not(.#{$parent-root}--vertical) & {
175
+ border-bottom-color: transparent;
176
+ }
177
+
178
+ .#{$parent-root}--vertical & {
179
+ border-left-color: transparent;
180
+ }
181
+ }
182
+
183
+ #{$root}--passed:not(#{$root}--active) & {
184
+ .#{$parent-root}:not(.#{$parent-root}--vertical) & {
185
+ border-bottom-color: var(--odx-c-primary);
186
+ }
187
+
188
+ .#{$parent-root}--vertical & {
189
+ border-left-color: var(--odx-c-primary);
190
+ }
191
+ }
192
+ }
193
+
194
+ &__holder {
195
+ align-items: center;
196
+ display: flex;
197
+
198
+ .#{$parent-root}--vertical & {
199
+ flex-direction: column;
200
+ height: 100%;
201
+ }
202
+ }
203
+
204
+ &__circle {
205
+ @include motion.transition(background-color, color);
206
+
207
+ align-items: center;
208
+ border: $border-width solid var(--odx-c-secondary-disabled);
209
+ border-radius: 50%;
210
+ color: var(--odx-c-secondary-disabled);
211
+ display: flex;
212
+ height: $step-size;
213
+ justify-content: center;
214
+ width: $step-size;
215
+
216
+ #{$root}--touched & {
217
+ border-color: var(--odx-control-color-disabled);
218
+ color: var(--odx-control-color-disabled);
219
+ }
220
+
221
+ #{$root}--active & {
222
+ background-color: var(--odx-c-primary);
223
+ border-color: var(--odx-c-primary);
224
+ color: var(--odx-c-primary);
225
+ }
226
+
227
+ #{$root}--active#{$root}--valid & {
228
+ color: var(--white);
229
+ }
230
+
231
+ #{$root}--passed & {
232
+ border-color: var(--odx-c-primary);
233
+ color: var(--odx-c-primary);
234
+ }
235
+ }
236
+
237
+ &__icon {
238
+ font-size: $icon-size;
239
+ font-weight: var(--odx-typography-font-weight-semibold);
240
+ height: $icon-size;
241
+ visibility: hidden;
242
+ width: $icon-size;
243
+
244
+ #{$root}--valid & {
245
+ visibility: visible;
246
+ }
247
+ }
248
+
249
+ .#{$parent-root}--vertical & {
250
+ align-items: center;
251
+ flex: 0 0 var(--odx-vertical-wizard-height);
252
+ flex-direction: row-reverse;
253
+ gap: dimensions.get-size(math.div(12, 24));
254
+ justify-content: start;
255
+ }
256
+ }
@@ -0,0 +1,18 @@
1
+ @use 'sass:math';
2
+ @use '../abstract/dimensions';
3
+ @use '../abstract/breakpoints';
4
+
5
+ .odx-wizard {
6
+ --odx-horizontal-wizard-width: #{dimensions.get-size(math.div(100, 24))};
7
+ --odx-vertical-wizard-height: #{dimensions.get-size(math.div(70, 24))};
8
+
9
+ display: flex;
10
+
11
+ &--vertical {
12
+ flex-direction: column;
13
+ }
14
+
15
+ &--overflow:not(&--vertical) {
16
+ min-width: calc(var(--odx-horizontal-wizard-width) * 7);
17
+ }
18
+ }
Binary file
@@ -1,6 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 74 29">
2
- <path
3
- fill="#000000"
4
- d="M29.717 2.887c0 1.4-1.127 2.535-2.512 2.535a2.522 2.522 0 0 1-2.514-2.533c0-1.4 1.124-2.534 2.514-2.534a2.523 2.523 0 0 1 2.512 2.532ZM9.827.848H0v2.554h7.779c.903 0 1.635.732 1.644 1.637v14.62a1.65 1.65 0 0 1-1.644 1.64H4.823l.001-15.516H0v18.174h9.827c2.303 0 4.17-1.868 4.192-4.187V5.036C13.998 2.717 12.13.848 9.827.848Zm13.968 6.18c-2.705-.01-4.327.186-5.537.464-1.649.414-2.318.972-2.638 1.24a2.134 2.134 0 0 1-.145.114v15.111h4.596V11.452c-.027-1.55 2.264-2.062 3.722-.984l.002-3.44Zm42.037 1.694c.324-.269.992-.823 2.634-1.235 1.205-.275 2.833-.475 5.534-.464v3.44c-1.457-1.079-3.75-.566-3.726.984v12.509h-4.593V8.84c.04-.028.09-.068.15-.12ZM31.507 21.278h-2.135c-.987.018-1.716-.705-1.737-1.76a37.415 37.415 0 0 1 0-1.91c.014-.968.75-1.743 1.737-1.73h2.135v5.4Zm.679-14.253h-7.447v3.438s2.625-.894 4.448-.894c2.222 0 2.34 1.13 2.322 1.635v2.022h-4.484c-2.048 0-3.709 1.67-3.718 3.734v3.246c0 2.07 1.665 3.75 3.718 3.75h9.077v-13.01c-.015-2.318-1.883-3.92-3.916-3.92Zm1.074-1.604a2.521 2.521 0 0 0 2.512-2.534A2.52 2.52 0 0 0 33.26.355a2.522 2.522 0 0 0-2.513 2.532 2.523 2.523 0 0 0 2.513 2.534ZM43.7 9.605c-1.776 0-1.974 1.253-1.974 1.975v1.67c0 .725.198 1.976 1.974 1.974 1.778-.001 1.975-1.25 1.975-1.975v-1.67c0-.722-.197-1.974-1.975-1.974Zm2.281 8.092H41.33c-2.038.01-3.916-1.604-3.914-3.919V10.98C37.405 8.927 39 7.014 41.3 7.025h8.566v6.72c.004 2.05-1.601 3.96-3.884 3.952Zm-.117 6.877c0 .719-.21 1.971-2.084 1.971-1.869 0-2.078-1.252-2.078-1.97v-1.673c0-.723.21-1.977 2.078-1.977 1.875 0 2.084 1.255 2.084 1.977v1.672Zm.473-6.234-5.21.002c-2.29-.003-3.892 1.868-3.885 3.92v2.785c-.005 2.305 1.88 3.956 3.917 3.953h5.204c2.288 0 3.902-1.915 3.89-3.953v-2.785a3.916 3.916 0 0 0-3.916-3.922Zm9.41-3.326h3.946v-3.449c0-.723-.253-1.975-1.972-1.975-1.722 0-1.973 1.252-1.973 1.975v3.449Zm-.59-7.99 5.173-.001c2.03 0 3.926 1.602 3.923 3.92v6.699h-8.417v2.072c.008.906.696 1.66 2.522 1.66 2.81.005 5.761-.846 5.761-.846v3.428h-8.76c-2.233.004-4.123-1.6-4.118-3.918v-9.093c0-2.33 1.879-3.93 3.916-3.921Z"
5
- />
6
- </svg>
Binary file
Binary file