@eturnity/eturnity_reusable_components 9.37.6 → 9.37.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "9.37.6",
3
+ "version": "9.37.8",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -1,3 +1,3 @@
1
- <svg width="18" height="14" viewBox="0 0 18 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M0 10H8V8H0V10ZM0 14H8V12H0V14ZM0 6H8V4H0V6ZM0 0V2H8V0H0ZM10 0H18V14H10V0Z" fill="#263238"/>
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6.10173 4.00478L6.2033 4.02041L6.32537 4.05654C6.4437 4.09977 6.54918 4.16206 6.63396 4.20986L10.3342 6.2958C10.4241 6.34648 10.5383 6.40668 10.6408 6.49013L10.7385 6.58193L10.8058 6.66494C10.8686 6.75088 10.9173 6.84675 10.9504 6.94814C11.0059 7.11896 11.0002 7.30154 11.0002 7.44131V10.5751C11.7312 10.4363 12.4353 10.1182 13.0402 9.61904H12.3908C12.1478 9.61895 11.9505 9.42157 11.9504 9.17861C11.9505 8.93565 12.1478 8.73925 12.3908 8.73916H14.051C14.2938 8.73938 14.4912 8.93573 14.4914 9.17861V10.8397C14.491 11.0822 14.2943 11.2796 14.0519 11.2802C13.8088 11.2802 13.6106 11.0818 13.6105 10.8388V10.2899C12.841 10.9282 11.9356 11.3196 11.0002 11.4677V11.5585C11.0002 11.6982 11.0059 11.8809 10.9504 12.0517C10.9063 12.1869 10.8342 12.3123 10.7385 12.4179C10.6169 12.5517 10.454 12.6365 10.3342 12.704L6.63396 14.7899C6.521 14.8536 6.37183 14.9441 6.2033 14.9794C6.06959 15.0073 5.93076 15.0072 5.79705 14.9794C5.62847 14.9442 5.47941 14.8537 5.36638 14.7899L1.66619 12.704C1.54634 12.6364 1.38355 12.5518 1.26189 12.4179C1.16598 12.3122 1.09404 12.187 1.04998 12.0517C0.99439 11.8808 1.00017 11.6983 1.00017 11.5585V7.44131C1.00017 7.30155 0.994405 7.11896 1.04998 6.94814L1.08806 6.84853C1.13144 6.75148 1.19 6.66113 1.26189 6.58193L1.35955 6.49013C1.46209 6.40673 1.57631 6.34646 1.66619 6.2958L5.36638 4.20986C5.47939 4.14613 5.62853 4.05561 5.79705 4.02041L5.89861 4.00478C5.96599 3.99788 6.03436 3.99786 6.10173 4.00478ZM2.00017 11.5585C2.00017 11.6509 2.00007 11.6994 2.00212 11.7343C2.00229 11.7371 2.00198 11.7399 2.00212 11.7421C2.00376 11.7432 2.00591 11.7447 2.00798 11.746C2.03658 11.7645 2.07774 11.788 2.1574 11.8329L5.50017 13.7167V9.79092L2.00017 7.81826V11.5585ZM6.50017 9.79092V13.7167L9.84295 11.8329C9.92257 11.788 9.9638 11.7644 9.99236 11.746C9.99408 11.7448 9.99582 11.743 9.99724 11.7421C9.99743 11.7399 9.99805 11.7371 9.99822 11.7343C10.0003 11.6994 10.0002 11.6509 10.0002 11.5585V7.81826L6.50017 9.79092ZM5.85759 5.08095L2.51775 6.96279L6.00017 8.92568L9.48162 6.96279L6.14275 5.08095C6.06755 5.03857 6.02884 5.01688 6.00017 5.00283L5.85759 5.08095ZM6.6867 1.9247C8.81976 0.154882 11.9894 0.268855 13.9885 2.26748C15.2647 3.54401 15.7727 5.29907 15.5129 6.954C15.4749 7.19368 15.2497 7.35757 15.0099 7.32021C14.7699 7.28236 14.6061 7.05638 14.6437 6.81631C14.8616 5.42768 14.435 3.95945 13.3664 2.89052C11.6943 1.21849 9.04421 1.11953 7.25701 2.59463L7.9074 2.5956C8.15038 2.59581 8.34783 2.79301 8.34783 3.03603C8.34742 3.27871 8.15012 3.47626 7.9074 3.47646L6.24724 3.47549C6.00426 3.47535 5.80691 3.27804 5.80681 3.03506V1.3749C5.80702 1.13201 6.00433 0.935584 6.24724 0.935447C6.49009 0.935653 6.68746 1.13205 6.68767 1.3749L6.6867 1.9247Z" fill="#6F20DC"/>
3
3
  </svg>
@@ -67,7 +67,7 @@
67
67
  </ModalBody>
68
68
  <ModalButtonContainer>
69
69
  <MainButton
70
- :text="$gettext('Cancel')"
70
+ :text="$gettext('cancel')"
71
71
  type="tertiary"
72
72
  variant="cancel"
73
73
  @click="closeDeleteModal"
@@ -418,7 +418,7 @@
418
418
  },
419
419
  barOptionLabel(value) {
420
420
  if (this.barOptionsType === 'add')
421
- return `${this.$gettext('Add')} ${value}`
421
+ return `${this.$gettext('add')} ${value}`
422
422
 
423
423
  return `${this.$gettext('Remove')} ${value}`
424
424
  },
@@ -132,7 +132,7 @@
132
132
  </SearchContainer>
133
133
  <Spinner v-if="optionsLoading" size="small" />
134
134
  <EmptyText v-else-if="!optionsLoading && !optionItems.length">
135
- {{ emptyText ? emptyText : $gettext('No components found.') }}
135
+ {{ emptyText ? emptyText : $gettext('no_components_found') }}
136
136
  </EmptyText>
137
137
  <OptionsItem
138
138
  v-for="(item, index) in optionItems"
@@ -117,7 +117,7 @@ describe('TableDropdown', () => {
117
117
 
118
118
  it('shows the default empty text when there are no options', () => {
119
119
  const wrapper = mountDropdown({ isOpen: true, optionItems: [] })
120
- expect(wrapper.text()).toContain('No components found.')
120
+ expect(wrapper.text()).toContain('no_components_found')
121
121
  })
122
122
 
123
123
  it('shows a custom empty text when provided', () => {