@sellmate/design-system-react 1.0.75 → 1.0.77
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 +22 -86
- package/dist/components/components.js +21 -130
- package/dist/components/components.server.d.ts +22 -86
- package/dist/components/components.server.js +21 -197
- package/dist/index.d.ts +1 -1
- package/lib/components/components.server.ts +33 -279
- package/lib/components/components.ts +33 -208
- package/lib/index.ts +0 -4
- package/package.json +2 -2
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
9
|
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
10
|
|
|
11
|
-
import { type CheckedType, type DateRangeValue, type DropdownButtonValue, type Event, type RadioValue, type Row, type SdBarcodeInputCustomEvent, type SdButtonCustomEvent, type SdButtonV2CustomEvent, type SdCheckboxCustomEvent, type SdDateRangePickerCustomEvent, type SdDropdownButtonCustomEvent, type SdFilePickerCustomEvent, type SdGhostButtonCustomEvent, type SdInputCustomEvent, type SdNumberInputCustomEvent, type SdRadioButtonCustomEvent, type SdRadioCustomEvent, type SdRadioGroupCustomEvent, type SdSelectCustomEvent, type
|
|
11
|
+
import { type CheckedType, type DateRangeValue, type DropdownButtonValue, type Event, type RadioValue, type Row, type SdBarcodeInputCustomEvent, type SdButtonCustomEvent, type SdButtonV2CustomEvent, type SdCheckboxCustomEvent, type SdDateRangePickerCustomEvent, type SdDropdownButtonCustomEvent, type SdFilePickerCustomEvent, type SdGhostButtonCustomEvent, type SdInputCustomEvent, type SdNumberInputCustomEvent, type SdRadioButtonCustomEvent, type SdRadioCustomEvent, type SdRadioGroupCustomEvent, type SdSelectCustomEvent, type SdSelectListItemCustomEvent, type SdSelectListboxCustomEvent, type SdTableColumn, type SdTableCustomEvent, type SdTextareaCustomEvent, type SdTheadCustomEvent, type SelectOption, type SelectOptionSelectDetail, type SelectValue } from "@sellmate/design-system";
|
|
12
12
|
import { SdActionModal as SdActionModalElement } from "@sellmate/design-system/dist/components/sd-action-modal.js";
|
|
13
13
|
import { SdBadge as SdBadgeElement } from "@sellmate/design-system/dist/components/sd-badge.js";
|
|
14
14
|
import { SdBarcodeInput as SdBarcodeInputElement } from "@sellmate/design-system/dist/components/sd-barcode-input.js";
|
|
@@ -43,22 +43,13 @@ import { SdNumberInput as SdNumberInputElement } from "@sellmate/design-system/d
|
|
|
43
43
|
import { SdPagination as SdPaginationElement } from "@sellmate/design-system/dist/components/sd-pagination.js";
|
|
44
44
|
import { SdPopover as SdPopoverElement } from "@sellmate/design-system/dist/components/sd-popover.js";
|
|
45
45
|
import { SdPortal as SdPortalElement } from "@sellmate/design-system/dist/components/sd-portal.js";
|
|
46
|
-
import { SdProgress as SdProgressElement } from "@sellmate/design-system/dist/components/sd-progress.js";
|
|
47
46
|
import { SdRadioButton as SdRadioButtonElement } from "@sellmate/design-system/dist/components/sd-radio-button.js";
|
|
48
47
|
import { SdRadioGroup as SdRadioGroupElement } from "@sellmate/design-system/dist/components/sd-radio-group.js";
|
|
49
48
|
import { SdRadio as SdRadioElement } from "@sellmate/design-system/dist/components/sd-radio.js";
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import { SdSelectOptionGroup as SdSelectOptionGroupElement } from "@sellmate/design-system/dist/components/sd-select-option-group.js";
|
|
55
|
-
import { SdSelectOption as SdSelectOptionElement } from "@sellmate/design-system/dist/components/sd-select-option.js";
|
|
56
|
-
import { SdSelectSearchInput as SdSelectSearchInputElement } from "@sellmate/design-system/dist/components/sd-select-search-input.js";
|
|
57
|
-
import { SdSelectV2ListItemSearch as SdSelectV2ListItemSearchElement } from "@sellmate/design-system/dist/components/sd-select-v2-list-item-search.js";
|
|
58
|
-
import { SdSelectV2ListItem as SdSelectV2ListItemElement } from "@sellmate/design-system/dist/components/sd-select-v2-list-item.js";
|
|
59
|
-
import { SdSelectV2Listbox as SdSelectV2ListboxElement } from "@sellmate/design-system/dist/components/sd-select-v2-listbox.js";
|
|
60
|
-
import { SdSelectV2Trigger as SdSelectV2TriggerElement } from "@sellmate/design-system/dist/components/sd-select-v2-trigger.js";
|
|
61
|
-
import { SdSelectV2 as SdSelectV2Element } from "@sellmate/design-system/dist/components/sd-select-v2.js";
|
|
49
|
+
import { SdSelectListItemSearch as SdSelectListItemSearchElement } from "@sellmate/design-system/dist/components/sd-select-list-item-search.js";
|
|
50
|
+
import { SdSelectListItem as SdSelectListItemElement } from "@sellmate/design-system/dist/components/sd-select-list-item.js";
|
|
51
|
+
import { SdSelectListbox as SdSelectListboxElement } from "@sellmate/design-system/dist/components/sd-select-listbox.js";
|
|
52
|
+
import { SdSelectTrigger as SdSelectTriggerElement } from "@sellmate/design-system/dist/components/sd-select-trigger.js";
|
|
62
53
|
import { SdSelect as SdSelectElement } from "@sellmate/design-system/dist/components/sd-select.js";
|
|
63
54
|
import { SdSwitch as SdSwitchElement } from "@sellmate/design-system/dist/components/sd-switch.js";
|
|
64
55
|
import { SdTable as SdTableElement } from "@sellmate/design-system/dist/components/sd-table.js";
|
|
@@ -74,7 +65,6 @@ import { SdToast as SdToastElement } from "@sellmate/design-system/dist/componen
|
|
|
74
65
|
import { SdToggle as SdToggleElement } from "@sellmate/design-system/dist/components/sd-toggle.js";
|
|
75
66
|
import { SdTooltip as SdTooltipElement } from "@sellmate/design-system/dist/components/sd-tooltip.js";
|
|
76
67
|
import { SdTr as SdTrElement } from "@sellmate/design-system/dist/components/sd-tr.js";
|
|
77
|
-
import { TableTest as TableTestElement } from "@sellmate/design-system/dist/components/table-test.js";
|
|
78
68
|
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
79
69
|
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
80
70
|
|
|
@@ -754,23 +744,6 @@ export const SdPortal: StencilReactComponent<SdPortalElement, SdPortalEvents> =
|
|
|
754
744
|
serializeShadowRoot,
|
|
755
745
|
});
|
|
756
746
|
|
|
757
|
-
export type SdProgressEvents = NonNullable<unknown>;
|
|
758
|
-
|
|
759
|
-
export const SdProgress: StencilReactComponent<SdProgressElement, SdProgressEvents> = /*@__PURE__*/ createComponent<SdProgressElement, SdProgressEvents>({
|
|
760
|
-
tagName: 'sd-progress',
|
|
761
|
-
properties: {
|
|
762
|
-
type: 'type',
|
|
763
|
-
error: 'error',
|
|
764
|
-
percentage: 'percentage',
|
|
765
|
-
size: 'size',
|
|
766
|
-
strokeWidth: 'stroke-width',
|
|
767
|
-
label: 'label'
|
|
768
|
-
},
|
|
769
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
770
|
-
clientModule: clientComponents.SdProgress as ReactWebComponent<SdProgressElement, SdProgressEvents>,
|
|
771
|
-
serializeShadowRoot,
|
|
772
|
-
});
|
|
773
|
-
|
|
774
747
|
export type SdRadioEvents = { onSdUpdate: EventName<SdRadioCustomEvent<RadioValue>> };
|
|
775
748
|
|
|
776
749
|
export const SdRadio: StencilReactComponent<SdRadioElement, SdRadioEvents> = /*@__PURE__*/ createComponent<SdRadioElement, SdRadioEvents>({
|
|
@@ -817,224 +790,12 @@ export const SdRadioGroup: StencilReactComponent<SdRadioGroupElement, SdRadioGro
|
|
|
817
790
|
});
|
|
818
791
|
|
|
819
792
|
export type SdSelectEvents = {
|
|
820
|
-
onSdUpdate: EventName<SdSelectCustomEvent<
|
|
821
|
-
onSdDropDownShow: EventName<
|
|
793
|
+
onSdUpdate: EventName<SdSelectCustomEvent<SelectValue>>,
|
|
794
|
+
onSdDropDownShow: EventName<CustomEvent<{ isOpen: boolean }>>
|
|
822
795
|
};
|
|
823
796
|
|
|
824
797
|
export const SdSelect: StencilReactComponent<SdSelectElement, SdSelectEvents> = /*@__PURE__*/ createComponent<SdSelectElement, SdSelectEvents>({
|
|
825
798
|
tagName: 'sd-select',
|
|
826
|
-
properties: {
|
|
827
|
-
value: 'value',
|
|
828
|
-
placeholder: 'placeholder',
|
|
829
|
-
optionPlaceholder: 'option-placeholder',
|
|
830
|
-
width: 'width',
|
|
831
|
-
dropdownHeight: 'dropdown-height',
|
|
832
|
-
autoFocus: 'auto-focus',
|
|
833
|
-
disabled: 'disabled',
|
|
834
|
-
clearable: 'clearable',
|
|
835
|
-
searchable: 'searchable',
|
|
836
|
-
label: 'label',
|
|
837
|
-
labelWidth: 'label-width',
|
|
838
|
-
addonLabel: 'addon-label',
|
|
839
|
-
addonAlign: 'addon-align',
|
|
840
|
-
labelTooltip: 'label-tooltip',
|
|
841
|
-
error: 'error',
|
|
842
|
-
name: 'name',
|
|
843
|
-
options: 'options',
|
|
844
|
-
rules: 'rules'},
|
|
845
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
846
|
-
clientModule: clientComponents.SdSelect as ReactWebComponent<SdSelectElement, SdSelectEvents>,
|
|
847
|
-
serializeShadowRoot,
|
|
848
|
-
});
|
|
849
|
-
|
|
850
|
-
export type SdSelectDropdownEvents = {
|
|
851
|
-
onSdOptionClick: EventName<SdSelectDropdownCustomEvent<{
|
|
852
|
-
option: SelectOption;
|
|
853
|
-
index: number;
|
|
854
|
-
event: MouseEvent;
|
|
855
|
-
}>>,
|
|
856
|
-
onSdOptionFiltered: EventName<SdSelectDropdownCustomEvent<SelectOption[]>>,
|
|
857
|
-
onSdScroll: EventName<SdSelectDropdownCustomEvent<Event>>
|
|
858
|
-
};
|
|
859
|
-
|
|
860
|
-
export const SdSelectDropdown: StencilReactComponent<SdSelectDropdownElement, SdSelectDropdownEvents> = /*@__PURE__*/ createComponent<SdSelectDropdownElement, SdSelectDropdownEvents>({
|
|
861
|
-
tagName: 'sd-select-dropdown',
|
|
862
|
-
properties: {
|
|
863
|
-
itemIndex: 'item-index',
|
|
864
|
-
value: 'value',
|
|
865
|
-
width: 'width',
|
|
866
|
-
dropdownHeight: 'dropdown-height',
|
|
867
|
-
searchable: 'searchable',
|
|
868
|
-
optionPlaceholder: 'option-placeholder',
|
|
869
|
-
useCheckbox: 'use-checkbox',
|
|
870
|
-
useAll: 'use-all',
|
|
871
|
-
options: 'options'},
|
|
872
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
873
|
-
clientModule: clientComponents.SdSelectDropdown as ReactWebComponent<SdSelectDropdownElement, SdSelectDropdownEvents>,
|
|
874
|
-
serializeShadowRoot,
|
|
875
|
-
});
|
|
876
|
-
|
|
877
|
-
export type SdSelectGroupEvents = {
|
|
878
|
-
onSdUpdate: EventName<SdSelectGroupCustomEvent<SelectEvents['sdUpdate']>>,
|
|
879
|
-
onSdDropDownShow: EventName<SdSelectGroupCustomEvent<SelectEvents['dropDownShow']>>
|
|
880
|
-
};
|
|
881
|
-
|
|
882
|
-
export const SdSelectGroup: StencilReactComponent<SdSelectGroupElement, SdSelectGroupEvents> = /*@__PURE__*/ createComponent<SdSelectGroupElement, SdSelectGroupEvents>({
|
|
883
|
-
tagName: 'sd-select-group',
|
|
884
|
-
properties: {
|
|
885
|
-
value: 'value',
|
|
886
|
-
placeholder: 'placeholder',
|
|
887
|
-
optionPlaceholder: 'option-placeholder',
|
|
888
|
-
width: 'width',
|
|
889
|
-
dropdownHeight: 'dropdown-height',
|
|
890
|
-
autoFocus: 'auto-focus',
|
|
891
|
-
disabled: 'disabled',
|
|
892
|
-
clearable: 'clearable',
|
|
893
|
-
searchable: 'searchable',
|
|
894
|
-
label: 'label',
|
|
895
|
-
labelWidth: 'label-width',
|
|
896
|
-
addonLabel: 'addon-label',
|
|
897
|
-
addonAlign: 'addon-align',
|
|
898
|
-
labelTooltip: 'label-tooltip',
|
|
899
|
-
error: 'error',
|
|
900
|
-
name: 'name',
|
|
901
|
-
options: 'options',
|
|
902
|
-
rules: 'rules'},
|
|
903
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
904
|
-
clientModule: clientComponents.SdSelectGroup as ReactWebComponent<SdSelectGroupElement, SdSelectGroupEvents>,
|
|
905
|
-
serializeShadowRoot,
|
|
906
|
-
});
|
|
907
|
-
|
|
908
|
-
export type SdSelectMultipleEvents = {
|
|
909
|
-
onSdUpdate: EventName<SdSelectMultipleCustomEvent<SelectMultipleEvents['sdUpdate']>>,
|
|
910
|
-
onSdDropDownShow: EventName<SdSelectMultipleCustomEvent<SelectMultipleEvents['dropDownShow']>>
|
|
911
|
-
};
|
|
912
|
-
|
|
913
|
-
export const SdSelectMultiple: StencilReactComponent<SdSelectMultipleElement, SdSelectMultipleEvents> = /*@__PURE__*/ createComponent<SdSelectMultipleElement, SdSelectMultipleEvents>({
|
|
914
|
-
tagName: 'sd-select-multiple',
|
|
915
|
-
properties: {
|
|
916
|
-
placeholder: 'placeholder',
|
|
917
|
-
optionPlaceholder: 'option-placeholder',
|
|
918
|
-
width: 'width',
|
|
919
|
-
dropdownHeight: 'dropdown-height',
|
|
920
|
-
autoFocus: 'auto-focus',
|
|
921
|
-
disabled: 'disabled',
|
|
922
|
-
clearable: 'clearable',
|
|
923
|
-
searchable: 'searchable',
|
|
924
|
-
useAll: 'use-all',
|
|
925
|
-
useCheckbox: 'use-checkbox',
|
|
926
|
-
label: 'label',
|
|
927
|
-
labelWidth: 'label-width',
|
|
928
|
-
labelTooltip: 'label-tooltip',
|
|
929
|
-
error: 'error',
|
|
930
|
-
value: 'value',
|
|
931
|
-
options: 'options',
|
|
932
|
-
rules: 'rules'},
|
|
933
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
934
|
-
clientModule: clientComponents.SdSelectMultiple as ReactWebComponent<SdSelectMultipleElement, SdSelectMultipleEvents>,
|
|
935
|
-
serializeShadowRoot,
|
|
936
|
-
});
|
|
937
|
-
|
|
938
|
-
export type SdSelectMultipleGroupEvents = {
|
|
939
|
-
onSdUpdate: EventName<SdSelectMultipleGroupCustomEvent<SelectMultipleEvents['sdUpdate']>>,
|
|
940
|
-
onSdDropDownShow: EventName<SdSelectMultipleGroupCustomEvent<SelectMultipleEvents['dropDownShow']>>
|
|
941
|
-
};
|
|
942
|
-
|
|
943
|
-
export const SdSelectMultipleGroup: StencilReactComponent<SdSelectMultipleGroupElement, SdSelectMultipleGroupEvents> = /*@__PURE__*/ createComponent<SdSelectMultipleGroupElement, SdSelectMultipleGroupEvents>({
|
|
944
|
-
tagName: 'sd-select-multiple-group',
|
|
945
|
-
properties: {
|
|
946
|
-
placeholder: 'placeholder',
|
|
947
|
-
optionPlaceholder: 'option-placeholder',
|
|
948
|
-
width: 'width',
|
|
949
|
-
dropdownHeight: 'dropdown-height',
|
|
950
|
-
disabled: 'disabled',
|
|
951
|
-
clearable: 'clearable',
|
|
952
|
-
searchable: 'searchable',
|
|
953
|
-
useCheckbox: 'use-checkbox',
|
|
954
|
-
useAll: 'use-all',
|
|
955
|
-
allCheckedLabel: 'all-checked-label',
|
|
956
|
-
allCheckOptionLabel: 'all-check-option-label',
|
|
957
|
-
label: 'label',
|
|
958
|
-
labelWidth: 'label-width',
|
|
959
|
-
labelTooltip: 'label-tooltip',
|
|
960
|
-
error: 'error',
|
|
961
|
-
value: 'value',
|
|
962
|
-
options: 'options',
|
|
963
|
-
rules: 'rules'},
|
|
964
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
965
|
-
clientModule: clientComponents.SdSelectMultipleGroup as ReactWebComponent<SdSelectMultipleGroupElement, SdSelectMultipleGroupEvents>,
|
|
966
|
-
serializeShadowRoot,
|
|
967
|
-
});
|
|
968
|
-
|
|
969
|
-
export type SdSelectOptionEvents = {
|
|
970
|
-
onOptionClick: EventName<SdSelectOptionCustomEvent<{
|
|
971
|
-
option: SelectOption;
|
|
972
|
-
index: number;
|
|
973
|
-
event: MouseEvent;
|
|
974
|
-
}>>
|
|
975
|
-
};
|
|
976
|
-
|
|
977
|
-
export const SdSelectOption: StencilReactComponent<SdSelectOptionElement, SdSelectOptionEvents> = /*@__PURE__*/ createComponent<SdSelectOptionElement, SdSelectOptionEvents>({
|
|
978
|
-
tagName: 'sd-select-option',
|
|
979
|
-
properties: {
|
|
980
|
-
index: 'index',
|
|
981
|
-
isSelected: 'is-selected',
|
|
982
|
-
isFocused: 'is-focused',
|
|
983
|
-
disabled: 'disabled',
|
|
984
|
-
useCheckbox: 'use-checkbox'
|
|
985
|
-
},
|
|
986
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
987
|
-
clientModule: clientComponents.SdSelectOption as ReactWebComponent<SdSelectOptionElement, SdSelectOptionEvents>,
|
|
988
|
-
serializeShadowRoot,
|
|
989
|
-
});
|
|
990
|
-
|
|
991
|
-
export type SdSelectOptionGroupEvents = {
|
|
992
|
-
onOptionClick: EventName<SdSelectOptionGroupCustomEvent<{
|
|
993
|
-
option: SelectOptionGroup;
|
|
994
|
-
isSelected: boolean | null;
|
|
995
|
-
index: number;
|
|
996
|
-
event: MouseEvent;
|
|
997
|
-
}>>
|
|
998
|
-
};
|
|
999
|
-
|
|
1000
|
-
export const SdSelectOptionGroup: StencilReactComponent<SdSelectOptionGroupElement, SdSelectOptionGroupEvents> = /*@__PURE__*/ createComponent<SdSelectOptionGroupElement, SdSelectOptionGroupEvents>({
|
|
1001
|
-
tagName: 'sd-select-option-group',
|
|
1002
|
-
properties: {
|
|
1003
|
-
index: 'index',
|
|
1004
|
-
isSelected: 'is-selected',
|
|
1005
|
-
isFocused: 'is-focused',
|
|
1006
|
-
disabled: 'disabled',
|
|
1007
|
-
useCheckbox: 'use-checkbox',
|
|
1008
|
-
useIndicator: 'use-indicator'
|
|
1009
|
-
},
|
|
1010
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1011
|
-
clientModule: clientComponents.SdSelectOptionGroup as ReactWebComponent<SdSelectOptionGroupElement, SdSelectOptionGroupEvents>,
|
|
1012
|
-
serializeShadowRoot,
|
|
1013
|
-
});
|
|
1014
|
-
|
|
1015
|
-
export type SdSelectSearchInputEvents = {
|
|
1016
|
-
onSdSearchInput: EventName<CustomEvent<string>>,
|
|
1017
|
-
onSdSearchFocus: EventName<CustomEvent<void>>
|
|
1018
|
-
};
|
|
1019
|
-
|
|
1020
|
-
export const SdSelectSearchInput: StencilReactComponent<SdSelectSearchInputElement, SdSelectSearchInputEvents> = /*@__PURE__*/ createComponent<SdSelectSearchInputElement, SdSelectSearchInputEvents>({
|
|
1021
|
-
tagName: 'sd-select-search-input',
|
|
1022
|
-
properties: {
|
|
1023
|
-
isScrolled: 'is-scrolled',
|
|
1024
|
-
searchText: 'search-text'
|
|
1025
|
-
},
|
|
1026
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1027
|
-
clientModule: clientComponents.SdSelectSearchInput as ReactWebComponent<SdSelectSearchInputElement, SdSelectSearchInputEvents>,
|
|
1028
|
-
serializeShadowRoot,
|
|
1029
|
-
});
|
|
1030
|
-
|
|
1031
|
-
export type SdSelectV2Events = {
|
|
1032
|
-
onSdUpdate: EventName<SdSelectV2CustomEvent<SelectV2Value>>,
|
|
1033
|
-
onSdDropDownShow: EventName<CustomEvent<{ isOpen: boolean }>>
|
|
1034
|
-
};
|
|
1035
|
-
|
|
1036
|
-
export const SdSelectV2: StencilReactComponent<SdSelectV2Element, SdSelectV2Events> = /*@__PURE__*/ createComponent<SdSelectV2Element, SdSelectV2Events>({
|
|
1037
|
-
tagName: 'sd-select-v2',
|
|
1038
799
|
properties: {
|
|
1039
800
|
type: 'type',
|
|
1040
801
|
value: 'value',
|
|
@@ -1052,18 +813,21 @@ export const SdSelectV2: StencilReactComponent<SdSelectV2Element, SdSelectV2Even
|
|
|
1052
813
|
labelTooltip: 'label-tooltip',
|
|
1053
814
|
emitValue: 'emit-value',
|
|
1054
815
|
width: 'width',
|
|
816
|
+
useSearch: 'use-search',
|
|
817
|
+
allSelectedLabel: 'all-selected-label',
|
|
818
|
+
useSelectAll: 'use-select-all',
|
|
1055
819
|
name: 'name',
|
|
1056
820
|
options: 'options',
|
|
1057
821
|
rules: 'rules'},
|
|
1058
822
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1059
|
-
clientModule: clientComponents.
|
|
823
|
+
clientModule: clientComponents.SdSelect as ReactWebComponent<SdSelectElement, SdSelectEvents>,
|
|
1060
824
|
serializeShadowRoot,
|
|
1061
825
|
});
|
|
1062
826
|
|
|
1063
|
-
export type
|
|
827
|
+
export type SdSelectListItemEvents = { onSdListItemClick: EventName<SdSelectListItemCustomEvent<SelectOption>> };
|
|
1064
828
|
|
|
1065
|
-
export const
|
|
1066
|
-
tagName: 'sd-select-
|
|
829
|
+
export const SdSelectListItem: StencilReactComponent<SdSelectListItemElement, SdSelectListItemEvents> = /*@__PURE__*/ createComponent<SdSelectListItemElement, SdSelectListItemEvents>({
|
|
830
|
+
tagName: 'sd-select-list-item',
|
|
1067
831
|
properties: {
|
|
1068
832
|
depth: 'depth',
|
|
1069
833
|
isSelected: 'is-selected',
|
|
@@ -1071,48 +835,50 @@ export const SdSelectV2ListItem: StencilReactComponent<SdSelectV2ListItemElement
|
|
|
1071
835
|
useCheckbox: 'use-checkbox'
|
|
1072
836
|
},
|
|
1073
837
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1074
|
-
clientModule: clientComponents.
|
|
838
|
+
clientModule: clientComponents.SdSelectListItem as ReactWebComponent<SdSelectListItemElement, SdSelectListItemEvents>,
|
|
1075
839
|
serializeShadowRoot,
|
|
1076
840
|
});
|
|
1077
841
|
|
|
1078
|
-
export type
|
|
842
|
+
export type SdSelectListItemSearchEvents = {
|
|
1079
843
|
onSdSearchFilter: EventName<CustomEvent<string>>,
|
|
1080
844
|
onSdSearchFocus: EventName<CustomEvent<void>>
|
|
1081
845
|
};
|
|
1082
846
|
|
|
1083
|
-
export const
|
|
1084
|
-
tagName: 'sd-select-
|
|
847
|
+
export const SdSelectListItemSearch: StencilReactComponent<SdSelectListItemSearchElement, SdSelectListItemSearchEvents> = /*@__PURE__*/ createComponent<SdSelectListItemSearchElement, SdSelectListItemSearchEvents>({
|
|
848
|
+
tagName: 'sd-select-list-item-search',
|
|
1085
849
|
properties: { isScrolled: 'is-scrolled' },
|
|
1086
850
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1087
|
-
clientModule: clientComponents.
|
|
851
|
+
clientModule: clientComponents.SdSelectListItemSearch as ReactWebComponent<SdSelectListItemSearchElement, SdSelectListItemSearchEvents>,
|
|
1088
852
|
serializeShadowRoot,
|
|
1089
853
|
});
|
|
1090
854
|
|
|
1091
|
-
export type
|
|
855
|
+
export type SdSelectListboxEvents = { onSdOptionSelect: EventName<SdSelectListboxCustomEvent<SelectOptionSelectDetail>> };
|
|
1092
856
|
|
|
1093
|
-
export const
|
|
1094
|
-
tagName: 'sd-select-
|
|
857
|
+
export const SdSelectListbox: StencilReactComponent<SdSelectListboxElement, SdSelectListboxEvents> = /*@__PURE__*/ createComponent<SdSelectListboxElement, SdSelectListboxEvents>({
|
|
858
|
+
tagName: 'sd-select-listbox',
|
|
1095
859
|
properties: {
|
|
1096
860
|
type: 'type',
|
|
1097
861
|
value: 'value',
|
|
1098
862
|
emitValue: 'emit-value',
|
|
863
|
+
useSearch: 'use-search',
|
|
864
|
+
useSelectAll: 'use-select-all',
|
|
1099
865
|
triggerWidth: 'trigger-width',
|
|
1100
866
|
maxWidth: 'max-width',
|
|
1101
867
|
maxHeight: 'max-height',
|
|
1102
868
|
options: 'options'},
|
|
1103
869
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1104
|
-
clientModule: clientComponents.
|
|
870
|
+
clientModule: clientComponents.SdSelectListbox as ReactWebComponent<SdSelectListboxElement, SdSelectListboxEvents>,
|
|
1105
871
|
serializeShadowRoot,
|
|
1106
872
|
});
|
|
1107
873
|
|
|
1108
|
-
export type
|
|
874
|
+
export type SdSelectTriggerEvents = {
|
|
1109
875
|
onSdTriggerClick: EventName<CustomEvent<void>>,
|
|
1110
876
|
onSdTriggerFocus: EventName<CustomEvent<void>>,
|
|
1111
877
|
onSdTriggerBlur: EventName<CustomEvent<void>>
|
|
1112
878
|
};
|
|
1113
879
|
|
|
1114
|
-
export const
|
|
1115
|
-
tagName: 'sd-select-
|
|
880
|
+
export const SdSelectTrigger: StencilReactComponent<SdSelectTriggerElement, SdSelectTriggerEvents> = /*@__PURE__*/ createComponent<SdSelectTriggerElement, SdSelectTriggerEvents>({
|
|
881
|
+
tagName: 'sd-select-trigger',
|
|
1116
882
|
properties: {
|
|
1117
883
|
displayText: 'display-text',
|
|
1118
884
|
placeholder: 'placeholder',
|
|
@@ -1120,7 +886,7 @@ export const SdSelectV2Trigger: StencilReactComponent<SdSelectV2TriggerElement,
|
|
|
1120
886
|
isOpen: 'is-open'
|
|
1121
887
|
},
|
|
1122
888
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1123
|
-
clientModule: clientComponents.
|
|
889
|
+
clientModule: clientComponents.SdSelectTrigger as ReactWebComponent<SdSelectTriggerElement, SdSelectTriggerEvents>,
|
|
1124
890
|
serializeShadowRoot,
|
|
1125
891
|
});
|
|
1126
892
|
|
|
@@ -1228,7 +994,9 @@ export const SdTd: StencilReactComponent<SdTdElement, SdTdEvents> = /*@__PURE__*
|
|
|
1228
994
|
properties: {
|
|
1229
995
|
field: 'field',
|
|
1230
996
|
rowKey: 'row-key',
|
|
1231
|
-
align: 'align'
|
|
997
|
+
align: 'align',
|
|
998
|
+
rowspan: 'rowspan',
|
|
999
|
+
colspan: 'colspan'
|
|
1232
1000
|
},
|
|
1233
1001
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1234
1002
|
clientModule: clientComponents.SdTd as ReactWebComponent<SdTdElement, SdTdEvents>,
|
|
@@ -1290,7 +1058,7 @@ export const SdTextarea: StencilReactComponent<SdTextareaElement, SdTextareaEven
|
|
|
1290
1058
|
serializeShadowRoot,
|
|
1291
1059
|
});
|
|
1292
1060
|
|
|
1293
|
-
export type SdTheadEvents =
|
|
1061
|
+
export type SdTheadEvents = { onSdColumnSort: EventName<SdTheadCustomEvent<{ column: SdTableColumn }>> };
|
|
1294
1062
|
|
|
1295
1063
|
export const SdThead: StencilReactComponent<SdTheadElement, SdTheadEvents> = /*@__PURE__*/ createComponent<SdTheadElement, SdTheadEvents>({
|
|
1296
1064
|
tagName: 'sd-thead',
|
|
@@ -1391,17 +1159,3 @@ export const SdTr: StencilReactComponent<SdTrElement, SdTrEvents> = /*@__PURE__*
|
|
|
1391
1159
|
clientModule: clientComponents.SdTr as ReactWebComponent<SdTrElement, SdTrEvents>,
|
|
1392
1160
|
serializeShadowRoot,
|
|
1393
1161
|
});
|
|
1394
|
-
|
|
1395
|
-
export type TableTestEvents = { onTableReady: EventName<CustomEvent<void>> };
|
|
1396
|
-
|
|
1397
|
-
export const TableTest: StencilReactComponent<TableTestElement, TableTestEvents> = /*@__PURE__*/ createComponent<TableTestElement, TableTestEvents>({
|
|
1398
|
-
tagName: 'table-test',
|
|
1399
|
-
properties: {
|
|
1400
|
-
bordered: 'bordered',
|
|
1401
|
-
striped: 'striped',
|
|
1402
|
-
columns: 'columns',
|
|
1403
|
-
rows: 'rows'},
|
|
1404
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1405
|
-
clientModule: clientComponents.TableTest as ReactWebComponent<TableTestElement, TableTestEvents>,
|
|
1406
|
-
serializeShadowRoot,
|
|
1407
|
-
});
|