@audira/carbon-react-native 0.0.1-alpha.13 → 0.0.1-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -8
- package/lib/commonjs/_carbon-react-native/index.js +3 -1
- package/lib/commonjs/_carbon-react-native/index.js.map +1 -1
- package/lib/commonjs/_style-sheet/breakpoint.js +18 -0
- package/lib/commonjs/_style-sheet/breakpoint.js.map +1 -0
- package/lib/commonjs/_style-sheet/color.js +12 -0
- package/lib/commonjs/_style-sheet/color.js.map +1 -0
- package/lib/commonjs/_style-sheet/create.js +80 -26
- package/lib/commonjs/_style-sheet/create.js.map +1 -1
- package/lib/commonjs/_style-sheet/index.js +12 -1
- package/lib/commonjs/_style-sheet/index.js.map +1 -1
- package/lib/commonjs/_style-sheet/use.js +18 -0
- package/lib/commonjs/_style-sheet/use.js.map +1 -0
- package/lib/commonjs/components/accordion/_header.js +33 -35
- package/lib/commonjs/components/accordion/_header.js.map +1 -1
- package/lib/commonjs/components/button/base/index.js +5 -5
- package/lib/commonjs/components/button/base/index.js.map +1 -1
- package/lib/commonjs/components/button/ghost/index.js +10 -10
- package/lib/commonjs/components/button/ghost/index.js.map +1 -1
- package/lib/commonjs/components/button/ghost-danger/index.js +11 -11
- package/lib/commonjs/components/button/ghost-danger/index.js.map +1 -1
- package/lib/commonjs/components/button/ghost-icon/index.js +6 -6
- package/lib/commonjs/components/button/ghost-icon/index.js.map +1 -1
- package/lib/commonjs/components/button/primary/index.js +12 -12
- package/lib/commonjs/components/button/primary/index.js.map +1 -1
- package/lib/commonjs/components/button/primary-danger/index.js +12 -12
- package/lib/commonjs/components/button/primary-danger/index.js.map +1 -1
- package/lib/commonjs/components/button/secondary/index.js +12 -12
- package/lib/commonjs/components/button/secondary/index.js.map +1 -1
- package/lib/commonjs/components/button/tertiary/index.js +15 -15
- package/lib/commonjs/components/button/tertiary/index.js.map +1 -1
- package/lib/commonjs/components/button/tertiary-danger/index.js +14 -14
- package/lib/commonjs/components/button/tertiary-danger/index.js.map +1 -1
- package/lib/commonjs/components/checkbox/index.js +16 -18
- package/lib/commonjs/components/checkbox/index.js.map +1 -1
- package/lib/commonjs/components/checkbox-input/index.js +35 -37
- package/lib/commonjs/components/checkbox-input/index.js.map +1 -1
- package/lib/commonjs/contexts/breakpoint/BreakpointContext.js +9 -0
- package/lib/commonjs/contexts/breakpoint/BreakpointContext.js.map +1 -0
- package/lib/commonjs/contexts/breakpoint/index.js +17 -0
- package/lib/commonjs/contexts/breakpoint/index.js.map +1 -0
- package/lib/commonjs/contexts/global-config/GlobalConfigContext.js +13 -0
- package/lib/commonjs/contexts/global-config/GlobalConfigContext.js.map +1 -0
- package/lib/commonjs/contexts/global-config/index.js +10 -6
- package/lib/commonjs/contexts/global-config/index.js.map +1 -1
- package/lib/commonjs/contexts/index.js +41 -18
- package/lib/commonjs/contexts/index.js.map +1 -1
- package/lib/commonjs/contexts/theme/ThemeContext.js +14 -0
- package/lib/commonjs/contexts/theme/ThemeContext.js.map +1 -0
- package/lib/commonjs/contexts/theme/index.js +10 -7
- package/lib/commonjs/contexts/theme/index.js.map +1 -1
- package/lib/commonjs/contexts/toast/ToastContext.js +16 -0
- package/lib/commonjs/contexts/toast/ToastContext.js.map +1 -0
- package/lib/commonjs/contexts/toast/ToastContextShowConfig.js +2 -0
- package/lib/commonjs/contexts/toast/ToastContextShowConfig.js.map +1 -0
- package/lib/commonjs/contexts/toast/index.js +21 -9
- package/lib/commonjs/contexts/toast/index.js.map +1 -1
- package/lib/commonjs/globals/breakpoint/index.js +15 -0
- package/lib/commonjs/globals/breakpoint/index.js.map +1 -0
- package/lib/commonjs/globals/index.js +3 -1
- package/lib/commonjs/globals/index.js.map +1 -1
- package/lib/commonjs/{providers/toast/_types → hooks}/index.js +4 -4
- package/lib/commonjs/hooks/index.js.map +1 -0
- package/lib/commonjs/hooks/use-breakpoint/index.js +17 -0
- package/lib/commonjs/hooks/use-breakpoint/index.js.map +1 -0
- package/lib/commonjs/hooks/use-breakpoint/useBreakpoint.js +17 -0
- package/lib/commonjs/hooks/use-breakpoint/useBreakpoint.js.map +1 -0
- package/lib/commonjs/providers/breakpoint/BreakpointProvider.js +23 -0
- package/lib/commonjs/providers/breakpoint/BreakpointProvider.js.map +1 -0
- package/lib/commonjs/providers/breakpoint/BreakpointProviderProps.js +2 -0
- package/lib/commonjs/providers/breakpoint/BreakpointProviderProps.js.map +1 -0
- package/lib/commonjs/providers/breakpoint/index.js +28 -0
- package/lib/commonjs/providers/breakpoint/index.js.map +1 -0
- package/lib/commonjs/providers/global-config/GlobalConfigProvider.js +24 -0
- package/lib/commonjs/providers/global-config/GlobalConfigProvider.js.map +1 -0
- package/lib/commonjs/providers/global-config/GlobalConfigProviderProps.js +6 -0
- package/lib/commonjs/providers/global-config/GlobalConfigProviderProps.js.map +1 -0
- package/lib/commonjs/providers/global-config/index.js +21 -17
- package/lib/commonjs/providers/global-config/index.js.map +1 -1
- package/lib/commonjs/providers/index.js +41 -18
- package/lib/commonjs/providers/index.js.map +1 -1
- package/lib/commonjs/providers/theme/ThemeProvider.js +31 -0
- package/lib/commonjs/providers/theme/ThemeProvider.js.map +1 -0
- package/lib/commonjs/providers/theme/ThemeProviderProps.js +6 -0
- package/lib/commonjs/providers/theme/ThemeProviderProps.js.map +1 -0
- package/lib/commonjs/providers/theme/index.js +21 -24
- package/lib/commonjs/providers/theme/index.js.map +1 -1
- package/lib/commonjs/providers/toast/ToastProvider.js +37 -0
- package/lib/commonjs/providers/toast/ToastProvider.js.map +1 -0
- package/lib/commonjs/providers/toast/ToastProviderProps.js +2 -0
- package/lib/commonjs/providers/toast/ToastProviderProps.js.map +1 -0
- package/lib/commonjs/providers/toast/{_types/toast-ref.js → ToastRef.js} +1 -1
- package/lib/commonjs/providers/toast/ToastRef.js.map +1 -0
- package/lib/commonjs/providers/toast/_overlay/index.js +6 -4
- package/lib/commonjs/providers/toast/_overlay/index.js.map +1 -1
- package/lib/commonjs/providers/toast/index.js +31 -29
- package/lib/commonjs/providers/toast/index.js.map +1 -1
- package/lib/module/_carbon-react-native/index.js +4 -2
- package/lib/module/_carbon-react-native/index.js.map +1 -1
- package/lib/module/_style-sheet/breakpoint.js +14 -0
- package/lib/module/_style-sheet/breakpoint.js.map +1 -0
- package/lib/module/_style-sheet/color.js +8 -0
- package/lib/module/_style-sheet/color.js.map +1 -0
- package/lib/module/_style-sheet/create.js +81 -27
- package/lib/module/_style-sheet/create.js.map +1 -1
- package/lib/module/_style-sheet/index.js +12 -1
- package/lib/module/_style-sheet/index.js.map +1 -1
- package/lib/module/_style-sheet/use.js +14 -0
- package/lib/module/_style-sheet/use.js.map +1 -0
- package/lib/module/components/accordion/_header.js +33 -35
- package/lib/module/components/accordion/_header.js.map +1 -1
- package/lib/module/components/button/base/index.js +5 -5
- package/lib/module/components/button/base/index.js.map +1 -1
- package/lib/module/components/button/ghost/index.js +13 -13
- package/lib/module/components/button/ghost/index.js.map +1 -1
- package/lib/module/components/button/ghost-danger/index.js +12 -12
- package/lib/module/components/button/ghost-danger/index.js.map +1 -1
- package/lib/module/components/button/ghost-icon/index.js +6 -6
- package/lib/module/components/button/ghost-icon/index.js.map +1 -1
- package/lib/module/components/button/primary/index.js +12 -12
- package/lib/module/components/button/primary/index.js.map +1 -1
- package/lib/module/components/button/primary-danger/index.js +12 -12
- package/lib/module/components/button/primary-danger/index.js.map +1 -1
- package/lib/module/components/button/secondary/index.js +12 -12
- package/lib/module/components/button/secondary/index.js.map +1 -1
- package/lib/module/components/button/tertiary/index.js +16 -16
- package/lib/module/components/button/tertiary/index.js.map +1 -1
- package/lib/module/components/button/tertiary-danger/index.js +15 -15
- package/lib/module/components/button/tertiary-danger/index.js.map +1 -1
- package/lib/module/components/checkbox/index.js +17 -19
- package/lib/module/components/checkbox/index.js.map +1 -1
- package/lib/module/components/checkbox-input/index.js +35 -37
- package/lib/module/components/checkbox-input/index.js.map +1 -1
- package/lib/module/contexts/breakpoint/BreakpointContext.js +5 -0
- package/lib/module/contexts/breakpoint/BreakpointContext.js.map +1 -0
- package/lib/module/contexts/breakpoint/index.js +4 -0
- package/lib/module/contexts/breakpoint/index.js.map +1 -0
- package/lib/module/contexts/global-config/GlobalConfigContext.js +9 -0
- package/lib/module/contexts/global-config/GlobalConfigContext.js.map +1 -0
- package/lib/module/contexts/global-config/index.js +1 -6
- package/lib/module/contexts/global-config/index.js.map +1 -1
- package/lib/module/contexts/index.js +4 -3
- package/lib/module/contexts/index.js.map +1 -1
- package/lib/module/contexts/theme/ThemeContext.js +10 -0
- package/lib/module/contexts/theme/ThemeContext.js.map +1 -0
- package/lib/module/contexts/theme/index.js +1 -7
- package/lib/module/contexts/theme/index.js.map +1 -1
- package/lib/module/contexts/toast/ToastContext.js +12 -0
- package/lib/module/contexts/toast/ToastContext.js.map +1 -0
- package/lib/module/contexts/toast/ToastContextShowConfig.js +2 -0
- package/lib/module/contexts/toast/ToastContextShowConfig.js.map +1 -0
- package/lib/module/contexts/toast/index.js +2 -9
- package/lib/module/contexts/toast/index.js.map +1 -1
- package/lib/module/globals/breakpoint/index.js +10 -0
- package/lib/module/globals/breakpoint/index.js.map +1 -0
- package/lib/module/globals/index.js +2 -1
- package/lib/module/globals/index.js.map +1 -1
- package/lib/module/hooks/index.js +4 -0
- package/lib/module/hooks/index.js.map +1 -0
- package/lib/module/hooks/use-breakpoint/index.js +4 -0
- package/lib/module/hooks/use-breakpoint/index.js.map +1 -0
- package/lib/module/hooks/use-breakpoint/useBreakpoint.js +13 -0
- package/lib/module/hooks/use-breakpoint/useBreakpoint.js.map +1 -0
- package/lib/module/providers/breakpoint/BreakpointProvider.js +19 -0
- package/lib/module/providers/breakpoint/BreakpointProvider.js.map +1 -0
- package/lib/module/providers/breakpoint/BreakpointProviderProps.js +2 -0
- package/lib/module/providers/breakpoint/BreakpointProviderProps.js.map +1 -0
- package/lib/module/providers/breakpoint/index.js +5 -0
- package/lib/module/providers/breakpoint/index.js.map +1 -0
- package/lib/module/providers/global-config/GlobalConfigProvider.js +20 -0
- package/lib/module/providers/global-config/GlobalConfigProvider.js.map +1 -0
- package/lib/module/providers/global-config/GlobalConfigProviderProps.js +4 -0
- package/lib/module/providers/global-config/GlobalConfigProviderProps.js.map +1 -0
- package/lib/module/providers/global-config/index.js +2 -17
- package/lib/module/providers/global-config/index.js.map +1 -1
- package/lib/module/providers/index.js +4 -3
- package/lib/module/providers/index.js.map +1 -1
- package/lib/module/providers/theme/ThemeProvider.js +27 -0
- package/lib/module/providers/theme/ThemeProvider.js.map +1 -0
- package/lib/module/providers/theme/ThemeProviderProps.js +4 -0
- package/lib/module/providers/theme/ThemeProviderProps.js.map +1 -0
- package/lib/module/providers/theme/index.js +2 -24
- package/lib/module/providers/theme/index.js.map +1 -1
- package/lib/module/providers/toast/ToastProvider.js +33 -0
- package/lib/module/providers/toast/ToastProvider.js.map +1 -0
- package/lib/module/providers/toast/ToastProviderProps.js +2 -0
- package/lib/module/providers/toast/ToastProviderProps.js.map +1 -0
- package/lib/module/providers/toast/ToastRef.js +4 -0
- package/lib/module/providers/toast/ToastRef.js.map +1 -0
- package/lib/module/providers/toast/_overlay/index.js +6 -4
- package/lib/module/providers/toast/_overlay/index.js.map +1 -1
- package/lib/module/providers/toast/index.js +3 -30
- package/lib/module/providers/toast/index.js.map +1 -1
- package/lib/typescript/commonjs/src/_carbon-react-native/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/_style-sheet/breakpoint.d.ts +12 -0
- package/lib/typescript/commonjs/src/_style-sheet/breakpoint.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/_style-sheet/color.d.ts +3 -0
- package/lib/typescript/commonjs/src/_style-sheet/color.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/_style-sheet/create.d.ts +39 -2
- package/lib/typescript/commonjs/src/_style-sheet/create.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/_style-sheet/index.d.ts +20 -1
- package/lib/typescript/commonjs/src/_style-sheet/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/_style-sheet/use.d.ts +5 -0
- package/lib/typescript/commonjs/src/_style-sheet/use.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/contexts/breakpoint/BreakpointContext.d.ts +3 -0
- package/lib/typescript/commonjs/src/contexts/breakpoint/BreakpointContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/contexts/breakpoint/index.d.ts +2 -0
- package/lib/typescript/commonjs/src/contexts/breakpoint/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/contexts/global-config/GlobalConfigContext.d.ts +12 -0
- package/lib/typescript/commonjs/src/contexts/global-config/GlobalConfigContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/contexts/global-config/index.d.ts +1 -11
- package/lib/typescript/commonjs/src/contexts/global-config/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/contexts/index.d.ts +4 -3
- package/lib/typescript/commonjs/src/contexts/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/contexts/theme/ThemeContext.d.ts +8 -0
- package/lib/typescript/commonjs/src/contexts/theme/ThemeContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/contexts/theme/index.d.ts +1 -7
- package/lib/typescript/commonjs/src/contexts/theme/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/contexts/toast/ToastContext.d.ts +7 -0
- package/lib/typescript/commonjs/src/contexts/toast/ToastContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/contexts/toast/ToastContextShowConfig.d.ts +7 -0
- package/lib/typescript/commonjs/src/contexts/toast/ToastContextShowConfig.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/contexts/toast/index.d.ts +2 -11
- package/lib/typescript/commonjs/src/contexts/toast/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/globals/breakpoint/index.d.ts +4 -0
- package/lib/typescript/commonjs/src/globals/breakpoint/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/globals/index.d.ts +2 -1
- package/lib/typescript/commonjs/src/globals/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/hooks/index.d.ts +2 -0
- package/lib/typescript/commonjs/src/hooks/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/use-breakpoint/index.d.ts +2 -0
- package/lib/typescript/commonjs/src/hooks/use-breakpoint/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/use-breakpoint/useBreakpoint.d.ts +6 -0
- package/lib/typescript/commonjs/src/hooks/use-breakpoint/useBreakpoint.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/breakpoint/BreakpointProvider.d.ts +3 -0
- package/lib/typescript/commonjs/src/providers/breakpoint/BreakpointProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/breakpoint/BreakpointProviderProps.d.ts +4 -0
- package/lib/typescript/commonjs/src/providers/breakpoint/BreakpointProviderProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/breakpoint/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/providers/breakpoint/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/global-config/GlobalConfigProvider.d.ts +3 -0
- package/lib/typescript/commonjs/src/providers/global-config/GlobalConfigProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/global-config/GlobalConfigProviderProps.d.ts +5 -0
- package/lib/typescript/commonjs/src/providers/global-config/GlobalConfigProviderProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/global-config/index.d.ts +2 -5
- package/lib/typescript/commonjs/src/providers/global-config/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/index.d.ts +4 -3
- package/lib/typescript/commonjs/src/providers/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/theme/ThemeProvider.d.ts +3 -0
- package/lib/typescript/commonjs/src/providers/theme/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/theme/ThemeProviderProps.d.ts +10 -0
- package/lib/typescript/commonjs/src/providers/theme/ThemeProviderProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/theme/index.d.ts +2 -10
- package/lib/typescript/commonjs/src/providers/theme/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/toast/ToastProvider.d.ts +4 -0
- package/lib/typescript/commonjs/src/providers/toast/ToastProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/toast/ToastProviderProps.d.ts +4 -0
- package/lib/typescript/commonjs/src/providers/toast/ToastProviderProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/toast/ToastRef.d.ts +4 -0
- package/lib/typescript/commonjs/src/providers/toast/ToastRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/toast/_overlay/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/providers/toast/_overlay/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/toast/index.d.ts +3 -6
- package/lib/typescript/commonjs/src/providers/toast/index.d.ts.map +1 -1
- package/lib/typescript/module/src/_carbon-react-native/index.d.ts.map +1 -1
- package/lib/typescript/module/src/_style-sheet/breakpoint.d.ts +12 -0
- package/lib/typescript/module/src/_style-sheet/breakpoint.d.ts.map +1 -0
- package/lib/typescript/module/src/_style-sheet/color.d.ts +3 -0
- package/lib/typescript/module/src/_style-sheet/color.d.ts.map +1 -0
- package/lib/typescript/module/src/_style-sheet/create.d.ts +39 -2
- package/lib/typescript/module/src/_style-sheet/create.d.ts.map +1 -1
- package/lib/typescript/module/src/_style-sheet/index.d.ts +20 -1
- package/lib/typescript/module/src/_style-sheet/index.d.ts.map +1 -1
- package/lib/typescript/module/src/_style-sheet/use.d.ts +5 -0
- package/lib/typescript/module/src/_style-sheet/use.d.ts.map +1 -0
- package/lib/typescript/module/src/contexts/breakpoint/BreakpointContext.d.ts +3 -0
- package/lib/typescript/module/src/contexts/breakpoint/BreakpointContext.d.ts.map +1 -0
- package/lib/typescript/module/src/contexts/breakpoint/index.d.ts +2 -0
- package/lib/typescript/module/src/contexts/breakpoint/index.d.ts.map +1 -0
- package/lib/typescript/module/src/contexts/global-config/GlobalConfigContext.d.ts +12 -0
- package/lib/typescript/module/src/contexts/global-config/GlobalConfigContext.d.ts.map +1 -0
- package/lib/typescript/module/src/contexts/global-config/index.d.ts +1 -11
- package/lib/typescript/module/src/contexts/global-config/index.d.ts.map +1 -1
- package/lib/typescript/module/src/contexts/index.d.ts +4 -3
- package/lib/typescript/module/src/contexts/index.d.ts.map +1 -1
- package/lib/typescript/module/src/contexts/theme/ThemeContext.d.ts +8 -0
- package/lib/typescript/module/src/contexts/theme/ThemeContext.d.ts.map +1 -0
- package/lib/typescript/module/src/contexts/theme/index.d.ts +1 -7
- package/lib/typescript/module/src/contexts/theme/index.d.ts.map +1 -1
- package/lib/typescript/module/src/contexts/toast/ToastContext.d.ts +7 -0
- package/lib/typescript/module/src/contexts/toast/ToastContext.d.ts.map +1 -0
- package/lib/typescript/module/src/contexts/toast/ToastContextShowConfig.d.ts +7 -0
- package/lib/typescript/module/src/contexts/toast/ToastContextShowConfig.d.ts.map +1 -0
- package/lib/typescript/module/src/contexts/toast/index.d.ts +2 -11
- package/lib/typescript/module/src/contexts/toast/index.d.ts.map +1 -1
- package/lib/typescript/module/src/globals/breakpoint/index.d.ts +4 -0
- package/lib/typescript/module/src/globals/breakpoint/index.d.ts.map +1 -0
- package/lib/typescript/module/src/globals/index.d.ts +2 -1
- package/lib/typescript/module/src/globals/index.d.ts.map +1 -1
- package/lib/typescript/module/src/hooks/index.d.ts +2 -0
- package/lib/typescript/module/src/hooks/index.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/use-breakpoint/index.d.ts +2 -0
- package/lib/typescript/module/src/hooks/use-breakpoint/index.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/use-breakpoint/useBreakpoint.d.ts +6 -0
- package/lib/typescript/module/src/hooks/use-breakpoint/useBreakpoint.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/breakpoint/BreakpointProvider.d.ts +3 -0
- package/lib/typescript/module/src/providers/breakpoint/BreakpointProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/breakpoint/BreakpointProviderProps.d.ts +4 -0
- package/lib/typescript/module/src/providers/breakpoint/BreakpointProviderProps.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/breakpoint/index.d.ts +3 -0
- package/lib/typescript/module/src/providers/breakpoint/index.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/global-config/GlobalConfigProvider.d.ts +3 -0
- package/lib/typescript/module/src/providers/global-config/GlobalConfigProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/global-config/GlobalConfigProviderProps.d.ts +5 -0
- package/lib/typescript/module/src/providers/global-config/GlobalConfigProviderProps.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/global-config/index.d.ts +2 -5
- package/lib/typescript/module/src/providers/global-config/index.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/index.d.ts +4 -3
- package/lib/typescript/module/src/providers/index.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/theme/ThemeProvider.d.ts +3 -0
- package/lib/typescript/module/src/providers/theme/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/theme/ThemeProviderProps.d.ts +10 -0
- package/lib/typescript/module/src/providers/theme/ThemeProviderProps.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/theme/index.d.ts +2 -10
- package/lib/typescript/module/src/providers/theme/index.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/toast/ToastProvider.d.ts +4 -0
- package/lib/typescript/module/src/providers/toast/ToastProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/toast/ToastProviderProps.d.ts +4 -0
- package/lib/typescript/module/src/providers/toast/ToastProviderProps.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/toast/ToastRef.d.ts +4 -0
- package/lib/typescript/module/src/providers/toast/ToastRef.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/toast/_overlay/index.d.ts +1 -1
- package/lib/typescript/module/src/providers/toast/_overlay/index.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/toast/index.d.ts +3 -6
- package/lib/typescript/module/src/providers/toast/index.d.ts.map +1 -1
- package/package.json +3 -6
- package/lib/commonjs/providers/toast/_types/index.js.map +0 -1
- package/lib/commonjs/providers/toast/_types/toast-ref.js.map +0 -1
- package/lib/module/providers/toast/_types/index.js +0 -4
- package/lib/module/providers/toast/_types/index.js.map +0 -1
- package/lib/module/providers/toast/_types/toast-ref.js +0 -4
- package/lib/module/providers/toast/_types/toast-ref.js.map +0 -1
- package/lib/typescript/commonjs/src/providers/toast/_types/index.d.ts +0 -2
- package/lib/typescript/commonjs/src/providers/toast/_types/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/providers/toast/_types/toast-ref.d.ts +0 -4
- package/lib/typescript/commonjs/src/providers/toast/_types/toast-ref.d.ts.map +0 -1
- package/lib/typescript/module/src/providers/toast/_types/index.d.ts +0 -2
- package/lib/typescript/module/src/providers/toast/_types/index.d.ts.map +0 -1
- package/lib/typescript/module/src/providers/toast/_types/toast-ref.d.ts +0 -4
- package/lib/typescript/module/src/providers/toast/_types/toast-ref.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/global-config/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/global-config/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export * from './breakpoint';
|
|
2
|
+
export * from './global-config';
|
|
3
|
+
export * from './theme';
|
|
4
|
+
export * from './toast';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ColorToken } from '@audira/carbon-react-native-elements';
|
|
2
|
+
import type { ThemeType } from '../../types';
|
|
3
|
+
export interface ThemeContext {
|
|
4
|
+
colorScheme: ThemeType.ColorScheme;
|
|
5
|
+
color: Record<ColorToken, string>;
|
|
6
|
+
}
|
|
7
|
+
export declare const ThemeContext: import("react").Context<ThemeContext>;
|
|
8
|
+
//# sourceMappingURL=ThemeContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/theme/ThemeContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,UAAU,EACV,MAAM,sCAAsC,CAAA;AAU7C,OAAO,KAAK,EACX,SAAS,EACT,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,YAAY;IAC5B,WAAW,EAAE,SAAS,CAAC,WAAW,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,YAAY,uCAItB,CAAA"}
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ThemeType } from '../../types';
|
|
3
|
-
export interface Theme {
|
|
4
|
-
colorScheme: ThemeType.ColorScheme;
|
|
5
|
-
color: Record<ColorToken, string>;
|
|
6
|
-
}
|
|
7
|
-
export declare const Theme: import("react").Context<Theme>;
|
|
1
|
+
export * from './ThemeContext';
|
|
8
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/theme/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ToastContextShowConfig } from './ToastContextShowConfig';
|
|
2
|
+
export interface ToastContext {
|
|
3
|
+
show: (fn: (id: number) => React.ReactNode, config?: ToastContextShowConfig) => void;
|
|
4
|
+
dismiss: (id: number) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const ToastContext: import("react").Context<ToastContext>;
|
|
7
|
+
//# sourceMappingURL=ToastContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastContext.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/toast/ToastContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,sBAAsB,EACtB,MAAM,0BAA0B,CAAA;AAEjC,MAAM,WAAW,YAAY;IAC5B,IAAI,EAAE,CACL,EAAE,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,EACnC,MAAM,CAAC,EAAE,sBAAsB,KAC3B,IAAI,CAAC;IACV,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9B;AAED,eAAO,MAAM,YAAY,uCAOvB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastContextShowConfig.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/toast/ToastContextShowConfig.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
* Duration per component in milliseconds
|
|
4
|
-
*/
|
|
5
|
-
duration?: number;
|
|
6
|
-
}
|
|
7
|
-
export interface Toast {
|
|
8
|
-
show: (fn: (id: number) => React.ReactNode, config?: ToastShowConfig) => void;
|
|
9
|
-
dismiss: (id: number) => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const Toast: import("react").Context<Toast>;
|
|
1
|
+
export * from './ToastContext';
|
|
2
|
+
export * from './ToastContextShowConfig';
|
|
12
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/toast/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/toast/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,0BAA0B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/globals/breakpoint/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,eAAe,EACf,MAAM,sCAAsC,CAAA;AAI7C,wBAAgB,GAAG,oBAElB;AAED,wBAAgB,GAAG,CAAC,WAAW,EAAE,eAAe,QAE/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/globals/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/globals/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,gBAAgB,CAAA;AACnD,OAAO,KAAK,gBAAgB,MAAM,cAAc,CAAA;AAEhD,OAAO,EACN,gBAAgB,EAChB,iBAAiB,GACjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/index.tsx"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/hooks/use-breakpoint/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type BreakpointData, type BreakpointToken } from '@audira/carbon-react-native-elements';
|
|
2
|
+
export interface UseBreakpoint extends BreakpointData {
|
|
3
|
+
breakpoint: BreakpointToken;
|
|
4
|
+
}
|
|
5
|
+
export declare function useBreakpoint(): UseBreakpoint;
|
|
6
|
+
//# sourceMappingURL=useBreakpoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../../../../../src/hooks/use-breakpoint/useBreakpoint.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEN,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,MAAM,sCAAsC,CAAA;AAM7C,MAAM,WAAW,aAAc,SAAQ,cAAc;IACpD,UAAU,EAAE,eAAe,CAAC;CAC5B;AAED,wBAAgB,aAAa,IAAI,aAAa,CAW7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BreakpointProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/breakpoint/BreakpointProvider.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACX,uBAAuB,EACvB,MAAM,2BAA2B,CAAA;AAElC,wBAAgB,kBAAkB,CAAC,EAClC,QAAQ,GACR,EAAE,uBAAuB,+BA6BzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BreakpointProviderProps.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/breakpoint/BreakpointProviderProps.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/breakpoint/index.tsx"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { GlobalConfigProviderProps } from './GlobalConfigProviderProps';
|
|
2
|
+
export declare function GlobalConfigProvider({ android_buttonRippleEffect, notificationColor, toastDuration, children, }: GlobalConfigProviderProps): import("react").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=GlobalConfigProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlobalConfigProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/global-config/GlobalConfigProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,yBAAyB,EACzB,MAAM,6BAA6B,CAAA;AAEpC,wBAAgB,oBAAoB,CAAC,EACpC,0BAAiC,EACjC,iBAAmC,EACnC,aAAoB,EACpB,QAAQ,GACR,EAAE,yBAAyB,+BAc3B"}
|
package/lib/typescript/commonjs/src/providers/global-config/GlobalConfigProviderProps.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlobalConfigProviderProps.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/global-config/GlobalConfigProviderProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,mBAAmB,EACnB,MAAM,gBAAgB,CAAA;AAEvB,MAAM,WAAW,yBAA0B,SAAQ,OAAO,CAAC,mBAAmB,CAAC;IAC9E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
}
|
|
5
|
-
export declare function GlobalConfig({ android_buttonRippleEffect, notificationColor, toastDuration, children, }: GlobalConfigProps): import("react").JSX.Element;
|
|
1
|
+
export * from './GlobalConfigProvider';
|
|
2
|
+
export * from './GlobalConfigProviderProps';
|
|
6
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/global-config/index.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/global-config/index.tsx"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,6BAA6B,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export * from './breakpoint';
|
|
2
|
+
export * from './global-config';
|
|
3
|
+
export * from './theme';
|
|
4
|
+
export * from './toast';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/providers/index.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/providers/index.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/theme/ThemeProvider.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACX,kBAAkB,EAClB,MAAM,sBAAsB,CAAA;AAE7B,wBAAgB,aAAa,CAAC,EAC7B,WAAW,EAAE,eAAe,EAC5B,aAAa,EACb,QAAQ,GACR,EAAE,kBAAkB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAyBxC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ThemeContext } from '../../contexts';
|
|
2
|
+
export interface ThemeProviderProps {
|
|
3
|
+
colorScheme?: ThemeContext['colorScheme'];
|
|
4
|
+
/**
|
|
5
|
+
* You can override all color by your own. `colorScheme` probably means nothing due to this prop.
|
|
6
|
+
*/
|
|
7
|
+
overrideColor?: Partial<ThemeContext['color']>;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=ThemeProviderProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProviderProps.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/theme/ThemeProviderProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,YAAY,EACZ,MAAM,gBAAgB,CAAA;AAEvB,MAAM,WAAW,kBAAkB;IAClC,WAAW,CAAC,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC;IAC1C;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B"}
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
colorScheme?: ThemeContext['colorScheme'];
|
|
4
|
-
/**
|
|
5
|
-
* You can override all color by your own. `colorScheme` probably means nothing due to this prop.
|
|
6
|
-
*/
|
|
7
|
-
overrideColor?: Partial<ThemeContext['color']>;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
export declare function Theme({ colorScheme: colorSchemeProp, overrideColor, children, }: ThemeProps): React.JSX.Element;
|
|
1
|
+
export * from './ThemeProvider';
|
|
2
|
+
export * from './ThemeProviderProps';
|
|
11
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/theme/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/theme/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ToastProviderProps } from './ToastProviderProps';
|
|
2
|
+
import type { ToastRef } from './ToastRef';
|
|
3
|
+
export declare const ToastProvider: import("react").ForwardRefExoticComponent<ToastProviderProps & import("react").RefAttributes<ToastRef>>;
|
|
4
|
+
//# sourceMappingURL=ToastProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/toast/ToastProvider.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACX,kBAAkB,EAClB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EACX,QAAQ,EACR,MAAM,YAAY,CAAA;AAEnB,eAAO,MAAM,aAAa,yGAgDzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastProviderProps.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/toast/ToastProviderProps.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastRef.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/toast/ToastRef.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,YAAY,EACZ,MAAM,sBAAsB,CAAA;AAE7B,MAAM,WAAW,QAAS,SAAQ,YAAY;CAC7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/toast/_overlay/index.tsx"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EACX,QAAQ,EACR,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/toast/_overlay/index.tsx"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EACX,QAAQ,EACR,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,YAAY;CAC5B;AAED,MAAM,WAAW,UAAW,SAAQ,QAAQ;CAC3C;AAED,eAAO,MAAM,OAAO,qGAiJnB,CAAA"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const Toast: import("react").ForwardRefExoticComponent<ToastProps & import("react").RefAttributes<ToastRef>>;
|
|
1
|
+
export * from './ToastProvider';
|
|
2
|
+
export * from './ToastProviderProps';
|
|
3
|
+
export * from './ToastRef';
|
|
7
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/toast/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/toast/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/_carbon-react-native/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,mBAAmB,EACnB,MAAM,aAAa,CAAA;AAEpB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/_carbon-react-native/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,mBAAmB,EACnB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAIN,KAAK,kBAAkB,EACvB,MAAM,cAAc,CAAA;AAErB,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB;IACjE,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACnC;AAED,wBAAgB,iBAAiB,CAAC,EACjC,YAAY,EACZ,WAAW,EACX,aAAa,EACb,QAAQ,GACR,EAAE,sBAAsB,+BAiBxB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Use `Breakpoint` from the `carbon-react-native-elements` to get the actual value of each breakpoint.
|
|
3
|
+
* This is just a constant name.
|
|
4
|
+
*/
|
|
5
|
+
export declare const breakpoint: {
|
|
6
|
+
readonly small: "small";
|
|
7
|
+
readonly medium: "medium";
|
|
8
|
+
readonly large: "large";
|
|
9
|
+
readonly x_large: "x_large";
|
|
10
|
+
readonly max: "max";
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=breakpoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoint.d.ts","sourceRoot":"","sources":["../../../../../src/_style-sheet/breakpoint.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;CAOuC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../../src/_style-sheet/color.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,UAAU,EACf,MAAM,sCAAsC,CAAA;AAE7C,eAAO,MAAM,KAAK,gCAMwB,CAAA"}
|
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
import { type ImageStyle, type TextStyle, type ViewStyle } from 'react-native';
|
|
2
|
-
import { type
|
|
2
|
+
import { type BreakpointToken } from '@audira/carbon-react-native-elements';
|
|
3
3
|
type Style = ViewStyle | TextStyle | ImageStyle;
|
|
4
|
-
|
|
4
|
+
type StyleBreakpoint = Partial<Record<BreakpointToken, Omit<ViewStyle | TextStyle | ImageStyle, 'backgroundColor' | 'borderColor' | 'borderEndColor' | 'borderStartColor' | 'borderTopColor' | 'borderBottomColor' | 'borderLeftColor' | 'borderRightColor' | 'borderBlockColor' | 'borderBlockEndColor' | 'borderBlockStartColor' | 'color' | 'overlayColor' | 'textDecorationColor' | 'textShadowColor' | 'tintColor' | 'shadowColor'>>>;
|
|
5
|
+
/**
|
|
6
|
+
* Create style sheet to help using color token of current color scheme and current breakpoint declaratively.
|
|
7
|
+
* It makes your code way more shorter which doesn't need to create conditional of current color scheme or current breakpoint in the style prop implementation
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* import {
|
|
12
|
+
* View,
|
|
13
|
+
* } from 'react-native'
|
|
14
|
+
*
|
|
15
|
+
* import {
|
|
16
|
+
* StyleSheet,
|
|
17
|
+
* } from '@audira/carbon-react-native'
|
|
18
|
+
*
|
|
19
|
+
* export function Component({ children }) {
|
|
20
|
+
* return (
|
|
21
|
+
* <View style={ style.foo }>
|
|
22
|
+
* { children }
|
|
23
|
+
* <View>
|
|
24
|
+
* )
|
|
25
|
+
* }
|
|
26
|
+
*
|
|
27
|
+
* const style = StyleSheet.create({
|
|
28
|
+
* foo: {
|
|
29
|
+
* backgroundColor: StyleSheet.color.background_inverse,
|
|
30
|
+
* // it will be resolved to the `background_inverse` of current color scheme
|
|
31
|
+
*
|
|
32
|
+
* [StyleSheet.breakpoint.medium]: {
|
|
33
|
+
* flexDirection: 'row',
|
|
34
|
+
* // this style will has row direction of flex box
|
|
35
|
+
* // for screen that equal and larger than the medium breakpoint
|
|
36
|
+
* },
|
|
37
|
+
* },
|
|
38
|
+
* })
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare function create<Styles extends Record<string, Style | StyleBreakpoint> = Record<string, Style | StyleBreakpoint>>(styles: Styles): Styles;
|
|
5
42
|
export {};
|
|
6
43
|
//# sourceMappingURL=create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../../src/_style-sheet/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,SAAS,EACd,MAAM,cAAc,CAAA;AAErB,OAAO,EAEN,KAAK,
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../../src/_style-sheet/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,SAAS,EACd,MAAM,cAAc,CAAA;AAErB,OAAO,EAEN,KAAK,eAAe,EAEpB,MAAM,sCAAsC,CAAA;AAe7C,KAAK,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAA;AAC/C,KAAK,eAAe,GACnB,OAAO,CACN,MAAM,CACL,eAAe,EACf,IAAI,CACH,SAAS,GAAG,SAAS,GAAG,UAAU,EAChC,iBAAiB,GACjB,aAAa,GACb,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,GAChB,mBAAmB,GACnB,iBAAiB,GACjB,kBAAkB,GAClB,kBAAkB,GAClB,qBAAqB,GACrB,uBAAuB,GACvB,OAAO,GACP,cAAc,GACd,qBAAqB,GACrB,iBAAiB,GACjB,WAAW,GACX,aAAa,CACf,CACD,CACD,CAAA;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,MAAM,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,GAAG,eAAe,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,GAAG,eAAe,CAAC,EACtH,MAAM,EAAE,MAAM,GACZ,MAAM,CAwGR"}
|
|
@@ -1,7 +1,26 @@
|
|
|
1
1
|
import { StyleSheet as RNStyleSheet } from 'react-native';
|
|
2
2
|
import { create as _create } from './create';
|
|
3
|
+
import { use as _use } from './use';
|
|
3
4
|
export declare namespace StyleSheet {
|
|
4
|
-
const create: typeof _create;
|
|
5
5
|
const absoluteFill: import("react-native").RegisteredStyle<RNStyleSheet.AbsoluteFillStyle>;
|
|
6
|
+
const absoluteFillObject: RNStyleSheet.AbsoluteFillStyle;
|
|
7
|
+
const compose: typeof RNStyleSheet.compose;
|
|
8
|
+
/**
|
|
9
|
+
* Use `Breakpoint` from the `carbon-react-native-elements` to get the actual value of each breakpoint.
|
|
10
|
+
* This is just a constant name.
|
|
11
|
+
*/
|
|
12
|
+
const breakpoint: {
|
|
13
|
+
readonly small: "small";
|
|
14
|
+
readonly medium: "medium";
|
|
15
|
+
readonly large: "large";
|
|
16
|
+
readonly x_large: "x_large";
|
|
17
|
+
readonly max: "max";
|
|
18
|
+
};
|
|
19
|
+
const color: Record<import("@audira/carbon-react-native-elements").ColorToken, import("@audira/carbon-react-native-elements").ColorToken>;
|
|
20
|
+
const create: typeof _create;
|
|
21
|
+
const flatten: typeof RNStyleSheet.flatten;
|
|
22
|
+
const hairlineWidth: number;
|
|
23
|
+
const setStyleAttributePreprocessor: typeof RNStyleSheet.setStyleAttributePreprocessor;
|
|
24
|
+
const use: typeof _use;
|
|
6
25
|
}
|
|
7
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/_style-sheet/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/_style-sheet/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,UAAU,IAAI,YAAY,EAC1B,MAAM,cAAc,CAAA;AAUrB,OAAO,EACN,MAAM,IAAI,OAAO,EACjB,MAAM,UAAU,CAAA;AAEjB,OAAO,EACN,GAAG,IAAI,IAAI,EACX,MAAM,OAAO,CAAA;AAEd,yBAAiB,UAAU,CAAC;IAEpB,MAAM,YAAY,wEAA4B,CAAA;IAE9C,MAAM,kBAAkB,gCAAkC,CAAA;IAE1D,MAAM,OAAO,6BAAuB,CAAA;IAE3C;;;OAGG;IACI,MAAM,UAAU;;;;;;KAAc,CAAA;IAE9B,MAAM,KAAK,8HAAS,CAAA;IAEpB,MAAM,MAAM,gBAAU,CAAA;IAEtB,MAAM,OAAO,6BAAuB,CAAA;IAEpC,MAAM,aAAa,QAA6B,CAAA;IAEhD,MAAM,6BAA6B,mDAA6C,CAAA;IAEhF,MAAM,GAAG,aAAO,CAAA;CAEvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../../src/_style-sheet/use.tsx"],"names":[],"mappings":"AAUA;;GAEG;AACH,wBAAgB,GAAG,SAGlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BreakpointContext.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/breakpoint/BreakpointContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,eAAe,EACf,MAAM,sCAAsC,CAAA;AAE7C,eAAO,MAAM,iBAAiB,0CAA0C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/breakpoint/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { NotificationColor } from '../../components/notification/types';
|
|
2
|
+
export interface GlobalConfigContext {
|
|
3
|
+
android_buttonRippleEffect: boolean;
|
|
4
|
+
notificationColor: NotificationColor;
|
|
5
|
+
/**
|
|
6
|
+
* Toast duration in milliseconds per component that will be appeared on screen
|
|
7
|
+
* @default 5000
|
|
8
|
+
*/
|
|
9
|
+
toastDuration: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const GlobalConfigContext: import("react").Context<GlobalConfigContext>;
|
|
12
|
+
//# sourceMappingURL=GlobalConfigContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlobalConfigContext.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/global-config/GlobalConfigContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,iBAAiB,EACjB,MAAM,qCAAqC,CAAA;AAE5C,MAAM,WAAW,mBAAmB;IACnC,0BAA0B,EAAE,OAAO,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,mBAAmB,8CAI9B,CAAA"}
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export interface GlobalConfig {
|
|
3
|
-
android_buttonRippleEffect: boolean;
|
|
4
|
-
notificationColor: NotificationColor;
|
|
5
|
-
/**
|
|
6
|
-
* Toast duration in milliseconds per component that will be appeared on screen
|
|
7
|
-
* @default 5000
|
|
8
|
-
*/
|
|
9
|
-
toastDuration: number;
|
|
10
|
-
}
|
|
11
|
-
export declare const GlobalConfig: import("react").Context<GlobalConfig>;
|
|
1
|
+
export * from './GlobalConfigContext';
|
|
12
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/global-config/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/global-config/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export * from './breakpoint';
|
|
2
|
+
export * from './global-config';
|
|
3
|
+
export * from './theme';
|
|
4
|
+
export * from './toast';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ColorToken } from '@audira/carbon-react-native-elements';
|
|
2
|
+
import type { ThemeType } from '../../types';
|
|
3
|
+
export interface ThemeContext {
|
|
4
|
+
colorScheme: ThemeType.ColorScheme;
|
|
5
|
+
color: Record<ColorToken, string>;
|
|
6
|
+
}
|
|
7
|
+
export declare const ThemeContext: import("react").Context<ThemeContext>;
|
|
8
|
+
//# sourceMappingURL=ThemeContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/theme/ThemeContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,UAAU,EACV,MAAM,sCAAsC,CAAA;AAU7C,OAAO,KAAK,EACX,SAAS,EACT,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,YAAY;IAC5B,WAAW,EAAE,SAAS,CAAC,WAAW,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,YAAY,uCAItB,CAAA"}
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ThemeType } from '../../types';
|
|
3
|
-
export interface Theme {
|
|
4
|
-
colorScheme: ThemeType.ColorScheme;
|
|
5
|
-
color: Record<ColorToken, string>;
|
|
6
|
-
}
|
|
7
|
-
export declare const Theme: import("react").Context<Theme>;
|
|
1
|
+
export * from './ThemeContext';
|
|
8
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/theme/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/contexts/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ToastContextShowConfig } from './ToastContextShowConfig';
|
|
2
|
+
export interface ToastContext {
|
|
3
|
+
show: (fn: (id: number) => React.ReactNode, config?: ToastContextShowConfig) => void;
|
|
4
|
+
dismiss: (id: number) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const ToastContext: import("react").Context<ToastContext>;
|
|
7
|
+
//# sourceMappingURL=ToastContext.d.ts.map
|