@kiva/kv-components 3.107.0 → 3.107.1
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/CHANGELOG.md +11 -0
- package/dist/components/.storybook/main.js +85 -0
- package/dist/components/.storybook/package.json +3 -0
- package/dist/components/.storybook/preview.js +61 -0
- package/dist/components/.storybook/tailwind.css +5 -0
- package/dist/components/KvAccordionItem.vue +130 -0
- package/dist/components/KvActivityRow.vue +33 -0
- package/dist/components/KvBorrowerImage.vue +179 -0
- package/dist/components/KvButton.vue +287 -0
- package/dist/components/KvCarousel.vue +297 -0
- package/dist/components/KvCartModal.vue +365 -0
- package/dist/components/KvCheckbox.vue +203 -0
- package/dist/components/KvChip.vue +54 -0
- package/dist/components/KvClassicLoanCard.vue +527 -0
- package/dist/components/KvCommentsAdd.vue +135 -0
- package/dist/components/KvCommentsContainer.vue +84 -0
- package/dist/components/KvCommentsHeartButton.vue +70 -0
- package/dist/components/KvCommentsList.vue +68 -0
- package/dist/components/KvCommentsListItem.vue +241 -0
- package/dist/components/KvCommentsReplyButton.vue +52 -0
- package/dist/components/KvContentfulImg.vue +273 -0
- package/dist/components/KvCountdownTimer.vue +59 -0
- package/dist/components/KvExpandable.vue +84 -0
- package/dist/components/KvExpandableQuestion.vue +120 -0
- package/dist/components/KvFlag.vue +120 -0
- package/dist/components/KvGrid.vue +28 -0
- package/dist/components/KvImpactDashboardHeader.vue +40 -0
- package/dist/components/KvInlineActivityCard.vue +55 -0
- package/dist/components/KvInlineActivityFeed.vue +38 -0
- package/dist/components/KvIntroductionLoanCard.vue +446 -0
- package/dist/components/KvLendAmountButton.vue +65 -0
- package/dist/components/KvLendCta.vue +451 -0
- package/dist/components/KvLightbox.vue +334 -0
- package/dist/components/KvLineGraph.vue +128 -0
- package/dist/components/KvLoadingPlaceholder.vue +38 -0
- package/dist/components/KvLoadingSpinner.vue +81 -0
- package/dist/components/KvLoanActivities.vue +268 -0
- package/dist/components/KvLoanBookmark.vue +39 -0
- package/dist/components/KvLoanCallouts.vue +53 -0
- package/dist/components/KvLoanProgressGroup.vue +76 -0
- package/dist/components/KvLoanTag.vue +88 -0
- package/dist/components/KvLoanTeamPick.vue +44 -0
- package/dist/components/KvLoanUse.vue +92 -0
- package/dist/components/KvMap.vue +599 -0
- package/dist/components/KvMaterialIcon.vue +47 -0
- package/dist/components/KvPageContainer.vue +15 -0
- package/dist/components/KvPagination.vue +198 -0
- package/dist/components/KvPieChart.vue +257 -0
- package/dist/components/KvPopper.vue +178 -0
- package/dist/components/KvProgressBar.vue +149 -0
- package/dist/components/KvRadio.vue +198 -0
- package/dist/components/KvSelect.vue +114 -0
- package/dist/components/KvSideSheet.vue +134 -0
- package/dist/components/KvSwitch.vue +143 -0
- package/dist/components/KvTab.vue +90 -0
- package/dist/components/KvTabPanel.vue +64 -0
- package/dist/components/KvTabs.vue +182 -0
- package/dist/components/KvTextInput.vue +247 -0
- package/dist/components/KvTextLink.vue +138 -0
- package/dist/components/KvThemeProvider.vue +122 -0
- package/dist/components/KvToast.vue +221 -0
- package/dist/components/KvTooltip.vue +168 -0
- package/dist/components/KvTreeMapChart.vue +229 -0
- package/dist/components/KvUserAvatar.vue +132 -0
- package/dist/components/KvVerticalCarousel.vue +156 -0
- package/dist/components/KvVotingCard.vue +160 -0
- package/dist/components/KvVotingCardV2.vue +154 -0
- package/dist/components/KvWideLoanCard.vue +432 -0
- package/dist/components/stories/Forms.stories.js +62 -0
- package/dist/components/stories/KvAccordionItem.stories.js +24 -0
- package/dist/components/stories/KvActivityRow.stories.js +25 -0
- package/dist/components/stories/KvBorrowerImage.stories.js +68 -0
- package/dist/components/stories/KvButton.stories.js +144 -0
- package/dist/components/stories/KvCarousel.stories.js +426 -0
- package/dist/components/stories/KvCartModal.stories.js +54 -0
- package/dist/components/stories/KvCheckbox.stories.js +163 -0
- package/dist/components/stories/KvChip.stories.js +43 -0
- package/dist/components/stories/KvClassicLoanCard.stories.js +480 -0
- package/dist/components/stories/KvCommentsAdd.stories.js +32 -0
- package/dist/components/stories/KvCommentsContainer.stories.js +42 -0
- package/dist/components/stories/KvCommentsHeartButton.stories.js +25 -0
- package/dist/components/stories/KvCommentsList.stories.js +39 -0
- package/dist/components/stories/KvCommentsListItem.stories.js +45 -0
- package/dist/components/stories/KvCommentsReplyButton.stories.js +21 -0
- package/dist/components/stories/KvContentfulImg.stories.js +196 -0
- package/dist/components/stories/KvCountdownTimer.stories.js +30 -0
- package/dist/components/stories/KvExpandableQuestion.stories.js +129 -0
- package/dist/components/stories/KvFlag.stories.js +36 -0
- package/dist/components/stories/KvGrid.stories.js +97 -0
- package/dist/components/stories/KvImpactDashboardHeader.stories.js +22 -0
- package/dist/components/stories/KvInlineActivityCard.stories.js +69 -0
- package/dist/components/stories/KvInlineActivityFeed.stories.js +76 -0
- package/dist/components/stories/KvIntroductionLoanCard.stories.js +208 -0
- package/dist/components/stories/KvLendAmountButton.stories.js +31 -0
- package/dist/components/stories/KvLendCta.stories.js +177 -0
- package/dist/components/stories/KvLightbox.stories.js +304 -0
- package/dist/components/stories/KvLineGraph.stories.js +52 -0
- package/dist/components/stories/KvLoadingPlaceholder.stories.js +17 -0
- package/dist/components/stories/KvLoadingSpinner.stories.js +52 -0
- package/dist/components/stories/KvLoanActivities.stories.js +104 -0
- package/dist/components/stories/KvLoanBookmark.stories.js +22 -0
- package/dist/components/stories/KvLoanCallouts.stories.js +22 -0
- package/dist/components/stories/KvLoanProgressGroup.stories.js +29 -0
- package/dist/components/stories/KvLoanTag.stories.js +61 -0
- package/dist/components/stories/KvLoanTeamPick.stories.js +20 -0
- package/dist/components/stories/KvLoanUse.stories.js +60 -0
- package/dist/components/stories/KvMap.stories.js +121 -0
- package/dist/components/stories/KvMaterialIcon.stories.js +201 -0
- package/dist/components/stories/KvPageContainer.stories.js +50 -0
- package/dist/components/stories/KvPagination.stories.js +70 -0
- package/dist/components/stories/KvPieChart.stories.js +47 -0
- package/dist/components/stories/KvProgressBar.stories.js +53 -0
- package/dist/components/stories/KvRadio.stories.js +140 -0
- package/dist/components/stories/KvSelect.stories.js +125 -0
- package/dist/components/stories/KvSideSheet.stories.js +50 -0
- package/dist/components/stories/KvSwitch.stories.js +66 -0
- package/dist/components/stories/KvTabs.stories.js +106 -0
- package/dist/components/stories/KvTextInput.stories.js +194 -0
- package/dist/components/stories/KvTextLink.stories.js +55 -0
- package/dist/components/stories/KvThemeProvider.stories.js +178 -0
- package/dist/components/stories/KvToast.stories.js +117 -0
- package/dist/components/stories/KvTooltip.stories.js +26 -0
- package/dist/components/stories/KvTreeMapChart.stories.js +42 -0
- package/dist/components/stories/KvUserAvatar.stories.js +47 -0
- package/dist/components/stories/KvVerticalCarousel.stories.js +168 -0
- package/dist/components/stories/KvVotingCard.stories.js +33 -0
- package/dist/components/stories/KvVotingCardV2.stories.js +89 -0
- package/dist/components/stories/KvWideLoanCard.stories.js +292 -0
- package/dist/components/stories/StyleguidePrimitives.stories.js +499 -0
- package/dist/components/stories/StyleguideProse.stories.js +215 -0
- package/dist/data/countries-borders.json +1 -0
- package/dist/data/ne_110m_admin_0_countries.json +1 -0
- package/dist/utils/Alea.js +9 -0
- package/dist/utils/attrs.js +7 -0
- package/dist/utils/carousels.js +8 -0
- package/dist/{attrs.js → utils/chunk-3HK4G4NT.js} +1 -0
- package/dist/{loanCard.js → utils/chunk-55HF2ORX.js} +1 -0
- package/dist/{expander.js → utils/chunk-AY3PR5S4.js} +3 -2
- package/dist/{carousels.js → utils/chunk-AZPWOFD5.js} +1 -0
- package/dist/{printing.js → utils/chunk-B5J5WLAH.js} +1 -0
- package/dist/{Alea.js → utils/chunk-GPSH6OPA.js} +2 -1
- package/dist/{scrollLock.js → utils/chunk-HIY5IW65.js} +2 -1
- package/dist/{treemap.js → utils/chunk-MSMZIN54.js} +1 -0
- package/dist/{imageUtils.js → utils/chunk-OXJCCNNW.js} +1 -0
- package/dist/{touchEvents.js → utils/chunk-S3MABILA.js} +3 -2
- package/dist/{mapUtils.js → utils/chunk-VIGEMAKO.js} +5 -4
- package/dist/utils/chunk-YCNMJ4YV.js +37 -0
- package/dist/{loanUtils.js → utils/chunk-YFEC5ODJ.js} +7 -6
- package/dist/utils/expander.js +9 -0
- package/dist/utils/imageUtils.js +9 -0
- package/dist/utils/index.cjs +1118 -0
- package/dist/utils/index.js +166 -0
- package/dist/utils/loanCard.js +9 -0
- package/dist/utils/loanUtils.js +23 -0
- package/dist/utils/mapUtils.js +15 -0
- package/dist/utils/printing.js +9 -0
- package/dist/utils/scrollLock.js +13 -0
- package/dist/{throttle.js → utils/throttle.js} +1 -0
- package/dist/utils/touchEvents.js +11 -0
- package/dist/utils/treemap.js +7 -0
- package/package.json +7 -7
- package/utils/index.js +14 -0
- package/index.js +0 -3
- /package/dist/{Alea.cjs → utils/Alea.cjs} +0 -0
- /package/dist/{attrs.cjs → utils/attrs.cjs} +0 -0
- /package/dist/{carousels.cjs → utils/carousels.cjs} +0 -0
- /package/dist/{chunk-HV3AUBFT.js → utils/chunk-HV3AUBFT.js} +0 -0
- /package/dist/{expander.cjs → utils/expander.cjs} +0 -0
- /package/dist/{imageUtils.cjs → utils/imageUtils.cjs} +0 -0
- /package/dist/{loanCard.cjs → utils/loanCard.cjs} +0 -0
- /package/dist/{loanUtils.cjs → utils/loanUtils.cjs} +0 -0
- /package/dist/{mapUtils.cjs → utils/mapUtils.cjs} +0 -0
- /package/dist/{printing.cjs → utils/printing.cjs} +0 -0
- /package/dist/{scrollLock.cjs → utils/scrollLock.cjs} +0 -0
- /package/dist/{throttle.cjs → utils/throttle.cjs} +0 -0
- /package/dist/{touchEvents.cjs → utils/touchEvents.cjs} +0 -0
- /package/dist/{treemap.cjs → utils/treemap.cjs} +0 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import {
|
|
2
|
+
animationCoordinator,
|
|
3
|
+
generateMapMarkers,
|
|
4
|
+
getCoordinatesBetween,
|
|
5
|
+
getCountryColor,
|
|
6
|
+
getLoansIntervals
|
|
7
|
+
} from "./chunk-VIGEMAKO.js";
|
|
8
|
+
import {
|
|
9
|
+
lockPrintSingleEl,
|
|
10
|
+
unlockPrintSingleEl
|
|
11
|
+
} from "./chunk-B5J5WLAH.js";
|
|
12
|
+
import {
|
|
13
|
+
lockScroll,
|
|
14
|
+
lockScrollSmallOnly,
|
|
15
|
+
unlockScroll,
|
|
16
|
+
unlockScrollSmallOnly
|
|
17
|
+
} from "./chunk-HIY5IW65.js";
|
|
18
|
+
import {
|
|
19
|
+
isTargetElement,
|
|
20
|
+
offBodyTouchstart,
|
|
21
|
+
onBodyTouchstart
|
|
22
|
+
} from "./chunk-S3MABILA.js";
|
|
23
|
+
import {
|
|
24
|
+
getTreemap
|
|
25
|
+
} from "./chunk-MSMZIN54.js";
|
|
26
|
+
import {
|
|
27
|
+
Mash
|
|
28
|
+
} from "./chunk-GPSH6OPA.js";
|
|
29
|
+
import {
|
|
30
|
+
useAttrs
|
|
31
|
+
} from "./chunk-3HK4G4NT.js";
|
|
32
|
+
import {
|
|
33
|
+
carouselUtil
|
|
34
|
+
} from "./chunk-AZPWOFD5.js";
|
|
35
|
+
import {
|
|
36
|
+
throttle
|
|
37
|
+
} from "./chunk-HV3AUBFT.js";
|
|
38
|
+
import {
|
|
39
|
+
collapse,
|
|
40
|
+
expand
|
|
41
|
+
} from "./chunk-AY3PR5S4.js";
|
|
42
|
+
import {
|
|
43
|
+
isLegacyPlaceholderAvatar,
|
|
44
|
+
randomizedUserAvatarClass
|
|
45
|
+
} from "./chunk-OXJCCNNW.js";
|
|
46
|
+
import {
|
|
47
|
+
loanCardComputedProperties,
|
|
48
|
+
loanCardMethods
|
|
49
|
+
} from "./chunk-55HF2ORX.js";
|
|
50
|
+
import {
|
|
51
|
+
BALANCE_CAMPAIGN,
|
|
52
|
+
BASE_CAMPAIGN,
|
|
53
|
+
ERL_COOKIE_NAME,
|
|
54
|
+
NO_BALANCE_CAMPAIGN,
|
|
55
|
+
TOP_UP_CAMPAIGN,
|
|
56
|
+
getDropdownPriceArray,
|
|
57
|
+
getLendCtaSelectedOption,
|
|
58
|
+
isBetween25And50,
|
|
59
|
+
isLessThan25
|
|
60
|
+
} from "./chunk-YFEC5ODJ.js";
|
|
61
|
+
import {
|
|
62
|
+
__commonJS,
|
|
63
|
+
__export,
|
|
64
|
+
__reExport,
|
|
65
|
+
__toESM
|
|
66
|
+
} from "./chunk-YCNMJ4YV.js";
|
|
67
|
+
|
|
68
|
+
// utils/themeUtils.cjs
|
|
69
|
+
var require_themeUtils = __commonJS({
|
|
70
|
+
"utils/themeUtils.cjs"(exports, module) {
|
|
71
|
+
var headerNumberCase = (str) => str.replace("h-1", "h1").replace("h-2", "h2").replace("h-3", "h3").replace("h-4", "h4").replace("h-5", "h5");
|
|
72
|
+
var buildTailwindClassName = (prefix, value) => {
|
|
73
|
+
let name = `${prefix}-${value}`;
|
|
74
|
+
name = name.replace("-DEFAULT", "");
|
|
75
|
+
return name;
|
|
76
|
+
};
|
|
77
|
+
var kebabCase = (str) => str.split("").map((letter, idx) => letter.toUpperCase() === letter ? `${idx !== 0 ? "-" : ""}${letter.toLowerCase()}` : letter).join("");
|
|
78
|
+
var removeObjectProperty = (object, key) => {
|
|
79
|
+
const ret = { ...object };
|
|
80
|
+
delete ret[key];
|
|
81
|
+
return ret;
|
|
82
|
+
};
|
|
83
|
+
module.exports = {
|
|
84
|
+
buildTailwindClassName,
|
|
85
|
+
headerNumberCase,
|
|
86
|
+
kebabCase,
|
|
87
|
+
removeObjectProperty
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
// utils/index.js
|
|
93
|
+
var utils_exports = {};
|
|
94
|
+
__export(utils_exports, {
|
|
95
|
+
BALANCE_CAMPAIGN: () => BALANCE_CAMPAIGN,
|
|
96
|
+
BASE_CAMPAIGN: () => BASE_CAMPAIGN,
|
|
97
|
+
ERL_COOKIE_NAME: () => ERL_COOKIE_NAME,
|
|
98
|
+
Mash: () => Mash,
|
|
99
|
+
NO_BALANCE_CAMPAIGN: () => NO_BALANCE_CAMPAIGN,
|
|
100
|
+
TOP_UP_CAMPAIGN: () => TOP_UP_CAMPAIGN,
|
|
101
|
+
animationCoordinator: () => animationCoordinator,
|
|
102
|
+
carouselUtil: () => carouselUtil,
|
|
103
|
+
collapse: () => collapse,
|
|
104
|
+
expand: () => expand,
|
|
105
|
+
generateMapMarkers: () => generateMapMarkers,
|
|
106
|
+
getCoordinatesBetween: () => getCoordinatesBetween,
|
|
107
|
+
getCountryColor: () => getCountryColor,
|
|
108
|
+
getDropdownPriceArray: () => getDropdownPriceArray,
|
|
109
|
+
getLendCtaSelectedOption: () => getLendCtaSelectedOption,
|
|
110
|
+
getLoansIntervals: () => getLoansIntervals,
|
|
111
|
+
getTreemap: () => getTreemap,
|
|
112
|
+
isBetween25And50: () => isBetween25And50,
|
|
113
|
+
isLegacyPlaceholderAvatar: () => isLegacyPlaceholderAvatar,
|
|
114
|
+
isLessThan25: () => isLessThan25,
|
|
115
|
+
isTargetElement: () => isTargetElement,
|
|
116
|
+
loanCardComputedProperties: () => loanCardComputedProperties,
|
|
117
|
+
loanCardMethods: () => loanCardMethods,
|
|
118
|
+
lockPrintSingleEl: () => lockPrintSingleEl,
|
|
119
|
+
lockScroll: () => lockScroll,
|
|
120
|
+
lockScrollSmallOnly: () => lockScrollSmallOnly,
|
|
121
|
+
offBodyTouchstart: () => offBodyTouchstart,
|
|
122
|
+
onBodyTouchstart: () => onBodyTouchstart,
|
|
123
|
+
randomizedUserAvatarClass: () => randomizedUserAvatarClass,
|
|
124
|
+
throttle: () => throttle,
|
|
125
|
+
unlockPrintSingleEl: () => unlockPrintSingleEl,
|
|
126
|
+
unlockScroll: () => unlockScroll,
|
|
127
|
+
unlockScrollSmallOnly: () => unlockScrollSmallOnly,
|
|
128
|
+
useAttrs: () => useAttrs
|
|
129
|
+
});
|
|
130
|
+
__reExport(utils_exports, __toESM(require_themeUtils(), 1));
|
|
131
|
+
export {
|
|
132
|
+
BALANCE_CAMPAIGN,
|
|
133
|
+
BASE_CAMPAIGN,
|
|
134
|
+
ERL_COOKIE_NAME,
|
|
135
|
+
Mash,
|
|
136
|
+
NO_BALANCE_CAMPAIGN,
|
|
137
|
+
TOP_UP_CAMPAIGN,
|
|
138
|
+
animationCoordinator,
|
|
139
|
+
carouselUtil,
|
|
140
|
+
collapse,
|
|
141
|
+
expand,
|
|
142
|
+
generateMapMarkers,
|
|
143
|
+
getCoordinatesBetween,
|
|
144
|
+
getCountryColor,
|
|
145
|
+
getDropdownPriceArray,
|
|
146
|
+
getLendCtaSelectedOption,
|
|
147
|
+
getLoansIntervals,
|
|
148
|
+
getTreemap,
|
|
149
|
+
isBetween25And50,
|
|
150
|
+
isLegacyPlaceholderAvatar,
|
|
151
|
+
isLessThan25,
|
|
152
|
+
isTargetElement,
|
|
153
|
+
loanCardComputedProperties,
|
|
154
|
+
loanCardMethods,
|
|
155
|
+
lockPrintSingleEl,
|
|
156
|
+
lockScroll,
|
|
157
|
+
lockScrollSmallOnly,
|
|
158
|
+
offBodyTouchstart,
|
|
159
|
+
onBodyTouchstart,
|
|
160
|
+
randomizedUserAvatarClass,
|
|
161
|
+
throttle,
|
|
162
|
+
unlockPrintSingleEl,
|
|
163
|
+
unlockScroll,
|
|
164
|
+
unlockScrollSmallOnly,
|
|
165
|
+
useAttrs
|
|
166
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BALANCE_CAMPAIGN,
|
|
3
|
+
BASE_CAMPAIGN,
|
|
4
|
+
ERL_COOKIE_NAME,
|
|
5
|
+
NO_BALANCE_CAMPAIGN,
|
|
6
|
+
TOP_UP_CAMPAIGN,
|
|
7
|
+
getDropdownPriceArray,
|
|
8
|
+
getLendCtaSelectedOption,
|
|
9
|
+
isBetween25And50,
|
|
10
|
+
isLessThan25
|
|
11
|
+
} from "./chunk-YFEC5ODJ.js";
|
|
12
|
+
import "./chunk-YCNMJ4YV.js";
|
|
13
|
+
export {
|
|
14
|
+
BALANCE_CAMPAIGN,
|
|
15
|
+
BASE_CAMPAIGN,
|
|
16
|
+
ERL_COOKIE_NAME,
|
|
17
|
+
NO_BALANCE_CAMPAIGN,
|
|
18
|
+
TOP_UP_CAMPAIGN,
|
|
19
|
+
getDropdownPriceArray,
|
|
20
|
+
getLendCtaSelectedOption,
|
|
21
|
+
isBetween25And50,
|
|
22
|
+
isLessThan25
|
|
23
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
animationCoordinator,
|
|
3
|
+
generateMapMarkers,
|
|
4
|
+
getCoordinatesBetween,
|
|
5
|
+
getCountryColor,
|
|
6
|
+
getLoansIntervals
|
|
7
|
+
} from "./chunk-VIGEMAKO.js";
|
|
8
|
+
import "./chunk-YCNMJ4YV.js";
|
|
9
|
+
export {
|
|
10
|
+
animationCoordinator,
|
|
11
|
+
generateMapMarkers,
|
|
12
|
+
getCoordinatesBetween,
|
|
13
|
+
getCountryColor,
|
|
14
|
+
getLoansIntervals
|
|
15
|
+
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "3.107.
|
|
3
|
+
"version": "3.107.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"main": "dist/index.cjs",
|
|
9
|
-
"module": "dist/index.js",
|
|
8
|
+
"main": "dist/utils/index.cjs",
|
|
9
|
+
"module": "dist/utils/index.js",
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@babel/core": "^7.14.8",
|
|
12
12
|
"@babel/eslint-parser": "^7.13.14",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"build-storybook": "vue-demi-switch 2 && storybook build -c vue/.storybook",
|
|
59
59
|
"lint": "eslint --ext .js,.vue ./",
|
|
60
60
|
"test": "npm run lint",
|
|
61
|
-
"build": "tsup utils/*.js --format cjs,esm --clean"
|
|
61
|
+
"build": "tsup utils/*.js --outDir dist/utils --format cjs,esm --clean && cp -R vue/ dist/components/ && cp -R data/ dist/data/"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@kiva/kv-tokens": "^2.13.0",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
},
|
|
79
79
|
"exports": {
|
|
80
80
|
".": {
|
|
81
|
-
"require": "./dist/index.cjs",
|
|
82
|
-
"import": "./dist/index.js"
|
|
81
|
+
"require": "./dist/utils/index.cjs",
|
|
82
|
+
"import": "./dist/utils/index.js"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"optional": true
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "67f58ecf75cd42443ac05f21da2b05290e131e2d"
|
|
95
95
|
}
|
package/utils/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './Alea';
|
|
2
|
+
export * from './attrs';
|
|
3
|
+
export * from './carousels';
|
|
4
|
+
export * from './expander';
|
|
5
|
+
export * from './imageUtils';
|
|
6
|
+
export * from './loanCard';
|
|
7
|
+
export * from './loanUtils';
|
|
8
|
+
export * from './mapUtils';
|
|
9
|
+
export * from './printing';
|
|
10
|
+
export * from './scrollLock';
|
|
11
|
+
export * from './themeUtils.cjs';
|
|
12
|
+
export * from './throttle';
|
|
13
|
+
export * from './touchEvents';
|
|
14
|
+
export * from './treemap';
|
package/index.js
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|