@3dsource/source-ui-native 1.0.3 → 1.0.6
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/fesm2022/3dsource-source-ui-native.mjs +196 -463
- package/fesm2022/3dsource-source-ui-native.mjs.map +1 -1
- package/lib/components/source-badge/components/source-badge.component.d.ts +12 -23
- package/lib/components/source-badge/constants/sourceBadgeSize.d.ts +1 -1
- package/lib/components/source-badge/constants/sourceBadgeType.d.ts +1 -1
- package/lib/components/source-banner/components/source-banner.component.d.ts +2 -2
- package/lib/components/source-banner/constants/sourceBannerType.d.ts +1 -1
- package/lib/components/source-button/components/source-button.component.d.ts +20 -77
- package/lib/components/source-button/constants/sourceButtonAppearance.d.ts +1 -1
- package/lib/components/source-button/constants/sourceButtonColorScheme.d.ts +1 -1
- package/lib/components/source-button/constants/sourceButtonSize.d.ts +1 -1
- package/lib/components/source-button/constants/sourceButtonType.d.ts +1 -1
- package/lib/components/source-button/interfaces/sourceButton.interface.d.ts +5 -6
- package/lib/components/source-icon-button/components/source-icon-button.component.d.ts +8 -31
- package/lib/components/source-icon-button/constants/sourceIconButtonShape.d.ts +1 -1
- package/lib/components/source-icon-button/constants/sourceIconButtonSize.d.ts +1 -1
- package/lib/components/source-icon-button/constants/sourceIconButtonType.d.ts +1 -1
- package/lib/components/source-loading/components/source-loading.component.d.ts +13 -32
- package/lib/components/source-loading/constants/sourceLoadingLineCap.d.ts +1 -1
- package/lib/components/source-slider/components/source-slider.component.d.ts +18 -56
- package/package.json +1 -1
- /package/styles/{source.ui.scss → source.ui.native.scss} +0 -0
|
@@ -3,4 +3,4 @@ export declare const SourceIconButtonType: {
|
|
|
3
3
|
readonly SUBMIT: "submit";
|
|
4
4
|
readonly RESET: "reset";
|
|
5
5
|
};
|
|
6
|
-
export type
|
|
6
|
+
export type SourceIconButtonTypeKeys = (typeof SourceIconButtonType)[keyof typeof SourceIconButtonType];
|
|
@@ -1,37 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SourceLoadingLineCapKeys } from '../constants/sourceLoadingLineCap';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SourceLoadingComponent {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*/
|
|
11
|
-
progress?: number | null;
|
|
12
|
-
/**
|
|
13
|
-
* The stroke-linecap attribute is a presentation attribute defining the shape to be used at the end of open subpaths when they are stroked.
|
|
14
|
-
*/
|
|
15
|
-
lineCap: SourceLoadingLineCapValues;
|
|
16
|
-
/**
|
|
17
|
-
* Color of the strokes
|
|
18
|
-
*/
|
|
19
|
-
backgroundStrokeColor: string;
|
|
20
|
-
progressStrokeColor: string;
|
|
21
|
-
/**
|
|
22
|
-
* Width of the line
|
|
23
|
-
*/
|
|
24
|
-
strokeWidth: number;
|
|
25
|
-
/**
|
|
26
|
-
* Test ID for the component. Provide descriptive uniq id in kebab-case.
|
|
27
|
-
*/
|
|
4
|
+
size: import("@angular/core").InputSignal<number>;
|
|
5
|
+
progress: import("@angular/core").InputSignal<number | null>;
|
|
6
|
+
lineCap: import("@angular/core").InputSignal<SourceLoadingLineCapKeys>;
|
|
7
|
+
backgroundStrokeColor: import("@angular/core").InputSignal<string>;
|
|
8
|
+
progressStrokeColor: import("@angular/core").InputSignal<string>;
|
|
9
|
+
strokeWidth: import("@angular/core").InputSignal<number>;
|
|
28
10
|
testID: import("@angular/core").InputSignal<string>;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
getPercentage(): number;
|
|
11
|
+
classes: import("@angular/core").Signal<string[]>;
|
|
12
|
+
calculateRadius: import("@angular/core").Signal<number>;
|
|
13
|
+
circumference: import("@angular/core").Signal<number>;
|
|
14
|
+
viewBox: import("@angular/core").Signal<string>;
|
|
15
|
+
percentage: import("@angular/core").Signal<number>;
|
|
35
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SourceLoadingComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SourceLoadingComponent, "src-loading", never, { "size": { "alias": "size"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "lineCap": { "alias": "lineCap"; "required": false; }; "backgroundStrokeColor": { "alias": "backgroundStrokeColor"; "required": false; }; "progressStrokeColor": { "alias": "progressStrokeColor"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "testID": { "alias": "data-testid"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SourceLoadingComponent, "src-loading", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "progress": { "alias": "progress"; "required": false; "isSignal": true; }; "lineCap": { "alias": "lineCap"; "required": false; "isSignal": true; }; "backgroundStrokeColor": { "alias": "backgroundStrokeColor"; "required": false; "isSignal": true; }; "progressStrokeColor": { "alias": "progressStrokeColor"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; "testID": { "alias": "data-testid"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
37
18
|
}
|
|
@@ -3,4 +3,4 @@ export declare const SourceLoadingLineCap: {
|
|
|
3
3
|
readonly SQUARE: "square";
|
|
4
4
|
readonly BUTT: "butt";
|
|
5
5
|
};
|
|
6
|
-
export type
|
|
6
|
+
export type SourceLoadingLineCapKeys = (typeof SourceLoadingLineCap)[keyof typeof SourceLoadingLineCap];
|
|
@@ -1,63 +1,25 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SourceSliderComponent
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
max: number;
|
|
16
|
-
/**
|
|
17
|
-
* The size of the thumb
|
|
18
|
-
*/
|
|
19
|
-
thumbSize: number;
|
|
20
|
-
/**
|
|
21
|
-
* The height of the visual track. Height of the input won't be affected
|
|
22
|
-
*/
|
|
23
|
-
trackHeight: number;
|
|
24
|
-
/**
|
|
25
|
-
* The step length of the slider
|
|
26
|
-
*/
|
|
27
|
-
step: number;
|
|
28
|
-
/**
|
|
29
|
-
* Whether to show the ticks on each step
|
|
30
|
-
*/
|
|
31
|
-
showTicks: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* If slider is disabled
|
|
34
|
-
*/
|
|
35
|
-
isDisabled: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Slider orientation - WIP
|
|
38
|
-
*/
|
|
39
|
-
orientation: 'horizontal' | 'vertical';
|
|
40
|
-
tickPositions: string[];
|
|
41
|
-
/**
|
|
42
|
-
* The value of the slider
|
|
43
|
-
*/
|
|
44
|
-
value: number;
|
|
45
|
-
/**
|
|
46
|
-
* Test ID for the component. Provide descriptive uniq id in kebab-case.
|
|
47
|
-
*/
|
|
2
|
+
export declare class SourceSliderComponent {
|
|
3
|
+
id: import("@angular/core").InputSignal<string | undefined>;
|
|
4
|
+
value: import("@angular/core").InputSignal<number>;
|
|
5
|
+
sliderValue: import("@angular/core").WritableSignal<number>;
|
|
6
|
+
min: import("@angular/core").InputSignal<number>;
|
|
7
|
+
max: import("@angular/core").InputSignal<number>;
|
|
8
|
+
thumbSize: import("@angular/core").InputSignal<number>;
|
|
9
|
+
trackHeight: import("@angular/core").InputSignal<number>;
|
|
10
|
+
step: import("@angular/core").InputSignal<number>;
|
|
11
|
+
showTicks: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
isDisabled: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
|
|
48
14
|
testID: import("@angular/core").InputSignal<string>;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
ngAfterViewInit(): void;
|
|
15
|
+
onChange: import("@angular/core").OutputEmitterRef<number>;
|
|
16
|
+
onInput: import("@angular/core").OutputEmitterRef<number>;
|
|
17
|
+
tickPositions: import("@angular/core").Signal<string[]>;
|
|
18
|
+
thumbPosition: import("@angular/core").Signal<string>;
|
|
19
|
+
filledWidth: import("@angular/core").Signal<string>;
|
|
55
20
|
input(valueEvent: Event): void;
|
|
56
21
|
change(valueEvent: Event): void;
|
|
57
|
-
calculateThumbPosition(): string;
|
|
58
|
-
calculateFilledWidth(): string;
|
|
59
22
|
private getValue;
|
|
60
|
-
private calculateTickPositions;
|
|
61
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<SourceSliderComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SourceSliderComponent, "src-slider", never, { "id": { "alias": "id"; "required": false; }; "
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SourceSliderComponent, "src-slider", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "min": { "alias": "min"; "required": true; "isSignal": true; }; "max": { "alias": "max"; "required": true; "isSignal": true; }; "thumbSize": { "alias": "thumbSize"; "required": false; "isSignal": true; }; "trackHeight": { "alias": "trackHeight"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "showTicks": { "alias": "showTicks"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "testID": { "alias": "data-testid"; "required": false; "isSignal": true; }; }, { "onChange": "onChange"; "onInput": "onInput"; }, never, ["[srcIconThumb]"], true, never>;
|
|
63
25
|
}
|
package/package.json
CHANGED
|
File without changes
|