@sellmate/design-system-react 0.0.23 → 0.0.26

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.
@@ -1,23 +1,325 @@
1
1
  /**
2
- * This file exports all server-side React components for use with Next.js SSR.
3
- * These components support hydration with the @stencil/react-output-target SSR functionality.
2
+ * This file was automatically generated by the Stencil React Output Target.
3
+ * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
4
4
  */
5
5
  /* eslint-disable */
6
- export { SdBadge } from './sd-badge.server.js';
7
- export { SdButton } from './sd-button.server.js';
8
- export { SdCheckbox } from './sd-checkbox.server.js';
9
- export { SdDateBox } from './sd-date-box.server.js';
10
- export { SdDatePicker } from './sd-date-picker.server.js';
11
- export { SdDateRangePicker } from './sd-date-range-picker.server.js';
12
- export { SdGuide } from './sd-guide.server.js';
13
- export { SdIcon } from './sd-icon.server.js';
14
- export { SdInput } from './sd-input.server.js';
15
- export { SdPagination } from './sd-pagination.server.js';
16
- export { SdPopover } from './sd-popover.server.js';
17
- export { SdPortal } from './sd-portal.server.js';
18
- export { SdSelectOption } from './sd-select-option.server.js';
19
- export { SdSelect } from './sd-select.server.js';
20
- export { SdTable } from './sd-table.server.js';
21
- export { SdTag } from './sd-tag.server.js';
22
- export { SdTooltipPortal } from './sd-tooltip-portal.server.js';
23
- export { SdTooltip } from './sd-tooltip.server.js';
6
+ // @ts-ignore - ignore potential type issues as the project is importing itself
7
+ import * as clientComponents from '@sellmate/design-system-react';
8
+ import { createComponent } from '@stencil/react-output-target/ssr';
9
+ export const serializeShadowRoot = { default: "declarative-shadow-dom" };
10
+ export const SdBadge = /*@__PURE__*/ createComponent({
11
+ tagName: 'sd-badge',
12
+ properties: {
13
+ size: 'size',
14
+ color: 'color',
15
+ label: 'label'
16
+ },
17
+ hydrateModule: import('@sellmate/design-system/hydrate'),
18
+ clientModule: clientComponents.SdBadge,
19
+ serializeShadowRoot,
20
+ });
21
+ export const SdButton = /*@__PURE__*/ createComponent({
22
+ tagName: 'sd-button',
23
+ properties: {
24
+ variant: 'variant',
25
+ size: 'size',
26
+ color: 'color',
27
+ label: 'label',
28
+ disabled: 'disabled',
29
+ type: 'type',
30
+ icon: 'icon',
31
+ iconColor: 'icon-color',
32
+ iconSize: 'icon-size',
33
+ iconRight: 'icon-right',
34
+ noHover: 'no-hover',
35
+ class: 'class'
36
+ },
37
+ hydrateModule: import('@sellmate/design-system/hydrate'),
38
+ clientModule: clientComponents.SdButton,
39
+ serializeShadowRoot,
40
+ });
41
+ export const SdCard = /*@__PURE__*/ createComponent({
42
+ tagName: 'sd-card',
43
+ properties: {
44
+ bordered: 'bordered',
45
+ class: 'class'
46
+ },
47
+ hydrateModule: import('@sellmate/design-system/hydrate'),
48
+ clientModule: clientComponents.SdCard,
49
+ serializeShadowRoot,
50
+ });
51
+ export const SdCheckbox = /*@__PURE__*/ createComponent({
52
+ tagName: 'sd-checkbox',
53
+ properties: {
54
+ checked: 'checked',
55
+ val: 'val',
56
+ disabled: 'disabled',
57
+ label: 'label'
58
+ },
59
+ hydrateModule: import('@sellmate/design-system/hydrate'),
60
+ clientModule: clientComponents.SdCheckbox,
61
+ serializeShadowRoot,
62
+ });
63
+ export const SdDateBox = /*@__PURE__*/ createComponent({
64
+ tagName: 'sd-date-box',
65
+ properties: {
66
+ date: 'date',
67
+ disabled: 'disabled',
68
+ selected: 'selected',
69
+ isStartDate: 'is-start-date',
70
+ isEndDate: 'is-end-date',
71
+ isToday: 'is-today',
72
+ inRange: 'in-range',
73
+ type: 'type'
74
+ },
75
+ hydrateModule: import('@sellmate/design-system/hydrate'),
76
+ clientModule: clientComponents.SdDateBox,
77
+ serializeShadowRoot,
78
+ });
79
+ export const SdDatePicker = /*@__PURE__*/ createComponent({
80
+ tagName: 'sd-date-picker',
81
+ properties: {
82
+ date: 'date',
83
+ label: 'label',
84
+ disabled: 'disabled'
85
+ },
86
+ hydrateModule: import('@sellmate/design-system/hydrate'),
87
+ clientModule: clientComponents.SdDatePicker,
88
+ serializeShadowRoot,
89
+ });
90
+ export const SdDateRangePicker = /*@__PURE__*/ createComponent({
91
+ tagName: 'sd-date-range-picker',
92
+ properties: {
93
+ label: 'label',
94
+ maxRange: 'max-range',
95
+ disabled: 'disabled'
96
+ },
97
+ hydrateModule: import('@sellmate/design-system/hydrate'),
98
+ clientModule: clientComponents.SdDateRangePicker,
99
+ serializeShadowRoot,
100
+ });
101
+ export const SdGuide = /*@__PURE__*/ createComponent({
102
+ tagName: 'sd-guide',
103
+ properties: {
104
+ type: 'type',
105
+ label: 'label',
106
+ message: 'message',
107
+ guideUrl: 'guide-url',
108
+ popupWidth: 'popup-width'
109
+ },
110
+ hydrateModule: import('@sellmate/design-system/hydrate'),
111
+ clientModule: clientComponents.SdGuide,
112
+ serializeShadowRoot,
113
+ });
114
+ export const SdIcon = /*@__PURE__*/ createComponent({
115
+ tagName: 'sd-icon',
116
+ properties: {
117
+ name: 'name',
118
+ size: 'size',
119
+ color: 'color',
120
+ rotate: 'rotate',
121
+ label: 'label'
122
+ },
123
+ hydrateModule: import('@sellmate/design-system/hydrate'),
124
+ clientModule: clientComponents.SdIcon,
125
+ serializeShadowRoot,
126
+ });
127
+ export const SdInput = /*@__PURE__*/ createComponent({
128
+ tagName: 'sd-input',
129
+ properties: {
130
+ value: 'value',
131
+ label: 'label',
132
+ placeholder: 'placeholder',
133
+ disabled: 'disabled',
134
+ clearable: 'clearable',
135
+ width: 'width',
136
+ barcode: 'barcode',
137
+ autoFocus: 'auto-focus',
138
+ status: 'status',
139
+ inputClass: 'input-class',
140
+ readonly: 'readonly'
141
+ },
142
+ hydrateModule: import('@sellmate/design-system/hydrate'),
143
+ clientModule: clientComponents.SdInput,
144
+ serializeShadowRoot,
145
+ });
146
+ export const SdPagination = /*@__PURE__*/ createComponent({
147
+ tagName: 'sd-pagination',
148
+ properties: {
149
+ currentPage: 'current-page',
150
+ lastPage: 'last-page',
151
+ simple: 'simple'
152
+ },
153
+ hydrateModule: import('@sellmate/design-system/hydrate'),
154
+ clientModule: clientComponents.SdPagination,
155
+ serializeShadowRoot,
156
+ });
157
+ export const SdPopover = /*@__PURE__*/ createComponent({
158
+ tagName: 'sd-popover',
159
+ properties: {
160
+ show: 'show',
161
+ placement: 'placement',
162
+ color: 'color',
163
+ icon: 'icon',
164
+ iconSize: 'icon-size',
165
+ label: 'label',
166
+ buttonSize: 'button-size',
167
+ buttonVariant: 'button-variant',
168
+ menuTitle: 'title',
169
+ menuClass: 'menu-class',
170
+ noHover: 'no-hover',
171
+ useClose: 'use-close'
172
+ },
173
+ hydrateModule: import('@sellmate/design-system/hydrate'),
174
+ clientModule: clientComponents.SdPopover,
175
+ serializeShadowRoot,
176
+ });
177
+ export const SdPortal = /*@__PURE__*/ createComponent({
178
+ tagName: 'sd-portal',
179
+ properties: {
180
+ to: 'to',
181
+ zIndex: 'z-index',
182
+ open: 'open'
183
+ },
184
+ hydrateModule: import('@sellmate/design-system/hydrate'),
185
+ clientModule: clientComponents.SdPortal,
186
+ serializeShadowRoot,
187
+ });
188
+ export const SdSelect = /*@__PURE__*/ createComponent({
189
+ tagName: 'sd-select',
190
+ properties: {
191
+ value: 'value',
192
+ label: 'label',
193
+ placeholder: 'placeholder',
194
+ optionPlaceholder: 'option-placeholder',
195
+ width: 'width',
196
+ dropdownHeight: 'dropdown-height',
197
+ disabled: 'disabled',
198
+ clearable: 'clearable',
199
+ searchable: 'searchable'
200
+ },
201
+ hydrateModule: import('@sellmate/design-system/hydrate'),
202
+ clientModule: clientComponents.SdSelect,
203
+ serializeShadowRoot,
204
+ });
205
+ export const SdSelectMultiple = /*@__PURE__*/ createComponent({
206
+ tagName: 'sd-select-multiple',
207
+ properties: {
208
+ label: 'label',
209
+ placeholder: 'placeholder',
210
+ optionPlaceholder: 'option-placeholder',
211
+ width: 'width',
212
+ dropdownHeight: 'dropdown-height',
213
+ disabled: 'disabled',
214
+ clearable: 'clearable',
215
+ searchable: 'searchable',
216
+ useCheckbox: 'use-checkbox'
217
+ },
218
+ hydrateModule: import('@sellmate/design-system/hydrate'),
219
+ clientModule: clientComponents.SdSelectMultiple,
220
+ serializeShadowRoot,
221
+ });
222
+ export const SdSelectMultipleGroup = /*@__PURE__*/ createComponent({
223
+ tagName: 'sd-select-multiple-group',
224
+ properties: {
225
+ label: 'label',
226
+ placeholder: 'placeholder',
227
+ optionPlaceholder: 'option-placeholder',
228
+ width: 'width',
229
+ dropdownHeight: 'dropdown-height',
230
+ disabled: 'disabled',
231
+ clearable: 'clearable',
232
+ searchable: 'searchable',
233
+ useCheckbox: 'use-checkbox'
234
+ },
235
+ hydrateModule: import('@sellmate/design-system/hydrate'),
236
+ clientModule: clientComponents.SdSelectMultipleGroup,
237
+ serializeShadowRoot,
238
+ });
239
+ export const SdSelectOption = /*@__PURE__*/ createComponent({
240
+ tagName: 'sd-select-option',
241
+ properties: {
242
+ index: 'index',
243
+ isSelected: 'is-selected',
244
+ isFocused: 'is-focused',
245
+ disabled: 'disabled',
246
+ useCheckbox: 'use-checkbox'
247
+ },
248
+ hydrateModule: import('@sellmate/design-system/hydrate'),
249
+ clientModule: clientComponents.SdSelectOption,
250
+ serializeShadowRoot,
251
+ });
252
+ export const SdSelectOptionGroup = /*@__PURE__*/ createComponent({
253
+ tagName: 'sd-select-option-group',
254
+ properties: {
255
+ index: 'index',
256
+ isSelected: 'is-selected',
257
+ isFocused: 'is-focused',
258
+ disabled: 'disabled',
259
+ useCheckbox: 'use-checkbox',
260
+ useIndicator: 'use-indicator'
261
+ },
262
+ hydrateModule: import('@sellmate/design-system/hydrate'),
263
+ clientModule: clientComponents.SdSelectOptionGroup,
264
+ serializeShadowRoot,
265
+ });
266
+ export const SdTable = /*@__PURE__*/ createComponent({
267
+ tagName: 'sd-table',
268
+ properties: {
269
+ rowKey: 'row-key',
270
+ selectable: 'selectable',
271
+ resizable: 'resizable',
272
+ width: 'width',
273
+ height: 'height',
274
+ stickyHeader: 'sticky-header',
275
+ noDataLabel: 'no-data-label'
276
+ },
277
+ hydrateModule: import('@sellmate/design-system/hydrate'),
278
+ clientModule: clientComponents.SdTable,
279
+ serializeShadowRoot,
280
+ });
281
+ export const SdTag = /*@__PURE__*/ createComponent({
282
+ tagName: 'sd-tag',
283
+ properties: {
284
+ size: 'size',
285
+ color: 'color',
286
+ rounded: 'rounded',
287
+ label: 'label',
288
+ bgColor: 'bg-color',
289
+ textColor: 'text-color'
290
+ },
291
+ hydrateModule: import('@sellmate/design-system/hydrate'),
292
+ clientModule: clientComponents.SdTag,
293
+ serializeShadowRoot,
294
+ });
295
+ export const SdTooltip = /*@__PURE__*/ createComponent({
296
+ tagName: 'sd-tooltip',
297
+ properties: {
298
+ trigger: 'trigger',
299
+ placement: 'placement',
300
+ color: 'color',
301
+ type: 'type',
302
+ icon: 'icon',
303
+ iconSize: 'icon-size',
304
+ label: 'label',
305
+ buttonSize: 'button-size',
306
+ buttonVariant: 'button-variant',
307
+ noHover: 'no-hover',
308
+ useClose: 'use-close'
309
+ },
310
+ hydrateModule: import('@sellmate/design-system/hydrate'),
311
+ clientModule: clientComponents.SdTooltip,
312
+ serializeShadowRoot,
313
+ });
314
+ export const SdTooltipPortal = /*@__PURE__*/ createComponent({
315
+ tagName: 'sd-tooltip-portal',
316
+ properties: {
317
+ to: 'to',
318
+ zIndex: 'z-index',
319
+ placement: 'placement',
320
+ open: 'open'
321
+ },
322
+ hydrateModule: import('@sellmate/design-system/hydrate'),
323
+ clientModule: clientComponents.SdTooltipPortal,
324
+ serializeShadowRoot,
325
+ });