@scouterna/ui-react 2.1.0 → 2.2.1
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,4 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import { ScoutAppBar as ScoutAppBarElement, defineCustomElement as defineScoutAppBar } from "@scouterna/ui-webc/dist/components/scout-app-bar.js";
|
|
2
3
|
import { ScoutBottomBarItem as ScoutBottomBarItemElement, defineCustomElement as defineScoutBottomBarItem } from "@scouterna/ui-webc/dist/components/scout-bottom-bar-item.js";
|
|
3
4
|
import { ScoutBottomBar as ScoutBottomBarElement, defineCustomElement as defineScoutBottomBar } from "@scouterna/ui-webc/dist/components/scout-bottom-bar.js";
|
|
4
5
|
import { ScoutButton as ScoutButtonElement, defineCustomElement as defineScoutButton } from "@scouterna/ui-webc/dist/components/scout-button.js";
|
|
@@ -9,13 +10,23 @@ import { ScoutField as ScoutFieldElement, defineCustomElement as defineScoutFiel
|
|
|
9
10
|
import { ScoutInput as ScoutInputElement, defineCustomElement as defineScoutInput } from "@scouterna/ui-webc/dist/components/scout-input.js";
|
|
10
11
|
import { ScoutLink as ScoutLinkElement, defineCustomElement as defineScoutLink } from "@scouterna/ui-webc/dist/components/scout-link.js";
|
|
11
12
|
import { ScoutListViewItem as ScoutListViewItemElement, defineCustomElement as defineScoutListViewItem } from "@scouterna/ui-webc/dist/components/scout-list-view-item.js";
|
|
13
|
+
import { ScoutListViewSubheader as ScoutListViewSubheaderElement, defineCustomElement as defineScoutListViewSubheader } from "@scouterna/ui-webc/dist/components/scout-list-view-subheader.js";
|
|
12
14
|
import { ScoutListView as ScoutListViewElement, defineCustomElement as defineScoutListView } from "@scouterna/ui-webc/dist/components/scout-list-view.js";
|
|
13
15
|
import { ScoutLoader as ScoutLoaderElement, defineCustomElement as defineScoutLoader } from "@scouterna/ui-webc/dist/components/scout-loader.js";
|
|
16
|
+
import { ScoutRadioButton as ScoutRadioButtonElement, defineCustomElement as defineScoutRadioButton } from "@scouterna/ui-webc/dist/components/scout-radio-button.js";
|
|
14
17
|
import { ScoutSelect as ScoutSelectElement, defineCustomElement as defineScoutSelect } from "@scouterna/ui-webc/dist/components/scout-select.js";
|
|
15
18
|
import { ScoutStack as ScoutStackElement, defineCustomElement as defineScoutStack } from "@scouterna/ui-webc/dist/components/scout-stack.js";
|
|
16
19
|
import { ScoutSwitch as ScoutSwitchElement, defineCustomElement as defineScoutSwitch } from "@scouterna/ui-webc/dist/components/scout-switch.js";
|
|
17
20
|
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
18
21
|
import React from 'react';
|
|
22
|
+
export const ScoutAppBar = /*@__PURE__*/ createComponent({
|
|
23
|
+
tagName: 'scout-app-bar',
|
|
24
|
+
elementClass: ScoutAppBarElement,
|
|
25
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
26
|
+
react: React,
|
|
27
|
+
events: {},
|
|
28
|
+
defineCustomElement: defineScoutAppBar
|
|
29
|
+
});
|
|
19
30
|
export const ScoutBottomBar = /*@__PURE__*/ createComponent({
|
|
20
31
|
tagName: 'scout-bottom-bar',
|
|
21
32
|
elementClass: ScoutBottomBarElement,
|
|
@@ -54,7 +65,7 @@ export const ScoutCheckbox = /*@__PURE__*/ createComponent({
|
|
|
54
65
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
55
66
|
react: React,
|
|
56
67
|
events: {
|
|
57
|
-
|
|
68
|
+
onScoutChecked: 'scoutChecked',
|
|
58
69
|
on_fieldId: '_fieldId'
|
|
59
70
|
},
|
|
60
71
|
defineCustomElement: defineScoutCheckbox
|
|
@@ -111,6 +122,14 @@ export const ScoutListViewItem = /*@__PURE__*/ createComponent({
|
|
|
111
122
|
events: { onScoutClick: 'scoutClick' },
|
|
112
123
|
defineCustomElement: defineScoutListViewItem
|
|
113
124
|
});
|
|
125
|
+
export const ScoutListViewSubheader = /*@__PURE__*/ createComponent({
|
|
126
|
+
tagName: 'scout-list-view-subheader',
|
|
127
|
+
elementClass: ScoutListViewSubheaderElement,
|
|
128
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
129
|
+
react: React,
|
|
130
|
+
events: {},
|
|
131
|
+
defineCustomElement: defineScoutListViewSubheader
|
|
132
|
+
});
|
|
114
133
|
export const ScoutLoader = /*@__PURE__*/ createComponent({
|
|
115
134
|
tagName: 'scout-loader',
|
|
116
135
|
elementClass: ScoutLoaderElement,
|
|
@@ -119,6 +138,17 @@ export const ScoutLoader = /*@__PURE__*/ createComponent({
|
|
|
119
138
|
events: {},
|
|
120
139
|
defineCustomElement: defineScoutLoader
|
|
121
140
|
});
|
|
141
|
+
export const ScoutRadioButton = /*@__PURE__*/ createComponent({
|
|
142
|
+
tagName: 'scout-radio-button',
|
|
143
|
+
elementClass: ScoutRadioButtonElement,
|
|
144
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
145
|
+
react: React,
|
|
146
|
+
events: {
|
|
147
|
+
onScoutChecked: 'scoutChecked',
|
|
148
|
+
on_fieldId: '_fieldId'
|
|
149
|
+
},
|
|
150
|
+
defineCustomElement: defineScoutRadioButton
|
|
151
|
+
});
|
|
122
152
|
export const ScoutSelect = /*@__PURE__*/ createComponent({
|
|
123
153
|
tagName: 'scout-select',
|
|
124
154
|
elementClass: ScoutSelectElement,
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* This file was automatically generated by the Stencil React Output Target.
|
|
3
3
|
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
4
|
*/
|
|
5
|
-
import { type ScoutCheckboxCustomEvent, type ScoutInputCustomEvent, type ScoutLinkCustomEvent, type ScoutSelectCustomEvent, type ScoutSwitchCustomEvent } from "@scouterna/ui-webc";
|
|
5
|
+
import { type ScoutCheckboxCustomEvent, type ScoutInputCustomEvent, type ScoutLinkCustomEvent, type ScoutRadioButtonCustomEvent, type ScoutSelectCustomEvent, type ScoutSwitchCustomEvent } from "@scouterna/ui-webc";
|
|
6
|
+
import { ScoutAppBar as ScoutAppBarElement } from "@scouterna/ui-webc/dist/components/scout-app-bar.js";
|
|
6
7
|
import { ScoutBottomBarItem as ScoutBottomBarItemElement } from "@scouterna/ui-webc/dist/components/scout-bottom-bar-item.js";
|
|
7
8
|
import { ScoutBottomBar as ScoutBottomBarElement } from "@scouterna/ui-webc/dist/components/scout-bottom-bar.js";
|
|
8
9
|
import { ScoutButton as ScoutButtonElement } from "@scouterna/ui-webc/dist/components/scout-button.js";
|
|
@@ -13,12 +14,16 @@ import { ScoutField as ScoutFieldElement } from "@scouterna/ui-webc/dist/compone
|
|
|
13
14
|
import { ScoutInput as ScoutInputElement } from "@scouterna/ui-webc/dist/components/scout-input.js";
|
|
14
15
|
import { ScoutLink as ScoutLinkElement } from "@scouterna/ui-webc/dist/components/scout-link.js";
|
|
15
16
|
import { ScoutListViewItem as ScoutListViewItemElement } from "@scouterna/ui-webc/dist/components/scout-list-view-item.js";
|
|
17
|
+
import { ScoutListViewSubheader as ScoutListViewSubheaderElement } from "@scouterna/ui-webc/dist/components/scout-list-view-subheader.js";
|
|
16
18
|
import { ScoutListView as ScoutListViewElement } from "@scouterna/ui-webc/dist/components/scout-list-view.js";
|
|
17
19
|
import { ScoutLoader as ScoutLoaderElement } from "@scouterna/ui-webc/dist/components/scout-loader.js";
|
|
20
|
+
import { ScoutRadioButton as ScoutRadioButtonElement } from "@scouterna/ui-webc/dist/components/scout-radio-button.js";
|
|
18
21
|
import { ScoutSelect as ScoutSelectElement } from "@scouterna/ui-webc/dist/components/scout-select.js";
|
|
19
22
|
import { ScoutStack as ScoutStackElement } from "@scouterna/ui-webc/dist/components/scout-stack.js";
|
|
20
23
|
import { ScoutSwitch as ScoutSwitchElement } from "@scouterna/ui-webc/dist/components/scout-switch.js";
|
|
21
24
|
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
25
|
+
export type ScoutAppBarEvents = NonNullable<unknown>;
|
|
26
|
+
export declare const ScoutAppBar: StencilReactComponent<ScoutAppBarElement, ScoutAppBarEvents>;
|
|
22
27
|
export type ScoutBottomBarEvents = NonNullable<unknown>;
|
|
23
28
|
export declare const ScoutBottomBar: StencilReactComponent<ScoutBottomBarElement, ScoutBottomBarEvents>;
|
|
24
29
|
export type ScoutBottomBarItemEvents = {
|
|
@@ -32,7 +37,7 @@ export declare const ScoutButton: StencilReactComponent<ScoutButtonElement, Scou
|
|
|
32
37
|
export type ScoutCardEvents = NonNullable<unknown>;
|
|
33
38
|
export declare const ScoutCard: StencilReactComponent<ScoutCardElement, ScoutCardEvents>;
|
|
34
39
|
export type ScoutCheckboxEvents = {
|
|
35
|
-
|
|
40
|
+
onScoutChecked: EventName<ScoutCheckboxCustomEvent<{
|
|
36
41
|
checked: boolean;
|
|
37
42
|
element: HTMLInputElement;
|
|
38
43
|
}>>;
|
|
@@ -62,8 +67,18 @@ export type ScoutListViewItemEvents = {
|
|
|
62
67
|
onScoutClick: EventName<CustomEvent<void>>;
|
|
63
68
|
};
|
|
64
69
|
export declare const ScoutListViewItem: StencilReactComponent<ScoutListViewItemElement, ScoutListViewItemEvents>;
|
|
70
|
+
export type ScoutListViewSubheaderEvents = NonNullable<unknown>;
|
|
71
|
+
export declare const ScoutListViewSubheader: StencilReactComponent<ScoutListViewSubheaderElement, ScoutListViewSubheaderEvents>;
|
|
65
72
|
export type ScoutLoaderEvents = NonNullable<unknown>;
|
|
66
73
|
export declare const ScoutLoader: StencilReactComponent<ScoutLoaderElement, ScoutLoaderEvents>;
|
|
74
|
+
export type ScoutRadioButtonEvents = {
|
|
75
|
+
onScoutChecked: EventName<ScoutRadioButtonCustomEvent<{
|
|
76
|
+
checked: boolean;
|
|
77
|
+
element: HTMLInputElement;
|
|
78
|
+
}>>;
|
|
79
|
+
on_fieldId: EventName<CustomEvent<string>>;
|
|
80
|
+
};
|
|
81
|
+
export declare const ScoutRadioButton: StencilReactComponent<ScoutRadioButtonElement, ScoutRadioButtonEvents>;
|
|
67
82
|
export type ScoutSelectEvents = {
|
|
68
83
|
onScoutInputChange: EventName<ScoutSelectCustomEvent<{
|
|
69
84
|
value: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scouterna/ui-react",
|
|
3
|
-
"version": "2.1
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "Scouterna Design System React Components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "UNLICENSED",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@stencil/react-output-target": "^1.2.0",
|
|
20
|
-
"@scouterna/ui-webc": "2.1
|
|
20
|
+
"@scouterna/ui-webc": "2.2.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/react": "^19.2.7",
|