@softpak/components 0.0.0-beta.128 → 0.0.0-beta.129
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,15 +1,14 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class SpxSuggestionComponent {
|
|
4
4
|
constructor() {
|
|
5
|
-
this.overflowHidden = true;
|
|
6
5
|
this.spxDisabled = false;
|
|
7
6
|
this.spxFocused = false;
|
|
8
7
|
this.spxSelected = false;
|
|
9
8
|
this.spxTabbable = false;
|
|
10
9
|
}
|
|
11
10
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SpxSuggestionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: SpxSuggestionComponent, isStandalone: true, selector: "spx-suggestion", inputs: { spxDisabled: "spxDisabled", spxFocused: "spxFocused", spxSelected: "spxSelected", spxTabbable: "spxTabbable" },
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: SpxSuggestionComponent, isStandalone: true, selector: "spx-suggestion", inputs: { spxDisabled: "spxDisabled", spxFocused: "spxFocused", spxSelected: "spxSelected", spxTabbable: "spxTabbable" }, ngImport: i0, template: `<button
|
|
13
12
|
class="spx-suggestion block rounded text-gray-900 text-sm p-3 w-full text-left truncate"
|
|
14
13
|
[class.bg-sky-100]="!this.spxSelected && !this.spxDisabled"
|
|
15
14
|
[class.focus:ring-sky-300]="!this.spxSelected && !this.spxDisabled"
|
|
@@ -52,10 +51,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
52
51
|
<div class="text-ellipsis overflow-hidden whitespace-nowrap"><ng-content></ng-content></div>
|
|
53
52
|
</button>`,
|
|
54
53
|
}]
|
|
55
|
-
}], propDecorators: {
|
|
56
|
-
type: HostBinding,
|
|
57
|
-
args: ['class.overflow-hidden']
|
|
58
|
-
}], spxDisabled: [{
|
|
54
|
+
}], propDecorators: { spxDisabled: [{
|
|
59
55
|
type: Input
|
|
60
56
|
}], spxFocused: [{
|
|
61
57
|
type: Input
|
|
@@ -64,4 +60,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
64
60
|
}], spxTabbable: [{
|
|
65
61
|
type: Input
|
|
66
62
|
}] } });
|
|
67
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
63
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3B4LXN1Z2dlc3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc29mdHBhay9jb21wb25lbnRzL3NweC1zdWdnZXN0aW9uL3NweC1zdWdnZXN0aW9uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUF3QmpELE1BQU0sT0FBTyxzQkFBc0I7SUF0Qm5DO1FBdUJXLGdCQUFXLEdBQUcsS0FBSyxDQUFDO1FBQ3BCLGVBQVUsR0FBRyxLQUFLLENBQUM7UUFDbkIsZ0JBQVcsR0FBRyxLQUFLLENBQUM7UUFDcEIsZ0JBQVcsR0FBRyxLQUFLLENBQUM7S0FDOUI7OEdBTFksc0JBQXNCO2tHQUF0QixzQkFBc0Isb01BbkJ2Qjs7Ozs7Ozs7Ozs7Ozs7Ozs7Y0FpQkU7OzJGQUVELHNCQUFzQjtrQkF0QmxDLFNBQVM7bUJBQUM7b0JB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gIEBJbnB1dCgpIHNweFRhYmJhYmxlID0gZmFsc2U7XG59XG4iXX0=
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component,
|
|
2
|
+
import { Component, Input } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
class SpxSuggestionComponent {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.overflowHidden = true;
|
|
7
6
|
this.spxDisabled = false;
|
|
8
7
|
this.spxFocused = false;
|
|
9
8
|
this.spxSelected = false;
|
|
10
9
|
this.spxTabbable = false;
|
|
11
10
|
}
|
|
12
11
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SpxSuggestionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: SpxSuggestionComponent, isStandalone: true, selector: "spx-suggestion", inputs: { spxDisabled: "spxDisabled", spxFocused: "spxFocused", spxSelected: "spxSelected", spxTabbable: "spxTabbable" },
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: SpxSuggestionComponent, isStandalone: true, selector: "spx-suggestion", inputs: { spxDisabled: "spxDisabled", spxFocused: "spxFocused", spxSelected: "spxSelected", spxTabbable: "spxTabbable" }, ngImport: i0, template: `<button
|
|
14
13
|
class="spx-suggestion block rounded text-gray-900 text-sm p-3 w-full text-left truncate"
|
|
15
14
|
[class.bg-sky-100]="!this.spxSelected && !this.spxDisabled"
|
|
16
15
|
[class.focus:ring-sky-300]="!this.spxSelected && !this.spxDisabled"
|
|
@@ -53,10 +52,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
53
52
|
<div class="text-ellipsis overflow-hidden whitespace-nowrap"><ng-content></ng-content></div>
|
|
54
53
|
</button>`,
|
|
55
54
|
}]
|
|
56
|
-
}], propDecorators: {
|
|
57
|
-
type: HostBinding,
|
|
58
|
-
args: ['class.overflow-hidden']
|
|
59
|
-
}], spxDisabled: [{
|
|
55
|
+
}], propDecorators: { spxDisabled: [{
|
|
60
56
|
type: Input
|
|
61
57
|
}], spxFocused: [{
|
|
62
58
|
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,
|
|
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-left truncate\"\n [class.bg-sky-100]=\"!this.spxSelected && !this.spxDisabled\"\n [class.focus:ring-sky-300]=\"!this.spxSelected && !this.spxDisabled\"\n [class.hover:bg-sky-300]=\"!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]=\"this.spxTabbable && !this.spxDisabled ? 0 : -1\"\n [class.ring-2]=\"this.spxTabbable && !this.spxDisabled\"\n [class.ring-offset-2]=\"this.spxTabbable && !this.spxDisabled\"\n [class.ring-blue-500]=\"this.spxTabbable && !this.spxDisabled\">\n <div class=\"text-ellipsis overflow-hidden whitespace-nowrap\"><ng-content></ng-content></div>\n </button>`,\n})\nexport class SpxSuggestionComponent {\n @Input() spxDisabled = false;\n @Input() spxFocused = false;\n @Input() spxSelected = false;\n @Input() spxTabbable = false;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAwBa,sBAAsB,CAAA;AAtBnC,IAAA,WAAA,GAAA;QAuBW,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;QACpB,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;QACnB,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;QACpB,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;AAC9B,KAAA;8GALY,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,EAnBvB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,UAAA,EAAA,YAAA,EAAA,WAAA,EAAA,aAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;AAiBE,aAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAED,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAtBlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;AAiBE,aAAA,CAAA;AACb,iBAAA,CAAA;8BAEU,WAAW,EAAA,CAAA;sBAAnB,KAAK;gBACG,UAAU,EAAA,CAAA;sBAAlB,KAAK;gBACG,WAAW,EAAA,CAAA;sBAAnB,KAAK;gBACG,WAAW,EAAA,CAAA;sBAAnB,KAAK;;;AC5BR;;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.129",
|
|
4
4
|
"private": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^17.x.x",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
"esm": "./esm2022/spx-alert/softpak-components-spx-alert.mjs",
|
|
30
30
|
"default": "./fesm2022/softpak-components-spx-alert.mjs"
|
|
31
31
|
},
|
|
32
|
-
"./spx-button": {
|
|
33
|
-
"types": "./spx-button/index.d.ts",
|
|
34
|
-
"esm2022": "./esm2022/spx-button/softpak-components-spx-button.mjs",
|
|
35
|
-
"esm": "./esm2022/spx-button/softpak-components-spx-button.mjs",
|
|
36
|
-
"default": "./fesm2022/softpak-components-spx-button.mjs"
|
|
37
|
-
},
|
|
38
32
|
"./spx-capitalize": {
|
|
39
33
|
"types": "./spx-capitalize/index.d.ts",
|
|
40
34
|
"esm2022": "./esm2022/spx-capitalize/softpak-components-spx-capitalize.mjs",
|
|
41
35
|
"esm": "./esm2022/spx-capitalize/softpak-components-spx-capitalize.mjs",
|
|
42
36
|
"default": "./fesm2022/softpak-components-spx-capitalize.mjs"
|
|
43
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
44
|
"./spx-app-configuration": {
|
|
45
45
|
"types": "./spx-app-configuration/index.d.ts",
|
|
46
46
|
"esm2022": "./esm2022/spx-app-configuration/softpak-components-spx-app-configuration.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",
|