overview-components 1.1.41 → 1.1.43
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/illustration/delete-illustration.js +16 -16
- package/dist/components/components-settings/attachments-tab-settings.d.ts.map +1 -1
- package/dist/components/components-settings/attachments-tab-settings.js +5 -3
- package/dist/components/components-settings/attachments-tab-settings.js.map +1 -1
- package/dist/components/components-settings/data-grid-settings.d.ts +31 -2
- package/dist/components/components-settings/data-grid-settings.d.ts.map +1 -1
- package/dist/components/components-settings/data-grid-settings.js +279 -147
- package/dist/components/components-settings/data-grid-settings.js.map +1 -1
- package/dist/components/components-settings/section-tab-settings.d.ts +28 -1
- package/dist/components/components-settings/section-tab-settings.d.ts.map +1 -1
- package/dist/components/components-settings/section-tab-settings.js +439 -125
- package/dist/components/components-settings/section-tab-settings.js.map +1 -1
- package/dist/components/components-settings/tabs-overview-settings.d.ts.map +1 -1
- package/dist/components/components-settings/tabs-overview-settings.js +7 -15
- package/dist/components/components-settings/tabs-overview-settings.js.map +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/lit-ai-filter-assistant.d.ts.map +1 -1
- package/dist/components/lit-ai-filter-assistant.js +6 -2
- package/dist/components/lit-ai-filter-assistant.js.map +1 -1
- package/dist/components/lit-attachments-tab.d.ts +1 -0
- package/dist/components/lit-attachments-tab.d.ts.map +1 -1
- package/dist/components/lit-attachments-tab.js +14 -2
- package/dist/components/lit-attachments-tab.js.map +1 -1
- package/dist/components/lit-badge.d.ts +2 -0
- package/dist/components/lit-badge.d.ts.map +1 -1
- package/dist/components/lit-badge.js +17 -1
- package/dist/components/lit-badge.js.map +1 -1
- package/dist/components/lit-case-variables-tab.d.ts +61 -3
- package/dist/components/lit-case-variables-tab.d.ts.map +1 -1
- package/dist/components/lit-case-variables-tab.js +1443 -87
- package/dist/components/lit-case-variables-tab.js.map +1 -1
- package/dist/components/lit-data-grid-tanstack.d.ts +3 -14
- package/dist/components/lit-data-grid-tanstack.d.ts.map +1 -1
- package/dist/components/lit-data-grid-tanstack.js +19 -7
- package/dist/components/lit-data-grid-tanstack.js.map +1 -1
- package/dist/components/lit-filter-builder.d.ts +67 -0
- package/dist/components/lit-filter-builder.d.ts.map +1 -0
- package/dist/components/lit-filter-builder.js +446 -0
- package/dist/components/lit-filter-builder.js.map +1 -0
- package/dist/components/lit-filter-modal.d.ts +1 -1
- package/dist/components/lit-filter-modal.d.ts.map +1 -1
- package/dist/components/lit-filter-modal.js +7 -1
- package/dist/components/lit-filter-modal.js.map +1 -1
- package/dist/components/lit-multiselect-item.d.ts.map +1 -1
- package/dist/components/lit-multiselect-item.js +4 -2
- package/dist/components/lit-multiselect-item.js.map +1 -1
- package/dist/components/lit-section-tab.d.ts +12 -0
- package/dist/components/lit-section-tab.d.ts.map +1 -1
- package/dist/components/lit-section-tab.js +89 -0
- package/dist/components/lit-section-tab.js.map +1 -1
- package/dist/components/lit-tabs-overview.d.ts.map +1 -1
- package/dist/components/lit-tabs-overview.js +10 -6
- package/dist/components/lit-tabs-overview.js.map +1 -1
- package/dist/components/modals/lit-confirm-modal.d.ts.map +1 -1
- package/dist/components/modals/lit-confirm-modal.js +4 -2
- package/dist/components/modals/lit-confirm-modal.js.map +1 -1
- package/dist/components/modals/lit-delete-modal.d.ts.map +1 -1
- package/dist/components/modals/lit-delete-modal.js +11 -7
- package/dist/components/modals/lit-delete-modal.js.map +1 -1
- package/dist/components/react-wrappers/filter-builder.d.ts +5 -0
- package/dist/components/react-wrappers/filter-builder.d.ts.map +1 -0
- package/dist/components/react-wrappers/filter-builder.js +12 -0
- package/dist/components/react-wrappers/filter-builder.js.map +1 -0
- package/dist/components/react-wrappers/index.d.ts +2 -0
- package/dist/components/react-wrappers/index.d.ts.map +1 -1
- package/dist/components/react-wrappers/index.js +2 -0
- package/dist/components/react-wrappers/index.js.map +1 -1
- package/dist/schemas/index.d.ts +2 -1
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +2 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/lit-attachments-tab-document.schema.d.ts +6 -0
- package/dist/schemas/lit-attachments-tab-document.schema.d.ts.map +1 -1
- package/dist/schemas/lit-attachments-tab-document.schema.js +6 -0
- package/dist/schemas/lit-attachments-tab-document.schema.js.map +1 -1
- package/dist/schemas/lit-attachments-tab.schema.d.ts +6 -0
- package/dist/schemas/lit-attachments-tab.schema.d.ts.map +1 -1
- package/dist/schemas/lit-case-variables-tab-cell.schema.d.ts +81 -0
- package/dist/schemas/lit-case-variables-tab-cell.schema.d.ts.map +1 -1
- package/dist/schemas/lit-case-variables-tab-cell.schema.js +60 -1
- package/dist/schemas/lit-case-variables-tab-cell.schema.js.map +1 -1
- package/dist/schemas/lit-case-variables-tab-rows.schema.d.ts +81 -0
- package/dist/schemas/lit-case-variables-tab-rows.schema.d.ts.map +1 -1
- package/dist/schemas/lit-case-variables-tab.schema.d.ts +81 -0
- package/dist/schemas/lit-case-variables-tab.schema.d.ts.map +1 -1
- package/dist/schemas/lit-data-grid-tanstack.schema.d.ts +39 -1
- package/dist/schemas/lit-data-grid-tanstack.schema.d.ts.map +1 -1
- package/dist/schemas/lit-data-grid-tanstack.schema.js +2 -1
- package/dist/schemas/lit-data-grid-tanstack.schema.js.map +1 -1
- package/dist/schemas/lit-filter-builder.schema.d.ts +67 -0
- package/dist/schemas/lit-filter-builder.schema.d.ts.map +1 -0
- package/dist/schemas/lit-filter-builder.schema.js +49 -0
- package/dist/schemas/lit-filter-builder.schema.js.map +1 -0
- package/dist/schemas/lit-section-tab-schema.d.ts +45 -0
- package/dist/schemas/lit-section-tab-schema.d.ts.map +1 -1
- package/dist/schemas/lit-section-tab-schema.js +7 -0
- package/dist/schemas/lit-section-tab-schema.js.map +1 -1
- package/dist/shared/lit-button.d.ts +3 -1
- package/dist/shared/lit-button.d.ts.map +1 -1
- package/dist/shared/lit-button.js +6 -2
- package/dist/shared/lit-button.js.map +1 -1
- package/dist/shared/lit-checkbox.d.ts +1 -0
- package/dist/shared/lit-checkbox.d.ts.map +1 -1
- package/dist/shared/lit-checkbox.js +5 -0
- package/dist/shared/lit-checkbox.js.map +1 -1
- package/dist/shared/lit-data-grid-action-buttons-popover.d.ts.map +1 -1
- package/dist/shared/lit-data-grid-action-buttons-popover.js +1 -0
- package/dist/shared/lit-data-grid-action-buttons-popover.js.map +1 -1
- package/dist/shared/lit-data-grid-density-popover.d.ts.map +1 -1
- package/dist/shared/lit-data-grid-density-popover.js +1 -0
- package/dist/shared/lit-data-grid-density-popover.js.map +1 -1
- package/dist/shared/lit-data-grid-export-popover.d.ts.map +1 -1
- package/dist/shared/lit-data-grid-export-popover.js +1 -0
- package/dist/shared/lit-data-grid-export-popover.js.map +1 -1
- package/dist/shared/lit-data-grid-operators-popover.d.ts +3 -3
- package/dist/shared/lit-data-grid-operators-popover.d.ts.map +1 -1
- package/dist/shared/lit-data-grid-operators-popover.js +1 -0
- package/dist/shared/lit-data-grid-operators-popover.js.map +1 -1
- package/dist/shared/lit-data-grid-row-actions.d.ts.map +1 -1
- package/dist/shared/lit-data-grid-row-actions.js +2 -0
- package/dist/shared/lit-data-grid-row-actions.js.map +1 -1
- package/dist/shared/lit-date-picker.d.ts +1 -1
- package/dist/shared/lit-date-picker.d.ts.map +1 -1
- package/dist/shared/lit-date-picker.js +2 -0
- package/dist/shared/lit-date-picker.js.map +1 -1
- package/dist/shared/lit-icon-button.d.ts +7 -3
- package/dist/shared/lit-icon-button.d.ts.map +1 -1
- package/dist/shared/lit-icon-button.js +6 -2
- package/dist/shared/lit-icon-button.js.map +1 -1
- package/dist/shared/lit-icon.d.ts +1 -0
- package/dist/shared/lit-icon.d.ts.map +1 -1
- package/dist/shared/lit-icon.js +28 -2
- package/dist/shared/lit-icon.js.map +1 -1
- package/dist/shared/lit-input.d.ts +3 -1
- package/dist/shared/lit-input.d.ts.map +1 -1
- package/dist/shared/lit-input.js +35 -28
- package/dist/shared/lit-input.js.map +1 -1
- package/dist/shared/lit-modal-body.js +1 -1
- package/dist/shared/lit-modal-footer.js +1 -1
- package/dist/shared/lit-modal-header.d.ts.map +1 -1
- package/dist/shared/lit-modal-header.js +1 -2
- package/dist/shared/lit-modal-header.js.map +1 -1
- package/dist/shared/lit-progress-bar.d.ts +2 -0
- package/dist/shared/lit-progress-bar.d.ts.map +1 -1
- package/dist/shared/lit-progress-bar.js +57 -7
- package/dist/shared/lit-progress-bar.js.map +1 -1
- package/dist/shared/lit-responsive-button.d.ts +17 -2
- package/dist/shared/lit-responsive-button.d.ts.map +1 -1
- package/dist/shared/lit-responsive-button.js +8 -0
- package/dist/shared/lit-responsive-button.js.map +1 -1
- package/dist/shared/lit-select-field.d.ts.map +1 -1
- package/dist/shared/lit-select-field.js +1 -2
- package/dist/shared/lit-select-field.js.map +1 -1
- package/dist/shared/lit-select.d.ts +5 -1
- package/dist/shared/lit-select.d.ts.map +1 -1
- package/dist/shared/lit-select.js +218 -6
- package/dist/shared/lit-select.js.map +1 -1
- package/dist/shared/lit-text-field.d.ts +2 -0
- package/dist/shared/lit-text-field.d.ts.map +1 -1
- package/dist/shared/lit-text-field.js +27 -10
- package/dist/shared/lit-text-field.js.map +1 -1
- package/dist/shared/styles/button-shared-styles.d.ts.map +1 -1
- package/dist/shared/styles/button-shared-styles.js +321 -28
- package/dist/shared/styles/button-shared-styles.js.map +1 -1
- package/dist/utils/getOperatorByType.d.ts +5 -5
- package/dist/utils/getOperatorByType.d.ts.map +1 -1
- package/dist/utils/getOperatorByType.js +5 -1
- package/dist/utils/getOperatorByType.js.map +1 -1
- package/package.json +5 -2
|
@@ -12,54 +12,183 @@ const buttonStyles = css `
|
|
|
12
12
|
align-items: center;
|
|
13
13
|
justify-content: center;
|
|
14
14
|
}
|
|
15
|
-
/* Disabled button
|
|
15
|
+
/* Disabled button states - Generic base styles */
|
|
16
|
+
button:disabled {
|
|
17
|
+
cursor: not-allowed;
|
|
18
|
+
opacity: 0.6;
|
|
19
|
+
}
|
|
16
20
|
|
|
21
|
+
/* Disabled styles by variant */
|
|
17
22
|
.button--contained:disabled {
|
|
18
|
-
background-color: var(--color-primary-disabled, #d0d3db);
|
|
19
|
-
|
|
23
|
+
background-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
24
|
+
color: var(--color-text-disabled, #9ca3af) !important;
|
|
20
25
|
}
|
|
21
26
|
|
|
22
27
|
.button--outlined:disabled {
|
|
23
|
-
color: var(--color-primary-disabled);
|
|
24
|
-
border:
|
|
25
|
-
|
|
28
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
29
|
+
border-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
30
|
+
background-color: transparent !important;
|
|
26
31
|
}
|
|
27
32
|
|
|
28
33
|
.button--text:disabled {
|
|
29
|
-
color: var(--color-primary-disabled, #d0d3db);
|
|
30
|
-
|
|
34
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
35
|
+
background-color: transparent !important;
|
|
31
36
|
}
|
|
32
37
|
|
|
33
38
|
.button--dashed:disabled {
|
|
34
|
-
color: var(--color-primary-disabled, #d0d3db);
|
|
35
|
-
|
|
36
|
-
border: 1px dashed var(--color-primary-disabled, #d0d3db);
|
|
39
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
40
|
+
background-color: transparent !important;
|
|
37
41
|
}
|
|
38
42
|
|
|
39
|
-
.button--
|
|
40
|
-
|
|
41
|
-
cursor: not-allowed;
|
|
43
|
+
.button--dashed:disabled::before {
|
|
44
|
+
border-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
42
45
|
}
|
|
43
46
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
+
/* Disabled styles by color - Primary */
|
|
48
|
+
.button--primary.button--contained:disabled {
|
|
49
|
+
background-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
50
|
+
color: var(--color-text-disabled, #9ca3af) !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.button--primary.button--outlined:disabled {
|
|
54
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
55
|
+
border-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.button--primary.button--text:disabled {
|
|
59
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.button--primary.button--dashed:disabled {
|
|
63
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.button--primary.button--dashed:disabled::before {
|
|
67
|
+
border-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* Disabled styles by color - Secondary */
|
|
71
|
+
.button--secondary.button--contained:disabled {
|
|
72
|
+
background-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
73
|
+
color: var(--color-text-disabled, #9ca3af) !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.button--secondary.button--outlined:disabled {
|
|
77
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
78
|
+
border-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.button--secondary.button--text:disabled {
|
|
82
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.button--secondary.button--dashed:disabled {
|
|
86
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.button--secondary.button--dashed:disabled::before {
|
|
90
|
+
border-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* Disabled styles by color - Error */
|
|
94
|
+
.button--error.button--contained:disabled {
|
|
95
|
+
background-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
96
|
+
color: var(--color-text-disabled, #9ca3af) !important;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.button--error.button--outlined:disabled {
|
|
100
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
101
|
+
border-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.button--error.button--text:disabled {
|
|
105
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.button--error.button--dashed:disabled {
|
|
109
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.button--error.button--dashed:disabled::before {
|
|
113
|
+
border-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
47
114
|
}
|
|
48
115
|
|
|
116
|
+
/* Disabled styles by color - Warning */
|
|
117
|
+
.button--warning.button--contained:disabled {
|
|
118
|
+
background-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
119
|
+
color: var(--color-text-disabled, #9ca3af) !important;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.button--warning.button--outlined:disabled {
|
|
123
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
124
|
+
border-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.button--warning.button--text:disabled {
|
|
128
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.button--warning.button--dashed:disabled {
|
|
132
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.button--warning.button--dashed:disabled::before {
|
|
136
|
+
border-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* Disabled styles by color - AI */
|
|
140
|
+
.button--ai.button--contained:disabled {
|
|
141
|
+
background: var(--color-primary-disabled, #d0d3db) !important;
|
|
142
|
+
color: var(--color-text-disabled, #9ca3af) !important;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.button--ai.button--outlined:disabled {
|
|
146
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
147
|
+
border-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.button--ai.button--text:disabled {
|
|
151
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.button--ai.button--dashed:disabled {
|
|
155
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.button--ai.button--dashed:disabled::before {
|
|
159
|
+
border-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* Special handling for legacy AI outlined variant */
|
|
49
163
|
.button--outlined-ai:disabled {
|
|
50
|
-
color: var(--color-primary-disabled);
|
|
51
|
-
|
|
164
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
165
|
+
opacity: 0.6;
|
|
52
166
|
}
|
|
53
167
|
|
|
54
168
|
.button--outlined-ai:disabled::before {
|
|
55
|
-
background: var(--color-primary-disabled);
|
|
169
|
+
background: var(--color-primary-disabled, #d0d3db) !important;
|
|
56
170
|
}
|
|
57
171
|
|
|
58
172
|
.button--outlined-ai:disabled .button-inner {
|
|
59
|
-
background: none;
|
|
60
|
-
color: var(--color-primary-disabled);
|
|
61
|
-
-webkit-text-fill-color: var(--color-primary-disabled);
|
|
62
|
-
-webkit-background-clip: border-box;
|
|
173
|
+
background: none !important;
|
|
174
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
175
|
+
-webkit-text-fill-color: var(--color-primary-disabled, #d0d3db) !important;
|
|
176
|
+
-webkit-background-clip: border-box !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.button--outlined-ai:disabled .out-ai {
|
|
180
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.button--outlined-ai:disabled .start-icon {
|
|
184
|
+
color: var(--color-primary-disabled, #d0d3db) !important;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* Remove all hover effects on disabled buttons */
|
|
188
|
+
button:disabled:hover {
|
|
189
|
+
background-color: inherit !important;
|
|
190
|
+
opacity: 0.6 !important;
|
|
191
|
+
transform: none !important;
|
|
63
192
|
}
|
|
64
193
|
|
|
65
194
|
/* Button Variants */
|
|
@@ -81,23 +210,187 @@ const buttonStyles = css `
|
|
|
81
210
|
background-color: var(--color-primary-dark, #5f9402);
|
|
82
211
|
}
|
|
83
212
|
|
|
84
|
-
|
|
213
|
+
/* Color variants */
|
|
214
|
+
.button--primary.button--contained {
|
|
215
|
+
color: #fff;
|
|
216
|
+
background-color: var(--color-primary-main, #76b703);
|
|
217
|
+
}
|
|
218
|
+
.button--primary.button--contained:not(:disabled):hover {
|
|
219
|
+
background-color: var(--color-primary-dark, #5f9402);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.button--primary.button--outlined {
|
|
223
|
+
color: var(--color-primary-main, #76b703);
|
|
224
|
+
border-color: var(--color-primary-main, #76b703);
|
|
225
|
+
}
|
|
226
|
+
.button--primary.button--outlined:not(:disabled):hover {
|
|
227
|
+
background-color: var(--color-primary-light, #f0fadf);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.button--primary.button--dashed {
|
|
231
|
+
color: var(--color-primary-main, #76b703);
|
|
232
|
+
}
|
|
233
|
+
.button--primary.button--dashed::before {
|
|
234
|
+
border-color: var(--color-primary-main, #76b703);
|
|
235
|
+
}
|
|
236
|
+
.button--primary.button--dashed:not(:disabled):hover {
|
|
237
|
+
background-color: var(--color-primary-light, #f0fadf);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.button--primary.button--text {
|
|
241
|
+
color: var(--color-primary-main, #76b703);
|
|
242
|
+
}
|
|
243
|
+
.button--primary.button--text:not(:disabled):hover {
|
|
244
|
+
background-color: var(--color-primary-light, #f0fadf);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.button--secondary.button--contained {
|
|
248
|
+
color: #fff;
|
|
249
|
+
background-color: var(--color-secondary-main, #6b7280);
|
|
250
|
+
}
|
|
251
|
+
.button--secondary.button--contained:not(:disabled):hover {
|
|
252
|
+
background-color: var(--color-secondary-dark, #4b5563);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.button--secondary.button--outlined {
|
|
256
|
+
color: var(--color-secondary-main, #6b7280);
|
|
257
|
+
border-color: var(--color-secondary-main, #6b7280);
|
|
258
|
+
}
|
|
259
|
+
.button--secondary.button--outlined:not(:disabled):hover {
|
|
260
|
+
background-color: var(--color-secondary-light, #f3f4f6);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.button--secondary.button--dashed {
|
|
264
|
+
color: var(--color-secondary-main, #6b7280);
|
|
265
|
+
}
|
|
266
|
+
.button--secondary.button--dashed::before {
|
|
267
|
+
border-color: var(--color-secondary-main, #6b7280);
|
|
268
|
+
}
|
|
269
|
+
.button--secondary.button--dashed:not(:disabled):hover {
|
|
270
|
+
background-color: var(--color-primary-light, #f3f4f6);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.button--secondary.button--text {
|
|
274
|
+
color: var(--color-secondary-main, #6b7280);
|
|
275
|
+
}
|
|
276
|
+
.button--secondary.button--text:not(:disabled):hover {
|
|
277
|
+
background-color: var(--color-primary-light, #f3f4f6);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.button--error.button--contained {
|
|
85
281
|
border: none;
|
|
86
282
|
color: var(--color-error-light, #ffd6cd);
|
|
87
283
|
background-color: var(--color-error-main, #ca2d0a);
|
|
88
284
|
}
|
|
285
|
+
.button--error.button--contained:not(:disabled):hover {
|
|
286
|
+
background-color: var(--color-error-dark, #a52103);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.button--error.button--outlined {
|
|
290
|
+
color: var(--color-error-main, #ca2d0a);
|
|
291
|
+
border-color: var(--color-error-main, #ca2d0a);
|
|
292
|
+
}
|
|
293
|
+
.button--error.button--outlined:not(:disabled):hover {
|
|
294
|
+
background-color: var(--color-error-light-bg, #ffeeed);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.button--error.button--dashed {
|
|
298
|
+
color: var(--color-error-main, #ca2d0a);
|
|
299
|
+
}
|
|
300
|
+
.button--error.button--dashed::before {
|
|
301
|
+
border-color: var(--color-error-main, #ca2d0a);
|
|
302
|
+
}
|
|
303
|
+
.button--error.button--dashed:not(:disabled):hover {
|
|
304
|
+
background-color: var(--color-error-light-bg, #ffeeed);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.button--error.button--text {
|
|
308
|
+
color: var(--color-error-main, #ca2d0a);
|
|
309
|
+
}
|
|
310
|
+
.button--error.button--text:not(:disabled):hover {
|
|
311
|
+
background-color: var(--color-error-light-bg, #ffeeed);
|
|
312
|
+
}
|
|
89
313
|
|
|
90
|
-
.button--error:not(:disabled):hover {
|
|
314
|
+
.button--error:not(.button--contained):not(.button--outlined):not(.button--dashed):not(.button--text):not(:disabled):hover {
|
|
91
315
|
background-color: var(--color-error-dark, #a52103);
|
|
92
316
|
}
|
|
93
317
|
|
|
94
|
-
.button--ai {
|
|
318
|
+
.button--ai.button--contained {
|
|
95
319
|
border: none;
|
|
96
320
|
color: #fff;
|
|
97
321
|
background: linear-gradient(to right, #573493, #e78047);
|
|
98
322
|
}
|
|
323
|
+
.button--ai.button--contained:not(:disabled):hover {
|
|
324
|
+
opacity: 80%;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.button--ai.button--outlined {
|
|
328
|
+
color: #573493;
|
|
329
|
+
border: 1px solid #573493;
|
|
330
|
+
background-color: var(--background-paper, #fff);
|
|
331
|
+
}
|
|
332
|
+
.button--ai.button--outlined:not(:disabled):hover {
|
|
333
|
+
background-color: rgba(87, 52, 147, 0.1);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.button--ai.button--dashed {
|
|
337
|
+
color: #573493;
|
|
338
|
+
}
|
|
339
|
+
.button--ai.button--dashed::before {
|
|
340
|
+
border-color: #573493;
|
|
341
|
+
}
|
|
342
|
+
.button--ai.button--dashed:not(:disabled):hover {
|
|
343
|
+
background-color: rgba(87, 52, 147, 0.1);
|
|
344
|
+
}
|
|
99
345
|
|
|
100
|
-
.button--ai
|
|
346
|
+
.button--ai.button--text {
|
|
347
|
+
color: #573493;
|
|
348
|
+
}
|
|
349
|
+
.button--ai.button--text:not(:disabled):hover {
|
|
350
|
+
background-color: rgba(87, 52, 147, 0.1);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.button--warning.button--contained {
|
|
354
|
+
border: none;
|
|
355
|
+
color: #fff;
|
|
356
|
+
background-color: var(--color-warning-main, #ff9500);
|
|
357
|
+
}
|
|
358
|
+
.button--warning.button--contained:not(:disabled):hover {
|
|
359
|
+
background-color: var(--color-warning-dark, #e68600);
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.button--warning.button--outlined {
|
|
363
|
+
color: var(--color-warning-main, #ff9500);
|
|
364
|
+
border-color: var(--color-warning-main, #ff9500);
|
|
365
|
+
}
|
|
366
|
+
.button--warning.button--outlined:not(:disabled):hover {
|
|
367
|
+
background-color: var(--color-warning-light-bg, #fff5e6);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.button--warning.button--dashed {
|
|
371
|
+
color: var(--color-warning-main, #ff9500);
|
|
372
|
+
}
|
|
373
|
+
.button--warning.button--dashed::before {
|
|
374
|
+
border-color: var(--color-warning-main, #ff9500);
|
|
375
|
+
}
|
|
376
|
+
.button--warning.button--dashed:not(:disabled):hover {
|
|
377
|
+
background-color: var(--color-warning-light-bg, #fff5e6);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.button--warning.button--text {
|
|
381
|
+
color: var(--color-warning-main, #ff9500);
|
|
382
|
+
}
|
|
383
|
+
.button--warning.button--text:not(:disabled):hover {
|
|
384
|
+
background-color: var(--color-warning-light-bg, #fff5e6);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/* Legacy AI support */
|
|
388
|
+
.button--ai:not(.button--contained):not(.button--outlined):not(.button--dashed):not(.button--text) {
|
|
389
|
+
border: none;
|
|
390
|
+
color: #fff;
|
|
391
|
+
background: linear-gradient(to right, #573493, #e78047);
|
|
392
|
+
}
|
|
393
|
+
.button--ai:not(.button--contained):not(.button--outlined):not(.button--dashed):not(.button--text):not(:disabled):hover {
|
|
101
394
|
opacity: 80%;
|
|
102
395
|
}
|
|
103
396
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-shared-styles.js","sourceRoot":"","sources":["../../../src/shared/styles/button-shared-styles.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,YAAY,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"button-shared-styles.js","sourceRoot":"","sources":["../../../src/shared/styles/button-shared-styles.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0evB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare function getOperatorsByColumnType(type:
|
|
1
|
+
export type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'doesNotContain' | 'isEmpty' | 'isNotEmpty' | 'in' | 'nin' | 'fromTo' | 'startsWith' | 'endsWith' | 'is' | 'not' | 'isAnyOfValue';
|
|
2
|
+
export type FieldType = 'string' | 'select' | 'number' | 'date' | 'multiselect';
|
|
3
|
+
export declare function getOperatorsByColumnType(type: FieldType): {
|
|
4
4
|
value: Operator;
|
|
5
5
|
label: string;
|
|
6
6
|
}[];
|
|
7
|
-
export declare function getDefaultOperator(type:
|
|
8
|
-
export declare function isAllowedType(type: string): type is
|
|
7
|
+
export declare function getDefaultOperator(type: FieldType): Operator;
|
|
8
|
+
export declare function isAllowedType(type: string): type is FieldType;
|
|
9
9
|
//# sourceMappingURL=getOperatorByType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOperatorByType.d.ts","sourceRoot":"","sources":["../../src/utils/getOperatorByType.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"getOperatorByType.d.ts","sourceRoot":"","sources":["../../src/utils/getOperatorByType.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,QAAQ,GACd,GAAG,GACH,IAAI,GACJ,GAAG,GACH,IAAI,GACJ,GAAG,GACH,IAAI,GACJ,UAAU,GACV,gBAAgB,GAChB,SAAS,GACT,YAAY,GACZ,IAAI,GACJ,KAAK,GACL,QAAQ,GACR,YAAY,GACZ,UAAU,GACV,IAAI,GACJ,KAAK,GACL,cAAc,CAAC;AAErB,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,aAAa,CAAC;AAEhF,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,SAAS,GAAG;IAAE,KAAK,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,CAkD9F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,SAAS,GAAG,QAAQ,CAa5D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,IAAI,SAAS,CAE7D"}
|
|
@@ -18,7 +18,11 @@ export function getOperatorsByColumnType(type) {
|
|
|
18
18
|
{ value: 'not', label: msg('Není') },
|
|
19
19
|
];
|
|
20
20
|
case 'multiselect':
|
|
21
|
-
return [
|
|
21
|
+
return [
|
|
22
|
+
{ value: 'isAnyOfValue', label: msg('Je libovolná hodnota z') },
|
|
23
|
+
{ label: msg('je prázdné'), value: 'isEmpty' },
|
|
24
|
+
{ label: msg('není prázdné'), value: 'isNotEmpty' },
|
|
25
|
+
];
|
|
22
26
|
case 'number':
|
|
23
27
|
return [
|
|
24
28
|
{ label: msg('rovná se'), value: '=' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOperatorByType.js","sourceRoot":"","sources":["../../src/utils/getOperatorByType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"getOperatorByType.js","sourceRoot":"","sources":["../../src/utils/getOperatorByType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAuBpC,MAAM,UAAU,wBAAwB,CAAC,IAAe;IACpD,QAAQ,IAAI,EAAE,CAAC;QACX,KAAK,QAAQ;YACT,OAAO;gBACH,EAAE,KAAK,EAAE,GAAG,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE;gBAC7C,EAAE,KAAK,EAAE,GA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C,CAAC;QACN;YACI,OAAO,EAAE,CAAC;IAClB,CAAC;AACL,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,IAAe;IAC9C,QAAQ,IAAI,EAAE,CAAC;QACX,KAAK,QAAQ;YACT,OAAO,UAAU,CAAC;QACtB,KAAK,QAAQ;YACT,OAAO,IAAI,CAAC;QAChB,KAAK,aAAa;YACd,OAAO,cAAc,CAAC;QAC1B,KAAK,QAAQ;YACT,OAAO,GAAG,CAAC;QACf,KAAK,MAAM;YACP,OAAO,GAAG,CAAC;IACnB,CAAC;AACL,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,IAAY;IACtC,OAAO,CAAC,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAChF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "overview-components",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.43",
|
|
4
4
|
"description": "A reusable design Lit components for case overview section.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"storybook": "storybook dev -p 6006",
|
|
25
25
|
"build-storybook": "storybook build",
|
|
26
26
|
"build": "rm -rf dist && vite build && tsc",
|
|
27
|
+
"typecheck": "tsc --noEmit",
|
|
27
28
|
"prepublishOnly": "npm run build",
|
|
28
29
|
"extract": "lit-localize extract --config=src/assets/lit-localize.json",
|
|
29
30
|
"build:localize": "lit-localize build --config=src/assets/lit-localize.json",
|
|
@@ -36,6 +37,7 @@
|
|
|
36
37
|
"@lit/localize": "^0.12.0",
|
|
37
38
|
"@tanstack/lit-table": "8.20.5",
|
|
38
39
|
"@tanstack/lit-virtual": "3.13.8",
|
|
40
|
+
"@tweakpane/core": "^2.0.5",
|
|
39
41
|
"air-datepicker": "^3.6.0",
|
|
40
42
|
"chart.js": "4.4.7",
|
|
41
43
|
"dotenv": "16.4.7",
|
|
@@ -46,7 +48,8 @@
|
|
|
46
48
|
"luxon": "3.5.0",
|
|
47
49
|
"node-fetch": "3.3.2",
|
|
48
50
|
"pdfjs-dist": "2.16.105",
|
|
49
|
-
"sortablejs": "1.15.6"
|
|
51
|
+
"sortablejs": "1.15.6",
|
|
52
|
+
"tweakpane": "^4.0.5"
|
|
50
53
|
},
|
|
51
54
|
"devDependencies": {
|
|
52
55
|
"@chromatic-com/storybook": "^1.9.0",
|