@scouterna/ui-react 2.2.7 → 3.0.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.
|
@@ -67,7 +67,8 @@ export const ScoutCheckbox = /*@__PURE__*/ createComponent({
|
|
|
67
67
|
events: {
|
|
68
68
|
onScoutInputChange: 'scoutInputChange',
|
|
69
69
|
onScoutBlur: 'scoutBlur',
|
|
70
|
-
|
|
70
|
+
onScoutValidate: 'scoutValidate',
|
|
71
|
+
on_scoutValidityChanged: '_scoutValidityChanged',
|
|
71
72
|
on_scoutInvalid: '_scoutInvalid',
|
|
72
73
|
on_scoutFieldId: '_scoutFieldId',
|
|
73
74
|
onScoutChecked: 'scoutChecked'
|
|
@@ -98,7 +99,8 @@ export const ScoutInput = /*@__PURE__*/ createComponent({
|
|
|
98
99
|
events: {
|
|
99
100
|
onScoutInputChange: 'scoutInputChange',
|
|
100
101
|
onScoutBlur: 'scoutBlur',
|
|
101
|
-
|
|
102
|
+
onScoutValidate: 'scoutValidate',
|
|
103
|
+
on_scoutValidityChanged: '_scoutValidityChanged',
|
|
102
104
|
on_scoutInvalid: '_scoutInvalid',
|
|
103
105
|
on_scoutFieldId: '_scoutFieldId'
|
|
104
106
|
},
|
|
@@ -152,7 +154,8 @@ export const ScoutRadioButton = /*@__PURE__*/ createComponent({
|
|
|
152
154
|
events: {
|
|
153
155
|
onScoutInputChange: 'scoutInputChange',
|
|
154
156
|
onScoutBlur: 'scoutBlur',
|
|
155
|
-
|
|
157
|
+
onScoutValidate: 'scoutValidate',
|
|
158
|
+
on_scoutValidityChanged: '_scoutValidityChanged',
|
|
156
159
|
on_scoutInvalid: '_scoutInvalid',
|
|
157
160
|
on_scoutFieldId: '_scoutFieldId',
|
|
158
161
|
onScoutChecked: 'scoutChecked'
|
|
@@ -167,7 +170,8 @@ export const ScoutSelect = /*@__PURE__*/ createComponent({
|
|
|
167
170
|
events: {
|
|
168
171
|
onScoutInputChange: 'scoutInputChange',
|
|
169
172
|
onScoutBlur: 'scoutBlur',
|
|
170
|
-
|
|
173
|
+
onScoutValidate: 'scoutValidate',
|
|
174
|
+
on_scoutValidityChanged: '_scoutValidityChanged',
|
|
171
175
|
on_scoutInvalid: '_scoutInvalid',
|
|
172
176
|
on_scoutFieldId: '_scoutFieldId'
|
|
173
177
|
},
|
|
@@ -189,7 +193,8 @@ export const ScoutSwitch = /*@__PURE__*/ createComponent({
|
|
|
189
193
|
events: {
|
|
190
194
|
onScoutInputChange: 'scoutInputChange',
|
|
191
195
|
onScoutBlur: 'scoutBlur',
|
|
192
|
-
|
|
196
|
+
onScoutValidate: 'scoutValidate',
|
|
197
|
+
on_scoutValidityChanged: '_scoutValidityChanged',
|
|
193
198
|
on_scoutInvalid: '_scoutInvalid',
|
|
194
199
|
on_scoutFieldId: '_scoutFieldId',
|
|
195
200
|
onScoutChecked: 'scoutChecked'
|
|
@@ -42,7 +42,11 @@ export type ScoutCheckboxEvents = {
|
|
|
42
42
|
element: HTMLElement;
|
|
43
43
|
}>>;
|
|
44
44
|
onScoutBlur: EventName<CustomEvent<void>>;
|
|
45
|
-
|
|
45
|
+
onScoutValidate: EventName<ScoutCheckboxCustomEvent<{
|
|
46
|
+
value: string;
|
|
47
|
+
element: HTMLElement;
|
|
48
|
+
}>>;
|
|
49
|
+
on_scoutValidityChanged: EventName<ScoutCheckboxCustomEvent<{
|
|
46
50
|
element: HTMLElement;
|
|
47
51
|
}>>;
|
|
48
52
|
on_scoutInvalid: EventName<CustomEvent<void>>;
|
|
@@ -63,7 +67,11 @@ export type ScoutInputEvents = {
|
|
|
63
67
|
element: HTMLElement;
|
|
64
68
|
}>>;
|
|
65
69
|
onScoutBlur: EventName<CustomEvent<void>>;
|
|
66
|
-
|
|
70
|
+
onScoutValidate: EventName<ScoutInputCustomEvent<{
|
|
71
|
+
value: string;
|
|
72
|
+
element: HTMLElement;
|
|
73
|
+
}>>;
|
|
74
|
+
on_scoutValidityChanged: EventName<ScoutInputCustomEvent<{
|
|
67
75
|
element: HTMLElement;
|
|
68
76
|
}>>;
|
|
69
77
|
on_scoutInvalid: EventName<CustomEvent<void>>;
|
|
@@ -90,7 +98,11 @@ export type ScoutRadioButtonEvents = {
|
|
|
90
98
|
element: HTMLElement;
|
|
91
99
|
}>>;
|
|
92
100
|
onScoutBlur: EventName<CustomEvent<void>>;
|
|
93
|
-
|
|
101
|
+
onScoutValidate: EventName<ScoutRadioButtonCustomEvent<{
|
|
102
|
+
value: string;
|
|
103
|
+
element: HTMLElement;
|
|
104
|
+
}>>;
|
|
105
|
+
on_scoutValidityChanged: EventName<ScoutRadioButtonCustomEvent<{
|
|
94
106
|
element: HTMLElement;
|
|
95
107
|
}>>;
|
|
96
108
|
on_scoutInvalid: EventName<CustomEvent<void>>;
|
|
@@ -107,7 +119,11 @@ export type ScoutSelectEvents = {
|
|
|
107
119
|
element: HTMLElement;
|
|
108
120
|
}>>;
|
|
109
121
|
onScoutBlur: EventName<CustomEvent<void>>;
|
|
110
|
-
|
|
122
|
+
onScoutValidate: EventName<ScoutSelectCustomEvent<{
|
|
123
|
+
value: string;
|
|
124
|
+
element: HTMLElement;
|
|
125
|
+
}>>;
|
|
126
|
+
on_scoutValidityChanged: EventName<ScoutSelectCustomEvent<{
|
|
111
127
|
element: HTMLElement;
|
|
112
128
|
}>>;
|
|
113
129
|
on_scoutInvalid: EventName<CustomEvent<void>>;
|
|
@@ -122,7 +138,11 @@ export type ScoutSwitchEvents = {
|
|
|
122
138
|
element: HTMLElement;
|
|
123
139
|
}>>;
|
|
124
140
|
onScoutBlur: EventName<CustomEvent<void>>;
|
|
125
|
-
|
|
141
|
+
onScoutValidate: EventName<ScoutSwitchCustomEvent<{
|
|
142
|
+
value: string;
|
|
143
|
+
element: HTMLElement;
|
|
144
|
+
}>>;
|
|
145
|
+
on_scoutValidityChanged: EventName<ScoutSwitchCustomEvent<{
|
|
126
146
|
element: HTMLElement;
|
|
127
147
|
}>>;
|
|
128
148
|
on_scoutInvalid: EventName<CustomEvent<void>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scouterna/ui-react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Scouterna Design System React Components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@stencil/react-output-target": "^1.2.0",
|
|
21
|
-
"@scouterna/ui-webc": "
|
|
21
|
+
"@scouterna/ui-webc": "3.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/react": "^19.2.7",
|