@audira/carbon-react-native 0.0.1-alpha.21 → 0.0.1-alpha.23
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/commonjs/_internal/components/button-group/ButtonGroupContext.js +12 -0
- package/lib/commonjs/_internal/components/button-group/ButtonGroupContext.js.map +1 -0
- package/lib/commonjs/_internal/components/button-group/index.js +17 -0
- package/lib/commonjs/_internal/components/button-group/index.js.map +1 -0
- package/lib/commonjs/_internal/components/index.js +17 -0
- package/lib/commonjs/_internal/components/index.js.map +1 -0
- package/lib/commonjs/_internal/style-sheets/flex-style-sheet.js +6 -0
- package/lib/commonjs/_internal/style-sheets/flex-style-sheet.js.map +1 -1
- package/lib/commonjs/components/button/Size.js +2 -0
- package/lib/commonjs/components/button/Size.js.map +1 -0
- package/lib/commonjs/components/button/base/Base.js +56 -41
- package/lib/commonjs/components/button/base/Base.js.map +1 -1
- package/lib/commonjs/components/button/base-color/BaseColor.js +23 -9
- package/lib/commonjs/components/button/base-color/BaseColor.js.map +1 -1
- package/lib/commonjs/components/button/ghost/Ghost.js +6 -3
- package/lib/commonjs/components/button/ghost/Ghost.js.map +1 -1
- package/lib/commonjs/components/button/ghost-danger/GhostDanger.js +6 -3
- package/lib/commonjs/components/button/ghost-danger/GhostDanger.js.map +1 -1
- package/lib/commonjs/components/button/index.js +11 -11
- package/lib/commonjs/components/button/index.js.map +1 -1
- package/lib/commonjs/components/button/primary/Primary.js +1 -1
- package/lib/commonjs/components/button/primary/Primary.js.map +1 -1
- package/lib/commonjs/components/button/primary-danger/PrimaryDanger.js +1 -1
- package/lib/commonjs/components/button/primary-danger/PrimaryDanger.js.map +1 -1
- package/lib/commonjs/components/button/primary-danger/index.js +11 -0
- package/lib/commonjs/components/button/primary-danger/index.js.map +1 -1
- package/lib/commonjs/components/button/secondary/Secondary.js +1 -1
- package/lib/commonjs/components/button/secondary/Secondary.js.map +1 -1
- package/lib/commonjs/components/button/tertiary/Tertiary.js +1 -1
- package/lib/commonjs/components/button/tertiary/Tertiary.js.map +1 -1
- package/lib/commonjs/components/button/tertiary-danger/TertiaryDanger.js +1 -1
- package/lib/commonjs/components/button/tertiary-danger/TertiaryDanger.js.map +1 -1
- package/lib/commonjs/components/button-group/ButtonGroup.js +222 -0
- package/lib/commonjs/components/button-group/ButtonGroup.js.map +1 -0
- package/lib/commonjs/components/button-group/ButtonGroupProps.js +6 -0
- package/lib/commonjs/components/button-group/ButtonGroupProps.js.map +1 -0
- package/lib/commonjs/components/button-group/ButtonGroupRef.js +6 -0
- package/lib/commonjs/components/button-group/ButtonGroupRef.js.map +1 -0
- package/lib/commonjs/components/button-group/_context.js +13 -0
- package/lib/commonjs/components/button-group/_context.js.map +1 -0
- package/lib/commonjs/components/button-group/_renderer-2/Renderer2.js +48 -0
- package/lib/commonjs/components/button-group/_renderer-2/Renderer2.js.map +1 -0
- package/lib/commonjs/components/button-group/_renderer-2/Renderer2Props.js +6 -0
- package/lib/commonjs/components/button-group/_renderer-2/Renderer2Props.js.map +1 -0
- package/lib/commonjs/components/button-group/_renderer-2/index.js +17 -0
- package/lib/commonjs/components/button-group/_renderer-2/index.js.map +1 -0
- package/lib/commonjs/components/button-group/_renderer-3/Renderer3.js +90 -0
- package/lib/commonjs/components/button-group/_renderer-3/Renderer3.js.map +1 -0
- package/lib/commonjs/components/button-group/_renderer-3/Renderer3Props.js +6 -0
- package/lib/commonjs/components/button-group/_renderer-3/Renderer3Props.js.map +1 -0
- package/lib/commonjs/components/button-group/_renderer-3/index.js +17 -0
- package/lib/commonjs/components/button-group/_renderer-3/index.js.map +1 -0
- package/lib/commonjs/components/button-group/index.js +17 -0
- package/lib/commonjs/components/button-group/index.js.map +1 -0
- package/lib/commonjs/components/index.js +55 -19
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/inline-loading/InlineLoading.js +72 -0
- package/lib/commonjs/components/inline-loading/InlineLoading.js.map +1 -0
- package/lib/commonjs/components/inline-loading/InlineLoadingProps.js +6 -0
- package/lib/commonjs/components/inline-loading/InlineLoadingProps.js.map +1 -0
- package/lib/commonjs/components/inline-loading/InlineLoadingRef.js +6 -0
- package/lib/commonjs/components/inline-loading/InlineLoadingRef.js.map +1 -0
- package/lib/commonjs/components/inline-loading/InlineLoadingState.js +2 -0
- package/lib/commonjs/components/inline-loading/InlineLoadingState.js.map +1 -0
- package/lib/commonjs/components/inline-loading/index.js +17 -0
- package/lib/commonjs/components/inline-loading/index.js.map +1 -0
- package/lib/commonjs/components/loading/Loading.js +127 -0
- package/lib/commonjs/components/loading/Loading.js.map +1 -0
- package/lib/commonjs/components/loading/LoadingProps.js +6 -0
- package/lib/commonjs/components/loading/LoadingProps.js.map +1 -0
- package/lib/commonjs/components/loading/LoadingRef.js +6 -0
- package/lib/commonjs/components/loading/LoadingRef.js.map +1 -0
- package/lib/commonjs/components/loading/LoadingType.js +2 -0
- package/lib/commonjs/components/loading/LoadingType.js.map +1 -0
- package/lib/commonjs/components/loading/_loading-progress.js +14 -0
- package/lib/commonjs/components/loading/_loading-progress.js.map +1 -0
- package/lib/commonjs/components/loading/index.js +17 -0
- package/lib/commonjs/components/loading/index.js.map +1 -0
- package/lib/commonjs/providers/toast/_overlay/index.js +19 -3
- package/lib/commonjs/providers/toast/_overlay/index.js.map +1 -1
- package/lib/module/_internal/components/button-group/ButtonGroupContext.js +8 -0
- package/lib/module/_internal/components/button-group/ButtonGroupContext.js.map +1 -0
- package/lib/module/_internal/components/button-group/index.js +4 -0
- package/lib/module/_internal/components/button-group/index.js.map +1 -0
- package/lib/module/_internal/components/index.js +4 -0
- package/lib/module/_internal/components/index.js.map +1 -0
- package/lib/module/_internal/style-sheets/flex-style-sheet.js +6 -0
- package/lib/module/_internal/style-sheets/flex-style-sheet.js.map +1 -1
- package/lib/module/components/button/Size.js +2 -0
- package/lib/module/components/button/Size.js.map +1 -0
- package/lib/module/components/button/base/Base.js +54 -39
- package/lib/module/components/button/base/Base.js.map +1 -1
- package/lib/module/components/button/base-color/BaseColor.js +24 -10
- package/lib/module/components/button/base-color/BaseColor.js.map +1 -1
- package/lib/module/components/button/ghost/Ghost.js +6 -3
- package/lib/module/components/button/ghost/Ghost.js.map +1 -1
- package/lib/module/components/button/ghost-danger/GhostDanger.js +6 -3
- package/lib/module/components/button/ghost-danger/GhostDanger.js.map +1 -1
- package/lib/module/components/button/index.js +1 -1
- package/lib/module/components/button/index.js.map +1 -1
- package/lib/module/components/button/primary/Primary.js +1 -1
- package/lib/module/components/button/primary/Primary.js.map +1 -1
- package/lib/module/components/button/primary-danger/PrimaryDanger.js +1 -1
- package/lib/module/components/button/primary-danger/PrimaryDanger.js.map +1 -1
- package/lib/module/components/button/primary-danger/index.js +1 -1
- package/lib/module/components/button/primary-danger/index.js.map +1 -1
- package/lib/module/components/button/secondary/Secondary.js +1 -1
- package/lib/module/components/button/secondary/Secondary.js.map +1 -1
- package/lib/module/components/button/tertiary/Tertiary.js +1 -1
- package/lib/module/components/button/tertiary/Tertiary.js.map +1 -1
- package/lib/module/components/button/tertiary-danger/TertiaryDanger.js +1 -1
- package/lib/module/components/button/tertiary-danger/TertiaryDanger.js.map +1 -1
- package/lib/module/components/button-group/ButtonGroup.js +218 -0
- package/lib/module/components/button-group/ButtonGroup.js.map +1 -0
- package/lib/module/components/button-group/ButtonGroupProps.js +4 -0
- package/lib/module/components/button-group/ButtonGroupProps.js.map +1 -0
- package/lib/module/components/button-group/ButtonGroupRef.js +4 -0
- package/lib/module/components/button-group/ButtonGroupRef.js.map +1 -0
- package/lib/module/components/button-group/_context.js +9 -0
- package/lib/module/components/button-group/_context.js.map +1 -0
- package/lib/module/components/button-group/_renderer-2/Renderer2.js +44 -0
- package/lib/module/components/button-group/_renderer-2/Renderer2.js.map +1 -0
- package/lib/module/components/button-group/_renderer-2/Renderer2Props.js +4 -0
- package/lib/module/components/button-group/_renderer-2/Renderer2Props.js.map +1 -0
- package/lib/module/components/button-group/_renderer-2/index.js +4 -0
- package/lib/module/components/button-group/_renderer-2/index.js.map +1 -0
- package/lib/module/components/button-group/_renderer-3/Renderer3.js +86 -0
- package/lib/module/components/button-group/_renderer-3/Renderer3.js.map +1 -0
- package/lib/module/components/button-group/_renderer-3/Renderer3Props.js +4 -0
- package/lib/module/components/button-group/_renderer-3/Renderer3Props.js.map +1 -0
- package/lib/module/components/button-group/_renderer-3/index.js +4 -0
- package/lib/module/components/button-group/_renderer-3/index.js.map +1 -0
- package/lib/module/components/button-group/index.js +4 -0
- package/lib/module/components/button-group/index.js.map +1 -0
- package/lib/module/components/index.js +3 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/inline-loading/InlineLoading.js +67 -0
- package/lib/module/components/inline-loading/InlineLoading.js.map +1 -0
- package/lib/module/components/inline-loading/InlineLoadingProps.js +4 -0
- package/lib/module/components/inline-loading/InlineLoadingProps.js.map +1 -0
- package/lib/module/components/inline-loading/InlineLoadingRef.js +4 -0
- package/lib/module/components/inline-loading/InlineLoadingRef.js.map +1 -0
- package/lib/module/components/inline-loading/InlineLoadingState.js +2 -0
- package/lib/module/components/inline-loading/InlineLoadingState.js.map +1 -0
- package/lib/module/components/inline-loading/index.js +4 -0
- package/lib/module/components/inline-loading/index.js.map +1 -0
- package/lib/module/components/loading/Loading.js +122 -0
- package/lib/module/components/loading/Loading.js.map +1 -0
- package/lib/module/components/loading/LoadingProps.js +4 -0
- package/lib/module/components/loading/LoadingProps.js.map +1 -0
- package/lib/module/components/loading/LoadingRef.js +4 -0
- package/lib/module/components/loading/LoadingRef.js.map +1 -0
- package/lib/module/components/loading/LoadingType.js +2 -0
- package/lib/module/components/loading/LoadingType.js.map +1 -0
- package/lib/module/components/loading/_loading-progress.js +10 -0
- package/lib/module/components/loading/_loading-progress.js.map +1 -0
- package/lib/module/components/loading/index.js +4 -0
- package/lib/module/components/loading/index.js.map +1 -0
- package/lib/module/providers/toast/_overlay/index.js +20 -4
- package/lib/module/providers/toast/_overlay/index.js.map +1 -1
- package/lib/typescript/commonjs/_internal/components/button-group/ButtonGroupContext.d.ts +6 -0
- package/lib/typescript/commonjs/_internal/components/button-group/ButtonGroupContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/_internal/components/button-group/index.d.ts +2 -0
- package/lib/typescript/commonjs/_internal/components/button-group/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/_internal/components/index.d.ts +2 -0
- package/lib/typescript/commonjs/_internal/components/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/_internal/style-sheets/flex-style-sheet.d.ts +6 -0
- package/lib/typescript/commonjs/_internal/style-sheets/flex-style-sheet.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/Size.d.ts +2 -0
- package/lib/typescript/commonjs/components/button/Size.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/button/base/Base.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/base/BaseProps.d.ts +18 -8
- package/lib/typescript/commonjs/components/button/base/BaseProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/base-color/BaseColor.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/base-color/BaseColorProps.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/base-color/BaseColorProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/ghost/Ghost.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/ghost-danger/GhostDanger.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/ghost-icon/GhostIconProps.d.ts +3 -1
- package/lib/typescript/commonjs/components/button/ghost-icon/GhostIconProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/primary-danger/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/primary-danger/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button-group/ButtonGroup.d.ts +82 -0
- package/lib/typescript/commonjs/components/button-group/ButtonGroup.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/button-group/ButtonGroupProps.d.ts +41 -0
- package/lib/typescript/commonjs/components/button-group/ButtonGroupProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/button-group/ButtonGroupRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/button-group/ButtonGroupRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/button-group/_context.d.ts +6 -0
- package/lib/typescript/commonjs/components/button-group/_context.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/button-group/_renderer-2/Renderer2.d.ts +5 -0
- package/lib/typescript/commonjs/components/button-group/_renderer-2/Renderer2.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/button-group/_renderer-2/Renderer2Props.d.ts +11 -0
- package/lib/typescript/commonjs/components/button-group/_renderer-2/Renderer2Props.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/button-group/_renderer-2/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/button-group/_renderer-2/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/button-group/_renderer-3/Renderer3.d.ts +5 -0
- package/lib/typescript/commonjs/components/button-group/_renderer-3/Renderer3.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/button-group/_renderer-3/Renderer3Props.d.ts +14 -0
- package/lib/typescript/commonjs/components/button-group/_renderer-3/Renderer3Props.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/button-group/_renderer-3/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/button-group/_renderer-3/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/button-group/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/button-group/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/inline-loading/InlineLoading.d.ts +4 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoading.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingProps.d.ts +12 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingState.d.ts +2 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingState.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/inline-loading/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/inline-loading/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/loading/Loading.d.ts +4 -0
- package/lib/typescript/commonjs/components/loading/Loading.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/loading/LoadingProps.d.ts +9 -0
- package/lib/typescript/commonjs/components/loading/LoadingProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/loading/LoadingRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/loading/LoadingRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/loading/LoadingType.d.ts +2 -0
- package/lib/typescript/commonjs/components/loading/LoadingType.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/loading/_loading-progress.d.ts +6 -0
- package/lib/typescript/commonjs/components/loading/_loading-progress.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/loading/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/loading/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/providers/toast/_overlay/index.d.ts.map +1 -1
- package/lib/typescript/module/_internal/components/button-group/ButtonGroupContext.d.ts +6 -0
- package/lib/typescript/module/_internal/components/button-group/ButtonGroupContext.d.ts.map +1 -0
- package/lib/typescript/module/_internal/components/button-group/index.d.ts +2 -0
- package/lib/typescript/module/_internal/components/button-group/index.d.ts.map +1 -0
- package/lib/typescript/module/_internal/components/index.d.ts +2 -0
- package/lib/typescript/module/_internal/components/index.d.ts.map +1 -0
- package/lib/typescript/module/_internal/style-sheets/flex-style-sheet.d.ts +6 -0
- package/lib/typescript/module/_internal/style-sheets/flex-style-sheet.d.ts.map +1 -1
- package/lib/typescript/module/components/button/Size.d.ts +2 -0
- package/lib/typescript/module/components/button/Size.d.ts.map +1 -0
- package/lib/typescript/module/components/button/base/Base.d.ts.map +1 -1
- package/lib/typescript/module/components/button/base/BaseProps.d.ts +18 -8
- package/lib/typescript/module/components/button/base/BaseProps.d.ts.map +1 -1
- package/lib/typescript/module/components/button/base-color/BaseColor.d.ts.map +1 -1
- package/lib/typescript/module/components/button/base-color/BaseColorProps.d.ts +1 -1
- package/lib/typescript/module/components/button/base-color/BaseColorProps.d.ts.map +1 -1
- package/lib/typescript/module/components/button/ghost/Ghost.d.ts.map +1 -1
- package/lib/typescript/module/components/button/ghost-danger/GhostDanger.d.ts.map +1 -1
- package/lib/typescript/module/components/button/ghost-icon/GhostIconProps.d.ts +3 -1
- package/lib/typescript/module/components/button/ghost-icon/GhostIconProps.d.ts.map +1 -1
- package/lib/typescript/module/components/button/index.d.ts +1 -1
- package/lib/typescript/module/components/button/index.d.ts.map +1 -1
- package/lib/typescript/module/components/button/primary-danger/index.d.ts +1 -1
- package/lib/typescript/module/components/button/primary-danger/index.d.ts.map +1 -1
- package/lib/typescript/module/components/button-group/ButtonGroup.d.ts +82 -0
- package/lib/typescript/module/components/button-group/ButtonGroup.d.ts.map +1 -0
- package/lib/typescript/module/components/button-group/ButtonGroupProps.d.ts +41 -0
- package/lib/typescript/module/components/button-group/ButtonGroupProps.d.ts.map +1 -0
- package/lib/typescript/module/components/button-group/ButtonGroupRef.d.ts +4 -0
- package/lib/typescript/module/components/button-group/ButtonGroupRef.d.ts.map +1 -0
- package/lib/typescript/module/components/button-group/_context.d.ts +6 -0
- package/lib/typescript/module/components/button-group/_context.d.ts.map +1 -0
- package/lib/typescript/module/components/button-group/_renderer-2/Renderer2.d.ts +5 -0
- package/lib/typescript/module/components/button-group/_renderer-2/Renderer2.d.ts.map +1 -0
- package/lib/typescript/module/components/button-group/_renderer-2/Renderer2Props.d.ts +11 -0
- package/lib/typescript/module/components/button-group/_renderer-2/Renderer2Props.d.ts.map +1 -0
- package/lib/typescript/module/components/button-group/_renderer-2/index.d.ts +3 -0
- package/lib/typescript/module/components/button-group/_renderer-2/index.d.ts.map +1 -0
- package/lib/typescript/module/components/button-group/_renderer-3/Renderer3.d.ts +5 -0
- package/lib/typescript/module/components/button-group/_renderer-3/Renderer3.d.ts.map +1 -0
- package/lib/typescript/module/components/button-group/_renderer-3/Renderer3Props.d.ts +14 -0
- package/lib/typescript/module/components/button-group/_renderer-3/Renderer3Props.d.ts.map +1 -0
- package/lib/typescript/module/components/button-group/_renderer-3/index.d.ts +3 -0
- package/lib/typescript/module/components/button-group/_renderer-3/index.d.ts.map +1 -0
- package/lib/typescript/module/components/button-group/index.d.ts +4 -0
- package/lib/typescript/module/components/button-group/index.d.ts.map +1 -0
- package/lib/typescript/module/components/index.d.ts +3 -0
- package/lib/typescript/module/components/index.d.ts.map +1 -1
- package/lib/typescript/module/components/inline-loading/InlineLoading.d.ts +4 -0
- package/lib/typescript/module/components/inline-loading/InlineLoading.d.ts.map +1 -0
- package/lib/typescript/module/components/inline-loading/InlineLoadingProps.d.ts +12 -0
- package/lib/typescript/module/components/inline-loading/InlineLoadingProps.d.ts.map +1 -0
- package/lib/typescript/module/components/inline-loading/InlineLoadingRef.d.ts +4 -0
- package/lib/typescript/module/components/inline-loading/InlineLoadingRef.d.ts.map +1 -0
- package/lib/typescript/module/components/inline-loading/InlineLoadingState.d.ts +2 -0
- package/lib/typescript/module/components/inline-loading/InlineLoadingState.d.ts.map +1 -0
- package/lib/typescript/module/components/inline-loading/index.d.ts +5 -0
- package/lib/typescript/module/components/inline-loading/index.d.ts.map +1 -0
- package/lib/typescript/module/components/loading/Loading.d.ts +4 -0
- package/lib/typescript/module/components/loading/Loading.d.ts.map +1 -0
- package/lib/typescript/module/components/loading/LoadingProps.d.ts +9 -0
- package/lib/typescript/module/components/loading/LoadingProps.d.ts.map +1 -0
- package/lib/typescript/module/components/loading/LoadingRef.d.ts +4 -0
- package/lib/typescript/module/components/loading/LoadingRef.d.ts.map +1 -0
- package/lib/typescript/module/components/loading/LoadingType.d.ts +2 -0
- package/lib/typescript/module/components/loading/LoadingType.d.ts.map +1 -0
- package/lib/typescript/module/components/loading/_loading-progress.d.ts +6 -0
- package/lib/typescript/module/components/loading/_loading-progress.d.ts.map +1 -0
- package/lib/typescript/module/components/loading/index.d.ts +5 -0
- package/lib/typescript/module/components/loading/index.d.ts.map +1 -0
- package/lib/typescript/module/providers/toast/_overlay/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/lib/commonjs/_internal/index.js +0 -50
- package/lib/commonjs/_internal/index.js.map +0 -1
- package/lib/commonjs/components/button/ButtonSize.js +0 -2
- package/lib/commonjs/components/button/ButtonSize.js.map +0 -1
- package/lib/module/_internal/index.js +0 -7
- package/lib/module/_internal/index.js.map +0 -1
- package/lib/module/components/button/ButtonSize.js +0 -2
- package/lib/module/components/button/ButtonSize.js.map +0 -1
- package/lib/typescript/commonjs/_internal/index.d.ts +0 -5
- package/lib/typescript/commonjs/_internal/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/button/ButtonSize.d.ts +0 -2
- package/lib/typescript/commonjs/components/button/ButtonSize.d.ts.map +0 -1
- package/lib/typescript/module/_internal/index.d.ts +0 -5
- package/lib/typescript/module/_internal/index.d.ts.map +0 -1
- package/lib/typescript/module/components/button/ButtonSize.d.ts +0 -2
- package/lib/typescript/module/components/button/ButtonSize.d.ts.map +0 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.ButtonGroupContext = void 0;
|
|
8
|
+
var _react = require("react");
|
|
9
|
+
const ButtonGroupContext = exports.ButtonGroupContext = /*#__PURE__*/(0, _react.createContext)({
|
|
10
|
+
size: undefined
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=ButtonGroupContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Object","defineProperty","exports","value","ButtonGroupContext","_react","require","createContext","size","undefined"],"sourceRoot":"../../../../../src","sources":["_internal/components/button-group/ButtonGroupContext.ts"],"mappings":";AAAA,YAAY;;AAAAA,MAAA,CAAAC,cAAA,CAAAC,OAAA;EAAAC,KAAA;AAAA;AAAAD,OAAA,CAAAE,kBAAA;AAEZ,IAAAC,MAAA,GAAAC,OAAA;AAYO,MAAMF,kBAAkB,GAAAF,OAAA,CAAAE,kBAAA,gBAAG,IAAAG,oBAAa,EAAqB;EACnEC,IAAI,EAAEC;AACP,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _ButtonGroupContext = require("./ButtonGroupContext.js");
|
|
7
|
+
Object.keys(_ButtonGroupContext).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _ButtonGroupContext[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _ButtonGroupContext[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_ButtonGroupContext","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["_internal/components/button-group/index.tsx"],"mappings":";;;;;AAAA,IAAAA,mBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,mBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,mBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,mBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _index = require("./button-group/index.js");
|
|
7
|
+
Object.keys(_index).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _index[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _index[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../src","sources":["_internal/components/index.tsx"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -24,9 +24,15 @@ const FlexStyleSheet = exports.FlexStyleSheet = _reactNative.StyleSheet.create({
|
|
|
24
24
|
flex_col: {
|
|
25
25
|
flexDirection: 'column'
|
|
26
26
|
},
|
|
27
|
+
flex_col_reverse: {
|
|
28
|
+
flexDirection: 'column-reverse'
|
|
29
|
+
},
|
|
27
30
|
flex_row: {
|
|
28
31
|
flexDirection: 'row'
|
|
29
32
|
},
|
|
33
|
+
flex_row_reverse: {
|
|
34
|
+
flexDirection: 'row-reverse'
|
|
35
|
+
},
|
|
30
36
|
flex_wrap: {
|
|
31
37
|
flexWrap: 'wrap'
|
|
32
38
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","FlexStyleSheet","exports","StyleSheet","create","flex_1","flexGrow","flexShrink","flexBasis","flex_auto","flex_initial","flex_col","flexDirection","flex_row","flex_wrap","flexWrap","flex_wrap_reverse","flex_nowrap","items_start","alignItems","items_center","items_end","content_start","alignContent","content_center","content_end","justify_start","justifyContent","justify_center","justify_between","justify_end","self_start","alignSelf","self_center","self_end","self_stretch"],"sourceRoot":"../../../../src","sources":["_internal/style-sheets/flex-style-sheet.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAIO,MAAMC,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAGE,uBAAU,CAACC,MAAM,CAAC;EAC/CC,MAAM,EAAE;IACPC,QAAQ,EAAE,CAAC;IACXC,UAAU,EAAE,CAAC;IACbC,SAAS,EAAE;EACZ,CAAC;EACDC,SAAS,EAAE;IACVH,QAAQ,EAAE,CAAC;IACXC,UAAU,EAAE,CAAC;IACbC,SAAS,EAAE;EACZ,CAAC;EACDE,YAAY,EAAE;IACbJ,QAAQ,EAAE,CAAC;IACXC,UAAU,EAAE,CAAC;IACbC,SAAS,EAAE;EACZ,CAAC;EACDG,QAAQ,EAAE;IACTC,aAAa,EAAE;EAChB,CAAC;EACDC,
|
|
1
|
+
{"version":3,"names":["_reactNative","require","FlexStyleSheet","exports","StyleSheet","create","flex_1","flexGrow","flexShrink","flexBasis","flex_auto","flex_initial","flex_col","flexDirection","flex_col_reverse","flex_row","flex_row_reverse","flex_wrap","flexWrap","flex_wrap_reverse","flex_nowrap","items_start","alignItems","items_center","items_end","content_start","alignContent","content_center","content_end","justify_start","justifyContent","justify_center","justify_between","justify_end","self_start","alignSelf","self_center","self_end","self_stretch"],"sourceRoot":"../../../../src","sources":["_internal/style-sheets/flex-style-sheet.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAIO,MAAMC,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAGE,uBAAU,CAACC,MAAM,CAAC;EAC/CC,MAAM,EAAE;IACPC,QAAQ,EAAE,CAAC;IACXC,UAAU,EAAE,CAAC;IACbC,SAAS,EAAE;EACZ,CAAC;EACDC,SAAS,EAAE;IACVH,QAAQ,EAAE,CAAC;IACXC,UAAU,EAAE,CAAC;IACbC,SAAS,EAAE;EACZ,CAAC;EACDE,YAAY,EAAE;IACbJ,QAAQ,EAAE,CAAC;IACXC,UAAU,EAAE,CAAC;IACbC,SAAS,EAAE;EACZ,CAAC;EACDG,QAAQ,EAAE;IACTC,aAAa,EAAE;EAChB,CAAC;EACDC,gBAAgB,EAAE;IACjBD,aAAa,EAAE;EAChB,CAAC;EACDE,QAAQ,EAAE;IACTF,aAAa,EAAE;EAChB,CAAC;EACDG,gBAAgB,EAAE;IACjBH,aAAa,EAAE;EAChB,CAAC;EACDI,SAAS,EAAE;IACVC,QAAQ,EAAE;EACX,CAAC;EACDC,iBAAiB,EAAE;IAClBD,QAAQ,EAAE;EACX,CAAC;EACDE,WAAW,EAAE;IACZF,QAAQ,EAAE;EACX,CAAC;EACDG,WAAW,EAAE;IACZC,UAAU,EAAE;EACb,CAAC;EACDC,YAAY,EAAE;IACbD,UAAU,EAAE;EACb,CAAC;EACDE,SAAS,EAAE;IACVF,UAAU,EAAE;EACb,CAAC;EACDG,aAAa,EAAE;IACdC,YAAY,EAAE;EACf,CAAC;EACDC,cAAc,EAAE;IACfD,YAAY,EAAE;EACf,CAAC;EACDE,WAAW,EAAE;IACZF,YAAY,EAAE;EACf,CAAC;EACDG,aAAa,EAAE;IACdC,cAAc,EAAE;EACjB,CAAC;EACDC,cAAc,EAAE;IACfD,cAAc,EAAE;EACjB,CAAC;EACDE,eAAe,EAAE;IAChBF,cAAc,EAAE;EACjB,CAAC;EACDG,WAAW,EAAE;IACZH,cAAc,EAAE;EACjB,CAAC;EACDI,UAAU,EAAE;IACXC,SAAS,EAAE;EACZ,CAAC;EACDC,WAAW,EAAE;IACZD,SAAS,EAAE;EACZ,CAAC;EACDE,QAAQ,EAAE;IACTF,SAAS,EAAE;EACZ,CAAC;EACDG,YAAY,EAAE;IACbH,SAAS,EAAE;EACZ;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/button/Size.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -7,52 +7,59 @@ exports.Base = void 0;
|
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _carbonReactNativeElements = require("@audira/carbon-react-native-elements");
|
|
10
|
-
var _index = require("../../../_internal/
|
|
11
|
-
var _index2 = require("
|
|
12
|
-
var _index3 = require("../../
|
|
10
|
+
var _index = require("../../../_internal/components/button-group/index.js");
|
|
11
|
+
var _index2 = require("../../../_internal/style-sheets/index.js");
|
|
12
|
+
var _index3 = require("../../icon/index.js");
|
|
13
|
+
var _index4 = require("../../text/index.js");
|
|
13
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
15
|
const Base = exports.Base = /*#__PURE__*/(0, _react.forwardRef)(function Base({
|
|
15
|
-
size
|
|
16
|
+
size: sizeProp,
|
|
16
17
|
text,
|
|
18
|
+
textProps,
|
|
17
19
|
icon,
|
|
18
|
-
|
|
20
|
+
iconProps,
|
|
19
21
|
iconNode,
|
|
20
22
|
backgroundNode,
|
|
23
|
+
InlineLoading,
|
|
24
|
+
inlineLoadingProps,
|
|
21
25
|
style,
|
|
22
|
-
textStyle,
|
|
23
|
-
iconStyle,
|
|
24
26
|
role = 'button',
|
|
25
27
|
'aria-label': ariaLabel,
|
|
26
28
|
...props
|
|
27
29
|
}, ref) {
|
|
28
|
-
const
|
|
30
|
+
const buttonGroupContext = (0, _react.useContext)(_index.ButtonGroupContext),
|
|
31
|
+
size = sizeProp ?? buttonGroupContext.size ?? 'large_productive',
|
|
32
|
+
iconSize = getIconSize(size);
|
|
29
33
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Pressable, {
|
|
30
34
|
...props,
|
|
31
35
|
role: role,
|
|
32
36
|
"aria-label": ariaLabel ?? text,
|
|
33
|
-
style: [
|
|
37
|
+
style: [_index2.FlexStyleSheet.flex_row, _index2.FlexStyleSheet.justify_between, _index2.FlexStyleSheet.self_start, baseStyle.container, sizeStyle[size], getContainerPaddingRight(!!text, !!icon || !!iconNode), style],
|
|
34
38
|
ref: ref,
|
|
35
|
-
children: [backgroundNode,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
39
|
+
children: [backgroundNode, !InlineLoading || inlineLoadingProps?.state === 'inactive' ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
40
|
+
children: [!!text && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
41
|
+
style: baseStyle.textContainer,
|
|
42
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.Text, {
|
|
43
|
+
...textProps,
|
|
44
|
+
type: getTextType(size),
|
|
45
|
+
children: text
|
|
46
|
+
})
|
|
47
|
+
}), !!icon && !iconNode ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Icon, {
|
|
48
|
+
...iconProps,
|
|
49
|
+
src: icon,
|
|
50
|
+
width: iconProps?.width ?? iconSize,
|
|
51
|
+
height: iconProps?.height ?? iconSize,
|
|
52
|
+
style: [getIconMarginTopStyle(size), getIconMarginLeftStyle(!!text), iconProps?.style]
|
|
53
|
+
}) : iconNode?.(iconSize, [getIconMarginTopStyle(size), getIconMarginLeftStyle(!!text)])]
|
|
54
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(InlineLoading, {
|
|
55
|
+
...inlineLoadingProps,
|
|
56
|
+
text: inlineLoadingProps?.text || text || '',
|
|
57
|
+
style: [baseStyle.inlineLoading, inlineLoadingProps?.style]
|
|
58
|
+
})]
|
|
49
59
|
});
|
|
50
60
|
});
|
|
51
61
|
const baseStyle = _reactNative.StyleSheet.create({
|
|
52
62
|
container: {
|
|
53
|
-
..._index.FlexStyleSheet.self_start,
|
|
54
|
-
..._index.FlexStyleSheet.flex_row,
|
|
55
|
-
..._index.FlexStyleSheet.justify_between,
|
|
56
63
|
overflow: 'hidden',
|
|
57
64
|
paddingLeft: _carbonReactNativeElements.Spacing.spacing_05
|
|
58
65
|
},
|
|
@@ -63,7 +70,7 @@ const baseStyle = _reactNative.StyleSheet.create({
|
|
|
63
70
|
paddingRight: _carbonReactNativeElements.Spacing.spacing_10
|
|
64
71
|
},
|
|
65
72
|
contentContainer: {
|
|
66
|
-
...
|
|
73
|
+
..._index2.FlexStyleSheet.flex_initial,
|
|
67
74
|
maxHeight: _carbonReactNativeElements.Spacing.spacing_09
|
|
68
75
|
},
|
|
69
76
|
textContainer: {
|
|
@@ -73,6 +80,10 @@ const baseStyle = _reactNative.StyleSheet.create({
|
|
|
73
80
|
},
|
|
74
81
|
iconML32: {
|
|
75
82
|
marginLeft: _carbonReactNativeElements.Spacing.spacing_07
|
|
83
|
+
},
|
|
84
|
+
inlineLoading: {
|
|
85
|
+
height: '100%',
|
|
86
|
+
maxHeight: 48
|
|
76
87
|
}
|
|
77
88
|
}),
|
|
78
89
|
sizeStyle = _reactNative.StyleSheet.create({
|
|
@@ -96,10 +107,14 @@ const baseStyle = _reactNative.StyleSheet.create({
|
|
|
96
107
|
}
|
|
97
108
|
}),
|
|
98
109
|
mapContainerPR = {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
110
|
+
false: {
|
|
111
|
+
false: baseStyle.containerPR16,
|
|
112
|
+
true: baseStyle.containerPR16
|
|
113
|
+
},
|
|
114
|
+
true: {
|
|
115
|
+
false: baseStyle.containerPR64,
|
|
116
|
+
true: baseStyle.containerPR16
|
|
117
|
+
}
|
|
103
118
|
},
|
|
104
119
|
/**
|
|
105
120
|
* https://carbondesignsystem.com/components/button/style/#typography
|
|
@@ -121,31 +136,31 @@ const baseStyle = _reactNative.StyleSheet.create({
|
|
|
121
136
|
* Expressive only when button size is LARGE_EXPRESSIVE. You can see this link
|
|
122
137
|
* https://carbondesignsystem.com/components/button/style/#sizes
|
|
123
138
|
*/
|
|
124
|
-
function isExpressiveStr(
|
|
125
|
-
return `${
|
|
139
|
+
function isExpressiveStr(Size) {
|
|
140
|
+
return `${Size === 'large_expressive'}`;
|
|
126
141
|
}
|
|
127
142
|
function getContainerPaddingRight(text, icon) {
|
|
128
|
-
return mapContainerPR[
|
|
143
|
+
return mapContainerPR[`${text}`][`${icon}`];
|
|
129
144
|
}
|
|
130
145
|
|
|
131
146
|
/**
|
|
132
147
|
* Expressive only when button size is LARGE_EXPRESSIVE. You can see this link
|
|
133
148
|
* https://carbondesignsystem.com/components/button/style/#sizes
|
|
134
149
|
*/
|
|
135
|
-
function getTextType(
|
|
136
|
-
return mapTextTypeByExpressive[isExpressiveStr(
|
|
150
|
+
function getTextType(size) {
|
|
151
|
+
return mapTextTypeByExpressive[isExpressiveStr(size)];
|
|
137
152
|
}
|
|
138
153
|
|
|
139
154
|
/**
|
|
140
155
|
* Expressive only when button size is LARGE_EXPRESSIVE. You can see this link
|
|
141
156
|
* https://carbondesignsystem.com/components/button/style/#sizes
|
|
142
157
|
*/
|
|
143
|
-
function getIconSize(
|
|
144
|
-
return mapIconSizeByExpressive[isExpressiveStr(
|
|
158
|
+
function getIconSize(size) {
|
|
159
|
+
return mapIconSizeByExpressive[isExpressiveStr(size)];
|
|
145
160
|
}
|
|
146
|
-
function getIconMarginTopStyle(
|
|
147
|
-
const iconSize = mapIconSizeByExpressive[isExpressiveStr(
|
|
148
|
-
height = Math.min(sizeStyle[
|
|
161
|
+
function getIconMarginTopStyle(size) {
|
|
162
|
+
const iconSize = mapIconSizeByExpressive[isExpressiveStr(size)],
|
|
163
|
+
height = Math.min(sizeStyle[size].height, sizeStyle.large_productive.height); // 48 at max
|
|
149
164
|
|
|
150
165
|
return {
|
|
151
166
|
marginTop: height / 2 - iconSize / 2
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","_index","_index2","_index3","_jsxRuntime","Base","exports","forwardRef","size","text","icon","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","_index","_index2","_index3","_index4","_jsxRuntime","Base","exports","forwardRef","size","sizeProp","text","textProps","icon","iconProps","iconNode","backgroundNode","InlineLoading","inlineLoadingProps","style","role","ariaLabel","props","ref","buttonGroupContext","useContext","ButtonGroupContext","iconSize","getIconSize","jsxs","Pressable","FlexStyleSheet","flex_row","justify_between","self_start","baseStyle","container","sizeStyle","getContainerPaddingRight","children","state","Fragment","jsx","View","textContainer","Text","type","getTextType","Icon","src","width","height","getIconMarginTopStyle","getIconMarginLeftStyle","inlineLoading","StyleSheet","create","overflow","paddingLeft","Spacing","spacing_05","containerPR16","paddingRight","containerPR64","spacing_10","contentContainer","flex_initial","maxHeight","spacing_09","justifyContent","iconML32","marginLeft","spacing_07","small","medium","large_productive","large_expressive","extra_large","mapContainerPR","false","true","mapTextTypeByExpressive","mapIconSizeByExpressive","mapIconMLByText","isExpressiveStr","Size","Math","min","marginTop","hasText"],"sourceRoot":"../../../../../src","sources":["components/button/base/Base.tsx"],"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A,CAACoC,OAAgB,EAAE;EACjD,OAAON,eAAe,CAAC,GAAGM,OAAO,EAAE,CAAC;AACrC","ignoreList":[]}
|
|
@@ -14,11 +14,14 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
14
14
|
const BaseColor = exports.BaseColor = /*#__PURE__*/(0, _react.forwardRef)(function BaseColor({
|
|
15
15
|
disabled,
|
|
16
16
|
style,
|
|
17
|
-
|
|
17
|
+
textProps,
|
|
18
18
|
android_rippleEffectColor,
|
|
19
19
|
colorStateStyle,
|
|
20
20
|
icon,
|
|
21
|
+
iconProps,
|
|
21
22
|
iconNode,
|
|
23
|
+
InlineLoading,
|
|
24
|
+
inlineLoadingProps,
|
|
22
25
|
onBlur,
|
|
23
26
|
onFocus,
|
|
24
27
|
onHoverIn,
|
|
@@ -89,7 +92,7 @@ const BaseColor = exports.BaseColor = /*#__PURE__*/(0, _react.forwardRef)(functi
|
|
|
89
92
|
color: android_rippleEffectColor
|
|
90
93
|
} : undefined,
|
|
91
94
|
backgroundNode: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
92
|
-
style: [
|
|
95
|
+
style: [styleSheet.innerFocusBox, state.focused ? mapInnerFocusBoxActiveStyle[themeContext.colorScheme] : null]
|
|
93
96
|
}),
|
|
94
97
|
disabled: disabled,
|
|
95
98
|
onBlur: blurHandler,
|
|
@@ -98,14 +101,25 @@ const BaseColor = exports.BaseColor = /*#__PURE__*/(0, _react.forwardRef)(functi
|
|
|
98
101
|
onHoverOut: hoverOutHandler,
|
|
99
102
|
onPressIn: pressInHandler,
|
|
100
103
|
onPressOut: pressOutHandler,
|
|
101
|
-
|
|
104
|
+
textProps: {
|
|
105
|
+
...textProps,
|
|
106
|
+
style: [stateStyle.text, textProps?.style]
|
|
107
|
+
},
|
|
102
108
|
icon: !iconNode ? icon : undefined,
|
|
109
|
+
iconProps: {
|
|
110
|
+
...iconProps,
|
|
111
|
+
color: iconProps?.color ?? stateStyle.icon
|
|
112
|
+
},
|
|
103
113
|
iconNode: iconNode ? (...params) => iconNode(stateStyle.icon, ...params) : undefined,
|
|
104
|
-
|
|
105
|
-
|
|
114
|
+
InlineLoading: InlineLoading,
|
|
115
|
+
inlineLoadingProps: inlineLoadingProps,
|
|
116
|
+
style: [!InlineLoading || inlineLoadingProps?.state === 'inactive' ? stateStyle.background : styleSheet.withInlineLoading, style]
|
|
106
117
|
});
|
|
107
118
|
});
|
|
108
|
-
const
|
|
119
|
+
const styleSheet = _reactNative.StyleSheet.create({
|
|
120
|
+
withInlineLoading: {
|
|
121
|
+
borderColor: 'transparent'
|
|
122
|
+
},
|
|
109
123
|
innerFocusBox: {
|
|
110
124
|
position: 'absolute',
|
|
111
125
|
top: 2,
|
|
@@ -123,8 +137,8 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
123
137
|
}
|
|
124
138
|
}),
|
|
125
139
|
mapInnerFocusBoxActiveStyle = {
|
|
126
|
-
gray_10:
|
|
127
|
-
gray_100:
|
|
140
|
+
gray_10: styleSheet.innerFocusBoxActive_GRAY_10,
|
|
141
|
+
gray_100: styleSheet.innerFocusBoxActive_GRAY_100
|
|
128
142
|
};
|
|
129
143
|
function getStateStyle(colorStateStyle, states, androidRipple) {
|
|
130
144
|
if (!states.hovered && !states.pressed && !states.disabled) {
|
|
@@ -143,7 +157,7 @@ function getStateStyle(colorStateStyle, states, androidRipple) {
|
|
|
143
157
|
}
|
|
144
158
|
if (states.pressed) {
|
|
145
159
|
return {
|
|
146
|
-
background: androidRipple ? colorStateStyle.background.default : colorStateStyle.background.pressed,
|
|
160
|
+
background: androidRipple && _reactNative.Platform.OS == 'android' ? colorStateStyle.background.default : colorStateStyle.background.pressed,
|
|
147
161
|
text: colorStateStyle.text.pressed,
|
|
148
162
|
icon: colorStateStyle.icon.pressed
|
|
149
163
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","_index","_index2","_index3","_jsxRuntime","BaseColor","exports","forwardRef","disabled","style","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","_index","_index2","_index3","_jsxRuntime","BaseColor","exports","forwardRef","disabled","style","textProps","android_rippleEffectColor","colorStateStyle","icon","iconProps","iconNode","InlineLoading","inlineLoadingProps","onBlur","onFocus","onHoverIn","onHoverOut","onPressIn","onPressOut","android_ripple","props","ref","globalConfigContext","useContext","GlobalConfigContext","themeContext","ThemeContext","state","setState","useState","focused","hovered","pressed","blurHandler","useCallback","event","state_","focusHandler","hoverInHandler","hoverOutHandler","pressInHandler","pressOutHandler","stateStyle","getStateStyle","android_buttonRippleEffect","jsx","Base","color","undefined","backgroundNode","View","styleSheet","innerFocusBox","mapInnerFocusBoxActiveStyle","colorScheme","text","params","background","withInlineLoading","StyleSheet","create","borderColor","position","top","right","bottom","left","borderWidth","innerFocusBoxActive_GRAY_10","Color","Token","gray_10","focus_inset","innerFocusBoxActive_GRAY_100","gray_100","states","androidRipple","default","Platform","OS"],"sourceRoot":"../../../../../src","sources":["components/button/base-color/BaseColor.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAOA,IAAAC,YAAA,GAAAD,OAAA;AASA,IAAAE,0BAAA,GAAAF,OAAA;AAIA,IAAAG,MAAA,GAAAH,OAAA;AAIA,IAAAI,OAAA,GAAAJ,OAAA;AAQA,IAAAK,OAAA,GAAAL,OAAA;AAGgB,IAAAM,WAAA,GAAAN,OAAA;AAcT,MAAMO,SAAS,GAAAC,OAAA,CAAAD,SAAA,gBAAG,IAAAE,iBAAU,EAClC,SAASF,SAASA,CACjB;EACCG,QAAQ;EACRC,KAAK;EACLC,SAAS;EACTC,yBAAyB;EACzBC,eAAe;EACfC,IAAI;EACJC,SAAS;EACTC,QAAQ;EACRC,aAAa;EACbC,kBAAkB;EAClBC,MAAM;EACNC,OAAO;EACPC,SAAS;EACTC,UAAU;EACVC,SAAS;EACTC,UAAU;EACVC,cAAc;EACd,GAAGC;AACJ,CAA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../base-color/index.js");
|
|
|
13
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
14
|
const Ghost = exports.Ghost = /*#__PURE__*/(0, _react.forwardRef)(function Ghost({
|
|
15
15
|
text,
|
|
16
|
-
|
|
16
|
+
iconProps,
|
|
17
17
|
...props
|
|
18
18
|
}, ref) {
|
|
19
19
|
const themeContext = (0, _react.useContext)(_index.ThemeContext);
|
|
@@ -25,7 +25,7 @@ const Ghost = exports.Ghost = /*#__PURE__*/(0, _react.forwardRef)(function Ghost
|
|
|
25
25
|
colorStateStyle: {
|
|
26
26
|
background: {
|
|
27
27
|
default: colorStyle.background_default,
|
|
28
|
-
focused: colorStyle.
|
|
28
|
+
focused: colorStyle.background_focused,
|
|
29
29
|
hovered: colorStyle.background_hovered,
|
|
30
30
|
pressed: colorStyle.background_pressed,
|
|
31
31
|
disabled: colorStyle.background_disabled
|
|
@@ -39,7 +39,10 @@ const Ghost = exports.Ghost = /*#__PURE__*/(0, _react.forwardRef)(function Ghost
|
|
|
39
39
|
},
|
|
40
40
|
icon: mapIconColor[themeContext.colorScheme]
|
|
41
41
|
},
|
|
42
|
-
|
|
42
|
+
iconProps: {
|
|
43
|
+
...iconProps,
|
|
44
|
+
style: [mapIconPLByText[`${!!text}`], iconProps?.style]
|
|
45
|
+
}
|
|
43
46
|
});
|
|
44
47
|
});
|
|
45
48
|
const colorStyle = _index2.CarbonStyleSheet.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","_index","_index2","_index3","_jsxRuntime","Ghost","exports","forwardRef","text","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","_index","_index2","_index3","_jsxRuntime","Ghost","exports","forwardRef","text","iconProps","props","ref","themeContext","useContext","ThemeContext","jsx","BaseColor","android_rippleEffectColor","mapAndroidRippleEffectColor","colorScheme","colorStateStyle","background","default","colorStyle","background_default","focused","background_focused","hovered","background_hovered","pressed","background_pressed","disabled","background_disabled","text_default","text_focused","text_hovered","text_pressed","text_disabled","icon","mapIconColor","style","mapIconPLByText","CarbonStyleSheet","create","backgroundColor","borderWidth","borderColor","color","focus","background_hover","background_active","link_primary","link_primary_hover","StyleSheet","iconPL8","paddingLeft","Spacing","spacing_03","false","true","gray_10","Color","Token","icon_disabled","gray_100"],"sourceRoot":"../../../../../src","sources":["components/button/ghost/Ghost.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAKA,IAAAC,YAAA,GAAAD,OAAA;AAMA,IAAAE,0BAAA,GAAAF,OAAA;AAKA,IAAAG,MAAA,GAAAH,OAAA;AAIA,IAAAI,OAAA,GAAAJ,OAAA;AAIA,IAAAK,OAAA,GAAAL,OAAA;AAIsB,IAAAM,WAAA,GAAAN,OAAA;AAUf,MAAMO,KAAK,GAAAC,OAAA,CAAAD,KAAA,gBAAG,IAAAE,iBAAU,EAC9B,SAASF,KAAKA,CACb;EACCG,IAAI;EACJC,SAAS;EACT,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,MACCC,YAAY,GACX,IAAAC,iBAAU,EAACC,mBAAY,CAAC;EAE1B,oBACC,IAAAV,WAAA,CAAAW,GAAA,EAACZ,OAAA,CAAAa,SAAS;IAAA,GACJN,KAAK;IACVC,GAAG,EAAGA,GAAK;IACXH,IAAI,EAAGA,IAAM;IACbS,yBAAyB,EAAGC,2BAA2B,CAACN,YAAY,CAACO,WAAW,CAAG;IACnFC,eAAe,EAAE;MAChBC,UAAU,EAAE;QACXC,OAAO,EAAEC,UAAU,CAACC,kBAAkB;QACtCC,OAAO,EAAEF,UAAU,CAACG,kBAAkB;QACtCC,OAAO,EAAEJ,UAAU,CAACK,kBAAkB;QACtCC,OAAO,EAAEN,UAAU,CAACO,kBAAkB;QACtCC,QAAQ,EAAER,UAAU,CAACS;MACtB,CAAC;MACDxB,IAAI,EAAE;QACLc,OAAO,EAAEC,UAAU,CAACU,YAAY;QAChCR,OAAO,EAAEF,U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,uBAAU,CAACV,MAAM,CAAC;IACjBW,OAAO,EAAE;MACRC,WAAW,EAAEC,kCAAO,CAACC;IACtB;EACD,CAAC,CAAC;EAEHhB,eAA+D,GAC9D;IACCiB,KAAK,EAAE,IAAI;IACXC,IAAI,EAAEnB,KAAK,CAACc;EACb,CAAC;EAEFf,YAAiF,GAChF;IACCqB,OAAO,EAAE;MACRtC,OAAO,EAAEuC,gCAAK,CAACC,KAAK,CAACF,OAAO,CAACT,YAAY;MACzC1B,OAAO,EAAEoC,gCAAK,CAACC,KAAK,CAACF,OAAO,CAACT,YAAY;MACzCxB,OAAO,EAAEkC,gCAAK,CAACC,KAAK,CAACF,OAAO,CAACR,kBAAkB;MAC/CvB,OAAO,EAAEgC,gCAAK,CAACC,KAAK,CAACF,OAAO,CAACT,YAAY;MACzCpB,QAAQ,EAAE8B,gCAAK,CAACC,KAAK,CAACF,OAAO,CAACG;IAC/B,CAAC;IACDC,QAAQ,EAAE;MACT1C,OAAO,EAAEuC,gCAAK,CAACC,KAAK,CAACE,QAAQ,CAACb,YAAY;MAC1C1B,OAAO,EAAEoC,gCAAK,CAACC,KAAK,CAACE,QAAQ,CAACb,YAAY;MAC1CxB,OAAO,EAAEkC,gCAAK,CAACC,KAAK,CAACE,QAAQ,CAACZ,kBAAkB;MAChDvB,OAAO,EAAEgC,gCAAK,CAACC,KAAK,CAACE,QAAQ,CAACb,YAAY;MAC1CpB,QAAQ,EAAE8B,gCAAK,CAACC,KAAK,CAACE,QAAQ,CAACD;IAChC;EACD,CAAC;EAEF7C,2BAAwE,GACvE;IACC0C,OAAO,EAAEC,gCAAK,CAACC,KAAK,CAACF,OAAO,CAACV,iBAAiB;IAC9Cc,QAAQ,EAAEH,gCAAK,CAACC,KAAK,CAACE,QAAQ,CAACd;EAChC,CAAC","ignoreList":[]}
|
|
@@ -13,7 +13,7 @@ var _index3 = require("../base-color/index.js");
|
|
|
13
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
14
|
const GhostDanger = exports.GhostDanger = /*#__PURE__*/(0, _react.forwardRef)(function GhostDanger({
|
|
15
15
|
text,
|
|
16
|
-
|
|
16
|
+
iconProps,
|
|
17
17
|
...props
|
|
18
18
|
}, ref) {
|
|
19
19
|
const themeContext = (0, _react.useContext)(_index.ThemeContext);
|
|
@@ -25,7 +25,7 @@ const GhostDanger = exports.GhostDanger = /*#__PURE__*/(0, _react.forwardRef)(fu
|
|
|
25
25
|
colorStateStyle: {
|
|
26
26
|
background: {
|
|
27
27
|
default: colorStyle.background_default,
|
|
28
|
-
focused: colorStyle.
|
|
28
|
+
focused: colorStyle.background_focused,
|
|
29
29
|
hovered: colorStyle.background_hovered,
|
|
30
30
|
pressed: colorStyle.background_pressed,
|
|
31
31
|
disabled: colorStyle.background_disabled
|
|
@@ -39,7 +39,10 @@ const GhostDanger = exports.GhostDanger = /*#__PURE__*/(0, _react.forwardRef)(fu
|
|
|
39
39
|
},
|
|
40
40
|
icon: mapIconColor[themeContext.colorScheme]
|
|
41
41
|
},
|
|
42
|
-
|
|
42
|
+
iconProps: {
|
|
43
|
+
...iconProps,
|
|
44
|
+
style: [mapIconPLByText[`${!!text}`], iconProps?.style]
|
|
45
|
+
}
|
|
43
46
|
});
|
|
44
47
|
});
|
|
45
48
|
const colorStyle = _index2.CarbonStyleSheet.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","_index","_index2","_index3","_jsxRuntime","GhostDanger","exports","forwardRef","text","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","_index","_index2","_index3","_jsxRuntime","GhostDanger","exports","forwardRef","text","iconProps","props","ref","themeContext","useContext","ThemeContext","jsx","BaseColor","android_rippleEffectColor","mapAndroidRippleEffectColor","colorScheme","colorStateStyle","background","default","colorStyle","background_default","focused","background_focused","hovered","background_hovered","pressed","background_pressed","disabled","background_disabled","text_default","text_focused","text_hovered","text_pressed","text_disabled","icon","mapIconColor","style","mapIconPLByText","CarbonStyleSheet","create","backgroundColor","borderWidth","borderColor","color","focus","button_danger_hover","button_danger_active","button_disabled","button_danger_secondary","text_on_color","StyleSheet","iconPL8","paddingLeft","Spacing","spacing_03","false","true","gray_10","Color","Token","icon_on_color","icon_disabled","gray_100"],"sourceRoot":"../../../../../src","sources":["components/button/ghost-danger/GhostDanger.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAKA,IAAAC,YAAA,GAAAD,OAAA;AAMA,IAAAE,0BAAA,GAAAF,OAAA;AAKA,IAAAG,MAAA,GAAAH,OAAA;AAIA,IAAAI,OAAA,GAAAJ,OAAA;AAIA,IAAAK,OAAA,GAAAL,OAAA;AAIsB,IAAAM,WAAA,GAAAN,OAAA;AAUf,MAAMO,WAAW,GAAAC,OAAA,CAAAD,WAAA,gBAAG,IAAAE,iBAAU,EACpC,SAASF,WAAWA,CACnB;EACCG,IAAI;EACJC,SAAS;EACT,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,MACCC,YAAY,GACX,IAAAC,iBAAU,EAACC,mBAAY,CAAC;EAE1B,oBACC,IAAAV,WAAA,CAAAW,GAAA,EAACZ,OAAA,CAAAa,SAAS;IAAA,GACJN,KAAK;IACVC,GAAG,EAAGA,GAAK;IACXH,IAAI,EAAGA,IAAM;IACbS,yBAAyB,EAAGC,2BAA2B,CAACN,YAAY,CAACO,WAAW,CAAG;IACnFC,eAAe,EAAE;MAChBC,UAAU,EAAE;QACXC,OAAO,EAAEC,UAAU,CAACC,kBAAkB;QACtCC,OAAO,EAAEF,UAAU,CAACG,kBAAkB;QACtCC,OAAO,EAAEJ,UAAU,CAACK,kBAAkB;QACtCC,OAAO,EAAEN,UAAU,CAACO,kBAAkB;QACtCC,QAAQ,EAAER,UAAU,CAACS;MACtB,CAAC;MACDxB,IAAI,EAAE;QACLc,OAAO,EAAEC,UAAU,CAACU,YAAY;QAChCR,OAAO,EAAEF,UAAU,CAACW,YAAY;QAChCP,OAAO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|
-
var _ButtonSize = require("./ButtonSize.js");
|
|
29
|
-
Object.keys(_ButtonSize).forEach(function (key) {
|
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
|
31
|
-
if (key in exports && exports[key] === _ButtonSize[key]) return;
|
|
32
|
-
Object.defineProperty(exports, key, {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () {
|
|
35
|
-
return _ButtonSize[key];
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
28
|
var _index3 = require("./ghost/index.js");
|
|
40
29
|
Object.keys(_index3).forEach(function (key) {
|
|
41
30
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -102,6 +91,17 @@ Object.keys(_index8).forEach(function (key) {
|
|
|
102
91
|
}
|
|
103
92
|
});
|
|
104
93
|
});
|
|
94
|
+
var _Size = require("./Size.js");
|
|
95
|
+
Object.keys(_Size).forEach(function (key) {
|
|
96
|
+
if (key === "default" || key === "__esModule") return;
|
|
97
|
+
if (key in exports && exports[key] === _Size[key]) return;
|
|
98
|
+
Object.defineProperty(exports, key, {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () {
|
|
101
|
+
return _Size[key];
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
105
|
var _index9 = require("./tertiary/index.js");
|
|
106
106
|
Object.keys(_index9).forEach(function (key) {
|
|
107
107
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_index2","
|
|
1
|
+
{"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_index2","_index3","_index4","_index5","_index6","_index7","_index8","_Size","_index9","_index0"],"sourceRoot":"../../../../src","sources":["components/button/index.tsx"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,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A,MAAAc,OAAA,CAAAd,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAU,OAAA,CAAAd,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -19,7 +19,7 @@ const Primary = exports.Primary = /*#__PURE__*/(0, _react.forwardRef)(function P
|
|
|
19
19
|
colorStateStyle: {
|
|
20
20
|
background: {
|
|
21
21
|
default: colorStyle.background_default,
|
|
22
|
-
focused: colorStyle.
|
|
22
|
+
focused: colorStyle.background_focused,
|
|
23
23
|
hovered: colorStyle.background_hovered,
|
|
24
24
|
pressed: colorStyle.background_pressed,
|
|
25
25
|
disabled: colorStyle.background_disabled
|