@softpak/components 0.0.0-beta.55 → 0.0.0-beta.56
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,13 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
1
|
+
import { Component, HostBinding, Input } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class SpxSuggestionComponent {
|
|
4
4
|
constructor() {
|
|
5
|
+
this.overflowHidden = true;
|
|
5
6
|
this.spxDisabled = false;
|
|
6
7
|
this.spxSelected = false;
|
|
7
8
|
}
|
|
8
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SpxSuggestionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: SpxSuggestionComponent, isStandalone: true, selector: "spx-suggestion", inputs: { spxDisabled: "spxDisabled", spxSelected: "spxSelected" }, ngImport: i0, template: `<button
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: SpxSuggestionComponent, isStandalone: true, selector: "spx-suggestion", inputs: { spxDisabled: "spxDisabled", spxSelected: "spxSelected" }, host: { properties: { "class.overflow-hidden": "this.overflowHidden" } }, ngImport: i0, template: `<button
|
|
10
11
|
class="spx-suggestion block rounded text-gray-900 text-sm p-3 w-full text-ellipsis overflow-hidden whitespace-nowrap text-left truncate"
|
|
11
12
|
[class.bg-sky-100]="!this.spxSelected && !this.spxDisabled"
|
|
12
13
|
[class.focus:ring-sky-200]="!this.spxSelected && !this.spxDisabled"
|
|
@@ -39,9 +40,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
39
40
|
[class.font-bold]="this.spxSelected"
|
|
40
41
|
[attr.tabindex]="-1"><ng-content></ng-content></button>`,
|
|
41
42
|
}]
|
|
42
|
-
}], propDecorators: {
|
|
43
|
+
}], propDecorators: { overflowHidden: [{
|
|
44
|
+
type: HostBinding,
|
|
45
|
+
args: ['class.overflow-hidden']
|
|
46
|
+
}], spxDisabled: [{
|
|
43
47
|
type: Input
|
|
44
48
|
}], spxSelected: [{
|
|
45
49
|
type: Input
|
|
46
50
|
}] } });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3B4LXN1Z2dlc3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc29mdHBhay9jb21wb25lbnRzL3NweC1zdWdnZXN0aW9uL3NweC1zdWdnZXN0aW9uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBbUI5RCxNQUFNLE9BQU8sc0JBQXNCO0lBakJuQztRQWtCd0MsbUJBQWMsR0FBWSxJQUFJLENBQUM7UUFDNUQsZ0JBQVcsR0FBRyxLQUFLLENBQUM7UUFDcEIsZ0JBQVcsR0FBRyxLQUFLLENBQUM7S0FDOUI7OEdBSlksc0JBQXNCO2tHQUF0QixzQkFBc0Isd05BZHZCOzs7Ozs7Ozs7Ozs7NERBWWdEOzsyRkFFL0Msc0JBQXNCO2tCQWpCbEMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsZ0JBQWdCO29CQUMxQixVQUFVLEVBQUUsSUFBSTtvQkFDaEIsUUFBUSxFQUFFOzs7Ozs7Ozs7Ozs7NERBWWdEO2lCQUMzRDs4QkFFdUMsY0FBYztzQkFBbkQsV0FBVzt1QkFBQyx1QkFBd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MuY3Vyc29yLW5vdC1hbGxvd2VkXT1cInRoaXMuc3B4RGlzYWJsZWRcIlxuICAgIFtjbGFzcy5vcGFjaXR5LTYwXT1cInRoaXMuc3B4RGlzYWJsZWRcIlxuICAgIFtjbGFzcy5iZy10ZWFsLTUwMF09XCJ0aGlzLnNweFNlbGVjdGVkICYmICF0aGlzLnNweERpc2FibGVkXCJcbiAgICBbY2xhc3MuZm9udC1ib2xkXT1cInRoaXMuc3B4U2VsZWN0ZWRcIlxuICAgIFthdHRyLnRhYmluZGV4XT1cIi0xXCI+PG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PjwvYnV0dG9uPmAsXG59KVxuZXhwb3J0IGNsYXNzIFNweFN1Z2dlc3Rpb25Db21wb25lbnQge1xuICBASG9zdEJpbmRpbmcoJ2NsYXNzLm92ZXJmbG93LWhpZGRlbicpIG92ZXJmbG93SGlkZGVuOiBib29sZWFuID0gdHJ1ZTtcbiAgQElucHV0KCkgc3B4RGlzYWJsZWQgPSBmYWxzZTtcbiAgQElucHV0KCkgc3B4U2VsZWN0ZWQgPSBmYWxzZTtcbn1cbiJdfQ==
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { Component, HostBinding, Input } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
class SpxSuggestionComponent {
|
|
5
5
|
constructor() {
|
|
6
|
+
this.overflowHidden = true;
|
|
6
7
|
this.spxDisabled = false;
|
|
7
8
|
this.spxSelected = false;
|
|
8
9
|
}
|
|
9
10
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SpxSuggestionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: SpxSuggestionComponent, isStandalone: true, selector: "spx-suggestion", inputs: { spxDisabled: "spxDisabled", spxSelected: "spxSelected" }, ngImport: i0, template: `<button
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: SpxSuggestionComponent, isStandalone: true, selector: "spx-suggestion", inputs: { spxDisabled: "spxDisabled", spxSelected: "spxSelected" }, host: { properties: { "class.overflow-hidden": "this.overflowHidden" } }, ngImport: i0, template: `<button
|
|
11
12
|
class="spx-suggestion block rounded text-gray-900 text-sm p-3 w-full text-ellipsis overflow-hidden whitespace-nowrap text-left truncate"
|
|
12
13
|
[class.bg-sky-100]="!this.spxSelected && !this.spxDisabled"
|
|
13
14
|
[class.focus:ring-sky-200]="!this.spxSelected && !this.spxDisabled"
|
|
@@ -40,7 +41,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
40
41
|
[class.font-bold]="this.spxSelected"
|
|
41
42
|
[attr.tabindex]="-1"><ng-content></ng-content></button>`,
|
|
42
43
|
}]
|
|
43
|
-
}], propDecorators: {
|
|
44
|
+
}], propDecorators: { overflowHidden: [{
|
|
45
|
+
type: HostBinding,
|
|
46
|
+
args: ['class.overflow-hidden']
|
|
47
|
+
}], spxDisabled: [{
|
|
44
48
|
type: Input
|
|
45
49
|
}], spxSelected: [{
|
|
46
50
|
type: Input
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"softpak-components-spx-suggestion.mjs","sources":["../../../../projects/softpak/components/spx-suggestion/spx-suggestion.component.ts","../../../../projects/softpak/components/spx-suggestion/softpak-components-spx-suggestion.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'spx-suggestion',\n standalone: true,\n template: `<button\n class=\"spx-suggestion block rounded text-gray-900 text-sm p-3 w-full text-ellipsis overflow-hidden whitespace-nowrap text-left truncate\"\n [class.bg-sky-100]=\"!this.spxSelected && !this.spxDisabled\"\n [class.focus:ring-sky-200]=\"!this.spxSelected && !this.spxDisabled\"\n [class.hover:bg-sky-200]=\"!this.spxSelected && !this.spxDisabled\"\n [class.active:bg-sky-300]=\"!this.spxSelected && !this.spxDisabled\"\n [class.bg-gray-200]=\"this.spxDisabled && !this.spxSelected\"\n [class.bg-gray-400]=\"this.spxDisabled && this.spxSelected\"\n [class.cursor-not-allowed]=\"this.spxDisabled\"\n [class.opacity-60]=\"this.spxDisabled\"\n [class.bg-teal-500]=\"this.spxSelected && !this.spxDisabled\"\n [class.font-bold]=\"this.spxSelected\"\n [attr.tabindex]=\"-1\"><ng-content></ng-content></button>`,\n})\nexport class SpxSuggestionComponent {\n @Input() spxDisabled = false;\n @Input() spxSelected = false;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAmBa,sBAAsB,CAAA;AAjBnC,IAAA,WAAA,GAAA;
|
|
1
|
+
{"version":3,"file":"softpak-components-spx-suggestion.mjs","sources":["../../../../projects/softpak/components/spx-suggestion/spx-suggestion.component.ts","../../../../projects/softpak/components/spx-suggestion/softpak-components-spx-suggestion.ts"],"sourcesContent":["import { Component, HostBinding, Input } from '@angular/core';\n\n@Component({\n selector: 'spx-suggestion',\n standalone: true,\n template: `<button\n class=\"spx-suggestion block rounded text-gray-900 text-sm p-3 w-full text-ellipsis overflow-hidden whitespace-nowrap text-left truncate\"\n [class.bg-sky-100]=\"!this.spxSelected && !this.spxDisabled\"\n [class.focus:ring-sky-200]=\"!this.spxSelected && !this.spxDisabled\"\n [class.hover:bg-sky-200]=\"!this.spxSelected && !this.spxDisabled\"\n [class.active:bg-sky-300]=\"!this.spxSelected && !this.spxDisabled\"\n [class.bg-gray-200]=\"this.spxDisabled && !this.spxSelected\"\n [class.bg-gray-400]=\"this.spxDisabled && this.spxSelected\"\n [class.cursor-not-allowed]=\"this.spxDisabled\"\n [class.opacity-60]=\"this.spxDisabled\"\n [class.bg-teal-500]=\"this.spxSelected && !this.spxDisabled\"\n [class.font-bold]=\"this.spxSelected\"\n [attr.tabindex]=\"-1\"><ng-content></ng-content></button>`,\n})\nexport class SpxSuggestionComponent {\n @HostBinding('class.overflow-hidden') overflowHidden: boolean = true;\n @Input() spxDisabled = false;\n @Input() spxSelected = false;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAmBa,sBAAsB,CAAA;AAjBnC,IAAA,WAAA,GAAA;QAkBwC,IAAc,CAAA,cAAA,GAAY,IAAI,CAAC;QAC5D,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;QACpB,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;AAC9B,KAAA;8GAJY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,EAdvB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,uBAAA,EAAA,qBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;AAYgD,2DAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAE/C,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAjBlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;AAYgD,2DAAA,CAAA;AAC3D,iBAAA,CAAA;8BAEuC,cAAc,EAAA,CAAA;sBAAnD,WAAW;uBAAC,uBAAuB,CAAA;gBAC3B,WAAW,EAAA,CAAA;sBAAnB,KAAK;gBACG,WAAW,EAAA,CAAA;sBAAnB,KAAK;;;ACtBR;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softpak/components",
|
|
3
|
-
"version": "0.0.0-beta.
|
|
3
|
+
"version": "0.0.0-beta.56",
|
|
4
4
|
"private": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^17.x.x",
|
|
@@ -35,36 +35,36 @@
|
|
|
35
35
|
"esm": "./esm2022/spx-app-configuration/softpak-components-spx-app-configuration.mjs",
|
|
36
36
|
"default": "./fesm2022/softpak-components-spx-app-configuration.mjs"
|
|
37
37
|
},
|
|
38
|
-
"./spx-button": {
|
|
39
|
-
"types": "./spx-button/index.d.ts",
|
|
40
|
-
"esm2022": "./esm2022/spx-button/softpak-components-spx-button.mjs",
|
|
41
|
-
"esm": "./esm2022/spx-button/softpak-components-spx-button.mjs",
|
|
42
|
-
"default": "./fesm2022/softpak-components-spx-button.mjs"
|
|
43
|
-
},
|
|
44
38
|
"./spx-capitalize": {
|
|
45
39
|
"types": "./spx-capitalize/index.d.ts",
|
|
46
40
|
"esm2022": "./esm2022/spx-capitalize/softpak-components-spx-capitalize.mjs",
|
|
47
41
|
"esm": "./esm2022/spx-capitalize/softpak-components-spx-capitalize.mjs",
|
|
48
42
|
"default": "./fesm2022/softpak-components-spx-capitalize.mjs"
|
|
49
43
|
},
|
|
44
|
+
"./spx-button": {
|
|
45
|
+
"types": "./spx-button/index.d.ts",
|
|
46
|
+
"esm2022": "./esm2022/spx-button/softpak-components-spx-button.mjs",
|
|
47
|
+
"esm": "./esm2022/spx-button/softpak-components-spx-button.mjs",
|
|
48
|
+
"default": "./fesm2022/softpak-components-spx-button.mjs"
|
|
49
|
+
},
|
|
50
50
|
"./spx-change-details": {
|
|
51
51
|
"types": "./spx-change-details/index.d.ts",
|
|
52
52
|
"esm2022": "./esm2022/spx-change-details/softpak-components-spx-change-details.mjs",
|
|
53
53
|
"esm": "./esm2022/spx-change-details/softpak-components-spx-change-details.mjs",
|
|
54
54
|
"default": "./fesm2022/softpak-components-spx-change-details.mjs"
|
|
55
55
|
},
|
|
56
|
-
"./spx-check-digit": {
|
|
57
|
-
"types": "./spx-check-digit/index.d.ts",
|
|
58
|
-
"esm2022": "./esm2022/spx-check-digit/softpak-components-spx-check-digit.mjs",
|
|
59
|
-
"esm": "./esm2022/spx-check-digit/softpak-components-spx-check-digit.mjs",
|
|
60
|
-
"default": "./fesm2022/softpak-components-spx-check-digit.mjs"
|
|
61
|
-
},
|
|
62
56
|
"./spx-channel-selection": {
|
|
63
57
|
"types": "./spx-channel-selection/index.d.ts",
|
|
64
58
|
"esm2022": "./esm2022/spx-channel-selection/softpak-components-spx-channel-selection.mjs",
|
|
65
59
|
"esm": "./esm2022/spx-channel-selection/softpak-components-spx-channel-selection.mjs",
|
|
66
60
|
"default": "./fesm2022/softpak-components-spx-channel-selection.mjs"
|
|
67
61
|
},
|
|
62
|
+
"./spx-check-digit": {
|
|
63
|
+
"types": "./spx-check-digit/index.d.ts",
|
|
64
|
+
"esm2022": "./esm2022/spx-check-digit/softpak-components-spx-check-digit.mjs",
|
|
65
|
+
"esm": "./esm2022/spx-check-digit/softpak-components-spx-check-digit.mjs",
|
|
66
|
+
"default": "./fesm2022/softpak-components-spx-check-digit.mjs"
|
|
67
|
+
},
|
|
68
68
|
"./spx-form-section": {
|
|
69
69
|
"types": "./spx-form-section/index.d.ts",
|
|
70
70
|
"esm2022": "./esm2022/spx-form-section/softpak-components-spx-form-section.mjs",
|
|
@@ -101,18 +101,18 @@
|
|
|
101
101
|
"esm": "./esm2022/spx-number-check/softpak-components-spx-number-check.mjs",
|
|
102
102
|
"default": "./fesm2022/softpak-components-spx-number-check.mjs"
|
|
103
103
|
},
|
|
104
|
-
"./spx-patch": {
|
|
105
|
-
"types": "./spx-patch/index.d.ts",
|
|
106
|
-
"esm2022": "./esm2022/spx-patch/softpak-components-spx-patch.mjs",
|
|
107
|
-
"esm": "./esm2022/spx-patch/softpak-components-spx-patch.mjs",
|
|
108
|
-
"default": "./fesm2022/softpak-components-spx-patch.mjs"
|
|
109
|
-
},
|
|
110
104
|
"./spx-progress-bar": {
|
|
111
105
|
"types": "./spx-progress-bar/index.d.ts",
|
|
112
106
|
"esm2022": "./esm2022/spx-progress-bar/softpak-components-spx-progress-bar.mjs",
|
|
113
107
|
"esm": "./esm2022/spx-progress-bar/softpak-components-spx-progress-bar.mjs",
|
|
114
108
|
"default": "./fesm2022/softpak-components-spx-progress-bar.mjs"
|
|
115
109
|
},
|
|
110
|
+
"./spx-patch": {
|
|
111
|
+
"types": "./spx-patch/index.d.ts",
|
|
112
|
+
"esm2022": "./esm2022/spx-patch/softpak-components-spx-patch.mjs",
|
|
113
|
+
"esm": "./esm2022/spx-patch/softpak-components-spx-patch.mjs",
|
|
114
|
+
"default": "./fesm2022/softpak-components-spx-patch.mjs"
|
|
115
|
+
},
|
|
116
116
|
"./spx-spinner": {
|
|
117
117
|
"types": "./spx-spinner/index.d.ts",
|
|
118
118
|
"esm2022": "./esm2022/spx-spinner/softpak-components-spx-spinner.mjs",
|