@frollo/frollo-web-ui 5.0.3 → 5.0.4
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/cjs/index.js +11296 -1047
- package/esm/es.date.to-string-1ffba857.js +23 -0
- package/esm/fw-accordion.js +1 -1
- package/esm/fw-animations.js +2 -2
- package/esm/fw-bar-chart.js +2 -2
- package/esm/{fw-button-b7a12ae1.js → fw-button-99dba2bc.js} +1 -1
- package/esm/fw-button.js +3 -3
- package/esm/fw-date-picker.js +10336 -0
- package/esm/fw-drawer.js +3 -3
- package/esm/{fw-dropdown-765dbbba.js → fw-dropdown-b476e015.js} +1 -1
- package/esm/fw-dropdown.js +2 -2
- package/esm/{fw-image-660d3e75.js → fw-image-ae643123.js} +1 -1
- package/esm/fw-image.js +2 -2
- package/esm/{fw-input-7d25de48.js → fw-input-fdc8fe1b.js} +1 -1
- package/esm/fw-input.js +2 -2
- package/esm/{fw-loading-spinner-3fda633e.js → fw-loading-spinner-cc1ca2fa.js} +1 -1
- package/esm/fw-modal.js +3 -3
- package/esm/fw-navigation-menu.js +3 -3
- package/esm/fw-provider-list.js +10 -9
- package/esm/fw-sidebar-menu.js +3 -3
- package/esm/{fw-table-row-d390fe77.js → fw-table-row-e8520a1d.js} +2 -2
- package/esm/fw-table.js +3 -3
- package/esm/{fw-tag-9ef5331a.js → fw-tag-a8a83c0a.js} +3 -3
- package/esm/fw-tag.js +5 -5
- package/esm/fw-toast.js +1 -1
- package/esm/fw-transactions-card.js +2 -2
- package/esm/get-root-colours-865a52ba.js +37 -0
- package/esm/{index-04d3cb23.js → index-0a63f2c3.js} +130 -102
- package/esm/{index-8c78a422.js → index-6423a6ab.js} +38 -33
- package/esm/{index-c15f5641.js → index-be5b4afa.js} +2 -6
- package/esm/index.js +64 -66
- package/frollo-web-ui.esm.js +11390 -1011
- package/icons/calendar-day.svg +3 -0
- package/icons/calendar.svg +3 -0
- package/icons/index.ts +5 -1
- package/index.d.ts +196 -4
- package/package.json +3 -1
- package/types/components/fw-date-picker/fw-date-picker.vue.d.ts +177 -0
- package/types/components/fw-date-picker/index.d.ts +2 -0
- package/types/components/fw-date-picker/index.types.d.ts +16 -0
- package/types/components/index.d.ts +1 -0
- package/types/components/index.types.d.ts +1 -0
- package/types/helpers/get-root-colours.d.ts +8 -0
- package/types/icons/index.d.ts +3 -1
- package/web-components/index.js +11538 -1155
- package/esm/get-root-colours-e2a1cb28.js +0 -21
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
var useColours = function useColours() {
|
|
2
|
-
var style = getComputedStyle(document.body);
|
|
3
|
-
var colorPrimary = style.getPropertyValue('--colorPrimary');
|
|
4
|
-
var colorSecondary = style.getPropertyValue('--colorSecondary');
|
|
5
|
-
var colorTertiary = style.getPropertyValue('--colorTertiary');
|
|
6
|
-
var fontFamily = style.getPropertyValue('--fontFamily');
|
|
7
|
-
var colorBody = style.getPropertyValue('--colorBody');
|
|
8
|
-
var primaryFade40 = "".concat(colorPrimary, "66"); // Adds 40% transparency
|
|
9
|
-
var primaryFade5 = "".concat(colorPrimary, "0d"); // Adds 5% transparency
|
|
10
|
-
return {
|
|
11
|
-
colorPrimary: colorPrimary,
|
|
12
|
-
colorSecondary: colorSecondary,
|
|
13
|
-
colorTertiary: colorTertiary,
|
|
14
|
-
fontFamily: fontFamily,
|
|
15
|
-
colorBody: colorBody,
|
|
16
|
-
primaryFade5: primaryFade5,
|
|
17
|
-
primaryFade40: primaryFade40
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { useColours as u };
|