@ornikar/kitt-universal 6.1.0 → 7.0.2
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/definitions/Avatar/Avatar.d.ts +5 -4
- package/dist/definitions/Avatar/Avatar.d.ts.map +1 -1
- package/dist/definitions/Icon/Icon.d.ts +1 -1
- package/dist/definitions/Icon/Icon.d.ts.map +1 -1
- package/dist/definitions/Icon/SpinningIcon.d.ts +4 -3
- package/dist/definitions/Icon/SpinningIcon.d.ts.map +1 -1
- package/dist/definitions/Icon/SpinningIcon.web.d.ts +1 -1
- package/dist/definitions/Icon/SpinningIcon.web.d.ts.map +1 -1
- package/dist/definitions/LoaderIcon/LoaderIcon.d.ts +7 -0
- package/dist/definitions/LoaderIcon/LoaderIcon.d.ts.map +1 -0
- package/dist/definitions/Overlay/Overlay.d.ts +1 -1
- package/dist/definitions/Overlay/Overlay.d.ts.map +1 -1
- package/dist/definitions/PageLoader/PageLoader.d.ts +4 -0
- package/dist/definitions/PageLoader/PageLoader.d.ts.map +1 -0
- package/dist/definitions/PageLoader/PageLoader.web.d.ts +3 -0
- package/dist/definitions/PageLoader/PageLoader.web.d.ts.map +1 -0
- package/dist/definitions/TimePicker/useTimePicker.d.ts +2 -0
- package/dist/definitions/TimePicker/useTimePicker.d.ts.map +1 -1
- package/dist/definitions/index.d.ts +5 -6
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +37 -36
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/avatar.d.ts +7 -3
- package/dist/definitions/themes/late-ocean/avatar.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/pageLoader.d.ts +5 -0
- package/dist/definitions/themes/late-ocean/pageLoader.d.ts.map +1 -0
- package/dist/index-browser-all.es.android.js +107 -137
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +107 -137
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +107 -137
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +107 -142
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +63 -92
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.css +1 -1
- package/dist/index-node-14.17.cjs.web.js +75 -104
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.android.js +13 -5
- package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.ios.js +13 -5
- package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.js +13 -5
- package/dist/linaria-themes-browser-all.es.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.web.js +13 -5
- package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.js +13 -5
- package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.web.js +13 -5
- package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +4 -4
- package/dist/definitions/Loader/LargeLoader.d.ts +0 -7
- package/dist/definitions/Loader/LargeLoader.d.ts.map +0 -1
- package/dist/definitions/Loader/LargeLoader.web.d.ts +0 -3
- package/dist/definitions/Loader/LargeLoader.web.d.ts.map +0 -1
- package/dist/definitions/Loader/Loader.d.ts +0 -8
- package/dist/definitions/Loader/Loader.d.ts.map +0 -1
- package/dist/definitions/Loader/Loader.web.d.ts +0 -8
- package/dist/definitions/Loader/Loader.web.d.ts.map +0 -1
- package/dist/definitions/typography/TypographySpinningIcon.d.ts +0 -9
- package/dist/definitions/typography/TypographySpinningIcon.d.ts.map +0 -1
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
.kitt-u_InputTextContainer_i1encr9g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;}.kitt-u_InputTextContainer_i1encr9g > [data-focusvisible-polyfill]{outline:none;}.kitt-u_InputTextContainer_i1encr9g > *::-ms-clear,.kitt-u_InputTextContainer_i1encr9g > *::-ms-reveal{display:none;}.kitt-u_InputTextContainer_i1encr9g,.kitt-u_InputTextContainer_i1encr9g > *{cursor:var(--i1encr9g-0);}.kitt-u_InputTextContainer_i1encr9g > *{-webkit-transition:var(--i1encr9g-1);transition:var(--i1encr9g-1);}.kitt-u_InputTextContainer_i1encr9g:hover > *,.kitt-hover .kitt-u_InputTextContainer_i1encr9g > *{border-color:var(--i1encr9g-2);}.kitt-u_InputTextContainer_i1encr9g:focus > *,.kitt-u_InputTextContainer_i1encr9g > *:focus,.kitt-focus .kitt-u_InputTextContainer_i1encr9g > *{border-color:var(--i1encr9g-3);}
|
|
3
3
|
.kitt-u_StyledSpinningIconContainer_ssn8o83{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}.kitt-u_StyledSpinningIconContainer_ssn8o83 > svg{-webkit-animation:spin-kitt-u_StyledSpinningIconContainer_ssn8o83 1.1s infinite linear;animation:spin-kitt-u_StyledSpinningIconContainer_ssn8o83 1.1s infinite linear;}@-webkit-keyframes spin-kitt-u_StyledSpinningIconContainer_ssn8o83{0%{-webkit-transform:rotate(-1deg);-ms-transform:rotate(-1deg);transform:rotate(-1deg);}100%{-webkit-transform:rotate(359deg);-ms-transform:rotate(359deg);transform:rotate(359deg);}}@keyframes spin-kitt-u_StyledSpinningIconContainer_ssn8o83{0%{-webkit-transform:rotate(-1deg);-ms-transform:rotate(-1deg);transform:rotate(-1deg);}100%{-webkit-transform:rotate(359deg);-ms-transform:rotate(359deg);transform:rotate(359deg);}}
|
|
4
4
|
@media (hover:none) and (pointer:coarse){.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *:hover,.kitt-hover .kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *{-webkit-transform:scale(var(--p1nlccvg-0));-ms-transform:scale(var(--p1nlccvg-0));transform:scale(var(--p1nlccvg-0));}}@media (min-width:768px){.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *:hover,.kitt-hover .kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *{-webkit-transform:scale(var(--p1nlccvg-2));-ms-transform:scale(var(--p1nlccvg-2));transform:scale(var(--p1nlccvg-2));}}.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *:active,.kitt-active .kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *{-webkit-transform:scale(var(--p1nlccvg-3));-ms-transform:scale(var(--p1nlccvg-3));transform:scale(var(--p1nlccvg-3));}.kitt-u_PressableIconButtonWebWrapper_p1nlccvg,.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > [data-focusvisible-polyfill]{outline:none;}.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *:hover,.kitt-hover .kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *,.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *:focus,.kitt-focus .kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *,.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > [data-focusvisible-polyfill],.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *:active,.kitt-active .kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *{background-color:var(--p1nlccvg-4);}
|
|
5
|
-
.kitt-
|
|
5
|
+
.kitt-u_PageLoaderContainer_ptkwz2j{width:60px;height:60px;-webkit-transform:scale(-1) rotate(90deg);-ms-transform:scale(-1) rotate(90deg);transform:scale(-1) rotate(90deg);}@-webkit-keyframes PageLoaderInit-kitt-u_PageLoaderContainer_ptkwz2j{0%{stroke-dashoffset:169.64px;}100%{stroke-dashoffset:0;}}@keyframes PageLoaderInit-kitt-u_PageLoaderContainer_ptkwz2j{0%{stroke-dashoffset:169.64px;}100%{stroke-dashoffset:0;}}@-webkit-keyframes PageLoaderOffset-kitt-u_PageLoaderContainer_ptkwz2j{0%{stroke-dashoffset:169.64px;}100%{stroke-dashoffset:34px;}}@keyframes PageLoaderOffset-kitt-u_PageLoaderContainer_ptkwz2j{0%{stroke-dashoffset:169.64px;}100%{stroke-dashoffset:34px;}}@-webkit-keyframes PageLoaderRotation-kitt-u_PageLoaderContainer_ptkwz2j{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes PageLoaderRotation-kitt-u_PageLoaderContainer_ptkwz2j{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}.kitt-u_PageLoaderContainer_ptkwz2j circle,.kitt-u_PageLoaderContainer_ptkwz2j g{-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center;}.kitt-u_PageLoaderContainer_ptkwz2j circle{stroke-width:3px;stroke-dasharray:169.64px;stroke-dashoffset:169.64px;stroke-linecap:round;}.kitt-u_PageLoaderContainer_ptkwz2j g[data-large-loader='base'] circle{stroke:var(--ptkwz2j-0);-webkit-animation:PageLoaderInit-kitt-u_PageLoaderContainer_ptkwz2j 1s cubic-bezier(0.39,0.575,0.565,1) 0.5s forwards;animation:PageLoaderInit-kitt-u_PageLoaderContainer_ptkwz2j 1s cubic-bezier(0.39,0.575,0.565,1) 0.5s forwards;}.kitt-u_PageLoaderContainer_ptkwz2j g[data-large-loader='fill']{-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center;-webkit-animation:PageLoaderRotation-kitt-u_PageLoaderContainer_ptkwz2j 1.8s linear 0.5s infinite;animation:PageLoaderRotation-kitt-u_PageLoaderContainer_ptkwz2j 1.8s linear 0.5s infinite;}.kitt-u_PageLoaderContainer_ptkwz2j g[data-large-loader='fill'] circle{stroke:var(--ptkwz2j-1);-webkit-animation:PageLoaderOffset-kitt-u_PageLoaderContainer_ptkwz2j 1.8s cubic-bezier(0.39,0.575,0.565,1) 0.5s infinite alternate,PageLoaderRotation-kitt-u_PageLoaderContainer_ptkwz2j 2.16s linear 0.5s infinite;animation:PageLoaderOffset-kitt-u_PageLoaderContainer_ptkwz2j 1.8s cubic-bezier(0.39,0.575,0.565,1) 0.5s infinite alternate,PageLoaderRotation-kitt-u_PageLoaderContainer_ptkwz2j 2.16s linear 0.5s infinite;}
|
|
6
6
|
.kitt-u_StyledSkeleton_sc3upcl{background-color:var(--sc3upcl-0);position:relative;overflow:hidden;height:100%;width:100%;}@-webkit-keyframes flareTranslate-kitt-u_StyledSkeleton_sc3upcl{from{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);}to{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);}}@keyframes flareTranslate-kitt-u_StyledSkeleton_sc3upcl{from{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);}to{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);}}.kitt-u_StyledSkeleton_sc3upcl::after{content:'';position:absolute;width:100%;height:100%;top:0;left:0;background-image:var(--sc3upcl-1);-webkit-animation:var(--sc3upcl-2);animation:var(--sc3upcl-2);-webkit-animation-name:flareTranslate-kitt-u_StyledSkeleton_sc3upcl;animation-name:flareTranslate-kitt-u_StyledSkeleton_sc3upcl;}
|
|
7
7
|
.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *:hover,.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *:active,.kitt-hover .kitt-u_TypographyLinkWebWrapper_tcwz3nt > *{-webkit-text-decoration:none;text-decoration:none;}.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *:hover,.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *:active,.kitt-hover .kitt-u_TypographyLinkWebWrapper_tcwz3nt > *{-webkit-text-decoration:var(--tcwz3nt-0);text-decoration:var(--tcwz3nt-0);}
|
|
@@ -283,10 +283,11 @@ const StyledAvatarView = /*#__PURE__*/styled__default(BabelPluginStyledComponent
|
|
|
283
283
|
})(["border-radius:", ";background-color:", ";height:", "px;width:", "px;overflow:hidden;align-items:center;justify-content:center;"], ({
|
|
284
284
|
theme,
|
|
285
285
|
$isRound,
|
|
286
|
-
$size
|
|
286
|
+
$size,
|
|
287
|
+
$sizeVariant
|
|
287
288
|
}) => {
|
|
288
289
|
if ($isRound) return `${$size / 2}px`;
|
|
289
|
-
return `${theme.kitt.avatar.borderRadius}px`;
|
|
290
|
+
return `${$sizeVariant === 'large' ? theme.kitt.avatar.large.borderRadius : theme.kitt.avatar.borderRadius}px`;
|
|
290
291
|
}, ({
|
|
291
292
|
theme,
|
|
292
293
|
$isLight
|
|
@@ -302,8 +303,8 @@ function AvatarContent({
|
|
|
302
303
|
firstname,
|
|
303
304
|
lastname,
|
|
304
305
|
alt,
|
|
305
|
-
|
|
306
|
-
|
|
306
|
+
isLight,
|
|
307
|
+
sizeVariant
|
|
307
308
|
}) {
|
|
308
309
|
if (src) {
|
|
309
310
|
return /*#__PURE__*/jsxRuntime.jsx(BabelPluginStyledComponentsReactNative.Image, {
|
|
@@ -320,8 +321,8 @@ function AvatarContent({
|
|
|
320
321
|
|
|
321
322
|
if (firstname && lastname) {
|
|
322
323
|
return /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
|
|
323
|
-
base:
|
|
324
|
-
variant:
|
|
324
|
+
base: sizeVariant === 'large' ? 'body-large' : 'body',
|
|
325
|
+
variant: sizeVariant === 'large' ? 'bold' : 'regular',
|
|
325
326
|
color: isLight ? 'black' : 'white',
|
|
326
327
|
children: getInitials(firstname, lastname)
|
|
327
328
|
});
|
|
@@ -336,19 +337,20 @@ function AvatarContent({
|
|
|
336
337
|
|
|
337
338
|
function Avatar({
|
|
338
339
|
size = 40,
|
|
339
|
-
base = 'body-small',
|
|
340
340
|
round,
|
|
341
341
|
light,
|
|
342
|
+
sizeVariant,
|
|
342
343
|
...props
|
|
343
344
|
}) {
|
|
344
345
|
return /*#__PURE__*/jsxRuntime.jsx(StyledAvatarView, {
|
|
345
346
|
$size: size,
|
|
346
347
|
$isRound: round,
|
|
347
348
|
$isLight: light,
|
|
349
|
+
$sizeVariant: sizeVariant,
|
|
348
350
|
children: /*#__PURE__*/jsxRuntime.jsx(AvatarContent, {
|
|
349
351
|
size: size,
|
|
350
|
-
base: base,
|
|
351
352
|
isLight: light,
|
|
353
|
+
sizeVariant: sizeVariant,
|
|
352
354
|
...props
|
|
353
355
|
})
|
|
354
356
|
});
|
|
@@ -927,6 +929,9 @@ const avatar = {
|
|
|
927
929
|
},
|
|
928
930
|
light: {
|
|
929
931
|
backgroundColor: lateOceanColorPalette.black100
|
|
932
|
+
},
|
|
933
|
+
large: {
|
|
934
|
+
borderRadius: 30
|
|
930
935
|
}
|
|
931
936
|
};
|
|
932
937
|
|
|
@@ -1314,6 +1319,10 @@ const listItem = {
|
|
|
1314
1319
|
innerMargin: 8
|
|
1315
1320
|
};
|
|
1316
1321
|
|
|
1322
|
+
const pageLoader = {
|
|
1323
|
+
size: 60
|
|
1324
|
+
};
|
|
1325
|
+
|
|
1317
1326
|
const shadows = {
|
|
1318
1327
|
medium: '0px 10px 20px rgba(41, 48, 51, 0.25)'
|
|
1319
1328
|
};
|
|
@@ -1404,19 +1413,20 @@ const theme = {
|
|
|
1404
1413
|
lateOcean: lateOceanColorPalette
|
|
1405
1414
|
},
|
|
1406
1415
|
avatar,
|
|
1416
|
+
breakpoints,
|
|
1407
1417
|
button,
|
|
1408
1418
|
card,
|
|
1409
1419
|
feedbackMessage,
|
|
1410
1420
|
forms,
|
|
1411
|
-
typography,
|
|
1412
|
-
tag,
|
|
1413
|
-
shadows,
|
|
1414
1421
|
fullScreenModal,
|
|
1415
1422
|
iconButton,
|
|
1416
1423
|
listItem,
|
|
1417
|
-
|
|
1424
|
+
pageLoader,
|
|
1425
|
+
shadows,
|
|
1418
1426
|
skeleton,
|
|
1419
|
-
|
|
1427
|
+
tag,
|
|
1428
|
+
tooltip,
|
|
1429
|
+
typography
|
|
1420
1430
|
};
|
|
1421
1431
|
|
|
1422
1432
|
function matchWindowSize({
|
|
@@ -2277,20 +2287,13 @@ const StyledSpinningIconContainer = withTheme( /*#__PURE__*/react$1.styled("div"
|
|
|
2277
2287
|
}));
|
|
2278
2288
|
function SpinningIcon({
|
|
2279
2289
|
icon,
|
|
2280
|
-
size = defaultIconSize,
|
|
2281
|
-
align,
|
|
2282
2290
|
color
|
|
2283
2291
|
}) {
|
|
2284
2292
|
const clonedIcon = /*#__PURE__*/react.cloneElement(icon, {
|
|
2285
2293
|
color
|
|
2286
2294
|
});
|
|
2287
|
-
return /*#__PURE__*/jsxRuntime.jsx(
|
|
2288
|
-
|
|
2289
|
-
$size: size,
|
|
2290
|
-
$color: color,
|
|
2291
|
-
children: /*#__PURE__*/jsxRuntime.jsx(StyledSpinningIconContainer, {
|
|
2292
|
-
children: clonedIcon
|
|
2293
|
-
})
|
|
2295
|
+
return /*#__PURE__*/jsxRuntime.jsx(StyledSpinningIconContainer, {
|
|
2296
|
+
children: clonedIcon
|
|
2294
2297
|
});
|
|
2295
2298
|
}
|
|
2296
2299
|
|
|
@@ -2572,85 +2575,12 @@ ListItem.Content = ListItemContent;
|
|
|
2572
2575
|
ListItem.SideContent = ListItemSideContent;
|
|
2573
2576
|
ListItem.SideContainer = ListItemSideContainer;
|
|
2574
2577
|
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
class: "kitt-u_LargeLoaderContainer_l2im3sa",
|
|
2578
|
-
vars: {
|
|
2579
|
-
"l2im3sa-0": [({
|
|
2580
|
-
theme
|
|
2581
|
-
}) => theme.kitt.colors.separator],
|
|
2582
|
-
"l2im3sa-1": [({
|
|
2583
|
-
theme
|
|
2584
|
-
}) => theme.kitt.colors.primary]
|
|
2585
|
-
}
|
|
2586
|
-
}));
|
|
2587
|
-
function LargeLoader() {
|
|
2588
|
-
return /*#__PURE__*/jsxRuntime.jsx(LargeLoaderContainer, {
|
|
2589
|
-
children: /*#__PURE__*/jsxRuntime.jsxs("svg", {
|
|
2590
|
-
width: "60",
|
|
2591
|
-
height: "60",
|
|
2592
|
-
children: [/*#__PURE__*/jsxRuntime.jsx("g", {
|
|
2593
|
-
"data-large-loader": "base",
|
|
2594
|
-
children: /*#__PURE__*/jsxRuntime.jsx("circle", {
|
|
2595
|
-
cx: "30",
|
|
2596
|
-
cy: "30",
|
|
2597
|
-
r: "27",
|
|
2598
|
-
fill: "none"
|
|
2599
|
-
})
|
|
2600
|
-
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
2601
|
-
"data-large-loader": "fill",
|
|
2602
|
-
children: /*#__PURE__*/jsxRuntime.jsx("circle", {
|
|
2603
|
-
cx: "30",
|
|
2604
|
-
cy: "30",
|
|
2605
|
-
r: "27",
|
|
2606
|
-
fill: "none"
|
|
2607
|
-
})
|
|
2608
|
-
})]
|
|
2609
|
-
})
|
|
2610
|
-
});
|
|
2611
|
-
}
|
|
2612
|
-
|
|
2613
|
-
function TypographySpinningIconSpecifiedColor({
|
|
2614
|
-
color,
|
|
2615
|
-
...props
|
|
2616
|
-
}) {
|
|
2617
|
-
const theme = /*#__PURE__*/styled.useTheme();
|
|
2618
|
-
return /*#__PURE__*/jsxRuntime.jsx(SpinningIcon, { ...props,
|
|
2619
|
-
color: color === 'inherit' ? 'inherit' : theme.kitt.typography.colors[color]
|
|
2620
|
-
});
|
|
2621
|
-
}
|
|
2622
|
-
|
|
2623
|
-
function TypographySpinningIconInheritColor(props) {
|
|
2624
|
-
const color = useTypographyColor();
|
|
2625
|
-
return /*#__PURE__*/jsxRuntime.jsx(TypographySpinningIconSpecifiedColor, {
|
|
2626
|
-
color: color,
|
|
2627
|
-
...props
|
|
2628
|
-
});
|
|
2629
|
-
}
|
|
2630
|
-
|
|
2631
|
-
function TypographySpinningIcon({
|
|
2632
|
-
color,
|
|
2633
|
-
...props
|
|
2634
|
-
}) {
|
|
2635
|
-
if (color) {
|
|
2636
|
-
return /*#__PURE__*/jsxRuntime.jsx(TypographySpinningIconSpecifiedColor, {
|
|
2637
|
-
color: color,
|
|
2638
|
-
...props
|
|
2639
|
-
});
|
|
2640
|
-
}
|
|
2641
|
-
|
|
2642
|
-
return /*#__PURE__*/jsxRuntime.jsx(TypographySpinningIconInheritColor, { ...props
|
|
2643
|
-
});
|
|
2644
|
-
}
|
|
2645
|
-
|
|
2646
|
-
function Loader({
|
|
2647
|
-
color = 'primary',
|
|
2648
|
-
size = 20
|
|
2578
|
+
function LoaderIcon({
|
|
2579
|
+
color
|
|
2649
2580
|
}) {
|
|
2650
|
-
return /*#__PURE__*/jsxRuntime.jsx(
|
|
2581
|
+
return /*#__PURE__*/jsxRuntime.jsx(SpinningIcon, {
|
|
2651
2582
|
color: color,
|
|
2652
|
-
|
|
2653
|
-
icon: /*#__PURE__*/jsxRuntime.jsx(kittIcons.LoaderIcon, {})
|
|
2583
|
+
icon: /*#__PURE__*/jsxRuntime.jsx(kittIcons.ArcIcon, {})
|
|
2654
2584
|
});
|
|
2655
2585
|
}
|
|
2656
2586
|
|
|
@@ -2827,8 +2757,7 @@ function Overlay({
|
|
|
2827
2757
|
}) {
|
|
2828
2758
|
return /*#__PURE__*/jsxRuntime.jsx(OverlayPressable, {
|
|
2829
2759
|
accessibilityRole: "none",
|
|
2830
|
-
onPress: onPress
|
|
2831
|
-
children: /*#__PURE__*/jsxRuntime.jsx(BabelPluginStyledComponentsReactNative.View, {})
|
|
2760
|
+
onPress: onPress
|
|
2832
2761
|
});
|
|
2833
2762
|
}
|
|
2834
2763
|
|
|
@@ -2987,6 +2916,48 @@ function Notification({
|
|
|
2987
2916
|
});
|
|
2988
2917
|
}
|
|
2989
2918
|
|
|
2919
|
+
const PageLoaderContainer = withTheme( /*#__PURE__*/react$1.styled("div")({
|
|
2920
|
+
name: "PageLoaderContainer",
|
|
2921
|
+
class: "kitt-u_PageLoaderContainer_ptkwz2j",
|
|
2922
|
+
vars: {
|
|
2923
|
+
"ptkwz2j-0": [({
|
|
2924
|
+
theme
|
|
2925
|
+
}) => theme.kitt.colors.separator],
|
|
2926
|
+
"ptkwz2j-1": [({
|
|
2927
|
+
theme
|
|
2928
|
+
}) => theme.kitt.colors.primary]
|
|
2929
|
+
}
|
|
2930
|
+
}));
|
|
2931
|
+
function PageLoader() {
|
|
2932
|
+
const theme = /*#__PURE__*/styled.useTheme();
|
|
2933
|
+
const {
|
|
2934
|
+
size
|
|
2935
|
+
} = theme.kitt.pageLoader;
|
|
2936
|
+
return /*#__PURE__*/jsxRuntime.jsx(PageLoaderContainer, {
|
|
2937
|
+
children: /*#__PURE__*/jsxRuntime.jsxs("svg", {
|
|
2938
|
+
width: size,
|
|
2939
|
+
height: size,
|
|
2940
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("g", {
|
|
2941
|
+
"data-large-loader": "base",
|
|
2942
|
+
children: /*#__PURE__*/jsxRuntime.jsx("circle", {
|
|
2943
|
+
cx: "30",
|
|
2944
|
+
cy: "30",
|
|
2945
|
+
r: "27",
|
|
2946
|
+
fill: "none"
|
|
2947
|
+
})
|
|
2948
|
+
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
2949
|
+
"data-large-loader": "fill",
|
|
2950
|
+
children: /*#__PURE__*/jsxRuntime.jsx("circle", {
|
|
2951
|
+
cx: "30",
|
|
2952
|
+
cy: "30",
|
|
2953
|
+
r: "27",
|
|
2954
|
+
fill: "none"
|
|
2955
|
+
})
|
|
2956
|
+
})]
|
|
2957
|
+
})
|
|
2958
|
+
});
|
|
2959
|
+
}
|
|
2960
|
+
|
|
2990
2961
|
const StyledSkeleton = withTheme( /*#__PURE__*/react$1.styled("div")({
|
|
2991
2962
|
name: "StyledSkeleton",
|
|
2992
2963
|
class: "kitt-u_StyledSkeleton_sc3upcl",
|
|
@@ -3807,13 +3778,14 @@ exports.KittBreakpointsMax = KittBreakpointsMax;
|
|
|
3807
3778
|
exports.KittThemeDecorator = KittThemeDecorator;
|
|
3808
3779
|
exports.KittThemeProvider = KittThemeProvider;
|
|
3809
3780
|
exports.Label = Label;
|
|
3810
|
-
exports.LargeLoader = LargeLoader;
|
|
3811
3781
|
exports.ListItem = ListItem;
|
|
3812
|
-
exports.
|
|
3782
|
+
exports.LoaderIcon = LoaderIcon;
|
|
3813
3783
|
exports.MatchWindowSize = MatchWindowSize;
|
|
3814
3784
|
exports.Message = Message;
|
|
3815
3785
|
exports.Modal = Modal;
|
|
3816
3786
|
exports.Notification = Notification;
|
|
3787
|
+
exports.Overlay = Overlay;
|
|
3788
|
+
exports.PageLoader = PageLoader;
|
|
3817
3789
|
exports.Radio = Radio;
|
|
3818
3790
|
exports.Section = DeprecatedSection;
|
|
3819
3791
|
exports.Skeleton = Skeleton;
|
|
@@ -3834,7 +3806,6 @@ exports.Typography = Typography;
|
|
|
3834
3806
|
exports.TypographyEmoji = TypographyEmoji;
|
|
3835
3807
|
exports.TypographyIcon = TypographyIcon;
|
|
3836
3808
|
exports.TypographyLink = TypographyLink;
|
|
3837
|
-
exports.TypographySpinningIcon = TypographySpinningIcon;
|
|
3838
3809
|
exports.createWindowSizeHelper = createWindowSizeHelper;
|
|
3839
3810
|
exports.hex2rgba = hex2rgba;
|
|
3840
3811
|
exports.matchWindowSize = matchWindowSize;
|