@visitscotland/component-library 4.3.8 → 4.3.9

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 CHANGED
@@ -2,20 +2,27 @@
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
- ### [4.3.8](https://github.com/visitscotland/vs-component-library/compare/v4.3.7...v4.3.8) (2024-12-09)
5
+ ### [4.3.9](https://github.com/visitscotland/vs-component-library/compare/v4.3.8...v4.3.9) (2024-12-12)
6
6
 
7
7
 
8
8
  ### 🐛 Bug Fixes
9
9
 
10
- * **form.vue:** add logic in Form.vue to parse hidden inputs and convert 'true/false' to booleans ([49651da](https://github.com/visitscotland/vs-component-library/commit/49651da225dbc6dd08103d36efa1aafef766c704))
11
-
12
- ### [4.3.7](https://github.com/visitscotland/vs-component-library/compare/v4.3.6...v4.3.7) (2024-12-03)
13
-
14
-
15
- ### 📝 Docs
16
-
17
- * **mega nav:** story template wasn't using correct slot for nav-heading-cta-link ([1f83b93](https://github.com/visitscotland/vs-component-library/commit/1f83b9357c00bd928fb0b8ea01589396cb1c027e))
10
+ * **styled list:** change source prop to a slot ([11766a8](https://github.com/visitscotland/vs-component-library/commit/11766a815bb01d5725b795cbf1228a71f923eb12))
18
11
 
12
+ ### [4.3.8](https://github.com/visitscotland/vs-component-library/compare/v4.3.7...v4.3.8) (2024-12-09)
13
+
14
+
15
+ ### 🐛 Bug Fixes
16
+
17
+ * **form.vue:** add logic in Form.vue to parse hidden inputs and convert 'true/false' to booleans ([49651da](https://github.com/visitscotland/vs-component-library/commit/49651da225dbc6dd08103d36efa1aafef766c704))
18
+
19
+ ### [4.3.7](https://github.com/visitscotland/vs-component-library/compare/v4.3.6...v4.3.7) (2024-12-03)
20
+
21
+
22
+ ### 📝 Docs
23
+
24
+ * **mega nav:** story template wasn't using correct slot for nav-heading-cta-link ([1f83b93](https://github.com/visitscotland/vs-component-library/commit/1f83b9357c00bd928fb0b8ea01589396cb1c027e))
25
+
19
26
  ### [4.3.6](https://github.com/visitscotland/vs-component-library/compare/v4.3.5...v4.3.6) (2024-11-28)
20
27
 
21
28
 
@@ -5639,11 +5639,11 @@
5639
5639
  "scripts/0b4a30bc05ca83cf616a.js",
5640
5640
  "scripts/d6fe7d8eecd19da0e34b.js",
5641
5641
  "scripts/74b51e65681bf9c91a25.js",
5642
- "scripts/029cb9ef72e790dc28c3.js"
5642
+ "scripts/18824a59ed1e9b6f90ca.js"
5643
5643
  ],
5644
5644
  "styles": [
5645
5645
  "styles/0b4a30bc05ca83cf616a.css",
5646
- "styles/029cb9ef72e790dc28c3.css"
5646
+ "styles/18824a59ed1e9b6f90ca.css"
5647
5647
  ]
5648
5648
  },
5649
5649
  "VsSummaryBoxDistanceListItem": {
@@ -0,0 +1 @@
1
+ !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.VsStyledList=n():t.VsStyledList=n()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3171],{90604:function(){},89443:function(t,n,e){"use strict";var s=e(20641),i=e(90033),l=e(50953),u=e(11438),o={class:"vs-styled-list__list"},r={class:"vs-styled-list__source"};n.A={__name:"StyledList",props:{source:{type:String,default:null},variant:{type:String,default:"icon",validator:function(t){return["icon","image","image-horizontal","numbered"].includes(t)}}},setup:function(t){var n=t;return function(t,e){return(0,s.uX)(),(0,s.CE)("div",{class:(0,i.normalizeClass)(["vs-styled-list","vs-styled-list--".concat(n.variant)]),"data-test":"vs-styled-list"},[(0,s.bF)((0,l.R1)(u.T$),null,{default:(0,s.k6)((function(){return[(0,s.bF)((0,l.R1)(u.AQ),null,{default:(0,s.k6)((function(){return[(0,s.bF)((0,l.R1)(u.Il),{md:"icon"===n.variant?"8":null},{default:(0,s.k6)((function(){return[(0,s.Lk)("ul",o,[(0,s.RG)(t.$slots,"default")])]})),_:3},8,["md"])]})),_:3}),t.$slots["list-source"]&&t.$slots["list-source"]()?((0,s.uX)(),(0,s.Wv)((0,l.R1)(u.AQ),{key:0},{default:(0,s.k6)((function(){return[(0,s.Lk)("div",r,[(0,s.RG)(t.$slots,"list-source")])]})),_:3})):(0,s.Q3)("",!0)]})),_:3})],2)}}}},93434:function(t,n,e){"use strict";var s=e(85072),i=e.n(s),l=e(97825),u=e.n(l),o=e(77659),r=e.n(o),c=e(55056),a=e.n(c),f=e(10540),d=e.n(f),v=e(41113),y=e.n(v),p=e(90604),_=e.n(p),m={};m.styleTagTransform=y(),m.setAttributes=a(),m.insert=r().bind(null,"head"),m.domAPI=u(),m.insertStyleElement=d(),i()(_(),m),_()&&_().locals&&_().locals},17969:function(t,n,e){"use strict";e.r(n);var s=e(57311);e(69286);const i=s.A;n.default=i},57311:function(t,n,e){"use strict";e.d(n,{A:function(){return s.A}});var s=e(89443)},69286:function(t,n,e){"use strict";e(93434)}},function(t){return t.O(0,[641,6262,7510,3751,4352,8638,2368,7521,1438],(function(){return 17969,t(t.s=17969)})),t.O()}])}));
@@ -7,6 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}
7
7
  };
8
8
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
9
9
  default?(_: {}): any;
10
+ "list-source"?(_: {}): any;
10
11
  }>;
11
12
  export default _default;
12
13
  type __VLS_WithTemplateSlots<T, S> = T & (new () => {
@@ -35,6 +35,7 @@ declare const _default: {
35
35
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
36
36
  $slots: {
37
37
  default?(_: {}): any;
38
+ "list-source"?(_: {}): any;
38
39
  };
39
40
  });
40
41
  VsStyledListItem: {