@scouterna/ui-react 0.2.10 → 1.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.
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
/**
|
|
3
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
4
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
-
*/
|
|
6
|
-
/* eslint-disable */
|
|
7
2
|
import { ScoutBottomBarItem as ScoutBottomBarItemElement, defineCustomElement as defineScoutBottomBarItem } from "@scouterna/ui-webc/dist/components/scout-bottom-bar-item.js";
|
|
8
3
|
import { ScoutBottomBar as ScoutBottomBarElement, defineCustomElement as defineScoutBottomBar } from "@scouterna/ui-webc/dist/components/scout-bottom-bar.js";
|
|
9
4
|
import { ScoutButton as ScoutButtonElement, defineCustomElement as defineScoutButton } from "@scouterna/ui-webc/dist/components/scout-button.js";
|
|
5
|
+
import { ScoutCard as ScoutCardElement, defineCustomElement as defineScoutCard } from "@scouterna/ui-webc/dist/components/scout-card.js";
|
|
6
|
+
import { ScoutField as ScoutFieldElement, defineCustomElement as defineScoutField } from "@scouterna/ui-webc/dist/components/scout-field.js";
|
|
7
|
+
import { ScoutInput as ScoutInputElement, defineCustomElement as defineScoutInput } from "@scouterna/ui-webc/dist/components/scout-input.js";
|
|
10
8
|
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
11
9
|
import React from 'react';
|
|
12
10
|
export const ScoutBottomBar = /*@__PURE__*/ createComponent({
|
|
@@ -33,3 +31,31 @@ export const ScoutButton = /*@__PURE__*/ createComponent({
|
|
|
33
31
|
events: { onScoutClick: 'scoutClick' },
|
|
34
32
|
defineCustomElement: defineScoutButton
|
|
35
33
|
});
|
|
34
|
+
export const ScoutCard = /*@__PURE__*/ createComponent({
|
|
35
|
+
tagName: 'scout-card',
|
|
36
|
+
elementClass: ScoutCardElement,
|
|
37
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
38
|
+
react: React,
|
|
39
|
+
events: {},
|
|
40
|
+
defineCustomElement: defineScoutCard
|
|
41
|
+
});
|
|
42
|
+
export const ScoutField = /*@__PURE__*/ createComponent({
|
|
43
|
+
tagName: 'scout-field',
|
|
44
|
+
elementClass: ScoutFieldElement,
|
|
45
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
46
|
+
react: React,
|
|
47
|
+
events: {},
|
|
48
|
+
defineCustomElement: defineScoutField
|
|
49
|
+
});
|
|
50
|
+
export const ScoutInput = /*@__PURE__*/ createComponent({
|
|
51
|
+
tagName: 'scout-input',
|
|
52
|
+
elementClass: ScoutInputElement,
|
|
53
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
54
|
+
react: React,
|
|
55
|
+
events: {
|
|
56
|
+
onScoutInputChange: 'scoutInputChange',
|
|
57
|
+
onScoutBlur: 'scoutBlur',
|
|
58
|
+
on_fieldId: '_fieldId'
|
|
59
|
+
},
|
|
60
|
+
defineCustomElement: defineScoutInput
|
|
61
|
+
});
|
|
@@ -2,9 +2,13 @@
|
|
|
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 ScoutInputCustomEvent } from "@scouterna/ui-webc";
|
|
5
6
|
import { ScoutBottomBarItem as ScoutBottomBarItemElement } from "@scouterna/ui-webc/dist/components/scout-bottom-bar-item.js";
|
|
6
7
|
import { ScoutBottomBar as ScoutBottomBarElement } from "@scouterna/ui-webc/dist/components/scout-bottom-bar.js";
|
|
7
8
|
import { ScoutButton as ScoutButtonElement } from "@scouterna/ui-webc/dist/components/scout-button.js";
|
|
9
|
+
import { ScoutCard as ScoutCardElement } from "@scouterna/ui-webc/dist/components/scout-card.js";
|
|
10
|
+
import { ScoutField as ScoutFieldElement } from "@scouterna/ui-webc/dist/components/scout-field.js";
|
|
11
|
+
import { ScoutInput as ScoutInputElement } from "@scouterna/ui-webc/dist/components/scout-input.js";
|
|
8
12
|
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
9
13
|
export type ScoutBottomBarEvents = NonNullable<unknown>;
|
|
10
14
|
export declare const ScoutBottomBar: StencilReactComponent<ScoutBottomBarElement, ScoutBottomBarEvents>;
|
|
@@ -16,3 +20,16 @@ export type ScoutButtonEvents = {
|
|
|
16
20
|
onScoutClick: EventName<CustomEvent<void>>;
|
|
17
21
|
};
|
|
18
22
|
export declare const ScoutButton: StencilReactComponent<ScoutButtonElement, ScoutButtonEvents>;
|
|
23
|
+
export type ScoutCardEvents = NonNullable<unknown>;
|
|
24
|
+
export declare const ScoutCard: StencilReactComponent<ScoutCardElement, ScoutCardEvents>;
|
|
25
|
+
export type ScoutFieldEvents = NonNullable<unknown>;
|
|
26
|
+
export declare const ScoutField: StencilReactComponent<ScoutFieldElement, ScoutFieldEvents>;
|
|
27
|
+
export type ScoutInputEvents = {
|
|
28
|
+
onScoutInputChange: EventName<ScoutInputCustomEvent<{
|
|
29
|
+
value: string;
|
|
30
|
+
element: HTMLInputElement;
|
|
31
|
+
}>>;
|
|
32
|
+
onScoutBlur: EventName<CustomEvent<void>>;
|
|
33
|
+
on_fieldId: EventName<CustomEvent<string>>;
|
|
34
|
+
};
|
|
35
|
+
export declare const ScoutInput: StencilReactComponent<ScoutInputElement, ScoutInputEvents>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scouterna/ui-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Scouterna Design System React Components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"typescript": "^5.9.3"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@scouterna/ui-webc": "0.
|
|
28
|
+
"@scouterna/ui-webc": "1.0.0"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "tsc --outDir ./dist",
|