@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.
Files changed (119) hide show
  1. package/core/common/generated-types.d.ts +83 -18
  2. package/core/common/version.d.ts +1 -1
  3. package/core/data/definitions/facet-definitions.d.ts +1 -0
  4. package/esm2022/catalog/components/collection-data-table/collection-data-table.component.mjs +2 -2
  5. package/esm2022/catalog/components/collection-detail/collection-detail.component.mjs +2 -2
  6. package/esm2022/catalog/components/collection-list/collection-list.component.mjs +2 -2
  7. package/esm2022/catalog/components/collection-tree/collection-tree-node.component.mjs +3 -3
  8. package/esm2022/catalog/components/facet-list/facet-list.component.mjs +8 -8
  9. package/esm2022/catalog/components/move-collections-dialog/move-collections-dialog.component.mjs +2 -2
  10. package/esm2022/catalog/components/product-detail/product-detail.component.mjs +2 -2
  11. package/esm2022/catalog/components/product-list/product-list.component.mjs +2 -2
  12. package/esm2022/catalog/components/product-variant-detail/product-variant-detail.component.mjs +2 -2
  13. package/esm2022/catalog/components/product-variant-list/product-variant-list.component.mjs +2 -2
  14. package/esm2022/catalog/components/product-variants-editor/product-variants-editor.component.mjs +1 -1
  15. package/esm2022/core/common/generated-types.mjs +8 -7
  16. package/esm2022/core/common/version.mjs +2 -2
  17. package/esm2022/core/components/app-shell/app-shell.component.mjs +2 -2
  18. package/esm2022/core/components/main-nav/main-nav.component.mjs +2 -2
  19. package/esm2022/core/components/settings-nav/settings-nav.component.mjs +2 -2
  20. package/esm2022/core/components/theme-switcher/theme-switcher.component.mjs +2 -2
  21. package/esm2022/core/components/user-menu/user-menu.component.mjs +2 -2
  22. package/esm2022/core/data/definitions/facet-definitions.mjs +24 -1
  23. package/esm2022/core/data/definitions/promotion-definitions.mjs +2 -1
  24. package/esm2022/core/data/providers/promotion-data.service.mjs +3 -1
  25. package/esm2022/core/shared/components/action-bar/action-bar.component.mjs +2 -2
  26. package/esm2022/core/shared/components/affixed-input/affixed-input.component.mjs +2 -2
  27. package/esm2022/core/shared/components/asset-gallery/asset-gallery.component.mjs +2 -2
  28. package/esm2022/core/shared/components/asset-preview/asset-preview.component.mjs +2 -2
  29. package/esm2022/core/shared/components/card/card.component.mjs +2 -2
  30. package/esm2022/core/shared/components/channel-assignment-control/channel-assignment-control.component.mjs +2 -2
  31. package/esm2022/core/shared/components/channel-badge/channel-badge.component.mjs +2 -2
  32. package/esm2022/core/shared/components/chip/chip.component.mjs +2 -2
  33. package/esm2022/core/shared/components/configurable-input/configurable-input.component.mjs +2 -2
  34. package/esm2022/core/shared/components/customer-label/customer-label.component.mjs +2 -2
  35. package/esm2022/core/shared/components/data-table-2/data-table-search.component.mjs +2 -2
  36. package/esm2022/core/shared/components/data-table-2/data-table2.component.mjs +2 -2
  37. package/esm2022/core/shared/components/data-table-filters/data-table-filters.component.mjs +2 -2
  38. package/esm2022/core/shared/components/datetime-picker/datetime-picker.component.mjs +2 -2
  39. package/esm2022/core/shared/components/dropdown/dropdown-menu.component.mjs +2 -2
  40. package/esm2022/core/shared/components/edit-note-dialog/edit-note-dialog.component.mjs +2 -2
  41. package/esm2022/core/shared/components/facet-value-chip/facet-value-chip.component.mjs +2 -2
  42. package/esm2022/core/shared/components/object-tree/object-tree.component.mjs +3 -3
  43. package/esm2022/core/shared/components/order-state-label/order-state-label.component.mjs +2 -2
  44. package/esm2022/core/shared/components/page-block/page-block.component.mjs +2 -2
  45. package/esm2022/core/shared/components/page-header/page-header.component.mjs +2 -2
  46. package/esm2022/core/shared/components/product-multi-selector-dialog/product-multi-selector-dialog.component.mjs +2 -2
  47. package/esm2022/core/shared/components/product-search-input/product-search-input.component.mjs +2 -2
  48. package/esm2022/core/shared/components/product-variant-selector/product-variant-selector.component.mjs +2 -2
  49. package/esm2022/core/shared/components/radio-card/radio-card.component.mjs +2 -2
  50. package/esm2022/core/shared/components/rich-text-editor/external-image-dialog/external-image-dialog.component.mjs +2 -2
  51. package/esm2022/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.component.mjs +2 -2
  52. package/esm2022/core/shared/components/rich-text-editor/rich-text-editor.component.mjs +2 -2
  53. package/esm2022/core/shared/components/select-toggle/select-toggle.component.mjs +2 -2
  54. package/esm2022/core/shared/components/split-view/split-view.component.mjs +2 -2
  55. package/esm2022/core/shared/components/timeline-entry/timeline-entry.component.mjs +2 -2
  56. package/esm2022/core/shared/dynamic-form-inputs/product-selector-form-input/product-selector-form-input.component.mjs +2 -2
  57. package/esm2022/customer/components/customer-detail/customer-detail.component.mjs +2 -2
  58. package/esm2022/customer/components/customer-history/customer-history.component.mjs +2 -2
  59. package/esm2022/login/components/login/login.component.mjs +2 -2
  60. package/esm2022/marketing/components/promotion-detail/promotion-detail.component.mjs +6 -3
  61. package/esm2022/marketing/components/promotion-list/promotion-list.component.mjs +11 -4
  62. package/esm2022/order/components/cancel-order-dialog/cancel-order-dialog.component.mjs +2 -2
  63. package/esm2022/order/components/fulfill-order-dialog/fulfill-order-dialog.component.mjs +2 -2
  64. package/esm2022/order/components/order-data-table/order-data-table.component.mjs +2 -2
  65. package/esm2022/order/components/order-editor/order-editor.component.mjs +2 -2
  66. package/esm2022/order/components/order-history/order-history.component.mjs +2 -2
  67. package/esm2022/order/components/order-payment-card/order-payment-card.component.mjs +2 -2
  68. package/esm2022/order/components/order-process-graph/order-process-node.component.mjs +2 -2
  69. package/esm2022/order/components/order-table/order-table.component.mjs +2 -2
  70. package/esm2022/order/components/refund-order-dialog/refund-order-dialog.component.mjs +2 -2
  71. package/esm2022/order/components/simple-item-list/simple-item-list.component.mjs +2 -2
  72. package/esm2022/settings/components/shipping-eligibility-test-result/shipping-eligibility-test-result.component.mjs +2 -2
  73. package/esm2022/settings/components/shipping-method-test-result/shipping-method-test-result.component.mjs +2 -2
  74. package/esm2022/settings/components/zone-list/zone-list.component.mjs +2 -2
  75. package/esm2022/system/components/health-check/health-check.component.mjs +2 -2
  76. package/esm2022/system/components/job-list/job-list.component.mjs +2 -2
  77. package/esm2022/system/components/job-state-label/job-state-label.component.mjs +2 -2
  78. package/fesm2022/vendure-admin-ui-catalog.mjs +25 -25
  79. package/fesm2022/vendure-admin-ui-catalog.mjs.map +1 -1
  80. package/fesm2022/vendure-admin-ui-core.mjs +109 -82
  81. package/fesm2022/vendure-admin-ui-core.mjs.map +1 -1
  82. package/fesm2022/vendure-admin-ui-customer.mjs +4 -4
  83. package/fesm2022/vendure-admin-ui-customer.mjs.map +1 -1
  84. package/fesm2022/vendure-admin-ui-login.mjs +2 -2
  85. package/fesm2022/vendure-admin-ui-login.mjs.map +1 -1
  86. package/fesm2022/vendure-admin-ui-marketing.mjs +15 -5
  87. package/fesm2022/vendure-admin-ui-marketing.mjs.map +1 -1
  88. package/fesm2022/vendure-admin-ui-order.mjs +20 -20
  89. package/fesm2022/vendure-admin-ui-order.mjs.map +1 -1
  90. package/fesm2022/vendure-admin-ui-settings.mjs +6 -6
  91. package/fesm2022/vendure-admin-ui-settings.mjs.map +1 -1
  92. package/fesm2022/vendure-admin-ui-system.mjs +6 -6
  93. package/fesm2022/vendure-admin-ui-system.mjs.map +1 -1
  94. package/marketing/components/promotion-detail/promotion-detail.component.d.ts +1 -0
  95. package/marketing/components/promotion-list/promotion-list.component.d.ts +1 -1
  96. package/package.json +8 -8
  97. package/static/i18n-messages/ar.json +777 -774
  98. package/static/i18n-messages/cs.json +777 -774
  99. package/static/i18n-messages/de.json +777 -774
  100. package/static/i18n-messages/en.json +777 -774
  101. package/static/i18n-messages/es.json +777 -774
  102. package/static/i18n-messages/fr.json +777 -774
  103. package/static/i18n-messages/he.json +777 -774
  104. package/static/i18n-messages/it.json +777 -774
  105. package/static/i18n-messages/pl.json +777 -774
  106. package/static/i18n-messages/pt_BR.json +777 -774
  107. package/static/i18n-messages/pt_PT.json +777 -774
  108. package/static/i18n-messages/ru.json +777 -774
  109. package/static/i18n-messages/uk.json +777 -774
  110. package/static/i18n-messages/zh_Hans.json +777 -774
  111. package/static/i18n-messages/zh_Hant.json +777 -774
  112. package/static/styles/_mixins.scss +3 -3
  113. package/static/styles/global/_forms.scss +2 -2
  114. package/static/styles/global/_global.scss +2 -2
  115. package/static/styles/global/_overrides.scss +1 -1
  116. package/static/styles/global/_utilities.scss +4 -4
  117. package/static/styles/rtl.scss +143 -0
  118. package/static/styles/styles.scss +2 -0
  119. 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-left: var(--surface-margin-left);
34
- text-align: left;
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-right: 1px solid var(--color-weight-200);
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-right: 24px !important;
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-left: 0 !important;
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-left: var(--surface-margin-left);
8
- margin-right: var(--space-unit);
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
  }
@@ -63,7 +63,7 @@ button:focus {
63
63
 
64
64
  .full-label,
65
65
  .compact-label {
66
- margin-left: 6px;
66
+ margin-inline-start: 6px;
67
67
  }
68
68
 
69
69
  .full-label {
@@ -37,14 +37,14 @@
37
37
  }
38
38
 
39
39
  .ml-auto {
40
- margin-left: auto;
40
+ margin-inline-start: auto;
41
41
  }
42
42
  .mr-auto {
43
- margin-right: auto;
43
+ margin-inline-end: auto;
44
44
  }
45
45
  .mx-auto {
46
- margin-left: auto;
47
- margin-right: auto;
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
+ }
@@ -12,3 +12,5 @@
12
12
 
13
13
  @import 'theme/default';
14
14
  @import 'theme/dark';
15
+
16
+ @import "rtl";