@ukho/admiralty-core 0.3.1 → 0.3.2--canary.5ceff87.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.
- package/dist/admiralty/admiralty.esm.js +1 -1
- package/dist/admiralty/p-af658bba.entry.js +2 -0
- package/dist/admiralty/p-af658bba.entry.js.map +1 -0
- package/dist/cjs/admiralty-type-ahead-item.cjs.entry.js +6 -0
- package/dist/cjs/admiralty-type-ahead-item.cjs.entry.js.map +1 -1
- package/dist/collection/components/type-ahead-item/type-ahead-item.js +9 -0
- package/dist/collection/components/type-ahead-item/type-ahead-item.js.map +1 -1
- package/dist/components/admiralty-type-ahead-item.js +6 -0
- package/dist/components/admiralty-type-ahead-item.js.map +1 -1
- package/dist/esm/admiralty-type-ahead-item.entry.js +6 -0
- package/dist/esm/admiralty-type-ahead-item.entry.js.map +1 -1
- package/dist/types/components/type-ahead-item/type-ahead-item.d.ts +1 -0
- package/package.json +2 -2
- package/dist/admiralty/p-d7ed8189.entry.js +0 -2
- package/dist/admiralty/p-d7ed8189.entry.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as a,b as e}from"./p-8225cd30.js";export{s as setNonce}from"./p-8225cd30.js";const i=()=>{const e=import.meta.url;const i={};if(e!==""){i.resourcesUrl=new URL(".",e).href}return a(i)};i().then((a=>e([["p-09e7df9b",[[6,"admiralty-type-ahead",{value:[1],label:[1],hint:[1],placeholder:[1],resultsOnInitFocus:[4,"results-on-init-focus"],filterResult:[32]}]]],["p-41aa3d54",[[6,"admiralty-select",{disabled:[4],error:[4],errorHint:[1,"error-hint"],hint:[1],label:[1],width:[2],value:[1032]}]]],["p-26a07388",[[2,"admiralty-textarea",{label:[1],text:[1],hint:[1],width:[2],maxLength:[2,"max-length"],disabled:[4],invalid:[4],invalidMessage:[1,"invalid-message"]}]]],["p-18d8edba",[[6,"admiralty-colour-block",{width:[2],height:[2],heading:[1],colour:[1],clickAction:[16],actionText:[1,"action-text"]}]]],["p-04d983b1",[[6,"admiralty-filter",{filterTitle:[1,"filter-title"]}]]],["p-8e1c544e",[[6,"admiralty-filter-group",{groupTitle:[1,"group-title"]}]]],["p-25137236",[[2,"admiralty-paginator",{pages:[2],currentPage:[2,"current-page"],label:[1]}]]],["p-6a67787d",[[6,"admiralty-breadcrumb",{active:[4],first:[4],href:[1]}]]],["p-427931d8",[[6,"admiralty-dialogue",{type:[1],heading:[1]}]]],["p-4f277eda",[[2,"admiralty-file-input",{label:[1],multiple:[4],files:[32]}]]],["p-e14d755c",[[6,"admiralty-header",{headerTitle:[1,"header-title"],headerTitleUrl:[1,"header-title-url"],logoLinkUrl:[1,"logo-link-url"],logoImgUrl:[1,"logo-img-url"],logoAltText:[1,"logo-alt-text"],mobileMenuOpen:[32],displayHamburger:[32]}]]],["p-13337000",[[2,"admiralty-progress-bar",{label:[1],progression:[2],error:[4],progressionValue:[32]}]]],["p-b2f9c733",[[6,"admiralty-read-more",{heading:[1],expanded:[32]}]]],["p-33f2277f",[[6,"admiralty-breadcrumbs"]]],["p-73f1e9af",[[6,"admiralty-card",{heading:[1]}]]],["p-d714d96d",[[2,"admiralty-checkbox",{checkboxRight:[4,"checkbox-right"],disabled:[4],name:[1],checked:[1028],value:[8],labelText:[1,"label-text"]}]]],["p-03984927",[[6,"admiralty-footer",{imageLink:[1,"image-link"],imageSrc:[1,"image-src"],imageAlt:[1,"image-alt"],text:[1]}]]],["p-41872b2c",[[6,"admiralty-header-menu-item",{menuTitle:[1,"menu-title"],active:[4]}]]],["p-5c8e168b",[[2,"admiralty-header-profile",{isSignedIn:[4,"is-signed-in"],signedInText:[1,"signed-in-text"],displaySubmenu:[32]}]]],["p-6bd89e36",[[2,"admiralty-header-sub-menu-item",{menuTitle:[1,"menu-title"]}]]],["p-aa056a9d",[[2,"admiralty-hr"]]],["p-372a7b5d",[[6,"admiralty-link",{href:[1],newTab:[4,"new-tab"]}]]],["p-4fd3d786",[[4,"admiralty-paginator-wrapper",null,[[0,"pageChange","pageChangedHandler"]]]]],["p-45d70b06",[[2,"admiralty-phase-banner",{phase:[1],link:[1]}]]],["p-8a83fdc2",[[6,"admiralty-radio",{name:[1],value:[1025],disabled:[4],checked:[1028],buttonTabindex:[32],setButtonTabindex:[64]}]]],["p-70bf6a66",[[6,"admiralty-radio-group",{name:[1],value:[1032],displayVertical:[4,"display-vertical"]}]]],["p-62b6c19e",[[6,"admiralty-side-nav",{label:[1]}]]],["p-fd2e811e",[[2,"admiralty-side-nav-item",{sideNavItemId:[1,"side-nav-item-id"],headingTitle:[1,"heading-title"],navActive:[4,"nav-active"]}]]],["p-b82a1318",[[4,"admiralty-side-nav-wrapper",null,[[0,"sideNavItemSelected","onSideNavItemSelected"]]]]],["p-1ff4dbf7",[[6,"admiralty-tab",{label:[1],tabLabelId:[1,"tab-label-id"],tabContentId:[1,"tab-content-id"]}]]],["p-24ae9a66",[[6,"admiralty-tab-group",{selectedIndex:[1026,"selected-index"]}]]],["p-644da64d",[[6,"admiralty-table",{caption:[1]}]]],["p-6b52f2e4",[[6,"admiralty-table-body"]]],["p-3a802b4b",[[6,"admiralty-table-cell"]]],["p-dc8c7789",[[6,"admiralty-table-header"]]],["p-20b64a58",[[6,"admiralty-table-header-cell"]]],["p-b6634d3d",[[6,"admiralty-table-row"]]],["p-af658bba",[[2,"admiralty-type-ahead-item",{value:[1]}]]],["p-21bb17f3",[[1,"admiralty-icon",{iconName:[1,"icon-name"],iconPrefix:[1,"icon-prefix"]}]]],["p-f0d70648",[[2,"admiralty-input",{name:[1],label:[1],hint:[1],disabled:[4],type:[1],placeholder:[1],width:[2],required:[4],invalid:[4],invalidMessage:[1,"invalid-message"],autocomplete:[1],value:[1032]}]]],["p-3ac74056",[[6,"admiralty-expansion",{heading:[1],expanded:[1540],alignHeadingRight:[4,"align-heading-right"],hideBorder:[4,"hide-border"]}]]],["p-b0f577b7",[[6,"admiralty-button",{variant:[1],icon:[1],disabled:[516],type:[1]}]]],["p-9602a0d0",[[6,"admiralty-input-error"],[6,"admiralty-hint",{disabled:[4]}],[6,"admiralty-label",{disabled:[4],for:[1]}]]]],a)));
|
|
2
2
|
//# sourceMappingURL=admiralty.esm.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as e,h as a,H as t}from"./p-8225cd30.js";const s=".sc-admiralty-type-ahead-item-h{display:block}";const r=class{constructor(a){e(this,a);this.value=undefined}onNameChanged(e){console.log("got value: ",e)}render(){return a(t,null)}static get watchers(){return{value:["onNameChanged"]}}};r.style=s;export{r as admiralty_type_ahead_item};
|
|
2
|
+
//# sourceMappingURL=p-af658bba.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["typeAheadItemCss","AdmiraltyTypeAheadItem","onNameChanged","value","console","log","render","h","Host"],"sources":["./src/components/type-ahead-item/type-ahead-item.scss?tag=admiralty-type-ahead-item&encapsulation=scoped","./src/components/type-ahead-item/type-ahead-item.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, Host, Prop, Watch, h } from '@stencil/core';\n\n@Component({\n tag: 'admiralty-type-ahead-item',\n styleUrl: 'type-ahead-item.scss',\n scoped: true,\n})\nexport class AdmiraltyTypeAheadItem {\n @Prop() value!: string;\n\n @Watch('value')\n onNameChanged(value: string) {\n console.log('got value: ', value);\n }\n\n render() {\n return <Host></Host>;\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAmB,iD,MCOZC,EAAsB,M,8CAIjCC,cAAcC,GACZC,QAAQC,IAAI,cAAeF,E,CAG7BG,SACE,OAAOC,EAACC,EAAI,K"}
|
|
@@ -11,9 +11,15 @@ const AdmiraltyTypeAheadItem = class {
|
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.value = undefined;
|
|
13
13
|
}
|
|
14
|
+
onNameChanged(value) {
|
|
15
|
+
console.log('got value: ', value);
|
|
16
|
+
}
|
|
14
17
|
render() {
|
|
15
18
|
return index.h(index.Host, null);
|
|
16
19
|
}
|
|
20
|
+
static get watchers() { return {
|
|
21
|
+
"value": ["onNameChanged"]
|
|
22
|
+
}; }
|
|
17
23
|
};
|
|
18
24
|
AdmiraltyTypeAheadItem.style = typeAheadItemCss;
|
|
19
25
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"admiralty-type-ahead-item.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,gBAAgB,GAAG,gDAAgD;;MCO5D,sBAAsB;;;;;
|
|
1
|
+
{"file":"admiralty-type-ahead-item.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,gBAAgB,GAAG,gDAAgD;;MCO5D,sBAAsB;;;;;EAIjC,aAAa,CAAC,KAAa;IACzB,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;GACnC;EAED,MAAM;IACJ,OAAOA,QAACC,UAAI,OAAQ,CAAC;GACtB;;;;;;;;;","names":["h","Host"],"sources":["./src/components/type-ahead-item/type-ahead-item.scss?tag=admiralty-type-ahead-item&encapsulation=scoped","./src/components/type-ahead-item/type-ahead-item.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, Host, Prop, Watch, h } from '@stencil/core';\n\n@Component({\n tag: 'admiralty-type-ahead-item',\n styleUrl: 'type-ahead-item.scss',\n scoped: true,\n})\nexport class AdmiraltyTypeAheadItem {\n @Prop() value!: string;\n\n @Watch('value')\n onNameChanged(value: string) {\n console.log('got value: ', value);\n }\n\n render() {\n return <Host></Host>;\n }\n}\n"],"version":3}
|
|
@@ -3,6 +3,9 @@ export class AdmiraltyTypeAheadItem {
|
|
|
3
3
|
constructor() {
|
|
4
4
|
this.value = undefined;
|
|
5
5
|
}
|
|
6
|
+
onNameChanged(value) {
|
|
7
|
+
console.log('got value: ', value);
|
|
8
|
+
}
|
|
6
9
|
render() {
|
|
7
10
|
return h(Host, null);
|
|
8
11
|
}
|
|
@@ -39,5 +42,11 @@ export class AdmiraltyTypeAheadItem {
|
|
|
39
42
|
}
|
|
40
43
|
};
|
|
41
44
|
}
|
|
45
|
+
static get watchers() {
|
|
46
|
+
return [{
|
|
47
|
+
"propName": "value",
|
|
48
|
+
"methodName": "onNameChanged"
|
|
49
|
+
}];
|
|
50
|
+
}
|
|
42
51
|
}
|
|
43
52
|
//# sourceMappingURL=type-ahead-item.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type-ahead-item.js","sourceRoot":"","sources":["../../../src/components/type-ahead-item/type-ahead-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"type-ahead-item.js","sourceRoot":"","sources":["../../../src/components/type-ahead-item/type-ahead-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOhE,MAAM,OAAO,sBAAsB;;;;EAIjC,aAAa,CAAC,KAAa;IACzB,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;EACpC,CAAC;EAED,MAAM;IACJ,OAAO,EAAC,IAAI,OAAQ,CAAC;EACvB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, Watch, h } from '@stencil/core';\n\n@Component({\n tag: 'admiralty-type-ahead-item',\n styleUrl: 'type-ahead-item.scss',\n scoped: true,\n})\nexport class AdmiraltyTypeAheadItem {\n @Prop() value!: string;\n\n @Watch('value')\n onNameChanged(value: string) {\n console.log('got value: ', value);\n }\n\n render() {\n return <Host></Host>;\n }\n}\n"]}
|
|
@@ -8,9 +8,15 @@ const AdmiraltyTypeAheadItem$1 = /*@__PURE__*/ proxyCustomElement(class Admiralt
|
|
|
8
8
|
this.__registerHost();
|
|
9
9
|
this.value = undefined;
|
|
10
10
|
}
|
|
11
|
+
onNameChanged(value) {
|
|
12
|
+
console.log('got value: ', value);
|
|
13
|
+
}
|
|
11
14
|
render() {
|
|
12
15
|
return h(Host, null);
|
|
13
16
|
}
|
|
17
|
+
static get watchers() { return {
|
|
18
|
+
"value": ["onNameChanged"]
|
|
19
|
+
}; }
|
|
14
20
|
static get style() { return typeAheadItemCss; }
|
|
15
21
|
}, [2, "admiralty-type-ahead-item", {
|
|
16
22
|
"value": [1]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"admiralty-type-ahead-item.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,gDAAgD;;MCO5DA,wBAAsB;;;;;;
|
|
1
|
+
{"file":"admiralty-type-ahead-item.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,gDAAgD;;MCO5DA,wBAAsB;;;;;;EAIjC,aAAa,CAAC,KAAa;IACzB,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;GACnC;EAED,MAAM;IACJ,OAAO,EAAC,IAAI,OAAQ,CAAC;GACtB;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["AdmiraltyTypeAheadItem"],"sources":["./src/components/type-ahead-item/type-ahead-item.scss?tag=admiralty-type-ahead-item&encapsulation=scoped","./src/components/type-ahead-item/type-ahead-item.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, Host, Prop, Watch, h } from '@stencil/core';\n\n@Component({\n tag: 'admiralty-type-ahead-item',\n styleUrl: 'type-ahead-item.scss',\n scoped: true,\n})\nexport class AdmiraltyTypeAheadItem {\n @Prop() value!: string;\n\n @Watch('value')\n onNameChanged(value: string) {\n console.log('got value: ', value);\n }\n\n render() {\n return <Host></Host>;\n }\n}\n"],"version":3}
|
|
@@ -7,9 +7,15 @@ const AdmiraltyTypeAheadItem = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
this.value = undefined;
|
|
9
9
|
}
|
|
10
|
+
onNameChanged(value) {
|
|
11
|
+
console.log('got value: ', value);
|
|
12
|
+
}
|
|
10
13
|
render() {
|
|
11
14
|
return h(Host, null);
|
|
12
15
|
}
|
|
16
|
+
static get watchers() { return {
|
|
17
|
+
"value": ["onNameChanged"]
|
|
18
|
+
}; }
|
|
13
19
|
};
|
|
14
20
|
AdmiraltyTypeAheadItem.style = typeAheadItemCss;
|
|
15
21
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"admiralty-type-ahead-item.entry.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,gDAAgD;;MCO5D,sBAAsB;;;;;
|
|
1
|
+
{"file":"admiralty-type-ahead-item.entry.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,gDAAgD;;MCO5D,sBAAsB;;;;;EAIjC,aAAa,CAAC,KAAa;IACzB,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;GACnC;EAED,MAAM;IACJ,OAAO,EAAC,IAAI,OAAQ,CAAC;GACtB;;;;;;;;;","names":[],"sources":["./src/components/type-ahead-item/type-ahead-item.scss?tag=admiralty-type-ahead-item&encapsulation=scoped","./src/components/type-ahead-item/type-ahead-item.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, Host, Prop, Watch, h } from '@stencil/core';\n\n@Component({\n tag: 'admiralty-type-ahead-item',\n styleUrl: 'type-ahead-item.scss',\n scoped: true,\n})\nexport class AdmiraltyTypeAheadItem {\n @Prop() value!: string;\n\n @Watch('value')\n onNameChanged(value: string) {\n console.log('got value: ', value);\n }\n\n render() {\n return <Host></Host>;\n }\n}\n"],"version":3}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ukho/admiralty-core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2--canary.5ceff87.0",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"license": "MIT",
|
|
69
69
|
"url": "https://github.com/UKHO/admiralty-design-system",
|
|
70
70
|
"repository": "git://github.com/UKHO/admiralty-design-system.git",
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "5ceff877bfea5df93d91b3c4523d24be638d3727"
|
|
72
72
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as a,H as s}from"./p-8225cd30.js";const e=".sc-admiralty-type-ahead-item-h{display:block}";const r=class{constructor(a){t(this,a);this.value=undefined}render(){return a(s,null)}};r.style=e;export{r as admiralty_type_ahead_item};
|
|
2
|
-
//# sourceMappingURL=p-d7ed8189.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["typeAheadItemCss","AdmiraltyTypeAheadItem","render","h","Host"],"sources":["./src/components/type-ahead-item/type-ahead-item.scss?tag=admiralty-type-ahead-item&encapsulation=scoped","./src/components/type-ahead-item/type-ahead-item.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, Host, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'admiralty-type-ahead-item',\n styleUrl: 'type-ahead-item.scss',\n scoped: true,\n})\nexport class AdmiraltyTypeAheadItem {\n @Prop() value!: string;\n\n render() {\n return <Host></Host>;\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAmB,iD,MCOZC,EAAsB,M,8CAGjCC,SACE,OAAOC,EAACC,EAAI,K"}
|