@vendure/admin-ui 2.0.6 → 2.1.0-next.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.
- package/core/common/generated-types.d.ts +83 -18
- package/core/common/version.d.ts +1 -1
- package/core/data/definitions/facet-definitions.d.ts +1 -0
- package/esm2022/catalog/components/collection-data-table/collection-data-table.component.mjs +2 -2
- package/esm2022/catalog/components/collection-detail/collection-detail.component.mjs +2 -2
- package/esm2022/catalog/components/collection-list/collection-list.component.mjs +2 -2
- package/esm2022/catalog/components/collection-tree/collection-tree-node.component.mjs +3 -3
- package/esm2022/catalog/components/facet-list/facet-list.component.mjs +8 -8
- package/esm2022/catalog/components/move-collections-dialog/move-collections-dialog.component.mjs +2 -2
- package/esm2022/catalog/components/product-detail/product-detail.component.mjs +2 -2
- package/esm2022/catalog/components/product-list/product-list.component.mjs +2 -2
- package/esm2022/catalog/components/product-variant-detail/product-variant-detail.component.mjs +2 -2
- package/esm2022/catalog/components/product-variant-list/product-variant-list.component.mjs +2 -2
- package/esm2022/catalog/components/product-variants-editor/product-variants-editor.component.mjs +1 -1
- package/esm2022/core/common/generated-types.mjs +8 -7
- package/esm2022/core/common/version.mjs +2 -2
- package/esm2022/core/components/app-shell/app-shell.component.mjs +2 -2
- package/esm2022/core/components/main-nav/main-nav.component.mjs +2 -2
- package/esm2022/core/components/settings-nav/settings-nav.component.mjs +2 -2
- package/esm2022/core/components/theme-switcher/theme-switcher.component.mjs +2 -2
- package/esm2022/core/components/user-menu/user-menu.component.mjs +2 -2
- package/esm2022/core/data/definitions/facet-definitions.mjs +24 -1
- package/esm2022/core/data/definitions/promotion-definitions.mjs +2 -1
- package/esm2022/core/data/providers/promotion-data.service.mjs +3 -1
- package/esm2022/core/shared/components/action-bar/action-bar.component.mjs +2 -2
- package/esm2022/core/shared/components/affixed-input/affixed-input.component.mjs +2 -2
- package/esm2022/core/shared/components/asset-gallery/asset-gallery.component.mjs +2 -2
- package/esm2022/core/shared/components/asset-preview/asset-preview.component.mjs +2 -2
- package/esm2022/core/shared/components/card/card.component.mjs +2 -2
- package/esm2022/core/shared/components/channel-assignment-control/channel-assignment-control.component.mjs +2 -2
- package/esm2022/core/shared/components/channel-badge/channel-badge.component.mjs +2 -2
- package/esm2022/core/shared/components/chip/chip.component.mjs +2 -2
- package/esm2022/core/shared/components/configurable-input/configurable-input.component.mjs +2 -2
- package/esm2022/core/shared/components/customer-label/customer-label.component.mjs +2 -2
- package/esm2022/core/shared/components/data-table-2/data-table-search.component.mjs +2 -2
- package/esm2022/core/shared/components/data-table-2/data-table2.component.mjs +2 -2
- package/esm2022/core/shared/components/data-table-filters/data-table-filters.component.mjs +2 -2
- package/esm2022/core/shared/components/datetime-picker/datetime-picker.component.mjs +2 -2
- package/esm2022/core/shared/components/dropdown/dropdown-menu.component.mjs +2 -2
- package/esm2022/core/shared/components/edit-note-dialog/edit-note-dialog.component.mjs +2 -2
- package/esm2022/core/shared/components/facet-value-chip/facet-value-chip.component.mjs +2 -2
- package/esm2022/core/shared/components/object-tree/object-tree.component.mjs +3 -3
- package/esm2022/core/shared/components/order-state-label/order-state-label.component.mjs +2 -2
- package/esm2022/core/shared/components/page-block/page-block.component.mjs +2 -2
- package/esm2022/core/shared/components/page-header/page-header.component.mjs +2 -2
- package/esm2022/core/shared/components/product-multi-selector-dialog/product-multi-selector-dialog.component.mjs +2 -2
- package/esm2022/core/shared/components/product-search-input/product-search-input.component.mjs +2 -2
- package/esm2022/core/shared/components/product-variant-selector/product-variant-selector.component.mjs +2 -2
- package/esm2022/core/shared/components/radio-card/radio-card.component.mjs +2 -2
- package/esm2022/core/shared/components/rich-text-editor/external-image-dialog/external-image-dialog.component.mjs +2 -2
- package/esm2022/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.component.mjs +2 -2
- package/esm2022/core/shared/components/rich-text-editor/rich-text-editor.component.mjs +2 -2
- package/esm2022/core/shared/components/select-toggle/select-toggle.component.mjs +2 -2
- package/esm2022/core/shared/components/split-view/split-view.component.mjs +2 -2
- package/esm2022/core/shared/components/timeline-entry/timeline-entry.component.mjs +2 -2
- package/esm2022/core/shared/dynamic-form-inputs/product-selector-form-input/product-selector-form-input.component.mjs +2 -2
- package/esm2022/customer/components/customer-detail/customer-detail.component.mjs +2 -2
- package/esm2022/customer/components/customer-history/customer-history.component.mjs +2 -2
- package/esm2022/login/components/login/login.component.mjs +2 -2
- package/esm2022/marketing/components/promotion-detail/promotion-detail.component.mjs +6 -3
- package/esm2022/marketing/components/promotion-list/promotion-list.component.mjs +11 -4
- package/esm2022/order/components/cancel-order-dialog/cancel-order-dialog.component.mjs +2 -2
- package/esm2022/order/components/fulfill-order-dialog/fulfill-order-dialog.component.mjs +2 -2
- package/esm2022/order/components/order-data-table/order-data-table.component.mjs +2 -2
- package/esm2022/order/components/order-editor/order-editor.component.mjs +2 -2
- package/esm2022/order/components/order-history/order-history.component.mjs +2 -2
- package/esm2022/order/components/order-payment-card/order-payment-card.component.mjs +2 -2
- package/esm2022/order/components/order-process-graph/order-process-node.component.mjs +2 -2
- package/esm2022/order/components/order-table/order-table.component.mjs +2 -2
- package/esm2022/order/components/refund-order-dialog/refund-order-dialog.component.mjs +2 -2
- package/esm2022/order/components/simple-item-list/simple-item-list.component.mjs +2 -2
- package/esm2022/settings/components/shipping-eligibility-test-result/shipping-eligibility-test-result.component.mjs +2 -2
- package/esm2022/settings/components/shipping-method-test-result/shipping-method-test-result.component.mjs +2 -2
- package/esm2022/settings/components/zone-list/zone-list.component.mjs +2 -2
- package/esm2022/system/components/health-check/health-check.component.mjs +2 -2
- package/esm2022/system/components/job-list/job-list.component.mjs +2 -2
- package/esm2022/system/components/job-state-label/job-state-label.component.mjs +2 -2
- package/fesm2022/vendure-admin-ui-catalog.mjs +25 -25
- package/fesm2022/vendure-admin-ui-catalog.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-core.mjs +109 -82
- package/fesm2022/vendure-admin-ui-core.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-customer.mjs +4 -4
- package/fesm2022/vendure-admin-ui-customer.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-login.mjs +2 -2
- package/fesm2022/vendure-admin-ui-login.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-marketing.mjs +15 -5
- package/fesm2022/vendure-admin-ui-marketing.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-order.mjs +20 -20
- package/fesm2022/vendure-admin-ui-order.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-settings.mjs +6 -6
- package/fesm2022/vendure-admin-ui-settings.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-system.mjs +6 -6
- package/fesm2022/vendure-admin-ui-system.mjs.map +1 -1
- package/marketing/components/promotion-detail/promotion-detail.component.d.ts +1 -0
- package/marketing/components/promotion-list/promotion-list.component.d.ts +1 -1
- package/package.json +8 -8
- package/static/i18n-messages/ar.json +777 -774
- package/static/i18n-messages/cs.json +777 -774
- package/static/i18n-messages/de.json +777 -774
- package/static/i18n-messages/en.json +777 -774
- package/static/i18n-messages/es.json +777 -774
- package/static/i18n-messages/fr.json +777 -774
- package/static/i18n-messages/he.json +777 -774
- package/static/i18n-messages/it.json +777 -774
- package/static/i18n-messages/pl.json +777 -774
- package/static/i18n-messages/pt_BR.json +777 -774
- package/static/i18n-messages/pt_PT.json +777 -774
- package/static/i18n-messages/ru.json +777 -774
- package/static/i18n-messages/uk.json +777 -774
- package/static/i18n-messages/zh_Hans.json +777 -774
- package/static/i18n-messages/zh_Hant.json +777 -774
- package/static/styles/_mixins.scss +3 -3
- package/static/styles/global/_forms.scss +2 -2
- package/static/styles/global/_global.scss +2 -2
- package/static/styles/global/_overrides.scss +1 -1
- package/static/styles/global/_utilities.scss +4 -4
- package/static/styles/rtl.scss +143 -0
- package/static/styles/styles.scss +2 -0
- package/static/theme.min.css +1 -1
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
tr th:first-of-type {
|
|
31
31
|
text-align: center;
|
|
32
32
|
@media screen and (min-width: $breakpoint-medium) {
|
|
33
|
-
padding-
|
|
34
|
-
text-align:
|
|
33
|
+
padding-inline-start: var(--surface-margin-left);
|
|
34
|
+
text-align: start;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
th:last-of-type,
|
|
39
39
|
td:last-of-type {
|
|
40
|
-
border-
|
|
40
|
+
border-inline-end: 1px solid var(--color-weight-200);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
tr:first-of-type th:last-of-type {
|
|
@@ -132,7 +132,7 @@ clr-input-container.expand {
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
select {
|
|
135
|
-
padding-
|
|
135
|
+
padding-inline-end: 24px !important;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.select::after,
|
|
@@ -171,7 +171,7 @@ select {
|
|
|
171
171
|
.ng-select.ng-select-single > .ng-select-container {
|
|
172
172
|
//padding-top: 9px;
|
|
173
173
|
input {
|
|
174
|
-
padding-
|
|
174
|
+
padding-inline-start: 0 !important;
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
.ng-select.ng-select-focused > .ng-select-container {
|
|
@@ -4,8 +4,8 @@ html, body:not([cds-text]) {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.page-block {
|
|
7
|
-
margin-
|
|
8
|
-
margin-
|
|
7
|
+
margin-inline-start: var(--surface-margin-left);
|
|
8
|
+
margin-inline-end: var(--space-unit);
|
|
9
9
|
margin-top: var(--space-unit);
|
|
10
10
|
max-width: var(--layout-content-max-width);
|
|
11
11
|
}
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.ml-auto {
|
|
40
|
-
margin-
|
|
40
|
+
margin-inline-start: auto;
|
|
41
41
|
}
|
|
42
42
|
.mr-auto {
|
|
43
|
-
margin-
|
|
43
|
+
margin-inline-end: auto;
|
|
44
44
|
}
|
|
45
45
|
.mx-auto {
|
|
46
|
-
margin-
|
|
47
|
-
margin-
|
|
46
|
+
margin-inline-start: auto;
|
|
47
|
+
margin-inline-end: auto;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
$spacings: (1, 2, 3, 4, 5, auto);
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
// This file contains overrides to handle specific layout/display issues when in a right-to-left language.
|
|
2
|
+
.app-container[dir="rtl"] {
|
|
3
|
+
.nav-group-header {
|
|
4
|
+
font-size: 20px !important;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.nav-link {
|
|
8
|
+
font-size: 16px !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.nav-link span {
|
|
12
|
+
margin-inline-end: 6px !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.section-header {
|
|
16
|
+
padding-inline-end: 16px !important;
|
|
17
|
+
padding-inline-start: 32px !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.dropdown-content-wrapper {
|
|
21
|
+
direction: rtl !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.dropdown-item {
|
|
25
|
+
padding-inline-end: 12px !important;
|
|
26
|
+
padding-inline-start: 12px !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.dropdown-item clr-icon {
|
|
30
|
+
margin-inline-start: 6px !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.login-wrapper-inner {
|
|
34
|
+
flex-direction: row-reverse;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.login-wrapper-form {
|
|
38
|
+
direction: rtl;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.dropdown-menu .dropdown-header {
|
|
42
|
+
text-align: end;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.button-small {
|
|
46
|
+
font-size: 14px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.flex .button-small {
|
|
50
|
+
margin-inline-start: 6px !important;
|
|
51
|
+
margin-inline-end: 6px !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.page-title h1 {
|
|
55
|
+
font-size: 26px;
|
|
56
|
+
margin-inline-end: 32px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.table thead tr th {
|
|
60
|
+
text-align: end !important;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.table thead tr th:first-child {
|
|
64
|
+
padding-inline-end: 48px !important;
|
|
65
|
+
padding-inline-start: 8px !important;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.table tbody tr td {
|
|
69
|
+
text-align: end !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.is-warning {
|
|
73
|
+
transform: rotate(360deg) scaleX(-1);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.modal-content {
|
|
77
|
+
direction: rtl;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
vdr-timeline-entry .entry .entry-body {
|
|
81
|
+
margin-right: 20px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
vdr-timeline-entry .entry .entry-body .name {
|
|
85
|
+
margin-right: 12px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.visible-toggle.clr-control-label {
|
|
89
|
+
margin-right: 30px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.clr-toggle-wrapper {
|
|
93
|
+
margin-right: 0;
|
|
94
|
+
margin-left: 0.6rem;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.clr-toggle-wrapper input[type=checkbox]:checked + label::before {
|
|
98
|
+
right: -42px !important;
|
|
99
|
+
left: 0 !important;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
.clr-toggle-wrapper input[type=checkbox]:not(:checked) + label {
|
|
104
|
+
&::before {
|
|
105
|
+
right: -2.1rem !important;
|
|
106
|
+
}
|
|
107
|
+
&::after {
|
|
108
|
+
right: -25px;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.header-title-row .ml-3 {
|
|
113
|
+
margin-right: 24px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.calendar-button {
|
|
117
|
+
border: 1px solid var(--color-weight-300) !important;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.selected-datetime {
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.input-wrapper input:not([type=checkbox]):not([type=radio]) {
|
|
126
|
+
border-bottom-left-radius: 0px !important;
|
|
127
|
+
border-bottom-right-radius: 4px !important;
|
|
128
|
+
border-top-left-radius: 0px !important;
|
|
129
|
+
border-top-right-radius: 4px !important;
|
|
130
|
+
border-inline-end: 1px solid var(--color-weight-300) !important;
|
|
131
|
+
border-inline-start: 0px !important;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.clr-toggle-wrapper .clr-control-label {
|
|
135
|
+
margin-right: 42px;
|
|
136
|
+
margin-left: 0px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
vdr-ab-left > clr-checkbox-wrapper {
|
|
140
|
+
margin-inline-end: 16px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
}
|