lau-ecom-design-system 1.0.16 → 1.0.17

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.
@@ -954,13 +954,9 @@ var script = /*@__PURE__*/vue.defineComponent({
954
954
  "lau-ecom-button--disabled": props.type === LauEcomButtonType.Primary && props.isDisabled
955
955
  };
956
956
  });
957
-
958
- // const iconClasses = computed(() => {
959
- // return [
960
- // `lau-ecom-icon-button${props.type === LauEcomButtonType.Secondary ? '-secondary' : ''}`
961
- // ]
962
- // })
963
-
957
+ var iconClasses = vue.computed(function () {
958
+ return ["lau-ecom-icon-button".concat(props.type === LauEcomButtonType.Secondary ? '-secondary' : '')];
959
+ });
964
960
  var handleClick = function handleClick() {
965
961
  emit("onClick");
966
962
  };
@@ -978,8 +974,9 @@ var script = /*@__PURE__*/vue.defineComponent({
978
974
  onMouseout: handleMouseOut,
979
975
  onClick: handleClick
980
976
  }, [_ctx.hasArrow ? (vue.openBlock(), vue.createBlock(vue.unref(script$n), {
981
- key: 0
982
- })) : vue.createCommentVNode("v-if", true), vue.renderSlot(_ctx.$slots, "default")], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1);
977
+ key: 0,
978
+ class: vue.normalizeClass(iconClasses.value)
979
+ }, null, 8 /* PROPS */, ["class"])) : vue.createCommentVNode("v-if", true), vue.renderSlot(_ctx.$slots, "default")], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1);
983
980
  };
984
981
  }
985
982
  });script.__scopeId = "data-v-7cd3bda6";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lau-ecom-design-system",
3
3
  "private": false,
4
- "version": "1.0.16",
4
+ "version": "1.0.17",
5
5
  "sourceType": "module",
6
6
  "sideEffects": false,
7
7
  "main": "dist/lau-ecom-design-system.ssr.js",
@@ -37,11 +37,11 @@ const lauEcomButtonClasses = computed(() => {
37
37
  };
38
38
  });
39
39
 
40
- // const iconClasses = computed(() => {
41
- // return [
42
- // `lau-ecom-icon-button${props.type === LauEcomButtonType.Secondary ? '-secondary' : ''}`
43
- // ]
44
- // })
40
+ const iconClasses = computed(() => {
41
+ return [
42
+ `lau-ecom-icon-button${props.type === LauEcomButtonType.Secondary ? '-secondary' : ''}`
43
+ ]
44
+ })
45
45
 
46
46
  const handleClick = () => {
47
47
  emit("onClick");
@@ -65,7 +65,8 @@ const handleMouseOut = () => {
65
65
  @click="handleClick"
66
66
  >
67
67
  <LauEcomUpcIconNavArrow
68
- v-if="hasArrow" />
68
+ v-if="hasArrow"
69
+ :class="iconClasses" />
69
70
  <slot></slot>
70
71
  </button>
71
72
  </template>