@pequity/squirrel 11.0.1 → 11.0.3
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/dist/cjs/chunks/index.js +374 -216
- package/dist/cjs/chunks/p-btn.js +1 -1
- package/dist/cjs/dateLocale.js +1221 -280
- package/dist/cjs/index.js +19 -8
- package/dist/cjs/inputClasses.js +3 -3
- package/dist/es/chunks/index.js +374 -216
- package/dist/es/chunks/p-btn.js +2 -2
- package/dist/es/dateLocale.js +1221 -280
- package/dist/es/index.js +48 -37
- package/dist/es/inputClasses.js +4 -4
- package/dist/squirrel/components/p-link/p-link.vue.d.ts +2 -2
- package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +2 -2
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +3 -1
- package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +2 -2
- package/package.json +31 -31
- package/squirrel/components/p-btn/p-btn.spec.js +15 -5
- package/squirrel/components/p-drawer/p-drawer.spec.js +16 -11
- package/squirrel/components/p-dropdown/p-dropdown.spec.js +15 -10
- package/squirrel/components/p-dropdown-select/p-dropdown-select.spec.js +44 -27
- package/squirrel/components/p-pagination/p-pagination.spec.js +22 -30
- package/squirrel/components/p-select-btn/p-select-btn.spec.js +35 -27
- package/squirrel/components/p-select-list/p-select-list.spec.js +44 -27
- package/squirrel/components/p-select-pill/p-select-pill.spec.js +7 -6
- package/squirrel/components/p-table/p-table.spec.js +50 -43
- package/squirrel/components/p-tabs-pills/p-tabs-pills.spec.js +10 -8
- package/squirrel/locales/de-DE.json +47 -0
- package/squirrel/locales/es-ES.json +47 -0
- package/squirrel/plugin/index.spec.ts +32 -12
- package/squirrel/plugin/index.ts +6 -2
- package/squirrel/utils/dateLocale.spec.ts +9 -5
- package/squirrel/utils/dateLocale.ts +7 -3
- /package/squirrel/locales/{fr-CA.json → fr-FR.json} +0 -0
package/dist/es/chunks/p-btn.js
CHANGED
|
@@ -4,7 +4,7 @@ import { _ as _sfc_main$1 } from "./p-icon.js";
|
|
|
4
4
|
import { _ as _sfc_main$2 } from "./p-ring-loader.js";
|
|
5
5
|
import { isExternalLink } from "../link.js";
|
|
6
6
|
import { sanitizeUrl } from "../sanitization.js";
|
|
7
|
-
import {
|
|
7
|
+
import { t as tv } from "./index.js";
|
|
8
8
|
const _hoisted_1 = { class: "slot-wrapper empty:hidden" };
|
|
9
9
|
const btnClasses = {
|
|
10
10
|
slots: {
|
|
@@ -75,7 +75,7 @@ const btnClasses = {
|
|
|
75
75
|
size: "md"
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
|
-
const btn =
|
|
78
|
+
const btn = tv(btnClasses);
|
|
79
79
|
const BUTTON_TYPES = Object.keys(btnClasses.variants.type);
|
|
80
80
|
const BUTTON_NATIVE_TYPES = ["button", "submit", "reset"];
|
|
81
81
|
const LOADER_SIZES = { sm: 24, md: 30, lg: 40 };
|