@pequity/squirrel 5.4.7 → 5.4.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.
Files changed (158) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/chunks/p-date-picker.js +143 -85
  3. package/dist/cjs/chunks/p-dropdown-select.js +4 -4
  4. package/dist/cjs/chunks/p-inline-date-picker.js +117 -67
  5. package/dist/cjs/chunks/p-link.js +1 -1
  6. package/dist/cjs/chunks/p-select.js +1 -1
  7. package/dist/cjs/index.js +37 -37
  8. package/dist/cjs/p-btn.js +2 -2
  9. package/dist/cjs/p-checkbox.js +1 -1
  10. package/dist/cjs/p-chips.js +2 -2
  11. package/dist/cjs/p-input-number.js +3 -3
  12. package/dist/cjs/p-input-search.js +1 -1
  13. package/dist/cjs/p-loading.js +2 -2
  14. package/dist/cjs/p-modal.js +2 -2
  15. package/dist/cjs/p-skeleton-loader.js +1 -1
  16. package/dist/cjs/p-table-td.js +1 -1
  17. package/dist/cjs/p-toggle.js +1 -1
  18. package/dist/cjs/tailwind.js +2 -2
  19. package/dist/cjs/usePTableRowVirtualizer.js +1 -1
  20. package/dist/cjs/useSelectList.js +3 -3
  21. package/dist/es/chunks/p-date-picker.js +144 -86
  22. package/dist/es/chunks/p-dropdown-select.js +4 -4
  23. package/dist/es/chunks/p-inline-date-picker.js +118 -68
  24. package/dist/es/chunks/p-link.js +1 -1
  25. package/dist/es/chunks/p-select.js +1 -1
  26. package/dist/es/index.js +35 -35
  27. package/dist/es/p-btn.js +2 -2
  28. package/dist/es/p-checkbox.js +1 -1
  29. package/dist/es/p-chips.js +2 -2
  30. package/dist/es/p-input-number.js +3 -3
  31. package/dist/es/p-input-search.js +1 -1
  32. package/dist/es/p-loading.js +2 -2
  33. package/dist/es/p-modal.js +2 -2
  34. package/dist/es/p-skeleton-loader.js +1 -1
  35. package/dist/es/p-table-td.js +1 -1
  36. package/dist/es/p-toggle.js +1 -1
  37. package/dist/es/tailwind.js +2 -2
  38. package/dist/es/usePTableRowVirtualizer.js +1 -1
  39. package/dist/es/useSelectList.js +3 -3
  40. package/dist/squirrel/components/index.d.ts +13 -13
  41. package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +2 -2
  42. package/dist/squirrel/components/p-card/p-card.vue.d.ts +3 -2
  43. package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +2 -1
  44. package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +1 -1
  45. package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +27 -30
  46. package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +3 -3
  47. package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +8 -7
  48. package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +1 -1
  49. package/dist/squirrel/components/p-icon/p-icon.vue.d.ts +2 -2
  50. package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +2 -1
  51. package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +46 -0
  52. package/dist/squirrel/components/p-input/p-input.vue.d.ts +1 -1
  53. package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +1 -1
  54. package/dist/squirrel/components/p-input-percent/p-input-percent.vue.d.ts +1 -1
  55. package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +2 -2
  56. package/dist/squirrel/components/p-link/p-link.vue.d.ts +2 -1
  57. package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +5 -4
  58. package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +2 -1
  59. package/dist/squirrel/components/p-ring-loader/p-ring-loader.vue.d.ts +1 -1
  60. package/dist/squirrel/components/p-select/p-select.vue.d.ts +3 -2
  61. package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +3 -2
  62. package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +6 -5
  63. package/dist/squirrel/components/p-select-pill/p-select-pill.vue.d.ts +1 -1
  64. package/dist/squirrel/components/p-table/p-table.vue.d.ts +3 -2
  65. package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +1 -1
  66. package/dist/squirrel/components/p-table-sort/p-table-sort.vue.d.ts +1 -1
  67. package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +2 -1
  68. package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +2 -2
  69. package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +1 -1
  70. package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +1 -1
  71. package/dist/squirrel/index.d.ts +1 -1
  72. package/dist/squirrel/utils/index.d.ts +8 -8
  73. package/dist/squirrel/utils/inputClassesMixin.d.ts +1 -1
  74. package/dist/style.css +98 -989
  75. package/package.json +30 -32
  76. package/squirrel/assets/squirrel.css +45 -6
  77. package/squirrel/components/index.ts +37 -37
  78. package/squirrel/components/p-action-bar/p-action-bar.spec.ts +1 -1
  79. package/squirrel/components/p-action-bar/p-action-bar.stories.js +2 -2
  80. package/squirrel/components/p-action-bar/p-action-bar.vue +1 -1
  81. package/squirrel/components/p-alert/p-alert.vue +1 -1
  82. package/squirrel/components/p-btn/p-btn.spec.js +2 -2
  83. package/squirrel/components/p-btn/p-btn.vue +4 -4
  84. package/squirrel/components/p-checkbox/p-checkbox.vue +1 -1
  85. package/squirrel/components/p-chips/p-chips.vue +1 -1
  86. package/squirrel/components/p-date-picker/p-date-picker.spec.js +292 -0
  87. package/squirrel/components/p-date-picker/p-date-picker.stories.js +3 -3
  88. package/squirrel/components/p-date-picker/p-date-picker.vue +45 -90
  89. package/squirrel/components/p-dropdown/p-dropdown.spec.js +1 -1
  90. package/squirrel/components/p-dropdown/p-dropdown.vue +1 -1
  91. package/squirrel/components/p-dropdown-select/p-dropdown-select.spec.js +4 -4
  92. package/squirrel/components/p-dropdown-select/p-dropdown-select.stories.js +2 -2
  93. package/squirrel/components/p-dropdown-select/p-dropdown-select.vue +8 -8
  94. package/squirrel/components/p-file-upload/p-file-upload.vue +2 -2
  95. package/squirrel/components/p-icon/p-icon.spec.js +1 -1
  96. package/squirrel/components/p-icon/p-icon.stories.js +1 -1
  97. package/squirrel/components/p-icon/p-icon.vue +2 -2
  98. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.spec.js +21 -45
  99. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.stories.js +3 -3
  100. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +16 -85
  101. package/squirrel/components/p-input/p-input.stories.js +1 -1
  102. package/squirrel/components/p-input/p-input.vue +1 -1
  103. package/squirrel/components/p-input-number/p-input-number.stories.js +1 -1
  104. package/squirrel/components/p-input-number/p-input-number.vue +3 -3
  105. package/squirrel/components/p-input-percent/p-input-percent.stories.js +1 -1
  106. package/squirrel/components/p-input-percent/p-input-percent.vue +1 -1
  107. package/squirrel/components/p-input-search/p-input-search.stories.js +1 -1
  108. package/squirrel/components/p-input-search/p-input-search.vue +1 -1
  109. package/squirrel/components/p-link/p-link.spec.js +1 -1
  110. package/squirrel/components/p-link/p-link.vue +1 -1
  111. package/squirrel/components/p-loading/p-loading.spec.js +2 -2
  112. package/squirrel/components/p-loading/p-loading.stories.js +2 -2
  113. package/squirrel/components/p-loading/p-loading.vue +1 -1
  114. package/squirrel/components/p-loading/usePLoading.ts +1 -1
  115. package/squirrel/components/p-modal/p-modal-basic.spec.js +1 -1
  116. package/squirrel/components/p-modal/p-modal-events.spec.js +1 -1
  117. package/squirrel/components/p-modal/p-modal-features.spec.js +1 -1
  118. package/squirrel/components/p-modal/p-modal.vue +3 -3
  119. package/squirrel/components/p-pagination/p-pagination.vue +1 -1
  120. package/squirrel/components/p-progress-bar/p-progess-bar.spec.js +1 -1
  121. package/squirrel/components/p-progress-bar/p-progress-bar.vue +1 -1
  122. package/squirrel/components/p-select/p-select.spec.js +1 -1
  123. package/squirrel/components/p-select/p-select.stories.js +1 -1
  124. package/squirrel/components/p-select/p-select.vue +1 -1
  125. package/squirrel/components/p-select-btn/p-select-btn.spec.js +1 -1
  126. package/squirrel/components/p-select-btn/p-select-btn.stories.js +1 -1
  127. package/squirrel/components/p-select-btn/p-select-btn.vue +1 -1
  128. package/squirrel/components/p-select-list/p-select-list.spec.js +4 -4
  129. package/squirrel/components/p-select-list/p-select-list.vue +5 -5
  130. package/squirrel/components/p-select-list/useSelectList.ts +3 -3
  131. package/squirrel/components/p-select-pill/p-select-pill.spec.js +1 -1
  132. package/squirrel/components/p-select-pill/p-select-pill.stories.js +2 -2
  133. package/squirrel/components/p-select-pill/p-select-pill.vue +1 -1
  134. package/squirrel/components/p-skeleton-loader/p-skeleton-loader.vue +1 -1
  135. package/squirrel/components/p-table/p-table.spec.js +2 -2
  136. package/squirrel/components/p-table/p-table.vue +4 -4
  137. package/squirrel/components/p-table/usePTableColResize.spec.js +1 -1
  138. package/squirrel/components/p-table/usePTableColResize.ts +1 -1
  139. package/squirrel/components/p-table/usePTableRowVirtualizer.ts +1 -1
  140. package/squirrel/components/p-table-sort/p-table-sort.spec.js +1 -1
  141. package/squirrel/components/p-table-sort/p-table-sort.stories.js +1 -1
  142. package/squirrel/components/p-table-sort/p-table-sort.vue +1 -1
  143. package/squirrel/components/p-table-td/p-table-td.spec.js +3 -3
  144. package/squirrel/components/p-table-td/p-table-td.stories.js +1 -1
  145. package/squirrel/components/p-table-td/p-table-td.vue +2 -2
  146. package/squirrel/components/p-tabs/p-tabs.vue +1 -1
  147. package/squirrel/components/p-textarea/p-textarea.stories.js +1 -1
  148. package/squirrel/components/p-textarea/p-textarea.vue +1 -1
  149. package/squirrel/components/p-toggle/p-toggle.stories.js +1 -1
  150. package/squirrel/components/p-toggle/p-toggle.vue +1 -1
  151. package/squirrel/composables/useInputClasses.spec.js +1 -1
  152. package/squirrel/index.ts +1 -1
  153. package/squirrel/utils/component.ts +1 -1
  154. package/squirrel/utils/index.ts +18 -18
  155. package/squirrel/utils/inputClassesMixin.ts +1 -1
  156. package/squirrel/utils/pagination.spec.js +2 -2
  157. package/squirrel/utils/sanitization.spec.js +1 -1
  158. package/squirrel/utils/tailwind.ts +3 -2
@@ -1,5 +1,5 @@
1
1
  import './assets/squirrel.css';
2
- export * from './tailwind/config';
3
2
  export * from './components';
4
3
  export * from './composables';
4
+ export * from './tailwind/config';
5
5
  export * from './utils';
@@ -1,13 +1,13 @@
1
- import inputClassesMixin from './inputClassesMixin';
2
1
  import { CURRENCY_INPUT_DEFAULTS } from './currency';
3
- import { type Color, getColor, getColorDeep, getScreen } from './tailwind';
4
- import { ERROR_MSG, INPUT_BASE, INPUT_ERROR, INPUT_NORMAL, INPUT_SIZES, type InputSize, LABEL_BASE, LABEL_REQUIRED, LABEL_SIZES, SELECT_ARROW, SELECT_BASE, SELECT_SIZES, SPACING_LEFT, SPACING_PREFIX, SPACING_RIGHT, SPACING_SUFFIX, TEXTAREA_BASE } from './inputClassesShared';
5
- import { createPagingRange } from './pagination';
6
2
  import { getNextActiveElement, isElement, isVisible } from './dom';
7
- import { isObject } from './object';
8
- import { sanitizeUrl } from './sanitization';
3
+ import inputClassesMixin from './inputClassesMixin';
4
+ import { ERROR_MSG, INPUT_BASE, INPUT_ERROR, INPUT_NORMAL, INPUT_SIZES, type InputSize, LABEL_BASE, LABEL_REQUIRED, LABEL_SIZES, SELECT_ARROW, SELECT_BASE, SELECT_SIZES, SPACING_LEFT, SPACING_PREFIX, SPACING_RIGHT, SPACING_SUFFIX, TEXTAREA_BASE } from './inputClassesShared';
9
5
  import { setupListKeyboardNavigation } from './listKeyboardNavigation';
10
- import { splitStringForHighlight } from './text';
11
6
  import { toNumberOrNull } from './number';
7
+ import { isObject } from './object';
8
+ import { createPagingRange } from './pagination';
9
+ import { sanitizeUrl } from './sanitization';
12
10
  import { toString } from './string';
13
- export { inputClassesMixin, CURRENCY_INPUT_DEFAULTS, Color, getColor, getColorDeep, getScreen, ERROR_MSG, INPUT_BASE, INPUT_ERROR, INPUT_NORMAL, INPUT_SIZES, InputSize, LABEL_BASE, LABEL_REQUIRED, LABEL_SIZES, SELECT_ARROW, SELECT_BASE, SELECT_SIZES, SPACING_LEFT, SPACING_PREFIX, SPACING_RIGHT, SPACING_SUFFIX, TEXTAREA_BASE, createPagingRange, getNextActiveElement, isElement, isVisible, isObject, sanitizeUrl, setupListKeyboardNavigation, splitStringForHighlight, toNumberOrNull, toString, };
11
+ import { type Color, getColor, getColorDeep, getScreen } from './tailwind';
12
+ import { splitStringForHighlight } from './text';
13
+ export { Color, createPagingRange, CURRENCY_INPUT_DEFAULTS, ERROR_MSG, getColor, getColorDeep, getNextActiveElement, getScreen, INPUT_BASE, INPUT_ERROR, INPUT_NORMAL, INPUT_SIZES, inputClassesMixin, InputSize, isElement, isObject, isVisible, LABEL_BASE, LABEL_REQUIRED, LABEL_SIZES, sanitizeUrl, SELECT_ARROW, SELECT_BASE, SELECT_SIZES, setupListKeyboardNavigation, SPACING_LEFT, SPACING_PREFIX, SPACING_RIGHT, SPACING_SUFFIX, splitStringForHighlight, TEXTAREA_BASE, toNumberOrNull, toString, };
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
44
44
  default: boolean;
45
45
  };
46
46
  }>> & Readonly<{}>, {
47
- size: "sm" | "lg" | "md";
47
+ size: "sm" | "md" | "lg";
48
48
  rounded: boolean;
49
49
  required: boolean;
50
50
  errorMsg: string;