@pequity/squirrel 1.2.6 → 1.2.8

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.
@@ -3,7 +3,7 @@ const vue = require("vue");
3
3
  const pBtn = require("../p-btn.js");
4
4
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
5
5
  ...{
6
- name: "PBtnGroup"
6
+ name: "PSelectBtn"
7
7
  },
8
8
  __name: "p-select-btn",
9
9
  props: {
package/dist/cjs/index.js CHANGED
@@ -957,7 +957,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
957
957
  };
958
958
  }
959
959
  });
960
- const pTable = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main$1, [["__scopeId", "data-v-8582afb1"]]);
960
+ const pTable = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main$1, [["__scopeId", "data-v-f12e8db6"]]);
961
961
  const _sfc_main = vue.defineComponent({
962
962
  name: "PTableSort",
963
963
  props: {
@@ -2,7 +2,7 @@ import { defineComponent, resolveDirective, openBlock, createElementBlock, norma
2
2
  import PBtn from "../p-btn.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  ...{
5
- name: "PBtnGroup"
5
+ name: "PSelectBtn"
6
6
  },
7
7
  __name: "p-select-btn",
8
8
  props: {
package/dist/es/index.js CHANGED
@@ -957,7 +957,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
957
957
  };
958
958
  }
959
959
  });
960
- const pTable = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-8582afb1"]]);
960
+ const pTable = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-f12e8db6"]]);
961
961
  const _sfc_main = defineComponent({
962
962
  name: "PTableSort",
963
963
  props: {
@@ -22,9 +22,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
22
22
  paddingBottom: number;
23
23
  };
24
24
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ scroll: (val: Event) => void;
26
+ "click-filter-icon": (val: Event, col: any) => void;
25
27
  "col-resize": (colIndex: number, width: number) => void;
26
- scroll: (e: Event) => void;
27
- "click-filter-icon": (e: Event, col: any) => void;
28
28
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
29
29
  colsResizable: boolean;
30
30
  isFirstColFixed: boolean;
@@ -36,8 +36,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
36
36
  paddingBottom: number;
37
37
  };
38
38
  }>>> & {
39
- onScroll?: ((e: Event) => any) | undefined;
40
- "onClick-filter-icon"?: ((e: Event, col: any) => any) | undefined;
39
+ onScroll?: ((val: Event) => any) | undefined;
40
+ "onClick-filter-icon"?: ((val: Event, col: any) => any) | undefined;
41
41
  "onCol-resize"?: ((colIndex: number, width: number) => any) | undefined;
42
42
  }, {
43
43
  isFirstColFixed: boolean;
package/dist/style.css CHANGED
@@ -2094,29 +2094,29 @@ to {
2094
2094
  .bg-file-upload-x-icon[data-v-d07a8f64]:hover {
2095
2095
  background-image: url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%208C0%209.58225%200.469192%2011.129%201.34824%2012.4446C2.22729%2013.7602%203.47672%2014.7855%204.93853%2015.391C6.40034%2015.9965%208.00887%2016.155%209.56072%2015.8463C11.1126%2015.5376%2012.538%2014.7757%2013.6569%2013.6569C14.7757%2012.538%2015.5376%2011.1126%2015.8463%209.56072C16.155%208.00887%2015.9965%206.40034%2015.391%204.93853C14.7855%203.47672%2013.7602%202.22729%2012.4446%201.34824C11.129%200.469192%209.58225%200%208%200C5.87827%200%203.84344%200.842855%202.34315%202.34315C0.842855%203.84344%200%205.87827%200%208ZM14.3333%208C14.3333%209.25262%2013.9619%2010.4771%2013.266%2011.5186C12.5701%2012.5601%2011.5809%2013.3719%2010.4237%2013.8512C9.2664%2014.3306%207.99298%2014.456%206.76443%2014.2116C5.53588%2013.9673%204.40739%2013.3641%203.52166%2012.4783C2.63592%2011.5926%202.03273%2010.4641%201.78836%209.23557C1.54399%208.00703%201.66941%206.7336%202.14876%205.57634C2.62812%204.41907%203.43988%203.42994%204.48139%202.73403C5.5229%202.03811%206.74739%201.66667%208%201.66667C9.67916%201.66843%2011.289%202.33626%2012.4764%203.52361C13.6637%204.71096%2014.3316%206.32084%2014.3333%208Z'%20fill='%23BB1410'%20/%3e%3cpath%20d='M5.88634%204.71322C5.73075%204.55763%205.51972%204.47021%205.29967%204.47021C5.07963%204.47021%204.8686%204.55763%204.71301%204.71322C4.55741%204.86881%204.47%205.07984%204.47%205.29989C4.47%205.51993%204.55741%205.73096%204.71301%205.88655L6.71301%207.88655C6.72914%207.9021%206.74197%207.92074%206.75073%207.94136C6.7595%207.96198%206.76401%207.98415%206.76401%208.00655C6.76401%208.02896%206.7595%208.05113%206.75073%208.07175C6.74197%208.09237%206.72914%208.11101%206.71301%208.12655L4.71301%2010.1266C4.63561%2010.2034%204.57417%2010.2948%204.53225%2010.3955C4.49033%2010.4962%204.46875%2010.6042%204.46875%2010.7132C4.46875%2010.8223%204.49033%2010.9303%204.53225%2011.031C4.57417%2011.1317%204.63561%2011.223%204.71301%2011.2999C4.78939%2011.3781%204.88063%2011.4403%204.98138%2011.4827C5.08213%2011.5251%205.19035%2011.547%205.29967%2011.547C5.409%2011.547%205.51721%2011.5251%205.61796%2011.4827C5.71871%2011.4403%205.80996%2011.3781%205.88634%2011.2999L7.88634%209.29989C7.91934%209.27037%207.96207%209.25405%208.00634%209.25405C8.05062%209.25405%208.09334%209.27037%208.12634%209.29989L10.1263%2011.2999C10.2027%2011.3781%2010.294%2011.4403%2010.3947%2011.4827C10.4955%2011.5251%2010.6037%2011.547%2010.713%2011.547C10.8223%2011.547%2010.9305%2011.5251%2011.0313%2011.4827C11.132%2011.4403%2011.2233%2011.3781%2011.2997%2011.2999C11.3771%2011.223%2011.4385%2011.1317%2011.4804%2011.031C11.5224%2010.9303%2011.5439%2010.8223%2011.5439%2010.7132C11.5439%2010.6042%2011.5224%2010.4962%2011.4804%2010.3955C11.4385%2010.2948%2011.3771%2010.2034%2011.2997%2010.1266L9.29967%208.12655C9.27016%208.09355%209.25384%208.05083%209.25384%208.00655C9.25384%207.96228%209.27016%207.91955%209.29967%207.88655L11.2997%205.88655C11.4553%205.73096%2011.5427%205.51993%2011.5427%205.29989C11.5427%205.07984%2011.4553%204.86881%2011.2997%204.71322C11.1441%204.55763%2010.9331%204.47021%2010.713%204.47021C10.493%204.47021%2010.2819%204.55763%2010.1263%204.71322L8.12634%206.71322C8.09334%206.74274%208.05062%206.75906%208.00634%206.75906C7.96207%206.75906%207.91934%206.74274%207.88634%206.71322L5.88634%204.71322Z'%20fill='%23BB1410'%20/%3e%3c/svg%3e");
2096
2096
  }
2097
- .p-table[data-v-8582afb1] {
2097
+ .p-table[data-v-f12e8db6] {
2098
2098
  color: var(--color-night);
2099
2099
  height: 1px;
2100
2100
  }
2101
- .p-table th[data-v-8582afb1] {
2101
+ .p-table th[data-v-f12e8db6] {
2102
2102
  position: sticky;
2103
2103
  top: 0px;
2104
2104
  z-index: 20;
2105
2105
  padding: 0px;
2106
2106
  }
2107
- .p-table.first-col-fixed th[data-v-8582afb1]:first-child {
2107
+ .p-table.first-col-fixed th[data-v-f12e8db6]:first-child {
2108
2108
  left: 0px;
2109
2109
  z-index: 30;
2110
2110
  }
2111
- .p-table.first-col-fixed th:first-child .th-shadow[data-v-8582afb1] {
2111
+ .p-table.first-col-fixed th:first-child .th-shadow[data-v-f12e8db6] {
2112
2112
  box-shadow: -1px 1px 5px 4px rgba(0, 0, 0, 0.15);
2113
2113
  clip-path: inset(0px -12px 0px 0px);
2114
2114
  }
2115
- .p-table.last-col-fixed th[data-v-8582afb1]:last-child {
2115
+ .p-table.last-col-fixed th[data-v-f12e8db6]:last-child {
2116
2116
  right: 0px;
2117
2117
  z-index: 30;
2118
2118
  }
2119
- .p-table.last-col-fixed th:last-child .th-shadow[data-v-8582afb1] {
2119
+ .p-table.last-col-fixed th:last-child .th-shadow[data-v-f12e8db6] {
2120
2120
  box-shadow: -2px 1px 8px rgba(0, 0, 0, 0.15);
2121
2121
  clip-path: inset(0px 0px 0px -12px);
2122
2122
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pequity/squirrel",
3
3
  "description": "Squirrel component library",
4
- "version": "1.2.6",
4
+ "version": "1.2.8",
5
5
  "packageManager": "pnpm@8.9.2",
6
6
  "type": "module",
7
7
  "scripts": {
@@ -58,20 +58,20 @@
58
58
  "@popperjs/core": "2.11.8",
59
59
  "@semantic-release/changelog": "^6.0.3",
60
60
  "@semantic-release/git": "^10.0.1",
61
- "@storybook/addon-a11y": "^8.1.5",
62
- "@storybook/addon-actions": "^8.1.5",
63
- "@storybook/addon-essentials": "^8.1.5",
64
- "@storybook/addon-interactions": "^8.1.5",
65
- "@storybook/addon-links": "^8.1.5",
66
- "@storybook/blocks": "^8.1.5",
61
+ "@storybook/addon-a11y": "^8.1.6",
62
+ "@storybook/addon-actions": "^8.1.6",
63
+ "@storybook/addon-essentials": "^8.1.6",
64
+ "@storybook/addon-interactions": "^8.1.6",
65
+ "@storybook/addon-links": "^8.1.6",
66
+ "@storybook/blocks": "^8.1.6",
67
67
  "@storybook/jest": "^0.2.3",
68
- "@storybook/manager-api": "^8.1.5",
68
+ "@storybook/manager-api": "^8.1.6",
69
69
  "@storybook/test-runner": "^0.18.2",
70
70
  "@storybook/testing-library": "^0.2.2",
71
- "@storybook/theming": "^8.1.5",
72
- "@storybook/vue3": "^8.1.5",
73
- "@storybook/vue3-vite": "^8.1.5",
74
- "@tanstack/vue-virtual": "3.5.0",
71
+ "@storybook/theming": "^8.1.6",
72
+ "@storybook/vue3": "^8.1.6",
73
+ "@storybook/vue3-vite": "^8.1.6",
74
+ "@tanstack/vue-virtual": "3.5.1",
75
75
  "@types/jest": "^29.5.12",
76
76
  "@types/jsdom": "^21.1.7",
77
77
  "@types/lodash-es": "^4.17.12",
@@ -90,27 +90,27 @@
90
90
  "husky": "^9.0.11",
91
91
  "jest": "^29.7.0",
92
92
  "jest-environment-jsdom": "^29.7.0",
93
- "lint-staged": "^15.2.5",
93
+ "lint-staged": "^15.2.6",
94
94
  "lodash-es": "4.17.21",
95
95
  "make-coverage-badge": "^1.2.0",
96
96
  "postcss": "^8.4.38",
97
- "prettier": "^3.3.1",
98
- "prettier-plugin-tailwindcss": "^0.6.1",
97
+ "prettier": "^3.3.2",
98
+ "prettier-plugin-tailwindcss": "^0.6.3",
99
99
  "resolve-tspaths": "^0.8.19",
100
100
  "rimraf": "^5.0.7",
101
- "sass": "^1.77.4",
101
+ "sass": "^1.77.5",
102
102
  "semantic-release": "^24.0.0",
103
- "storybook": "^8.1.5",
103
+ "storybook": "^8.1.6",
104
104
  "svgo": "^3.3.2",
105
- "tailwindcss": "^3.4.3",
105
+ "tailwindcss": "^3.4.4",
106
106
  "ts-jest": "^29.1.4",
107
107
  "typescript": "5.4.5",
108
108
  "v-calendar": "3.1.2",
109
- "vite": "^5.2.12",
109
+ "vite": "^5.2.13",
110
110
  "vue": "3.4.27",
111
111
  "vue-currency-input": "3.1.0",
112
- "vue-router": "4.3.2",
112
+ "vue-router": "4.3.3",
113
113
  "vue-toastification": "2.0.0-rc.5",
114
- "vue-tsc": "2.0.19"
114
+ "vue-tsc": "2.0.21"
115
115
  }
116
116
  }
@@ -48,7 +48,7 @@ type Props = {
48
48
  };
49
49
 
50
50
  defineOptions({
51
- name: 'PBtnGroup',
51
+ name: 'PSelectBtn',
52
52
  });
53
53
 
54
54
  const emit = defineEmits(['update:modelValue']);
@@ -107,10 +107,10 @@ type Props = {
107
107
  defineOptions({ name: 'PTable' });
108
108
 
109
109
  const emit = defineEmits<{
110
- scroll: [e: Event];
110
+ (e: 'scroll', val: Event): void;
111
111
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
112
- 'click-filter-icon': [e: Event, col: any];
113
- 'col-resize': [colIndex: number, width: number];
112
+ (e: 'click-filter-icon', val: Event, col: any): void;
113
+ (e: 'col-resize', colIndex: number, width: number): void;
114
114
  }>();
115
115
 
116
116
  // Props