@mario_hahn/jumpy-ui 0.5.0 → 0.6.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/README.md +1 -1
- package/dist/{chunk-5QINBZIU.js → chunk-DFWGWSLJ.js} +109 -109
- package/dist/index.js +84 -19
- package/dist/theme.js +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/tokens/android/tokens/src/main/kotlin/com/mariohahn/jumpy/tokens/berry/Tokens.kt +19 -19
- package/tokens/android/tokens/src/main/kotlin/com/mariohahn/jumpy/tokens/berryDark/Tokens.kt +4 -4
- package/tokens/android/tokens/src/main/kotlin/com/mariohahn/jumpy/tokens/default/Tokens.kt +19 -19
- package/tokens/android/tokens/src/main/kotlin/com/mariohahn/jumpy/tokens/defaultDark/Tokens.kt +4 -4
- package/tokens/android/tokens/src/main/kotlin/com/mariohahn/jumpy/tokens/jumpy/Tokens.kt +16 -16
- package/tokens/android/tokens/src/main/kotlin/com/mariohahn/jumpy/tokens/jumpyDark/Tokens.kt +4 -4
- package/tokens/android/tokens/src/main/kotlin/com/mariohahn/jumpy/tokens/jumpyLight/Tokens.kt +16 -16
- package/tokens/android/tokens/src/main/kotlin/com/mariohahn/jumpy/tokens/night/Tokens.kt +4 -4
- package/tokens/android/tokens/src/main/kotlin/com/mariohahn/jumpy/tokens/snow/Tokens.kt +19 -19
- package/tokens/android/tokens/src/main/kotlin/com/mariohahn/jumpy/tokens/snowDark/Tokens.kt +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/actionsBorderlessRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/actionsPrimaryRegularDefaultIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/actionsPrimaryRegularFocusIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/actionsPrimaryRegularHoverIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/actionsPrimaryRegularPressedIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/actionsSecondaryRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/actionsTertiaryRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/cardActiveDefaultSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/cardActiveFocusSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/cardInactiveHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/coachmarkHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/coachmarkPressedOuterCircleSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/colorPrimaryMegalight.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/interactiveInactiveRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/nonInteractiveBackgroundBrand.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/selectorsActiveHoverHoverRing.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/selectorsInactiveHoverHoverRing.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/selectorsInactiveHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensBerry/Tokens.xcassets/sliderActiveHoverHandleSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/actionsBorderlessRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/actionsPrimaryRegularDefaultIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/actionsPrimaryRegularFocusIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/actionsPrimaryRegularHoverIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/actionsPrimaryRegularPressedIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/actionsSecondaryRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/actionsTertiaryRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/cardActiveDefaultSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/cardActiveFocusSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/cardInactiveHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/coachmarkHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/coachmarkPressedOuterCircleSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/colorPrimaryMegalight.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/interactiveInactiveRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/nonInteractiveBackgroundBrand.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/selectorsActiveHoverHoverRing.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/selectorsInactiveHoverHoverRing.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/selectorsInactiveHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensDefault/Tokens.xcassets/sliderActiveHoverHandleSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/actionsBorderlessRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/actionsPrimaryRegularDefaultIcon.colorset/Contents.json +6 -6
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/actionsPrimaryRegularFocusIcon.colorset/Contents.json +6 -6
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/actionsPrimaryRegularHoverIcon.colorset/Contents.json +6 -6
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/actionsPrimaryRegularPressedIcon.colorset/Contents.json +6 -6
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/actionsSecondaryRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/actionsTertiaryRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/coachmarkHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/coachmarkPressedOuterCircleSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/colorPrimaryMegalight.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/interactiveInactiveRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/nonInteractiveBackgroundBrand.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/selectorsActiveHoverHoverRing.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/selectorsInactiveHoverHoverRing.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/selectorsInactiveHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensJumpy/Tokens.xcassets/sliderActiveHoverHandleSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/actionsBorderlessRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/actionsPrimaryRegularDefaultIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/actionsPrimaryRegularFocusIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/actionsPrimaryRegularHoverIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/actionsPrimaryRegularPressedIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/actionsSecondaryRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/actionsTertiaryRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/cardActiveDefaultSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/cardActiveFocusSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/cardInactiveHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/coachmarkHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/coachmarkPressedOuterCircleSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/colorPrimaryMegalight.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/interactiveInactiveRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/nonInteractiveBackgroundBrand.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/selectorsActiveHoverHoverRing.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/selectorsInactiveHoverHoverRing.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/selectorsInactiveHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensNight/Tokens.xcassets/sliderActiveHoverHandleSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/actionsBorderlessRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/actionsPrimaryRegularDefaultIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/actionsPrimaryRegularFocusIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/actionsPrimaryRegularHoverIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/actionsPrimaryRegularPressedIcon.colorset/Contents.json +7 -7
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/actionsSecondaryRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/actionsTertiaryRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/cardActiveDefaultSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/cardActiveFocusSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/cardInactiveHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/coachmarkHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/coachmarkPressedOuterCircleSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/colorPrimaryMegalight.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/interactiveInactiveRegularHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/nonInteractiveBackgroundBrand.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/selectorsActiveHoverHoverRing.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/selectorsInactiveHoverHoverRing.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/selectorsInactiveHoverSurface.colorset/Contents.json +4 -4
- package/tokens/ios/Sources/JumpyTokensSnow/Tokens.xcassets/sliderActiveHoverHandleSurface.colorset/Contents.json +4 -4
- package/tokens/web/css/berry/variables.css +19 -19
- package/tokens/web/css/berry-dark/variables.css +4 -4
- package/tokens/web/css/default/variables.css +19 -19
- package/tokens/web/css/default-dark/variables.css +4 -4
- package/tokens/web/css/jumpy/variables.css +16 -16
- package/tokens/web/css/jumpy-dark/variables.css +4 -4
- package/tokens/web/css/jumpy-light/variables.css +16 -16
- package/tokens/web/css/night/variables.css +4 -4
- package/tokens/web/css/snow/variables.css +19 -19
- package/tokens/web/css/snow-dark/variables.css +4 -4
- package/tokens/web/js/berry/variables.cjs +19 -19
- package/tokens/web/js/berry/variables.js +19 -19
- package/tokens/web/js/berry-dark/variables.cjs +4 -4
- package/tokens/web/js/berry-dark/variables.js +4 -4
- package/tokens/web/js/default/variables.cjs +19 -19
- package/tokens/web/js/default/variables.js +19 -19
- package/tokens/web/js/default-dark/variables.cjs +4 -4
- package/tokens/web/js/default-dark/variables.js +4 -4
- package/tokens/web/js/jumpy/variables.cjs +16 -16
- package/tokens/web/js/jumpy/variables.js +16 -16
- package/tokens/web/js/jumpy-dark/variables.cjs +4 -4
- package/tokens/web/js/jumpy-dark/variables.js +4 -4
- package/tokens/web/js/jumpy-light/variables.cjs +16 -16
- package/tokens/web/js/jumpy-light/variables.js +16 -16
- package/tokens/web/js/night/variables.cjs +4 -4
- package/tokens/web/js/night/variables.js +4 -4
- package/tokens/web/js/snow/variables.cjs +19 -19
- package/tokens/web/js/snow/variables.js +19 -19
- package/tokens/web/js/snow-dark/variables.cjs +4 -4
- package/tokens/web/js/snow-dark/variables.js +4 -4
- package/tokens/web/json/berry/flat-variables.json +19 -19
- package/tokens/web/json/berry/nested-variables.json +19 -19
- package/tokens/web/json/berry/variables.json +19 -19
- package/tokens/web/json/berry-dark/flat-variables.json +4 -4
- package/tokens/web/json/berry-dark/nested-variables.json +4 -4
- package/tokens/web/json/berry-dark/variables.json +4 -4
- package/tokens/web/json/default/flat-variables.json +19 -19
- package/tokens/web/json/default/nested-variables.json +19 -19
- package/tokens/web/json/default/variables.json +19 -19
- package/tokens/web/json/default-dark/flat-variables.json +4 -4
- package/tokens/web/json/default-dark/nested-variables.json +4 -4
- package/tokens/web/json/default-dark/variables.json +4 -4
- package/tokens/web/json/jumpy/flat-variables.json +16 -16
- package/tokens/web/json/jumpy/nested-variables.json +16 -16
- package/tokens/web/json/jumpy/variables.json +16 -16
- package/tokens/web/json/jumpy-dark/flat-variables.json +4 -4
- package/tokens/web/json/jumpy-dark/nested-variables.json +4 -4
- package/tokens/web/json/jumpy-dark/variables.json +4 -4
- package/tokens/web/json/jumpy-light/flat-variables.json +16 -16
- package/tokens/web/json/jumpy-light/nested-variables.json +16 -16
- package/tokens/web/json/jumpy-light/variables.json +16 -16
- package/tokens/web/json/night/flat-variables.json +4 -4
- package/tokens/web/json/night/nested-variables.json +4 -4
- package/tokens/web/json/night/variables.json +4 -4
- package/tokens/web/json/snow/flat-variables.json +19 -19
- package/tokens/web/json/snow/nested-variables.json +19 -19
- package/tokens/web/json/snow/variables.json +19 -19
- package/tokens/web/json/snow-dark/flat-variables.json +4 -4
- package/tokens/web/json/snow-dark/nested-variables.json +4 -4
- package/tokens/web/json/snow-dark/variables.json +4 -4
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
textStyleValue,
|
|
28
28
|
themeToCSSVariables,
|
|
29
29
|
useJumpyTheme
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DFWGWSLJ.js";
|
|
31
31
|
import {
|
|
32
32
|
cn
|
|
33
33
|
} from "./chunk-3DBKYKP2.js";
|
|
@@ -94,8 +94,10 @@ function responsiveValue(value, defaults) {
|
|
|
94
94
|
return { small: value, medium: value, large: value, xLarge: value };
|
|
95
95
|
}
|
|
96
96
|
function gridSpacingValue(spacing, fallback = "1rem") {
|
|
97
|
-
|
|
98
|
-
return [spacing ?? fallback, spacing ?? fallback];
|
|
97
|
+
const length = (value2) => typeof value2 === "number" ? `${value2}px` : value2;
|
|
98
|
+
if (Array.isArray(spacing)) return [length(spacing[0] ?? fallback), length(spacing[1] ?? fallback)];
|
|
99
|
+
const value = length(spacing ?? fallback);
|
|
100
|
+
return [value, value];
|
|
99
101
|
}
|
|
100
102
|
function responsiveGridSpacing(spacing) {
|
|
101
103
|
const defaults = { small: ["1rem", "1rem"], medium: ["1rem", "1rem"], large: ["1.5rem", "1.5rem"], xLarge: ["1.5rem", "1.5rem"] };
|
|
@@ -449,6 +451,7 @@ function getFieldInputStyles(theme, disabled) {
|
|
|
449
451
|
}
|
|
450
452
|
function getFieldShellStyles(theme, disabled, status = "regular", focused = false, readOnly = false) {
|
|
451
453
|
const outlineWidth = borderWidthValue(theme, focused && !readOnly ? JumpyBorderWidth.medium : JumpyBorderWidth.small);
|
|
454
|
+
const easing = focused && !readOnly ? theme.animation.timeEasingImpulse : theme.animation.timeEasingRelease;
|
|
452
455
|
return {
|
|
453
456
|
display: "flex",
|
|
454
457
|
alignItems: "center",
|
|
@@ -469,7 +472,7 @@ function getFieldShellStyles(theme, disabled, status = "regular", focused = fals
|
|
|
469
472
|
gap: spacingValue(theme, JumpySpacing.medium),
|
|
470
473
|
cursor: disabled || readOnly ? "default" : "text",
|
|
471
474
|
pointerEvents: disabled ? "none" : void 0,
|
|
472
|
-
transition: `background-color ${animationDurationValue(theme, JumpyAnimationDuration.smallXS)}s ${
|
|
475
|
+
transition: `background-color ${animationDurationValue(theme, JumpyAnimationDuration.smallXS)}s ${easing}, outline-color ${animationDurationValue(theme, JumpyAnimationDuration.smallXS)}s ${easing}, outline-width ${animationDurationValue(theme, JumpyAnimationDuration.smallXS)}s ${easing}`
|
|
473
476
|
};
|
|
474
477
|
}
|
|
475
478
|
function renderStandaloneField(theme, disabled, className, style, inputElement, status = "regular", readOnly = false) {
|
|
@@ -717,6 +720,7 @@ function JumpListItem({ as, children, className = "", selected = false, disabled
|
|
|
717
720
|
style: {
|
|
718
721
|
...getListItemStateStyles(theme, selected),
|
|
719
722
|
display: "grid",
|
|
723
|
+
textAlign: "start",
|
|
720
724
|
gridTemplateColumns: `${resolvedSelector ? "min-content " : ""}${resolvedLeading ? "min-content " : ""}minmax(0, 1fr) ${resolvedMetadata ? "minmax(0, min-content) " : ""}${resolvedTrailing || hasNestedList ? "min-content" : ""}`,
|
|
721
725
|
gridTemplateRows: resolvedDescription ? "auto auto" : "auto",
|
|
722
726
|
alignItems: "center",
|
|
@@ -1288,11 +1292,12 @@ function JumpPopover({ open, defaultOpen = false, onOpenChange, trigger, childre
|
|
|
1288
1292
|
visible ? /* @__PURE__ */ jsx("div", { role: "dialog", "data-jumpy-component": "popover", style: { position: "absolute", top: `calc(100% + ${spacingValue(theme, JumpySpacing.smallXS)}px)`, left: 0, zIndex: 30, minWidth: 220, borderRadius: radiusValue(theme, JumpyRadius.large), border: `${borderWidthValue(theme, JumpyBorderWidth.small)}px solid ${theme.color.borderSubtle}`, backgroundColor: theme.color.surfaceCard, color: theme.color.textPrimary, boxShadow: theme.shadow.positiveMedium, padding: spacingValue(theme, JumpySpacing.large) }, children }) : null
|
|
1289
1293
|
] });
|
|
1290
1294
|
}
|
|
1291
|
-
function JumpMenu({ trigger, open, defaultOpen = false, onOpenChange, header, footer, children, className = "", placement = "bottom-start", ...props }) {
|
|
1295
|
+
function JumpMenu({ trigger, open, defaultOpen = false, onOpenChange, header, footer, children, className = "", placement = "bottom-start", closeOnSelect = true, ...props }) {
|
|
1292
1296
|
const theme = useJumpyTheme();
|
|
1293
1297
|
const [internalOpen, setInternalOpen] = useState(defaultOpen);
|
|
1294
1298
|
const isOpen = open ?? internalOpen;
|
|
1295
1299
|
const menuRef = useRef(null);
|
|
1300
|
+
const insideEventRef = useRef(null);
|
|
1296
1301
|
const menuOffset = spacingValue(theme, JumpySpacing.small3XS);
|
|
1297
1302
|
const menuPadding = spacingValue(theme, JumpySpacing.medium);
|
|
1298
1303
|
const menuMinWidth = sizeValue(theme, JumpySize.large8XL);
|
|
@@ -1369,9 +1374,32 @@ function JumpMenu({ trigger, open, defaultOpen = false, onOpenChange, header, fo
|
|
|
1369
1374
|
}
|
|
1370
1375
|
props.onKeyDown?.(event);
|
|
1371
1376
|
}
|
|
1372
|
-
|
|
1377
|
+
useEffect(() => {
|
|
1378
|
+
if (!isOpen) return void 0;
|
|
1379
|
+
function dismissOutside(event) {
|
|
1380
|
+
if (insideEventRef.current !== event) setOpen(false);
|
|
1381
|
+
}
|
|
1382
|
+
document.addEventListener("pointerdown", dismissOutside);
|
|
1383
|
+
document.addEventListener("focusin", dismissOutside);
|
|
1384
|
+
return () => {
|
|
1385
|
+
document.removeEventListener("pointerdown", dismissOutside);
|
|
1386
|
+
document.removeEventListener("focusin", dismissOutside);
|
|
1387
|
+
};
|
|
1388
|
+
});
|
|
1389
|
+
function markInteractionInside(event) {
|
|
1390
|
+
insideEventRef.current = event.nativeEvent;
|
|
1391
|
+
}
|
|
1392
|
+
function handleMenuClick(event) {
|
|
1393
|
+
props.onClick?.(event);
|
|
1394
|
+
if (!closeOnSelect || event.defaultPrevented) return;
|
|
1395
|
+
const item = event.target.closest?.('[role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"]');
|
|
1396
|
+
if (!item || item.disabled || item.getAttribute("aria-disabled") === "true" || item.closest("[aria-haspopup]")) return;
|
|
1397
|
+
setOpen(false);
|
|
1398
|
+
refs.domReference.current?.focus?.();
|
|
1399
|
+
}
|
|
1400
|
+
return /* @__PURE__ */ jsxs("span", { "data-jumpy-component": "menu-root", className: cn(className), onPointerDown: markInteractionInside, onFocus: markInteractionInside, style: { display: "inline-flex", ...props.style || {} }, children: [
|
|
1373
1401
|
/* @__PURE__ */ jsx("span", { ref: refs.setReference, "aria-haspopup": "menu", "aria-expanded": isOpen, tabIndex: 0, onClick: () => setOpen(!isOpen), onKeyDown: handleTriggerKeyDown, children: trigger }),
|
|
1374
|
-
isOpen ? /* @__PURE__ */ jsx(
|
|
1402
|
+
isOpen ? /* @__PURE__ */ jsx(JumpyPortal, { children: /* @__PURE__ */ jsxs(
|
|
1375
1403
|
"div",
|
|
1376
1404
|
{
|
|
1377
1405
|
...props,
|
|
@@ -1379,14 +1407,13 @@ function JumpMenu({ trigger, open, defaultOpen = false, onOpenChange, header, fo
|
|
|
1379
1407
|
refs.setFloating(node);
|
|
1380
1408
|
menuRef.current = node;
|
|
1381
1409
|
},
|
|
1382
|
-
"data-jumpy-theme": "true",
|
|
1383
1410
|
"data-jumpy-component": "menu",
|
|
1384
1411
|
role: "menu",
|
|
1412
|
+
onClick: handleMenuClick,
|
|
1385
1413
|
onKeyDown: handleMenuKeyDown,
|
|
1386
1414
|
style: {
|
|
1387
|
-
...themeToCSSVariables(theme),
|
|
1388
1415
|
...floatingStyles,
|
|
1389
|
-
zIndex:
|
|
1416
|
+
zIndex: JUMPY_POPUP_Z_INDEX,
|
|
1390
1417
|
maxWidth: "min(420px, calc(100vw - 32px))",
|
|
1391
1418
|
overflowY: "auto",
|
|
1392
1419
|
...props.style || {}
|
|
@@ -1987,13 +2014,18 @@ function JumpExpandableGroup({ as, multiple = false, disabled = false, headingLe
|
|
|
1987
2014
|
] }, child.key || index);
|
|
1988
2015
|
}) });
|
|
1989
2016
|
}
|
|
2017
|
+
var JUMPY_POPUP_Z_INDEX = 1200;
|
|
2018
|
+
function JumpyPortal({ children }) {
|
|
2019
|
+
const theme = useJumpyTheme();
|
|
2020
|
+
return /* @__PURE__ */ jsx(FloatingPortal, { children: /* @__PURE__ */ jsx("div", { "data-jumpy-theme": "true", "data-jumpy-portal": "true", style: { ...themeToCSSVariables(theme), fontFamily: theme.fontFamily.familyBase }, children }) });
|
|
2021
|
+
}
|
|
1990
2022
|
function JumpyModalLayer({ children, onVisibleChange, style, onPointerDown, ...props }) {
|
|
1991
2023
|
const theme = useJumpyTheme();
|
|
1992
2024
|
const { refs, context } = useFloating({ open: true, onOpenChange: onVisibleChange });
|
|
1993
|
-
return /* @__PURE__ */ jsx(
|
|
2025
|
+
return /* @__PURE__ */ jsx(JumpyPortal, { children: /* @__PURE__ */ jsx(FloatingOverlay, { ...props, lockScroll: true, onPointerDown: (event) => {
|
|
1994
2026
|
onPointerDown?.(event);
|
|
1995
2027
|
if (event.target === event.currentTarget) event.preventDefault();
|
|
1996
|
-
}, style
|
|
2028
|
+
}, style, children: /* @__PURE__ */ jsx(FloatingFocusManager, { context, outsideElementsInert: true, restoreFocus: true, children: cloneElement(children, {
|
|
1997
2029
|
ref: refs.setFloating,
|
|
1998
2030
|
tabIndex: -1,
|
|
1999
2031
|
onKeyDown(event) {
|
|
@@ -2504,7 +2536,7 @@ function JumpDatePicker({ label = "Date", hint, value, defaultValue = null, onCh
|
|
|
2504
2536
|
}
|
|
2505
2537
|
}
|
|
2506
2538
|
) }),
|
|
2507
|
-
isOpen && !disabled && !readOnly ? /* @__PURE__ */ jsx(
|
|
2539
|
+
isOpen && !disabled && !readOnly ? /* @__PURE__ */ jsx(JumpyPortal, { children: /* @__PURE__ */ jsxs("div", { ref: refs.setFloating, role: "dialog", "aria-label": label, style: { ...floatingStyles, zIndex: JUMPY_POPUP_Z_INDEX, width: sizeValue(theme, JumpySize.large8XL) * 2.5, maxWidth: "calc(100vw - 32px)", overflow: "visible", borderRadius: radiusValue(theme, JumpyRadius.smallXS), backgroundColor: "var(--jumpy-card-inactive-default-surface, var(--jumpy-color-surface-card))", color: "var(--jumpy-card-inactive-default-text, var(--jumpy-color-text-primary))", boxShadow: theme.shadow.positiveMedium, padding: `${spacingValue(theme, JumpySpacing.small3XS)}px 0` }, children: [
|
|
2508
2540
|
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between", gap: spacingValue(theme, JumpySpacing.medium), padding: spacingValue(theme, JumpySpacing.small3XS) }, children: [
|
|
2509
2541
|
/* @__PURE__ */ jsx(JumpIconButton, { variant: "borderless", "aria-label": "Previous", onClick: () => setViewDate(new Date(viewDate.getFullYear(), viewDate.getMonth() - 1, 1)), children: "\u2039" }),
|
|
2510
2542
|
/* @__PURE__ */ jsx("strong", { style: { fontFamily: theme.fontFamily.familyBase, color: "inherit" }, children: viewDate.toLocaleDateString(void 0, { month: "long", year: "numeric" }) }),
|
|
@@ -2625,7 +2657,7 @@ function JumpTimePicker({ label = "Time", hint, value, defaultValue = null, onCh
|
|
|
2625
2657
|
}
|
|
2626
2658
|
}
|
|
2627
2659
|
) }),
|
|
2628
|
-
isOpen && !disabled && !readOnly ? /* @__PURE__ */ jsx(
|
|
2660
|
+
isOpen && !disabled && !readOnly ? /* @__PURE__ */ jsx(JumpyPortal, { children: /* @__PURE__ */ jsxs("div", { ref: refs.setFloating, role: "dialog", "aria-label": label, style: { ...floatingStyles, zIndex: JUMPY_POPUP_Z_INDEX, overflow: "visible", borderRadius: radiusValue(theme, JumpyRadius.smallXS), backgroundColor: `var(--jumpy-non-interactive-background-alternative, var(--jumpy-color-non-interactive-background-alternative, ${theme.color.surfaceCard}))`, color: "var(--jumpy-card-inactive-default-text, var(--jumpy-color-text-primary))", boxShadow: theme.shadow.positiveMedium, padding: `${spacingValue(theme, JumpySpacing.small3XS)}px 0`, minWidth: 260 }, children: [
|
|
2629
2661
|
/* @__PURE__ */ jsxs("div", { style: { display: "flex", position: "relative", justifyContent: "center", alignItems: "center", gap: spacingValue(theme, JumpySpacing.small), padding: `${spacingValue(theme, JumpySpacing.zero)}px ${spacingValue(theme, JumpySpacing.zero)}px`, overflow: "hidden" }, children: [
|
|
2630
2662
|
/* @__PURE__ */ jsx("div", { "aria-hidden": "true", style: { position: "absolute", left: 0, right: 0, top: "50%", height: sizeValue(theme, JumpySize.medium), transform: "translateY(-50%)", backgroundColor: "var(--jumpy-interactive-active-regular-default-surface)", pointerEvents: "none" } }),
|
|
2631
2663
|
/* @__PURE__ */ jsx(TimeColumn, { label: "Hour", values: hours, selected: String(displayHour).padStart(2, "0"), onSelect: (next) => commit("hour", next), theme }),
|
|
@@ -2809,19 +2841,17 @@ function JumpDropdown({ label, hint, value, defaultValue = [], onChange, open, o
|
|
|
2809
2841
|
setSearchValue("");
|
|
2810
2842
|
onClear?.();
|
|
2811
2843
|
}, className, trailing, children: triggerInput });
|
|
2812
|
-
const listbox = isOpen && !disabled ? /* @__PURE__ */ jsx(
|
|
2844
|
+
const listbox = isOpen && !disabled ? /* @__PURE__ */ jsx(JumpyPortal, { children: /* @__PURE__ */ jsxs(
|
|
2813
2845
|
"div",
|
|
2814
2846
|
{
|
|
2815
2847
|
ref: refs.setFloating,
|
|
2816
2848
|
id: `${triggerId}-listbox`,
|
|
2817
2849
|
role: "listbox",
|
|
2818
2850
|
"aria-multiselectable": multiple || void 0,
|
|
2819
|
-
"data-jumpy-theme": "true",
|
|
2820
2851
|
"data-jumpy-component": "dropdown-popover",
|
|
2821
2852
|
style: {
|
|
2822
|
-
...themeToCSSVariables(theme),
|
|
2823
2853
|
...floatingStyles,
|
|
2824
|
-
zIndex:
|
|
2854
|
+
zIndex: JUMPY_POPUP_Z_INDEX,
|
|
2825
2855
|
overflowX: "hidden",
|
|
2826
2856
|
overflowY: "auto",
|
|
2827
2857
|
borderRadius: radiusValue(theme, JumpyRadius.large),
|
|
@@ -3385,6 +3415,13 @@ function JumpBaseInput({ label, hint, children, className = "", error = false, h
|
|
|
3385
3415
|
"data-readonly": readOnly ? "true" : "false",
|
|
3386
3416
|
"data-status": status,
|
|
3387
3417
|
"data-testid": props["data-testid"],
|
|
3418
|
+
onMouseDown: (event) => {
|
|
3419
|
+
const control = document.getElementById(child.props.id || fieldId);
|
|
3420
|
+
const interactive = event.target.closest("input, textarea, select, button, a, [tabindex]");
|
|
3421
|
+
if (disabled || !control || event.button !== 0 || interactive && event.currentTarget.contains(interactive)) return;
|
|
3422
|
+
event.preventDefault();
|
|
3423
|
+
control.focus();
|
|
3424
|
+
},
|
|
3388
3425
|
style: {
|
|
3389
3426
|
...getFieldShellStyles(theme, disabled, status, focused, readOnly),
|
|
3390
3427
|
alignItems: isTextarea ? "flex-start" : "center",
|
|
@@ -3591,7 +3628,8 @@ function JumpTabs({ items, value, onChange, className = "" }) {
|
|
|
3591
3628
|
const scrollRef = useRef(null);
|
|
3592
3629
|
const indicatorRef = useRef(null);
|
|
3593
3630
|
const tabRefs = useRef(/* @__PURE__ */ new Map());
|
|
3594
|
-
|
|
3631
|
+
const placeIndicatorRef = useRef(null);
|
|
3632
|
+
placeIndicatorRef.current = (animate) => {
|
|
3595
3633
|
const selectedTab = tabRefs.current.get(value);
|
|
3596
3634
|
const scrollContainer = scrollRef.current;
|
|
3597
3635
|
const indicator = indicatorRef.current;
|
|
@@ -3605,10 +3643,37 @@ function JumpTabs({ items, value, onChange, className = "" }) {
|
|
|
3605
3643
|
const insetRight = Number.parseFloat(tabStyles.paddingRight) + (contentStyles ? Number.parseFloat(contentStyles.paddingRight) : 0);
|
|
3606
3644
|
const x = tabBounds.left - containerBounds.left + scrollContainer.scrollLeft + insetLeft;
|
|
3607
3645
|
const width = tabBounds.width - insetLeft - insetRight;
|
|
3646
|
+
if (!animate) indicator.style.transition = "none";
|
|
3608
3647
|
indicator.style.setProperty("--jumpy-cmp-tabs-indicator-x", `${x}px`);
|
|
3609
3648
|
indicator.style.setProperty("--jumpy-cmp-tabs-indicator-width", `${width}px`);
|
|
3610
3649
|
indicator.style.setProperty("--jumpy-cmp-tabs-indicator-opacity", "1");
|
|
3650
|
+
if (!animate) {
|
|
3651
|
+
indicator.getBoundingClientRect();
|
|
3652
|
+
indicator.style.transition = "";
|
|
3653
|
+
}
|
|
3654
|
+
};
|
|
3655
|
+
const indicatorPlacedRef = useRef(false);
|
|
3656
|
+
useLayoutEffect(() => {
|
|
3657
|
+
placeIndicatorRef.current(indicatorPlacedRef.current);
|
|
3658
|
+
indicatorPlacedRef.current = true;
|
|
3611
3659
|
}, [items, value]);
|
|
3660
|
+
useEffect(() => {
|
|
3661
|
+
const scrollContainer = scrollRef.current;
|
|
3662
|
+
if (!scrollContainer || typeof ResizeObserver === "undefined") return void 0;
|
|
3663
|
+
const sizes = /* @__PURE__ */ new WeakMap();
|
|
3664
|
+
const observer = new ResizeObserver((entries) => {
|
|
3665
|
+
let resized = false;
|
|
3666
|
+
entries.forEach(({ target, contentRect }) => {
|
|
3667
|
+
const size2 = `${contentRect.width}x${contentRect.height}`;
|
|
3668
|
+
if (sizes.has(target) && sizes.get(target) !== size2) resized = true;
|
|
3669
|
+
sizes.set(target, size2);
|
|
3670
|
+
});
|
|
3671
|
+
if (resized) placeIndicatorRef.current(false);
|
|
3672
|
+
});
|
|
3673
|
+
observer.observe(scrollContainer);
|
|
3674
|
+
tabRefs.current.forEach((tab) => observer.observe(tab));
|
|
3675
|
+
return () => observer.disconnect();
|
|
3676
|
+
}, [items]);
|
|
3612
3677
|
return /* @__PURE__ */ jsx("div", { className, "data-jumpy-component": "tabs", children: /* @__PURE__ */ jsxs("div", { ref: scrollRef, "data-jumpy-slot": "tabs-scroll-container", role: "tablist", "aria-orientation": "horizontal", tabIndex: -1, children: [
|
|
3613
3678
|
items.map((item) => {
|
|
3614
3679
|
const active = item.key === value;
|
package/dist/theme.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export declare function JumpSkeletonLoader(props: HTMLAttributes<HTMLElement> &
|
|
|
71
71
|
export declare const JumpSearchField: import('react').ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> & { label?: string } & import('react').RefAttributes<HTMLInputElement>>
|
|
72
72
|
export declare function JumpTooltip(props: HTMLAttributes<HTMLSpanElement> & { content: ReactNode; children: ReactNode }): ReactNode
|
|
73
73
|
export declare function JumpPopover(props: HTMLAttributes<HTMLSpanElement> & { open?: boolean; defaultOpen?: boolean; onOpenChange?: (open: boolean) => void; trigger: ReactNode; children: ReactNode }): ReactNode
|
|
74
|
-
export declare function JumpMenu(props: HTMLAttributes<HTMLDivElement> & { trigger: ReactNode; open?: boolean; defaultOpen?: boolean; onOpenChange?: (open: boolean) => void; header?: ReactNode; footer?: ReactNode; placement?: 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end'; children: ReactNode }): ReactNode
|
|
74
|
+
export declare function JumpMenu(props: HTMLAttributes<HTMLDivElement> & { trigger: ReactNode; open?: boolean; defaultOpen?: boolean; onOpenChange?: (open: boolean) => void; closeOnSelect?: boolean; header?: ReactNode; footer?: ReactNode; placement?: 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end'; children: ReactNode }): ReactNode
|
|
75
75
|
export declare function JumpMenuItem(props: HTMLAttributes<HTMLElement> & { as?: ElementTag; children: ReactNode; selected?: boolean; disabled?: boolean; readOnly?: boolean; focusedView?: boolean; leading?: ReactNode; trailing?: ReactNode; metadata?: ReactNode; description?: ReactNode; slots?: JumpListItemSlots; nestedMenu?: ReactNode }): ReactNode
|
|
76
76
|
export type JumpToggleButtonValue = string | number
|
|
77
77
|
export declare function JumpToggleButton(props: Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> & { as?: ElementTag; selected?: boolean; value?: JumpToggleButtonValue; onChange?: (selected: boolean) => void; leading?: ReactNode | ((state: { selected: boolean }) => ReactNode); children?: ReactNode }): ReactNode
|
package/package.json
CHANGED
|
@@ -256,7 +256,7 @@ object JumpyBerryTokens {
|
|
|
256
256
|
val colorPrimaryExtralight: Color = jumpyColor("#338F3D7A")
|
|
257
257
|
val colorPrimaryLight: Color = jumpyColor("#FFDDEABE")
|
|
258
258
|
val colorPrimaryLightbase: Color = jumpyColor("#FFC86CAF")
|
|
259
|
-
val colorPrimaryMegalight: Color = jumpyColor("#
|
|
259
|
+
val colorPrimaryMegalight: Color = jumpyColor("#148F3D7A")
|
|
260
260
|
val colorPrimaryUltralight: Color = jumpyColor("#148F3D7A")
|
|
261
261
|
val colorSecondary100: Color = jumpyColor("#FFFFF9F4")
|
|
262
262
|
val colorSecondary200: Color = jumpyColor("#FFFFF3E8")
|
|
@@ -350,7 +350,7 @@ object JumpyBerryTokens {
|
|
|
350
350
|
val actionsBorderlessRegularHoverBorder: Color = jumpyColor("#00FFFFFF")
|
|
351
351
|
val actionsBorderlessRegularHoverFocus: Color = jumpyColor("#00FFFFFF")
|
|
352
352
|
val actionsBorderlessRegularHoverIcon: Color = jumpyColor("#FF8F3D7A")
|
|
353
|
-
val actionsBorderlessRegularHoverSurface: Color = jumpyColor("#
|
|
353
|
+
val actionsBorderlessRegularHoverSurface: Color = jumpyColor("#148F3D7A")
|
|
354
354
|
val actionsBorderlessRegularHoverSurfaceAlternate: Color = jumpyColor("#148F3D7A")
|
|
355
355
|
val actionsBorderlessRegularHoverText: Color = jumpyColor("#FF8F3D7A")
|
|
356
356
|
val actionsBorderlessRegularPressedAction: Color = jumpyColor("#FF343434")
|
|
@@ -404,7 +404,7 @@ object JumpyBerryTokens {
|
|
|
404
404
|
val actionsPrimaryInfoPressedSurface: Color = jumpyColor("#FFF6F6F6")
|
|
405
405
|
val actionsPrimaryInfoPressedText: Color = jumpyColor("#FF000000")
|
|
406
406
|
val actionsPrimaryRegularDefaultBorder: Color = jumpyColor("#FF8F3D7A")
|
|
407
|
-
val actionsPrimaryRegularDefaultIcon: Color = jumpyColor("#
|
|
407
|
+
val actionsPrimaryRegularDefaultIcon: Color = jumpyColor("#FFFFFFFF")
|
|
408
408
|
val actionsPrimaryRegularDefaultSurface: Color = jumpyColor("#FF8F3D7A")
|
|
409
409
|
val actionsPrimaryRegularDefaultText: Color = jumpyColor("#FFFFFFFF")
|
|
410
410
|
val actionsPrimaryRegularDisabledBorder: Color = jumpyColor("#FFF7EEF7")
|
|
@@ -414,15 +414,15 @@ object JumpyBerryTokens {
|
|
|
414
414
|
val actionsPrimaryRegularDisabledText: Color = jumpyColor("#FF6F5A6B")
|
|
415
415
|
val actionsPrimaryRegularFocusBorder: Color = jumpyColor("#FF8F3D7A")
|
|
416
416
|
val actionsPrimaryRegularFocusFocusRing: Color = jumpyColor("#FF8F3D7A")
|
|
417
|
-
val actionsPrimaryRegularFocusIcon: Color = jumpyColor("#
|
|
417
|
+
val actionsPrimaryRegularFocusIcon: Color = jumpyColor("#FFFFFFFF")
|
|
418
418
|
val actionsPrimaryRegularFocusSurface: Color = jumpyColor("#FF8F3D7A")
|
|
419
419
|
val actionsPrimaryRegularFocusText: Color = jumpyColor("#FFFFFFFF")
|
|
420
420
|
val actionsPrimaryRegularHoverBorder: Color = jumpyColor("#FF8F3D7A")
|
|
421
|
-
val actionsPrimaryRegularHoverIcon: Color = jumpyColor("#
|
|
421
|
+
val actionsPrimaryRegularHoverIcon: Color = jumpyColor("#FFFFFFFF")
|
|
422
422
|
val actionsPrimaryRegularHoverSurface: Color = jumpyColor("#FF7A3268")
|
|
423
423
|
val actionsPrimaryRegularHoverText: Color = jumpyColor("#FFFFFFFF")
|
|
424
424
|
val actionsPrimaryRegularPressedBorder: Color = jumpyColor("#FF8F3D7A")
|
|
425
|
-
val actionsPrimaryRegularPressedIcon: Color = jumpyColor("#
|
|
425
|
+
val actionsPrimaryRegularPressedIcon: Color = jumpyColor("#FFFFFFFF")
|
|
426
426
|
val actionsPrimaryRegularPressedSurface: Color = jumpyColor("#FF8F3D7A")
|
|
427
427
|
val actionsPrimaryRegularPressedText: Color = jumpyColor("#FFFFFFFF")
|
|
428
428
|
val actionsPrimaryWarningDefaultBorder: Color = jumpyColor("#FF1A1C1F")
|
|
@@ -493,7 +493,7 @@ object JumpyBerryTokens {
|
|
|
493
493
|
val actionsSecondaryRegularHoverAction: Color = jumpyColor("#FF343434")
|
|
494
494
|
val actionsSecondaryRegularHoverBorder: Color = jumpyColor("#FF575B5E")
|
|
495
495
|
val actionsSecondaryRegularHoverIcon: Color = jumpyColor("#FF8F3D7A")
|
|
496
|
-
val actionsSecondaryRegularHoverSurface: Color = jumpyColor("#
|
|
496
|
+
val actionsSecondaryRegularHoverSurface: Color = jumpyColor("#148F3D7A")
|
|
497
497
|
val actionsSecondaryRegularHoverSurfaceAlternate: Color = jumpyColor("#148F3D7A")
|
|
498
498
|
val actionsSecondaryRegularHoverText: Color = jumpyColor("#FF8F3D7A")
|
|
499
499
|
val actionsSecondaryRegularPressedAction: Color = jumpyColor("#FF343434")
|
|
@@ -554,7 +554,7 @@ object JumpyBerryTokens {
|
|
|
554
554
|
val actionsTertiaryRegularHoverBorder: Color = jumpyColor("#00FFFFFF")
|
|
555
555
|
val actionsTertiaryRegularHoverFocus: Color = jumpyColor("#00FFFFFF")
|
|
556
556
|
val actionsTertiaryRegularHoverIcon: Color = jumpyColor("#FF8F3D7A")
|
|
557
|
-
val actionsTertiaryRegularHoverSurface: Color = jumpyColor("#
|
|
557
|
+
val actionsTertiaryRegularHoverSurface: Color = jumpyColor("#148F3D7A")
|
|
558
558
|
val actionsTertiaryRegularHoverSurfaceAlternate: Color = jumpyColor("#148F3D7A")
|
|
559
559
|
val actionsTertiaryRegularHoverText: Color = jumpyColor("#FF8F3D7A")
|
|
560
560
|
val actionsTertiaryRegularPressedAction: Color = jumpyColor("#FF343434")
|
|
@@ -566,7 +566,7 @@ object JumpyBerryTokens {
|
|
|
566
566
|
val cardActiveDefaultBorder: Color = jumpyColor("#26575B5E")
|
|
567
567
|
val cardActiveDefaultIcon: Color = jumpyColor("#FF575B5E")
|
|
568
568
|
val cardActiveDefaultSubtext: Color = jumpyColor("#FF241A23")
|
|
569
|
-
val cardActiveDefaultSurface: Color = jumpyColor("#
|
|
569
|
+
val cardActiveDefaultSurface: Color = jumpyColor("#148F3D7A")
|
|
570
570
|
val cardActiveDefaultText: Color = jumpyColor("#FF343434")
|
|
571
571
|
val cardActiveDisabledBorder: Color = jumpyColor("#FFF7EEF7")
|
|
572
572
|
val cardActiveDisabledIcon: Color = jumpyColor("#26575B5E")
|
|
@@ -582,7 +582,7 @@ object JumpyBerryTokens {
|
|
|
582
582
|
val cardActiveFocusFocusRing: Color = jumpyColor("#FF8F3D7A")
|
|
583
583
|
val cardActiveFocusIcon: Color = jumpyColor("#FF575B5E")
|
|
584
584
|
val cardActiveFocusSubtext: Color = jumpyColor("#FF241A23")
|
|
585
|
-
val cardActiveFocusSurface: Color = jumpyColor("#
|
|
585
|
+
val cardActiveFocusSurface: Color = jumpyColor("#148F3D7A")
|
|
586
586
|
val cardActiveFocusText: Color = jumpyColor("#FF343434")
|
|
587
587
|
val cardActiveHoverBorder: Color = jumpyColor("#FFC86CAF")
|
|
588
588
|
val cardActiveHoverIcon: Color = jumpyColor("#FF575B5E")
|
|
@@ -618,7 +618,7 @@ object JumpyBerryTokens {
|
|
|
618
618
|
val cardInactiveHoverBorder: Color = jumpyColor("#FFC86CAF")
|
|
619
619
|
val cardInactiveHoverIcon: Color = jumpyColor("#FF575B5E")
|
|
620
620
|
val cardInactiveHoverSubtext: Color = jumpyColor("#FF241A23")
|
|
621
|
-
val cardInactiveHoverSurface: Color = jumpyColor("#
|
|
621
|
+
val cardInactiveHoverSurface: Color = jumpyColor("#148F3D7A")
|
|
622
622
|
val cardInactiveHoverText: Color = jumpyColor("#FF343434")
|
|
623
623
|
val cardInactivePressedBorder: Color = jumpyColor("#FF8F3D7A")
|
|
624
624
|
val cardInactivePressedIcon: Color = jumpyColor("#FF575B5E")
|
|
@@ -641,10 +641,10 @@ object JumpyBerryTokens {
|
|
|
641
641
|
val coachmarkHoverInnerCircleOutline: Color = jumpyColor("#FF8F3D7A")
|
|
642
642
|
val coachmarkHoverInnerCircleSurface: Color = jumpyColor("#FFFFFFFF")
|
|
643
643
|
val coachmarkHoverOuterCircleSurface: Color = jumpyColor("#148F3D7A")
|
|
644
|
-
val coachmarkHoverSurface: Color = jumpyColor("#
|
|
644
|
+
val coachmarkHoverSurface: Color = jumpyColor("#148F3D7A")
|
|
645
645
|
val coachmarkPressedInnerCircleOutline: Color = jumpyColor("#FF8F3D7A")
|
|
646
646
|
val coachmarkPressedInnerCircleSurface: Color = jumpyColor("#FFFFFFFF")
|
|
647
|
-
val coachmarkPressedOuterCircleSurface: Color = jumpyColor("#
|
|
647
|
+
val coachmarkPressedOuterCircleSurface: Color = jumpyColor("#148F3D7A")
|
|
648
648
|
val coachmarkPressedSurface: Color = jumpyColor("#148F3D7A")
|
|
649
649
|
val inputAlarmDefaultAlarmIcon: Color = jumpyColor("#FFDC2626")
|
|
650
650
|
val inputAlarmDefaultBorder: Color = jumpyColor("#FFDC2626")
|
|
@@ -807,7 +807,7 @@ object JumpyBerryTokens {
|
|
|
807
807
|
val interactiveInactiveRegularHoverBorder: Color = jumpyColor("#FF6F5A6B")
|
|
808
808
|
val interactiveInactiveRegularHoverIcon: Color = jumpyColor("#FF343434")
|
|
809
809
|
val interactiveInactiveRegularHoverSubtext: Color = jumpyColor("#FF575B5E")
|
|
810
|
-
val interactiveInactiveRegularHoverSurface: Color = jumpyColor("#
|
|
810
|
+
val interactiveInactiveRegularHoverSurface: Color = jumpyColor("#148F3D7A")
|
|
811
811
|
val interactiveInactiveRegularHoverSurfaceAlternate: Color = jumpyColor("#148F3D7A")
|
|
812
812
|
val interactiveInactiveRegularHoverText: Color = jumpyColor("#FF343434")
|
|
813
813
|
val interactiveInactiveRegularPressedBorder: Color = jumpyColor("#FF737373")
|
|
@@ -818,7 +818,7 @@ object JumpyBerryTokens {
|
|
|
818
818
|
val nonInteractiveBackgroundAlternative: Color = jumpyColor("#FFFFFFFF")
|
|
819
819
|
val nonInteractiveBackgroundAlternativeFloating: Color = jumpyColor("#FFFFFFFF")
|
|
820
820
|
val nonInteractiveBackgroundAlternativeRaised: Color = jumpyColor("#FFF6F6F6")
|
|
821
|
-
val nonInteractiveBackgroundBrand: Color = jumpyColor("#
|
|
821
|
+
val nonInteractiveBackgroundBrand: Color = jumpyColor("#148F3D7A")
|
|
822
822
|
val nonInteractiveBackgroundDefault: Color = jumpyColor("#FFF5F5F2")
|
|
823
823
|
val nonInteractiveBackgroundDefaultFloating: Color = jumpyColor("#FFFFFFFF")
|
|
824
824
|
val nonInteractiveBackgroundDefaultRaised: Color = jumpyColor("#FFFFFFFF")
|
|
@@ -842,7 +842,7 @@ object JumpyBerryTokens {
|
|
|
842
842
|
val selectorsActiveFocusText: Color = jumpyColor("#FF8F3D7A")
|
|
843
843
|
val selectorsActiveHoverBorder: Color = jumpyColor("#FFC86CAF")
|
|
844
844
|
val selectorsActiveHoverHandle: Color = jumpyColor("#FFFFFFFF")
|
|
845
|
-
val selectorsActiveHoverHoverRing: Color = jumpyColor("#
|
|
845
|
+
val selectorsActiveHoverHoverRing: Color = jumpyColor("#148F3D7A")
|
|
846
846
|
val selectorsActiveHoverIcon: Color = jumpyColor("#FFFFFFFF")
|
|
847
847
|
val selectorsActiveHoverSurface: Color = jumpyColor("#FFC86CAF")
|
|
848
848
|
val selectorsActiveHoverText: Color = jumpyColor("#FF8F3D7A")
|
|
@@ -874,9 +874,9 @@ object JumpyBerryTokens {
|
|
|
874
874
|
val selectorsInactiveFocusText: Color = jumpyColor("#FF343434")
|
|
875
875
|
val selectorsInactiveHoverBorder: Color = jumpyColor("#FF575B5E")
|
|
876
876
|
val selectorsInactiveHoverHandle: Color = jumpyColor("#FF575B5E")
|
|
877
|
-
val selectorsInactiveHoverHoverRing: Color = jumpyColor("#
|
|
877
|
+
val selectorsInactiveHoverHoverRing: Color = jumpyColor("#148F3D7A")
|
|
878
878
|
val selectorsInactiveHoverIcon: Color = jumpyColor("#FF575B5E")
|
|
879
|
-
val selectorsInactiveHoverSurface: Color = jumpyColor("#
|
|
879
|
+
val selectorsInactiveHoverSurface: Color = jumpyColor("#148F3D7A")
|
|
880
880
|
val selectorsInactiveHoverText: Color = jumpyColor("#FF343434")
|
|
881
881
|
val selectorsInactivePressedBorder: Color = jumpyColor("#FF6F5A6B")
|
|
882
882
|
val selectorsInactivePressedHandle: Color = jumpyColor("#FF575B5E")
|
|
@@ -908,7 +908,7 @@ object JumpyBerryTokens {
|
|
|
908
908
|
val sliderActiveFocusStopText: Color = jumpyColor("#FF343434")
|
|
909
909
|
val sliderActiveFocusTrack: Color = jumpyColor("#FF8F3D7A")
|
|
910
910
|
val sliderActiveHoverHandle: Color = jumpyColor("#FF8F3D7A")
|
|
911
|
-
val sliderActiveHoverHandleSurface: Color = jumpyColor("#
|
|
911
|
+
val sliderActiveHoverHandleSurface: Color = jumpyColor("#148F3D7A")
|
|
912
912
|
val sliderActiveHoverIcon: Color = jumpyColor("#FF8F3D7A")
|
|
913
913
|
val sliderActiveHoverStopDot: Color = jumpyColor("#26575B5E")
|
|
914
914
|
val sliderActiveHoverStopText: Color = jumpyColor("#FF343434")
|
package/tokens/android/tokens/src/main/kotlin/com/mariohahn/jumpy/tokens/berryDark/Tokens.kt
CHANGED
|
@@ -404,7 +404,7 @@ object JumpyBerryDarkTokens {
|
|
|
404
404
|
val actionsPrimaryInfoPressedSurface: Color = jumpyColor("#FF949494")
|
|
405
405
|
val actionsPrimaryInfoPressedText: Color = jumpyColor("#FFFFFFFF")
|
|
406
406
|
val actionsPrimaryRegularDefaultBorder: Color = jumpyColor("#FFC86CAF")
|
|
407
|
-
val actionsPrimaryRegularDefaultIcon: Color = jumpyColor("#
|
|
407
|
+
val actionsPrimaryRegularDefaultIcon: Color = jumpyColor("#FF2A1022")
|
|
408
408
|
val actionsPrimaryRegularDefaultSurface: Color = jumpyColor("#FFD881BE")
|
|
409
409
|
val actionsPrimaryRegularDefaultText: Color = jumpyColor("#FF000000")
|
|
410
410
|
val actionsPrimaryRegularDisabledBorder: Color = jumpyColor("#FF2B1E2F")
|
|
@@ -414,15 +414,15 @@ object JumpyBerryDarkTokens {
|
|
|
414
414
|
val actionsPrimaryRegularDisabledText: Color = jumpyColor("#FFC8B2C2")
|
|
415
415
|
val actionsPrimaryRegularFocusBorder: Color = jumpyColor("#FFC86CAF")
|
|
416
416
|
val actionsPrimaryRegularFocusFocusRing: Color = jumpyColor("#FFC86CAF")
|
|
417
|
-
val actionsPrimaryRegularFocusIcon: Color = jumpyColor("#
|
|
417
|
+
val actionsPrimaryRegularFocusIcon: Color = jumpyColor("#FF2A1022")
|
|
418
418
|
val actionsPrimaryRegularFocusSurface: Color = jumpyColor("#FFD881BE")
|
|
419
419
|
val actionsPrimaryRegularFocusText: Color = jumpyColor("#FF000000")
|
|
420
420
|
val actionsPrimaryRegularHoverBorder: Color = jumpyColor("#FFC86CAF")
|
|
421
|
-
val actionsPrimaryRegularHoverIcon: Color = jumpyColor("#
|
|
421
|
+
val actionsPrimaryRegularHoverIcon: Color = jumpyColor("#FF2A1022")
|
|
422
422
|
val actionsPrimaryRegularHoverSurface: Color = jumpyColor("#FFC86CAF")
|
|
423
423
|
val actionsPrimaryRegularHoverText: Color = jumpyColor("#FF000000")
|
|
424
424
|
val actionsPrimaryRegularPressedBorder: Color = jumpyColor("#FFC86CAF")
|
|
425
|
-
val actionsPrimaryRegularPressedIcon: Color = jumpyColor("#
|
|
425
|
+
val actionsPrimaryRegularPressedIcon: Color = jumpyColor("#FF2A1022")
|
|
426
426
|
val actionsPrimaryRegularPressedSurface: Color = jumpyColor("#FFEEF5DF")
|
|
427
427
|
val actionsPrimaryRegularPressedText: Color = jumpyColor("#FF000000")
|
|
428
428
|
val actionsPrimaryWarningDefaultBorder: Color = jumpyColor("#FF1A1C1F")
|
|
@@ -256,7 +256,7 @@ object JumpyDefaultTokens {
|
|
|
256
256
|
val colorPrimaryExtralight: Color = jumpyColor("#33128A42")
|
|
257
257
|
val colorPrimaryLight: Color = jumpyColor("#FFDDEABE")
|
|
258
258
|
val colorPrimaryLightbase: Color = jumpyColor("#FF6CB784")
|
|
259
|
-
val colorPrimaryMegalight: Color = jumpyColor("#
|
|
259
|
+
val colorPrimaryMegalight: Color = jumpyColor("#14128A42")
|
|
260
260
|
val colorPrimaryUltralight: Color = jumpyColor("#14128A42")
|
|
261
261
|
val colorSecondary100: Color = jumpyColor("#FFFFF9F4")
|
|
262
262
|
val colorSecondary200: Color = jumpyColor("#FFFFF3E8")
|
|
@@ -350,7 +350,7 @@ object JumpyDefaultTokens {
|
|
|
350
350
|
val actionsBorderlessRegularHoverBorder: Color = jumpyColor("#00FFFFFF")
|
|
351
351
|
val actionsBorderlessRegularHoverFocus: Color = jumpyColor("#00FFFFFF")
|
|
352
352
|
val actionsBorderlessRegularHoverIcon: Color = jumpyColor("#B3128A42")
|
|
353
|
-
val actionsBorderlessRegularHoverSurface: Color = jumpyColor("#
|
|
353
|
+
val actionsBorderlessRegularHoverSurface: Color = jumpyColor("#14128A42")
|
|
354
354
|
val actionsBorderlessRegularHoverSurfaceAlternate: Color = jumpyColor("#14128A42")
|
|
355
355
|
val actionsBorderlessRegularHoverText: Color = jumpyColor("#B3128A42")
|
|
356
356
|
val actionsBorderlessRegularPressedAction: Color = jumpyColor("#FF343434")
|
|
@@ -404,7 +404,7 @@ object JumpyDefaultTokens {
|
|
|
404
404
|
val actionsPrimaryInfoPressedSurface: Color = jumpyColor("#FFF6F6F6")
|
|
405
405
|
val actionsPrimaryInfoPressedText: Color = jumpyColor("#FF000000")
|
|
406
406
|
val actionsPrimaryRegularDefaultBorder: Color = jumpyColor("#FF128A42")
|
|
407
|
-
val actionsPrimaryRegularDefaultIcon: Color = jumpyColor("#
|
|
407
|
+
val actionsPrimaryRegularDefaultIcon: Color = jumpyColor("#FFFFFFFF")
|
|
408
408
|
val actionsPrimaryRegularDefaultSurface: Color = jumpyColor("#FF128A42")
|
|
409
409
|
val actionsPrimaryRegularDefaultText: Color = jumpyColor("#FFFFFFFF")
|
|
410
410
|
val actionsPrimaryRegularDisabledBorder: Color = jumpyColor("#FFF4F7F5")
|
|
@@ -414,15 +414,15 @@ object JumpyDefaultTokens {
|
|
|
414
414
|
val actionsPrimaryRegularDisabledText: Color = jumpyColor("#FF575B5E")
|
|
415
415
|
val actionsPrimaryRegularFocusBorder: Color = jumpyColor("#FF128A42")
|
|
416
416
|
val actionsPrimaryRegularFocusFocusRing: Color = jumpyColor("#B3128A42")
|
|
417
|
-
val actionsPrimaryRegularFocusIcon: Color = jumpyColor("#
|
|
417
|
+
val actionsPrimaryRegularFocusIcon: Color = jumpyColor("#FFFFFFFF")
|
|
418
418
|
val actionsPrimaryRegularFocusSurface: Color = jumpyColor("#FF128A42")
|
|
419
419
|
val actionsPrimaryRegularFocusText: Color = jumpyColor("#FFFFFFFF")
|
|
420
420
|
val actionsPrimaryRegularHoverBorder: Color = jumpyColor("#B3128A42")
|
|
421
|
-
val actionsPrimaryRegularHoverIcon: Color = jumpyColor("#
|
|
421
|
+
val actionsPrimaryRegularHoverIcon: Color = jumpyColor("#FFFFFFFF")
|
|
422
422
|
val actionsPrimaryRegularHoverSurface: Color = jumpyColor("#FF0B6F33")
|
|
423
423
|
val actionsPrimaryRegularHoverText: Color = jumpyColor("#FFFFFFFF")
|
|
424
424
|
val actionsPrimaryRegularPressedBorder: Color = jumpyColor("#FF128A42")
|
|
425
|
-
val actionsPrimaryRegularPressedIcon: Color = jumpyColor("#
|
|
425
|
+
val actionsPrimaryRegularPressedIcon: Color = jumpyColor("#FFFFFFFF")
|
|
426
426
|
val actionsPrimaryRegularPressedSurface: Color = jumpyColor("#B3128A42")
|
|
427
427
|
val actionsPrimaryRegularPressedText: Color = jumpyColor("#FFFFFFFF")
|
|
428
428
|
val actionsPrimaryWarningDefaultBorder: Color = jumpyColor("#FF1A1C1F")
|
|
@@ -493,7 +493,7 @@ object JumpyDefaultTokens {
|
|
|
493
493
|
val actionsSecondaryRegularHoverAction: Color = jumpyColor("#FF343434")
|
|
494
494
|
val actionsSecondaryRegularHoverBorder: Color = jumpyColor("#FF575B5E")
|
|
495
495
|
val actionsSecondaryRegularHoverIcon: Color = jumpyColor("#B3128A42")
|
|
496
|
-
val actionsSecondaryRegularHoverSurface: Color = jumpyColor("#
|
|
496
|
+
val actionsSecondaryRegularHoverSurface: Color = jumpyColor("#14128A42")
|
|
497
497
|
val actionsSecondaryRegularHoverSurfaceAlternate: Color = jumpyColor("#14128A42")
|
|
498
498
|
val actionsSecondaryRegularHoverText: Color = jumpyColor("#B3128A42")
|
|
499
499
|
val actionsSecondaryRegularPressedAction: Color = jumpyColor("#FF343434")
|
|
@@ -554,7 +554,7 @@ object JumpyDefaultTokens {
|
|
|
554
554
|
val actionsTertiaryRegularHoverBorder: Color = jumpyColor("#00FFFFFF")
|
|
555
555
|
val actionsTertiaryRegularHoverFocus: Color = jumpyColor("#00FFFFFF")
|
|
556
556
|
val actionsTertiaryRegularHoverIcon: Color = jumpyColor("#B3128A42")
|
|
557
|
-
val actionsTertiaryRegularHoverSurface: Color = jumpyColor("#
|
|
557
|
+
val actionsTertiaryRegularHoverSurface: Color = jumpyColor("#14128A42")
|
|
558
558
|
val actionsTertiaryRegularHoverSurfaceAlternate: Color = jumpyColor("#14128A42")
|
|
559
559
|
val actionsTertiaryRegularHoverText: Color = jumpyColor("#B3128A42")
|
|
560
560
|
val actionsTertiaryRegularPressedAction: Color = jumpyColor("#FF343434")
|
|
@@ -566,7 +566,7 @@ object JumpyDefaultTokens {
|
|
|
566
566
|
val cardActiveDefaultBorder: Color = jumpyColor("#26575B5E")
|
|
567
567
|
val cardActiveDefaultIcon: Color = jumpyColor("#FF575B5E")
|
|
568
568
|
val cardActiveDefaultSubtext: Color = jumpyColor("#FF1A1C1F")
|
|
569
|
-
val cardActiveDefaultSurface: Color = jumpyColor("#
|
|
569
|
+
val cardActiveDefaultSurface: Color = jumpyColor("#14128A42")
|
|
570
570
|
val cardActiveDefaultText: Color = jumpyColor("#FF343434")
|
|
571
571
|
val cardActiveDisabledBorder: Color = jumpyColor("#FFF4F7F5")
|
|
572
572
|
val cardActiveDisabledIcon: Color = jumpyColor("#26575B5E")
|
|
@@ -582,7 +582,7 @@ object JumpyDefaultTokens {
|
|
|
582
582
|
val cardActiveFocusFocusRing: Color = jumpyColor("#B3128A42")
|
|
583
583
|
val cardActiveFocusIcon: Color = jumpyColor("#FF575B5E")
|
|
584
584
|
val cardActiveFocusSubtext: Color = jumpyColor("#FF1A1C1F")
|
|
585
|
-
val cardActiveFocusSurface: Color = jumpyColor("#
|
|
585
|
+
val cardActiveFocusSurface: Color = jumpyColor("#14128A42")
|
|
586
586
|
val cardActiveFocusText: Color = jumpyColor("#FF343434")
|
|
587
587
|
val cardActiveHoverBorder: Color = jumpyColor("#FF6CB784")
|
|
588
588
|
val cardActiveHoverIcon: Color = jumpyColor("#FF575B5E")
|
|
@@ -618,7 +618,7 @@ object JumpyDefaultTokens {
|
|
|
618
618
|
val cardInactiveHoverBorder: Color = jumpyColor("#FF6CB784")
|
|
619
619
|
val cardInactiveHoverIcon: Color = jumpyColor("#FF575B5E")
|
|
620
620
|
val cardInactiveHoverSubtext: Color = jumpyColor("#FF1A1C1F")
|
|
621
|
-
val cardInactiveHoverSurface: Color = jumpyColor("#
|
|
621
|
+
val cardInactiveHoverSurface: Color = jumpyColor("#14128A42")
|
|
622
622
|
val cardInactiveHoverText: Color = jumpyColor("#FF343434")
|
|
623
623
|
val cardInactivePressedBorder: Color = jumpyColor("#B3128A42")
|
|
624
624
|
val cardInactivePressedIcon: Color = jumpyColor("#FF575B5E")
|
|
@@ -641,10 +641,10 @@ object JumpyDefaultTokens {
|
|
|
641
641
|
val coachmarkHoverInnerCircleOutline: Color = jumpyColor("#FF128A42")
|
|
642
642
|
val coachmarkHoverInnerCircleSurface: Color = jumpyColor("#FFFFFFFF")
|
|
643
643
|
val coachmarkHoverOuterCircleSurface: Color = jumpyColor("#14128A42")
|
|
644
|
-
val coachmarkHoverSurface: Color = jumpyColor("#
|
|
644
|
+
val coachmarkHoverSurface: Color = jumpyColor("#14128A42")
|
|
645
645
|
val coachmarkPressedInnerCircleOutline: Color = jumpyColor("#FF128A42")
|
|
646
646
|
val coachmarkPressedInnerCircleSurface: Color = jumpyColor("#FFFFFFFF")
|
|
647
|
-
val coachmarkPressedOuterCircleSurface: Color = jumpyColor("#
|
|
647
|
+
val coachmarkPressedOuterCircleSurface: Color = jumpyColor("#14128A42")
|
|
648
648
|
val coachmarkPressedSurface: Color = jumpyColor("#14128A42")
|
|
649
649
|
val inputAlarmDefaultAlarmIcon: Color = jumpyColor("#FFDC2626")
|
|
650
650
|
val inputAlarmDefaultBorder: Color = jumpyColor("#FFDC2626")
|
|
@@ -807,7 +807,7 @@ object JumpyDefaultTokens {
|
|
|
807
807
|
val interactiveInactiveRegularHoverBorder: Color = jumpyColor("#FF575B5E")
|
|
808
808
|
val interactiveInactiveRegularHoverIcon: Color = jumpyColor("#FF343434")
|
|
809
809
|
val interactiveInactiveRegularHoverSubtext: Color = jumpyColor("#FF575B5E")
|
|
810
|
-
val interactiveInactiveRegularHoverSurface: Color = jumpyColor("#
|
|
810
|
+
val interactiveInactiveRegularHoverSurface: Color = jumpyColor("#14128A42")
|
|
811
811
|
val interactiveInactiveRegularHoverSurfaceAlternate: Color = jumpyColor("#14128A42")
|
|
812
812
|
val interactiveInactiveRegularHoverText: Color = jumpyColor("#FF343434")
|
|
813
813
|
val interactiveInactiveRegularPressedBorder: Color = jumpyColor("#FF737373")
|
|
@@ -818,7 +818,7 @@ object JumpyDefaultTokens {
|
|
|
818
818
|
val nonInteractiveBackgroundAlternative: Color = jumpyColor("#FFFFFFFF")
|
|
819
819
|
val nonInteractiveBackgroundAlternativeFloating: Color = jumpyColor("#FFFFFFFF")
|
|
820
820
|
val nonInteractiveBackgroundAlternativeRaised: Color = jumpyColor("#FFF6F6F6")
|
|
821
|
-
val nonInteractiveBackgroundBrand: Color = jumpyColor("#
|
|
821
|
+
val nonInteractiveBackgroundBrand: Color = jumpyColor("#14128A42")
|
|
822
822
|
val nonInteractiveBackgroundDefault: Color = jumpyColor("#FFF5F5F2")
|
|
823
823
|
val nonInteractiveBackgroundDefaultFloating: Color = jumpyColor("#FFFFFFFF")
|
|
824
824
|
val nonInteractiveBackgroundDefaultRaised: Color = jumpyColor("#FFFFFFFF")
|
|
@@ -842,7 +842,7 @@ object JumpyDefaultTokens {
|
|
|
842
842
|
val selectorsActiveFocusText: Color = jumpyColor("#FF128A42")
|
|
843
843
|
val selectorsActiveHoverBorder: Color = jumpyColor("#FF6CB784")
|
|
844
844
|
val selectorsActiveHoverHandle: Color = jumpyColor("#FFFFFFFF")
|
|
845
|
-
val selectorsActiveHoverHoverRing: Color = jumpyColor("#
|
|
845
|
+
val selectorsActiveHoverHoverRing: Color = jumpyColor("#14128A42")
|
|
846
846
|
val selectorsActiveHoverIcon: Color = jumpyColor("#FFFFFFFF")
|
|
847
847
|
val selectorsActiveHoverSurface: Color = jumpyColor("#FF6CB784")
|
|
848
848
|
val selectorsActiveHoverText: Color = jumpyColor("#B3128A42")
|
|
@@ -874,9 +874,9 @@ object JumpyDefaultTokens {
|
|
|
874
874
|
val selectorsInactiveFocusText: Color = jumpyColor("#FF343434")
|
|
875
875
|
val selectorsInactiveHoverBorder: Color = jumpyColor("#FF575B5E")
|
|
876
876
|
val selectorsInactiveHoverHandle: Color = jumpyColor("#FF575B5E")
|
|
877
|
-
val selectorsInactiveHoverHoverRing: Color = jumpyColor("#
|
|
877
|
+
val selectorsInactiveHoverHoverRing: Color = jumpyColor("#14128A42")
|
|
878
878
|
val selectorsInactiveHoverIcon: Color = jumpyColor("#FF575B5E")
|
|
879
|
-
val selectorsInactiveHoverSurface: Color = jumpyColor("#
|
|
879
|
+
val selectorsInactiveHoverSurface: Color = jumpyColor("#14128A42")
|
|
880
880
|
val selectorsInactiveHoverText: Color = jumpyColor("#FF343434")
|
|
881
881
|
val selectorsInactivePressedBorder: Color = jumpyColor("#FF575B5E")
|
|
882
882
|
val selectorsInactivePressedHandle: Color = jumpyColor("#FF575B5E")
|
|
@@ -908,7 +908,7 @@ object JumpyDefaultTokens {
|
|
|
908
908
|
val sliderActiveFocusStopText: Color = jumpyColor("#FF343434")
|
|
909
909
|
val sliderActiveFocusTrack: Color = jumpyColor("#FF128A42")
|
|
910
910
|
val sliderActiveHoverHandle: Color = jumpyColor("#FF128A42")
|
|
911
|
-
val sliderActiveHoverHandleSurface: Color = jumpyColor("#
|
|
911
|
+
val sliderActiveHoverHandleSurface: Color = jumpyColor("#14128A42")
|
|
912
912
|
val sliderActiveHoverIcon: Color = jumpyColor("#FF128A42")
|
|
913
913
|
val sliderActiveHoverStopDot: Color = jumpyColor("#26575B5E")
|
|
914
914
|
val sliderActiveHoverStopText: Color = jumpyColor("#FF343434")
|
package/tokens/android/tokens/src/main/kotlin/com/mariohahn/jumpy/tokens/defaultDark/Tokens.kt
CHANGED
|
@@ -404,7 +404,7 @@ object JumpyDefaultDarkTokens {
|
|
|
404
404
|
val actionsPrimaryInfoPressedSurface: Color = jumpyColor("#FF949494")
|
|
405
405
|
val actionsPrimaryInfoPressedText: Color = jumpyColor("#FFFFFFFF")
|
|
406
406
|
val actionsPrimaryRegularDefaultBorder: Color = jumpyColor("#FF6CB784")
|
|
407
|
-
val actionsPrimaryRegularDefaultIcon: Color = jumpyColor("#
|
|
407
|
+
val actionsPrimaryRegularDefaultIcon: Color = jumpyColor("#FF102114")
|
|
408
408
|
val actionsPrimaryRegularDefaultSurface: Color = jumpyColor("#FF80C596")
|
|
409
409
|
val actionsPrimaryRegularDefaultText: Color = jumpyColor("#FF000000")
|
|
410
410
|
val actionsPrimaryRegularDisabledBorder: Color = jumpyColor("#FF242A2F")
|
|
@@ -414,15 +414,15 @@ object JumpyDefaultDarkTokens {
|
|
|
414
414
|
val actionsPrimaryRegularDisabledText: Color = jumpyColor("#FFB8C0C4")
|
|
415
415
|
val actionsPrimaryRegularFocusBorder: Color = jumpyColor("#FF6CB784")
|
|
416
416
|
val actionsPrimaryRegularFocusFocusRing: Color = jumpyColor("#FF6CB784")
|
|
417
|
-
val actionsPrimaryRegularFocusIcon: Color = jumpyColor("#
|
|
417
|
+
val actionsPrimaryRegularFocusIcon: Color = jumpyColor("#FF102114")
|
|
418
418
|
val actionsPrimaryRegularFocusSurface: Color = jumpyColor("#FF80C596")
|
|
419
419
|
val actionsPrimaryRegularFocusText: Color = jumpyColor("#FF000000")
|
|
420
420
|
val actionsPrimaryRegularHoverBorder: Color = jumpyColor("#FF6CB784")
|
|
421
|
-
val actionsPrimaryRegularHoverIcon: Color = jumpyColor("#
|
|
421
|
+
val actionsPrimaryRegularHoverIcon: Color = jumpyColor("#FF102114")
|
|
422
422
|
val actionsPrimaryRegularHoverSurface: Color = jumpyColor("#FF6CB784")
|
|
423
423
|
val actionsPrimaryRegularHoverText: Color = jumpyColor("#FF000000")
|
|
424
424
|
val actionsPrimaryRegularPressedBorder: Color = jumpyColor("#FF6CB784")
|
|
425
|
-
val actionsPrimaryRegularPressedIcon: Color = jumpyColor("#
|
|
425
|
+
val actionsPrimaryRegularPressedIcon: Color = jumpyColor("#FF102114")
|
|
426
426
|
val actionsPrimaryRegularPressedSurface: Color = jumpyColor("#FFEEF5DF")
|
|
427
427
|
val actionsPrimaryRegularPressedText: Color = jumpyColor("#FF000000")
|
|
428
428
|
val actionsPrimaryWarningDefaultBorder: Color = jumpyColor("#FF1A1C1F")
|