@visitscotland/component-library 1.0.9 → 1.0.10
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/CHANGELOG.md +15 -8
- package/dist/client/manifest.json +4 -4
- package/dist/client/scripts/79134396a3d8568b2d85.js +1 -0
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/730f269a8fc7668346b3.js +0 -1
- /package/dist/client/styles/{730f269a8fc7668346b3.css → 79134396a3d8568b2d85.css} +0 -0
- /package/dist/ssr/styles/{24cb45edacbd6ee2ac35.css → 91f44850d92a97d1d18e.css} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,15 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
### [1.0.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### 📝 Docs
|
|
9
|
-
|
|
10
|
-
* **socialshare.stories.js:** wrap the component in an absolutely positioned div ([8907dd7](https://github.com/visitscotland/vs-component-library/commit/8907dd735a3b421e7c26a004597c528d6b737505))
|
|
5
|
+
### [1.0.10](https://github.com/visitscotland/vs-component-library/compare/v1.0.9...v1.0.10) (2023-08-04)
|
|
11
6
|
|
|
12
7
|
|
|
13
8
|
### 🐛 Bug Fixes
|
|
14
9
|
|
|
15
|
-
* **
|
|
16
|
-
|
|
10
|
+
* **meganav:** ensure search bar is open before focussing input ([7a6311d](https://github.com/visitscotland/vs-component-library/commit/7a6311d478e017c5d7a32894afec9cd88f8b57b6))
|
|
11
|
+
|
|
12
|
+
### [1.0.9](https://github.com/visitscotland/vs-component-library/compare/v1.0.8...v1.0.9) (2023-08-03)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### 📝 Docs
|
|
16
|
+
|
|
17
|
+
* **socialshare.stories.js:** wrap the component in an absolutely positioned div ([8907dd7](https://github.com/visitscotland/vs-component-library/commit/8907dd735a3b421e7c26a004597c528d6b737505))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### 🐛 Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **socialshare.vue:** add container prop set to "body" ([3edc3b8](https://github.com/visitscotland/vs-component-library/commit/3edc3b84932f3b19969caa39a329af71316852b1))
|
|
23
|
+
* **ssr:** bring lazy hydrate fix over from other repo ([b707973](https://github.com/visitscotland/vs-component-library/commit/b707973d90ea9212eed71ca30b550c3a1fd1fde8))
|
|
@@ -4335,7 +4335,7 @@
|
|
|
4335
4335
|
"scripts/8618c1bb19a7e8fd6983.js",
|
|
4336
4336
|
"scripts/c06913a0713c25cc5fb8.js",
|
|
4337
4337
|
"scripts/a48a2b06e83f5633ea99.js",
|
|
4338
|
-
"scripts/
|
|
4338
|
+
"scripts/79134396a3d8568b2d85.js",
|
|
4339
4339
|
"scripts/989847d3f18143a3d11a.js",
|
|
4340
4340
|
"scripts/3633fb5ffc37b6206270.js",
|
|
4341
4341
|
"scripts/128d6d31eefdbd7623f2.js",
|
|
@@ -4348,7 +4348,7 @@
|
|
|
4348
4348
|
"styles/bb5f66fdff1806a7b91d.css",
|
|
4349
4349
|
"styles/0f1d80669c0f36ef7a3a.css",
|
|
4350
4350
|
"styles/c06913a0713c25cc5fb8.css",
|
|
4351
|
-
"styles/
|
|
4351
|
+
"styles/79134396a3d8568b2d85.css",
|
|
4352
4352
|
"styles/989847d3f18143a3d11a.css",
|
|
4353
4353
|
"styles/3633fb5ffc37b6206270.css",
|
|
4354
4354
|
"styles/128d6d31eefdbd7623f2.css",
|
|
@@ -4846,7 +4846,7 @@
|
|
|
4846
4846
|
"scripts/c3b673fbfb24084ec12a.js",
|
|
4847
4847
|
"scripts/8618c1bb19a7e8fd6983.js",
|
|
4848
4848
|
"scripts/c06913a0713c25cc5fb8.js",
|
|
4849
|
-
"scripts/
|
|
4849
|
+
"scripts/79134396a3d8568b2d85.js",
|
|
4850
4850
|
"scripts/9a27d3c4075175dde6b2.js"
|
|
4851
4851
|
],
|
|
4852
4852
|
"styles": [
|
|
@@ -4854,7 +4854,7 @@
|
|
|
4854
4854
|
"styles/18f2445b32c899cb5d25.css",
|
|
4855
4855
|
"styles/66b8a5d09a8317bd9092.css",
|
|
4856
4856
|
"styles/c06913a0713c25cc5fb8.css",
|
|
4857
|
-
"styles/
|
|
4857
|
+
"styles/79134396a3d8568b2d85.css"
|
|
4858
4858
|
]
|
|
4859
4859
|
},
|
|
4860
4860
|
"VsSiteSearch": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3800],{38114:function(){},21789:function(t,e,n){"use strict";var s=n(17370),r=n(63817),o=n(83918),a=n(81779);e.Z={name:"VsSiteSearchForm",status:"prototype",release:"0.0.1",components:{VsIcon:s.default,VsInput:r.default,VsButton:o.default,VsCol:a.hY,VsRow:a.ou,VsContainer:a.xB},props:{isShowing:{type:Boolean,default:!1},labelText:{type:String,default:""},submitButtonText:{type:String,default:""},clearButtonText:{type:String,default:""},closeButtonText:{type:String,default:""}},data:function(){return{searchTerm:"",showSearchForm:!0}},watch:{isShowing:function(t){t&&this.focusOnInput()}},methods:{focusOnInput:function(){var t=this;this.$nextTick((function(){return t.$refs.searchInput.$refs.input.focus()}))},updateVal:function(t){this.searchTerm=t.value},onSubmit:function(t){""===this.searchTerm&&t.preventDefault()},closeSearchForm:function(){this.$emit("toggleAction",this.showSearchForm)}}}},61178:function(t,e,n){"use strict";n.d(e,{s:function(){return f}});var s=n(66252),r=n(3577),o={key:0,class:"vs-site-search-form","data-test":"vs-site-search-form"},a={class:"cludo-input-form d-flex align-items-start",role:"search",id:"cludo-search-input"},u={class:"d-flex flex-column flex-grow-1 position-relative"},c={for:"site-search",class:"vs-site-search-form__label"},i={class:"sr-only"},l={class:"sr-only"};function f(t,e,n,f,p,d){var h=(0,s.up)("VsIcon"),m=(0,s.up)("VsInput"),_=(0,s.up)("VsButton"),v=(0,s.up)("VsCol"),b=(0,s.up)("VsRow"),y=(0,s.up)("VsContainer");return p.showSearchForm?((0,s.wg)(),(0,s.iD)("div",o,[(0,s.Wm)(y,{fluid:"lg"},{default:(0,s.w5)((function(){return[(0,s.Wm)(b,null,{default:(0,s.w5)((function(){return[(0,s.Wm)(v,{cols:"12"},{default:(0,s.w5)((function(){return[(0,s._)("div",a,[(0,s._)("div",u,[(0,s._)("label",c,[(0,s._)("span",i,(0,r.toDisplayString)(n.labelText),1),(0,s.Wm)(h,{name:"search",size:"xxs",variant:"secondary"})]),(0,s.Wm)(m,{class:"vs-site-search-form__input cludo-input-form__input",ref:"searchInput",name:"searchrequest",type:"search","field-name":"site-search",placeholder:n.labelText,"clear-button-text":n.clearButtonText,"auto-complete":!1,onUpdated:d.updateVal},null,8,["placeholder","clear-button-text","onUpdated"])]),(0,s.Wm)(_,{type:"submit",class:"vs-site-search-form__search-button cludo-input-form__search-button",variant:"primary",size:"lg",onClick:d.closeSearchForm},{default:(0,s.w5)((function(){return[(0,s.Uk)((0,r.toDisplayString)(n.submitButtonText),1)]})),_:1},8,["onClick"])])]})),_:1})]})),_:1})]})),_:1}),(0,s.Wm)(_,{class:"vs-site-search-form__close-button d-none d-lg-block",variant:"transparent",icon:"close-circle",size:"md","icon-only":"",onClick:d.closeSearchForm},{default:(0,s.w5)((function(){return[(0,s._)("span",l,(0,r.toDisplayString)(n.closeButtonText),1)]})),_:1},8,["onClick"])])):(0,s.kq)("",!0)}},48398:function(t,e,n){"use strict";var s=n(93379),r=n.n(s),o=n(7795),a=n.n(o),u=n(90569),c=n.n(u),i=n(3565),l=n.n(i),f=n(19216),p=n.n(f),d=n(44589),h=n.n(d),m=n(38114),_=n.n(m),v={};v.styleTagTransform=h(),v.setAttributes=l(),v.insert=c().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=p(),r()(_(),v),_()&&_().locals&&_().locals},43800:function(t,e,n){"use strict";n.r(e);var s=n(16314),r=n(77871);n(47983);const o=(0,n(83744).Z)(r.Z,[["render",s.s]]);e.default=o},77871:function(t,e,n){"use strict";n.d(e,{Z:function(){return s.Z}});var s=n(21789)},16314:function(t,e,n){"use strict";n.d(e,{s:function(){return s.s}});var s=n(61178)},47983:function(t,e,n){"use strict";n(48398)}}]);
|