@onereach/ui-components 2.69.1-beta.2095.0 → 2.69.1-beta.2099.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 (151) hide show
  1. package/dist/bundled/v2/{OrButton-66d37aff.js → OrButton-0e91a808.js} +1 -14
  2. package/dist/bundled/v2/{OrCard-58a1ba3e.js → OrCard-29116e1f.js} +2 -2
  3. package/dist/bundled/v2/OrCardCollection-953657a7.js +347 -0
  4. package/dist/bundled/v2/{OrConfirm-e1ca1422.js → OrConfirm-18c534df.js} +1 -1
  5. package/dist/bundled/v2/{OrSearch-9d402f56.js → OrSearch-a11b3621.js} +9 -3
  6. package/dist/bundled/v2/{OrSelect-1c9421ad.js → OrSelect-759b4410.js} +3 -3
  7. package/dist/bundled/v2/{OrSortHeader-396e6a7c.js → OrSortHeader-9932d28f.js} +2 -2
  8. package/dist/bundled/v2/components/index.d.ts +0 -1
  9. package/dist/bundled/v2/components/index.js +7 -8
  10. package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
  11. package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
  12. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +5 -0
  13. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +65 -39
  14. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
  15. package/dist/bundled/v2/components/or-card-collection-v3/constatnts.d.ts +4 -0
  16. package/dist/bundled/v2/components/or-card-collection-v3/index.js +7 -4
  17. package/dist/bundled/v2/components/or-card-collection-v3/types.d.ts +8 -3
  18. package/dist/bundled/v2/components/or-card-v3/index.js +1 -1
  19. package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
  20. package/dist/bundled/v2/components/or-search-v3/OrSearch.vue.d.ts +13 -0
  21. package/dist/bundled/v2/components/or-search-v3/index.js +1 -1
  22. package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -14
  23. package/dist/bundled/v2/components/or-select-v3/index.d.ts +0 -1
  24. package/dist/bundled/v2/components/or-select-v3/index.js +1 -1
  25. package/dist/bundled/v2/components/or-select-v3/types.d.ts +1 -1
  26. package/dist/bundled/v2/components/or-sort-header-v3/index.js +1 -1
  27. package/dist/bundled/v2/index.js +8 -9
  28. package/dist/bundled/v3/{OrButton-9640286b.js → OrButton-8ab33d9d.js} +2 -3
  29. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-06d8ead1.js → OrButton.vue_vue_type_script_lang-3718b300.js} +1 -13
  30. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-4debae8a.js +229 -0
  31. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-f1b81f00.js → OrConfirm.vue_vue_type_script_lang-85472b12.js} +2 -2
  32. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-ed78b21f.js → OrSearch.vue_vue_type_script_lang-0ae8a6dd.js} +8 -2
  33. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-d0626539.js → OrSelect.vue_vue_type_script_lang-dfadd12f.js} +2 -2
  34. package/dist/bundled/v3/components/index.d.ts +0 -1
  35. package/dist/bundled/v3/components/index.js +10 -11
  36. package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
  37. package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
  38. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +5 -0
  39. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +65 -39
  40. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
  41. package/dist/bundled/v3/components/or-card-collection-v3/constatnts.d.ts +4 -0
  42. package/dist/bundled/v3/components/or-card-collection-v3/index.js +11 -4
  43. package/dist/bundled/v3/components/or-card-collection-v3/types.d.ts +8 -3
  44. package/dist/bundled/v3/components/or-confirm-v3/index.js +3 -3
  45. package/dist/bundled/v3/components/or-search-v3/OrSearch.vue.d.ts +13 -0
  46. package/dist/bundled/v3/components/or-search-v3/index.js +1 -1
  47. package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +14 -14
  48. package/dist/bundled/v3/components/or-select-v3/index.d.ts +0 -1
  49. package/dist/bundled/v3/components/or-select-v3/index.js +1 -1
  50. package/dist/bundled/v3/components/or-select-v3/types.d.ts +1 -1
  51. package/dist/bundled/v3/index.js +300 -351
  52. package/dist/esm/v2/{OrButton-3d4fc9da.js → OrButton-357a5756.js} +1 -14
  53. package/dist/esm/v2/OrCardCollection-55e282a7.js +347 -0
  54. package/dist/esm/v2/{OrConfirm-ba3f8c45.js → OrConfirm-b0b2e43c.js} +1 -1
  55. package/dist/esm/v2/{OrSearch-ddb7c1fe.js → OrSearch-62d91301.js} +7 -1
  56. package/dist/esm/v2/{OrSelect-ca2510cd.js → OrSelect-ac382aa6.js} +3 -3
  57. package/dist/esm/v2/components/index.d.ts +0 -1
  58. package/dist/esm/v2/components/index.js +5 -6
  59. package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
  60. package/dist/esm/v2/components/or-button-v3/index.js +1 -1
  61. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +5 -0
  62. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +65 -39
  63. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
  64. package/dist/esm/v2/components/or-card-collection-v3/constatnts.d.ts +4 -0
  65. package/dist/esm/v2/components/or-card-collection-v3/index.js +7 -4
  66. package/dist/esm/v2/components/or-card-collection-v3/types.d.ts +8 -3
  67. package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
  68. package/dist/esm/v2/components/or-search-v3/OrSearch.vue.d.ts +13 -0
  69. package/dist/esm/v2/components/or-search-v3/index.js +1 -1
  70. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -14
  71. package/dist/esm/v2/components/or-select-v3/index.d.ts +0 -1
  72. package/dist/esm/v2/components/or-select-v3/index.js +1 -1
  73. package/dist/esm/v2/components/or-select-v3/types.d.ts +1 -1
  74. package/dist/esm/v2/index.js +5 -6
  75. package/dist/esm/v3/{OrButton-970ae320.js → OrButton-f4b9ee51.js} +2 -15
  76. package/dist/esm/v3/OrCardCollection-0c6da4b8.js +290 -0
  77. package/dist/esm/v3/{OrConfirm-7cb2f36b.js → OrConfirm-906427ef.js} +1 -1
  78. package/dist/esm/v3/{OrSearch-cdde55ce.js → OrSearch-aafb93b4.js} +7 -1
  79. package/dist/esm/v3/{OrSelect-bff22c7f.js → OrSelect-fee9c099.js} +3 -3
  80. package/dist/esm/v3/components/index.d.ts +0 -1
  81. package/dist/esm/v3/components/index.js +5 -6
  82. package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
  83. package/dist/esm/v3/components/or-button-v3/index.js +1 -1
  84. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +5 -0
  85. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +65 -39
  86. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
  87. package/dist/esm/v3/components/or-card-collection-v3/constatnts.d.ts +4 -0
  88. package/dist/esm/v3/components/or-card-collection-v3/index.js +7 -4
  89. package/dist/esm/v3/components/or-card-collection-v3/types.d.ts +8 -3
  90. package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
  91. package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +13 -0
  92. package/dist/esm/v3/components/or-search-v3/index.js +1 -1
  93. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +14 -14
  94. package/dist/esm/v3/components/or-select-v3/index.d.ts +0 -1
  95. package/dist/esm/v3/components/or-select-v3/index.js +1 -1
  96. package/dist/esm/v3/components/or-select-v3/types.d.ts +1 -1
  97. package/dist/esm/v3/index.js +5 -6
  98. package/package.json +1 -1
  99. package/src/components/index.ts +0 -1
  100. package/src/components/or-button-v3/OrButton.stories3.ts +0 -4
  101. package/src/components/or-button-v3/OrButton.vue +0 -6
  102. package/src/components/or-button-v3/styles.ts +1 -15
  103. package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +229 -28
  104. package/src/components/or-card-collection-v3/OrCardCollection.vue +119 -76
  105. package/src/components/or-card-collection-v3/OrCardCollectionView.vue2.vue +41 -0
  106. package/src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue +42 -0
  107. package/src/components/or-card-collection-v3/constatnts.ts +12 -0
  108. package/src/components/or-card-collection-v3/styles.ts +1 -1
  109. package/src/components/or-card-collection-v3/types.ts +9 -3
  110. package/src/components/or-search-v3/OrSearch.vue +7 -1
  111. package/src/components/or-select-v3/OrSelect.vue +3 -3
  112. package/src/components/or-select-v3/index.ts +0 -1
  113. package/src/components/or-select-v3/types.ts +1 -1
  114. package/dist/bundled/v2/OrCardCollection-a9a779ea.js +0 -228
  115. package/dist/bundled/v2/OrPagination-354e9abd.js +0 -296
  116. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  117. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
  118. package/dist/bundled/v2/components/or-pagination-v3/index.d.ts +0 -2
  119. package/dist/bundled/v2/components/or-pagination-v3/index.js +0 -20
  120. package/dist/bundled/v2/components/or-pagination-v3/styles.d.ts +0 -3
  121. package/dist/bundled/v2/components/or-pagination-v3/types.d.ts +0 -4
  122. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-3993a015.js +0 -164
  123. package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-ff22b11c.js +0 -180
  124. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  125. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
  126. package/dist/bundled/v3/components/or-pagination-v3/index.d.ts +0 -2
  127. package/dist/bundled/v3/components/or-pagination-v3/index.js +0 -22
  128. package/dist/bundled/v3/components/or-pagination-v3/styles.d.ts +0 -3
  129. package/dist/bundled/v3/components/or-pagination-v3/types.d.ts +0 -4
  130. package/dist/esm/v2/OrCardCollection-4f001551.js +0 -227
  131. package/dist/esm/v2/OrPagination-a56eb93b.js +0 -296
  132. package/dist/esm/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  133. package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
  134. package/dist/esm/v2/components/or-pagination-v3/index.d.ts +0 -2
  135. package/dist/esm/v2/components/or-pagination-v3/index.js +0 -18
  136. package/dist/esm/v2/components/or-pagination-v3/styles.d.ts +0 -3
  137. package/dist/esm/v2/components/or-pagination-v3/types.d.ts +0 -4
  138. package/dist/esm/v3/OrCardCollection-5a0febaf.js +0 -198
  139. package/dist/esm/v3/OrPagination-d351a13b.js +0 -257
  140. package/dist/esm/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  141. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
  142. package/dist/esm/v3/components/or-pagination-v3/index.d.ts +0 -2
  143. package/dist/esm/v3/components/or-pagination-v3/index.js +0 -17
  144. package/dist/esm/v3/components/or-pagination-v3/styles.d.ts +0 -3
  145. package/dist/esm/v3/components/or-pagination-v3/types.d.ts +0 -4
  146. package/src/components/or-pagination-v3/OrPagination.docs.mdx +0 -7
  147. package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -87
  148. package/src/components/or-pagination-v3/OrPagination.vue +0 -260
  149. package/src/components/or-pagination-v3/index.ts +0 -2
  150. package/src/components/or-pagination-v3/styles.ts +0 -30
  151. package/src/components/or-pagination-v3/types.ts +0 -4
@@ -1,87 +0,0 @@
1
- import { action } from '@storybook/addon-actions';
2
- import { Meta, StoryFn } from '@storybook/vue3';
3
- import { ref, watch } from 'vue-demi';
4
- import OrPaginationDocs from './OrPagination.docs.mdx';
5
- import OrPagination from './OrPagination.vue';
6
- import { PaginationModel } from './types';
7
-
8
- export default {
9
- title: 'Components/Pagination',
10
- component: OrPagination,
11
-
12
- argTypes: {
13
- // Props
14
- modelValue: {
15
- control: { type: 'text' },
16
- },
17
-
18
- value: { // TODO: Remove Vue 2 fallback
19
- table: { disable: true },
20
- },
21
-
22
- length: {
23
- control: { type: 'number' },
24
- },
25
-
26
- // Events
27
- 'update:modelValue': {
28
- table: { disable: true },
29
- },
30
-
31
- input: {
32
- table: { disable: true },
33
- },
34
- },
35
-
36
- parameters: {
37
- layout: 'centered',
38
-
39
- docs: {
40
- page: OrPaginationDocs,
41
- },
42
-
43
- design: {
44
- type: 'figma',
45
- url: 'https://www.figma.com/file/o7DdkaznUW2PtX4wiSuhhQ/Core?node-id=4063%3A35218&t=axoGLEPrByClXTTU-4',
46
- },
47
- },
48
- } as Meta<typeof OrPagination>;
49
-
50
- const Template: StoryFn<typeof OrPagination> = (args) => ({
51
- components: {
52
- OrPagination,
53
- },
54
-
55
- setup() {
56
- // State
57
- const model = ref<PaginationModel>();
58
-
59
- // Effects
60
- watch(model, (value) => {
61
- console.debug(value);
62
- });
63
-
64
- return {
65
- args,
66
- model,
67
- onUpdateModelValue: action('update:modelValue'),
68
- onInput: action('input'),
69
- };
70
- },
71
-
72
- template: `
73
- <OrPagination
74
- v-model="model"
75
- v-bind="args"
76
- @update:modelValue="onUpdateModelValue"
77
- @input="onInput"
78
- />
79
- `,
80
- });
81
-
82
- export const Default = Template.bind({});
83
-
84
- Default.args = {
85
- // Props
86
- length: 555,
87
- };
@@ -1,260 +0,0 @@
1
- <template>
2
- <div
3
- ref="root"
4
- v-bind="$attrs"
5
- :class="rootStyles"
6
- >
7
- <div :class="offsetControlStyles">
8
- <OrButton
9
- :variant="'link'"
10
- :color="'inherit'"
11
- :disabled="currentPage === firstPage"
12
- @click.stop="toPreviousPage()"
13
- >
14
- <OrIcon :icon="'keyboard_arrow_left'" />
15
- </OrButton>
16
-
17
- <OrButton
18
- v-for="(page, index) in buttonGroup"
19
- :key="index"
20
- :variant="'link'"
21
- :color="'inherit'"
22
- :activated="currentPage === page"
23
- @click.stop="typeof page === 'number' && toPage(page)"
24
- >
25
- {{ page }}
26
- </OrButton>
27
-
28
- <OrButton
29
- :variant="'link'"
30
- :color="'inherit'"
31
- :disabled="currentPage === lastPage"
32
- @click.stop="toNextPage()"
33
- >
34
- <OrIcon :icon="'keyboard_arrow_right'" />
35
- </OrButton>
36
- </div>
37
-
38
- <div :class="limitControlStyles">
39
- Per page:
40
-
41
- <OrButton
42
- ref="limitButton"
43
- :variant="'link'"
44
- :color="'inherit'"
45
- :activated="true"
46
- @click.stop="limitMenu.open()"
47
- >
48
- {{ currentLimit }} <OrIcon :icon="'arrow_drop_down'" />
49
- </OrButton>
50
-
51
- <OrMenu
52
- ref="limitMenu"
53
- :trigger="limitButtonRoot"
54
- >
55
- <OrMenuItem
56
- v-for="pageSize in pageSizeOptions"
57
- :key="pageSize"
58
- @click.stop="currentLimit = pageSize"
59
- >
60
- {{ pageSize }}
61
- </OrMenuItem>
62
- </OrMenu>
63
- </div>
64
- </div>
65
- </template>
66
-
67
- <script lang="ts">
68
- import { computed, defineComponent, PropType, ref } from 'vue-demi';
69
- import { useClassAttribute } from '../../hooks';
70
- import { OrButtonV3 as OrButton } from '../or-button-v3';
71
- import { OrIconV3 as OrIcon } from '../or-icon-v3';
72
- import { OrMenuItemV3 as OrMenuItem } from '../or-menu-item-v3';
73
- import { OrMenuV3 as OrMenu } from '../or-menu-v3';
74
- import { PaginationLimitControl, PaginationOffsetControl, PaginationRoot } from './styles';
75
- import { PaginationModel } from './types';
76
-
77
- export default defineComponent({
78
- name: 'OrPagination',
79
-
80
- components: {
81
- OrButton,
82
- OrIcon,
83
- OrMenu,
84
- OrMenuItem,
85
- },
86
-
87
- inheritAttrs: false,
88
-
89
- props: {
90
- modelValue: {
91
- type: Object as PropType<PaginationModel>,
92
- default: {} as PaginationModel,
93
- },
94
-
95
- value: { // TODO: Remove Vue 2 fallback
96
- type: Object as PropType<PaginationModel>,
97
- default: {} as PaginationModel,
98
- },
99
-
100
- length: {
101
- type: Number,
102
- required: true,
103
- },
104
-
105
- pageSizeOptions: {
106
- type: Array as PropType<number[]>,
107
- default: [50, 20, 10, 5] as number[],
108
- },
109
- },
110
-
111
- emits: [
112
- 'update:modelValue',
113
-
114
- 'input',
115
- ],
116
-
117
- expose: [
118
- 'root',
119
- ],
120
-
121
- setup(props, context) {
122
- // Refs
123
- const root = ref<HTMLElement>();
124
-
125
- const limitButton = ref<InstanceType<typeof OrButton>>();
126
- const limitButtonRoot = computed(() => limitButton.value?.root);
127
-
128
- const limitMenu = ref<InstanceType<typeof OrMenu>>();
129
- const limitMenuRoot = computed(() => limitMenu.value?.root);
130
-
131
- // Styles
132
- const classAttribute = useClassAttribute();
133
-
134
- const rootStyles = computed(() => [
135
- 'or-pagination',
136
- ...PaginationRoot,
137
- classAttribute.value,
138
- ]);
139
-
140
- const offsetControlStyles = computed(() => [
141
- ...PaginationOffsetControl,
142
- ]);
143
-
144
- const limitControlStyles = computed(() => [
145
- ...PaginationLimitControl,
146
- ]);
147
-
148
- // State
149
- const proxyModelValue = computed({
150
- get: () => {
151
- return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
152
- },
153
-
154
- set: (value) => {
155
- context.emit('input', value);
156
- context.emit('update:modelValue', value);
157
- },
158
- });
159
-
160
- const currentLimit = computed<number>({
161
- get: () => {
162
- return proxyModelValue.value.limit ?? props.pageSizeOptions[0];
163
- },
164
-
165
- set: (value) => {
166
- proxyModelValue.value = {
167
- limit: value,
168
- offset: currentOffset.value,
169
- };
170
- },
171
- });
172
-
173
- const currentOffset = computed<number>({
174
- get: () => {
175
- return proxyModelValue.value.offset ?? 0;
176
- },
177
-
178
- set: (value) => {
179
- proxyModelValue.value = {
180
- limit: currentLimit.value,
181
- offset: value,
182
- };
183
- },
184
- });
185
-
186
- const currentPage = computed<number>({
187
- get: () => {
188
- return Math.floor(currentOffset.value / currentLimit.value) + 1;
189
- },
190
-
191
- set: (value) => {
192
- currentOffset.value = (value - 1) * currentLimit.value;
193
- },
194
- });
195
-
196
- const firstPage = computed<number>(() => {
197
- return 1;
198
- });
199
-
200
- const lastPage = computed<number>(() => {
201
- return Math.ceil(props.length / currentLimit.value);
202
- });
203
-
204
- const buttonGroup = computed<(number | string)[]>(() => {
205
- return Array.from({ length: lastPage.value }, (_, index) => index + 1)
206
- .map((page) => {
207
- switch (true) {
208
- case page > firstPage.value && page < currentPage.value - 1:
209
- case page > currentPage.value + 1 && page < lastPage.value:
210
- return '…';
211
-
212
- default:
213
- return page;
214
- }
215
- })
216
- .reduce((accumulator, page) => {
217
- if (accumulator[accumulator.length - 1] === page) {
218
- return accumulator;
219
- }
220
-
221
- return [...accumulator, page];
222
- }, [] as (number | string)[]);
223
- });
224
-
225
- // Functions
226
- function toPreviousPage(): void {
227
- currentPage.value = currentPage.value - 1;
228
- }
229
-
230
- function toNextPage(): void {
231
- currentPage.value = currentPage.value + 1;
232
- }
233
-
234
- function toPage(page: number): void {
235
- currentPage.value = page;
236
- }
237
-
238
- return {
239
- root,
240
- limitButton,
241
- limitButtonRoot,
242
- limitMenu,
243
- limitMenuRoot,
244
- rootStyles,
245
- offsetControlStyles,
246
- limitControlStyles,
247
- proxyModelValue,
248
- currentLimit,
249
- currentOffset,
250
- currentPage,
251
- firstPage,
252
- lastPage,
253
- buttonGroup,
254
- toPreviousPage,
255
- toNextPage,
256
- toPage,
257
- };
258
- },
259
- });
260
- </script>
@@ -1,2 +0,0 @@
1
- export { default as OrPaginationV3 } from './OrPagination.vue';
2
- export * from './types';
@@ -1,30 +0,0 @@
1
- export const PaginationRoot: string[] = [
2
- // Layout
3
- 'layout-row',
4
-
5
- // Spacing
6
- 'gap-xl',
7
-
8
- // Typography
9
- 'typography-caption-regular',
10
-
11
- // Theme
12
- 'theme-foreground-outline',
13
- 'dark:theme-foreground-outline-dark',
14
- ];
15
-
16
- export const PaginationOffsetControl: string[] = [
17
- // Layout
18
- 'layout-row',
19
-
20
- // Spacing
21
- 'gap-md',
22
- ];
23
-
24
- export const PaginationLimitControl: string[] = [
25
- // Layout
26
- 'layout-row',
27
-
28
- // Spacing
29
- 'gap-sm',
30
- ];
@@ -1,4 +0,0 @@
1
- export interface PaginationModel {
2
- limit: number;
3
- offset: number;
4
- }