@multiplatform.one/theme 7.83.0 → 7.83.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/cjs/audit/constraintAudit.cjs +567 -0
- package/dist/cjs/audit/constraintAudit.native.js +948 -0
- package/dist/cjs/audit/constraintAudit.native.js.map +1 -0
- package/dist/cjs/audit/designTokens.cjs +53 -0
- package/dist/cjs/audit/designTokens.native.js +80 -0
- package/dist/cjs/audit/designTokens.native.js.map +1 -0
- package/dist/cjs/audit/diffReport.cjs +255 -0
- package/dist/cjs/audit/diffReport.native.js +519 -0
- package/dist/cjs/audit/diffReport.native.js.map +1 -0
- package/dist/cjs/audit/index.cjs +41 -0
- package/dist/cjs/audit/index.native.js +44 -0
- package/dist/cjs/audit/index.native.js.map +1 -0
- package/dist/cjs/audit/themeMatrix.cjs +924 -0
- package/dist/cjs/audit/themeMatrix.native.js +1552 -0
- package/dist/cjs/audit/themeMatrix.native.js.map +1 -0
- package/dist/cjs/dates.cjs +261 -0
- package/dist/cjs/dates.native.js +289 -0
- package/dist/cjs/dates.native.js.map +1 -0
- package/dist/cjs/devWarn.cjs +163 -0
- package/dist/cjs/devWarn.native.js +191 -0
- package/dist/cjs/devWarn.native.js.map +1 -0
- package/dist/cjs/expo.cjs +82 -0
- package/dist/cjs/expo.native.js +87 -0
- package/dist/cjs/expo.native.js.map +1 -0
- package/dist/cjs/figma/figmaTokens.cjs +350 -0
- package/dist/cjs/figma/figmaTokens.native.js +637 -0
- package/dist/cjs/figma/figmaTokens.native.js.map +1 -0
- package/dist/cjs/font.cjs +65 -0
- package/dist/cjs/font.native.js +74 -0
- package/dist/cjs/font.native.js.map +1 -0
- package/dist/cjs/fonts/createFontLoader.cjs +32 -0
- package/dist/cjs/fonts/createFontLoader.native.js +69 -0
- package/dist/cjs/fonts/createFontLoader.native.js.map +1 -0
- package/dist/cjs/fonts/index.cjs +21 -0
- package/dist/cjs/fonts/index.native.js +24 -0
- package/dist/cjs/fonts/index.native.js.map +1 -0
- package/dist/cjs/fonts/types.cjs +18 -0
- package/dist/cjs/fonts/types.native.js +21 -0
- package/dist/cjs/fonts/types.native.js.map +1 -0
- package/dist/cjs/index.cjs +39 -0
- package/dist/cjs/index.native.js +42 -0
- package/dist/cjs/index.native.js.map +1 -0
- package/dist/cjs/keyboardFocusRing.cjs +111 -0
- package/dist/cjs/keyboardFocusRing.native.js +116 -0
- package/dist/cjs/keyboardFocusRing.native.js.map +1 -0
- package/dist/cjs/menuRow.cjs +80 -0
- package/dist/cjs/menuRow.native.js +86 -0
- package/dist/cjs/menuRow.native.js.map +1 -0
- package/dist/cjs/numbers.cjs +161 -0
- package/dist/cjs/numbers.native.js +173 -0
- package/dist/cjs/numbers.native.js.map +1 -0
- package/dist/cjs/theme/FontKnobStyles.cjs +161 -0
- package/dist/cjs/theme/FontKnobStyles.native.js +41 -0
- package/dist/cjs/theme/FontKnobStyles.native.js.map +1 -0
- package/dist/cjs/theme/Heading.cjs +174 -0
- package/dist/cjs/theme/Heading.native.js +186 -0
- package/dist/cjs/theme/Heading.native.js.map +1 -0
- package/dist/cjs/theme/IconSlot.cjs +67 -0
- package/dist/cjs/theme/IconSlot.native.js +78 -0
- package/dist/cjs/theme/IconSlot.native.js.map +1 -0
- package/dist/cjs/theme/Intent.cjs +44 -0
- package/dist/cjs/theme/Intent.native.js +48 -0
- package/dist/cjs/theme/Intent.native.js.map +1 -0
- package/dist/cjs/theme/Preset.cjs +150 -0
- package/dist/cjs/theme/Preset.native.js +156 -0
- package/dist/cjs/theme/Preset.native.js.map +1 -0
- package/dist/cjs/theme/PresetContext.cjs +38 -0
- package/dist/cjs/theme/PresetContext.native.js +42 -0
- package/dist/cjs/theme/PresetContext.native.js.map +1 -0
- package/dist/cjs/theme/Surface.cjs +115 -0
- package/dist/cjs/theme/Surface.native.js +126 -0
- package/dist/cjs/theme/Surface.native.js.map +1 -0
- package/dist/cjs/theme/Text.cjs +147 -0
- package/dist/cjs/theme/Text.native.js +155 -0
- package/dist/cjs/theme/Text.native.js.map +1 -0
- package/dist/cjs/theme/Tint.cjs +55 -0
- package/dist/cjs/theme/Tint.native.js +59 -0
- package/dist/cjs/theme/Tint.native.js.map +1 -0
- package/dist/cjs/theme/activateThemeConfig.cjs +42 -0
- package/dist/cjs/theme/activateThemeConfig.native.js +45 -0
- package/dist/cjs/theme/activateThemeConfig.native.js.map +1 -0
- package/dist/cjs/theme/animations/css.cjs +36 -0
- package/dist/cjs/theme/animations/css.native.js +39 -0
- package/dist/cjs/theme/animations/css.native.js.map +1 -0
- package/dist/cjs/theme/animations/index.cjs +20 -0
- package/dist/cjs/theme/animations/index.native.js +23 -0
- package/dist/cjs/theme/animations/index.native.js.map +1 -0
- package/dist/cjs/theme/animations/reactNative.cjs +158 -0
- package/dist/cjs/theme/animations/reactNative.native.js +161 -0
- package/dist/cjs/theme/animations/reactNative.native.js.map +1 -0
- package/dist/cjs/theme/chartPalette.cjs +229 -0
- package/dist/cjs/theme/chartPalette.native.js +297 -0
- package/dist/cjs/theme/chartPalette.native.js.map +1 -0
- package/dist/cjs/theme/colorRules.cjs +300 -0
- package/dist/cjs/theme/colorRules.native.js +330 -0
- package/dist/cjs/theme/colorRules.native.js.map +1 -0
- package/dist/cjs/theme/controlTiers.cjs +67 -0
- package/dist/cjs/theme/controlTiers.native.js +72 -0
- package/dist/cjs/theme/controlTiers.native.js.map +1 -0
- package/dist/cjs/theme/cookies.cjs +183 -0
- package/dist/cjs/theme/cookies.native.js +309 -0
- package/dist/cjs/theme/cookies.native.js.map +1 -0
- package/dist/cjs/theme/cornerSmoothing.cjs +111 -0
- package/dist/cjs/theme/cornerSmoothing.native.js +71 -0
- package/dist/cjs/theme/cornerSmoothing.native.js.map +1 -0
- package/dist/cjs/theme/createDefaultThemeConfig.cjs +130 -0
- package/dist/cjs/theme/createDefaultThemeConfig.native.js +176 -0
- package/dist/cjs/theme/createDefaultThemeConfig.native.js.map +1 -0
- package/dist/cjs/theme/createThemes.cjs +737 -0
- package/dist/cjs/theme/createThemes.native.js +1183 -0
- package/dist/cjs/theme/createThemes.native.js.map +1 -0
- package/dist/cjs/theme/dedupeInherited.cjs +83 -0
- package/dist/cjs/theme/dedupeInherited.native.js +194 -0
- package/dist/cjs/theme/dedupeInherited.native.js.map +1 -0
- package/dist/cjs/theme/defaults/accent.cjs +32 -0
- package/dist/cjs/theme/defaults/accent.native.js +35 -0
- package/dist/cjs/theme/defaults/accent.native.js.map +1 -0
- package/dist/cjs/theme/defaults/base.cjs +48 -0
- package/dist/cjs/theme/defaults/base.native.js +51 -0
- package/dist/cjs/theme/defaults/base.native.js.map +1 -0
- package/dist/cjs/theme/defaults/builderOptions.cjs +192 -0
- package/dist/cjs/theme/defaults/builderOptions.native.js +263 -0
- package/dist/cjs/theme/defaults/builderOptions.native.js.map +1 -0
- package/dist/cjs/theme/defaults/categoryFonts.cjs +50 -0
- package/dist/cjs/theme/defaults/categoryFonts.native.js +53 -0
- package/dist/cjs/theme/defaults/categoryFonts.native.js.map +1 -0
- package/dist/cjs/theme/defaults/fonts.cjs +301 -0
- package/dist/cjs/theme/defaults/fonts.native.js +390 -0
- package/dist/cjs/theme/defaults/fonts.native.js.map +1 -0
- package/dist/cjs/theme/defaults/house.cjs +39 -0
- package/dist/cjs/theme/defaults/house.native.js +46 -0
- package/dist/cjs/theme/defaults/house.native.js.map +1 -0
- package/dist/cjs/theme/defaults/index.cjs +25 -0
- package/dist/cjs/theme/defaults/index.native.js +28 -0
- package/dist/cjs/theme/defaults/index.native.js.map +1 -0
- package/dist/cjs/theme/devtools/ColorLineVisualizer.cjs +243 -0
- package/dist/cjs/theme/devtools/ColorLineVisualizer.native.js +269 -0
- package/dist/cjs/theme/devtools/ColorLineVisualizer.native.js.map +1 -0
- package/dist/cjs/theme/devtools/ThemeDevtoolsPanel.cjs +1350 -0
- package/dist/cjs/theme/devtools/ThemeDevtoolsPanel.native.js +1814 -0
- package/dist/cjs/theme/devtools/ThemeDevtoolsPanel.native.js.map +1 -0
- package/dist/cjs/theme/devtools/animationOptions.cjs +36 -0
- package/dist/cjs/theme/devtools/animationOptions.native.js +46 -0
- package/dist/cjs/theme/devtools/animationOptions.native.js.map +1 -0
- package/dist/cjs/theme/devtools/buildSnapshot.cjs +92 -0
- package/dist/cjs/theme/devtools/buildSnapshot.native.js +174 -0
- package/dist/cjs/theme/devtools/buildSnapshot.native.js.map +1 -0
- package/dist/cjs/theme/devtools/knobIcons.cjs +498 -0
- package/dist/cjs/theme/devtools/knobIcons.native.js +520 -0
- package/dist/cjs/theme/devtools/knobIcons.native.js.map +1 -0
- package/dist/cjs/theme/devtools/vizConstants.cjs +54 -0
- package/dist/cjs/theme/devtools/vizConstants.native.js +57 -0
- package/dist/cjs/theme/devtools/vizConstants.native.js.map +1 -0
- package/dist/cjs/theme/dynamicType.cjs +52 -0
- package/dist/cjs/theme/dynamicType.native.js +55 -0
- package/dist/cjs/theme/dynamicType.native.js.map +1 -0
- package/dist/cjs/theme/fieldFocus.cjs +56 -0
- package/dist/cjs/theme/fieldFocus.native.js +62 -0
- package/dist/cjs/theme/fieldFocus.native.js.map +1 -0
- package/dist/cjs/theme/fillContrast.cjs +130 -0
- package/dist/cjs/theme/fillContrast.native.js +163 -0
- package/dist/cjs/theme/fillContrast.native.js.map +1 -0
- package/dist/cjs/theme/focusState.cjs +120 -0
- package/dist/cjs/theme/focusState.native.js +123 -0
- package/dist/cjs/theme/focusState.native.js.map +1 -0
- package/dist/cjs/theme/fontCategoryMetrics.cjs +91 -0
- package/dist/cjs/theme/fontCategoryMetrics.native.js +94 -0
- package/dist/cjs/theme/fontCategoryMetrics.native.js.map +1 -0
- package/dist/cjs/theme/fontCategoryStacks.cjs +40 -0
- package/dist/cjs/theme/fontCategoryStacks.native.js +43 -0
- package/dist/cjs/theme/fontCategoryStacks.native.js.map +1 -0
- package/dist/cjs/theme/glyphPaint.cjs +55 -0
- package/dist/cjs/theme/glyphPaint.native.js +81 -0
- package/dist/cjs/theme/glyphPaint.native.js.map +1 -0
- package/dist/cjs/theme/glyphTint.cjs +113 -0
- package/dist/cjs/theme/glyphTint.native.js +125 -0
- package/dist/cjs/theme/glyphTint.native.js.map +1 -0
- package/dist/cjs/theme/groupGeometry.cjs +67 -0
- package/dist/cjs/theme/groupGeometry.native.js +72 -0
- package/dist/cjs/theme/groupGeometry.native.js.map +1 -0
- package/dist/cjs/theme/hairline.cjs +102 -0
- package/dist/cjs/theme/hairline.native.js +73 -0
- package/dist/cjs/theme/hairline.native.js.map +1 -0
- package/dist/cjs/theme/index.cjs +95 -0
- package/dist/cjs/theme/index.native.js +98 -0
- package/dist/cjs/theme/index.native.js.map +1 -0
- package/dist/cjs/theme/intents.cjs +62 -0
- package/dist/cjs/theme/intents.native.js +65 -0
- package/dist/cjs/theme/intents.native.js.map +1 -0
- package/dist/cjs/theme/knobs.cjs +172 -0
- package/dist/cjs/theme/knobs.native.js +175 -0
- package/dist/cjs/theme/knobs.native.js.map +1 -0
- package/dist/cjs/theme/layoutTokens.cjs +172 -0
- package/dist/cjs/theme/layoutTokens.native.js +222 -0
- package/dist/cjs/theme/layoutTokens.native.js.map +1 -0
- package/dist/cjs/theme/listRows.cjs +44 -0
- package/dist/cjs/theme/listRows.native.js +49 -0
- package/dist/cjs/theme/listRows.native.js.map +1 -0
- package/dist/cjs/theme/mergedTokens.cjs +39 -0
- package/dist/cjs/theme/mergedTokens.native.js +61 -0
- package/dist/cjs/theme/mergedTokens.native.js.map +1 -0
- package/dist/cjs/theme/motion.cjs +72 -0
- package/dist/cjs/theme/motion.native.js +82 -0
- package/dist/cjs/theme/motion.native.js.map +1 -0
- package/dist/cjs/theme/motionStops.cjs +28 -0
- package/dist/cjs/theme/motionStops.native.js +31 -0
- package/dist/cjs/theme/motionStops.native.js.map +1 -0
- package/dist/cjs/theme/motionTiming.cjs +79 -0
- package/dist/cjs/theme/motionTiming.native.js +85 -0
- package/dist/cjs/theme/motionTiming.native.js.map +1 -0
- package/dist/cjs/theme/nativeFontFamily.cjs +30 -0
- package/dist/cjs/theme/nativeFontFamily.native.js +37 -0
- package/dist/cjs/theme/nativeFontFamily.native.js.map +1 -0
- package/dist/cjs/theme/nativeMonoFamily.cjs +44 -0
- package/dist/cjs/theme/nativeMonoFamily.native.js +47 -0
- package/dist/cjs/theme/nativeMonoFamily.native.js.map +1 -0
- package/dist/cjs/theme/overlaySurfaces.cjs +327 -0
- package/dist/cjs/theme/overlaySurfaces.native.js +351 -0
- package/dist/cjs/theme/overlaySurfaces.native.js.map +1 -0
- package/dist/cjs/theme/pageGutter.cjs +85 -0
- package/dist/cjs/theme/pageGutter.native.js +92 -0
- package/dist/cjs/theme/pageGutter.native.js.map +1 -0
- package/dist/cjs/theme/preset.types.cjs +18 -0
- package/dist/cjs/theme/preset.types.native.js +21 -0
- package/dist/cjs/theme/preset.types.native.js.map +1 -0
- package/dist/cjs/theme/presetPreview.cjs +42 -0
- package/dist/cjs/theme/presetPreview.native.js +46 -0
- package/dist/cjs/theme/presetPreview.native.js.map +1 -0
- package/dist/cjs/theme/presetStore.cjs +288 -0
- package/dist/cjs/theme/presetStore.native.js +344 -0
- package/dist/cjs/theme/presetStore.native.js.map +1 -0
- package/dist/cjs/theme/presetUserSync.cjs +70 -0
- package/dist/cjs/theme/presetUserSync.native.js +75 -0
- package/dist/cjs/theme/presetUserSync.native.js.map +1 -0
- package/dist/cjs/theme/presets.cjs +128 -0
- package/dist/cjs/theme/presets.native.js +131 -0
- package/dist/cjs/theme/presets.native.js.map +1 -0
- package/dist/cjs/theme/radiusClass.cjs +128 -0
- package/dist/cjs/theme/radiusClass.native.js +137 -0
- package/dist/cjs/theme/radiusClass.native.js.map +1 -0
- package/dist/cjs/theme/radiusClassTable.generated.cjs +164 -0
- package/dist/cjs/theme/radiusClassTable.generated.native.js +167 -0
- package/dist/cjs/theme/radiusClassTable.generated.native.js.map +1 -0
- package/dist/cjs/theme/ramps.cjs +75 -0
- package/dist/cjs/theme/ramps.native.js +79 -0
- package/dist/cjs/theme/ramps.native.js.map +1 -0
- package/dist/cjs/theme/readableColor.cjs +248 -0
- package/dist/cjs/theme/readableColor.native.js +354 -0
- package/dist/cjs/theme/readableColor.native.js.map +1 -0
- package/dist/cjs/theme/recipeInputs.cjs +352 -0
- package/dist/cjs/theme/recipeInputs.native.js +470 -0
- package/dist/cjs/theme/recipeInputs.native.js.map +1 -0
- package/dist/cjs/theme/recipes.cjs +18 -0
- package/dist/cjs/theme/recipes.native.js +21 -0
- package/dist/cjs/theme/recipes.native.js.map +1 -0
- package/dist/cjs/theme/resolveKnobs.cjs +778 -0
- package/dist/cjs/theme/resolveKnobs.native.js +795 -0
- package/dist/cjs/theme/resolveKnobs.native.js.map +1 -0
- package/dist/cjs/theme/scale/ScaleStyles.cjs +57 -0
- package/dist/cjs/theme/scale/ScaleStyles.native.js +41 -0
- package/dist/cjs/theme/scale/ScaleStyles.native.js.map +1 -0
- package/dist/cjs/theme/scale/activeScale.cjs +56 -0
- package/dist/cjs/theme/scale/activeScale.native.js +84 -0
- package/dist/cjs/theme/scale/activeScale.native.js.map +1 -0
- package/dist/cjs/theme/scale/deriveRecipeInputs.cjs +111 -0
- package/dist/cjs/theme/scale/deriveRecipeInputs.native.js +154 -0
- package/dist/cjs/theme/scale/deriveRecipeInputs.native.js.map +1 -0
- package/dist/cjs/theme/scale/generateScale.cjs +114 -0
- package/dist/cjs/theme/scale/generateScale.native.js +200 -0
- package/dist/cjs/theme/scale/generateScale.native.js.map +1 -0
- package/dist/cjs/theme/scale/index.cjs +78 -0
- package/dist/cjs/theme/scale/index.native.js +81 -0
- package/dist/cjs/theme/scale/index.native.js.map +1 -0
- package/dist/cjs/theme/scale/installScaleConfig.cjs +31 -0
- package/dist/cjs/theme/scale/installScaleConfig.native.js +65 -0
- package/dist/cjs/theme/scale/installScaleConfig.native.js.map +1 -0
- package/dist/cjs/theme/scale/scaleAttribute.cjs +39 -0
- package/dist/cjs/theme/scale/scaleAttribute.native.js +42 -0
- package/dist/cjs/theme/scale/scaleAttribute.native.js.map +1 -0
- package/dist/cjs/theme/scale/scaleCss.cjs +89 -0
- package/dist/cjs/theme/scale/scaleCss.native.js +201 -0
- package/dist/cjs/theme/scale/scaleCss.native.js.map +1 -0
- package/dist/cjs/theme/scale/scaleFonts.cjs +86 -0
- package/dist/cjs/theme/scale/scaleFonts.native.js +155 -0
- package/dist/cjs/theme/scale/scaleFonts.native.js.map +1 -0
- package/dist/cjs/theme/scale/scaleInputs.cjs +232 -0
- package/dist/cjs/theme/scale/scaleInputs.native.js +237 -0
- package/dist/cjs/theme/scale/scaleInputs.native.js.map +1 -0
- package/dist/cjs/theme/scale/themeScales.cjs +136 -0
- package/dist/cjs/theme/scale/themeScales.native.js +185 -0
- package/dist/cjs/theme/scale/themeScales.native.js.map +1 -0
- package/dist/cjs/theme/scale/useActiveScale.cjs +78 -0
- package/dist/cjs/theme/scale/useActiveScale.native.js +87 -0
- package/dist/cjs/theme/scale/useActiveScale.native.js.map +1 -0
- package/dist/cjs/theme/schemeStore.cjs +87 -0
- package/dist/cjs/theme/schemeStore.native.js +104 -0
- package/dist/cjs/theme/schemeStore.native.js.map +1 -0
- package/dist/cjs/theme/shared.cjs +125 -0
- package/dist/cjs/theme/shared.native.js +168 -0
- package/dist/cjs/theme/shared.native.js.map +1 -0
- package/dist/cjs/theme/sizeRecipes.cjs +176 -0
- package/dist/cjs/theme/sizeRecipes.native.js +251 -0
- package/dist/cjs/theme/sizeRecipes.native.js.map +1 -0
- package/dist/cjs/theme/subsetThemes.cjs +46 -0
- package/dist/cjs/theme/subsetThemes.native.js +76 -0
- package/dist/cjs/theme/subsetThemes.native.js.map +1 -0
- package/dist/cjs/theme/theme.cjs +189 -0
- package/dist/cjs/theme/theme.native.js +115 -0
- package/dist/cjs/theme/theme.native.js.map +1 -0
- package/dist/cjs/theme/themeValue.cjs +51 -0
- package/dist/cjs/theme/themeValue.native.js +73 -0
- package/dist/cjs/theme/themeValue.native.js.map +1 -0
- package/dist/cjs/theme/tileSizes.cjs +202 -0
- package/dist/cjs/theme/tileSizes.native.js +230 -0
- package/dist/cjs/theme/tileSizes.native.js.map +1 -0
- package/dist/cjs/theme/touchManipulation.cjs +33 -0
- package/dist/cjs/theme/touchManipulation.native.js +36 -0
- package/dist/cjs/theme/touchManipulation.native.js.map +1 -0
- package/dist/cjs/theme/transitionProps.cjs +50 -0
- package/dist/cjs/theme/transitionProps.native.js +81 -0
- package/dist/cjs/theme/transitionProps.native.js.map +1 -0
- package/dist/cjs/theme/useColorScale.cjs +47 -0
- package/dist/cjs/theme/useColorScale.native.js +33 -0
- package/dist/cjs/theme/useColorScale.native.js.map +1 -0
- package/dist/cjs/theme/usePresetSwitch.cjs +70 -0
- package/dist/cjs/theme/usePresetSwitch.native.js +50 -0
- package/dist/cjs/theme/usePresetSwitch.native.js.map +1 -0
- package/dist/cjs/theme/useResolvedKnobs.cjs +140 -0
- package/dist/cjs/theme/useResolvedKnobs.native.js +177 -0
- package/dist/cjs/theme/useResolvedKnobs.native.js.map +1 -0
- package/dist/cjs/theme/useSchemePreference.cjs +49 -0
- package/dist/cjs/theme/useSchemePreference.native.js +80 -0
- package/dist/cjs/theme/useSchemePreference.native.js.map +1 -0
- package/dist/cjs/theme/useTheme.cjs +152 -0
- package/dist/cjs/theme/useTheme.native.js +94 -0
- package/dist/cjs/theme/useTheme.native.js.map +1 -0
- package/dist/cjs/theme/useTouchSurface.cjs +33 -0
- package/dist/cjs/theme/useTouchSurface.native.js +36 -0
- package/dist/cjs/theme/useTouchSurface.native.js.map +1 -0
- package/dist/cjs/theme/v3TokenRoles.cjs +64 -0
- package/dist/cjs/theme/v3TokenRoles.native.js +67 -0
- package/dist/cjs/theme/v3TokenRoles.native.js.map +1 -0
- package/dist/esm/audit/constraintAudit.mjs +540 -0
- package/dist/esm/audit/constraintAudit.mjs.map +1 -0
- package/dist/esm/audit/constraintAudit.native.js +918 -0
- package/dist/esm/audit/constraintAudit.native.js.map +1 -0
- package/dist/esm/audit/designTokens.mjs +28 -0
- package/dist/esm/audit/designTokens.mjs.map +1 -0
- package/dist/esm/audit/designTokens.native.js +52 -0
- package/dist/esm/audit/designTokens.native.js.map +1 -0
- package/dist/esm/audit/diffReport.mjs +229 -0
- package/dist/esm/audit/diffReport.mjs.map +1 -0
- package/dist/esm/audit/diffReport.native.js +490 -0
- package/dist/esm/audit/diffReport.native.js.map +1 -0
- package/dist/esm/audit/index.mjs +5 -0
- package/dist/esm/audit/index.mjs.map +1 -0
- package/dist/esm/audit/index.native.js +5 -0
- package/dist/esm/audit/index.native.js.map +1 -0
- package/dist/esm/audit/themeMatrix.mjs +890 -0
- package/dist/esm/audit/themeMatrix.mjs.map +1 -0
- package/dist/esm/audit/themeMatrix.native.js +1515 -0
- package/dist/esm/audit/themeMatrix.native.js.map +1 -0
- package/dist/esm/dates.mjs +224 -0
- package/dist/esm/dates.mjs.map +1 -0
- package/dist/esm/dates.native.js +249 -0
- package/dist/esm/dates.native.js.map +1 -0
- package/dist/esm/devWarn.mjs +123 -0
- package/dist/esm/devWarn.mjs.map +1 -0
- package/dist/esm/devWarn.native.js +148 -0
- package/dist/esm/devWarn.native.js.map +1 -0
- package/dist/esm/expo.mjs +53 -0
- package/dist/esm/expo.mjs.map +1 -0
- package/dist/esm/expo.native.js +55 -0
- package/dist/esm/expo.native.js.map +1 -0
- package/dist/esm/figma/figmaTokens.mjs +322 -0
- package/dist/esm/figma/figmaTokens.mjs.map +1 -0
- package/dist/esm/figma/figmaTokens.native.js +606 -0
- package/dist/esm/figma/figmaTokens.native.js.map +1 -0
- package/dist/esm/font.mjs +40 -0
- package/dist/esm/font.mjs.map +1 -0
- package/dist/esm/font.native.js +46 -0
- package/dist/esm/font.native.js.map +1 -0
- package/dist/esm/fonts/createFontLoader.mjs +7 -0
- package/dist/esm/fonts/createFontLoader.mjs.map +1 -0
- package/dist/esm/fonts/createFontLoader.native.js +41 -0
- package/dist/esm/fonts/createFontLoader.native.js.map +1 -0
- package/dist/esm/fonts/index.mjs +3 -0
- package/dist/esm/fonts/index.mjs.map +1 -0
- package/dist/esm/fonts/index.native.js +3 -0
- package/dist/esm/fonts/index.native.js.map +1 -0
- package/dist/esm/fonts/types.mjs +2 -0
- package/dist/esm/fonts/types.mjs.map +1 -0
- package/dist/esm/fonts/types.native.js +2 -0
- package/dist/esm/fonts/types.native.js.map +1 -0
- package/dist/esm/index.mjs +11 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/index.native.js +11 -0
- package/dist/esm/index.native.js.map +1 -0
- package/dist/esm/keyboardFocusRing.mjs +81 -0
- package/dist/esm/keyboardFocusRing.mjs.map +1 -0
- package/dist/esm/keyboardFocusRing.native.js +83 -0
- package/dist/esm/keyboardFocusRing.native.js.map +1 -0
- package/dist/esm/menuRow.mjs +49 -0
- package/dist/esm/menuRow.mjs.map +1 -0
- package/dist/esm/menuRow.native.js +52 -0
- package/dist/esm/menuRow.native.js.map +1 -0
- package/dist/esm/numbers.mjs +132 -0
- package/dist/esm/numbers.mjs.map +1 -0
- package/dist/esm/numbers.native.js +141 -0
- package/dist/esm/numbers.native.js.map +1 -0
- package/dist/esm/theme/FontKnobStyles.mjs +131 -0
- package/dist/esm/theme/FontKnobStyles.mjs.map +1 -0
- package/dist/esm/theme/FontKnobStyles.native.js +11 -0
- package/dist/esm/theme/FontKnobStyles.native.js.map +1 -0
- package/dist/esm/theme/Heading.mjs +143 -0
- package/dist/esm/theme/Heading.mjs.map +1 -0
- package/dist/esm/theme/Heading.native.js +152 -0
- package/dist/esm/theme/Heading.native.js.map +1 -0
- package/dist/esm/theme/IconSlot.mjs +42 -0
- package/dist/esm/theme/IconSlot.mjs.map +1 -0
- package/dist/esm/theme/IconSlot.native.js +50 -0
- package/dist/esm/theme/IconSlot.native.js.map +1 -0
- package/dist/esm/theme/Intent.mjs +19 -0
- package/dist/esm/theme/Intent.mjs.map +1 -0
- package/dist/esm/theme/Intent.native.js +20 -0
- package/dist/esm/theme/Intent.native.js.map +1 -0
- package/dist/esm/theme/Preset.mjs +124 -0
- package/dist/esm/theme/Preset.mjs.map +1 -0
- package/dist/esm/theme/Preset.native.js +127 -0
- package/dist/esm/theme/Preset.native.js.map +1 -0
- package/dist/esm/theme/PresetContext.mjs +11 -0
- package/dist/esm/theme/PresetContext.mjs.map +1 -0
- package/dist/esm/theme/PresetContext.native.js +12 -0
- package/dist/esm/theme/PresetContext.native.js.map +1 -0
- package/dist/esm/theme/Surface.mjs +80 -0
- package/dist/esm/theme/Surface.mjs.map +1 -0
- package/dist/esm/theme/Surface.native.js +88 -0
- package/dist/esm/theme/Surface.native.js.map +1 -0
- package/dist/esm/theme/Text.mjs +119 -0
- package/dist/esm/theme/Text.mjs.map +1 -0
- package/dist/esm/theme/Text.native.js +124 -0
- package/dist/esm/theme/Text.native.js.map +1 -0
- package/dist/esm/theme/Tint.mjs +29 -0
- package/dist/esm/theme/Tint.mjs.map +1 -0
- package/dist/esm/theme/Tint.native.js +30 -0
- package/dist/esm/theme/Tint.native.js.map +1 -0
- package/dist/esm/theme/activateThemeConfig.mjs +17 -0
- package/dist/esm/theme/activateThemeConfig.mjs.map +1 -0
- package/dist/esm/theme/activateThemeConfig.native.js +17 -0
- package/dist/esm/theme/activateThemeConfig.native.js.map +1 -0
- package/dist/esm/theme/animations/css.mjs +7 -0
- package/dist/esm/theme/animations/css.mjs.map +1 -0
- package/dist/esm/theme/animations/css.native.js +7 -0
- package/dist/esm/theme/animations/css.native.js.map +1 -0
- package/dist/esm/theme/animations/index.mjs +2 -0
- package/dist/esm/theme/animations/index.mjs.map +1 -0
- package/dist/esm/theme/animations/index.native.js +2 -0
- package/dist/esm/theme/animations/index.native.js.map +1 -0
- package/dist/esm/theme/animations/reactNative.mjs +131 -0
- package/dist/esm/theme/animations/reactNative.mjs.map +1 -0
- package/dist/esm/theme/animations/reactNative.native.js +131 -0
- package/dist/esm/theme/animations/reactNative.native.js.map +1 -0
- package/dist/esm/theme/chartPalette.mjs +191 -0
- package/dist/esm/theme/chartPalette.mjs.map +1 -0
- package/dist/esm/theme/chartPalette.native.js +256 -0
- package/dist/esm/theme/chartPalette.native.js.map +1 -0
- package/dist/esm/theme/colorRules.mjs +251 -0
- package/dist/esm/theme/colorRules.mjs.map +1 -0
- package/dist/esm/theme/colorRules.native.js +278 -0
- package/dist/esm/theme/colorRules.native.js.map +1 -0
- package/dist/esm/theme/controlTiers.mjs +39 -0
- package/dist/esm/theme/controlTiers.mjs.map +1 -0
- package/dist/esm/theme/controlTiers.native.js +41 -0
- package/dist/esm/theme/controlTiers.native.js.map +1 -0
- package/dist/esm/theme/cookies.mjs +145 -0
- package/dist/esm/theme/cookies.mjs.map +1 -0
- package/dist/esm/theme/cookies.native.js +268 -0
- package/dist/esm/theme/cookies.native.js.map +1 -0
- package/dist/esm/theme/cornerSmoothing.mjs +71 -0
- package/dist/esm/theme/cornerSmoothing.mjs.map +1 -0
- package/dist/esm/theme/cornerSmoothing.native.js +28 -0
- package/dist/esm/theme/cornerSmoothing.native.js.map +1 -0
- package/dist/esm/theme/createDefaultThemeConfig.mjs +102 -0
- package/dist/esm/theme/createDefaultThemeConfig.mjs.map +1 -0
- package/dist/esm/theme/createDefaultThemeConfig.native.js +145 -0
- package/dist/esm/theme/createDefaultThemeConfig.native.js.map +1 -0
- package/dist/esm/theme/createThemes.mjs +697 -0
- package/dist/esm/theme/createThemes.mjs.map +1 -0
- package/dist/esm/theme/createThemes.native.js +1140 -0
- package/dist/esm/theme/createThemes.native.js.map +1 -0
- package/dist/esm/theme/dedupeInherited.mjs +55 -0
- package/dist/esm/theme/dedupeInherited.mjs.map +1 -0
- package/dist/esm/theme/dedupeInherited.native.js +163 -0
- package/dist/esm/theme/dedupeInherited.native.js.map +1 -0
- package/dist/esm/theme/defaults/accent.mjs +7 -0
- package/dist/esm/theme/defaults/accent.mjs.map +1 -0
- package/dist/esm/theme/defaults/accent.native.js +7 -0
- package/dist/esm/theme/defaults/accent.native.js.map +1 -0
- package/dist/esm/theme/defaults/base.mjs +23 -0
- package/dist/esm/theme/defaults/base.mjs.map +1 -0
- package/dist/esm/theme/defaults/base.native.js +23 -0
- package/dist/esm/theme/defaults/base.native.js.map +1 -0
- package/dist/esm/theme/defaults/builderOptions.mjs +165 -0
- package/dist/esm/theme/defaults/builderOptions.mjs.map +1 -0
- package/dist/esm/theme/defaults/builderOptions.native.js +233 -0
- package/dist/esm/theme/defaults/builderOptions.native.js.map +1 -0
- package/dist/esm/theme/defaults/categoryFonts.mjs +25 -0
- package/dist/esm/theme/defaults/categoryFonts.mjs.map +1 -0
- package/dist/esm/theme/defaults/categoryFonts.native.js +25 -0
- package/dist/esm/theme/defaults/categoryFonts.native.js.map +1 -0
- package/dist/esm/theme/defaults/fonts.mjs +240 -0
- package/dist/esm/theme/defaults/fonts.mjs.map +1 -0
- package/dist/esm/theme/defaults/fonts.native.js +326 -0
- package/dist/esm/theme/defaults/fonts.native.js.map +1 -0
- package/dist/esm/theme/defaults/house.mjs +13 -0
- package/dist/esm/theme/defaults/house.mjs.map +1 -0
- package/dist/esm/theme/defaults/house.native.js +17 -0
- package/dist/esm/theme/defaults/house.native.js.map +1 -0
- package/dist/esm/theme/defaults/index.mjs +7 -0
- package/dist/esm/theme/defaults/index.mjs.map +1 -0
- package/dist/esm/theme/defaults/index.native.js +7 -0
- package/dist/esm/theme/defaults/index.native.js.map +1 -0
- package/dist/esm/theme/devtools/ColorLineVisualizer.mjs +218 -0
- package/dist/esm/theme/devtools/ColorLineVisualizer.mjs.map +1 -0
- package/dist/esm/theme/devtools/ColorLineVisualizer.native.js +230 -0
- package/dist/esm/theme/devtools/ColorLineVisualizer.native.js.map +1 -0
- package/dist/esm/theme/devtools/ThemeDevtoolsPanel.mjs +1325 -0
- package/dist/esm/theme/devtools/ThemeDevtoolsPanel.mjs.map +1 -0
- package/dist/esm/theme/devtools/ThemeDevtoolsPanel.native.js +1786 -0
- package/dist/esm/theme/devtools/ThemeDevtoolsPanel.native.js.map +1 -0
- package/dist/esm/theme/devtools/animationOptions.mjs +11 -0
- package/dist/esm/theme/devtools/animationOptions.mjs.map +1 -0
- package/dist/esm/theme/devtools/animationOptions.native.js +18 -0
- package/dist/esm/theme/devtools/animationOptions.native.js.map +1 -0
- package/dist/esm/theme/devtools/buildSnapshot.mjs +67 -0
- package/dist/esm/theme/devtools/buildSnapshot.mjs.map +1 -0
- package/dist/esm/theme/devtools/buildSnapshot.native.js +146 -0
- package/dist/esm/theme/devtools/buildSnapshot.native.js.map +1 -0
- package/dist/esm/theme/devtools/knobIcons.mjs +456 -0
- package/dist/esm/theme/devtools/knobIcons.mjs.map +1 -0
- package/dist/esm/theme/devtools/knobIcons.native.js +464 -0
- package/dist/esm/theme/devtools/knobIcons.native.js.map +1 -0
- package/dist/esm/theme/devtools/vizConstants.mjs +26 -0
- package/dist/esm/theme/devtools/vizConstants.mjs.map +1 -0
- package/dist/esm/theme/devtools/vizConstants.native.js +26 -0
- package/dist/esm/theme/devtools/vizConstants.native.js.map +1 -0
- package/dist/esm/theme/dynamicType.mjs +24 -0
- package/dist/esm/theme/dynamicType.mjs.map +1 -0
- package/dist/esm/theme/dynamicType.native.js +24 -0
- package/dist/esm/theme/dynamicType.native.js.map +1 -0
- package/dist/esm/theme/fieldFocus.mjs +27 -0
- package/dist/esm/theme/fieldFocus.mjs.map +1 -0
- package/dist/esm/theme/fieldFocus.native.js +30 -0
- package/dist/esm/theme/fieldFocus.native.js.map +1 -0
- package/dist/esm/theme/fillContrast.mjs +98 -0
- package/dist/esm/theme/fillContrast.mjs.map +1 -0
- package/dist/esm/theme/fillContrast.native.js +128 -0
- package/dist/esm/theme/fillContrast.native.js.map +1 -0
- package/dist/esm/theme/focusState.mjs +81 -0
- package/dist/esm/theme/focusState.mjs.map +1 -0
- package/dist/esm/theme/focusState.native.js +81 -0
- package/dist/esm/theme/focusState.native.js.map +1 -0
- package/dist/esm/theme/fontCategoryMetrics.mjs +65 -0
- package/dist/esm/theme/fontCategoryMetrics.mjs.map +1 -0
- package/dist/esm/theme/fontCategoryMetrics.native.js +65 -0
- package/dist/esm/theme/fontCategoryMetrics.native.js.map +1 -0
- package/dist/esm/theme/fontCategoryStacks.mjs +15 -0
- package/dist/esm/theme/fontCategoryStacks.mjs.map +1 -0
- package/dist/esm/theme/fontCategoryStacks.native.js +15 -0
- package/dist/esm/theme/fontCategoryStacks.native.js.map +1 -0
- package/dist/esm/theme/glyphPaint.mjs +29 -0
- package/dist/esm/theme/glyphPaint.mjs.map +1 -0
- package/dist/esm/theme/glyphPaint.native.js +52 -0
- package/dist/esm/theme/glyphPaint.native.js.map +1 -0
- package/dist/esm/theme/glyphTint.mjs +82 -0
- package/dist/esm/theme/glyphTint.mjs.map +1 -0
- package/dist/esm/theme/glyphTint.native.js +91 -0
- package/dist/esm/theme/glyphTint.native.js.map +1 -0
- package/dist/esm/theme/groupGeometry.mjs +38 -0
- package/dist/esm/theme/groupGeometry.mjs.map +1 -0
- package/dist/esm/theme/groupGeometry.native.js +40 -0
- package/dist/esm/theme/groupGeometry.native.js.map +1 -0
- package/dist/esm/theme/hairline.mjs +73 -0
- package/dist/esm/theme/hairline.mjs.map +1 -0
- package/dist/esm/theme/hairline.native.js +41 -0
- package/dist/esm/theme/hairline.native.js.map +1 -0
- package/dist/esm/theme/index.mjs +66 -0
- package/dist/esm/theme/index.mjs.map +1 -0
- package/dist/esm/theme/index.native.js +66 -0
- package/dist/esm/theme/index.native.js.map +1 -0
- package/dist/esm/theme/intents.mjs +37 -0
- package/dist/esm/theme/intents.mjs.map +1 -0
- package/dist/esm/theme/intents.native.js +37 -0
- package/dist/esm/theme/intents.native.js.map +1 -0
- package/dist/esm/theme/knobs.mjs +125 -0
- package/dist/esm/theme/knobs.mjs.map +1 -0
- package/dist/esm/theme/knobs.native.js +125 -0
- package/dist/esm/theme/knobs.native.js.map +1 -0
- package/dist/esm/theme/layoutTokens.mjs +124 -0
- package/dist/esm/theme/layoutTokens.mjs.map +1 -0
- package/dist/esm/theme/layoutTokens.native.js +171 -0
- package/dist/esm/theme/layoutTokens.native.js.map +1 -0
- package/dist/esm/theme/listRows.mjs +17 -0
- package/dist/esm/theme/listRows.mjs.map +1 -0
- package/dist/esm/theme/listRows.native.js +19 -0
- package/dist/esm/theme/listRows.native.js.map +1 -0
- package/dist/esm/theme/mergedTokens.mjs +14 -0
- package/dist/esm/theme/mergedTokens.mjs.map +1 -0
- package/dist/esm/theme/mergedTokens.native.js +33 -0
- package/dist/esm/theme/mergedTokens.native.js.map +1 -0
- package/dist/esm/theme/motion.mjs +41 -0
- package/dist/esm/theme/motion.mjs.map +1 -0
- package/dist/esm/theme/motion.native.js +48 -0
- package/dist/esm/theme/motion.native.js.map +1 -0
- package/dist/esm/theme/motionStops.mjs +3 -0
- package/dist/esm/theme/motionStops.mjs.map +1 -0
- package/dist/esm/theme/motionStops.native.js +3 -0
- package/dist/esm/theme/motionStops.native.js.map +1 -0
- package/dist/esm/theme/motionTiming.mjs +48 -0
- package/dist/esm/theme/motionTiming.mjs.map +1 -0
- package/dist/esm/theme/motionTiming.native.js +51 -0
- package/dist/esm/theme/motionTiming.native.js.map +1 -0
- package/dist/esm/theme/nativeFontFamily.mjs +5 -0
- package/dist/esm/theme/nativeFontFamily.mjs.map +1 -0
- package/dist/esm/theme/nativeFontFamily.native.js +9 -0
- package/dist/esm/theme/nativeFontFamily.native.js.map +1 -0
- package/dist/esm/theme/nativeMonoFamily.mjs +18 -0
- package/dist/esm/theme/nativeMonoFamily.mjs.map +1 -0
- package/dist/esm/theme/nativeMonoFamily.native.js +18 -0
- package/dist/esm/theme/nativeMonoFamily.native.js.map +1 -0
- package/dist/esm/theme/overlaySurfaces.mjs +290 -0
- package/dist/esm/theme/overlaySurfaces.mjs.map +1 -0
- package/dist/esm/theme/overlaySurfaces.native.js +311 -0
- package/dist/esm/theme/overlaySurfaces.native.js.map +1 -0
- package/dist/esm/theme/pageGutter.mjs +55 -0
- package/dist/esm/theme/pageGutter.mjs.map +1 -0
- package/dist/esm/theme/pageGutter.native.js +59 -0
- package/dist/esm/theme/pageGutter.native.js.map +1 -0
- package/dist/esm/theme/preset.types.mjs +2 -0
- package/dist/esm/theme/preset.types.mjs.map +1 -0
- package/dist/esm/theme/preset.types.native.js +2 -0
- package/dist/esm/theme/preset.types.native.js.map +1 -0
- package/dist/esm/theme/presetPreview.mjs +17 -0
- package/dist/esm/theme/presetPreview.mjs.map +1 -0
- package/dist/esm/theme/presetPreview.native.js +18 -0
- package/dist/esm/theme/presetPreview.native.js.map +1 -0
- package/dist/esm/theme/presetStore.mjs +251 -0
- package/dist/esm/theme/presetStore.mjs.map +1 -0
- package/dist/esm/theme/presetStore.native.js +304 -0
- package/dist/esm/theme/presetStore.native.js.map +1 -0
- package/dist/esm/theme/presetUserSync.mjs +44 -0
- package/dist/esm/theme/presetUserSync.mjs.map +1 -0
- package/dist/esm/theme/presetUserSync.native.js +46 -0
- package/dist/esm/theme/presetUserSync.native.js.map +1 -0
- package/dist/esm/theme/presets.mjs +97 -0
- package/dist/esm/theme/presets.mjs.map +1 -0
- package/dist/esm/theme/presets.native.js +97 -0
- package/dist/esm/theme/presets.native.js.map +1 -0
- package/dist/esm/theme/radiusClass.mjs +99 -0
- package/dist/esm/theme/radiusClass.mjs.map +1 -0
- package/dist/esm/theme/radiusClass.native.js +105 -0
- package/dist/esm/theme/radiusClass.native.js.map +1 -0
- package/dist/esm/theme/radiusClassTable.generated.mjs +135 -0
- package/dist/esm/theme/radiusClassTable.generated.mjs.map +1 -0
- package/dist/esm/theme/radiusClassTable.generated.native.js +135 -0
- package/dist/esm/theme/radiusClassTable.generated.native.js.map +1 -0
- package/dist/esm/theme/ramps.mjs +48 -0
- package/dist/esm/theme/ramps.mjs.map +1 -0
- package/dist/esm/theme/ramps.native.js +49 -0
- package/dist/esm/theme/ramps.native.js.map +1 -0
- package/dist/esm/theme/readableColor.mjs +214 -0
- package/dist/esm/theme/readableColor.mjs.map +1 -0
- package/dist/esm/theme/readableColor.native.js +317 -0
- package/dist/esm/theme/readableColor.native.js.map +1 -0
- package/dist/esm/theme/recipeInputs.mjs +309 -0
- package/dist/esm/theme/recipeInputs.mjs.map +1 -0
- package/dist/esm/theme/recipeInputs.native.js +424 -0
- package/dist/esm/theme/recipeInputs.native.js.map +1 -0
- package/dist/esm/theme/recipes.mjs +2 -0
- package/dist/esm/theme/recipes.mjs.map +1 -0
- package/dist/esm/theme/recipes.native.js +2 -0
- package/dist/esm/theme/recipes.native.js.map +1 -0
- package/dist/esm/theme/resolveKnobs.mjs +730 -0
- package/dist/esm/theme/resolveKnobs.mjs.map +1 -0
- package/dist/esm/theme/resolveKnobs.native.js +744 -0
- package/dist/esm/theme/resolveKnobs.native.js.map +1 -0
- package/dist/esm/theme/scale/ScaleStyles.mjs +30 -0
- package/dist/esm/theme/scale/ScaleStyles.mjs.map +1 -0
- package/dist/esm/theme/scale/ScaleStyles.native.js +11 -0
- package/dist/esm/theme/scale/ScaleStyles.native.js.map +1 -0
- package/dist/esm/theme/scale/activeScale.mjs +28 -0
- package/dist/esm/theme/scale/activeScale.mjs.map +1 -0
- package/dist/esm/theme/scale/activeScale.native.js +53 -0
- package/dist/esm/theme/scale/activeScale.native.js.map +1 -0
- package/dist/esm/theme/scale/deriveRecipeInputs.mjs +86 -0
- package/dist/esm/theme/scale/deriveRecipeInputs.mjs.map +1 -0
- package/dist/esm/theme/scale/deriveRecipeInputs.native.js +126 -0
- package/dist/esm/theme/scale/deriveRecipeInputs.native.js.map +1 -0
- package/dist/esm/theme/scale/generateScale.mjs +85 -0
- package/dist/esm/theme/scale/generateScale.mjs.map +1 -0
- package/dist/esm/theme/scale/generateScale.native.js +168 -0
- package/dist/esm/theme/scale/generateScale.native.js.map +1 -0
- package/dist/esm/theme/scale/index.mjs +12 -0
- package/dist/esm/theme/scale/index.mjs.map +1 -0
- package/dist/esm/theme/scale/index.native.js +12 -0
- package/dist/esm/theme/scale/index.native.js.map +1 -0
- package/dist/esm/theme/scale/installScaleConfig.mjs +6 -0
- package/dist/esm/theme/scale/installScaleConfig.mjs.map +1 -0
- package/dist/esm/theme/scale/installScaleConfig.native.js +36 -0
- package/dist/esm/theme/scale/installScaleConfig.native.js.map +1 -0
- package/dist/esm/theme/scale/scaleAttribute.mjs +11 -0
- package/dist/esm/theme/scale/scaleAttribute.mjs.map +1 -0
- package/dist/esm/theme/scale/scaleAttribute.native.js +11 -0
- package/dist/esm/theme/scale/scaleAttribute.native.js.map +1 -0
- package/dist/esm/theme/scale/scaleCss.mjs +62 -0
- package/dist/esm/theme/scale/scaleCss.mjs.map +1 -0
- package/dist/esm/theme/scale/scaleCss.native.js +171 -0
- package/dist/esm/theme/scale/scaleCss.native.js.map +1 -0
- package/dist/esm/theme/scale/scaleFonts.mjs +60 -0
- package/dist/esm/theme/scale/scaleFonts.mjs.map +1 -0
- package/dist/esm/theme/scale/scaleFonts.native.js +126 -0
- package/dist/esm/theme/scale/scaleFonts.native.js.map +1 -0
- package/dist/esm/theme/scale/scaleInputs.mjs +189 -0
- package/dist/esm/theme/scale/scaleInputs.mjs.map +1 -0
- package/dist/esm/theme/scale/scaleInputs.native.js +191 -0
- package/dist/esm/theme/scale/scaleInputs.native.js.map +1 -0
- package/dist/esm/theme/scale/themeScales.mjs +109 -0
- package/dist/esm/theme/scale/themeScales.mjs.map +1 -0
- package/dist/esm/theme/scale/themeScales.native.js +155 -0
- package/dist/esm/theme/scale/themeScales.native.js.map +1 -0
- package/dist/esm/theme/scale/useActiveScale.mjs +51 -0
- package/dist/esm/theme/scale/useActiveScale.mjs.map +1 -0
- package/dist/esm/theme/scale/useActiveScale.native.js +57 -0
- package/dist/esm/theme/scale/useActiveScale.native.js.map +1 -0
- package/dist/esm/theme/schemeStore.mjs +59 -0
- package/dist/esm/theme/schemeStore.mjs.map +1 -0
- package/dist/esm/theme/schemeStore.native.js +73 -0
- package/dist/esm/theme/schemeStore.native.js.map +1 -0
- package/dist/esm/theme/shared.mjs +95 -0
- package/dist/esm/theme/shared.mjs.map +1 -0
- package/dist/esm/theme/shared.native.js +135 -0
- package/dist/esm/theme/shared.native.js.map +1 -0
- package/dist/esm/theme/sizeRecipes.mjs +112 -0
- package/dist/esm/theme/sizeRecipes.mjs.map +1 -0
- package/dist/esm/theme/sizeRecipes.native.js +184 -0
- package/dist/esm/theme/sizeRecipes.native.js.map +1 -0
- package/dist/esm/theme/subsetThemes.mjs +21 -0
- package/dist/esm/theme/subsetThemes.mjs.map +1 -0
- package/dist/esm/theme/subsetThemes.native.js +48 -0
- package/dist/esm/theme/subsetThemes.native.js.map +1 -0
- package/dist/esm/theme/theme.mjs +163 -0
- package/dist/esm/theme/theme.mjs.map +1 -0
- package/dist/esm/theme/theme.native.js +87 -0
- package/dist/esm/theme/theme.native.js.map +1 -0
- package/dist/esm/theme/themeValue.mjs +25 -0
- package/dist/esm/theme/themeValue.mjs.map +1 -0
- package/dist/esm/theme/themeValue.native.js +44 -0
- package/dist/esm/theme/themeValue.native.js.map +1 -0
- package/dist/esm/theme/tileSizes.mjs +167 -0
- package/dist/esm/theme/tileSizes.mjs.map +1 -0
- package/dist/esm/theme/tileSizes.native.js +192 -0
- package/dist/esm/theme/tileSizes.native.js.map +1 -0
- package/dist/esm/theme/touchManipulation.mjs +7 -0
- package/dist/esm/theme/touchManipulation.mjs.map +1 -0
- package/dist/esm/theme/touchManipulation.native.js +7 -0
- package/dist/esm/theme/touchManipulation.native.js.map +1 -0
- package/dist/esm/theme/transitionProps.mjs +25 -0
- package/dist/esm/theme/transitionProps.mjs.map +1 -0
- package/dist/esm/theme/transitionProps.native.js +53 -0
- package/dist/esm/theme/transitionProps.native.js.map +1 -0
- package/dist/esm/theme/useColorScale.mjs +22 -0
- package/dist/esm/theme/useColorScale.mjs.map +1 -0
- package/dist/esm/theme/useColorScale.native.js +5 -0
- package/dist/esm/theme/useColorScale.native.js.map +1 -0
- package/dist/esm/theme/usePresetSwitch.mjs +45 -0
- package/dist/esm/theme/usePresetSwitch.mjs.map +1 -0
- package/dist/esm/theme/usePresetSwitch.native.js +22 -0
- package/dist/esm/theme/usePresetSwitch.native.js.map +1 -0
- package/dist/esm/theme/useResolvedKnobs.mjs +111 -0
- package/dist/esm/theme/useResolvedKnobs.mjs.map +1 -0
- package/dist/esm/theme/useResolvedKnobs.native.js +145 -0
- package/dist/esm/theme/useResolvedKnobs.native.js.map +1 -0
- package/dist/esm/theme/useSchemePreference.mjs +24 -0
- package/dist/esm/theme/useSchemePreference.mjs.map +1 -0
- package/dist/esm/theme/useSchemePreference.native.js +52 -0
- package/dist/esm/theme/useSchemePreference.native.js.map +1 -0
- package/dist/esm/theme/useTheme.mjs +127 -0
- package/dist/esm/theme/useTheme.mjs.map +1 -0
- package/dist/esm/theme/useTheme.native.js +66 -0
- package/dist/esm/theme/useTheme.native.js.map +1 -0
- package/dist/esm/theme/useTouchSurface.mjs +8 -0
- package/dist/esm/theme/useTouchSurface.mjs.map +1 -0
- package/dist/esm/theme/useTouchSurface.native.js +8 -0
- package/dist/esm/theme/useTouchSurface.native.js.map +1 -0
- package/dist/esm/theme/v3TokenRoles.mjs +39 -0
- package/dist/esm/theme/v3TokenRoles.mjs.map +1 -0
- package/dist/esm/theme/v3TokenRoles.native.js +39 -0
- package/dist/esm/theme/v3TokenRoles.native.js.map +1 -0
- package/package.json +56 -12
- package/src/theme/scale/activeScale.spec.ts +33 -0
- package/src/theme/scale/activeScale.ts +19 -0
- package/src/theme/scale/index.ts +6 -1
- package/src/theme/subsetThemes.spec.ts +81 -0
- package/src/theme/subsetThemes.ts +13 -1
- package/types/theme/scale/activeScale.d.ts +8 -0
- package/types/theme/scale/activeScale.d.ts.map +1 -1
- package/types/theme/scale/index.d.ts +1 -1
- package/types/theme/scale/index.d.ts.map +1 -1
- package/types/theme/subsetThemes.d.ts +10 -1
- package/types/theme/subsetThemes.d.ts.map +1 -1
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
}), mod);
|
|
23
|
+
var motionTiming_exports = {};
|
|
24
|
+
__export(motionTiming_exports, {
|
|
25
|
+
animationConfig: () => animationConfig,
|
|
26
|
+
animationDurations: () => animationDurations,
|
|
27
|
+
animationNames: () => animationNames,
|
|
28
|
+
motionDurationMs: () => motionDurationMs,
|
|
29
|
+
motionHideDelayMs: () => motionHideDelayMs,
|
|
30
|
+
motionSeconds: () => motionSeconds,
|
|
31
|
+
motionSettleMs: () => motionSettleMs
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(motionTiming_exports);
|
|
34
|
+
const animationConfig = {
|
|
35
|
+
"0ms": "0ms linear",
|
|
36
|
+
"50ms": "50ms linear",
|
|
37
|
+
"75ms": "75ms linear",
|
|
38
|
+
"100ms": "100ms ease-out",
|
|
39
|
+
"200ms": "200ms ease-out",
|
|
40
|
+
"250ms": "250ms ease-out",
|
|
41
|
+
"300ms": "300ms ease-out",
|
|
42
|
+
"400ms": "400ms ease-out",
|
|
43
|
+
"500ms": "500ms ease-out",
|
|
44
|
+
superBouncy: "300ms cubic-bezier(0.175, 0.885, 0.32, 1.5)",
|
|
45
|
+
bouncy: "350ms cubic-bezier(0.175, 0.885, 0.32, 1.275)",
|
|
46
|
+
superLazy: "600ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
47
|
+
lazy: "500ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
48
|
+
medium: "300ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
49
|
+
slowest: "800ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
50
|
+
slow: "450ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
51
|
+
quick: "150ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
52
|
+
quickLessBouncy: "180ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
53
|
+
quicker: "120ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
54
|
+
quickerLessBouncy: "100ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
55
|
+
quickest: "80ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
56
|
+
quickestLessBouncy: "60ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
57
|
+
tooltip: "450ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
58
|
+
snappy: "80ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
59
|
+
gentle: "450ms cubic-bezier(0.25, 0.1, 0.25, 1)"
|
|
60
|
+
};
|
|
61
|
+
const animationNames = Object.keys(animationConfig);
|
|
62
|
+
function parseDurationMs(timing) {
|
|
63
|
+
const match = timing.match(/(\d+)\s*ms/);
|
|
64
|
+
return match ? Number.parseInt(match[1], 10) : 200;
|
|
65
|
+
}
|
|
66
|
+
const animationDurations = Object.fromEntries(Object.entries(animationConfig).map(([k, v]) => [k, parseDurationMs(v)]));
|
|
67
|
+
function motionDurationMs(transition) {
|
|
68
|
+
if (transition === void 0) return 0;
|
|
69
|
+
return typeof transition === "string" && Object.hasOwn(animationDurations, transition) ? animationDurations[transition] : 300;
|
|
70
|
+
}
|
|
71
|
+
function motionSeconds(transition) {
|
|
72
|
+
return motionDurationMs(transition) / 1e3;
|
|
73
|
+
}
|
|
74
|
+
function motionSettleMs(transition) {
|
|
75
|
+
return transition === void 0 ? 0 : Math.max(300, 3 * motionDurationMs(transition)) + 80;
|
|
76
|
+
}
|
|
77
|
+
function motionHideDelayMs(transition) {
|
|
78
|
+
return motionDurationMs(transition) + 50;
|
|
79
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var motionTiming_exports = {};
|
|
26
|
+
__export(motionTiming_exports, {
|
|
27
|
+
animationConfig: () => animationConfig,
|
|
28
|
+
animationDurations: () => animationDurations,
|
|
29
|
+
animationNames: () => animationNames,
|
|
30
|
+
motionDurationMs: () => motionDurationMs,
|
|
31
|
+
motionHideDelayMs: () => motionHideDelayMs,
|
|
32
|
+
motionSeconds: () => motionSeconds,
|
|
33
|
+
motionSettleMs: () => motionSettleMs
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(motionTiming_exports);
|
|
36
|
+
var animationConfig = {
|
|
37
|
+
"0ms": "0ms linear",
|
|
38
|
+
"50ms": "50ms linear",
|
|
39
|
+
"75ms": "75ms linear",
|
|
40
|
+
"100ms": "100ms ease-out",
|
|
41
|
+
"200ms": "200ms ease-out",
|
|
42
|
+
"250ms": "250ms ease-out",
|
|
43
|
+
"300ms": "300ms ease-out",
|
|
44
|
+
"400ms": "400ms ease-out",
|
|
45
|
+
"500ms": "500ms ease-out",
|
|
46
|
+
superBouncy: "300ms cubic-bezier(0.175, 0.885, 0.32, 1.5)",
|
|
47
|
+
bouncy: "350ms cubic-bezier(0.175, 0.885, 0.32, 1.275)",
|
|
48
|
+
superLazy: "600ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
49
|
+
lazy: "500ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
50
|
+
medium: "300ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
51
|
+
slowest: "800ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
52
|
+
slow: "450ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
53
|
+
quick: "150ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
54
|
+
quickLessBouncy: "180ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
55
|
+
quicker: "120ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
56
|
+
quickerLessBouncy: "100ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
57
|
+
quickest: "80ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
58
|
+
quickestLessBouncy: "60ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
59
|
+
tooltip: "450ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
60
|
+
snappy: "80ms cubic-bezier(0.25, 0.1, 0.25, 1)",
|
|
61
|
+
gentle: "450ms cubic-bezier(0.25, 0.1, 0.25, 1)"
|
|
62
|
+
};
|
|
63
|
+
var animationNames = Object.keys(animationConfig);
|
|
64
|
+
function parseDurationMs(timing) {
|
|
65
|
+
var match = timing.match(/(\d+)\s*ms/);
|
|
66
|
+
return match ? Number.parseInt(match[1], 10) : 200;
|
|
67
|
+
}
|
|
68
|
+
var animationDurations = Object.fromEntries(Object.entries(animationConfig).map(function (param) {
|
|
69
|
+
var [k, v] = param;
|
|
70
|
+
return [k, parseDurationMs(v)];
|
|
71
|
+
}));
|
|
72
|
+
function motionDurationMs(transition) {
|
|
73
|
+
if (transition === void 0) return 0;
|
|
74
|
+
return typeof transition === "string" && Object.hasOwn(animationDurations, transition) ? animationDurations[transition] : 300;
|
|
75
|
+
}
|
|
76
|
+
function motionSeconds(transition) {
|
|
77
|
+
return motionDurationMs(transition) / 1e3;
|
|
78
|
+
}
|
|
79
|
+
function motionSettleMs(transition) {
|
|
80
|
+
return transition === void 0 ? 0 : Math.max(300, 3 * motionDurationMs(transition)) + 80;
|
|
81
|
+
}
|
|
82
|
+
function motionHideDelayMs(transition) {
|
|
83
|
+
return motionDurationMs(transition) + 50;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=motionTiming.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","motionTiming_exports","__export","animationConfig","animationDurations","animationNames","motionDurationMs","motionHideDelayMs","motionSeconds","motionSettleMs","module","exports","superBouncy","bouncy","superLazy","lazy","medium","slowest","slow","quick","quickLessBouncy","quicker","quickerLessBouncy","quickest","quickestLessBouncy","tooltip","snappy","gentle","Object","keys","parseDurationMs","timing","match","Number","parseInt","fromEntries","entries","map","param","k","v","transition","hasOwn"],"sources":["../../../src/theme/motionTiming.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,eAAA,EAAAA,CAAA,KAAAA,eAAA;EAAAC,kBAAA,EAAAA,CAAA,KAAAA,kBAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAA,cAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAA,gBAAA;EAAAC,iBAAA,EAAAA,CAAA,KAAAA,iBAAA;EAAAC,aAAA,EAAAA,CAAA,KAAAA,aAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAA;AAAA;AAEOC,MAAM,CAAAC,OAAA,GAAAf,YAAkB,CAAAK,oBAAA;AAAA,IAC7BE,eAAO;EACP,mBAAQ;EACR,QAAQ;EACR,qBAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,yBAAa;EACbS,WAAQ;EACRC,MAAA,iDAAW;EACXC,SAAM;EACNC,IAAA,0CAAQ;EACRC,MAAA,0CAAS;EACTC,OAAM;EACNC,IAAA,0CAAO;EACPC,KAAA,0CAAiB;EACjBC,eAAS;EACTC,OAAA,0CAAmB;EACnBC,iBAAU;EACVC,QAAA,yCAAoB;EACpBC,kBAAS;EACTC,OAAA,EAAQ;EACRC,MAAA,EAAQ;EACVC,MAAA;AAEO;AAEP,IAAAtB,cAAS,GAAAuB,MAAgB,CAAAC,IAAA,CAAwB1B,eAAA;AAC/C,SAAM2B,eAAeA,CAAAC,MAAM;EAC3B,IAAAC,KAAO,GAAAD,MAAQ,CAAAC,KAAO,aAAe,CAAC;EACxC,OAAAA,KAAA,GAAAC,MAAA,CAAAC,QAAA,CAAAF,KAAA;AAEO;AAAiE,IACtE5B,kBAAe,GAAAwB,MAAA,CAAeO,WAAW,CAACP,MAAM,CAACQ,OAAG,CAAAjC,eAAmB,EAAAkC,GAAA,WAAAC,KAAA;EACzE,KAAAC,CAAA,EAAAC,CAAA,IAAAF,KAAA;EAEO,OAAS,CACdC,CAAA,EACAT,eAAc,CAAAU,CAAA,EAGhB;AAEO;AACL,SAAOlC,iBAAiBmC,UAAU;EACpC,IAAAA,UAAA;EAEO,OAAS,OAAAA,UAAe,aAAgD,IAAAb,MAAA,CAAAc,MAAA,CAAAtC,kBAAA,EAAAqC,UAAA,IAAArC,kBAAA,CAAAqC,UAAA;AAC7E;AACF,SAAAjC,cAAAiC,UAAA;EAEO,OAASnC,gBAAA,CAAAmC,UAAkB,IAAgD;AAChF;AACF,SAAAhC,eAAAgC,UAAA","ignoreList":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
}), mod);
|
|
23
|
+
var nativeFontFamily_exports = {};
|
|
24
|
+
__export(nativeFontFamily_exports, {
|
|
25
|
+
nativeCategoryFamily: () => nativeCategoryFamily
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(nativeFontFamily_exports);
|
|
28
|
+
function nativeCategoryFamily(_category, family) {
|
|
29
|
+
return family;
|
|
30
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var nativeFontFamily_native_exports = {};
|
|
26
|
+
__export(nativeFontFamily_native_exports, {
|
|
27
|
+
nativeCategoryFamily: () => nativeCategoryFamily
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(nativeFontFamily_native_exports);
|
|
30
|
+
var import_react_native = require("react-native");
|
|
31
|
+
var import_nativeMonoFamily = require("./nativeMonoFamily.native.js");
|
|
32
|
+
function nativeCategoryFamily(category, family) {
|
|
33
|
+
if (category !== "mono") return family;
|
|
34
|
+
if (import_react_native.Platform.OS !== "ios" && import_react_native.Platform.OS !== "android") return family;
|
|
35
|
+
return (0, import_nativeMonoFamily.resolveNativeMonoFamily)(family, import_react_native.Platform.OS);
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=nativeFontFamily.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["nativeFontFamily_native_exports","__export","nativeCategoryFamily","module","exports","__toCommonJS","import_react_native","require","import_nativeMonoFamily","category","family","Platform","OS","resolveNativeMonoFamily"],"sources":["../../../src/theme/nativeFontFamily.native.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,+BAAA;AAAAC,QAAA,CAAAD,+BAAA;EAAAE,oBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,+BAAA;AAAA,IAAAM,mBAAA,GAAyBC,OAAA;AACzB,IAAAC,uBAAA,GAAwCD,OAAA;AAK7B,SAASL,qBAAqBO,QAAA,EAAUC,MAAA,EAAQ;EACvD,IAAID,QAAA,KAAa,QAAQ,OAAOC,MAAA;EAChC,IAAIJ,mBAAA,CAAAK,QAAA,CAASC,EAAA,KAAO,SAASN,mBAAA,CAAAK,QAAA,CAASC,EAAA,KAAO,WAAW,OAAOF,MAAA;EAC/D,WAAOF,uBAAA,CAAAK,uBAAA,EAAwBH,MAAA,EAAQJ,mBAAA,CAAAK,QAAA,CAASC,EAAE;AACtD","ignoreList":[]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
}), mod);
|
|
23
|
+
var nativeMonoFamily_exports = {};
|
|
24
|
+
__export(nativeMonoFamily_exports, {
|
|
25
|
+
platformMonoFamily: () => platformMonoFamily,
|
|
26
|
+
resolveNativeMonoFamily: () => resolveNativeMonoFamily
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(nativeMonoFamily_exports);
|
|
29
|
+
const platformMonoFamily = {
|
|
30
|
+
ios: "Menlo",
|
|
31
|
+
android: "monospace"
|
|
32
|
+
};
|
|
33
|
+
const shippedMono = {
|
|
34
|
+
ios: /* @__PURE__ */new Set(["Menlo", "Courier", "Courier New"]),
|
|
35
|
+
android: /* @__PURE__ */new Set(["monospace"])
|
|
36
|
+
};
|
|
37
|
+
const systemMono = /* @__PURE__ */new Set(["ui-monospace", "monospace", "SFMono-Regular", "SF Mono", "Menlo", "Monaco", "Consolas", "Courier", "Courier New", "Liberation Mono", "DejaVu Sans Mono", "Cascadia Code", "Cascadia Mono"]);
|
|
38
|
+
function resolveNativeMonoFamily(family, os) {
|
|
39
|
+
if (family.includes(",")) return platformMonoFamily[os];
|
|
40
|
+
const name = family.trim().replace(/^(['"])(.*)\1$/, "$2");
|
|
41
|
+
if (shippedMono[os].has(name)) return name;
|
|
42
|
+
if (systemMono.has(name)) return platformMonoFamily[os];
|
|
43
|
+
return name;
|
|
44
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var nativeMonoFamily_exports = {};
|
|
26
|
+
__export(nativeMonoFamily_exports, {
|
|
27
|
+
platformMonoFamily: () => platformMonoFamily,
|
|
28
|
+
resolveNativeMonoFamily: () => resolveNativeMonoFamily
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(nativeMonoFamily_exports);
|
|
31
|
+
var platformMonoFamily = {
|
|
32
|
+
ios: "Menlo",
|
|
33
|
+
android: "monospace"
|
|
34
|
+
};
|
|
35
|
+
var shippedMono = {
|
|
36
|
+
ios: /* @__PURE__ */new Set(["Menlo", "Courier", "Courier New"]),
|
|
37
|
+
android: /* @__PURE__ */new Set(["monospace"])
|
|
38
|
+
};
|
|
39
|
+
var systemMono = /* @__PURE__ */new Set(["ui-monospace", "monospace", "SFMono-Regular", "SF Mono", "Menlo", "Monaco", "Consolas", "Courier", "Courier New", "Liberation Mono", "DejaVu Sans Mono", "Cascadia Code", "Cascadia Mono"]);
|
|
40
|
+
function resolveNativeMonoFamily(family, os) {
|
|
41
|
+
if (family.includes(",")) return platformMonoFamily[os];
|
|
42
|
+
var name = family.trim().replace(/^(['"])(.*)\1$/, "$2");
|
|
43
|
+
if (shippedMono[os].has(name)) return name;
|
|
44
|
+
if (systemMono.has(name)) return platformMonoFamily[os];
|
|
45
|
+
return name;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=nativeMonoFamily.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","nativeMonoFamily_exports","__export","platformMonoFamily","resolveNativeMonoFamily","module","exports","ios","android","shippedMono","Set","systemMono"],"sources":["../../../src/theme/nativeMonoFamily.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,wBAAA;AAAAC,QAAA,CAAAD,wBAAA;EAAAE,kBAAA,EAAAA,CAAA,KAAAA,kBAAA;EAAAC,uBAAA,EAAAA,CAAA,KAAAA;AAAA;AAaOC,MAAM,CAAAC,OAAA,GAAAV,YAA+C,CAAAK,wBAAA;AAAA,IAC1DE,kBAAK;EACLI,GAAA,SAAS;EACXC,OAAA;AAEA;AAA2D,IACzDC,WAAK;EACLF,GAAA,iBAAS,IAAAG,GAAA,CAAI,CACf,SAEA,SAAM,EACJ,cACA;EACAF,OAAA,qBAAAE,GAAA,EACA,YACA;AAAA;AACA,IACAC,UAAA,sBAAAD,GAAA,EACA,gBACA,aACA,kBACA,WACA,SACA,UACD,YAEM,SAAS,EACd,aAAW,EACX,iBAAa,EACb,kBAAkB,EAClB,eAAe,EACf,eAAO,CACT","ignoreList":[]}
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
}), mod);
|
|
23
|
+
var overlaySurfaces_exports = {};
|
|
24
|
+
__export(overlaySurfaces_exports, {
|
|
25
|
+
AlertDialogContent: () => AlertDialogContent,
|
|
26
|
+
AlertDialogOverlay: () => AlertDialogOverlay,
|
|
27
|
+
DialogContent: () => DialogContent,
|
|
28
|
+
DialogOverlay: () => DialogOverlay,
|
|
29
|
+
DialogRegionContext: () => DialogRegionContext,
|
|
30
|
+
DialogShowFocus: () => DialogShowFocus,
|
|
31
|
+
PopoverContent: () => PopoverContent,
|
|
32
|
+
overlayScrim: () => overlayScrim,
|
|
33
|
+
sheetGrabber: () => sheetGrabber,
|
|
34
|
+
sheetGrabberClearance: () => sheetGrabberClearance,
|
|
35
|
+
sheetGrabberZone: () => sheetGrabberZone,
|
|
36
|
+
useDialogRegionContext: () => useDialogRegionContext,
|
|
37
|
+
useIsInDialogRegion: () => useIsInDialogRegion
|
|
38
|
+
});
|
|
39
|
+
module.exports = __toCommonJS(overlaySurfaces_exports);
|
|
40
|
+
var import_keyboardFocusRing = require("../keyboardFocusRing.cjs");
|
|
41
|
+
var import_transitionProps = require("./transitionProps.cjs");
|
|
42
|
+
var import_Surface = require("./Surface.cjs");
|
|
43
|
+
var import_useResolvedKnobs = require("./useResolvedKnobs.cjs");
|
|
44
|
+
var import_resolveKnobs = require("./resolveKnobs.cjs");
|
|
45
|
+
var import_react = require("react");
|
|
46
|
+
var import_tamagui = require("tamagui");
|
|
47
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
48
|
+
const overlayScrim = "$shadow4";
|
|
49
|
+
const sheetGrabber = {
|
|
50
|
+
width: 36,
|
|
51
|
+
height: 5,
|
|
52
|
+
borderRadius: 100,
|
|
53
|
+
backgroundColor: "$color8",
|
|
54
|
+
opacity: 0.45,
|
|
55
|
+
alignSelf: "center",
|
|
56
|
+
marginHorizontal: 0,
|
|
57
|
+
marginTop: 5,
|
|
58
|
+
marginBottom: -10,
|
|
59
|
+
zIndex: 10
|
|
60
|
+
};
|
|
61
|
+
const sheetGrabberClearance = 16;
|
|
62
|
+
const sheetGrabberZone = {
|
|
63
|
+
alignSelf: "stretch",
|
|
64
|
+
alignItems: "center",
|
|
65
|
+
height: 21
|
|
66
|
+
};
|
|
67
|
+
const overlayFrameFocus = {
|
|
68
|
+
outlineWidth: 0,
|
|
69
|
+
outlineStyle: "none"
|
|
70
|
+
};
|
|
71
|
+
const overlayFrameFocusStyle = {
|
|
72
|
+
outlineWidth: 0,
|
|
73
|
+
outlineStyle: "none"
|
|
74
|
+
};
|
|
75
|
+
function isTabbableWithin(node, container) {
|
|
76
|
+
if (node.tabIndex < 0 || node.hidden || node.tagName === "A") return false;
|
|
77
|
+
if (node.disabled) return false;
|
|
78
|
+
if (typeof HTMLInputElement !== "undefined" && node instanceof HTMLInputElement && node.type === "hidden") {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
if (getComputedStyle(node).visibility === "hidden") return false;
|
|
82
|
+
for (let el = node; el && el !== container; el = el.parentElement) {
|
|
83
|
+
if (getComputedStyle(el).display === "none") return false;
|
|
84
|
+
}
|
|
85
|
+
return true;
|
|
86
|
+
}
|
|
87
|
+
function focusFirstTabbableOnOpen(event) {
|
|
88
|
+
const container = event.currentTarget;
|
|
89
|
+
if (typeof HTMLElement === "undefined" || !(container instanceof HTMLElement)) return;
|
|
90
|
+
const first = Array.from(container.querySelectorAll("*")).find(node => isTabbableWithin(node, container));
|
|
91
|
+
if (!first) return;
|
|
92
|
+
event.preventDefault();
|
|
93
|
+
const focused = (0, import_keyboardFocusRing.focusOnOpen)(first, container);
|
|
94
|
+
if (typeof HTMLInputElement !== "undefined" && focused instanceof HTMLInputElement) {
|
|
95
|
+
focused.select();
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
function withHouseOpenFocus(onOpenAutoFocus) {
|
|
99
|
+
return event => {
|
|
100
|
+
onOpenAutoFocus?.(event);
|
|
101
|
+
if (!event.defaultPrevented) focusFirstTabbableOnOpen(event);
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
const DIALOG_SHOW_FOCUS_EVENT = "mp.dialogShowFocus";
|
|
105
|
+
function useDialogShowFocus(onOpenAutoFocus) {
|
|
106
|
+
const {
|
|
107
|
+
open,
|
|
108
|
+
contentId
|
|
109
|
+
} = (0, import_tamagui.useDialogContext)();
|
|
110
|
+
(0, import_react.useEffect)(() => {
|
|
111
|
+
if (!open || !contentId || !import_tamagui.isWeb || typeof document === "undefined") return;
|
|
112
|
+
const content = document.getElementById(contentId);
|
|
113
|
+
const focused = document.activeElement;
|
|
114
|
+
if (!content || typeof HTMLElement === "undefined" || !(focused instanceof HTMLElement)) return;
|
|
115
|
+
if (!content.contains(focused) || focused.tabIndex >= 0 && (0, import_keyboardFocusRing.wasKeyboardFocus)()) return;
|
|
116
|
+
content.addEventListener(DIALOG_SHOW_FOCUS_EVENT, onOpenAutoFocus, {
|
|
117
|
+
once: true
|
|
118
|
+
});
|
|
119
|
+
content.dispatchEvent(new CustomEvent(DIALOG_SHOW_FOCUS_EVENT, {
|
|
120
|
+
cancelable: true
|
|
121
|
+
}));
|
|
122
|
+
}, [open, contentId]);
|
|
123
|
+
}
|
|
124
|
+
function DialogShowFocus({
|
|
125
|
+
onOpenAutoFocus
|
|
126
|
+
}) {
|
|
127
|
+
useDialogShowFocus(withHouseOpenFocus(onOpenAutoFocus));
|
|
128
|
+
return null;
|
|
129
|
+
}
|
|
130
|
+
const DialogRegionContext = (0, import_react.createContext)({
|
|
131
|
+
inDialogRegion: false
|
|
132
|
+
});
|
|
133
|
+
function useDialogRegionContext() {
|
|
134
|
+
return (0, import_react.useContext)(DialogRegionContext);
|
|
135
|
+
}
|
|
136
|
+
function useIsInDialogRegion() {
|
|
137
|
+
return useDialogRegionContext().inDialogRegion;
|
|
138
|
+
}
|
|
139
|
+
const IN_DIALOG_REGION = {
|
|
140
|
+
inDialogRegion: true
|
|
141
|
+
};
|
|
142
|
+
const overlayEnterExit = {
|
|
143
|
+
opacity: 0,
|
|
144
|
+
y: -4,
|
|
145
|
+
scale: 0.97
|
|
146
|
+
};
|
|
147
|
+
const DialogContent = (0, import_react.forwardRef)(function DialogContent2({
|
|
148
|
+
children,
|
|
149
|
+
size = "$true",
|
|
150
|
+
...props
|
|
151
|
+
}, ref) {
|
|
152
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_Surface.Surface, {
|
|
153
|
+
size,
|
|
154
|
+
painted: false,
|
|
155
|
+
elevated: true,
|
|
156
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(DialogContentInner, {
|
|
157
|
+
ref,
|
|
158
|
+
...props,
|
|
159
|
+
children
|
|
160
|
+
})
|
|
161
|
+
});
|
|
162
|
+
});
|
|
163
|
+
const DialogContentInner = (0, import_react.forwardRef)(function DialogContentInner2({
|
|
164
|
+
children,
|
|
165
|
+
onOpenAutoFocus,
|
|
166
|
+
...props
|
|
167
|
+
}, ref) {
|
|
168
|
+
const {
|
|
169
|
+
knobProps
|
|
170
|
+
} = (0, import_useResolvedKnobs.useResolvedKnobs)({
|
|
171
|
+
component: "DialogContent"
|
|
172
|
+
});
|
|
173
|
+
const openFocus = withHouseOpenFocus(onOpenAutoFocus);
|
|
174
|
+
useDialogShowFocus(openFocus);
|
|
175
|
+
const {
|
|
176
|
+
width: windowWidth
|
|
177
|
+
} = (0, import_tamagui.useWindowDimensions)();
|
|
178
|
+
const room = windowWidth > 0 ? Math.max(0, windowWidth - 2 * (0, import_resolveKnobs.panelPaddingPx)()) : void 0;
|
|
179
|
+
const fit = value => room != null && typeof value === "number" ? Math.min(value, room) : value;
|
|
180
|
+
const windowFit = room == null ? void 0 : {
|
|
181
|
+
maxWidth: room,
|
|
182
|
+
...(props.minWidth != null ? {
|
|
183
|
+
minWidth: fit(props.minWidth)
|
|
184
|
+
} : void 0),
|
|
185
|
+
...(props.width != null ? {
|
|
186
|
+
width: fit(props.width)
|
|
187
|
+
} : void 0)
|
|
188
|
+
};
|
|
189
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.Dialog.Content, {
|
|
190
|
+
ref,
|
|
191
|
+
unstyled: true,
|
|
192
|
+
position: "relative",
|
|
193
|
+
pointerEvents: "auto",
|
|
194
|
+
...knobProps.elevatedSurface,
|
|
195
|
+
...knobProps.containerRadius,
|
|
196
|
+
...knobProps.panelPadding,
|
|
197
|
+
...knobProps.gap,
|
|
198
|
+
elevate: false,
|
|
199
|
+
...(0, import_transitionProps.transitionProps)(knobProps.motion.overlay),
|
|
200
|
+
enterStyle: overlayEnterExit,
|
|
201
|
+
exitStyle: overlayEnterExit,
|
|
202
|
+
...overlayFrameFocus,
|
|
203
|
+
focusStyle: overlayFrameFocusStyle,
|
|
204
|
+
focusVisibleStyle: overlayFrameFocusStyle,
|
|
205
|
+
onOpenAutoFocus: openFocus,
|
|
206
|
+
...props,
|
|
207
|
+
...windowFit,
|
|
208
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(DialogRegionContext.Provider, {
|
|
209
|
+
value: IN_DIALOG_REGION,
|
|
210
|
+
children
|
|
211
|
+
})
|
|
212
|
+
});
|
|
213
|
+
});
|
|
214
|
+
const scrimFade = {
|
|
215
|
+
opacity: 0
|
|
216
|
+
};
|
|
217
|
+
const DialogOverlay = (0, import_react.forwardRef)(function DialogOverlay2({
|
|
218
|
+
children,
|
|
219
|
+
...props
|
|
220
|
+
}, ref) {
|
|
221
|
+
const {
|
|
222
|
+
knobProps
|
|
223
|
+
} = (0, import_useResolvedKnobs.useResolvedKnobs)();
|
|
224
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.Dialog.Overlay, {
|
|
225
|
+
ref,
|
|
226
|
+
backgroundColor: overlayScrim,
|
|
227
|
+
...(0, import_transitionProps.transitionProps)(knobProps.motion.scrim),
|
|
228
|
+
enterStyle: scrimFade,
|
|
229
|
+
exitStyle: scrimFade,
|
|
230
|
+
...props,
|
|
231
|
+
children
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
const AlertDialogContent = (0, import_react.forwardRef)(function AlertDialogContent2({
|
|
235
|
+
children,
|
|
236
|
+
size = "$true",
|
|
237
|
+
...props
|
|
238
|
+
}, ref) {
|
|
239
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_Surface.Surface, {
|
|
240
|
+
size,
|
|
241
|
+
painted: false,
|
|
242
|
+
elevated: true,
|
|
243
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(AlertDialogContentInner, {
|
|
244
|
+
ref,
|
|
245
|
+
...props,
|
|
246
|
+
children
|
|
247
|
+
})
|
|
248
|
+
});
|
|
249
|
+
});
|
|
250
|
+
const AlertDialogContentInner = (0, import_react.forwardRef)(function AlertDialogContentInner2({
|
|
251
|
+
children,
|
|
252
|
+
...props
|
|
253
|
+
}, ref) {
|
|
254
|
+
const {
|
|
255
|
+
knobProps
|
|
256
|
+
} = (0, import_useResolvedKnobs.useResolvedKnobs)({
|
|
257
|
+
component: "AlertDialogContent"
|
|
258
|
+
});
|
|
259
|
+
useDialogShowFocus(withHouseOpenFocus(props.onOpenAutoFocus));
|
|
260
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.AlertDialog.Content, {
|
|
261
|
+
ref,
|
|
262
|
+
unstyled: true,
|
|
263
|
+
...knobProps.elevatedSurface,
|
|
264
|
+
...knobProps.containerRadius,
|
|
265
|
+
...knobProps.panelPadding,
|
|
266
|
+
...knobProps.gap,
|
|
267
|
+
elevate: false,
|
|
268
|
+
...(0, import_transitionProps.transitionProps)(knobProps.motion.overlay),
|
|
269
|
+
enterStyle: overlayEnterExit,
|
|
270
|
+
exitStyle: overlayEnterExit,
|
|
271
|
+
...overlayFrameFocus,
|
|
272
|
+
focusStyle: overlayFrameFocusStyle,
|
|
273
|
+
focusVisibleStyle: overlayFrameFocusStyle,
|
|
274
|
+
...props,
|
|
275
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(DialogRegionContext.Provider, {
|
|
276
|
+
value: IN_DIALOG_REGION,
|
|
277
|
+
children
|
|
278
|
+
})
|
|
279
|
+
});
|
|
280
|
+
});
|
|
281
|
+
const AlertDialogOverlay = (0, import_react.forwardRef)(function AlertDialogOverlay2({
|
|
282
|
+
children,
|
|
283
|
+
...props
|
|
284
|
+
}, ref) {
|
|
285
|
+
const {
|
|
286
|
+
knobProps
|
|
287
|
+
} = (0, import_useResolvedKnobs.useResolvedKnobs)();
|
|
288
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.AlertDialog.Overlay, {
|
|
289
|
+
ref,
|
|
290
|
+
backgroundColor: overlayScrim,
|
|
291
|
+
...(0, import_transitionProps.transitionProps)(knobProps.motion.scrim),
|
|
292
|
+
enterStyle: scrimFade,
|
|
293
|
+
exitStyle: scrimFade,
|
|
294
|
+
...props,
|
|
295
|
+
children
|
|
296
|
+
});
|
|
297
|
+
});
|
|
298
|
+
const PopoverContent = (0, import_react.forwardRef)(function PopoverContent2({
|
|
299
|
+
children,
|
|
300
|
+
onOpenAutoFocus,
|
|
301
|
+
...props
|
|
302
|
+
}, ref) {
|
|
303
|
+
const {
|
|
304
|
+
knobProps
|
|
305
|
+
} = (0, import_useResolvedKnobs.useResolvedKnobs)({
|
|
306
|
+
component: "PopoverContent",
|
|
307
|
+
painted: false
|
|
308
|
+
});
|
|
309
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.Popover.Content, {
|
|
310
|
+
ref,
|
|
311
|
+
...knobProps.elevatedSurface,
|
|
312
|
+
...knobProps.containerRadius,
|
|
313
|
+
...(0, import_transitionProps.transitionProps)(knobProps.motion.overlay),
|
|
314
|
+
enterStyle: overlayEnterExit,
|
|
315
|
+
exitStyle: overlayEnterExit,
|
|
316
|
+
...overlayFrameFocus,
|
|
317
|
+
focusStyle: overlayFrameFocusStyle,
|
|
318
|
+
focusVisibleStyle: overlayFrameFocusStyle,
|
|
319
|
+
onOpenAutoFocus: withHouseOpenFocus(onOpenAutoFocus),
|
|
320
|
+
...props,
|
|
321
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_Surface.Surface, {
|
|
322
|
+
painted: false,
|
|
323
|
+
elevated: true,
|
|
324
|
+
children
|
|
325
|
+
})
|
|
326
|
+
});
|
|
327
|
+
});
|