@sparrowengg/twigs-mobile 0.0.4 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +217 -0
- package/lib/commonjs/alert/alert.js +1 -0
- package/lib/commonjs/alert/constants.js +1 -0
- package/lib/commonjs/alert/helpers.js +1 -0
- package/lib/commonjs/alert/icons.js +1 -0
- package/lib/commonjs/alert/index.js +1 -0
- package/lib/commonjs/alert/styles.js +1 -0
- package/lib/commonjs/alert/types.js +1 -0
- package/lib/commonjs/avatar/avatar-group.constants.js +1 -0
- package/lib/commonjs/avatar/avatar-group.helpers.js +1 -0
- package/lib/commonjs/avatar/avatar-group.js +1 -0
- package/lib/commonjs/avatar/avatar-group.styles.js +1 -0
- package/lib/commonjs/avatar/avatar-group.types.js +1 -0
- package/lib/commonjs/avatar/avatar.js +1 -0
- package/lib/commonjs/avatar/constants.js +1 -0
- package/lib/commonjs/avatar/helpers.js +1 -0
- package/lib/commonjs/avatar/index.js +1 -0
- package/lib/commonjs/avatar/styles.js +1 -0
- package/lib/commonjs/avatar/types.js +1 -0
- package/lib/commonjs/badge/badge.js +1 -0
- package/lib/commonjs/badge/constants.js +1 -0
- package/lib/commonjs/badge/helpers.js +1 -0
- package/lib/commonjs/badge/index.js +1 -0
- package/lib/commonjs/badge/styles.js +1 -0
- package/lib/commonjs/badge/types.js +1 -0
- package/lib/commonjs/bottom-sheet/bottom-sheet-header.js +1 -0
- package/lib/commonjs/bottom-sheet/bottom-sheet-modal.js +1 -0
- package/lib/commonjs/bottom-sheet/bottom-sheet.js +1 -0
- package/lib/commonjs/bottom-sheet/constants.js +1 -0
- package/lib/commonjs/bottom-sheet/index.js +1 -0
- package/lib/commonjs/bottom-sheet/styles.js +1 -0
- package/lib/commonjs/bottom-sheet/types.js +1 -0
- package/lib/commonjs/box/box.js +1 -0
- package/lib/commonjs/box/index.js +1 -0
- package/lib/commonjs/box/types.js +1 -0
- package/lib/commonjs/button/button.js +1 -0
- package/lib/commonjs/button/constants.js +1 -0
- package/lib/commonjs/button/helpers.js +1 -0
- package/lib/commonjs/button/index.js +1 -0
- package/lib/commonjs/button/styles.js +1 -0
- package/lib/commonjs/button/types.js +1 -0
- package/lib/commonjs/checkbox/checkbox.js +1 -0
- package/lib/commonjs/checkbox/constants.js +1 -0
- package/lib/commonjs/checkbox/icons.js +1 -0
- package/lib/commonjs/checkbox/index.js +1 -0
- package/lib/commonjs/checkbox/styles.js +1 -0
- package/lib/commonjs/checkbox/types.js +1 -0
- package/lib/commonjs/chip/chip.js +1 -0
- package/lib/commonjs/chip/constants.js +1 -0
- package/lib/commonjs/chip/helpers.js +1 -0
- package/lib/commonjs/chip/index.js +1 -0
- package/lib/commonjs/chip/styles.js +1 -0
- package/lib/commonjs/chip/types.js +1 -0
- package/lib/commonjs/context/index.js +1 -0
- package/lib/commonjs/context/theme-context.js +1 -0
- package/lib/commonjs/dropdown/constants.js +1 -0
- package/lib/commonjs/dropdown/dropdown-context.js +1 -0
- package/lib/commonjs/dropdown/dropdown-menu-content.js +1 -0
- package/lib/commonjs/dropdown/dropdown-menu-item.js +1 -0
- package/lib/commonjs/dropdown/dropdown-menu-label.js +1 -0
- package/lib/commonjs/dropdown/dropdown-menu-separator.js +1 -0
- package/lib/commonjs/dropdown/dropdown-menu-trigger.js +1 -0
- package/lib/commonjs/dropdown/dropdown-menu.js +1 -0
- package/lib/commonjs/dropdown/helpers.js +1 -0
- package/lib/commonjs/dropdown/index.js +1 -0
- package/lib/commonjs/dropdown/styles.js +1 -0
- package/lib/commonjs/dropdown/types.js +1 -0
- package/lib/commonjs/flex/flex.js +1 -0
- package/lib/commonjs/flex/index.js +1 -0
- package/lib/commonjs/flex/types.js +1 -0
- package/lib/commonjs/icon-button/constants.js +1 -0
- package/lib/commonjs/icon-button/helpers.js +1 -0
- package/lib/commonjs/icon-button/icon-button.js +1 -0
- package/lib/commonjs/icon-button/index.js +1 -0
- package/lib/commonjs/icon-button/types.js +1 -0
- package/lib/commonjs/index.js +1 -0
- package/lib/commonjs/link-button/constants.js +1 -0
- package/lib/commonjs/link-button/helpers.js +1 -0
- package/lib/commonjs/link-button/index.js +1 -0
- package/lib/commonjs/link-button/link-button.js +1 -0
- package/lib/commonjs/link-button/types.js +1 -0
- package/lib/commonjs/loader/circle-loader.js +1 -0
- package/lib/commonjs/loader/constants.js +1 -0
- package/lib/commonjs/loader/helpers.js +1 -0
- package/lib/commonjs/loader/index.js +1 -0
- package/lib/commonjs/loader/line-loader.js +1 -0
- package/lib/commonjs/loader/types.js +1 -0
- package/lib/commonjs/modal/constants.js +1 -0
- package/lib/commonjs/modal/helpers.js +1 -0
- package/lib/commonjs/modal/index.js +1 -0
- package/lib/commonjs/modal/modal-body.js +1 -0
- package/lib/commonjs/modal/modal-content.js +1 -0
- package/lib/commonjs/modal/modal-description.js +1 -0
- package/lib/commonjs/modal/modal-footer.js +1 -0
- package/lib/commonjs/modal/modal-header.js +1 -0
- package/lib/commonjs/modal/modal-title.js +1 -0
- package/lib/commonjs/modal/modal.js +1 -0
- package/lib/commonjs/modal/styles.js +1 -0
- package/lib/commonjs/modal/types.js +1 -0
- package/lib/commonjs/radio/constants.js +1 -0
- package/lib/commonjs/radio/index.js +1 -0
- package/lib/commonjs/radio/radio.js +1 -0
- package/lib/commonjs/radio/styles.js +1 -0
- package/lib/commonjs/radio/types.js +1 -0
- package/lib/commonjs/segmented-button/constants.js +1 -0
- package/lib/commonjs/segmented-button/helpers.js +1 -0
- package/lib/commonjs/segmented-button/index.js +1 -0
- package/lib/commonjs/segmented-button/segmented-button.js +1 -0
- package/lib/commonjs/segmented-button/styles.js +1 -0
- package/lib/commonjs/segmented-button/types.js +1 -0
- package/lib/commonjs/separator/index.js +1 -0
- package/lib/commonjs/separator/separator.js +1 -0
- package/lib/commonjs/separator/types.js +1 -0
- package/lib/commonjs/stepper/constants.js +1 -0
- package/lib/commonjs/stepper/helpers.js +1 -0
- package/lib/commonjs/stepper/icons.js +1 -0
- package/lib/commonjs/stepper/index.js +1 -0
- package/lib/commonjs/stepper/stepper-connector.js +1 -0
- package/lib/commonjs/stepper/stepper-context.js +1 -0
- package/lib/commonjs/stepper/stepper-item.js +1 -0
- package/lib/commonjs/stepper/stepper-trigger.js +1 -0
- package/lib/commonjs/stepper/stepper.js +1 -0
- package/lib/commonjs/stepper/styles.js +1 -0
- package/lib/commonjs/stepper/types.js +1 -0
- package/lib/commonjs/switch/constants.js +1 -0
- package/lib/commonjs/switch/index.js +1 -0
- package/lib/commonjs/switch/styles.js +1 -0
- package/lib/commonjs/switch/switch.js +1 -0
- package/lib/commonjs/switch/types.js +1 -0
- package/lib/commonjs/tabs/constants.js +1 -0
- package/lib/commonjs/tabs/helpers.js +1 -0
- package/lib/commonjs/tabs/index.js +1 -0
- package/lib/commonjs/tabs/styles.js +1 -0
- package/lib/commonjs/tabs/tabs-content.js +1 -0
- package/lib/commonjs/tabs/tabs-context.js +1 -0
- package/lib/commonjs/tabs/tabs-list.js +1 -0
- package/lib/commonjs/tabs/tabs-trigger.js +1 -0
- package/lib/commonjs/tabs/tabs.js +1 -0
- package/lib/commonjs/tabs/types.js +1 -0
- package/lib/commonjs/text/constants.js +1 -0
- package/lib/commonjs/text/helpers.js +1 -0
- package/lib/commonjs/text/index.js +1 -0
- package/lib/commonjs/text/text.js +1 -0
- package/lib/commonjs/text/types.js +1 -0
- package/lib/commonjs/text-area/constants.js +1 -0
- package/lib/commonjs/text-area/index.js +1 -0
- package/lib/commonjs/text-area/styles.js +1 -0
- package/lib/commonjs/text-area/text-area.js +1 -0
- package/lib/commonjs/text-area/types.js +1 -0
- package/lib/commonjs/text-input/constants.js +1 -0
- package/lib/commonjs/text-input/index.js +1 -0
- package/lib/commonjs/text-input/styles.js +1 -0
- package/lib/commonjs/text-input/text-input.js +1 -0
- package/lib/commonjs/text-input/types.js +1 -0
- package/lib/commonjs/theme/default-theme.js +1 -0
- package/lib/commonjs/theme/index.js +1 -0
- package/lib/commonjs/toast/constants.js +1 -0
- package/lib/commonjs/toast/helpers.js +1 -0
- package/lib/commonjs/toast/icons.js +1 -0
- package/lib/commonjs/toast/index.js +1 -0
- package/lib/commonjs/toast/styles.js +1 -0
- package/lib/commonjs/toast/toast-container.js +1 -0
- package/lib/commonjs/toast/toast-content.js +1 -0
- package/lib/commonjs/toast/toast-item.js +1 -0
- package/lib/commonjs/toast/toast-provider.js +1 -0
- package/lib/commonjs/toast/toast.js +1 -0
- package/lib/commonjs/toast/types.js +1 -0
- package/lib/commonjs/toast/use-toast.js +1 -0
- package/lib/commonjs/tooltip/constants.js +1 -0
- package/lib/commonjs/tooltip/helpers.js +1 -0
- package/lib/commonjs/tooltip/index.js +1 -0
- package/lib/commonjs/tooltip/styles.js +1 -0
- package/lib/commonjs/tooltip/tooltip.js +1 -0
- package/lib/commonjs/tooltip/types.js +1 -0
- package/lib/commonjs/utils/index.js +1 -0
- package/lib/module/alert/alert.js +1 -0
- package/lib/module/alert/constants.js +1 -0
- package/lib/module/alert/helpers.js +1 -0
- package/lib/module/alert/icons.js +1 -0
- package/lib/module/alert/index.js +1 -0
- package/lib/module/alert/styles.js +1 -0
- package/lib/module/alert/types.js +1 -0
- package/lib/module/avatar/avatar-group.constants.js +1 -0
- package/lib/module/avatar/avatar-group.helpers.js +1 -0
- package/lib/module/avatar/avatar-group.js +1 -0
- package/lib/module/avatar/avatar-group.styles.js +1 -0
- package/lib/module/avatar/avatar-group.types.js +1 -0
- package/lib/module/avatar/avatar.js +1 -0
- package/lib/module/avatar/constants.js +1 -0
- package/lib/module/avatar/helpers.js +1 -0
- package/lib/module/avatar/index.js +1 -0
- package/lib/module/avatar/styles.js +1 -0
- package/lib/module/avatar/types.js +1 -0
- package/lib/module/badge/badge.js +1 -0
- package/lib/module/badge/constants.js +1 -0
- package/lib/module/badge/helpers.js +1 -0
- package/lib/module/badge/index.js +1 -0
- package/lib/module/badge/styles.js +1 -0
- package/lib/module/badge/types.js +1 -0
- package/lib/module/bottom-sheet/bottom-sheet-header.js +1 -0
- package/lib/module/bottom-sheet/bottom-sheet-modal.js +1 -0
- package/lib/module/bottom-sheet/bottom-sheet.js +1 -0
- package/lib/module/bottom-sheet/constants.js +1 -0
- package/lib/module/bottom-sheet/index.js +1 -0
- package/lib/module/bottom-sheet/styles.js +1 -0
- package/lib/module/bottom-sheet/types.js +1 -0
- package/lib/module/box/box.js +1 -0
- package/lib/module/box/index.js +1 -0
- package/lib/module/box/types.js +1 -0
- package/lib/module/button/button.js +1 -0
- package/lib/module/button/constants.js +1 -0
- package/lib/module/button/helpers.js +1 -0
- package/lib/module/button/index.js +1 -0
- package/lib/module/button/styles.js +1 -0
- package/lib/module/button/types.js +1 -0
- package/lib/module/checkbox/checkbox.js +1 -0
- package/lib/module/checkbox/constants.js +1 -0
- package/lib/module/checkbox/icons.js +1 -0
- package/lib/module/checkbox/index.js +1 -0
- package/lib/module/checkbox/styles.js +1 -0
- package/lib/module/checkbox/types.js +1 -0
- package/lib/module/chip/chip.js +1 -0
- package/lib/module/chip/constants.js +1 -0
- package/lib/module/chip/helpers.js +1 -0
- package/lib/module/chip/index.js +1 -0
- package/lib/module/chip/styles.js +1 -0
- package/lib/module/chip/types.js +1 -0
- package/lib/module/context/index.js +1 -0
- package/lib/module/context/theme-context.js +1 -0
- package/lib/module/dropdown/constants.js +1 -0
- package/lib/module/dropdown/dropdown-context.js +1 -0
- package/lib/module/dropdown/dropdown-menu-content.js +1 -0
- package/lib/module/dropdown/dropdown-menu-item.js +1 -0
- package/lib/module/dropdown/dropdown-menu-label.js +1 -0
- package/lib/module/dropdown/dropdown-menu-separator.js +1 -0
- package/lib/module/dropdown/dropdown-menu-trigger.js +1 -0
- package/lib/module/dropdown/dropdown-menu.js +1 -0
- package/lib/module/dropdown/helpers.js +1 -0
- package/lib/module/dropdown/index.js +1 -0
- package/lib/module/dropdown/styles.js +1 -0
- package/lib/module/dropdown/types.js +1 -0
- package/lib/module/flex/flex.js +1 -0
- package/lib/module/flex/index.js +1 -0
- package/lib/module/flex/types.js +1 -0
- package/lib/module/icon-button/constants.js +1 -0
- package/lib/module/icon-button/helpers.js +1 -0
- package/lib/module/icon-button/icon-button.js +1 -0
- package/lib/module/icon-button/index.js +1 -0
- package/lib/module/icon-button/types.js +1 -0
- package/lib/module/index.js +1 -0
- package/lib/module/link-button/constants.js +1 -0
- package/lib/module/link-button/helpers.js +1 -0
- package/lib/module/link-button/index.js +1 -0
- package/lib/module/link-button/link-button.js +1 -0
- package/lib/module/link-button/types.js +1 -0
- package/lib/module/loader/circle-loader.js +1 -0
- package/lib/module/loader/constants.js +1 -0
- package/lib/module/loader/helpers.js +1 -0
- package/lib/module/loader/index.js +1 -0
- package/lib/module/loader/line-loader.js +1 -0
- package/lib/module/loader/types.js +1 -0
- package/lib/module/modal/constants.js +1 -0
- package/lib/module/modal/helpers.js +1 -0
- package/lib/module/modal/index.js +1 -0
- package/lib/module/modal/modal-body.js +1 -0
- package/lib/module/modal/modal-content.js +1 -0
- package/lib/module/modal/modal-description.js +1 -0
- package/lib/module/modal/modal-footer.js +1 -0
- package/lib/module/modal/modal-header.js +1 -0
- package/lib/module/modal/modal-title.js +1 -0
- package/lib/module/modal/modal.js +1 -0
- package/lib/module/modal/styles.js +1 -0
- package/lib/module/modal/types.js +1 -0
- package/lib/module/radio/constants.js +1 -0
- package/lib/module/radio/index.js +1 -0
- package/lib/module/radio/radio.js +1 -0
- package/lib/module/radio/styles.js +1 -0
- package/lib/module/radio/types.js +1 -0
- package/lib/module/segmented-button/constants.js +1 -0
- package/lib/module/segmented-button/helpers.js +1 -0
- package/lib/module/segmented-button/index.js +1 -0
- package/lib/module/segmented-button/segmented-button.js +1 -0
- package/lib/module/segmented-button/styles.js +1 -0
- package/lib/module/segmented-button/types.js +1 -0
- package/lib/module/separator/index.js +1 -0
- package/lib/module/separator/separator.js +1 -0
- package/lib/module/separator/types.js +1 -0
- package/lib/module/stepper/constants.js +1 -0
- package/lib/module/stepper/helpers.js +1 -0
- package/lib/module/stepper/icons.js +1 -0
- package/lib/module/stepper/index.js +1 -0
- package/lib/module/stepper/stepper-connector.js +1 -0
- package/lib/module/stepper/stepper-context.js +1 -0
- package/lib/module/stepper/stepper-item.js +1 -0
- package/lib/module/stepper/stepper-trigger.js +1 -0
- package/lib/module/stepper/stepper.js +1 -0
- package/lib/module/stepper/styles.js +1 -0
- package/lib/module/stepper/types.js +1 -0
- package/lib/module/switch/constants.js +1 -0
- package/lib/module/switch/index.js +1 -0
- package/lib/module/switch/styles.js +1 -0
- package/lib/module/switch/switch.js +1 -0
- package/lib/module/switch/types.js +1 -0
- package/lib/module/tabs/constants.js +1 -0
- package/lib/module/tabs/helpers.js +1 -0
- package/lib/module/tabs/index.js +1 -0
- package/lib/module/tabs/styles.js +1 -0
- package/lib/module/tabs/tabs-content.js +1 -0
- package/lib/module/tabs/tabs-context.js +1 -0
- package/lib/module/tabs/tabs-list.js +1 -0
- package/lib/module/tabs/tabs-trigger.js +1 -0
- package/lib/module/tabs/tabs.js +1 -0
- package/lib/module/tabs/types.js +1 -0
- package/lib/module/text/constants.js +1 -0
- package/lib/module/text/helpers.js +1 -0
- package/lib/module/text/index.js +1 -0
- package/lib/module/text/text.js +1 -0
- package/lib/module/text/types.js +1 -0
- package/lib/module/text-area/constants.js +1 -0
- package/lib/module/text-area/index.js +1 -0
- package/lib/module/text-area/styles.js +1 -0
- package/lib/module/text-area/text-area.js +1 -0
- package/lib/module/text-area/types.js +1 -0
- package/lib/module/text-input/constants.js +1 -0
- package/lib/module/text-input/index.js +1 -0
- package/lib/module/text-input/styles.js +1 -0
- package/lib/module/text-input/text-input.js +1 -0
- package/lib/module/text-input/types.js +1 -0
- package/lib/module/theme/default-theme.js +1 -0
- package/lib/module/theme/index.js +1 -0
- package/lib/module/toast/constants.js +1 -0
- package/lib/module/toast/helpers.js +1 -0
- package/lib/module/toast/icons.js +1 -0
- package/lib/module/toast/index.js +1 -0
- package/lib/module/toast/styles.js +1 -0
- package/lib/module/toast/toast-container.js +1 -0
- package/lib/module/toast/toast-content.js +1 -0
- package/lib/module/toast/toast-item.js +1 -0
- package/lib/module/toast/toast-provider.js +1 -0
- package/lib/module/toast/toast.js +1 -0
- package/lib/module/toast/types.js +1 -0
- package/lib/module/toast/use-toast.js +1 -0
- package/lib/module/tooltip/constants.js +1 -0
- package/lib/module/tooltip/helpers.js +1 -0
- package/lib/module/tooltip/index.js +1 -0
- package/lib/module/tooltip/styles.js +1 -0
- package/lib/module/tooltip/tooltip.js +1 -0
- package/lib/module/tooltip/types.js +1 -0
- package/lib/module/utils/index.js +1 -0
- package/lib/typescript/alert/alert.d.ts +6 -0
- package/lib/typescript/alert/constants.d.ts +18 -0
- package/lib/typescript/alert/helpers.d.ts +7 -0
- package/lib/typescript/alert/icons.d.ts +25 -0
- package/lib/typescript/alert/index.d.ts +3 -0
- package/lib/typescript/alert/styles.d.ts +25 -0
- package/lib/typescript/alert/types.d.ts +20 -0
- package/lib/typescript/avatar/avatar-group.constants.d.ts +18 -0
- package/lib/typescript/avatar/avatar-group.d.ts +6 -0
- package/lib/typescript/avatar/avatar-group.helpers.d.ts +12 -0
- package/lib/typescript/avatar/avatar-group.styles.d.ts +20 -0
- package/lib/typescript/avatar/avatar-group.types.d.ts +18 -0
- package/lib/typescript/avatar/avatar.d.ts +6 -0
- package/lib/typescript/avatar/constants.d.ts +10 -0
- package/lib/typescript/avatar/helpers.d.ts +6 -0
- package/lib/typescript/avatar/index.d.ts +5 -0
- package/lib/typescript/avatar/styles.d.ts +9 -0
- package/lib/typescript/avatar/types.d.ts +27 -0
- package/lib/typescript/badge/badge.d.ts +6 -0
- package/lib/typescript/badge/constants.d.ts +21 -0
- package/lib/typescript/badge/helpers.d.ts +9 -0
- package/lib/typescript/badge/index.d.ts +3 -0
- package/lib/typescript/badge/styles.d.ts +19 -0
- package/lib/typescript/badge/types.d.ts +24 -0
- package/lib/typescript/bottom-sheet/bottom-sheet-header.d.ts +4 -0
- package/lib/typescript/bottom-sheet/bottom-sheet-modal.d.ts +6 -0
- package/lib/typescript/bottom-sheet/bottom-sheet.d.ts +5 -0
- package/lib/typescript/bottom-sheet/constants.d.ts +10 -0
- package/lib/typescript/bottom-sheet/index.d.ts +7 -0
- package/lib/typescript/bottom-sheet/styles.d.ts +11 -0
- package/lib/typescript/bottom-sheet/types.d.ts +35 -0
- package/lib/typescript/box/box.d.ts +6 -0
- package/lib/typescript/box/index.d.ts +3 -0
- package/lib/typescript/box/types.d.ts +8 -0
- package/lib/typescript/button/button.d.ts +9 -0
- package/lib/typescript/button/constants.d.ts +30 -0
- package/lib/typescript/button/helpers.d.ts +39 -0
- package/lib/typescript/button/index.d.ts +3 -0
- package/lib/typescript/button/styles.d.ts +12 -0
- package/lib/typescript/button/types.d.ts +38 -0
- package/lib/typescript/checkbox/checkbox.d.ts +6 -0
- package/lib/typescript/checkbox/constants.d.ts +10 -0
- package/lib/typescript/checkbox/icons.d.ts +9 -0
- package/lib/typescript/checkbox/index.d.ts +3 -0
- package/lib/typescript/checkbox/styles.d.ts +25 -0
- package/lib/typescript/checkbox/types.d.ts +25 -0
- package/lib/typescript/chip/chip.d.ts +6 -0
- package/lib/typescript/chip/constants.d.ts +31 -0
- package/lib/typescript/chip/helpers.d.ts +11 -0
- package/lib/typescript/chip/index.d.ts +3 -0
- package/lib/typescript/chip/styles.d.ts +22 -0
- package/lib/typescript/chip/types.d.ts +31 -0
- package/lib/typescript/context/index.d.ts +2 -0
- package/lib/typescript/context/theme-context.d.ts +17 -0
- package/lib/typescript/dropdown/constants.d.ts +23 -0
- package/lib/typescript/dropdown/dropdown-context.d.ts +18 -0
- package/lib/typescript/dropdown/dropdown-menu-content.d.ts +6 -0
- package/lib/typescript/dropdown/dropdown-menu-item.d.ts +5 -0
- package/lib/typescript/dropdown/dropdown-menu-label.d.ts +6 -0
- package/lib/typescript/dropdown/dropdown-menu-separator.d.ts +6 -0
- package/lib/typescript/dropdown/dropdown-menu-trigger.d.ts +6 -0
- package/lib/typescript/dropdown/dropdown-menu.d.ts +5 -0
- package/lib/typescript/dropdown/helpers.d.ts +11 -0
- package/lib/typescript/dropdown/index.d.ts +8 -0
- package/lib/typescript/dropdown/styles.d.ts +32 -0
- package/lib/typescript/dropdown/types.d.ts +54 -0
- package/lib/typescript/flex/flex.d.ts +6 -0
- package/lib/typescript/flex/index.d.ts +3 -0
- package/lib/typescript/flex/types.d.ts +22 -0
- package/lib/typescript/icon-button/constants.d.ts +20 -0
- package/lib/typescript/icon-button/helpers.d.ts +13 -0
- package/lib/typescript/icon-button/icon-button.d.ts +6 -0
- package/lib/typescript/icon-button/index.d.ts +3 -0
- package/lib/typescript/icon-button/types.d.ts +31 -0
- package/lib/typescript/index.d.ts +57 -0
- package/lib/typescript/link-button/constants.d.ts +22 -0
- package/lib/typescript/link-button/helpers.d.ts +12 -0
- package/lib/typescript/link-button/index.d.ts +3 -0
- package/lib/typescript/link-button/link-button.d.ts +9 -0
- package/lib/typescript/link-button/types.d.ts +25 -0
- package/lib/typescript/loader/circle-loader.d.ts +6 -0
- package/lib/typescript/loader/constants.d.ts +8 -0
- package/lib/typescript/loader/helpers.d.ts +9 -0
- package/lib/typescript/loader/index.d.ts +4 -0
- package/lib/typescript/loader/line-loader.d.ts +6 -0
- package/lib/typescript/loader/types.d.ts +19 -0
- package/lib/typescript/modal/constants.d.ts +26 -0
- package/lib/typescript/modal/helpers.d.ts +8 -0
- package/lib/typescript/modal/index.d.ts +9 -0
- package/lib/typescript/modal/modal-body.d.ts +9 -0
- package/lib/typescript/modal/modal-content.d.ts +9 -0
- package/lib/typescript/modal/modal-description.d.ts +7 -0
- package/lib/typescript/modal/modal-footer.d.ts +9 -0
- package/lib/typescript/modal/modal-header.d.ts +9 -0
- package/lib/typescript/modal/modal-title.d.ts +7 -0
- package/lib/typescript/modal/modal.d.ts +12 -0
- package/lib/typescript/modal/styles.d.ts +38 -0
- package/lib/typescript/modal/types.d.ts +87 -0
- package/lib/typescript/radio/constants.d.ts +9 -0
- package/lib/typescript/radio/index.d.ts +3 -0
- package/lib/typescript/radio/radio.d.ts +6 -0
- package/lib/typescript/radio/styles.d.ts +24 -0
- package/lib/typescript/radio/types.d.ts +23 -0
- package/lib/typescript/segmented-button/constants.d.ts +21 -0
- package/lib/typescript/segmented-button/helpers.d.ts +8 -0
- package/lib/typescript/segmented-button/index.d.ts +3 -0
- package/lib/typescript/segmented-button/segmented-button.d.ts +6 -0
- package/lib/typescript/segmented-button/styles.d.ts +24 -0
- package/lib/typescript/segmented-button/types.d.ts +30 -0
- package/lib/typescript/separator/index.d.ts +3 -0
- package/lib/typescript/separator/separator.d.ts +6 -0
- package/lib/typescript/separator/types.d.ts +21 -0
- package/lib/typescript/stepper/constants.d.ts +23 -0
- package/lib/typescript/stepper/helpers.d.ts +10 -0
- package/lib/typescript/stepper/icons.d.ts +8 -0
- package/lib/typescript/stepper/index.d.ts +5 -0
- package/lib/typescript/stepper/stepper-connector.d.ts +3 -0
- package/lib/typescript/stepper/stepper-context.d.ts +12 -0
- package/lib/typescript/stepper/stepper-item.d.ts +6 -0
- package/lib/typescript/stepper/stepper-trigger.d.ts +14 -0
- package/lib/typescript/stepper/stepper.d.ts +6 -0
- package/lib/typescript/stepper/styles.d.ts +51 -0
- package/lib/typescript/stepper/types.d.ts +25 -0
- package/lib/typescript/switch/constants.d.ts +17 -0
- package/lib/typescript/switch/index.d.ts +3 -0
- package/lib/typescript/switch/styles.d.ts +12 -0
- package/lib/typescript/switch/switch.d.ts +6 -0
- package/lib/typescript/switch/types.d.ts +29 -0
- package/lib/typescript/tabs/constants.d.ts +18 -0
- package/lib/typescript/tabs/helpers.d.ts +13 -0
- package/lib/typescript/tabs/index.d.ts +6 -0
- package/lib/typescript/tabs/styles.d.ts +39 -0
- package/lib/typescript/tabs/tabs-content.d.ts +6 -0
- package/lib/typescript/tabs/tabs-context.d.ts +23 -0
- package/lib/typescript/tabs/tabs-list.d.ts +6 -0
- package/lib/typescript/tabs/tabs-trigger.d.ts +5 -0
- package/lib/typescript/tabs/tabs.d.ts +6 -0
- package/lib/typescript/tabs/types.d.ts +43 -0
- package/lib/typescript/text/constants.d.ts +2 -0
- package/lib/typescript/text/helpers.d.ts +10 -0
- package/lib/typescript/text/index.d.ts +3 -0
- package/lib/typescript/text/text.d.ts +6 -0
- package/lib/typescript/text/types.d.ts +51 -0
- package/lib/typescript/text-area/constants.d.ts +24 -0
- package/lib/typescript/text-area/index.d.ts +3 -0
- package/lib/typescript/text-area/styles.d.ts +37 -0
- package/lib/typescript/text-area/text-area.d.ts +6 -0
- package/lib/typescript/text-area/types.d.ts +37 -0
- package/lib/typescript/text-input/constants.d.ts +26 -0
- package/lib/typescript/text-input/index.d.ts +3 -0
- package/lib/typescript/text-input/styles.d.ts +43 -0
- package/lib/typescript/text-input/text-input.d.ts +6 -0
- package/lib/typescript/text-input/types.d.ts +38 -0
- package/lib/typescript/theme/default-theme.d.ts +209 -0
- package/lib/typescript/theme/index.d.ts +4 -0
- package/lib/typescript/toast/constants.d.ts +42 -0
- package/lib/typescript/toast/helpers.d.ts +16 -0
- package/lib/typescript/toast/icons.d.ts +10 -0
- package/lib/typescript/toast/index.d.ts +5 -0
- package/lib/typescript/toast/styles.d.ts +47 -0
- package/lib/typescript/toast/toast-container.d.ts +4 -0
- package/lib/typescript/toast/toast-content.d.ts +8 -0
- package/lib/typescript/toast/toast-item.d.ts +4 -0
- package/lib/typescript/toast/toast-provider.d.ts +13 -0
- package/lib/typescript/toast/toast.d.ts +2 -0
- package/lib/typescript/toast/types.d.ts +123 -0
- package/lib/typescript/toast/use-toast.d.ts +56 -0
- package/lib/typescript/tooltip/constants.d.ts +20 -0
- package/lib/typescript/tooltip/helpers.d.ts +31 -0
- package/lib/typescript/tooltip/index.d.ts +3 -0
- package/lib/typescript/tooltip/styles.d.ts +24 -0
- package/lib/typescript/tooltip/tooltip.d.ts +6 -0
- package/lib/typescript/tooltip/types.d.ts +39 -0
- package/lib/typescript/utils/index.d.ts +98 -0
- package/package.json +135 -27
- package/dist/commonjs/Box/box.js +0 -83
- package/dist/commonjs/Box/box.js.map +0 -1
- package/dist/commonjs/Box/index.js +0 -17
- package/dist/commonjs/Box/index.js.map +0 -1
- package/dist/commonjs/ThemeProvider/TwigsThemeProvider.js +0 -20
- package/dist/commonjs/ThemeProvider/TwigsThemeProvider.js.map +0 -1
- package/dist/commonjs/ThemeProvider/index.js +0 -17
- package/dist/commonjs/ThemeProvider/index.js.map +0 -1
- package/dist/commonjs/config/theme.js +0 -201
- package/dist/commonjs/config/theme.js.map +0 -1
- package/dist/commonjs/index.js +0 -28
- package/dist/commonjs/index.js.map +0 -1
- package/dist/commonjs/utils/index.js +0 -2
- package/dist/commonjs/utils/index.js.map +0 -1
- package/dist/module/Box/box.js +0 -77
- package/dist/module/Box/box.js.map +0 -1
- package/dist/module/Box/index.js +0 -4
- package/dist/module/Box/index.js.map +0 -1
- package/dist/module/ThemeProvider/TwigsThemeProvider.js +0 -14
- package/dist/module/ThemeProvider/TwigsThemeProvider.js.map +0 -1
- package/dist/module/ThemeProvider/index.js +0 -4
- package/dist/module/ThemeProvider/index.js.map +0 -1
- package/dist/module/config/theme.js +0 -197
- package/dist/module/config/theme.js.map +0 -1
- package/dist/module/index.js +0 -5
- package/dist/module/index.js.map +0 -1
- package/dist/module/utils/index.js +0 -2
- package/dist/module/utils/index.js.map +0 -1
- package/dist/types/Box/box.d.ts +0 -23
- package/dist/types/Box/box.d.ts.map +0 -1
- package/dist/types/Box/index.d.ts +0 -2
- package/dist/types/Box/index.d.ts.map +0 -1
- package/dist/types/ThemeProvider/TwigsThemeProvider.d.ts +0 -8
- package/dist/types/ThemeProvider/TwigsThemeProvider.d.ts.map +0 -1
- package/dist/types/ThemeProvider/index.d.ts +0 -2
- package/dist/types/ThemeProvider/index.d.ts.map +0 -1
- package/dist/types/config/theme.d.ts +0 -195
- package/dist/types/config/theme.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -3
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/types/utils/index.d.ts.map +0 -1
- package/src/Box/box.tsx +0 -82
- package/src/Box/index.tsx +0 -1
- package/src/ThemeProvider/TwigsThemeProvider.tsx +0 -13
- package/src/ThemeProvider/index.ts +0 -1
- package/src/config/theme.ts +0 -195
- package/src/index.ts +0 -2
- package/src/utils/index.ts +0 -0
- /package/{dist → lib}/commonjs/package.json +0 -0
- /package/{dist → lib}/module/package.json +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { ToastOptions, ToastContextType, UseToastReturn } from './types';
|
|
2
|
+
export declare const ToastContext: import("react").Context<ToastContextType | null>;
|
|
3
|
+
/** Returns the toast context — throws if called outside ToastProvider. */
|
|
4
|
+
export declare function useToastContext(): ToastContextType;
|
|
5
|
+
type ShorthandArg = string | Omit<ToastOptions, 'variant'>;
|
|
6
|
+
/** React hook providing the full toast API — must be used inside ToastProvider */
|
|
7
|
+
export declare function useToast(): UseToastReturn;
|
|
8
|
+
declare let globalAdd: ToastContextType['add'] | null;
|
|
9
|
+
declare let globalDismiss: ToastContextType['dismiss'] | null;
|
|
10
|
+
declare let globalUpdate: ToastContextType['update'] | null;
|
|
11
|
+
/** Registers global toast handlers — called internally by ToastProvider on mount. */
|
|
12
|
+
export declare function setGlobalToastHandlers(add: typeof globalAdd, dismiss: typeof globalDismiss, update: typeof globalUpdate): void;
|
|
13
|
+
declare function showToast(options: ToastOptions): {
|
|
14
|
+
id: string;
|
|
15
|
+
dismiss: () => void;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Imperative toast API — works inside and outside React components.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* toast({ title: 'Hello', variant: 'success' });
|
|
22
|
+
* toast.secondary('Info');
|
|
23
|
+
* toast.success('Saved!');
|
|
24
|
+
* toast.error('Failed!');
|
|
25
|
+
* toast.warning('Careful');
|
|
26
|
+
* toast.loading('Processing...');
|
|
27
|
+
* toast.dismiss();
|
|
28
|
+
* toast.dismiss(id);
|
|
29
|
+
* toast.update(id, { title: 'Updated!' });
|
|
30
|
+
*/
|
|
31
|
+
export declare const toast: typeof showToast & {
|
|
32
|
+
secondary: (arg: ShorthandArg) => {
|
|
33
|
+
id: string;
|
|
34
|
+
dismiss: () => void;
|
|
35
|
+
};
|
|
36
|
+
success: (arg: ShorthandArg) => {
|
|
37
|
+
id: string;
|
|
38
|
+
dismiss: () => void;
|
|
39
|
+
};
|
|
40
|
+
error: (arg: ShorthandArg) => {
|
|
41
|
+
id: string;
|
|
42
|
+
dismiss: () => void;
|
|
43
|
+
};
|
|
44
|
+
warning: (arg: ShorthandArg) => {
|
|
45
|
+
id: string;
|
|
46
|
+
dismiss: () => void;
|
|
47
|
+
};
|
|
48
|
+
loading: (arg: ShorthandArg) => {
|
|
49
|
+
id: string;
|
|
50
|
+
dismiss: () => void;
|
|
51
|
+
};
|
|
52
|
+
dismiss: (id?: string) => void | undefined;
|
|
53
|
+
update: (id: string, options: Partial<ToastOptions>) => void | undefined;
|
|
54
|
+
};
|
|
55
|
+
export {};
|
|
56
|
+
//# sourceMappingURL=use-toast.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TooltipSide } from './types';
|
|
2
|
+
export declare const TOOLTIP_CONFIG: {
|
|
3
|
+
paddingHorizontal: number;
|
|
4
|
+
paddingVertical: number;
|
|
5
|
+
fontSize: number;
|
|
6
|
+
fontFamily: "medium";
|
|
7
|
+
lineHeight: number;
|
|
8
|
+
borderRadius: number;
|
|
9
|
+
maxWidth: number;
|
|
10
|
+
};
|
|
11
|
+
export declare const ARROW_SIZE: {
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
};
|
|
15
|
+
/** Arrow inset from tooltip edge for start/end alignments (Figma: 8dp). */
|
|
16
|
+
export declare const ARROW_EDGE_OFFSET = 8;
|
|
17
|
+
export declare const DEFAULT_SIDE: TooltipSide;
|
|
18
|
+
export declare const DEFAULT_SIDE_OFFSET = 6;
|
|
19
|
+
export declare const ANIMATION_DURATION = 150;
|
|
20
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { Placement } from '@floating-ui/react-native';
|
|
2
|
+
import type { TextStyle, ViewStyle } from 'react-native';
|
|
3
|
+
import type { TwigsTheme } from '../theme';
|
|
4
|
+
import type { TooltipSide, TooltipAlign } from './types';
|
|
5
|
+
export declare function toPlacement(side: TooltipSide, align: TooltipAlign): Placement;
|
|
6
|
+
/**
|
|
7
|
+
* Calculates the cross-axis shift needed for the tooltip's arrow to point at the trigger's center,
|
|
8
|
+
* used for left/right sides with start/end alignment.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getCrossAxisOffset(side: TooltipSide, align: TooltipAlign, refSize: number): number;
|
|
11
|
+
export declare function getContentStyles(theme: TwigsTheme): ViewStyle;
|
|
12
|
+
export declare function getTextStyles(theme: TwigsTheme): TextStyle;
|
|
13
|
+
export declare function getArrowPath(side: TooltipSide): string;
|
|
14
|
+
/** Swaps width/height for left/right sides since the arrow rotates 90°. */
|
|
15
|
+
export declare function getArrowDimensions(side: TooltipSide): {
|
|
16
|
+
width: number;
|
|
17
|
+
height: number;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* For `center` alignment, uses floating-ui's computed coordinate.
|
|
21
|
+
* For `start`/`end`, pins the arrow at `ARROW_EDGE_OFFSET` from the
|
|
22
|
+
* corresponding tooltip edge (Figma spec: 8dp).
|
|
23
|
+
*/
|
|
24
|
+
export declare function getArrowPositionStyle(side: TooltipSide, align: TooltipAlign, arrowDims: {
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
27
|
+
}, arrowMiddleware: {
|
|
28
|
+
x?: number;
|
|
29
|
+
y?: number;
|
|
30
|
+
} | undefined): ViewStyle;
|
|
31
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
overlay: {
|
|
3
|
+
zIndex: number;
|
|
4
|
+
position: "absolute";
|
|
5
|
+
left: 0;
|
|
6
|
+
right: 0;
|
|
7
|
+
top: 0;
|
|
8
|
+
bottom: 0;
|
|
9
|
+
};
|
|
10
|
+
backdropPressable: {
|
|
11
|
+
position: "absolute";
|
|
12
|
+
left: 0;
|
|
13
|
+
right: 0;
|
|
14
|
+
top: 0;
|
|
15
|
+
bottom: 0;
|
|
16
|
+
};
|
|
17
|
+
contentWrapper: {
|
|
18
|
+
position: "absolute";
|
|
19
|
+
};
|
|
20
|
+
arrowContainer: {
|
|
21
|
+
position: "absolute";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import type { TooltipProps } from './types';
|
|
4
|
+
/** Floating content bubble anchored to a trigger element with arrow pointer. */
|
|
5
|
+
export declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<View>>;
|
|
6
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
import type { CommonStyleProps, BaseAccessibilityProps } from '../utils';
|
|
4
|
+
/** Side of the reference element where the tooltip appears */
|
|
5
|
+
export type TooltipSide = 'top' | 'right' | 'bottom' | 'left';
|
|
6
|
+
/** Alignment of the tooltip along the side axis */
|
|
7
|
+
export type TooltipAlign = 'start' | 'center' | 'end';
|
|
8
|
+
/**
|
|
9
|
+
* Props for the Tooltip component.
|
|
10
|
+
* Renders a floating content bubble anchored to a trigger element.
|
|
11
|
+
*
|
|
12
|
+
* Mobile deviation: Uses onPress/onLongPress instead of hover/focus trigger.
|
|
13
|
+
* Mobile deviation: Adds autoHideDuration for auto-dismiss (web uses delayDuration for hover delay).
|
|
14
|
+
*/
|
|
15
|
+
export interface TooltipProps extends Omit<ViewProps, 'style'>, CommonStyleProps, BaseAccessibilityProps {
|
|
16
|
+
/** Tooltip content — text string or ReactNode */
|
|
17
|
+
content: ReactNode;
|
|
18
|
+
/** Trigger element that the tooltip anchors to */
|
|
19
|
+
children: ReactNode;
|
|
20
|
+
/** Which side of the trigger the tooltip appears on (default: 'top') */
|
|
21
|
+
side?: TooltipSide;
|
|
22
|
+
/** Alignment along the side axis (default: 'center') */
|
|
23
|
+
align?: TooltipAlign;
|
|
24
|
+
/** Controlled open state */
|
|
25
|
+
open?: boolean;
|
|
26
|
+
/** Default open state for uncontrolled usage */
|
|
27
|
+
defaultOpen?: boolean;
|
|
28
|
+
/** Called when open state changes */
|
|
29
|
+
onOpenChange?: (open: boolean) => void;
|
|
30
|
+
/** Distance in dp between tooltip and trigger (default: 6) */
|
|
31
|
+
sideOffset?: number;
|
|
32
|
+
/** Auto-dismiss duration in ms; 0 = no auto-dismiss (default: 0) */
|
|
33
|
+
autoHideDuration?: number;
|
|
34
|
+
/** Whether to show the arrow pointer (default: true) */
|
|
35
|
+
hasArrow?: boolean;
|
|
36
|
+
/** Trigger interaction: 'press' opens on tap, 'longPress' opens on long press (default: 'press') */
|
|
37
|
+
triggerAction?: 'press' | 'longPress';
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type { AccessibilityRole, ViewProps, ViewStyle, TextStyle } from 'react-native';
|
|
2
|
+
import { TextInput as RNTextInput } from 'react-native';
|
|
3
|
+
import type { AnimatedProps } from 'react-native-reanimated';
|
|
4
|
+
/** @see https://reactnative.dev/docs/accessibility */
|
|
5
|
+
export interface BaseAccessibilityProps {
|
|
6
|
+
/**
|
|
7
|
+
* Used to locate a component in end-to-end tests.
|
|
8
|
+
* @see https://reactnative.dev/docs/view#testid
|
|
9
|
+
*/
|
|
10
|
+
testID?: string;
|
|
11
|
+
accessible?: boolean;
|
|
12
|
+
accessibilityRole?: AccessibilityRole;
|
|
13
|
+
accessibilityLabel?: string;
|
|
14
|
+
accessibilityHint?: string;
|
|
15
|
+
accessibilityState?: {
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
selected?: boolean;
|
|
18
|
+
checked?: boolean | 'mixed';
|
|
19
|
+
busy?: boolean;
|
|
20
|
+
expanded?: boolean;
|
|
21
|
+
};
|
|
22
|
+
accessibilityValue?: {
|
|
23
|
+
min?: number;
|
|
24
|
+
max?: number;
|
|
25
|
+
now?: number;
|
|
26
|
+
text?: string;
|
|
27
|
+
};
|
|
28
|
+
/** iOS only */
|
|
29
|
+
accessibilityViewIsModal?: boolean;
|
|
30
|
+
/** iOS only */
|
|
31
|
+
accessibilityElementsHidden?: boolean;
|
|
32
|
+
/** Android only */
|
|
33
|
+
accessibilityLiveRegion?: 'none' | 'polite' | 'assertive';
|
|
34
|
+
/** iOS only */
|
|
35
|
+
accessibilityIgnoresInvertColors?: boolean;
|
|
36
|
+
/** Android only */
|
|
37
|
+
importantForAccessibility?: 'auto' | 'yes' | 'no' | 'no-hide-descendants';
|
|
38
|
+
}
|
|
39
|
+
export interface MarginProps {
|
|
40
|
+
margin?: number;
|
|
41
|
+
marginHorizontal?: number;
|
|
42
|
+
marginVertical?: number;
|
|
43
|
+
marginTop?: number;
|
|
44
|
+
marginBottom?: number;
|
|
45
|
+
marginLeft?: number;
|
|
46
|
+
marginRight?: number;
|
|
47
|
+
}
|
|
48
|
+
export interface PaddingProps {
|
|
49
|
+
padding?: number;
|
|
50
|
+
paddingHorizontal?: number;
|
|
51
|
+
paddingVertical?: number;
|
|
52
|
+
paddingTop?: number;
|
|
53
|
+
paddingBottom?: number;
|
|
54
|
+
paddingLeft?: number;
|
|
55
|
+
paddingRight?: number;
|
|
56
|
+
}
|
|
57
|
+
export interface ResolvedSpacing {
|
|
58
|
+
top: number;
|
|
59
|
+
bottom: number;
|
|
60
|
+
left: number;
|
|
61
|
+
right: number;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Provides `css` and `style` props for component style overrides.
|
|
65
|
+
* `css` is applied before `style`, allowing layered customization.
|
|
66
|
+
*/
|
|
67
|
+
export interface CommonStyleProps {
|
|
68
|
+
css?: ViewStyle;
|
|
69
|
+
style?: ViewStyle;
|
|
70
|
+
}
|
|
71
|
+
/** Type-safe wrapper around `Animated.View` from react-native-reanimated. */
|
|
72
|
+
type AnimatedViewComponent = React.FC<AnimatedProps<ViewProps>>;
|
|
73
|
+
export declare const AnimatedView: AnimatedViewComponent;
|
|
74
|
+
/** Resolves margin shorthand props into individual top/bottom/left/right values. */
|
|
75
|
+
export declare const resolveMargin: (props: MarginProps, defaultSpacing?: number) => ResolvedSpacing;
|
|
76
|
+
/** Resolves padding shorthand props into individual top/bottom/left/right values. */
|
|
77
|
+
export declare const resolvePadding: (props: PaddingProps, defaultSpacing?: number) => ResolvedSpacing;
|
|
78
|
+
/**
|
|
79
|
+
* Returns a hex color string with the given opacity applied as an alpha channel.
|
|
80
|
+
*
|
|
81
|
+
* @param color Hex color (#RGB, #RRGGBB, or #RRGGBBAA — existing alpha is stripped)
|
|
82
|
+
* @param opacity Opacity between 0 (fully transparent) and 1 (fully opaque)
|
|
83
|
+
* @returns Hex color with alpha channel (#RRGGBBAA)
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* colorOpacity('#00828D', 0.1) // '#00828D1A'
|
|
87
|
+
* colorOpacity('#64748B', 0.8) // '#64748BCC'
|
|
88
|
+
*/
|
|
89
|
+
export declare const colorOpacity: (color: string, opacity: number) => string;
|
|
90
|
+
/**
|
|
91
|
+
* Builds a platform-safe text style. On the system font, `fontWeight` is
|
|
92
|
+
* included directly; on custom fonts the weight is baked into the family
|
|
93
|
+
* name so the property is omitted to avoid Android rendering issues.
|
|
94
|
+
*/
|
|
95
|
+
export declare const createTextStyle: (fontFamily: string, fontWeight?: "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "normal" | "bold") => Pick<TextStyle, "fontFamily" | "fontWeight">;
|
|
96
|
+
export declare function getBottomSheetTextInput(): typeof RNTextInput;
|
|
97
|
+
export {};
|
|
98
|
+
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,48 +1,156 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sparrowengg/twigs-mobile",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Twigs React Native component library",
|
|
5
|
+
"main": "./lib/commonjs/index.js",
|
|
6
|
+
"module": "./lib/module/index.js",
|
|
7
|
+
"types": "./lib/typescript/index.d.ts",
|
|
8
|
+
"react-native": "./lib/commonjs/index.js",
|
|
9
|
+
"source": "./src/index.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./lib/typescript/index.d.ts",
|
|
13
|
+
"import": "./lib/module/index.js",
|
|
14
|
+
"require": "./lib/commonjs/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./theme": {
|
|
17
|
+
"types": "./lib/typescript/theme/index.d.ts",
|
|
18
|
+
"import": "./lib/module/theme/index.js",
|
|
19
|
+
"require": "./lib/commonjs/theme/index.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
8
22
|
"files": [
|
|
9
|
-
"
|
|
10
|
-
"
|
|
23
|
+
"lib",
|
|
24
|
+
"!**/__tests__",
|
|
25
|
+
"!**/__fixtures__",
|
|
26
|
+
"!**/__mocks__",
|
|
27
|
+
"!**/*.stories.*",
|
|
28
|
+
"!**/*.map"
|
|
11
29
|
],
|
|
12
30
|
"scripts": {
|
|
13
31
|
"build": "bob build",
|
|
14
|
-
"
|
|
32
|
+
"prepack": "bob build",
|
|
33
|
+
"example": "npm start --prefix example",
|
|
34
|
+
"example:ios": "npm run ios --prefix example",
|
|
35
|
+
"example:android": "npm run android --prefix example",
|
|
36
|
+
"lint": "eslint src/**/*.{ts,tsx}",
|
|
37
|
+
"lint:fix": "eslint src/**/*.{ts,tsx} --fix",
|
|
38
|
+
"format": "prettier --write \"src/**/*.{ts,tsx,json}\"",
|
|
39
|
+
"format:check": "prettier --check \"src/**/*.{ts,tsx,json}\"",
|
|
40
|
+
"typecheck": "tsc --noEmit",
|
|
41
|
+
"test": "jest",
|
|
42
|
+
"test:watch": "jest --watch",
|
|
43
|
+
"test:coverage": "jest --coverage",
|
|
44
|
+
"release": "release-it",
|
|
45
|
+
"release:dry": "release-it --dry-run"
|
|
46
|
+
},
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"registry": "https://registry.npmjs.org/",
|
|
49
|
+
"access": "public"
|
|
15
50
|
},
|
|
16
51
|
"keywords": [
|
|
17
|
-
"react",
|
|
18
52
|
"react-native",
|
|
19
|
-
"
|
|
53
|
+
"expo",
|
|
54
|
+
"twigs",
|
|
55
|
+
"twigs-mobile",
|
|
56
|
+
"surveysparrow",
|
|
20
57
|
"ui",
|
|
21
|
-
"
|
|
22
|
-
"library",
|
|
23
|
-
"expo"
|
|
58
|
+
"component-library"
|
|
24
59
|
],
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
60
|
+
"repository": {
|
|
61
|
+
"type": "git",
|
|
62
|
+
"url": "https://github.com/surveysparrow/twigs-mobile.git"
|
|
63
|
+
},
|
|
64
|
+
"homepage": "https://github.com/surveysparrow/twigs-mobile#readme",
|
|
65
|
+
"bugs": {
|
|
66
|
+
"url": "https://github.com/surveysparrow/twigs-mobile/issues"
|
|
67
|
+
},
|
|
68
|
+
"author": "SurveySparrow",
|
|
69
|
+
"license": "MIT",
|
|
70
|
+
"engines": {
|
|
71
|
+
"node": ">=18.20.1"
|
|
72
|
+
},
|
|
73
|
+
"peerDependencies": {
|
|
74
|
+
"@gorhom/bottom-sheet": ">=5.0.0",
|
|
75
|
+
"react": ">=18.0.0",
|
|
76
|
+
"react-native": ">=0.71.0",
|
|
77
|
+
"react-native-gesture-handler": ">=2.0.0",
|
|
78
|
+
"react-native-reanimated": ">=3.0.0",
|
|
79
|
+
"react-native-safe-area-context": ">=4.0.0",
|
|
80
|
+
"react-native-screens": ">=3.0.0",
|
|
81
|
+
"react-native-svg": ">=13.0.0"
|
|
35
82
|
},
|
|
36
83
|
"devDependencies": {
|
|
37
|
-
"
|
|
84
|
+
"@gorhom/bottom-sheet": "^5.2.6",
|
|
85
|
+
"@react-native/babel-preset": "^0.83.1",
|
|
86
|
+
"@release-it/conventional-changelog": "^10.0.5",
|
|
87
|
+
"@testing-library/jest-native": "^5.4.3",
|
|
88
|
+
"@testing-library/react-native": "^13.3.3",
|
|
89
|
+
"@types/jest": "^30.0.0",
|
|
90
|
+
"@types/react": "^18.2.48",
|
|
91
|
+
"@types/react-native": "^0.73.0",
|
|
92
|
+
"@types/react-test-renderer": "18",
|
|
93
|
+
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
94
|
+
"@typescript-eslint/parser": "^7.0.0",
|
|
95
|
+
"eslint": "^8.56.0",
|
|
96
|
+
"eslint-plugin-react": "^7.33.2",
|
|
97
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
98
|
+
"eslint-plugin-react-native": "^4.1.0",
|
|
99
|
+
"husky": "^9.0.0",
|
|
100
|
+
"jest": "^30.2.0",
|
|
101
|
+
"lint-staged": "^15.2.0",
|
|
102
|
+
"prettier": "^3.2.0",
|
|
103
|
+
"react": "^18.3.1",
|
|
104
|
+
"react-native": "^0.76.0",
|
|
105
|
+
"react-native-builder-bob": "^0.30.2",
|
|
106
|
+
"react-native-gesture-handler": "~2.20.2",
|
|
107
|
+
"react-native-reanimated": "~3.16.1",
|
|
108
|
+
"react-native-safe-area-context": "~4.14.0",
|
|
109
|
+
"react-native-screens": "~4.4.0",
|
|
110
|
+
"react-native-svg": "~15.8.0",
|
|
111
|
+
"react-test-renderer": "18.3.1",
|
|
112
|
+
"release-it": "^19.2.4",
|
|
113
|
+
"ts-jest": "^29.4.6",
|
|
114
|
+
"typescript": "^5.3.3"
|
|
115
|
+
},
|
|
116
|
+
"lint-staged": {
|
|
117
|
+
"src/**/*.{ts,tsx}": [
|
|
118
|
+
"eslint --fix",
|
|
119
|
+
"prettier --write"
|
|
120
|
+
],
|
|
121
|
+
"src/**/*.{json,md}": [
|
|
122
|
+
"prettier --write"
|
|
123
|
+
]
|
|
38
124
|
},
|
|
125
|
+
"workspaces": [
|
|
126
|
+
"example"
|
|
127
|
+
],
|
|
39
128
|
"react-native-builder-bob": {
|
|
40
129
|
"source": "src",
|
|
41
|
-
"output": "
|
|
130
|
+
"output": "lib",
|
|
131
|
+
"exclude": [
|
|
132
|
+
"**/{__tests__,__fixtures__,__mocks__}/**",
|
|
133
|
+
"**/*.stories.{ts,tsx}"
|
|
134
|
+
],
|
|
42
135
|
"targets": [
|
|
43
|
-
|
|
44
|
-
|
|
136
|
+
[
|
|
137
|
+
"commonjs",
|
|
138
|
+
{
|
|
139
|
+
"configFile": true,
|
|
140
|
+
"sourceMaps": false
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
[
|
|
144
|
+
"module",
|
|
145
|
+
{
|
|
146
|
+
"configFile": true,
|
|
147
|
+
"sourceMaps": false
|
|
148
|
+
}
|
|
149
|
+
],
|
|
45
150
|
"typescript"
|
|
46
151
|
]
|
|
152
|
+
},
|
|
153
|
+
"dependencies": {
|
|
154
|
+
"@floating-ui/react-native": "^0.10.9"
|
|
47
155
|
}
|
|
48
156
|
}
|
package/dist/commonjs/Box/box.js
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.Box = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _native = _interopRequireDefault(require("styled-components/native"));
|
|
9
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
const DEFAULT_SPACING = 0;
|
|
12
|
-
const resolveMargin = ({
|
|
13
|
-
margin,
|
|
14
|
-
marginHorizontal,
|
|
15
|
-
marginVertical,
|
|
16
|
-
marginTop,
|
|
17
|
-
marginBottom,
|
|
18
|
-
marginLeft,
|
|
19
|
-
marginRight
|
|
20
|
-
}) => ({
|
|
21
|
-
top: marginTop ?? marginVertical ?? margin ?? DEFAULT_SPACING,
|
|
22
|
-
bottom: marginBottom ?? marginVertical ?? margin ?? DEFAULT_SPACING,
|
|
23
|
-
left: marginLeft ?? marginHorizontal ?? margin ?? DEFAULT_SPACING,
|
|
24
|
-
right: marginRight ?? marginHorizontal ?? margin ?? DEFAULT_SPACING
|
|
25
|
-
});
|
|
26
|
-
const resolvePadding = ({
|
|
27
|
-
padding,
|
|
28
|
-
paddingHorizontal,
|
|
29
|
-
paddingVertical,
|
|
30
|
-
paddingTop,
|
|
31
|
-
paddingBottom,
|
|
32
|
-
paddingLeft,
|
|
33
|
-
paddingRight
|
|
34
|
-
}) => ({
|
|
35
|
-
top: paddingTop ?? paddingVertical ?? padding ?? DEFAULT_SPACING,
|
|
36
|
-
bottom: paddingBottom ?? paddingVertical ?? padding ?? DEFAULT_SPACING,
|
|
37
|
-
left: paddingLeft ?? paddingHorizontal ?? padding ?? DEFAULT_SPACING,
|
|
38
|
-
right: paddingRight ?? paddingHorizontal ?? padding ?? DEFAULT_SPACING
|
|
39
|
-
});
|
|
40
|
-
const StyledBox = _native.default.View`
|
|
41
|
-
${({
|
|
42
|
-
margin = 0,
|
|
43
|
-
...rest
|
|
44
|
-
}) => {
|
|
45
|
-
const resolvedMargin = resolveMargin({
|
|
46
|
-
margin,
|
|
47
|
-
...rest
|
|
48
|
-
});
|
|
49
|
-
return `
|
|
50
|
-
margin-top: ${resolvedMargin.top}px;
|
|
51
|
-
margin-bottom: ${resolvedMargin.bottom}px;
|
|
52
|
-
margin-left: ${resolvedMargin.left}px;
|
|
53
|
-
margin-right: ${resolvedMargin.right}px;
|
|
54
|
-
`;
|
|
55
|
-
}}
|
|
56
|
-
|
|
57
|
-
${({
|
|
58
|
-
padding = 0,
|
|
59
|
-
...rest
|
|
60
|
-
}) => {
|
|
61
|
-
const resolvedPadding = resolvePadding({
|
|
62
|
-
padding,
|
|
63
|
-
...rest
|
|
64
|
-
});
|
|
65
|
-
return `
|
|
66
|
-
padding-top: ${resolvedPadding.top}px;
|
|
67
|
-
padding-bottom: ${resolvedPadding.bottom}px;
|
|
68
|
-
padding-left: ${resolvedPadding.left}px;
|
|
69
|
-
padding-right: ${resolvedPadding.right}px;
|
|
70
|
-
`;
|
|
71
|
-
}}
|
|
72
|
-
`;
|
|
73
|
-
const Box = ({
|
|
74
|
-
style,
|
|
75
|
-
children,
|
|
76
|
-
...rest
|
|
77
|
-
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledBox, {
|
|
78
|
-
style: style,
|
|
79
|
-
...rest,
|
|
80
|
-
children: children
|
|
81
|
-
});
|
|
82
|
-
exports.Box = Box;
|
|
83
|
-
//# sourceMappingURL=box.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_native","_jsxRuntime","e","__esModule","default","DEFAULT_SPACING","resolveMargin","margin","marginHorizontal","marginVertical","marginTop","marginBottom","marginLeft","marginRight","top","bottom","left","right","resolvePadding","padding","paddingHorizontal","paddingVertical","paddingTop","paddingBottom","paddingLeft","paddingRight","StyledBox","styled","View","rest","resolvedMargin","resolvedPadding","Box","style","children","jsx","exports"],"sourceRoot":"../../../src","sources":["Box/box.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AAA8C,IAAAE,WAAA,GAAAF,OAAA;AAAA,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE9C,MAAMG,eAAe,GAAG,CAAC;AAEzB,MAAMC,aAAa,GAAGA,CAAC;EACrBC,MAAM;EACNC,gBAAgB;EAChBC,cAAc;EACdC,SAAS;EACTC,YAAY;EACZC,UAAU;EACVC;AACiB,CAAC,MAAM;EACxBC,GAAG,EAAEJ,SAAS,IAAID,cAAc,IAAIF,MAAM,IAAIF,eAAe;EAC7DU,MAAM,EAAEJ,YAAY,IAAIF,cAAc,IAAIF,MAAM,IAAIF,eAAe;EACnEW,IAAI,EAAEJ,UAAU,IAAIJ,gBAAgB,IAAID,MAAM,IAAIF,eAAe;EACjEY,KAAK,EAAEJ,WAAW,IAAIL,gBAAgB,IAAID,MAAM,IAAIF;AACtD,CAAC,CAAC;AAEF,MAAMa,cAAc,GAAGA,CAAC;EACtBC,OAAO;EACPC,iBAAiB;EACjBC,eAAe;EACfC,UAAU;EACVC,aAAa;EACbC,WAAW;EACXC;AACiB,CAAC,MAAM;EACxBX,GAAG,EAAEQ,UAAU,IAAID,eAAe,IAAIF,OAAO,IAAId,eAAe;EAChEU,MAAM,EAAEQ,aAAa,IAAIF,eAAe,IAAIF,OAAO,IAAId,eAAe;EACtEW,IAAI,EAAEQ,WAAW,IAAIJ,iBAAiB,IAAID,OAAO,IAAId,eAAe;EACpEY,KAAK,EAAEQ,YAAY,IAAIL,iBAAiB,IAAID,OAAO,IAAId;AACzD,CAAC,CAAC;AAqBF,MAAMqB,SAAS,GAAGC,eAAM,CAACC,IAAc;AACvC,IAAI,CAAC;EAAErB,MAAM,GAAG,CAAC;EAAE,GAAGsB;AAAK,CAAC,KAAK;EAC7B,MAAMC,cAAc,GAAGxB,aAAa,CAAC;IAAEC,MAAM;IAAE,GAAGsB;EAAK,CAAC,CAAC;EACzD,OAAO;AACX,oBAAoBC,cAAc,CAAChB,GAAG;AACtC,uBAAuBgB,cAAc,CAACf,MAAM;AAC5C,qBAAqBe,cAAc,CAACd,IAAI;AACxC,sBAAsBc,cAAc,CAACb,KAAK;AAC1C,KAAK;AACH,CAAC;AACH;AACA,IAAI,CAAC;EAAEE,OAAO,GAAG,CAAC;EAAE,GAAGU;AAAK,CAAC,KAAK;EAC9B,MAAME,eAAe,GAAGb,cAAc,CAAC;IAAEC,OAAO;IAAE,GAAGU;EAAK,CAAC,CAAC;EAC5D,OAAO;AACX,qBAAqBE,eAAe,CAACjB,GAAG;AACxC,wBAAwBiB,eAAe,CAAChB,MAAM;AAC9C,sBAAsBgB,eAAe,CAACf,IAAI;AAC1C,uBAAuBe,eAAe,CAACd,KAAK;AAC5C,KAAK;AACH,CAAC;AACH,CAAC;AAEM,MAAMe,GAAG,GAAGA,CAAC;EAAEC,KAAK;EAAEC,QAAQ;EAAE,GAAGL;AAAgB,CAAC,kBACzD,IAAA5B,WAAA,CAAAkC,GAAA,EAACT,SAAS;EAACO,KAAK,EAAEA,KAAM;EAAA,GAAKJ,IAAI;EAAAK,QAAA,EAC9BA;AAAQ,CACA,CACZ;AAACE,OAAA,CAAAJ,GAAA,GAAAA,GAAA","ignoreList":[]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _box = require("./box");
|
|
7
|
-
Object.keys(_box).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _box[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return _box[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_box","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../src","sources":["Box/index.tsx"],"mappings":";;;;;AAAA,IAAAA,IAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,IAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,IAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,IAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.TwigsThemeProvider = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _native = require("styled-components/native");
|
|
9
|
-
var _theme = require("../config/theme");
|
|
10
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
-
const TwigsThemeProvider = ({
|
|
13
|
-
children,
|
|
14
|
-
theme = _theme.defaultTheme
|
|
15
|
-
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_native.ThemeProvider, {
|
|
16
|
-
theme: theme,
|
|
17
|
-
children: children
|
|
18
|
-
});
|
|
19
|
-
exports.TwigsThemeProvider = TwigsThemeProvider;
|
|
20
|
-
//# sourceMappingURL=TwigsThemeProvider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_native","_theme","_jsxRuntime","e","__esModule","default","TwigsThemeProvider","children","theme","defaultTheme","jsx","ThemeProvider","exports"],"sourceRoot":"../../../src","sources":["ThemeProvider/TwigsThemeProvider.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AAA+C,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAQtC,MAAMG,kBAAqD,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,KAAK,GAAGC;AAAa,CAAC,kBACtG,IAAAP,WAAA,CAAAQ,GAAA,EAACV,OAAA,CAAAW,aAAa;EAACH,KAAK,EAAEA,KAAM;EAAAD,QAAA,EAAEA;AAAQ,CAAgB,CACvD;AAACK,OAAA,CAAAN,kBAAA,GAAAA,kBAAA","ignoreList":[]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _TwigsThemeProvider = require("./TwigsThemeProvider");
|
|
7
|
-
Object.keys(_TwigsThemeProvider).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _TwigsThemeProvider[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return _TwigsThemeProvider[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_TwigsThemeProvider","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../src","sources":["ThemeProvider/index.ts"],"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":[]}
|