@sellmate/design-system-react 1.17.0 → 1.18.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/dist/components/components.d.ts +1 -0
- package/dist/components/components.js +2 -1
- package/dist/components/components.server.d.ts +1 -0
- package/dist/components/components.server.js +6 -1
- package/lib/components/components.server.ts +8 -2
- package/lib/components/components.ts +4 -2
- package/package.json +2 -2
|
@@ -108,6 +108,7 @@ export type SdChipInputEvents = {
|
|
|
108
108
|
onSdUpdate: EventName<SdChipInputCustomEvent<string[]>>;
|
|
109
109
|
onSdFocus: EventName<SdChipInputCustomEvent<void>>;
|
|
110
110
|
onSdBlur: EventName<SdChipInputCustomEvent<void>>;
|
|
111
|
+
onSdInput: EventName<SdChipInputCustomEvent<string>>;
|
|
111
112
|
};
|
|
112
113
|
export declare const SdChipInput: StencilReactComponent<SdChipInputElement, SdChipInputEvents, Components.SdChipInput>;
|
|
113
114
|
export type SdCircleProgressEvents = NonNullable<unknown>;
|
|
@@ -155,7 +155,8 @@ export const SdChipInput = /*@__PURE__*/ createComponent({
|
|
|
155
155
|
events: {
|
|
156
156
|
onSdUpdate: 'sdUpdate',
|
|
157
157
|
onSdFocus: 'sdFocus',
|
|
158
|
-
onSdBlur: 'sdBlur'
|
|
158
|
+
onSdBlur: 'sdBlur',
|
|
159
|
+
onSdInput: 'sdInput'
|
|
159
160
|
},
|
|
160
161
|
defineCustomElement: defineSdChipInput
|
|
161
162
|
});
|
|
@@ -110,6 +110,7 @@ export type SdChipInputEvents = {
|
|
|
110
110
|
onSdUpdate: EventName<SdChipInputCustomEvent<string[]>>;
|
|
111
111
|
onSdFocus: EventName<SdChipInputCustomEvent<void>>;
|
|
112
112
|
onSdBlur: EventName<SdChipInputCustomEvent<void>>;
|
|
113
|
+
onSdInput: EventName<SdChipInputCustomEvent<string>>;
|
|
113
114
|
};
|
|
114
115
|
export declare const SdChipInput: StencilReactComponent<SdChipInputElement, SdChipInputEvents, Components.SdChipInput>;
|
|
115
116
|
export type SdCircleProgressEvents = NonNullable<unknown>;
|
|
@@ -134,6 +134,9 @@ export const SdChipInput = /*@__PURE__*/ createComponent({
|
|
|
134
134
|
name: 'name',
|
|
135
135
|
error: 'error',
|
|
136
136
|
useReset: 'use-reset',
|
|
137
|
+
maxCount: 'max-count',
|
|
138
|
+
loadingSuggestions: 'loading-suggestions',
|
|
139
|
+
loadingRecommendedItems: 'loading-recommended-items',
|
|
137
140
|
label: 'label',
|
|
138
141
|
labelWidth: 'label-width',
|
|
139
142
|
hint: 'hint',
|
|
@@ -144,7 +147,9 @@ export const SdChipInput = /*@__PURE__*/ createComponent({
|
|
|
144
147
|
values: 'values',
|
|
145
148
|
errors: 'errors',
|
|
146
149
|
disabledChips: 'disabledChips',
|
|
147
|
-
rules: 'rules'
|
|
150
|
+
rules: 'rules',
|
|
151
|
+
suggestions: 'suggestions',
|
|
152
|
+
recommendedItems: 'recommendedItems'
|
|
148
153
|
},
|
|
149
154
|
hydrateModule: import('@sellmate/design-system/hydrate'),
|
|
150
155
|
clientModule: clientComponents.SdChipInput,
|
|
@@ -239,7 +239,8 @@ export const SdChip: StencilReactComponent<SdChipElement, SdChipEvents, Componen
|
|
|
239
239
|
export type SdChipInputEvents = {
|
|
240
240
|
onSdUpdate: EventName<SdChipInputCustomEvent<string[]>>,
|
|
241
241
|
onSdFocus: EventName<SdChipInputCustomEvent<void>>,
|
|
242
|
-
onSdBlur: EventName<SdChipInputCustomEvent<void
|
|
242
|
+
onSdBlur: EventName<SdChipInputCustomEvent<void>>,
|
|
243
|
+
onSdInput: EventName<SdChipInputCustomEvent<string>>
|
|
243
244
|
};
|
|
244
245
|
|
|
245
246
|
export const SdChipInput: StencilReactComponent<SdChipInputElement, SdChipInputEvents, Components.SdChipInput> = /*@__PURE__*/ createComponent<SdChipInputElement, SdChipInputEvents, Components.SdChipInput>({
|
|
@@ -251,6 +252,9 @@ export const SdChipInput: StencilReactComponent<SdChipInputElement, SdChipInputE
|
|
|
251
252
|
name: 'name',
|
|
252
253
|
error: 'error',
|
|
253
254
|
useReset: 'use-reset',
|
|
255
|
+
maxCount: 'max-count',
|
|
256
|
+
loadingSuggestions: 'loading-suggestions',
|
|
257
|
+
loadingRecommendedItems: 'loading-recommended-items',
|
|
254
258
|
label: 'label',
|
|
255
259
|
labelWidth: 'label-width',
|
|
256
260
|
hint: 'hint',
|
|
@@ -261,7 +265,9 @@ export const SdChipInput: StencilReactComponent<SdChipInputElement, SdChipInputE
|
|
|
261
265
|
values: 'values',
|
|
262
266
|
errors: 'errors',
|
|
263
267
|
disabledChips: 'disabledChips',
|
|
264
|
-
rules: 'rules'
|
|
268
|
+
rules: 'rules',
|
|
269
|
+
suggestions: 'suggestions',
|
|
270
|
+
recommendedItems: 'recommendedItems'},
|
|
265
271
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
266
272
|
clientModule: clientComponents.SdChipInput as StencilReactComponent<SdChipInputElement, SdChipInputEvents, Components.SdChipInput>,
|
|
267
273
|
serializeShadowRoot
|
|
@@ -205,7 +205,8 @@ export const SdChip: StencilReactComponent<SdChipElement, SdChipEvents, Componen
|
|
|
205
205
|
export type SdChipInputEvents = {
|
|
206
206
|
onSdUpdate: EventName<SdChipInputCustomEvent<string[]>>,
|
|
207
207
|
onSdFocus: EventName<SdChipInputCustomEvent<void>>,
|
|
208
|
-
onSdBlur: EventName<SdChipInputCustomEvent<void
|
|
208
|
+
onSdBlur: EventName<SdChipInputCustomEvent<void>>,
|
|
209
|
+
onSdInput: EventName<SdChipInputCustomEvent<string>>
|
|
209
210
|
};
|
|
210
211
|
|
|
211
212
|
export const SdChipInput: StencilReactComponent<SdChipInputElement, SdChipInputEvents, Components.SdChipInput> = /*@__PURE__*/ createComponent<SdChipInputElement, SdChipInputEvents, Components.SdChipInput>({
|
|
@@ -216,7 +217,8 @@ export const SdChipInput: StencilReactComponent<SdChipInputElement, SdChipInputE
|
|
|
216
217
|
events: {
|
|
217
218
|
onSdUpdate: 'sdUpdate',
|
|
218
219
|
onSdFocus: 'sdFocus',
|
|
219
|
-
onSdBlur: 'sdBlur'
|
|
220
|
+
onSdBlur: 'sdBlur',
|
|
221
|
+
onSdInput: 'sdInput'
|
|
220
222
|
} as SdChipInputEvents,
|
|
221
223
|
defineCustomElement: defineSdChipInput
|
|
222
224
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellmate/design-system-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"description": "Design System - React Component Wrappers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"typecheck": "tsc --noEmit"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@sellmate/design-system": "^1.
|
|
58
|
+
"@sellmate/design-system": "^1.18.0",
|
|
59
59
|
"@stencil/react-output-target": "^1.2.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|