@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
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
export declare const defaultTheme: {
|
|
2
|
-
colors: {
|
|
3
|
-
primary: string;
|
|
4
|
-
secondary: string;
|
|
5
|
-
accent50: string;
|
|
6
|
-
accent100: string;
|
|
7
|
-
accent200: string;
|
|
8
|
-
accent300: string;
|
|
9
|
-
accent400: string;
|
|
10
|
-
accent500: string;
|
|
11
|
-
accent600: string;
|
|
12
|
-
accent700: string;
|
|
13
|
-
accent800: string;
|
|
14
|
-
accent900: string;
|
|
15
|
-
primary50: string;
|
|
16
|
-
primary100: string;
|
|
17
|
-
primary200: string;
|
|
18
|
-
primary300: string;
|
|
19
|
-
primary400: string;
|
|
20
|
-
primary500: string;
|
|
21
|
-
primary600: string;
|
|
22
|
-
primary700: string;
|
|
23
|
-
primary800: string;
|
|
24
|
-
primary900: string;
|
|
25
|
-
warning50: string;
|
|
26
|
-
warning100: string;
|
|
27
|
-
warning200: string;
|
|
28
|
-
warning300: string;
|
|
29
|
-
warning400: string;
|
|
30
|
-
warning500: string;
|
|
31
|
-
warning600: string;
|
|
32
|
-
warning700: string;
|
|
33
|
-
warning800: string;
|
|
34
|
-
warning900: string;
|
|
35
|
-
highlight50: string;
|
|
36
|
-
highlight100: string;
|
|
37
|
-
highlight200: string;
|
|
38
|
-
highlight300: string;
|
|
39
|
-
highlight400: string;
|
|
40
|
-
highlight500: string;
|
|
41
|
-
highlight600: string;
|
|
42
|
-
highlight700: string;
|
|
43
|
-
highlight800: string;
|
|
44
|
-
highlight900: string;
|
|
45
|
-
positive50: string;
|
|
46
|
-
positive100: string;
|
|
47
|
-
positive200: string;
|
|
48
|
-
positive300: string;
|
|
49
|
-
positive400: string;
|
|
50
|
-
positive500: string;
|
|
51
|
-
positive600: string;
|
|
52
|
-
positive700: string;
|
|
53
|
-
positive800: string;
|
|
54
|
-
positive900: string;
|
|
55
|
-
secondary50: string;
|
|
56
|
-
secondary100: string;
|
|
57
|
-
secondary200: string;
|
|
58
|
-
secondary300: string;
|
|
59
|
-
secondary400: string;
|
|
60
|
-
secondary500: string;
|
|
61
|
-
secondary600: string;
|
|
62
|
-
secondary700: string;
|
|
63
|
-
secondary800: string;
|
|
64
|
-
secondary900: string;
|
|
65
|
-
negative50: string;
|
|
66
|
-
negative100: string;
|
|
67
|
-
negative200: string;
|
|
68
|
-
negative300: string;
|
|
69
|
-
negative400: string;
|
|
70
|
-
negative500: string;
|
|
71
|
-
negative600: string;
|
|
72
|
-
negative700: string;
|
|
73
|
-
negative800: string;
|
|
74
|
-
negative900: string;
|
|
75
|
-
neutral50: string;
|
|
76
|
-
neutral100: string;
|
|
77
|
-
neutral200: string;
|
|
78
|
-
neutral300: string;
|
|
79
|
-
neutral400: string;
|
|
80
|
-
neutral500: string;
|
|
81
|
-
neutral600: string;
|
|
82
|
-
neutral700: string;
|
|
83
|
-
neutral800: string;
|
|
84
|
-
neutral900: string;
|
|
85
|
-
black50: string;
|
|
86
|
-
black100: string;
|
|
87
|
-
black200: string;
|
|
88
|
-
black300: string;
|
|
89
|
-
black400: string;
|
|
90
|
-
black500: string;
|
|
91
|
-
black600: string;
|
|
92
|
-
black700: string;
|
|
93
|
-
black800: string;
|
|
94
|
-
black900: string;
|
|
95
|
-
white50: string;
|
|
96
|
-
white100: string;
|
|
97
|
-
white200: string;
|
|
98
|
-
white300: string;
|
|
99
|
-
white400: string;
|
|
100
|
-
white500: string;
|
|
101
|
-
white600: string;
|
|
102
|
-
white700: string;
|
|
103
|
-
white800: string;
|
|
104
|
-
white900: string;
|
|
105
|
-
};
|
|
106
|
-
space: {
|
|
107
|
-
$1: number;
|
|
108
|
-
$2: number;
|
|
109
|
-
$3: number;
|
|
110
|
-
$4: number;
|
|
111
|
-
$5: number;
|
|
112
|
-
$6: number;
|
|
113
|
-
$7: number;
|
|
114
|
-
$8: number;
|
|
115
|
-
$9: number;
|
|
116
|
-
$10: number;
|
|
117
|
-
$11: number;
|
|
118
|
-
$12: number;
|
|
119
|
-
$13: number;
|
|
120
|
-
$14: number;
|
|
121
|
-
$15: number;
|
|
122
|
-
$16: number;
|
|
123
|
-
$17: number;
|
|
124
|
-
$18: number;
|
|
125
|
-
$19: number;
|
|
126
|
-
$20: number;
|
|
127
|
-
$21: number;
|
|
128
|
-
$22: number;
|
|
129
|
-
$23: number;
|
|
130
|
-
$24: number;
|
|
131
|
-
$25: number;
|
|
132
|
-
$26: number;
|
|
133
|
-
$27: number;
|
|
134
|
-
$28: number;
|
|
135
|
-
$29: number;
|
|
136
|
-
$30: number;
|
|
137
|
-
$31: number;
|
|
138
|
-
$32: number;
|
|
139
|
-
$33: number;
|
|
140
|
-
$34: number;
|
|
141
|
-
$35: number;
|
|
142
|
-
$36: number;
|
|
143
|
-
$37: number;
|
|
144
|
-
$38: number;
|
|
145
|
-
$39: number;
|
|
146
|
-
$40: number;
|
|
147
|
-
$41: number;
|
|
148
|
-
$42: number;
|
|
149
|
-
$43: number;
|
|
150
|
-
$44: number;
|
|
151
|
-
$45: number;
|
|
152
|
-
$46: number;
|
|
153
|
-
$47: number;
|
|
154
|
-
$48: number;
|
|
155
|
-
$49: number;
|
|
156
|
-
$50: number;
|
|
157
|
-
};
|
|
158
|
-
sizes: {
|
|
159
|
-
$1: number;
|
|
160
|
-
$2: number;
|
|
161
|
-
$3: number;
|
|
162
|
-
$4: number;
|
|
163
|
-
$5: number;
|
|
164
|
-
$6: number;
|
|
165
|
-
$7: number;
|
|
166
|
-
$8: number;
|
|
167
|
-
$9: number;
|
|
168
|
-
$10: number;
|
|
169
|
-
$11: number;
|
|
170
|
-
$12: number;
|
|
171
|
-
$13: number;
|
|
172
|
-
$14: number;
|
|
173
|
-
$15: number;
|
|
174
|
-
$16: number;
|
|
175
|
-
$17: number;
|
|
176
|
-
$18: number;
|
|
177
|
-
$19: number;
|
|
178
|
-
$20: number;
|
|
179
|
-
$21: number;
|
|
180
|
-
$22: number;
|
|
181
|
-
$23: number;
|
|
182
|
-
$24: number;
|
|
183
|
-
$25: number;
|
|
184
|
-
$26: number;
|
|
185
|
-
$27: number;
|
|
186
|
-
$28: number;
|
|
187
|
-
$29: number;
|
|
188
|
-
$30: number;
|
|
189
|
-
$31: number;
|
|
190
|
-
$32: number;
|
|
191
|
-
$33: number;
|
|
192
|
-
$34: number;
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/config/theme.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiMxB,CAAC"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":""}
|
package/src/Box/box.tsx
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { ViewStyle, ViewProps } from "react-native";
|
|
3
|
-
import styled from "styled-components/native";
|
|
4
|
-
|
|
5
|
-
const DEFAULT_SPACING = 0;
|
|
6
|
-
|
|
7
|
-
const resolveMargin = ({
|
|
8
|
-
margin,
|
|
9
|
-
marginHorizontal,
|
|
10
|
-
marginVertical,
|
|
11
|
-
marginTop,
|
|
12
|
-
marginBottom,
|
|
13
|
-
marginLeft,
|
|
14
|
-
marginRight,
|
|
15
|
-
}: Partial<BoxProps>) => ({
|
|
16
|
-
top: marginTop ?? marginVertical ?? margin ?? DEFAULT_SPACING,
|
|
17
|
-
bottom: marginBottom ?? marginVertical ?? margin ?? DEFAULT_SPACING,
|
|
18
|
-
left: marginLeft ?? marginHorizontal ?? margin ?? DEFAULT_SPACING,
|
|
19
|
-
right: marginRight ?? marginHorizontal ?? margin ?? DEFAULT_SPACING,
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
const resolvePadding = ({
|
|
23
|
-
padding,
|
|
24
|
-
paddingHorizontal,
|
|
25
|
-
paddingVertical,
|
|
26
|
-
paddingTop,
|
|
27
|
-
paddingBottom,
|
|
28
|
-
paddingLeft,
|
|
29
|
-
paddingRight,
|
|
30
|
-
}: Partial<BoxProps>) => ({
|
|
31
|
-
top: paddingTop ?? paddingVertical ?? padding ?? DEFAULT_SPACING,
|
|
32
|
-
bottom: paddingBottom ?? paddingVertical ?? padding ?? DEFAULT_SPACING,
|
|
33
|
-
left: paddingLeft ?? paddingHorizontal ?? padding ?? DEFAULT_SPACING,
|
|
34
|
-
right: paddingRight ?? paddingHorizontal ?? padding ?? DEFAULT_SPACING,
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
type BoxProps = ViewProps & {
|
|
38
|
-
style?: ViewStyle;
|
|
39
|
-
children?: ReactNode;
|
|
40
|
-
padding?: number;
|
|
41
|
-
margin?: number;
|
|
42
|
-
paddingLeft?: number;
|
|
43
|
-
paddingRight?: number;
|
|
44
|
-
paddingTop?: number;
|
|
45
|
-
paddingBottom?: number;
|
|
46
|
-
paddingHorizontal?: number;
|
|
47
|
-
paddingVertical?: number;
|
|
48
|
-
marginLeft?: number;
|
|
49
|
-
marginRight?: number;
|
|
50
|
-
marginTop?: number;
|
|
51
|
-
marginBottom?: number;
|
|
52
|
-
marginHorizontal?: number;
|
|
53
|
-
marginVertical?: number;
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
const StyledBox = styled.View<BoxProps>`
|
|
57
|
-
${({ margin = 0, ...rest }) => {
|
|
58
|
-
const resolvedMargin = resolveMargin({ margin, ...rest });
|
|
59
|
-
return `
|
|
60
|
-
margin-top: ${resolvedMargin.top}px;
|
|
61
|
-
margin-bottom: ${resolvedMargin.bottom}px;
|
|
62
|
-
margin-left: ${resolvedMargin.left}px;
|
|
63
|
-
margin-right: ${resolvedMargin.right}px;
|
|
64
|
-
`;
|
|
65
|
-
}}
|
|
66
|
-
|
|
67
|
-
${({ padding = 0, ...rest }) => {
|
|
68
|
-
const resolvedPadding = resolvePadding({ padding, ...rest });
|
|
69
|
-
return `
|
|
70
|
-
padding-top: ${resolvedPadding.top}px;
|
|
71
|
-
padding-bottom: ${resolvedPadding.bottom}px;
|
|
72
|
-
padding-left: ${resolvedPadding.left}px;
|
|
73
|
-
padding-right: ${resolvedPadding.right}px;
|
|
74
|
-
`;
|
|
75
|
-
}}
|
|
76
|
-
`;
|
|
77
|
-
|
|
78
|
-
export const Box = ({ style, children, ...rest } : BoxProps) => (
|
|
79
|
-
<StyledBox style={style} {...rest}>
|
|
80
|
-
{children}
|
|
81
|
-
</StyledBox>
|
|
82
|
-
);
|
package/src/Box/index.tsx
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./box";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { ThemeProvider } from "styled-components/native";
|
|
3
|
-
import { defaultTheme } from "../config/theme";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
type TwigsThemeProviderProps = {
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
theme?: object;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export const TwigsThemeProvider: React.FC<TwigsThemeProviderProps> = ({ children, theme = defaultTheme }) => (
|
|
12
|
-
<ThemeProvider theme={theme}>{children}</ThemeProvider>
|
|
13
|
-
);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TwigsThemeProvider';
|
package/src/config/theme.ts
DELETED
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
export const defaultTheme = {
|
|
2
|
-
colors: {
|
|
3
|
-
primary: "#2E666D",
|
|
4
|
-
secondary: "#363A43",
|
|
5
|
-
accent50: "#F3F3FF",
|
|
6
|
-
accent100: "#EAE9FE",
|
|
7
|
-
accent200: "#D7D6FE",
|
|
8
|
-
accent300: "#B9B5FD",
|
|
9
|
-
accent400: "#978CF9",
|
|
10
|
-
accent500: "#7158F5",
|
|
11
|
-
accent600: "#623BEC",
|
|
12
|
-
accent700: "#5329D8",
|
|
13
|
-
accent800: "#4622B5",
|
|
14
|
-
accent900: "#3B1E94",
|
|
15
|
-
primary50: "#F3F9FA",
|
|
16
|
-
primary100: "#E6F3F4",
|
|
17
|
-
primary200: "#CEE7EA",
|
|
18
|
-
primary300: "#9CCFD6",
|
|
19
|
-
primary400: "#56B0BB",
|
|
20
|
-
primary500: "#4A9CA6",
|
|
21
|
-
primary600: "#448E97",
|
|
22
|
-
primary700: "#3B8088",
|
|
23
|
-
primary800: "#36737A",
|
|
24
|
-
primary900: "#2E666D",
|
|
25
|
-
warning50: "#FFF6EF",
|
|
26
|
-
warning100: "#FEEAC7",
|
|
27
|
-
warning200: "#FDD28A",
|
|
28
|
-
warning300: "#FCBD4F",
|
|
29
|
-
warning400: "#FBAB24",
|
|
30
|
-
warning500: "#F59E0B",
|
|
31
|
-
warning600: "#DB8D06",
|
|
32
|
-
warning700: "#B47409",
|
|
33
|
-
warning800: "#92610E",
|
|
34
|
-
warning900: "#78510F",
|
|
35
|
-
highlight50: "#FFFCDA",
|
|
36
|
-
highlight100: "#FFF7AD",
|
|
37
|
-
highlight200: "#FFF27D",
|
|
38
|
-
highlight300: "#FFED4B",
|
|
39
|
-
highlight400: "#FFE81A",
|
|
40
|
-
highlight500: "#E6CF00",
|
|
41
|
-
highlight600: "#B3A100",
|
|
42
|
-
highlight700: "#807300",
|
|
43
|
-
highlight800: "#786B03",
|
|
44
|
-
highlight900: "#6A5F00",
|
|
45
|
-
positive50: "#F4FAF1",
|
|
46
|
-
positive100: "#E8F4E3",
|
|
47
|
-
positive200: "#D4E8CA",
|
|
48
|
-
positive300: "#A8D291",
|
|
49
|
-
positive400: "#67B034",
|
|
50
|
-
positive500: "#5EA130",
|
|
51
|
-
positive600: "#55932A",
|
|
52
|
-
positive700: "#4C8425",
|
|
53
|
-
positive800: "#437720",
|
|
54
|
-
positive900: "#3C691C",
|
|
55
|
-
secondary50: "#F4F6F7",
|
|
56
|
-
secondary100: "#E2E6EB",
|
|
57
|
-
secondary200: "#C9CFD8",
|
|
58
|
-
secondary300: "#A3AEBD",
|
|
59
|
-
secondary400: "#76859A",
|
|
60
|
-
secondary500: "#64748B",
|
|
61
|
-
secondary600: "#4E596C",
|
|
62
|
-
secondary700: "#444B5A",
|
|
63
|
-
secondary800: "#3D424D",
|
|
64
|
-
secondary900: "#363A43",
|
|
65
|
-
negative50: "#FFF6F3",
|
|
66
|
-
negative100: "#FDEDE8",
|
|
67
|
-
negative200: "#FFDAD0",
|
|
68
|
-
negative300: "#FFB4A1",
|
|
69
|
-
negative400: "#FA7659",
|
|
70
|
-
negative500: "#F65633",
|
|
71
|
-
negative600: "#E75030",
|
|
72
|
-
negative700: "#D14729",
|
|
73
|
-
negative800: "#BC4024",
|
|
74
|
-
negative900: "#A9371E",
|
|
75
|
-
neutral50: "#F8F8F8",
|
|
76
|
-
neutral100: "#F1F1F1",
|
|
77
|
-
neutral200: "#E2E2E2",
|
|
78
|
-
neutral300: "#C6C6C6",
|
|
79
|
-
neutral400: "#9E9E9E",
|
|
80
|
-
neutral500: "#919191",
|
|
81
|
-
neutral600: "#848484",
|
|
82
|
-
neutral700: "#767676",
|
|
83
|
-
neutral800: "#6A6A6A",
|
|
84
|
-
neutral900: "#2B2B2B",
|
|
85
|
-
black50: "#0000000A",
|
|
86
|
-
black100: "#00000014",
|
|
87
|
-
black200: "#0000001A",
|
|
88
|
-
black300: "#00000026",
|
|
89
|
-
black400: "#00000033",
|
|
90
|
-
black500: "#0000004D",
|
|
91
|
-
black600: "#00000080",
|
|
92
|
-
black700: "#000000B2",
|
|
93
|
-
black800: "#000000CC",
|
|
94
|
-
black900: "#000000",
|
|
95
|
-
white50: "#FFFFFF0D",
|
|
96
|
-
white100: "#FFFFFF14",
|
|
97
|
-
white200: "#FFFFFF1A",
|
|
98
|
-
white300: "#FFFFFF26",
|
|
99
|
-
white400: "#FFFFFF33",
|
|
100
|
-
white500: "#FFFFFF4D",
|
|
101
|
-
white600: "#FFFFFF80",
|
|
102
|
-
white700: "#FFFFFFB2",
|
|
103
|
-
white800: "#FFFFFFCC",
|
|
104
|
-
white900: "#FFFFFF",
|
|
105
|
-
},
|
|
106
|
-
space: {
|
|
107
|
-
$1: 2,
|
|
108
|
-
$2: 4,
|
|
109
|
-
$3: 6,
|
|
110
|
-
$4: 8,
|
|
111
|
-
$5: 10,
|
|
112
|
-
$6: 12,
|
|
113
|
-
$7: 14,
|
|
114
|
-
$8: 16,
|
|
115
|
-
$9: 18,
|
|
116
|
-
$10: 20,
|
|
117
|
-
$11: 22,
|
|
118
|
-
$12: 24,
|
|
119
|
-
$13: 26,
|
|
120
|
-
$14: 28,
|
|
121
|
-
$15: 30,
|
|
122
|
-
$16: 32,
|
|
123
|
-
$17: 34,
|
|
124
|
-
$18: 36,
|
|
125
|
-
$19: 38,
|
|
126
|
-
$20: 40,
|
|
127
|
-
$21: 42,
|
|
128
|
-
$22: 44,
|
|
129
|
-
$23: 46,
|
|
130
|
-
$24: 48,
|
|
131
|
-
$25: 50,
|
|
132
|
-
$26: 52,
|
|
133
|
-
$27: 54,
|
|
134
|
-
$28: 56,
|
|
135
|
-
$29: 58,
|
|
136
|
-
$30: 60,
|
|
137
|
-
$31: 62,
|
|
138
|
-
$32: 64,
|
|
139
|
-
$33: 66,
|
|
140
|
-
$34: 68,
|
|
141
|
-
$35: 70,
|
|
142
|
-
$36: 72,
|
|
143
|
-
$37: 74,
|
|
144
|
-
$38: 76,
|
|
145
|
-
$39: 78,
|
|
146
|
-
$40: 80,
|
|
147
|
-
$41: 82,
|
|
148
|
-
$42: 84,
|
|
149
|
-
$43: 86,
|
|
150
|
-
$44: 88,
|
|
151
|
-
$45: 90,
|
|
152
|
-
$46: 92,
|
|
153
|
-
$47: 94,
|
|
154
|
-
$48: 96,
|
|
155
|
-
$49: 98,
|
|
156
|
-
$50: 100,
|
|
157
|
-
},
|
|
158
|
-
sizes: {
|
|
159
|
-
$1: 4,
|
|
160
|
-
$2: 8,
|
|
161
|
-
$3: 12,
|
|
162
|
-
$4: 16,
|
|
163
|
-
$5: 20,
|
|
164
|
-
$6: 24,
|
|
165
|
-
$7: 28,
|
|
166
|
-
$8: 32,
|
|
167
|
-
$9: 36,
|
|
168
|
-
$10: 40,
|
|
169
|
-
$11: 44,
|
|
170
|
-
$12: 48,
|
|
171
|
-
$13: 52,
|
|
172
|
-
$14: 56,
|
|
173
|
-
$15: 60,
|
|
174
|
-
$16: 64,
|
|
175
|
-
$17: 68,
|
|
176
|
-
$18: 72,
|
|
177
|
-
$19: 76,
|
|
178
|
-
$20: 80,
|
|
179
|
-
$21: 84,
|
|
180
|
-
$22: 88,
|
|
181
|
-
$23: 92,
|
|
182
|
-
$24: 96,
|
|
183
|
-
$25: 100,
|
|
184
|
-
$26: 104,
|
|
185
|
-
$27: 108,
|
|
186
|
-
$28: 112,
|
|
187
|
-
$29: 116,
|
|
188
|
-
$30: 120,
|
|
189
|
-
$31: 124,
|
|
190
|
-
$32: 128,
|
|
191
|
-
$33: 132,
|
|
192
|
-
$34: 136,
|
|
193
|
-
},
|
|
194
|
-
};
|
|
195
|
-
|
package/src/index.ts
DELETED
package/src/utils/index.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|