@semcore/core 16.0.0-prerelease.4 → 16.0.0-prerelease.7
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/lib/LastInteractionType.cjs +57 -0
- package/lib/LastInteractionType.cjs.map +1 -0
- package/lib/LastInteractionType.d.ts +1 -1
- package/lib/LastInteractionType.mjs +51 -0
- package/lib/core-types/Component.cjs +59 -0
- package/lib/core-types/Component.cjs.map +1 -0
- package/lib/core-types/Component.mjs +28 -31
- package/lib/core-types/UnknownProperties.cjs +2 -0
- package/lib/core-types/UnknownProperties.cjs.map +1 -0
- package/lib/core-types/reshadow.d.cjs +2 -0
- package/lib/core-types/reshadow.d.cjs.map +1 -0
- package/lib/core-types/symbols.cjs +25 -0
- package/lib/core-types/symbols.cjs.map +1 -0
- package/lib/core-types/symbols.mjs +20 -10
- package/lib/coreFactory.cjs +352 -0
- package/lib/coreFactory.cjs.map +1 -0
- package/lib/coreFactory.mjs +324 -0
- package/lib/enhancement/Children.cjs +119 -0
- package/lib/enhancement/Children.cjs.map +1 -0
- package/lib/enhancement/Children.mjs +34 -49
- package/lib/enhancement/Root.cjs +78 -0
- package/lib/enhancement/Root.cjs.map +1 -0
- package/lib/enhancement/Root.mjs +25 -35
- package/lib/enhancement/bindHandler.cjs +54 -0
- package/lib/enhancement/bindHandler.cjs.map +1 -0
- package/lib/enhancement/bindHandler.mjs +10 -9
- package/lib/enhancement/dataName.cjs +20 -0
- package/lib/enhancement/dataName.cjs.map +1 -0
- package/lib/enhancement/dataName.mjs +5 -4
- package/lib/enhancement/enhance.cjs +22 -0
- package/lib/enhancement/enhance.cjs.map +1 -0
- package/lib/enhancement/enhance.mjs +4 -3
- package/lib/enhancement/functionDefaultProps.cjs +36 -0
- package/lib/enhancement/functionDefaultProps.cjs.map +1 -0
- package/lib/enhancement/functionDefaultProps.mjs +5 -5
- package/lib/enhancement/hoistProps.cjs +97 -0
- package/lib/enhancement/hoistProps.cjs.map +1 -0
- package/lib/enhancement/hoistProps.mjs +22 -32
- package/lib/enhancement/i18n.cjs +28 -0
- package/lib/enhancement/i18n.cjs.map +1 -0
- package/lib/enhancement/i18n.mjs +8 -8
- package/lib/enhancement/inheritedName.cjs +23 -0
- package/lib/enhancement/inheritedName.cjs.map +1 -0
- package/lib/enhancement/inheritedName.mjs +5 -4
- package/lib/enhancement/staticChildren.cjs +135 -0
- package/lib/enhancement/staticChildren.cjs.map +1 -0
- package/lib/enhancement/staticChildren.mjs +35 -38
- package/lib/enhancement/style.cjs +60 -0
- package/lib/enhancement/style.cjs.map +1 -0
- package/lib/enhancement/style.mjs +16 -17
- package/lib/enhancement/uncontrolledProps.cjs +131 -0
- package/lib/enhancement/uncontrolledProps.cjs.map +1 -0
- package/lib/enhancement/uncontrolledProps.mjs +28 -44
- package/lib/esm/LastInteractionType.mjs +29 -20
- package/lib/esm/core-types/Component.mjs +40 -29
- package/lib/esm/core-types/symbols.mjs +18 -10
- package/lib/esm/coreFactory.mjs +273 -184
- package/lib/esm/enhancement/Children.mjs +72 -48
- package/lib/esm/enhancement/Root.mjs +49 -32
- package/lib/esm/enhancement/bindHandler.mjs +34 -30
- package/lib/esm/enhancement/dataName.mjs +7 -7
- package/lib/esm/enhancement/enhance.mjs +9 -9
- package/lib/esm/enhancement/functionDefaultProps.mjs +19 -9
- package/lib/esm/enhancement/hoistProps.mjs +62 -42
- package/lib/esm/enhancement/i18n.mjs +13 -11
- package/lib/esm/enhancement/inheritedName.mjs +9 -9
- package/lib/esm/enhancement/staticChildren.mjs +100 -58
- package/lib/esm/enhancement/style.mjs +38 -26
- package/lib/esm/enhancement/uncontrolledProps.mjs +81 -62
- package/lib/esm/index.mjs +21 -21
- package/lib/esm/register.mjs +22 -15
- package/lib/esm/styled/reshadow-core.mjs +9 -7
- package/lib/esm/styled/sstyled.mjs +98 -55
- package/lib/esm/utils/assignProps.mjs +65 -31
- package/lib/esm/utils/canUseDOM.mjs +3 -3
- package/lib/esm/utils/capitalizeFirstLetter.mjs +3 -3
- package/lib/esm/utils/enhances/WithI18n.mjs +44 -38
- package/lib/esm/utils/logger.mjs +24 -16
- package/lib/esm/utils/pick.mjs +11 -6
- package/lib/esm/utils/ref.mjs +33 -24
- package/lib/esm/utils/use/useEnhancedEffect.mjs +4 -4
- package/lib/index.cjs +103 -0
- package/lib/index.cjs.map +1 -0
- package/lib/index.mjs +23 -0
- package/lib/register.cjs +37 -0
- package/lib/register.cjs.map +1 -0
- package/lib/register.mjs +13 -11
- package/lib/styled/index.cjs +32 -0
- package/lib/styled/index.cjs.map +1 -0
- package/lib/styled/reshadow-core.cjs +256 -0
- package/lib/styled/reshadow-core.cjs.map +1 -0
- package/lib/styled/reshadow-core.mjs +8 -233
- package/lib/styled/sstyled.cjs +149 -0
- package/lib/styled/sstyled.cjs.map +1 -0
- package/lib/styled/sstyled.mjs +40 -61
- package/lib/theme/processor.cjs +315 -0
- package/lib/theme/processor.cjs.map +1 -0
- package/lib/theme/themes/dark.cjs +385 -0
- package/lib/theme/themes/dark.cjs.map +1 -0
- package/lib/theme/themes/default.cjs +394 -0
- package/lib/theme/themes/default.cjs.map +1 -0
- package/lib/theme/themes/light.cjs +394 -0
- package/lib/theme/themes/light.cjs.map +1 -0
- package/lib/theme/utils.cjs +297 -0
- package/lib/theme/utils.cjs.map +1 -0
- package/lib/utils/CSSinJS.cjs +36 -0
- package/lib/utils/CSSinJS.cjs.map +1 -0
- package/lib/utils/ScreenReaderOnly.cjs +31 -0
- package/lib/utils/ScreenReaderOnly.cjs.map +1 -0
- package/lib/utils/ThemeProvider.cjs +82 -0
- package/lib/utils/ThemeProvider.cjs.map +1 -0
- package/lib/utils/addonText.cjs +18 -0
- package/lib/utils/addonText.cjs.map +1 -0
- package/lib/utils/addonText.d.ts +1 -1
- package/lib/utils/addonTextChildren.cjs +45 -0
- package/lib/utils/addonTextChildren.cjs.map +1 -0
- package/lib/utils/ariaProps.cjs +22 -0
- package/lib/utils/ariaProps.cjs.map +1 -0
- package/lib/utils/assignProps.cjs +93 -0
- package/lib/utils/assignProps.cjs.map +1 -0
- package/lib/utils/assignProps.mjs +30 -38
- package/lib/utils/canUseDOM.cjs +10 -0
- package/lib/utils/canUseDOM.cjs.map +1 -0
- package/lib/utils/canUseDOM.mjs +5 -3
- package/lib/utils/capitalizeFirstLetter.cjs +10 -0
- package/lib/utils/capitalizeFirstLetter.cjs.map +1 -0
- package/lib/utils/capitalizeFirstLetter.mjs +4 -2
- package/lib/utils/color.cjs +208 -0
- package/lib/utils/color.cjs.map +1 -0
- package/lib/utils/compose.cjs +21 -0
- package/lib/utils/compose.cjs.map +1 -0
- package/lib/utils/createHoc.cjs +55 -0
- package/lib/utils/createHoc.cjs.map +1 -0
- package/lib/utils/createUUID.cjs +15 -0
- package/lib/utils/createUUID.cjs.map +1 -0
- package/lib/utils/cssToIntDefault.cjs +22 -0
- package/lib/utils/cssToIntDefault.cjs.map +1 -0
- package/lib/utils/enhances/WithAutoFocus.cjs +75 -0
- package/lib/utils/enhances/WithAutoFocus.cjs.map +1 -0
- package/lib/utils/enhances/WithCSS.cjs +93 -0
- package/lib/utils/enhances/WithCSS.cjs.map +1 -0
- package/lib/utils/enhances/WithI18n.cjs +95 -0
- package/lib/utils/enhances/WithI18n.cjs.map +1 -0
- package/lib/utils/enhances/WithI18n.mjs +28 -57
- package/lib/utils/enhances/WithKeyboardFocus.cjs +93 -0
- package/lib/utils/enhances/WithKeyboardFocus.cjs.map +1 -0
- package/lib/utils/enhances/WithRef.cjs +26 -0
- package/lib/utils/enhances/WithRef.cjs.map +1 -0
- package/lib/utils/enhances/a11yEnhance.cjs +74 -0
- package/lib/utils/enhances/a11yEnhance.cjs.map +1 -0
- package/lib/utils/enhances/animatedSizeEnhance.cjs +98 -0
- package/lib/utils/enhances/animatedSizeEnhance.cjs.map +1 -0
- package/lib/utils/enhances/autoFocusEnhance.cjs +46 -0
- package/lib/utils/enhances/autoFocusEnhance.cjs.map +1 -0
- package/lib/utils/enhances/contextEnhance.cjs +22 -0
- package/lib/utils/enhances/contextEnhance.cjs.map +1 -0
- package/lib/utils/enhances/i18nEnhance.cjs +101 -0
- package/lib/utils/enhances/i18nEnhance.cjs.map +1 -0
- package/lib/utils/enhances/keyboardFocusEnhance.cjs +63 -0
- package/lib/utils/enhances/keyboardFocusEnhance.cjs.map +1 -0
- package/lib/utils/enhances/resolveColorEnhance.cjs +25 -0
- package/lib/utils/enhances/resolveColorEnhance.cjs.map +1 -0
- package/lib/utils/eventEmitter.cjs +41 -0
- package/lib/utils/eventEmitter.cjs.map +1 -0
- package/lib/utils/findComponent.cjs +106 -0
- package/lib/utils/findComponent.cjs.map +1 -0
- package/lib/utils/fire.cjs +23 -0
- package/lib/utils/fire.cjs.map +1 -0
- package/lib/utils/focus-lock/focusBorders.cjs +72 -0
- package/lib/utils/focus-lock/focusBorders.cjs.map +1 -0
- package/lib/utils/focus-lock/getFocusableIn.cjs +26 -0
- package/lib/utils/focus-lock/getFocusableIn.cjs.map +1 -0
- package/lib/utils/focus-lock/isFocusInside.cjs +16 -0
- package/lib/utils/focus-lock/isFocusInside.cjs.map +1 -0
- package/lib/utils/focus-lock/isFocusable.cjs +51 -0
- package/lib/utils/focus-lock/isFocusable.cjs.map +1 -0
- package/lib/utils/focus-lock/setFocus.cjs +63 -0
- package/lib/utils/focus-lock/setFocus.cjs.map +1 -0
- package/lib/utils/getAccessibleName.cjs +56 -0
- package/lib/utils/getAccessibleName.cjs.map +1 -0
- package/lib/utils/getDisplayName.cjs +10 -0
- package/lib/utils/getDisplayName.cjs.map +1 -0
- package/lib/utils/getEventTarget.cjs +53 -0
- package/lib/utils/getEventTarget.cjs.map +1 -0
- package/lib/utils/getOriginChildren.cjs +18 -0
- package/lib/utils/getOriginChildren.cjs.map +1 -0
- package/lib/utils/getRandomInt.cjs +11 -0
- package/lib/utils/getRandomInt.cjs.map +1 -0
- package/lib/utils/getValue.cjs +16 -0
- package/lib/utils/getValue.cjs.map +1 -0
- package/lib/utils/hasLabels.cjs +47 -0
- package/lib/utils/hasLabels.cjs.map +1 -0
- package/lib/utils/hasParent.cjs +14 -0
- package/lib/utils/hasParent.cjs.map +1 -0
- package/lib/utils/if.cjs +16 -0
- package/lib/utils/if.cjs.map +1 -0
- package/lib/utils/ifChildren.cjs +17 -0
- package/lib/utils/ifChildren.cjs.map +1 -0
- package/lib/utils/injectStyle.cjs +49 -0
- package/lib/utils/injectStyle.cjs.map +1 -0
- package/lib/utils/inputProps.cjs +22 -0
- package/lib/utils/inputProps.cjs.map +1 -0
- package/lib/utils/isNode.cjs +28 -0
- package/lib/utils/isNode.cjs.map +1 -0
- package/lib/utils/isPromise.cjs +10 -0
- package/lib/utils/isPromise.cjs.map +1 -0
- package/lib/utils/isRetina.cjs +15 -0
- package/lib/utils/isRetina.cjs.map +1 -0
- package/lib/utils/logger.cjs +40 -0
- package/lib/utils/logger.cjs.map +1 -0
- package/lib/utils/logger.mjs +19 -16
- package/lib/utils/numericChecker.cjs +33 -0
- package/lib/utils/numericChecker.cjs.map +1 -0
- package/lib/utils/ownerDocument.cjs +10 -0
- package/lib/utils/ownerDocument.cjs.map +1 -0
- package/lib/utils/pick.cjs +19 -0
- package/lib/utils/pick.cjs.map +1 -0
- package/lib/utils/pick.mjs +4 -2
- package/lib/utils/propsForElement.cjs +59 -0
- package/lib/utils/propsForElement.cjs.map +1 -0
- package/lib/utils/rafTrottle.cjs +33 -0
- package/lib/utils/rafTrottle.cjs.map +1 -0
- package/lib/utils/reactToText.cjs +33 -0
- package/lib/utils/reactToText.cjs.map +1 -0
- package/lib/utils/ref.cjs +95 -0
- package/lib/utils/ref.cjs.map +1 -0
- package/lib/utils/ref.mjs +20 -60
- package/lib/utils/setRef.cjs +10 -0
- package/lib/utils/setRef.cjs.map +1 -0
- package/lib/utils/syncScroll.cjs +61 -0
- package/lib/utils/syncScroll.cjs.map +1 -0
- package/lib/utils/uncontroll.cjs +47 -0
- package/lib/utils/uncontroll.cjs.map +1 -0
- package/lib/utils/uniqueID.cjs +42 -0
- package/lib/utils/uniqueID.cjs.map +1 -0
- package/lib/utils/use/useColorResolver.cjs +208 -0
- package/lib/utils/use/useColorResolver.cjs.map +1 -0
- package/lib/utils/use/useCss.cjs +20 -0
- package/lib/utils/use/useCss.cjs.map +1 -0
- package/lib/utils/use/useEnhancedEffect.cjs +13 -0
- package/lib/utils/use/useEnhancedEffect.cjs.map +1 -0
- package/lib/utils/use/useEnhancedEffect.mjs +4 -3
- package/lib/utils/use/useEventCallback.cjs +25 -0
- package/lib/utils/use/useEventCallback.cjs.map +1 -0
- package/lib/utils/use/useEventListener.cjs +33 -0
- package/lib/utils/use/useEventListener.cjs.map +1 -0
- package/lib/utils/use/useFocusLock.cjs +289 -0
- package/lib/utils/use/useFocusLock.cjs.map +1 -0
- package/lib/utils/use/usePreventScroll.cjs +78 -0
- package/lib/utils/use/usePreventScroll.cjs.map +1 -0
- package/lib/utils/useCssVariable.cjs +55 -0
- package/lib/utils/useCssVariable.cjs.map +1 -0
- package/lib/utils/zIndexStacking.cjs +48 -0
- package/lib/utils/zIndexStacking.cjs.map +1 -0
- package/package.json +7 -7
- package/vite.config.ts +8 -0
- package/lib/cjs/LastInteractionType.js +0 -57
- package/lib/cjs/LastInteractionType.js.map +0 -1
- package/lib/cjs/core-types/Component.js +0 -59
- package/lib/cjs/core-types/Component.js.map +0 -1
- package/lib/cjs/core-types/UnknownProperties.js +0 -2
- package/lib/cjs/core-types/UnknownProperties.js.map +0 -1
- package/lib/cjs/core-types/reshadow.d.js +0 -2
- package/lib/cjs/core-types/reshadow.d.js.map +0 -1
- package/lib/cjs/core-types/symbols.js +0 -25
- package/lib/cjs/core-types/symbols.js.map +0 -1
- package/lib/cjs/coreFactory.js +0 -352
- package/lib/cjs/coreFactory.js.map +0 -1
- package/lib/cjs/enhancement/Children.js +0 -119
- package/lib/cjs/enhancement/Children.js.map +0 -1
- package/lib/cjs/enhancement/Root.js +0 -78
- package/lib/cjs/enhancement/Root.js.map +0 -1
- package/lib/cjs/enhancement/bindHandler.js +0 -54
- package/lib/cjs/enhancement/bindHandler.js.map +0 -1
- package/lib/cjs/enhancement/dataName.js +0 -20
- package/lib/cjs/enhancement/dataName.js.map +0 -1
- package/lib/cjs/enhancement/enhance.js +0 -22
- package/lib/cjs/enhancement/enhance.js.map +0 -1
- package/lib/cjs/enhancement/functionDefaultProps.js +0 -36
- package/lib/cjs/enhancement/functionDefaultProps.js.map +0 -1
- package/lib/cjs/enhancement/hoistProps.js +0 -97
- package/lib/cjs/enhancement/hoistProps.js.map +0 -1
- package/lib/cjs/enhancement/i18n.js +0 -28
- package/lib/cjs/enhancement/i18n.js.map +0 -1
- package/lib/cjs/enhancement/inheritedName.js +0 -23
- package/lib/cjs/enhancement/inheritedName.js.map +0 -1
- package/lib/cjs/enhancement/staticChildren.js +0 -135
- package/lib/cjs/enhancement/staticChildren.js.map +0 -1
- package/lib/cjs/enhancement/style.js +0 -60
- package/lib/cjs/enhancement/style.js.map +0 -1
- package/lib/cjs/enhancement/uncontrolledProps.js +0 -131
- package/lib/cjs/enhancement/uncontrolledProps.js.map +0 -1
- package/lib/cjs/index.js +0 -103
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/register.js +0 -37
- package/lib/cjs/register.js.map +0 -1
- package/lib/cjs/styled/index.js +0 -32
- package/lib/cjs/styled/index.js.map +0 -1
- package/lib/cjs/styled/reshadow-core.js +0 -256
- package/lib/cjs/styled/reshadow-core.js.map +0 -1
- package/lib/cjs/styled/sstyled.js +0 -149
- package/lib/cjs/styled/sstyled.js.map +0 -1
- package/lib/cjs/theme/dark.json +0 -2506
- package/lib/cjs/theme/exclude-tokens.json +0 -10
- package/lib/cjs/theme/light.json +0 -2584
- package/lib/cjs/theme/processor.js +0 -315
- package/lib/cjs/theme/processor.js.map +0 -1
- package/lib/cjs/theme/themes/auto.css +0 -1465
- package/lib/cjs/theme/themes/dark.css +0 -723
- package/lib/cjs/theme/themes/dark.js +0 -385
- package/lib/cjs/theme/themes/dark.js.map +0 -1
- package/lib/cjs/theme/themes/default.css +0 -742
- package/lib/cjs/theme/themes/default.js +0 -394
- package/lib/cjs/theme/themes/default.js.map +0 -1
- package/lib/cjs/theme/themes/light.css +0 -742
- package/lib/cjs/theme/themes/light.js +0 -394
- package/lib/cjs/theme/themes/light.js.map +0 -1
- package/lib/cjs/theme/utils.js +0 -297
- package/lib/cjs/theme/utils.js.map +0 -1
- package/lib/cjs/utils/CSSinJS.js +0 -36
- package/lib/cjs/utils/CSSinJS.js.map +0 -1
- package/lib/cjs/utils/ScreenReaderOnly.js +0 -31
- package/lib/cjs/utils/ScreenReaderOnly.js.map +0 -1
- package/lib/cjs/utils/ThemeProvider.js +0 -82
- package/lib/cjs/utils/ThemeProvider.js.map +0 -1
- package/lib/cjs/utils/addonText.js +0 -18
- package/lib/cjs/utils/addonText.js.map +0 -1
- package/lib/cjs/utils/addonTextChildren.js +0 -45
- package/lib/cjs/utils/addonTextChildren.js.map +0 -1
- package/lib/cjs/utils/ariaProps.js +0 -22
- package/lib/cjs/utils/ariaProps.js.map +0 -1
- package/lib/cjs/utils/assignProps.js +0 -93
- package/lib/cjs/utils/assignProps.js.map +0 -1
- package/lib/cjs/utils/canUseDOM.js +0 -10
- package/lib/cjs/utils/canUseDOM.js.map +0 -1
- package/lib/cjs/utils/capitalizeFirstLetter.js +0 -10
- package/lib/cjs/utils/capitalizeFirstLetter.js.map +0 -1
- package/lib/cjs/utils/color.js +0 -208
- package/lib/cjs/utils/color.js.map +0 -1
- package/lib/cjs/utils/compose.js +0 -21
- package/lib/cjs/utils/compose.js.map +0 -1
- package/lib/cjs/utils/createHoc.js +0 -55
- package/lib/cjs/utils/createHoc.js.map +0 -1
- package/lib/cjs/utils/createUUID.js +0 -15
- package/lib/cjs/utils/createUUID.js.map +0 -1
- package/lib/cjs/utils/cssToIntDefault.js +0 -22
- package/lib/cjs/utils/cssToIntDefault.js.map +0 -1
- package/lib/cjs/utils/enhances/WithAutoFocus.js +0 -75
- package/lib/cjs/utils/enhances/WithAutoFocus.js.map +0 -1
- package/lib/cjs/utils/enhances/WithCSS.js +0 -93
- package/lib/cjs/utils/enhances/WithCSS.js.map +0 -1
- package/lib/cjs/utils/enhances/WithI18n.js +0 -95
- package/lib/cjs/utils/enhances/WithI18n.js.map +0 -1
- package/lib/cjs/utils/enhances/WithKeyboardFocus.js +0 -93
- package/lib/cjs/utils/enhances/WithKeyboardFocus.js.map +0 -1
- package/lib/cjs/utils/enhances/WithRef.js +0 -26
- package/lib/cjs/utils/enhances/WithRef.js.map +0 -1
- package/lib/cjs/utils/enhances/a11yEnhance.js +0 -74
- package/lib/cjs/utils/enhances/a11yEnhance.js.map +0 -1
- package/lib/cjs/utils/enhances/animatedSizeEnhance.js +0 -98
- package/lib/cjs/utils/enhances/animatedSizeEnhance.js.map +0 -1
- package/lib/cjs/utils/enhances/autoFocusEnhance.js +0 -46
- package/lib/cjs/utils/enhances/autoFocusEnhance.js.map +0 -1
- package/lib/cjs/utils/enhances/contextEnhance.js +0 -22
- package/lib/cjs/utils/enhances/contextEnhance.js.map +0 -1
- package/lib/cjs/utils/enhances/i18nEnhance.js +0 -101
- package/lib/cjs/utils/enhances/i18nEnhance.js.map +0 -1
- package/lib/cjs/utils/enhances/keyboardFocusEnhance.js +0 -63
- package/lib/cjs/utils/enhances/keyboardFocusEnhance.js.map +0 -1
- package/lib/cjs/utils/enhances/resolveColorEnhance.js +0 -25
- package/lib/cjs/utils/enhances/resolveColorEnhance.js.map +0 -1
- package/lib/cjs/utils/eventEmitter.js +0 -41
- package/lib/cjs/utils/eventEmitter.js.map +0 -1
- package/lib/cjs/utils/findComponent.js +0 -106
- package/lib/cjs/utils/findComponent.js.map +0 -1
- package/lib/cjs/utils/fire.js +0 -23
- package/lib/cjs/utils/fire.js.map +0 -1
- package/lib/cjs/utils/focus-lock/focusBorders.js +0 -72
- package/lib/cjs/utils/focus-lock/focusBorders.js.map +0 -1
- package/lib/cjs/utils/focus-lock/getFocusableIn.js +0 -26
- package/lib/cjs/utils/focus-lock/getFocusableIn.js.map +0 -1
- package/lib/cjs/utils/focus-lock/isFocusInside.js +0 -16
- package/lib/cjs/utils/focus-lock/isFocusInside.js.map +0 -1
- package/lib/cjs/utils/focus-lock/isFocusable.js +0 -51
- package/lib/cjs/utils/focus-lock/isFocusable.js.map +0 -1
- package/lib/cjs/utils/focus-lock/setFocus.js +0 -63
- package/lib/cjs/utils/focus-lock/setFocus.js.map +0 -1
- package/lib/cjs/utils/getAccessibleName.js +0 -56
- package/lib/cjs/utils/getAccessibleName.js.map +0 -1
- package/lib/cjs/utils/getDisplayName.js +0 -10
- package/lib/cjs/utils/getDisplayName.js.map +0 -1
- package/lib/cjs/utils/getEventTarget.js +0 -53
- package/lib/cjs/utils/getEventTarget.js.map +0 -1
- package/lib/cjs/utils/getOriginChildren.js +0 -18
- package/lib/cjs/utils/getOriginChildren.js.map +0 -1
- package/lib/cjs/utils/getRandomInt.js +0 -11
- package/lib/cjs/utils/getRandomInt.js.map +0 -1
- package/lib/cjs/utils/getValue.js +0 -16
- package/lib/cjs/utils/getValue.js.map +0 -1
- package/lib/cjs/utils/hasLabels.js +0 -47
- package/lib/cjs/utils/hasLabels.js.map +0 -1
- package/lib/cjs/utils/hasParent.js +0 -14
- package/lib/cjs/utils/hasParent.js.map +0 -1
- package/lib/cjs/utils/if.js +0 -16
- package/lib/cjs/utils/if.js.map +0 -1
- package/lib/cjs/utils/ifChildren.js +0 -17
- package/lib/cjs/utils/ifChildren.js.map +0 -1
- package/lib/cjs/utils/injectStyle.js +0 -49
- package/lib/cjs/utils/injectStyle.js.map +0 -1
- package/lib/cjs/utils/inputProps.js +0 -22
- package/lib/cjs/utils/inputProps.js.map +0 -1
- package/lib/cjs/utils/isNode.js +0 -28
- package/lib/cjs/utils/isNode.js.map +0 -1
- package/lib/cjs/utils/isPromise.js +0 -10
- package/lib/cjs/utils/isPromise.js.map +0 -1
- package/lib/cjs/utils/isRetina.js +0 -15
- package/lib/cjs/utils/isRetina.js.map +0 -1
- package/lib/cjs/utils/logger.js +0 -40
- package/lib/cjs/utils/logger.js.map +0 -1
- package/lib/cjs/utils/numericChecker.js +0 -33
- package/lib/cjs/utils/numericChecker.js.map +0 -1
- package/lib/cjs/utils/ownerDocument.js +0 -10
- package/lib/cjs/utils/ownerDocument.js.map +0 -1
- package/lib/cjs/utils/pick.js +0 -19
- package/lib/cjs/utils/pick.js.map +0 -1
- package/lib/cjs/utils/propsForElement.js +0 -59
- package/lib/cjs/utils/propsForElement.js.map +0 -1
- package/lib/cjs/utils/rafTrottle.js +0 -33
- package/lib/cjs/utils/rafTrottle.js.map +0 -1
- package/lib/cjs/utils/reactToText.js +0 -33
- package/lib/cjs/utils/reactToText.js.map +0 -1
- package/lib/cjs/utils/ref.js +0 -95
- package/lib/cjs/utils/ref.js.map +0 -1
- package/lib/cjs/utils/setRef.js +0 -10
- package/lib/cjs/utils/setRef.js.map +0 -1
- package/lib/cjs/utils/syncScroll.js +0 -61
- package/lib/cjs/utils/syncScroll.js.map +0 -1
- package/lib/cjs/utils/uncontroll.js +0 -47
- package/lib/cjs/utils/uncontroll.js.map +0 -1
- package/lib/cjs/utils/uniqueID.js +0 -42
- package/lib/cjs/utils/uniqueID.js.map +0 -1
- package/lib/cjs/utils/use/useColorResolver.js +0 -208
- package/lib/cjs/utils/use/useColorResolver.js.map +0 -1
- package/lib/cjs/utils/use/useCss.js +0 -20
- package/lib/cjs/utils/use/useCss.js.map +0 -1
- package/lib/cjs/utils/use/useEnhancedEffect.js +0 -13
- package/lib/cjs/utils/use/useEnhancedEffect.js.map +0 -1
- package/lib/cjs/utils/use/useEventCallback.js +0 -25
- package/lib/cjs/utils/use/useEventCallback.js.map +0 -1
- package/lib/cjs/utils/use/useEventListener.js +0 -33
- package/lib/cjs/utils/use/useEventListener.js.map +0 -1
- package/lib/cjs/utils/use/useFocusLock.js +0 -289
- package/lib/cjs/utils/use/useFocusLock.js.map +0 -1
- package/lib/cjs/utils/use/usePreventScroll.js +0 -78
- package/lib/cjs/utils/use/usePreventScroll.js.map +0 -1
- package/lib/cjs/utils/useCssVariable.js +0 -55
- package/lib/cjs/utils/useCssVariable.js.map +0 -1
- package/lib/cjs/utils/zIndexStacking.js +0 -48
- package/lib/cjs/utils/zIndexStacking.js.map +0 -1
- package/lib/core-types/Component.js +0 -59
- package/lib/core-types/Component.js.map +0 -1
- package/lib/core-types/Component.mjs.map +0 -1
- package/lib/core-types/UnknownProperties.js +0 -2
- package/lib/core-types/UnknownProperties.js.map +0 -1
- package/lib/core-types/UnknownProperties.mjs +0 -3
- package/lib/core-types/UnknownProperties.mjs.map +0 -1
- package/lib/core-types/reshadow.d.js +0 -2
- package/lib/core-types/reshadow.d.js.map +0 -1
- package/lib/core-types/reshadow.d.mjs +0 -2
- package/lib/core-types/reshadow.d.mjs.map +0 -1
- package/lib/core-types/symbols.js +0 -25
- package/lib/core-types/symbols.js.map +0 -1
- package/lib/core-types/symbols.mjs.map +0 -1
- package/lib/enhancement/Children.js +0 -119
- package/lib/enhancement/Children.js.map +0 -1
- package/lib/enhancement/Children.mjs.map +0 -1
- package/lib/enhancement/Root.js +0 -78
- package/lib/enhancement/Root.js.map +0 -1
- package/lib/enhancement/Root.mjs.map +0 -1
- package/lib/enhancement/bindHandler.js +0 -54
- package/lib/enhancement/bindHandler.js.map +0 -1
- package/lib/enhancement/bindHandler.mjs.map +0 -1
- package/lib/enhancement/dataName.js +0 -20
- package/lib/enhancement/dataName.js.map +0 -1
- package/lib/enhancement/dataName.mjs.map +0 -1
- package/lib/enhancement/enhance.js +0 -22
- package/lib/enhancement/enhance.js.map +0 -1
- package/lib/enhancement/enhance.mjs.map +0 -1
- package/lib/enhancement/functionDefaultProps.js +0 -36
- package/lib/enhancement/functionDefaultProps.js.map +0 -1
- package/lib/enhancement/functionDefaultProps.mjs.map +0 -1
- package/lib/enhancement/hoistProps.js +0 -97
- package/lib/enhancement/hoistProps.js.map +0 -1
- package/lib/enhancement/hoistProps.mjs.map +0 -1
- package/lib/enhancement/i18n.js +0 -28
- package/lib/enhancement/i18n.js.map +0 -1
- package/lib/enhancement/i18n.mjs.map +0 -1
- package/lib/enhancement/inheritedName.js +0 -23
- package/lib/enhancement/inheritedName.js.map +0 -1
- package/lib/enhancement/inheritedName.mjs.map +0 -1
- package/lib/enhancement/staticChildren.js +0 -135
- package/lib/enhancement/staticChildren.js.map +0 -1
- package/lib/enhancement/staticChildren.mjs.map +0 -1
- package/lib/enhancement/style.js +0 -60
- package/lib/enhancement/style.js.map +0 -1
- package/lib/enhancement/style.mjs.map +0 -1
- package/lib/enhancement/uncontrolledProps.js +0 -131
- package/lib/enhancement/uncontrolledProps.js.map +0 -1
- package/lib/enhancement/uncontrolledProps.mjs.map +0 -1
- package/lib/es6/LastInteractionType.js +0 -49
- package/lib/es6/LastInteractionType.js.map +0 -1
- package/lib/es6/core-types/Component.js +0 -54
- package/lib/es6/core-types/Component.js.map +0 -1
- package/lib/es6/core-types/UnknownProperties.js +0 -2
- package/lib/es6/core-types/UnknownProperties.js.map +0 -1
- package/lib/es6/core-types/reshadow.d.js +0 -2
- package/lib/es6/core-types/reshadow.d.js.map +0 -1
- package/lib/es6/core-types/symbols.js +0 -10
- package/lib/es6/core-types/symbols.js.map +0 -1
- package/lib/es6/coreFactory.js +0 -343
- package/lib/es6/coreFactory.js.map +0 -1
- package/lib/es6/enhancement/Children.js +0 -111
- package/lib/es6/enhancement/Children.js.map +0 -1
- package/lib/es6/enhancement/Root.js +0 -70
- package/lib/es6/enhancement/Root.js.map +0 -1
- package/lib/es6/enhancement/bindHandler.js +0 -47
- package/lib/es6/enhancement/bindHandler.js.map +0 -1
- package/lib/es6/enhancement/dataName.js +0 -12
- package/lib/es6/enhancement/dataName.js.map +0 -1
- package/lib/es6/enhancement/enhance.js +0 -15
- package/lib/es6/enhancement/enhance.js.map +0 -1
- package/lib/es6/enhancement/functionDefaultProps.js +0 -29
- package/lib/es6/enhancement/functionDefaultProps.js.map +0 -1
- package/lib/es6/enhancement/hoistProps.js +0 -88
- package/lib/es6/enhancement/hoistProps.js.map +0 -1
- package/lib/es6/enhancement/i18n.js +0 -20
- package/lib/es6/enhancement/i18n.js.map +0 -1
- package/lib/es6/enhancement/inheritedName.js +0 -15
- package/lib/es6/enhancement/inheritedName.js.map +0 -1
- package/lib/es6/enhancement/staticChildren.js +0 -123
- package/lib/es6/enhancement/staticChildren.js.map +0 -1
- package/lib/es6/enhancement/style.js +0 -51
- package/lib/es6/enhancement/style.js.map +0 -1
- package/lib/es6/enhancement/uncontrolledProps.js +0 -123
- package/lib/es6/enhancement/uncontrolledProps.js.map +0 -1
- package/lib/es6/index.js +0 -9
- package/lib/es6/index.js.map +0 -1
- package/lib/es6/register.js +0 -29
- package/lib/es6/register.js.map +0 -1
- package/lib/es6/styled/index.js +0 -6
- package/lib/es6/styled/index.js.map +0 -1
- package/lib/es6/styled/reshadow-core.js +0 -243
- package/lib/es6/styled/reshadow-core.js.map +0 -1
- package/lib/es6/styled/sstyled.js +0 -142
- package/lib/es6/styled/sstyled.js.map +0 -1
- package/lib/es6/theme/dark.json +0 -2506
- package/lib/es6/theme/exclude-tokens.json +0 -10
- package/lib/es6/theme/light.json +0 -2584
- package/lib/es6/theme/processor.js +0 -307
- package/lib/es6/theme/processor.js.map +0 -1
- package/lib/es6/theme/themes/auto.css +0 -1465
- package/lib/es6/theme/themes/dark.css +0 -723
- package/lib/es6/theme/themes/dark.js +0 -378
- package/lib/es6/theme/themes/dark.js.map +0 -1
- package/lib/es6/theme/themes/default.css +0 -742
- package/lib/es6/theme/themes/default.js +0 -387
- package/lib/es6/theme/themes/default.js.map +0 -1
- package/lib/es6/theme/themes/light.css +0 -742
- package/lib/es6/theme/themes/light.js +0 -387
- package/lib/es6/theme/themes/light.js.map +0 -1
- package/lib/es6/theme/utils.js +0 -286
- package/lib/es6/theme/utils.js.map +0 -1
- package/lib/es6/utils/CSSinJS.js +0 -28
- package/lib/es6/utils/CSSinJS.js.map +0 -1
- package/lib/es6/utils/ScreenReaderOnly.js +0 -24
- package/lib/es6/utils/ScreenReaderOnly.js.map +0 -1
- package/lib/es6/utils/ThemeProvider.js +0 -71
- package/lib/es6/utils/ThemeProvider.js.map +0 -1
- package/lib/es6/utils/addonText.js +0 -11
- package/lib/es6/utils/addonText.js.map +0 -1
- package/lib/es6/utils/addonTextChildren.js +0 -37
- package/lib/es6/utils/addonTextChildren.js.map +0 -1
- package/lib/es6/utils/ariaProps.js +0 -16
- package/lib/es6/utils/ariaProps.js.map +0 -1
- package/lib/es6/utils/assignProps.js +0 -84
- package/lib/es6/utils/assignProps.js.map +0 -1
- package/lib/es6/utils/canUseDOM.js +0 -4
- package/lib/es6/utils/canUseDOM.js.map +0 -1
- package/lib/es6/utils/capitalizeFirstLetter.js +0 -4
- package/lib/es6/utils/capitalizeFirstLetter.js.map +0 -1
- package/lib/es6/utils/color.js +0 -196
- package/lib/es6/utils/color.js.map +0 -1
- package/lib/es6/utils/compose.js +0 -15
- package/lib/es6/utils/compose.js.map +0 -1
- package/lib/es6/utils/createHoc.js +0 -46
- package/lib/es6/utils/createHoc.js.map +0 -1
- package/lib/es6/utils/createUUID.js +0 -9
- package/lib/es6/utils/createUUID.js.map +0 -1
- package/lib/es6/utils/cssToIntDefault.js +0 -16
- package/lib/es6/utils/cssToIntDefault.js.map +0 -1
- package/lib/es6/utils/enhances/WithAutoFocus.js +0 -67
- package/lib/es6/utils/enhances/WithAutoFocus.js.map +0 -1
- package/lib/es6/utils/enhances/WithCSS.js +0 -79
- package/lib/es6/utils/enhances/WithCSS.js.map +0 -1
- package/lib/es6/utils/enhances/WithI18n.js +0 -83
- package/lib/es6/utils/enhances/WithI18n.js.map +0 -1
- package/lib/es6/utils/enhances/WithKeyboardFocus.js +0 -84
- package/lib/es6/utils/enhances/WithKeyboardFocus.js.map +0 -1
- package/lib/es6/utils/enhances/WithRef.js +0 -18
- package/lib/es6/utils/enhances/WithRef.js.map +0 -1
- package/lib/es6/utils/enhances/a11yEnhance.js +0 -66
- package/lib/es6/utils/enhances/a11yEnhance.js.map +0 -1
- package/lib/es6/utils/enhances/animatedSizeEnhance.js +0 -90
- package/lib/es6/utils/enhances/animatedSizeEnhance.js.map +0 -1
- package/lib/es6/utils/enhances/autoFocusEnhance.js +0 -38
- package/lib/es6/utils/enhances/autoFocusEnhance.js.map +0 -1
- package/lib/es6/utils/enhances/contextEnhance.js +0 -14
- package/lib/es6/utils/enhances/contextEnhance.js.map +0 -1
- package/lib/es6/utils/enhances/i18nEnhance.js +0 -92
- package/lib/es6/utils/enhances/i18nEnhance.js.map +0 -1
- package/lib/es6/utils/enhances/keyboardFocusEnhance.js +0 -57
- package/lib/es6/utils/enhances/keyboardFocusEnhance.js.map +0 -1
- package/lib/es6/utils/enhances/resolveColorEnhance.js +0 -17
- package/lib/es6/utils/enhances/resolveColorEnhance.js.map +0 -1
- package/lib/es6/utils/eventEmitter.js +0 -34
- package/lib/es6/utils/eventEmitter.js.map +0 -1
- package/lib/es6/utils/findComponent.js +0 -95
- package/lib/es6/utils/findComponent.js.map +0 -1
- package/lib/es6/utils/fire.js +0 -15
- package/lib/es6/utils/fire.js.map +0 -1
- package/lib/es6/utils/focus-lock/focusBorders.js +0 -62
- package/lib/es6/utils/focus-lock/focusBorders.js.map +0 -1
- package/lib/es6/utils/focus-lock/getFocusableIn.js +0 -19
- package/lib/es6/utils/focus-lock/getFocusableIn.js.map +0 -1
- package/lib/es6/utils/focus-lock/isFocusInside.js +0 -9
- package/lib/es6/utils/focus-lock/isFocusInside.js.map +0 -1
- package/lib/es6/utils/focus-lock/isFocusable.js +0 -43
- package/lib/es6/utils/focus-lock/isFocusable.js.map +0 -1
- package/lib/es6/utils/focus-lock/setFocus.js +0 -55
- package/lib/es6/utils/focus-lock/setFocus.js.map +0 -1
- package/lib/es6/utils/getAccessibleName.js +0 -49
- package/lib/es6/utils/getAccessibleName.js.map +0 -1
- package/lib/es6/utils/getDisplayName.js +0 -4
- package/lib/es6/utils/getDisplayName.js.map +0 -1
- package/lib/es6/utils/getEventTarget.js +0 -45
- package/lib/es6/utils/getEventTarget.js.map +0 -1
- package/lib/es6/utils/getOriginChildren.js +0 -10
- package/lib/es6/utils/getOriginChildren.js.map +0 -1
- package/lib/es6/utils/getRandomInt.js +0 -5
- package/lib/es6/utils/getRandomInt.js.map +0 -1
- package/lib/es6/utils/getValue.js +0 -10
- package/lib/es6/utils/getValue.js.map +0 -1
- package/lib/es6/utils/hasLabels.js +0 -39
- package/lib/es6/utils/hasLabels.js.map +0 -1
- package/lib/es6/utils/hasParent.js +0 -7
- package/lib/es6/utils/hasParent.js.map +0 -1
- package/lib/es6/utils/if.js +0 -9
- package/lib/es6/utils/if.js.map +0 -1
- package/lib/es6/utils/ifChildren.js +0 -10
- package/lib/es6/utils/ifChildren.js.map +0 -1
- package/lib/es6/utils/injectStyle.js +0 -41
- package/lib/es6/utils/injectStyle.js.map +0 -1
- package/lib/es6/utils/inputProps.js +0 -14
- package/lib/es6/utils/inputProps.js.map +0 -1
- package/lib/es6/utils/isNode.js +0 -21
- package/lib/es6/utils/isNode.js.map +0 -1
- package/lib/es6/utils/isPromise.js +0 -4
- package/lib/es6/utils/isPromise.js.map +0 -1
- package/lib/es6/utils/isRetina.js +0 -9
- package/lib/es6/utils/isRetina.js.map +0 -1
- package/lib/es6/utils/logger.js +0 -32
- package/lib/es6/utils/logger.js.map +0 -1
- package/lib/es6/utils/numericChecker.js +0 -27
- package/lib/es6/utils/numericChecker.js.map +0 -1
- package/lib/es6/utils/ownerDocument.js +0 -4
- package/lib/es6/utils/ownerDocument.js.map +0 -1
- package/lib/es6/utils/pick.js +0 -13
- package/lib/es6/utils/pick.js.map +0 -1
- package/lib/es6/utils/propsForElement.js +0 -50
- package/lib/es6/utils/propsForElement.js.map +0 -1
- package/lib/es6/utils/rafTrottle.js +0 -26
- package/lib/es6/utils/rafTrottle.js.map +0 -1
- package/lib/es6/utils/reactToText.js +0 -26
- package/lib/es6/utils/reactToText.js.map +0 -1
- package/lib/es6/utils/ref.js +0 -83
- package/lib/es6/utils/ref.js.map +0 -1
- package/lib/es6/utils/setRef.js +0 -3
- package/lib/es6/utils/setRef.js.map +0 -1
- package/lib/es6/utils/syncScroll.js +0 -54
- package/lib/es6/utils/syncScroll.js.map +0 -1
- package/lib/es6/utils/uncontroll.js +0 -38
- package/lib/es6/utils/uncontroll.js.map +0 -1
- package/lib/es6/utils/uniqueID.js +0 -33
- package/lib/es6/utils/uniqueID.js.map +0 -1
- package/lib/es6/utils/use/useColorResolver.js +0 -200
- package/lib/es6/utils/use/useColorResolver.js.map +0 -1
- package/lib/es6/utils/use/useCss.js +0 -12
- package/lib/es6/utils/use/useCss.js.map +0 -1
- package/lib/es6/utils/use/useEnhancedEffect.js +0 -5
- package/lib/es6/utils/use/useEnhancedEffect.js.map +0 -1
- package/lib/es6/utils/use/useEventCallback.js +0 -19
- package/lib/es6/utils/use/useEventCallback.js.map +0 -1
- package/lib/es6/utils/use/useEventListener.js +0 -25
- package/lib/es6/utils/use/useEventListener.js.map +0 -1
- package/lib/es6/utils/use/useFocusLock.js +0 -266
- package/lib/es6/utils/use/useFocusLock.js.map +0 -1
- package/lib/es6/utils/use/usePreventScroll.js +0 -70
- package/lib/es6/utils/use/usePreventScroll.js.map +0 -1
- package/lib/es6/utils/useCssVariable.js +0 -46
- package/lib/es6/utils/useCssVariable.js.map +0 -1
- package/lib/es6/utils/zIndexStacking.js +0 -38
- package/lib/es6/utils/zIndexStacking.js.map +0 -1
- package/lib/register.js +0 -37
- package/lib/register.js.map +0 -1
- package/lib/register.mjs.map +0 -1
- package/lib/styled/index.js +0 -32
- package/lib/styled/index.js.map +0 -1
- package/lib/styled/index.mjs +0 -6
- package/lib/styled/index.mjs.map +0 -1
- package/lib/styled/reshadow-core.js +0 -256
- package/lib/styled/reshadow-core.js.map +0 -1
- package/lib/styled/reshadow-core.mjs.map +0 -1
- package/lib/styled/sstyled.js +0 -149
- package/lib/styled/sstyled.js.map +0 -1
- package/lib/styled/sstyled.mjs.map +0 -1
- package/lib/theme/processor.js +0 -315
- package/lib/theme/processor.js.map +0 -1
- package/lib/theme/processor.mjs +0 -307
- package/lib/theme/processor.mjs.map +0 -1
- package/lib/theme/themes/dark.js +0 -385
- package/lib/theme/themes/dark.js.map +0 -1
- package/lib/theme/themes/dark.mjs +0 -378
- package/lib/theme/themes/dark.mjs.map +0 -1
- package/lib/theme/themes/default.js +0 -394
- package/lib/theme/themes/default.js.map +0 -1
- package/lib/theme/themes/default.mjs +0 -387
- package/lib/theme/themes/default.mjs.map +0 -1
- package/lib/theme/themes/light.js +0 -394
- package/lib/theme/themes/light.js.map +0 -1
- package/lib/theme/themes/light.mjs +0 -387
- package/lib/theme/themes/light.mjs.map +0 -1
- package/lib/theme/utils.js +0 -297
- package/lib/theme/utils.js.map +0 -1
- package/lib/theme/utils.mjs +0 -286
- package/lib/theme/utils.mjs.map +0 -1
- package/lib/types/LastInteractionType.d.ts +0 -11
- package/lib/types/core-types/UnknownProperties.d.ts +0 -3
- package/lib/types/core-types/symbols.d.ts +0 -9
- package/lib/types/register.d.ts +0 -8
- package/lib/types/styled/index.d.ts +0 -11
- package/lib/types/styled/reshadow-core.d.ts +0 -37
- package/lib/types/styled/sstyled.d.ts +0 -17
- package/lib/types/theme/themes/default.d.ts +0 -387
- package/lib/types/utils/CSSinJS.d.ts +0 -5
- package/lib/types/utils/ScreenReaderOnly.d.ts +0 -8
- package/lib/types/utils/ThemeProvider.d.ts +0 -15
- package/lib/types/utils/addonText.d.ts +0 -2
- package/lib/types/utils/addonTextChildren.d.ts +0 -3
- package/lib/types/utils/ariaProps.d.ts +0 -12
- package/lib/types/utils/assignProps.d.ts +0 -11
- package/lib/types/utils/canUseDOM.d.ts +0 -1
- package/lib/types/utils/capitalizeFirstLetter.d.ts +0 -1
- package/lib/types/utils/color.d.ts +0 -5
- package/lib/types/utils/compose.d.ts +0 -1
- package/lib/types/utils/createHoc.d.ts +0 -3
- package/lib/types/utils/createUUID.d.ts +0 -1
- package/lib/types/utils/cssToIntDefault.d.ts +0 -8
- package/lib/types/utils/enhances/WithAutoFocus.d.ts +0 -14
- package/lib/types/utils/enhances/WithCSS.d.ts +0 -41
- package/lib/types/utils/enhances/WithI18n.d.ts +0 -43
- package/lib/types/utils/enhances/WithKeyboardFocus.d.ts +0 -45
- package/lib/types/utils/enhances/WithRef.d.ts +0 -3
- package/lib/types/utils/enhances/a11yEnhance.d.ts +0 -10
- package/lib/types/utils/enhances/animatedSizeEnhance.d.ts +0 -12
- package/lib/types/utils/enhances/autoFocusEnhance.d.ts +0 -10
- package/lib/types/utils/enhances/contextEnhance.d.ts +0 -3
- package/lib/types/utils/enhances/i18nEnhance.d.ts +0 -25
- package/lib/types/utils/enhances/keyboardFocusEnhance.d.ts +0 -27
- package/lib/types/utils/enhances/resolveColorEnhance.d.ts +0 -2
- package/lib/types/utils/eventEmitter.d.ts +0 -9
- package/lib/types/utils/findComponent.d.ts +0 -12
- package/lib/types/utils/fire.d.ts +0 -2
- package/lib/types/utils/focus-lock/focusBorders.d.ts +0 -4
- package/lib/types/utils/focus-lock/getFocusableIn.d.ts +0 -1
- package/lib/types/utils/focus-lock/isFocusInside.d.ts +0 -1
- package/lib/types/utils/focus-lock/isFocusable.d.ts +0 -1
- package/lib/types/utils/focus-lock/setFocus.d.ts +0 -1
- package/lib/types/utils/getAccessibleName.d.ts +0 -1
- package/lib/types/utils/getDisplayName.d.ts +0 -2
- package/lib/types/utils/getEventTarget.d.ts +0 -1
- package/lib/types/utils/getOriginChildren.d.ts +0 -2
- package/lib/types/utils/getRandomInt.d.ts +0 -1
- package/lib/types/utils/getValue.d.ts +0 -1
- package/lib/types/utils/hasLabels.d.ts +0 -7
- package/lib/types/utils/hasParent.d.ts +0 -1
- package/lib/types/utils/if.d.ts +0 -11
- package/lib/types/utils/ifChildren.d.ts +0 -8
- package/lib/types/utils/injectStyle.d.ts +0 -2
- package/lib/types/utils/inputProps.d.ts +0 -2
- package/lib/types/utils/isNode.d.ts +0 -1
- package/lib/types/utils/isPromise.d.ts +0 -1
- package/lib/types/utils/isRetina.d.ts +0 -1
- package/lib/types/utils/logger.d.ts +0 -9
- package/lib/types/utils/numericChecker.d.ts +0 -5
- package/lib/types/utils/ownerDocument.d.ts +0 -1
- package/lib/types/utils/pick.d.ts +0 -1
- package/lib/types/utils/propsForElement.d.ts +0 -3
- package/lib/types/utils/rafTrottle.d.ts +0 -2
- package/lib/types/utils/reactToText.d.ts +0 -3
- package/lib/types/utils/ref.d.ts +0 -8
- package/lib/types/utils/setRef.d.ts +0 -2
- package/lib/types/utils/syncScroll.d.ts +0 -1
- package/lib/types/utils/uncontroll.d.ts +0 -4
- package/lib/types/utils/uniqueID.d.ts +0 -12
- package/lib/types/utils/use/useColorResolver.d.ts +0 -1
- package/lib/types/utils/use/useCss.d.ts +0 -4
- package/lib/types/utils/use/useEnhancedEffect.d.ts +0 -3
- package/lib/types/utils/use/useEventCallback.d.ts +0 -4
- package/lib/types/utils/use/useEventListener.d.ts +0 -2
- package/lib/types/utils/use/useFocusLock.d.ts +0 -10
- package/lib/types/utils/use/usePreventScroll.d.ts +0 -2
- package/lib/types/utils/useCssVariable.d.ts +0 -8
- package/lib/types/utils/zIndexStacking.d.ts +0 -8
- package/lib/utils/CSSinJS.js +0 -36
- package/lib/utils/CSSinJS.js.map +0 -1
- package/lib/utils/CSSinJS.mjs +0 -28
- package/lib/utils/CSSinJS.mjs.map +0 -1
- package/lib/utils/ScreenReaderOnly.js +0 -31
- package/lib/utils/ScreenReaderOnly.js.map +0 -1
- package/lib/utils/ScreenReaderOnly.mjs +0 -24
- package/lib/utils/ScreenReaderOnly.mjs.map +0 -1
- package/lib/utils/ThemeProvider.js +0 -82
- package/lib/utils/ThemeProvider.js.map +0 -1
- package/lib/utils/ThemeProvider.mjs +0 -71
- package/lib/utils/ThemeProvider.mjs.map +0 -1
- package/lib/utils/addonText.js +0 -18
- package/lib/utils/addonText.js.map +0 -1
- package/lib/utils/addonText.mjs +0 -11
- package/lib/utils/addonText.mjs.map +0 -1
- package/lib/utils/addonTextChildren.js +0 -45
- package/lib/utils/addonTextChildren.js.map +0 -1
- package/lib/utils/addonTextChildren.mjs +0 -37
- package/lib/utils/addonTextChildren.mjs.map +0 -1
- package/lib/utils/ariaProps.js +0 -22
- package/lib/utils/ariaProps.js.map +0 -1
- package/lib/utils/ariaProps.mjs +0 -16
- package/lib/utils/ariaProps.mjs.map +0 -1
- package/lib/utils/assignProps.js +0 -93
- package/lib/utils/assignProps.js.map +0 -1
- package/lib/utils/assignProps.mjs.map +0 -1
- package/lib/utils/canUseDOM.js +0 -10
- package/lib/utils/canUseDOM.js.map +0 -1
- package/lib/utils/canUseDOM.mjs.map +0 -1
- package/lib/utils/capitalizeFirstLetter.js +0 -10
- package/lib/utils/capitalizeFirstLetter.js.map +0 -1
- package/lib/utils/capitalizeFirstLetter.mjs.map +0 -1
- package/lib/utils/color.js +0 -208
- package/lib/utils/color.js.map +0 -1
- package/lib/utils/color.mjs +0 -196
- package/lib/utils/color.mjs.map +0 -1
- package/lib/utils/compose.js +0 -21
- package/lib/utils/compose.js.map +0 -1
- package/lib/utils/compose.mjs +0 -15
- package/lib/utils/compose.mjs.map +0 -1
- package/lib/utils/createHoc.js +0 -55
- package/lib/utils/createHoc.js.map +0 -1
- package/lib/utils/createHoc.mjs +0 -46
- package/lib/utils/createHoc.mjs.map +0 -1
- package/lib/utils/createUUID.js +0 -15
- package/lib/utils/createUUID.js.map +0 -1
- package/lib/utils/createUUID.mjs +0 -9
- package/lib/utils/createUUID.mjs.map +0 -1
- package/lib/utils/cssToIntDefault.js +0 -22
- package/lib/utils/cssToIntDefault.js.map +0 -1
- package/lib/utils/cssToIntDefault.mjs +0 -16
- package/lib/utils/cssToIntDefault.mjs.map +0 -1
- package/lib/utils/enhances/WithAutoFocus.js +0 -75
- package/lib/utils/enhances/WithAutoFocus.js.map +0 -1
- package/lib/utils/enhances/WithAutoFocus.mjs +0 -67
- package/lib/utils/enhances/WithAutoFocus.mjs.map +0 -1
- package/lib/utils/enhances/WithCSS.js +0 -93
- package/lib/utils/enhances/WithCSS.js.map +0 -1
- package/lib/utils/enhances/WithCSS.mjs +0 -79
- package/lib/utils/enhances/WithCSS.mjs.map +0 -1
- package/lib/utils/enhances/WithI18n.js +0 -95
- package/lib/utils/enhances/WithI18n.js.map +0 -1
- package/lib/utils/enhances/WithI18n.mjs.map +0 -1
- package/lib/utils/enhances/WithKeyboardFocus.js +0 -93
- package/lib/utils/enhances/WithKeyboardFocus.js.map +0 -1
- package/lib/utils/enhances/WithKeyboardFocus.mjs +0 -84
- package/lib/utils/enhances/WithKeyboardFocus.mjs.map +0 -1
- package/lib/utils/enhances/WithRef.js +0 -26
- package/lib/utils/enhances/WithRef.js.map +0 -1
- package/lib/utils/enhances/WithRef.mjs +0 -18
- package/lib/utils/enhances/WithRef.mjs.map +0 -1
- package/lib/utils/enhances/a11yEnhance.js +0 -74
- package/lib/utils/enhances/a11yEnhance.js.map +0 -1
- package/lib/utils/enhances/a11yEnhance.mjs +0 -66
- package/lib/utils/enhances/a11yEnhance.mjs.map +0 -1
- package/lib/utils/enhances/animatedSizeEnhance.js +0 -98
- package/lib/utils/enhances/animatedSizeEnhance.js.map +0 -1
- package/lib/utils/enhances/animatedSizeEnhance.mjs +0 -90
- package/lib/utils/enhances/animatedSizeEnhance.mjs.map +0 -1
- package/lib/utils/enhances/autoFocusEnhance.js +0 -46
- package/lib/utils/enhances/autoFocusEnhance.js.map +0 -1
- package/lib/utils/enhances/autoFocusEnhance.mjs +0 -38
- package/lib/utils/enhances/autoFocusEnhance.mjs.map +0 -1
- package/lib/utils/enhances/contextEnhance.js +0 -22
- package/lib/utils/enhances/contextEnhance.js.map +0 -1
- package/lib/utils/enhances/contextEnhance.mjs +0 -14
- package/lib/utils/enhances/contextEnhance.mjs.map +0 -1
- package/lib/utils/enhances/i18nEnhance.js +0 -101
- package/lib/utils/enhances/i18nEnhance.js.map +0 -1
- package/lib/utils/enhances/i18nEnhance.mjs +0 -92
- package/lib/utils/enhances/i18nEnhance.mjs.map +0 -1
- package/lib/utils/enhances/keyboardFocusEnhance.js +0 -63
- package/lib/utils/enhances/keyboardFocusEnhance.js.map +0 -1
- package/lib/utils/enhances/keyboardFocusEnhance.mjs +0 -57
- package/lib/utils/enhances/keyboardFocusEnhance.mjs.map +0 -1
- package/lib/utils/enhances/resolveColorEnhance.js +0 -25
- package/lib/utils/enhances/resolveColorEnhance.js.map +0 -1
- package/lib/utils/enhances/resolveColorEnhance.mjs +0 -17
- package/lib/utils/enhances/resolveColorEnhance.mjs.map +0 -1
- package/lib/utils/eventEmitter.js +0 -41
- package/lib/utils/eventEmitter.js.map +0 -1
- package/lib/utils/eventEmitter.mjs +0 -34
- package/lib/utils/eventEmitter.mjs.map +0 -1
- package/lib/utils/findComponent.js +0 -106
- package/lib/utils/findComponent.js.map +0 -1
- package/lib/utils/findComponent.mjs +0 -95
- package/lib/utils/findComponent.mjs.map +0 -1
- package/lib/utils/fire.js +0 -23
- package/lib/utils/fire.js.map +0 -1
- package/lib/utils/fire.mjs +0 -15
- package/lib/utils/fire.mjs.map +0 -1
- package/lib/utils/focus-lock/focusBorders.js +0 -72
- package/lib/utils/focus-lock/focusBorders.js.map +0 -1
- package/lib/utils/focus-lock/focusBorders.mjs +0 -62
- package/lib/utils/focus-lock/focusBorders.mjs.map +0 -1
- package/lib/utils/focus-lock/getFocusableIn.js +0 -26
- package/lib/utils/focus-lock/getFocusableIn.js.map +0 -1
- package/lib/utils/focus-lock/getFocusableIn.mjs +0 -19
- package/lib/utils/focus-lock/getFocusableIn.mjs.map +0 -1
- package/lib/utils/focus-lock/isFocusInside.js +0 -16
- package/lib/utils/focus-lock/isFocusInside.js.map +0 -1
- package/lib/utils/focus-lock/isFocusInside.mjs +0 -9
- package/lib/utils/focus-lock/isFocusInside.mjs.map +0 -1
- package/lib/utils/focus-lock/isFocusable.js +0 -51
- package/lib/utils/focus-lock/isFocusable.js.map +0 -1
- package/lib/utils/focus-lock/isFocusable.mjs +0 -43
- package/lib/utils/focus-lock/isFocusable.mjs.map +0 -1
- package/lib/utils/focus-lock/setFocus.js +0 -63
- package/lib/utils/focus-lock/setFocus.js.map +0 -1
- package/lib/utils/focus-lock/setFocus.mjs +0 -55
- package/lib/utils/focus-lock/setFocus.mjs.map +0 -1
- package/lib/utils/getAccessibleName.js +0 -56
- package/lib/utils/getAccessibleName.js.map +0 -1
- package/lib/utils/getAccessibleName.mjs +0 -49
- package/lib/utils/getAccessibleName.mjs.map +0 -1
- package/lib/utils/getDisplayName.js +0 -10
- package/lib/utils/getDisplayName.js.map +0 -1
- package/lib/utils/getDisplayName.mjs +0 -4
- package/lib/utils/getDisplayName.mjs.map +0 -1
- package/lib/utils/getEventTarget.js +0 -53
- package/lib/utils/getEventTarget.js.map +0 -1
- package/lib/utils/getEventTarget.mjs +0 -45
- package/lib/utils/getEventTarget.mjs.map +0 -1
- package/lib/utils/getOriginChildren.js +0 -18
- package/lib/utils/getOriginChildren.js.map +0 -1
- package/lib/utils/getOriginChildren.mjs +0 -10
- package/lib/utils/getOriginChildren.mjs.map +0 -1
- package/lib/utils/getRandomInt.js +0 -11
- package/lib/utils/getRandomInt.js.map +0 -1
- package/lib/utils/getRandomInt.mjs +0 -5
- package/lib/utils/getRandomInt.mjs.map +0 -1
- package/lib/utils/getValue.js +0 -16
- package/lib/utils/getValue.js.map +0 -1
- package/lib/utils/getValue.mjs +0 -10
- package/lib/utils/getValue.mjs.map +0 -1
- package/lib/utils/hasLabels.js +0 -47
- package/lib/utils/hasLabels.js.map +0 -1
- package/lib/utils/hasLabels.mjs +0 -39
- package/lib/utils/hasLabels.mjs.map +0 -1
- package/lib/utils/hasParent.js +0 -14
- package/lib/utils/hasParent.js.map +0 -1
- package/lib/utils/hasParent.mjs +0 -7
- package/lib/utils/hasParent.mjs.map +0 -1
- package/lib/utils/if.js +0 -16
- package/lib/utils/if.js.map +0 -1
- package/lib/utils/if.mjs +0 -9
- package/lib/utils/if.mjs.map +0 -1
- package/lib/utils/ifChildren.js +0 -17
- package/lib/utils/ifChildren.js.map +0 -1
- package/lib/utils/ifChildren.mjs +0 -10
- package/lib/utils/ifChildren.mjs.map +0 -1
- package/lib/utils/injectStyle.js +0 -49
- package/lib/utils/injectStyle.js.map +0 -1
- package/lib/utils/injectStyle.mjs +0 -41
- package/lib/utils/injectStyle.mjs.map +0 -1
- package/lib/utils/inputProps.js +0 -22
- package/lib/utils/inputProps.js.map +0 -1
- package/lib/utils/inputProps.mjs +0 -14
- package/lib/utils/inputProps.mjs.map +0 -1
- package/lib/utils/isNode.js +0 -28
- package/lib/utils/isNode.js.map +0 -1
- package/lib/utils/isNode.mjs +0 -21
- package/lib/utils/isNode.mjs.map +0 -1
- package/lib/utils/isPromise.js +0 -10
- package/lib/utils/isPromise.js.map +0 -1
- package/lib/utils/isPromise.mjs +0 -4
- package/lib/utils/isPromise.mjs.map +0 -1
- package/lib/utils/isRetina.js +0 -15
- package/lib/utils/isRetina.js.map +0 -1
- package/lib/utils/isRetina.mjs +0 -9
- package/lib/utils/isRetina.mjs.map +0 -1
- package/lib/utils/logger.js +0 -40
- package/lib/utils/logger.js.map +0 -1
- package/lib/utils/logger.mjs.map +0 -1
- package/lib/utils/numericChecker.js +0 -33
- package/lib/utils/numericChecker.js.map +0 -1
- package/lib/utils/numericChecker.mjs +0 -27
- package/lib/utils/numericChecker.mjs.map +0 -1
- package/lib/utils/ownerDocument.js +0 -10
- package/lib/utils/ownerDocument.js.map +0 -1
- package/lib/utils/ownerDocument.mjs +0 -4
- package/lib/utils/ownerDocument.mjs.map +0 -1
- package/lib/utils/pick.js +0 -19
- package/lib/utils/pick.js.map +0 -1
- package/lib/utils/pick.mjs.map +0 -1
- package/lib/utils/propsForElement.js +0 -59
- package/lib/utils/propsForElement.js.map +0 -1
- package/lib/utils/propsForElement.mjs +0 -50
- package/lib/utils/propsForElement.mjs.map +0 -1
- package/lib/utils/rafTrottle.js +0 -33
- package/lib/utils/rafTrottle.js.map +0 -1
- package/lib/utils/rafTrottle.mjs +0 -26
- package/lib/utils/rafTrottle.mjs.map +0 -1
- package/lib/utils/reactToText.js +0 -33
- package/lib/utils/reactToText.js.map +0 -1
- package/lib/utils/reactToText.mjs +0 -26
- package/lib/utils/reactToText.mjs.map +0 -1
- package/lib/utils/ref.js +0 -95
- package/lib/utils/ref.js.map +0 -1
- package/lib/utils/ref.mjs.map +0 -1
- package/lib/utils/setRef.js +0 -10
- package/lib/utils/setRef.js.map +0 -1
- package/lib/utils/setRef.mjs +0 -3
- package/lib/utils/setRef.mjs.map +0 -1
- package/lib/utils/syncScroll.js +0 -61
- package/lib/utils/syncScroll.js.map +0 -1
- package/lib/utils/syncScroll.mjs +0 -54
- package/lib/utils/syncScroll.mjs.map +0 -1
- package/lib/utils/uncontroll.js +0 -47
- package/lib/utils/uncontroll.js.map +0 -1
- package/lib/utils/uncontroll.mjs +0 -38
- package/lib/utils/uncontroll.mjs.map +0 -1
- package/lib/utils/uniqueID.js +0 -42
- package/lib/utils/uniqueID.js.map +0 -1
- package/lib/utils/uniqueID.mjs +0 -33
- package/lib/utils/uniqueID.mjs.map +0 -1
- package/lib/utils/use/useColorResolver.js +0 -208
- package/lib/utils/use/useColorResolver.js.map +0 -1
- package/lib/utils/use/useColorResolver.mjs +0 -200
- package/lib/utils/use/useColorResolver.mjs.map +0 -1
- package/lib/utils/use/useCss.js +0 -20
- package/lib/utils/use/useCss.js.map +0 -1
- package/lib/utils/use/useCss.mjs +0 -12
- package/lib/utils/use/useCss.mjs.map +0 -1
- package/lib/utils/use/useEnhancedEffect.js +0 -13
- package/lib/utils/use/useEnhancedEffect.js.map +0 -1
- package/lib/utils/use/useEnhancedEffect.mjs.map +0 -1
- package/lib/utils/use/useEventCallback.js +0 -25
- package/lib/utils/use/useEventCallback.js.map +0 -1
- package/lib/utils/use/useEventCallback.mjs +0 -19
- package/lib/utils/use/useEventCallback.mjs.map +0 -1
- package/lib/utils/use/useEventListener.js +0 -33
- package/lib/utils/use/useEventListener.js.map +0 -1
- package/lib/utils/use/useEventListener.mjs +0 -25
- package/lib/utils/use/useEventListener.mjs.map +0 -1
- package/lib/utils/use/useFocusLock.js +0 -289
- package/lib/utils/use/useFocusLock.js.map +0 -1
- package/lib/utils/use/useFocusLock.mjs +0 -266
- package/lib/utils/use/useFocusLock.mjs.map +0 -1
- package/lib/utils/use/usePreventScroll.js +0 -78
- package/lib/utils/use/usePreventScroll.js.map +0 -1
- package/lib/utils/use/usePreventScroll.mjs +0 -70
- package/lib/utils/use/usePreventScroll.mjs.map +0 -1
- package/lib/utils/useCssVariable.js +0 -55
- package/lib/utils/useCssVariable.js.map +0 -1
- package/lib/utils/useCssVariable.mjs +0 -46
- package/lib/utils/useCssVariable.mjs.map +0 -1
- package/lib/utils/zIndexStacking.js +0 -48
- package/lib/utils/zIndexStacking.js.map +0 -1
- package/lib/utils/zIndexStacking.mjs +0 -38
- package/lib/utils/zIndexStacking.mjs.map +0 -1
- /package/lib/{types/core-types → core-types}/Component.d.ts +0 -0
- /package/lib/{types/coreFactory.d.ts → coreFactory.d.ts} +0 -0
- /package/lib/{types/enhancement → enhancement}/Children.d.ts +0 -0
- /package/lib/{types/enhancement → enhancement}/Root.d.ts +0 -0
- /package/lib/{types/enhancement → enhancement}/bindHandler.d.ts +0 -0
- /package/lib/{types/enhancement → enhancement}/dataName.d.ts +0 -0
- /package/lib/{types/enhancement → enhancement}/enhance.d.ts +0 -0
- /package/lib/{types/enhancement → enhancement}/functionDefaultProps.d.ts +0 -0
- /package/lib/{types/enhancement → enhancement}/hoistProps.d.ts +0 -0
- /package/lib/{types/enhancement → enhancement}/i18n.d.ts +0 -0
- /package/lib/{types/enhancement → enhancement}/inheritedName.d.ts +0 -0
- /package/lib/{types/enhancement → enhancement}/staticChildren.d.ts +0 -0
- /package/lib/{types/enhancement → enhancement}/style.d.ts +0 -0
- /package/lib/{types/enhancement → enhancement}/uncontrolledProps.d.ts +0 -0
- /package/lib/{types/index.d.ts → index.d.ts} +0 -0
- /package/lib/{types/theme → theme}/processor.d.ts +0 -0
- /package/lib/{types/theme → theme}/themes/dark.d.ts +0 -0
- /package/lib/{types/theme → theme}/themes/light.d.ts +0 -0
- /package/lib/{types/theme → theme}/utils.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function createUUID(): string;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts CSS numeric value to int or returns defaultValue if
|
|
3
|
-
* value is not numeric
|
|
4
|
-
* @param {string} value
|
|
5
|
-
* @param {number} defaultValue
|
|
6
|
-
* @returns {Number|number}
|
|
7
|
-
*/
|
|
8
|
-
export default function cssToIntDefault(value: string, defaultValue?: number): number;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UnknownProperties } from '../../core-types/UnknownProperties';
|
|
3
|
-
/** @deprecated */
|
|
4
|
-
export interface IEnhancedWithAutoFocusProps extends EnhancedWithAutoFocusProps, UnknownProperties {
|
|
5
|
-
}
|
|
6
|
-
export type EnhancedWithAutoFocusProps = {
|
|
7
|
-
/**
|
|
8
|
-
* @default undefined
|
|
9
|
-
*/
|
|
10
|
-
autoFocus?: string | number | boolean;
|
|
11
|
-
children?: (props: IEnhancedWithAutoFocusProps) => React.ReactNode;
|
|
12
|
-
};
|
|
13
|
-
declare const _default: (options?: {} | undefined) => (WrappedComponent: React.ComponentType) => React.ComponentClass<{}, any>;
|
|
14
|
-
export default _default;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React, { PureComponent } from 'react';
|
|
2
|
-
import { NanoOptions } from '@phytonmk/nano-css';
|
|
3
|
-
import { CssLikeObject } from '@phytonmk/nano-css/types/common';
|
|
4
|
-
import { UnknownProperties } from '../../core-types/UnknownProperties';
|
|
5
|
-
declare const getStylesheet: () => string;
|
|
6
|
-
/**
|
|
7
|
-
* Function to clear the nano CSS styles object from keys with undefined value
|
|
8
|
-
* @param {Object} obj - nano CSS styles object
|
|
9
|
-
* @returns {Object}
|
|
10
|
-
*/
|
|
11
|
-
declare function normaliseCss(obj: CssLikeObject): any;
|
|
12
|
-
declare const WithCssContext: React.Context<NanoOptions>;
|
|
13
|
-
declare const Provider: React.Provider<NanoOptions>;
|
|
14
|
-
declare function initNanoCss(options?: NanoOptions): import("@phytonmk/nano-css").NanoRenderer;
|
|
15
|
-
/** @deprecated */
|
|
16
|
-
export interface IEnhancedWithCSSProps extends EnhancedWithCSSProps, UnknownProperties {
|
|
17
|
-
}
|
|
18
|
-
export type EnhancedWithCSSProps = {
|
|
19
|
-
className?: string;
|
|
20
|
-
css?: {};
|
|
21
|
-
children(props: {
|
|
22
|
-
className: string | undefined;
|
|
23
|
-
}): React.ReactNode;
|
|
24
|
-
};
|
|
25
|
-
declare class EnhancedWithCSS extends PureComponent<IEnhancedWithCSSProps> {
|
|
26
|
-
static contextType: React.Context<NanoOptions>;
|
|
27
|
-
static defaultProps: {
|
|
28
|
-
css: {};
|
|
29
|
-
};
|
|
30
|
-
state: {
|
|
31
|
-
dynamicClassName: string;
|
|
32
|
-
};
|
|
33
|
-
static getDerivedStateFromProps(props: any): {
|
|
34
|
-
dynamicClassName: string | undefined;
|
|
35
|
-
};
|
|
36
|
-
constructor(props: any, context: any);
|
|
37
|
-
render(): React.ReactNode;
|
|
38
|
-
}
|
|
39
|
-
export { getStylesheet, EnhancedWithCSS, Provider, WithCssContext, initNanoCss, normaliseCss };
|
|
40
|
-
declare const _default: (options?: {} | undefined) => (WrappedComponent: React.ComponentType) => React.ComponentClass<{}, any>;
|
|
41
|
-
export default _default;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
import { UnknownProperties } from '../../core-types/UnknownProperties';
|
|
3
|
-
export type LocaleKeys = string;
|
|
4
|
-
export type DictionaryItem = {
|
|
5
|
-
[key: string]: string;
|
|
6
|
-
};
|
|
7
|
-
export type Dictionary = {
|
|
8
|
-
[locale: string]: DictionaryItem | (() => Promise<DictionaryItem>);
|
|
9
|
-
};
|
|
10
|
-
export declare const Context: React.Context<string | undefined>;
|
|
11
|
-
declare const I18nProvider: React.Provider<string | undefined>, I18nConsumer: React.Consumer<string | undefined>;
|
|
12
|
-
declare function getText(dictionaries: Dictionary, locale: LocaleKeys): (key: keyof DictionaryItem) => any;
|
|
13
|
-
/** @deprecated */
|
|
14
|
-
export interface IWithI18nInjectedProps extends WithI18nInjectedProps, UnknownProperties {
|
|
15
|
-
}
|
|
16
|
-
export type WithI18nInjectedProps = {
|
|
17
|
-
getText: WithI18n['getText'];
|
|
18
|
-
};
|
|
19
|
-
/** @deprecated */
|
|
20
|
-
export interface IWithI18nProps extends WithI18nProps, UnknownProperties {
|
|
21
|
-
}
|
|
22
|
-
export type WithI18nProps = WithI18nInjectedProps & {
|
|
23
|
-
locale?: LocaleKeys;
|
|
24
|
-
children?(props: IWithI18nInjectedProps): React.ReactNode;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated use `useI18n` instead
|
|
28
|
-
*/
|
|
29
|
-
declare class WithI18n extends Component<IWithI18nProps> {
|
|
30
|
-
context: LocaleKeys;
|
|
31
|
-
static contextType: React.Context<string | undefined>;
|
|
32
|
-
static defaultProps: {
|
|
33
|
-
getText: typeof getText;
|
|
34
|
-
};
|
|
35
|
-
getText: (dictionary: Dictionary, selfLocale?: string) => string;
|
|
36
|
-
render(): any;
|
|
37
|
-
}
|
|
38
|
-
declare const useI18n: (dictionary: Dictionary, locale?: LocaleKeys, fallbackDictionary?: Dictionary) => (messageId: string, variables?: {
|
|
39
|
-
[key: string]: string | number | undefined;
|
|
40
|
-
} | undefined) => string;
|
|
41
|
-
declare const _default: (options?: {} | undefined) => (WrappedComponent: React.ComponentType) => React.ComponentClass<{}, any>;
|
|
42
|
-
export default _default;
|
|
43
|
-
export { useI18n, I18nProvider, I18nConsumer };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import React, { PureComponent } from 'react';
|
|
2
|
-
import { UnknownProperties } from '../../core-types/UnknownProperties';
|
|
3
|
-
/** @deprecated */
|
|
4
|
-
export interface IEnhancedWithKeyboardFocusInjectedProps extends EnhancedWithKeyboardFocusInjectedProps {
|
|
5
|
-
}
|
|
6
|
-
export type EnhancedWithKeyboardFocusInjectedProps = {
|
|
7
|
-
tabIndex: number;
|
|
8
|
-
keyboardFocused: boolean;
|
|
9
|
-
onFocus(e: FocusEvent): void;
|
|
10
|
-
onBlur(e: FocusEvent): void;
|
|
11
|
-
onKeyDown(e: KeyboardEvent): void;
|
|
12
|
-
onMouseDown(e: MouseEvent): void;
|
|
13
|
-
};
|
|
14
|
-
/** @deprecated */
|
|
15
|
-
export interface IEnhancedWithKeyboardFocusProps extends EnhancedWithKeyboardFocusProps, UnknownProperties {
|
|
16
|
-
}
|
|
17
|
-
export type EnhancedWithKeyboardFocusProps = {
|
|
18
|
-
keyboardFocused?: boolean;
|
|
19
|
-
tabIndex?: number;
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
children(props: IEnhancedWithKeyboardFocusInjectedProps): React.ReactNode;
|
|
22
|
-
};
|
|
23
|
-
/** @deprecated */
|
|
24
|
-
export interface IEnhancedWithKeyboardFocusState extends EnhancedWithKeyboardFocusState, UnknownProperties {
|
|
25
|
-
}
|
|
26
|
-
export type EnhancedWithKeyboardFocusState = {
|
|
27
|
-
keyboardFocused: boolean;
|
|
28
|
-
};
|
|
29
|
-
export declare class EnhancedWithKeyboardFocus extends PureComponent<IEnhancedWithKeyboardFocusProps, IEnhancedWithKeyboardFocusState> {
|
|
30
|
-
static displayName: string;
|
|
31
|
-
static defaultProps: {
|
|
32
|
-
tabIndex: number;
|
|
33
|
-
};
|
|
34
|
-
static getDerivedStateFromProps(props: any, state: any): any;
|
|
35
|
-
state: {
|
|
36
|
-
keyboardFocused: boolean;
|
|
37
|
-
};
|
|
38
|
-
handlerFocus: (e: FocusEvent) => void;
|
|
39
|
-
handlerBlur: (e: FocusEvent) => void;
|
|
40
|
-
handlerKeyDown: (e: KeyboardEvent) => void;
|
|
41
|
-
handlerMouseDown: (e: MouseEvent) => void;
|
|
42
|
-
render(): React.ReactNode;
|
|
43
|
-
}
|
|
44
|
-
declare const _default: (options?: {} | undefined) => (WrappedComponent: React.ComponentType) => React.ComponentClass<{}, any>;
|
|
45
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type OnNeighborChange<P> = (neighborElement: HTMLElement, props: P) => void;
|
|
2
|
-
type FindNeighbor = (listSelectors: HTMLElement[], element: HTMLElement, direction: string) => HTMLElement | undefined;
|
|
3
|
-
type ChildSelector<P> = [string, string] | ((props: P) => [string, string]);
|
|
4
|
-
type A11yEnhanceOptions<P = any> = {
|
|
5
|
-
findNeighbor?: FindNeighbor;
|
|
6
|
-
onNeighborChange?: OnNeighborChange<P>;
|
|
7
|
-
childSelector: ChildSelector<P>;
|
|
8
|
-
};
|
|
9
|
-
declare const a11yEnhance: (options: A11yEnhanceOptions) => (props: any) => any;
|
|
10
|
-
export default a11yEnhance;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { UnknownProperties } from '../../core-types/UnknownProperties';
|
|
2
|
-
/** @deprecated */
|
|
3
|
-
export interface IWithAnimatedSizeEnhanceProps extends WithAnimatedSizeEnhanceProps, UnknownProperties {
|
|
4
|
-
}
|
|
5
|
-
export type WithAnimatedSizeEnhanceProps = {
|
|
6
|
-
animationsDisabled?: boolean;
|
|
7
|
-
};
|
|
8
|
-
declare function animatedSizeEnhance({ animateProps, onChangeOf, }: {
|
|
9
|
-
animateProps: ('width' | 'height')[];
|
|
10
|
-
onChangeOf: string[];
|
|
11
|
-
}): (props: any) => any;
|
|
12
|
-
export default animatedSizeEnhance;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { UnknownProperties } from '../../core-types/UnknownProperties';
|
|
2
|
-
/** @deprecated */
|
|
3
|
-
export interface IWithAutoFocusEnhanceProps extends WithAutoFocusEnhanceProps, UnknownProperties {
|
|
4
|
-
}
|
|
5
|
-
export type WithAutoFocusEnhanceProps = {
|
|
6
|
-
/** Native autofocus, but with support for working inside modals, you can also transmit the number of ms before focus is triggered */
|
|
7
|
-
autoFocus?: boolean | number;
|
|
8
|
-
};
|
|
9
|
-
declare function autoFocusEnhance(): (props: any) => any;
|
|
10
|
-
export default autoFocusEnhance;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { LocaleKeys, useI18n } from './WithI18n';
|
|
2
|
-
import { UnknownProperties } from '../../core-types/UnknownProperties';
|
|
3
|
-
/** @deprecated */
|
|
4
|
-
export interface IWithI18nEnhanceProps extends WithI18nEnhanceProps, UnknownProperties {
|
|
5
|
-
}
|
|
6
|
-
export type WithI18nEnhanceProps = {
|
|
7
|
-
getI18nText?: (key?: string, variables?: {}) => any;
|
|
8
|
-
i18n?: {
|
|
9
|
-
[locale: string]: {
|
|
10
|
-
[key: string]: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
locale?: LocaleKeys;
|
|
14
|
-
};
|
|
15
|
-
type Messages = {
|
|
16
|
-
[messageId: string]: string;
|
|
17
|
-
};
|
|
18
|
-
type MessagesContainer = {
|
|
19
|
-
[locale: string]: Messages | (() => Promise<Messages>);
|
|
20
|
-
};
|
|
21
|
-
export declare const useAsyncI18nMessages: (primaryContainer: MessagesContainer, locale: string, fallbackContainer?: MessagesContainer) => Messages;
|
|
22
|
-
declare const _default: (container?: MessagesContainer) => (props: any) => {
|
|
23
|
-
getI18nText: ReturnType<typeof useI18n>;
|
|
24
|
-
};
|
|
25
|
-
export default _default;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UnknownProperties } from '../../core-types/UnknownProperties';
|
|
3
|
-
/** @deprecated */
|
|
4
|
-
export interface IKeyboardFocusProps extends KeyboardFocusProps, UnknownProperties {
|
|
5
|
-
}
|
|
6
|
-
export type KeyboardFocusProps = {
|
|
7
|
-
keyboardFocused?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Makes component to catch browser focus on component mount
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
autoFocus?: boolean;
|
|
13
|
-
};
|
|
14
|
-
export declare const enforcedKeyboardFocusEnhanceContext: React.Context<boolean>;
|
|
15
|
-
export type KeyboardFocusEnhanceHook = (props: {
|
|
16
|
-
tabIndex?: number;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
loading?: boolean;
|
|
19
|
-
autoFocus?: boolean;
|
|
20
|
-
}) => {
|
|
21
|
-
tabIndex: number;
|
|
22
|
-
keyboardFocused: boolean;
|
|
23
|
-
onFocus: (e: React.FocusEvent) => void;
|
|
24
|
-
onBlur: () => void;
|
|
25
|
-
};
|
|
26
|
-
declare const keyboardFocusEnhance: (makeFocusable?: boolean) => KeyboardFocusEnhanceHook;
|
|
27
|
-
export default keyboardFocusEnhance;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
type DefaultEmit = (eventName: string, ...args: any[]) => void;
|
|
2
|
-
type DefaultSubscribe = (eventName: string, fn: any) => () => void;
|
|
3
|
-
export default class EventEmitter<Emit = DefaultEmit, Subscribe = DefaultSubscribe> {
|
|
4
|
-
private events;
|
|
5
|
-
constructor();
|
|
6
|
-
emit: Emit;
|
|
7
|
-
subscribe: Subscribe;
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode, MutableRefObject } from 'react';
|
|
2
|
-
declare function findComponent(Children: any, names: string[], recursively?: boolean, limit?: number): Exclude<ReactNode, boolean | null | undefined> | undefined;
|
|
3
|
-
export declare function isAdvanceMode(Children: any, name: string[], recursively?: boolean): boolean;
|
|
4
|
-
type IntergalacticComponent = ReactElement & {
|
|
5
|
-
ref?: MutableRefObject<HTMLElement>;
|
|
6
|
-
};
|
|
7
|
-
export declare function findAllComponents(Children: any, names: string[]): IntergalacticComponent[];
|
|
8
|
-
/**
|
|
9
|
-
* Extract some components from Children and return them and rest of components as tuple.
|
|
10
|
-
*/
|
|
11
|
-
export declare function extractFrom(Children: any, names: string[]): IntergalacticComponent[][];
|
|
12
|
-
export default findComponent;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const BEFORE_BORDER_ID = "__intergalactic-focus-border-before";
|
|
2
|
-
export declare const AFTER_BORDER_ID = "__intergalactic-focus-border-after";
|
|
3
|
-
export declare const addFocusBorders: (element: HTMLElement) => void;
|
|
4
|
-
export declare const removeFocusBorders: (element: HTMLElement) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getFocusableIn: (node: HTMLElement) => HTMLElement[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const isFocusInside: (topNode: HTMLElement | HTMLElement[], actualActiveElement?: HTMLElement) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const isFocusable: (node: Node) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const setFocus: (node: HTMLElement, previousActiveElement?: HTMLElement | null, actualActiveElement?: HTMLElement, focusOptions?: FocusOptions) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getAccessibleName(element: HTMLElement | null): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getEventTarget: (event: React.SyntheticEvent | Event) => EventTarget | null;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function getRandomInt(min: number, max: number): number;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function getValue(obj: any, path: string | string[], def?: any): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const hasParent: (element: Element | null | undefined, parent: Element) => boolean;
|
package/lib/types/utils/if.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { UnknownProperties } from '../core-types/UnknownProperties';
|
|
2
|
-
import { FC, ReactNode } from 'react';
|
|
3
|
-
/** @deprecated */
|
|
4
|
-
export interface IIfProps extends IfProps, UnknownProperties {
|
|
5
|
-
}
|
|
6
|
-
export type IfProps = {
|
|
7
|
-
condition: boolean;
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
};
|
|
10
|
-
declare const If: FC<IIfProps>;
|
|
11
|
-
export default If;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type IfChildrenType<T> = ((props: T) => React.ReactNode) | React.ReactNode;
|
|
3
|
-
export interface IIfChildrenProps<T extends {}> {
|
|
4
|
-
context: T;
|
|
5
|
-
children: IfChildrenType<T>;
|
|
6
|
-
}
|
|
7
|
-
declare function IfChildren<T extends {}>(props: IIfChildrenProps<T>): React.ReactNode;
|
|
8
|
-
export default IfChildren;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const inputProps: string[];
|
|
2
|
-
export default function getInputProps<T extends Partial<Record<K[number], any>>, K extends Array<keyof T>>(props: T, propsList?: K, allAriaPropsToControl?: boolean): [Partial<Pick<T, Extract<keyof T, K[number]>>>, Partial<Pick<T, Exclude<keyof T, K[number]>>>];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function isNode(node?: any): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function isPromise(resultFn: any): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function isRetina(): boolean;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare class Logger {
|
|
2
|
-
private logger;
|
|
3
|
-
constructor(logger?: typeof console);
|
|
4
|
-
console(level: string, msg: string, component: any): void;
|
|
5
|
-
warn(condition: any, msg: string, component: any): void;
|
|
6
|
-
}
|
|
7
|
-
export { Logger };
|
|
8
|
-
declare const _default: Logger;
|
|
9
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function ownerDocument(node?: Node): Document;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function pick<T extends {}, K extends keyof T>(obj: T, keys: K[]): Pick<T, K>;
|
package/lib/types/utils/ref.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { MutableRefObject, Ref, RefObject } from 'react';
|
|
2
|
-
export declare function setRef<T>(ref: Ref<T>, value: T): void;
|
|
3
|
-
export declare function getRef(ref: RefObject<Element> | Element): Element | null;
|
|
4
|
-
export declare function useCallbackRef<T>(initialValue: T | null, callback: (newValue: T | null, lastValue: T | null) => void): MutableRefObject<T | null>;
|
|
5
|
-
export declare function useForkRef<T>(...refs: Ref<T>[]): Ref<T>;
|
|
6
|
-
export declare function forkRef<T>(...refs: Ref<T>[]): Ref<T>;
|
|
7
|
-
export type NodeByRef = RefObject<Element> | Element | (() => RefObject<Element> | Element);
|
|
8
|
-
export declare function getNodeByRef(ref: NodeByRef): Element | null;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function syncScroll(): (name: string) => (ref: any) => void;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Component, PureComponent } from 'react';
|
|
2
|
-
export declare function isControlled<P extends {}, S extends {}, C extends Component<P, S> | PureComponent<P, S>>(self: C, prop: keyof P): boolean;
|
|
3
|
-
export declare function getState<C extends Component | PureComponent>(self: C, state?: C['state']): any;
|
|
4
|
-
export declare function internalSetState<T, C extends Component<any, T> | PureComponent<any, T>>(self: C, changes: Partial<T> | ((combinedState: Partial<T>) => Partial<T>), callback?: () => void): void;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { UnknownProperties } from '../core-types/UnknownProperties';
|
|
2
|
-
/** @deprecated */
|
|
3
|
-
export interface IUniqueIDProps extends UniqueIDProps, UnknownProperties {
|
|
4
|
-
}
|
|
5
|
-
export type UniqueIDProps = {
|
|
6
|
-
uid?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const useUID: (prefix?: string) => string;
|
|
9
|
-
declare const _default: (prefix?: string) => (props: any) => {
|
|
10
|
-
uid: ReturnType<typeof useUID>;
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useColorResolver: () => (color?: string) => any;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { isFocusInside } from '../focus-lock/isFocusInside';
|
|
2
|
-
import { setFocus } from '../focus-lock/setFocus';
|
|
3
|
-
export { isFocusInside, setFocus };
|
|
4
|
-
/**
|
|
5
|
-
* Synthetic event are special events that always bypass all propagation guards and reaches focus lock event listeners.
|
|
6
|
-
* You should always prevent native event propagation in order to prevent focus enforcing double calls.
|
|
7
|
-
*/
|
|
8
|
-
export declare const makeFocusLockSyntheticEvent: (baseEvent: Event) => Event;
|
|
9
|
-
export declare const useFocusLock: (trapRef: React.RefObject<HTMLElement>, autoFocus: boolean | 'enforced', returnFocusTo: React.RefObject<HTMLElement> | null | 'auto', disabled?: boolean, focusMaster?: boolean, onFocusOut?: ((event: Event) => void) | undefined) => any;
|
|
10
|
-
export declare const hasFocusableIn: (element: HTMLElement) => boolean;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const useCssVariable: (name: string, fallbackValue: string, ref?: React.RefObject<any>) => string;
|
|
3
|
-
export declare const cssVariableEnhance: <P extends string, F = string, R = string, M extends ((value: string) => R) | null = any>({ variable, fallback, prop, map, }: {
|
|
4
|
-
variable: string;
|
|
5
|
-
prop: P;
|
|
6
|
-
fallback: F;
|
|
7
|
-
map?: M | undefined;
|
|
8
|
-
}) => <T extends {}>(props: T) => T & { [key in P]: M extends (value: string) => R ? R : F; };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type ZIndexDesignTokens = 'z-index-deep' | 'z-index-overlay' | 'z-index-modal' | 'z-index-popper' | 'z-index-dropdown' | 'z-index-tooltip' | 'z-index-notice-bubble';
|
|
3
|
-
export declare const useZIndexStacking: (designToken?: ZIndexDesignTokens) => number;
|
|
4
|
-
export declare const ZIndexStackingContextProvider: React.FC<{
|
|
5
|
-
designToken: ZIndexDesignTokens;
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
}>;
|
|
8
|
-
export declare const zIndexStackingEnhance: (designToken?: ZIndexDesignTokens) => (props: any) => any;
|
package/lib/utils/CSSinJS.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.createStyle = createStyle;
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
10
|
-
var _nanoCss = require("@phytonmk/nano-css");
|
|
11
|
-
var _rule = require("@phytonmk/nano-css/addon/rule");
|
|
12
|
-
var _cache = require("@phytonmk/nano-css/addon/cache");
|
|
13
|
-
var _prefixer = require("@phytonmk/nano-css/addon/prefixer");
|
|
14
|
-
var _hydrate = require("@phytonmk/nano-css/addon/hydrate");
|
|
15
|
-
var _nano = null;
|
|
16
|
-
function style(opt) {
|
|
17
|
-
if (!_nano) {
|
|
18
|
-
_nano = createStyle(opt);
|
|
19
|
-
}
|
|
20
|
-
return _nano;
|
|
21
|
-
}
|
|
22
|
-
function createStyle() {
|
|
23
|
-
var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
24
|
-
var nano = (0, _nanoCss.create)((0, _objectSpread2["default"])({
|
|
25
|
-
pfx: 'css',
|
|
26
|
-
verbose: true
|
|
27
|
-
}, opt));
|
|
28
|
-
(0, _cache.addon)(nano);
|
|
29
|
-
(0, _rule.addon)(nano);
|
|
30
|
-
(0, _prefixer.addon)(nano);
|
|
31
|
-
(0, _hydrate.addon)(nano);
|
|
32
|
-
return nano;
|
|
33
|
-
}
|
|
34
|
-
var _default = style;
|
|
35
|
-
exports["default"] = _default;
|
|
36
|
-
//# sourceMappingURL=CSSinJS.js.map
|
package/lib/utils/CSSinJS.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CSSinJS.js","names":["_nanoCss","require","_rule","_cache","_prefixer","_hydrate","_nano","style","opt","createStyle","arguments","length","undefined","nano","create","_objectSpread2","pfx","verbose","addonCache","addonRule","addonPrefixer","addonHydrate","_default","exports"],"sources":["../../src/utils/CSSinJS.ts"],"sourcesContent":["import { create, NanoOptions, NanoRenderer } from '@phytonmk/nano-css';\nimport { addon as addonRule } from '@phytonmk/nano-css/addon/rule';\nimport { addon as addonCache } from '@phytonmk/nano-css/addon/cache';\nimport { addon as addonPrefixer } from '@phytonmk/nano-css/addon/prefixer';\nimport { addon as addonHydrate } from '@phytonmk/nano-css/addon/hydrate';\n\nlet _nano: any = null;\n\nfunction style(opt?: NanoOptions): NanoRenderer {\n if (!_nano) {\n _nano = createStyle(opt);\n }\n return _nano;\n}\n\nfunction createStyle(opt: NanoOptions = {}): NanoRenderer {\n const nano = create({ pfx: 'css', verbose: true, ...opt });\n\n addonCache(nano);\n addonRule(nano);\n addonPrefixer(nano);\n addonHydrate(nano);\n\n return nano;\n}\n\nexport { createStyle };\n\nexport default style;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAEA,IAAIK,KAAU,GAAG,IAAI;AAErB,SAASC,KAAKA,CAACC,GAAiB,EAAgB;EAC9C,IAAI,CAACF,KAAK,EAAE;IACVA,KAAK,GAAGG,WAAW,CAACD,GAAG,CAAC;EAC1B;EACA,OAAOF,KAAK;AACd;AAEA,SAASG,WAAWA,CAAA,EAAsC;EAAA,IAArCD,GAAgB,GAAAE,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACxC,IAAMG,IAAI,GAAG,IAAAC,eAAM,MAAAC,cAAA;IAAGC,GAAG,EAAE,KAAK;IAAEC,OAAO,EAAE;EAAI,GAAKT,GAAG,EAAG;EAE1D,IAAAU,YAAU,EAACL,IAAI,CAAC;EAChB,IAAAM,WAAS,EAACN,IAAI,CAAC;EACf,IAAAO,eAAa,EAACP,IAAI,CAAC;EACnB,IAAAQ,cAAY,EAACR,IAAI,CAAC;EAElB,OAAOA,IAAI;AACb;AAAC,IAAAS,QAAA,GAIcf,KAAK;AAAAgB,OAAA,cAAAD,QAAA"}
|
package/lib/utils/CSSinJS.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import _objectSpread from "@babel/runtime/helpers/objectSpread2";
|
|
2
|
-
import { create } from '@phytonmk/nano-css';
|
|
3
|
-
import { addon as addonRule } from '@phytonmk/nano-css/addon/rule';
|
|
4
|
-
import { addon as addonCache } from '@phytonmk/nano-css/addon/cache';
|
|
5
|
-
import { addon as addonPrefixer } from '@phytonmk/nano-css/addon/prefixer';
|
|
6
|
-
import { addon as addonHydrate } from '@phytonmk/nano-css/addon/hydrate';
|
|
7
|
-
var _nano = null;
|
|
8
|
-
function style(opt) {
|
|
9
|
-
if (!_nano) {
|
|
10
|
-
_nano = createStyle(opt);
|
|
11
|
-
}
|
|
12
|
-
return _nano;
|
|
13
|
-
}
|
|
14
|
-
function createStyle() {
|
|
15
|
-
var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
16
|
-
var nano = create(_objectSpread({
|
|
17
|
-
pfx: 'css',
|
|
18
|
-
verbose: true
|
|
19
|
-
}, opt));
|
|
20
|
-
addonCache(nano);
|
|
21
|
-
addonRule(nano);
|
|
22
|
-
addonPrefixer(nano);
|
|
23
|
-
addonHydrate(nano);
|
|
24
|
-
return nano;
|
|
25
|
-
}
|
|
26
|
-
export { createStyle };
|
|
27
|
-
export default style;
|
|
28
|
-
//# sourceMappingURL=CSSinJS.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CSSinJS.mjs","names":["create","addon","addonRule","addonCache","addonPrefixer","addonHydrate","_nano","style","opt","createStyle","arguments","length","undefined","nano","_objectSpread","pfx","verbose"],"sources":["../../src/utils/CSSinJS.ts"],"sourcesContent":["import { create, NanoOptions, NanoRenderer } from '@phytonmk/nano-css';\nimport { addon as addonRule } from '@phytonmk/nano-css/addon/rule';\nimport { addon as addonCache } from '@phytonmk/nano-css/addon/cache';\nimport { addon as addonPrefixer } from '@phytonmk/nano-css/addon/prefixer';\nimport { addon as addonHydrate } from '@phytonmk/nano-css/addon/hydrate';\n\nlet _nano: any = null;\n\nfunction style(opt?: NanoOptions): NanoRenderer {\n if (!_nano) {\n _nano = createStyle(opt);\n }\n return _nano;\n}\n\nfunction createStyle(opt: NanoOptions = {}): NanoRenderer {\n const nano = create({ pfx: 'css', verbose: true, ...opt });\n\n addonCache(nano);\n addonRule(nano);\n addonPrefixer(nano);\n addonHydrate(nano);\n\n return nano;\n}\n\nexport { createStyle };\n\nexport default style;\n"],"mappings":";AAAA,SAASA,MAAM,QAAmC,oBAAoB;AACtE,SAASC,KAAK,IAAIC,SAAS,QAAQ,+BAA+B;AAClE,SAASD,KAAK,IAAIE,UAAU,QAAQ,gCAAgC;AACpE,SAASF,KAAK,IAAIG,aAAa,QAAQ,mCAAmC;AAC1E,SAASH,KAAK,IAAII,YAAY,QAAQ,kCAAkC;AAExE,IAAIC,KAAU,GAAG,IAAI;AAErB,SAASC,KAAKA,CAACC,GAAiB,EAAgB;EAC9C,IAAI,CAACF,KAAK,EAAE;IACVA,KAAK,GAAGG,WAAW,CAACD,GAAG,CAAC;EAC1B;EACA,OAAOF,KAAK;AACd;AAEA,SAASG,WAAWA,CAAA,EAAsC;EAAA,IAArCD,GAAgB,GAAAE,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACxC,IAAMG,IAAI,GAAGb,MAAM,CAAAc,aAAA;IAAGC,GAAG,EAAE,KAAK;IAAEC,OAAO,EAAE;EAAI,GAAKR,GAAG,EAAG;EAE1DL,UAAU,CAACU,IAAI,CAAC;EAChBX,SAAS,CAACW,IAAI,CAAC;EACfT,aAAa,CAACS,IAAI,CAAC;EACnBR,YAAY,CAACQ,IAAI,CAAC;EAElB,OAAOA,IAAI;AACb;AAEA,SAASJ,WAAW;AAEpB,eAAeF,KAAK"}
|