@reillymc/react-native-components 0.11.2 → 0.11.4
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 +1 -1
- package/lib/common/index.js +1 -0
- package/lib/common/typography.js +1 -0
- package/lib/components/action/Action.styles.js +1 -0
- package/lib/components/action/IconAction.js +1 -1
- package/lib/components/action/IconAction.styles.js +1 -0
- package/lib/components/action/IconActionBase.js +1 -1
- package/lib/components/action/IconActionBase.styles.js +1 -0
- package/lib/components/alert/AlertIndicator.js +1 -0
- package/lib/components/alert/AlertIndicator.styles.js +1 -0
- package/lib/components/alert/index.js +1 -0
- package/lib/components/avatar/Avatar.js +1 -0
- package/lib/components/avatar/Avatar.styles.js +1 -0
- package/lib/components/avatar/index.js +1 -0
- package/lib/components/button/Button.styles.js +1 -0
- package/lib/components/button/ButtonBase.styles.js +1 -0
- package/lib/components/button/IconButton.js +1 -1
- package/lib/components/button/IconButton.styles.js +1 -0
- package/lib/components/button/IconButtonBase.js +1 -1
- package/lib/components/button/IconButtonBase.styles.js +1 -0
- package/lib/components/container/FloatingContainer.styles.js +1 -0
- package/lib/components/container/FloatingContainer.web.js +1 -1
- package/lib/components/container/Panel.js +1 -0
- package/lib/components/container/index.js +1 -1
- package/lib/components/icon/Icon.js +1 -1
- package/lib/components/icon/Icon.styles.js +1 -0
- package/lib/components/icon/IconBase.js +1 -1
- package/lib/components/icon/IconBase.styles.js +1 -0
- package/lib/components/icon/IconComponentProps.js +1 -0
- package/lib/components/icon/InteractiveIcon.js +1 -1
- package/lib/components/icon/InteractiveIcon.styles.js +1 -0
- package/lib/components/icon/index.js +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/input/DropdownInput.styles.js +1 -0
- package/lib/components/input/DropdownInputBase.js +1 -1
- package/lib/components/input/InputAction.js +1 -1
- package/lib/components/input/InputAction.styles.js +1 -0
- package/lib/components/input/InputBase.js +1 -1
- package/lib/components/input/InputBase.styles.js +1 -0
- package/lib/components/input/InputRowContainer.js +1 -1
- package/lib/components/input/InputScaffold.js +1 -1
- package/lib/components/input/InputScaffold.styles.js +1 -0
- package/lib/components/input/NumberInput.js +1 -1
- package/lib/components/input/NumberInputBase.js +1 -1
- package/lib/components/input/RatingInput.js +1 -1
- package/lib/components/input/SelectionInput.js +1 -1
- package/lib/components/input/SelectionInput.styles.js +1 -0
- package/lib/components/input/TimeInput.js +1 -1
- package/lib/components/input/ToggleInput.js +1 -1
- package/lib/components/input/ToggleInput.styles.js +1 -0
- package/lib/components/listItem/ListItem.js +1 -1
- package/lib/components/listItem/ListItem.styles.js +1 -0
- package/lib/components/listItem/ListItemAlert.js +1 -1
- package/lib/components/listItem/ListItemAvatar.js +1 -1
- package/lib/components/listItem/ListItemFooter.js +1 -1
- package/lib/components/listItem/ListItemRow.js +1 -1
- package/lib/components/menu/Menu.styles.js +1 -0
- package/lib/components/menu/MenuItem.styles.js +1 -0
- package/lib/components/rating/Rating.js +1 -1
- package/lib/components/rating/Rating.styles.js +1 -0
- package/lib/components/swipe/SwipeAction.js +1 -0
- package/lib/components/swipe/SwipeAction.styles.js +1 -0
- package/lib/components/swipe/SwipeableContainer.js +1 -0
- package/lib/components/swipe/index.js +1 -0
- package/lib/components/tag/Tag.styles.js +1 -0
- package/lib/components/tag/TagIcon.js +1 -1
- package/lib/components/text/HighlightedText.styles.js +1 -0
- package/lib/components/text/InteractiveText.styles.js +1 -0
- package/lib/components/text/Text.js +1 -1
- package/lib/components/text/Text.styles.js +1 -0
- package/lib/components/toast/Toast.js +1 -0
- package/lib/components/toast/Toast.styles.js +1 -0
- package/lib/components/toast/index.js +1 -0
- package/lib/hooks/index.js +1 -1
- package/lib/hooks/useThemedStyles.js +1 -1
- package/lib/icons/index.js +1 -1
- package/lib/icons/ui/ArrowBoth.js +1 -0
- package/lib/icons/ui/ChevronDown.js +1 -0
- package/lib/icons/ui/Circle.js +1 -0
- package/lib/icons/ui/Clock.js +1 -0
- package/lib/icons/ui/Dash.js +1 -0
- package/lib/icons/ui/Exclamation.js +1 -0
- package/lib/icons/ui/InfinityGlyph.js +1 -0
- package/lib/icons/ui/NumberGlyph.js +1 -0
- package/lib/icons/ui/Plus.js +1 -0
- package/lib/icons/ui/StarBorder.js +1 -0
- package/lib/icons/ui/StarFull.js +1 -0
- package/lib/icons/ui/StarHalf.js +1 -0
- package/lib/icons/ui/index.js +1 -0
- package/lib/providers/ThemeProvider.js +1 -1
- package/lib/theme/icons.js +1 -1
- package/lib/theme/index.js +1 -1
- package/lib/theme/styles.js +1 -1
- package/lib/theme/theme.js +1 -1
- package/lib/types/common/index.d.ts +1 -0
- package/lib/types/common/index.d.ts.map +1 -1
- package/lib/types/common/typography.d.ts +6 -0
- package/lib/types/common/typography.d.ts.map +1 -0
- package/lib/types/components/action/Action.styles.d.ts +4 -0
- package/lib/types/components/action/Action.styles.d.ts.map +1 -0
- package/lib/types/components/action/IconAction.d.ts +2 -2
- package/lib/types/components/action/IconAction.d.ts.map +1 -1
- package/lib/types/components/action/IconAction.styles.d.ts +4 -0
- package/lib/types/components/action/IconAction.styles.d.ts.map +1 -0
- package/lib/types/components/action/IconActionBase.d.ts +3 -3
- package/lib/types/components/action/IconActionBase.d.ts.map +1 -1
- package/lib/types/components/action/IconActionBase.styles.d.ts +4 -0
- package/lib/types/components/action/IconActionBase.styles.d.ts.map +1 -0
- package/lib/types/components/alert/AlertIndicator.d.ts.map +1 -0
- package/lib/types/components/alert/AlertIndicator.styles.d.ts +4 -0
- package/lib/types/components/alert/AlertIndicator.styles.d.ts.map +1 -0
- package/lib/types/components/alert/index.d.ts +2 -0
- package/lib/types/components/alert/index.d.ts.map +1 -0
- package/lib/types/components/avatar/Avatar.d.ts.map +1 -0
- package/lib/types/components/avatar/Avatar.styles.d.ts +4 -0
- package/lib/types/components/avatar/Avatar.styles.d.ts.map +1 -0
- package/lib/types/components/avatar/index.d.ts +2 -0
- package/lib/types/components/avatar/index.d.ts.map +1 -0
- package/lib/types/components/button/Button.styles.d.ts +4 -0
- package/lib/types/components/button/Button.styles.d.ts.map +1 -0
- package/lib/types/components/button/ButtonBase.styles.d.ts +4 -0
- package/lib/types/components/button/ButtonBase.styles.d.ts.map +1 -0
- package/lib/types/components/button/IconButton.d.ts +2 -2
- package/lib/types/components/button/IconButton.d.ts.map +1 -1
- package/lib/types/components/button/IconButton.styles.d.ts +4 -0
- package/lib/types/components/button/IconButton.styles.d.ts.map +1 -0
- package/lib/types/components/button/IconButtonBase.d.ts +2 -2
- package/lib/types/components/button/IconButtonBase.d.ts.map +1 -1
- package/lib/types/components/button/IconButtonBase.styles.d.ts +4 -0
- package/lib/types/components/button/IconButtonBase.styles.d.ts.map +1 -0
- package/lib/types/components/container/FloatingContainer.styles.d.ts +4 -0
- package/lib/types/components/container/FloatingContainer.styles.d.ts.map +1 -0
- package/lib/types/components/container/FloatingContainer.web.d.ts.map +1 -1
- package/lib/types/components/container/Panel.d.ts.map +1 -0
- package/lib/types/components/container/index.d.ts +1 -2
- package/lib/types/components/container/index.d.ts.map +1 -1
- package/lib/types/components/icon/Icon.d.ts +2 -1
- package/lib/types/components/icon/Icon.d.ts.map +1 -1
- package/lib/types/components/icon/Icon.styles.d.ts +4 -0
- package/lib/types/components/icon/Icon.styles.d.ts.map +1 -0
- package/lib/types/components/icon/IconBase.d.ts +4 -7
- package/lib/types/components/icon/IconBase.d.ts.map +1 -1
- package/lib/types/components/icon/IconBase.styles.d.ts +4 -0
- package/lib/types/components/icon/IconBase.styles.d.ts.map +1 -0
- package/lib/types/components/icon/IconComponentProps.d.ts +6 -0
- package/lib/types/components/icon/IconComponentProps.d.ts.map +1 -0
- package/lib/types/components/icon/InteractiveIcon.d.ts +2 -1
- package/lib/types/components/icon/InteractiveIcon.d.ts.map +1 -1
- package/lib/types/components/icon/InteractiveIcon.styles.d.ts +4 -0
- package/lib/types/components/icon/InteractiveIcon.styles.d.ts.map +1 -0
- package/lib/types/components/icon/index.d.ts +1 -1
- package/lib/types/components/icon/index.d.ts.map +1 -1
- package/lib/types/components/index.d.ts +7 -8
- package/lib/types/components/index.d.ts.map +1 -1
- package/lib/types/components/input/DropdownInput.styles.d.ts +4 -0
- package/lib/types/components/input/DropdownInput.styles.d.ts.map +1 -0
- package/lib/types/components/input/DropdownInputBase.d.ts.map +1 -1
- package/lib/types/components/input/InputAction.d.ts +2 -1
- package/lib/types/components/input/InputAction.d.ts.map +1 -1
- package/lib/types/components/input/InputAction.styles.d.ts +4 -0
- package/lib/types/components/input/InputAction.styles.d.ts.map +1 -0
- package/lib/types/components/input/InputBase.d.ts.map +1 -1
- package/lib/types/components/input/InputBase.styles.d.ts +4 -0
- package/lib/types/components/input/InputBase.styles.d.ts.map +1 -0
- package/lib/types/components/input/InputScaffold.styles.d.ts +4 -0
- package/lib/types/components/input/InputScaffold.styles.d.ts.map +1 -0
- package/lib/types/components/input/NumberInput.d.ts.map +1 -1
- package/lib/types/components/input/NumberInputBase.d.ts.map +1 -1
- package/lib/types/components/input/RatingInput.d.ts.map +1 -1
- package/lib/types/components/input/SelectionInput.d.ts +1 -1
- package/lib/types/components/input/SelectionInput.d.ts.map +1 -1
- package/lib/types/components/input/SelectionInput.styles.d.ts +4 -0
- package/lib/types/components/input/SelectionInput.styles.d.ts.map +1 -0
- package/lib/types/components/input/TimeInput.d.ts.map +1 -1
- package/lib/types/components/input/ToggleInput.d.ts +3 -3
- package/lib/types/components/input/ToggleInput.d.ts.map +1 -1
- package/lib/types/components/input/ToggleInput.styles.d.ts +4 -0
- package/lib/types/components/input/ToggleInput.styles.d.ts.map +1 -0
- package/lib/types/components/listItem/ListItem.d.ts +1 -1
- package/lib/types/components/listItem/ListItem.d.ts.map +1 -1
- package/lib/types/components/listItem/ListItem.styles.d.ts +4 -0
- package/lib/types/components/listItem/ListItem.styles.d.ts.map +1 -0
- package/lib/types/components/listItem/ListItemRow.d.ts.map +1 -1
- package/lib/types/components/menu/Menu.styles.d.ts +4 -0
- package/lib/types/components/menu/Menu.styles.d.ts.map +1 -0
- package/lib/types/components/menu/MenuItem.styles.d.ts +4 -0
- package/lib/types/components/menu/MenuItem.styles.d.ts.map +1 -0
- package/lib/types/components/rating/Rating.d.ts.map +1 -1
- package/lib/types/components/rating/Rating.styles.d.ts +4 -0
- package/lib/types/components/rating/Rating.styles.d.ts.map +1 -0
- package/lib/types/components/swipe/SwipeAction.d.ts +9 -0
- package/lib/types/components/swipe/SwipeAction.d.ts.map +1 -0
- package/lib/types/components/swipe/SwipeAction.styles.d.ts +4 -0
- package/lib/types/components/swipe/SwipeAction.styles.d.ts.map +1 -0
- package/lib/types/components/swipe/SwipeableContainer.d.ts.map +1 -0
- package/lib/types/components/swipe/index.d.ts +3 -0
- package/lib/types/components/swipe/index.d.ts.map +1 -0
- package/lib/types/components/tag/Tag.styles.d.ts +4 -0
- package/lib/types/components/tag/Tag.styles.d.ts.map +1 -0
- package/lib/types/components/tag/TagIcon.d.ts +2 -1
- package/lib/types/components/tag/TagIcon.d.ts.map +1 -1
- package/lib/types/components/text/HighlightedText.styles.d.ts +3 -0
- package/lib/types/components/text/HighlightedText.styles.d.ts.map +1 -0
- package/lib/types/components/text/InteractiveText.styles.d.ts +4 -0
- package/lib/types/components/text/InteractiveText.styles.d.ts.map +1 -0
- package/lib/types/components/text/Text.d.ts.map +1 -1
- package/lib/types/components/text/Text.styles.d.ts +4 -0
- package/lib/types/components/text/Text.styles.d.ts.map +1 -0
- package/lib/types/components/toast/Toast.d.ts.map +1 -0
- package/lib/types/components/toast/Toast.styles.d.ts +4 -0
- package/lib/types/components/toast/Toast.styles.d.ts.map +1 -0
- package/lib/types/components/toast/index.d.ts +2 -0
- package/lib/types/components/toast/index.d.ts.map +1 -0
- package/lib/types/hooks/index.d.ts +1 -1
- package/lib/types/hooks/index.d.ts.map +1 -1
- package/lib/types/hooks/useThemedStyles.d.ts +12 -3
- package/lib/types/hooks/useThemedStyles.d.ts.map +1 -1
- package/lib/types/icons/index.d.ts +2 -3
- package/lib/types/icons/index.d.ts.map +1 -1
- package/lib/types/icons/ui/ArrowBoth.d.ts +4 -0
- package/lib/types/icons/ui/ArrowBoth.d.ts.map +1 -0
- package/lib/types/icons/ui/ChevronDown.d.ts +4 -0
- package/lib/types/icons/ui/ChevronDown.d.ts.map +1 -0
- package/lib/types/icons/ui/Circle.d.ts +4 -0
- package/lib/types/icons/ui/Circle.d.ts.map +1 -0
- package/lib/types/icons/ui/Clock.d.ts +4 -0
- package/lib/types/icons/ui/Clock.d.ts.map +1 -0
- package/lib/types/icons/ui/Dash.d.ts +4 -0
- package/lib/types/icons/ui/Dash.d.ts.map +1 -0
- package/lib/types/icons/ui/Exclamation.d.ts +4 -0
- package/lib/types/icons/ui/Exclamation.d.ts.map +1 -0
- package/lib/types/icons/ui/InfinityGlyph.d.ts +4 -0
- package/lib/types/icons/ui/InfinityGlyph.d.ts.map +1 -0
- package/lib/types/icons/ui/NumberGlyph.d.ts +4 -0
- package/lib/types/icons/ui/NumberGlyph.d.ts.map +1 -0
- package/lib/types/icons/ui/Plus.d.ts +4 -0
- package/lib/types/icons/ui/Plus.d.ts.map +1 -0
- package/lib/types/icons/ui/StarBorder.d.ts.map +1 -0
- package/lib/types/icons/ui/StarFull.d.ts.map +1 -0
- package/lib/types/icons/{stars → ui}/StarHalf.d.ts +1 -1
- package/lib/types/icons/ui/StarHalf.d.ts.map +1 -0
- package/lib/types/icons/ui/index.d.ts +4 -0
- package/lib/types/icons/ui/index.d.ts.map +1 -0
- package/lib/types/providers/ThemeProvider.d.ts +4 -4
- package/lib/types/providers/ThemeProvider.d.ts.map +1 -1
- package/lib/types/theme/icons.d.ts +17 -3354
- package/lib/types/theme/icons.d.ts.map +1 -1
- package/lib/types/theme/index.d.ts +1 -1
- package/lib/types/theme/index.d.ts.map +1 -1
- package/lib/types/theme/styles.d.ts +6 -0
- package/lib/types/theme/styles.d.ts.map +1 -1
- package/lib/types/theme/theme.d.ts +2 -2
- package/lib/types/theme/theme.d.ts.map +1 -1
- package/package.json +32 -8
- package/lib/components/AlertIndicator.js +0 -1
- package/lib/components/Avatar.js +0 -1
- package/lib/components/Panel.js +0 -1
- package/lib/components/SwipeAction.js +0 -1
- package/lib/components/Toast.js +0 -1
- package/lib/components/container/CollapsibleContainer.js +0 -1
- package/lib/components/container/SwipeableContainer.js +0 -1
- package/lib/components/icon/componentWithIcon.js +0 -1
- package/lib/icons/octicons.js +0 -1
- package/lib/icons/stars/StarBorder.js +0 -1
- package/lib/icons/stars/StarFull.js +0 -1
- package/lib/icons/stars/StarHalf.js +0 -1
- package/lib/icons/stars/index.js +0 -1
- package/lib/index.js +0 -1
- package/lib/types/components/AlertIndicator.d.ts.map +0 -1
- package/lib/types/components/Avatar.d.ts.map +0 -1
- package/lib/types/components/Panel.d.ts.map +0 -1
- package/lib/types/components/SwipeAction.d.ts +0 -8
- package/lib/types/components/SwipeAction.d.ts.map +0 -1
- package/lib/types/components/Toast.d.ts.map +0 -1
- package/lib/types/components/container/CollapsibleContainer.d.ts +0 -10
- package/lib/types/components/container/CollapsibleContainer.d.ts.map +0 -1
- package/lib/types/components/container/SwipeableContainer.d.ts.map +0 -1
- package/lib/types/components/icon/componentWithIcon.d.ts +0 -8
- package/lib/types/components/icon/componentWithIcon.d.ts.map +0 -1
- package/lib/types/icons/octicons.d.ts +0 -2
- package/lib/types/icons/octicons.d.ts.map +0 -1
- package/lib/types/icons/stars/StarBorder.d.ts.map +0 -1
- package/lib/types/icons/stars/StarFull.d.ts.map +0 -1
- package/lib/types/icons/stars/StarHalf.d.ts.map +0 -1
- package/lib/types/icons/stars/index.d.ts +0 -4
- package/lib/types/icons/stars/index.d.ts.map +0 -1
- package/lib/types/index.d.ts +0 -8
- package/lib/types/index.d.ts.map +0 -1
- /package/lib/types/components/{AlertIndicator.d.ts → alert/AlertIndicator.d.ts} +0 -0
- /package/lib/types/components/{Avatar.d.ts → avatar/Avatar.d.ts} +0 -0
- /package/lib/types/components/{Panel.d.ts → container/Panel.d.ts} +0 -0
- /package/lib/types/components/{container → swipe}/SwipeableContainer.d.ts +0 -0
- /package/lib/types/components/{Toast.d.ts → toast/Toast.d.ts} +0 -0
- /package/lib/types/icons/{stars → ui}/StarBorder.d.ts +0 -0
- /package/lib/types/icons/{stars → ui}/StarFull.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/theme/icons.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/theme/icons.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EACR,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EACnB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,OAAO,EAAW,MAAM,UAAU,CAAC;AAElE,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,CAAC;AAEtD,KAAK,cAAc,GAAG;IAClB,aAAa,EAAE,kBAAkB,CAAC;IAClC,YAAY,EAAE,iBAAiB,CAAC;IAChC,WAAW,EAAE,gBAAgB,CAAC;IAC9B,cAAc,EAAE,mBAAmB,CAAC;IACpC,SAAS,EAAE,cAAc,CAAC;IAC1B,WAAW,EAAE,gBAAgB,CAAC;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,WAAW,EAAE,gBAAgB,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;KACf,CAAC,IAAI,MAAM,cAAc,GAAG;SACxB,CAAC,IAAI,cAAc,CAAC,CAAC,CAAC,GAAG;YACtB,OAAO,EAAE,UAAU,CAAC;YACpB,QAAQ,EAAE,MAAM,CAAC;SACpB;KACJ;CACJ,CAAC;AAEF,KAAK,UAAU,CAAC,CAAC,IACb,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAC,GACpB,CAAC,GACD,CAAC,SAAS,EAAE,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC,CAAA;CAAE,CAAC,GAC7B,CAAC,GACD,MAAM,CAAC;AAEnB,MAAM,MAAM,oBAAoB,GAAG;KAC9B,QAAQ,IAAI,MAAM,cAAc,GAAG;SAC/B,MAAM,IAAI,cAAc,CAAC,QAAQ,CAAC,GAAG;YAClC,OAAO,EAAE,UAAU,CAAC;YACpB,QAAQ,EAAE,MAAM,CAAC;SACpB;KACJ;CACJ,CAAC;AAEF,KAAK,cAAc,CAAC,CAAC,IAAI;KACpB,QAAQ,IAAI,MAAM,cAAc,GAAG;SAC/B,MAAM,IAAI,cAAc,CAAC,QAAQ,CAAC,GAAG,QAAQ,SAAS,MAAM,CAAC,GACxD,MAAM,SAAS,MAAM,CAAC,CAAC,QAAQ,CAAC,GAC5B,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,SAAS;YAAE,OAAO,EAAE,MAAM,CAAC,CAAA;SAAE,GAC5C;YAAE,OAAO,EAAE,CAAC,CAAC;YAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,CAAA;SAAE,GACvC,KAAK,GACT,KAAK,GACT,KAAK;KACd;CACJ,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,oBAAoB,EACtD,QAAQ,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,KAC9B,CAAW,CAAC;AAEf,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCvB,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,YAAY,WAAW,CAAC,KAAK,CAAC,KAAG,KAc3D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { type ComponentIconAssets, createIcons, DefaultIcons, type Icons, } from "./icons";
|
|
1
|
+
export { type ComponentIconAssets, createIcons, DefaultIcons, type Icons, MergeIcons, } from "./icons";
|
|
2
2
|
export { type CreateStyles, createDefaultStyles, MergeStyles, type StyleOverrides, type Styles, } from "./styles";
|
|
3
3
|
export { DefaultTheme, MergeTheme, type Theme, type ThemeOverrides, } from "./theme";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,mBAAmB,EACxB,WAAW,EACX,YAAY,EACZ,KAAK,KAAK,GACb,MAAM,SAAS,CAAC;AACjB,OAAO,EACH,KAAK,YAAY,EACjB,mBAAmB,EACnB,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,MAAM,GACd,MAAM,UAAU,CAAC;AAClB,OAAO,EACH,YAAY,EACZ,UAAU,EACV,KAAK,KAAK,EACV,KAAK,cAAc,GACtB,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,mBAAmB,EACxB,WAAW,EACX,YAAY,EACZ,KAAK,KAAK,EACV,UAAU,GACb,MAAM,SAAS,CAAC;AACjB,OAAO,EACH,KAAK,YAAY,EACjB,mBAAmB,EACnB,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,MAAM,GACd,MAAM,UAAU,CAAC;AAClB,OAAO,EACH,YAAY,EACZ,UAAU,EACV,KAAK,KAAK,EACV,KAAK,cAAc,GACtB,MAAM,SAAS,CAAC"}
|
|
@@ -42,6 +42,12 @@ export type Styles = {
|
|
|
42
42
|
};
|
|
43
43
|
export type StyleOverrides = DeepPartial<Styles>;
|
|
44
44
|
export type CreateStyles = (theme: Theme) => Styles;
|
|
45
|
+
/**
|
|
46
|
+
* Composes the default `Styles` registry from each component's `styles.ts`
|
|
47
|
+
* factory. Defaults live next to the component that owns them; this module only
|
|
48
|
+
* assembles them (and holds the shared `common` token).
|
|
49
|
+
*/
|
|
45
50
|
export declare const createDefaultStyles: CreateStyles;
|
|
46
51
|
export declare const MergeStyles: (styles: Styles, overrides?: StyleOverrides | undefined) => Styles;
|
|
52
|
+
export declare const MergeStyleSlice: <T>(base: T, override: unknown) => T;
|
|
47
53
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/theme/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EACR,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,YAAY,EACZ,oBAAoB,EACpB,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,WAAW,EACX,iBAAiB,EACpB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/theme/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EACR,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,YAAY,EACZ,oBAAoB,EACpB,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,WAAW,EACX,iBAAiB,EACpB,MAAM,eAAe,CAAC;AA8BvB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,MAAM,MAAM,GAAG;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,eAAe,EAAE,qBAAqB,CAAC;IACvC,eAAe,EAAE,qBAAqB,CAAC;IAEvC,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,cAAc,CAAC;IACzB,eAAe,EAAE,qBAAqB,CAAC;IAEvC,MAAM,EAAE,YAAY,CAAC;IACrB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,cAAc,EAAE,oBAAoB,CAAC;IAErC,UAAU,EAAE,gBAAgB,CAAC;IAC7B,MAAM,EAAE,YAAY,CAAC;IACrB,cAAc,EAAE,oBAAoB,CAAC;IACrC,UAAU,EAAE,gBAAgB,CAAC;IAE7B,SAAS,EAAE,eAAe,CAAC;IAC3B,aAAa,EAAE,mBAAmB,CAAC;IACnC,WAAW,EAAE,iBAAiB,CAAC;IAC/B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,cAAc,EAAE,oBAAoB,CAAC;IACrC,WAAW,EAAE,iBAAiB,CAAC;IAE/B,MAAM,EAAE,YAAY,CAAC;IACrB,cAAc,EAAE,oBAAoB,CAAC;IAErC,aAAa,EAAE,mBAAmB,CAAC;IACnC,QAAQ,EAAE,cAAc,CAAC;IACzB,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE;QACJ,MAAM,EAAE;YACJ,QAAQ,EAAE;iBACL,IAAI,IAAI,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM;aAClD,CAAC;SACL,CAAC;KACL,CAAC;IACF,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,GAAG,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;AAEjD,MAAM,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,MAAM,CAAC;AAEpD;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,YAyChC,CAAC;AAEH,eAAO,MAAM,WAAW,GACpB,QAAQ,MAAM,EACd,YAAW,cAAc,GAAG,SAAc,KAC3C,MAAsC,CAAC;AAE1C,eAAO,MAAM,eAAe,GAAI,CAAC,EAAE,MAAM,CAAC,EAAE,UAAU,OAAO,KAAG,CACI,CAAC"}
|
|
@@ -11,7 +11,6 @@ export declare const DefaultTheme: {
|
|
|
11
11
|
tiny: number;
|
|
12
12
|
small: number;
|
|
13
13
|
regular: number;
|
|
14
|
-
emphasised: number;
|
|
15
14
|
large: number;
|
|
16
15
|
xLarge: number;
|
|
17
16
|
xxLarge: number;
|
|
@@ -83,5 +82,6 @@ export declare const DefaultTheme: {
|
|
|
83
82
|
};
|
|
84
83
|
};
|
|
85
84
|
};
|
|
86
|
-
export declare
|
|
85
|
+
export declare function MergeTheme(overrides?: ThemeOverrides): Theme;
|
|
86
|
+
export declare function MergeTheme(first: ThemeOverrides, second: ThemeOverrides | undefined): Theme;
|
|
87
87
|
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/theme/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,KAAK,GAAG,OAAO,YAAY,CAAC;AAExC,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAEhD,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/theme/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,KAAK,GAAG,OAAO,YAAY,CAAC;AAExC,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAEhD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGxB,CAAC;AAEF,wBAAgB,UAAU,CAAC,SAAS,CAAC,EAAE,cAAc,GAAG,KAAK,CAAC;AAC9D,wBAAgB,UAAU,CACtB,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,cAAc,GAAG,SAAS,GACnC,KAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,21 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reillymc/react-native-components",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4",
|
|
4
4
|
"description": "A collection of React Native components and resources",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"exports": {
|
|
8
|
+
"./components": {
|
|
9
|
+
"types": "./lib/types/components/index.d.ts",
|
|
10
|
+
"default": "./lib/components/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./hooks": {
|
|
13
|
+
"types": "./lib/types/hooks/index.d.ts",
|
|
14
|
+
"default": "./lib/hooks/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./icons": {
|
|
17
|
+
"types": "./lib/types/icons/index.d.ts",
|
|
18
|
+
"default": "./lib/icons/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./providers": {
|
|
21
|
+
"types": "./lib/types/providers/index.d.ts",
|
|
22
|
+
"default": "./lib/providers/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./theme": {
|
|
25
|
+
"types": "./lib/types/theme/index.d.ts",
|
|
26
|
+
"default": "./lib/theme/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./common": {
|
|
29
|
+
"types": "./lib/types/common/index.d.ts",
|
|
30
|
+
"default": "./lib/common/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./package.json": "./package.json"
|
|
33
|
+
},
|
|
9
34
|
"files": [
|
|
10
35
|
"lib/**/*"
|
|
11
36
|
],
|
|
12
37
|
"scripts": {
|
|
13
38
|
"clean": "rm -rf ./lib",
|
|
14
|
-
"build": "npm run clean && tsc -p ./tsconfig.build.json && babel --config-file ./babel.config.build.
|
|
39
|
+
"build": "npm run clean && tsc -p ./tsconfig.build.json && babel --config-file ./babel.config.build.cjs --extensions .ts,.tsx ./src -d ./lib",
|
|
15
40
|
"lint": "biome check --error-on-warnings",
|
|
16
41
|
"lint:fix": "biome check --fix",
|
|
17
42
|
"prepare": "npm run build",
|
|
18
|
-
"depcruise:src": "depcruise src --include-only 'src' --collapse 4 --output-type dot | dot -T svg > dependency-graph.svg",
|
|
43
|
+
"depcruise:src": "depcruise \"src/**/*.{ts,tsx}\" --include-only 'src' --collapse 4 --output-type dot | dot -T svg > dependency-graph.svg",
|
|
19
44
|
"start": "expo start",
|
|
20
45
|
"typecheck": "tsc --noEmit -p ./tsconfig.build.json",
|
|
21
46
|
"typecheck:full": "tsc --noEmit -p ./tsconfig.json"
|
|
@@ -70,7 +95,6 @@
|
|
|
70
95
|
"typescript": "~6.0.3"
|
|
71
96
|
},
|
|
72
97
|
"peerDependencies": {
|
|
73
|
-
"@react-native-vector-icons/octicons": "^21.1.2",
|
|
74
98
|
"react": "^19.2",
|
|
75
99
|
"react-native": "^0.85 || ^0.86",
|
|
76
100
|
"react-native-gesture-handler": "^2.31",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/AlertIndicator.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{useThemedStyles}from"../hooks";import{Text}from"./text";import{jsx as _jsx}from"react/jsx-runtime";export var AlertIndicator=t0=>{var $=_c(11);var t1=t0.label,t2=t0.variant,style=t0.style;var label=t1===undefined?"":t1;var variant=t2===undefined?"primary":t2;var t3;if($[0]!==variant){t3={props:{variant}};$[0]=variant;$[1]=t3;}else{t3=$[1];}var _useThemedStyles=useThemedStyles("alertIndicator",createStyles,t3),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t4;if($[2]!==style||$[3]!==styles.container){t4=[styles.container,style];$[2]=style;$[3]=styles.container;$[4]=t4;}else{t4=$[4];}var t5;if($[5]!==label||$[6]!==styles.text){t5=_jsx(Text,{numberOfLines:1,style:styles.text,children:label});$[5]=label;$[6]=styles.text;$[7]=t5;}else{t5=$[7];}var t6;if($[8]!==t4||$[9]!==t5){t6=_jsx(View,{style:t4,children:t5});$[8]=t4;$[9]=t5;$[10]=t6;}else{t6=$[10];}return t6;};AlertIndicator.displayName="AlertIndicator";var createStyles=({styles:{alertIndicator}},{variant="primary"})=>{var styles=StyleSheet.create({container:{display:"flex",alignItems:"center",justifyContent:"center",height:alertIndicator.size,width:alertIndicator.size,borderRadius:alertIndicator.borderRadius,backgroundColor:alertIndicator.backgroundColor[variant]},text:{color:alertIndicator.color[variant],fontWeight:"600"}});return styles;};
|
package/lib/components/Avatar.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/Avatar.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{Image,StyleSheet,View}from"react-native";import{useThemedStyles}from"../hooks";import{Text}from"./text";import{jsx as _jsx,Fragment as _Fragment,jsxs as _jsxs}from"react/jsx-runtime";var getBackgroundColor=(colors,firstName,lastName)=>{var hash=(firstName||lastName||"").split("").reduce((acc,char)=>acc+char.charCodeAt(0),0)%colors.length;return colors[hash]??colors[0]??{background:"#fff",foreground:"#000"};};export var Avatar=t0=>{var $=_c(35);var t1=t0.firstName,t2=t0.lastName,imageUri=t0.imageUri,t3=t0.size,action=t0.action,style=t0.style,containerStyle=t0.containerStyle;var firstName=t1===undefined?"":t1;var lastName=t2===undefined?"":t2;var size=t3===undefined?"regular":t3;var t4;if($[0]!==style){t4={avatar:style};$[0]=style;$[1]=t4;}else{t4=$[1];}var t5;if($[2]!==firstName||$[3]!==lastName||$[4]!==size){t5={size,firstName,lastName};$[2]=firstName;$[3]=lastName;$[4]=size;$[5]=t5;}else{t5=$[5];}var t6;if($[6]!==t4||$[7]!==t5){t6={styles:t4,props:t5};$[6]=t4;$[7]=t5;$[8]=t6;}else{t6=$[8];}var _useThemedStyles=useThemedStyles("avatar",createStyles,t6),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t7;if($[9]!==firstName){t7=firstName.charAt(0);$[9]=firstName;$[10]=t7;}else{t7=$[10];}var t8;if($[11]!==lastName){t8=lastName.charAt(0);$[11]=lastName;$[12]=t8;}else{t8=$[12];}var t9=`${t7}${t8}`;var t10;if($[13]!==t9){t10=t9.toUpperCase();$[13]=t9;$[14]=t10;}else{t10=$[14];}var initials=t10;var t11;if($[15]!==containerStyle||$[16]!==styles.container){t11=[styles.container,containerStyle];$[15]=containerStyle;$[16]=styles.container;$[17]=t11;}else{t11=$[17];}var t12;if($[18]!==firstName||$[19]!==imageUri||$[20]!==initials||$[21]!==lastName||$[22]!==size||$[23]!==styles.image||$[24]!==styles.initials||$[25]!==styles.label){t12=imageUri?_jsx(Image,{source:{uri:imageUri},style:styles.image}):_jsxs(_Fragment,{children:[_jsx(Text,{style:styles.initials,children:initials}),size==="large"&&_jsx(Text,{numberOfLines:3,style:[styles.label],children:`${firstName} ${lastName}`})]});$[18]=firstName;$[19]=imageUri;$[20]=initials;$[21]=lastName;$[22]=size;$[23]=styles.image;$[24]=styles.initials;$[25]=styles.label;$[26]=t12;}else{t12=$[26];}var t13;if($[27]!==action||$[28]!==size||$[29]!==styles.action){t13=action&&size!=="small"&&_jsx(View,{style:styles.action,children:action});$[27]=action;$[28]=size;$[29]=styles.action;$[30]=t13;}else{t13=$[30];}var t14;if($[31]!==t11||$[32]!==t12||$[33]!==t13){t14=_jsxs(View,{style:t11,children:[t12,t13]});$[31]=t11;$[32]=t12;$[33]=t13;$[34]=t14;}else{t14=$[34];}return t14;};Avatar.displayName="Avatar";var createStyles=({styles:{avatar},theme:{spacing}},{size="regular",firstName,lastName})=>{var _getBackgroundColor=getBackgroundColor(avatar.colors,firstName,lastName),background=_getBackgroundColor.background,foreground=_getBackgroundColor.foreground;var styles=StyleSheet.create({container:{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:background,height:avatar.size[size],width:avatar.size[size],borderRadius:avatar.size[size]/2},image:{height:avatar.size[size],width:avatar.size[size],borderRadius:avatar.size[size]/2},initials:{fontWeight:avatar.initials.fontWeight,fontSize:avatar.initials.fontSize[size],color:foreground},label:{fontSize:avatar.label.fontSize,fontWeight:avatar.label.fontWeight,paddingHorizontal:spacing.small,textAlign:"center",color:foreground},action:{position:"absolute",top:-spacing.tiny,right:-spacing.small}});return styles;};
|
package/lib/components/Panel.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/Panel.tsx";import{c as _c}from"react/compiler-runtime";import{StyleSheet}from"react-native";import Animated,{Easing,LinearTransition}from"react-native-reanimated";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export var Panel=t0=>{var $=_c(11);var collapsed=t0.collapsed,style=t0.style,header=t0.header,children=t0.children;var t1;if($[0]!==collapsed){t1=createStyles({collapsed});$[0]=collapsed;$[1]=t1;}else{t1=$[1];}var styles=t1;var t2;if($[2]===Symbol.for("react.memo_cache_sentinel")){t2=LinearTransition.easing(Easing.inOut(Easing.cubic)).mass(0.3).springify();$[2]=t2;}else{t2=$[2];}var t3;if($[3]===Symbol.for("react.memo_cache_sentinel")){t3=LinearTransition.easing(Easing.inOut(Easing.cubic)).mass(0.3).springify();$[3]=t3;}else{t3=$[3];}var t4;if($[4]!==children||$[5]!==styles.collapsible){t4=_jsx(Animated.View,{layout:t3,style:styles.collapsible,children:children});$[4]=children;$[5]=styles.collapsible;$[6]=t4;}else{t4=$[6];}var t5;if($[7]!==header||$[8]!==style||$[9]!==t4){t5=_jsxs(Animated.View,{layout:t2,style:style,children:[header,t4]});$[7]=header;$[8]=style;$[9]=t4;$[10]=t5;}else{t5=$[10];}return t5;};var createStyles=({collapsed})=>{var styles=StyleSheet.create({collapsible:{overflow:"hidden",height:collapsed?0:undefined}});return styles;};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/SwipeAction.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{StyleSheet}from"react-native";import{useThemedStyles}from"../hooks";import{IconButton}from"./button";import{withIcon}from"./icon";import{jsx as _jsx}from"react/jsx-runtime";export var SwipeAction=withIcon(props=>{var _useThemedStyles=useThemedStyles("swipeAction",createStyles),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];return _jsx(IconButton,{...props,containerStyle:styles.actionButton});});var createStyles=({styles:{swipeAction}})=>StyleSheet.create({actionButton:{height:"100%",alignItems:"center",justifyContent:"center",borderRadius:0,width:swipeAction.width}});
|
package/lib/components/Toast.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/Toast.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import Animated,{LinearTransition,SlideInDown,SlideOutDown}from"react-native-reanimated";import{useThemedStyles}from"../hooks";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export var Toast=t0=>{var $=_c(20);var action=t0.action,containerStyle=t0.containerStyle,children=t0.children;var _useThemedStyles=useThemedStyles("toast",createStyles),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t1;if($[0]!==containerStyle||$[1]!==styles.container){t1=[styles.container,containerStyle];$[0]=containerStyle;$[1]=styles.container;$[2]=t1;}else{t1=$[2];}var t2;var t3;var t4;if($[3]===Symbol.for("react.memo_cache_sentinel")){t2=SlideInDown.springify().mass(0.5);t3=SlideOutDown.springify().mass(0.5);t4=LinearTransition.springify().mass(0.5);$[3]=t2;$[4]=t3;$[5]=t4;}else{t2=$[3];t3=$[4];t4=$[5];}var t5;if($[6]!==children||$[7]!==styles.contentContainer){t5=_jsx(View,{style:styles.contentContainer,children:children});$[6]=children;$[7]=styles.contentContainer;$[8]=t5;}else{t5=$[8];}var t6;if($[9]!==action||$[10]!==styles.actionContainer||$[11]!==styles.separator){t6=action&&_jsxs(View,{style:styles.actionContainer,children:[_jsx(Animated.View,{layout:LinearTransition.springify().mass(0.5),style:styles.separator}),action]});$[9]=action;$[10]=styles.actionContainer;$[11]=styles.separator;$[12]=t6;}else{t6=$[12];}var t7;if($[13]!==styles.innerContainer||$[14]!==t5||$[15]!==t6){t7=_jsxs(View,{style:styles.innerContainer,children:[t5,t6]});$[13]=styles.innerContainer;$[14]=t5;$[15]=t6;$[16]=t7;}else{t7=$[16];}var t8;if($[17]!==t1||$[18]!==t7){t8=_jsx(Animated.View,{style:t1,entering:t2,exiting:t3,layout:t4,children:t7});$[17]=t1;$[18]=t7;$[19]=t8;}else{t8=$[19];}return t8;};var createStyles=({theme:{color,spacing,border},styles:{toast}})=>StyleSheet.create({container:{position:"absolute",bottom:toast.bottomInset,left:toast.horizontalInset,right:toast.horizontalInset,backgroundColor:color.backgroundHighlight,padding:spacing.medium,borderRadius:border.radius.loose},innerContainer:{flexDirection:"row",justifyContent:"space-between"},contentContainer:{flex:1},actionContainer:{flex:0,alignItems:"center",flexDirection:"row",height:"100%"},separator:{borderLeftWidth:StyleSheet.hairlineWidth,borderLeftColor:color.textSecondary,height:"100%",marginHorizontal:spacing.medium}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/container/CollapsibleContainer.tsx";import{c as _c}from"react/compiler-runtime";import{StyleSheet}from"react-native";import Animated,{FadeInDown,FadeInLeft,FadeInRight,FadeInUp,FadeOutDown,FadeOutLeft,FadeOutRight,FadeOutUp,LinearTransition}from"react-native-reanimated";import{jsx as _jsx,Fragment as _Fragment}from"react/jsx-runtime";export var CollapsibleContainer=t0=>{var $=_c(13);var collapsed=t0.collapsed,t1=t0.direction,style=t0.style,children=t0.children;var direction=t1===undefined?"down":t1;var t2;if($[0]!==collapsed){t2=createStyles({collapsed});$[0]=collapsed;$[1]=t2;}else{t2=$[1];}var styles=t2;var t3;if($[2]===Symbol.for("react.memo_cache_sentinel")){t3={up:FadeInUp,down:FadeInDown,left:FadeInLeft,right:FadeInRight};$[2]=t3;}else{t3=$[2];}var transitionEntering=t3[direction];var t4;if($[3]===Symbol.for("react.memo_cache_sentinel")){t4={up:FadeOutUp,down:FadeOutDown,left:FadeOutLeft,right:FadeOutRight};$[3]=t4;}else{t4=$[3];}var transitionExiting=t4[direction];var t5;if($[4]!==children||$[5]!==collapsed||$[6]!==style||$[7]!==styles||$[8]!==transitionEntering||$[9]!==transitionExiting){t5=!collapsed&&_jsx(Animated.View,{layout:LinearTransition,style:[styles.collapsible,style],entering:transitionEntering,exiting:transitionExiting,children:children});$[4]=children;$[5]=collapsed;$[6]=style;$[7]=styles;$[8]=transitionEntering;$[9]=transitionExiting;$[10]=t5;}else{t5=$[10];}var t6;if($[11]!==t5){t6=_jsx(_Fragment,{children:t5});$[11]=t5;$[12]=t6;}else{t6=$[12];}return t6;};CollapsibleContainer.displayName="CollapsibleContainer";var createStyles=_=>{var styles=StyleSheet.create({collapsible:{}});return styles;};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/container/SwipeableContainer.tsx";import{c as _c}from"react/compiler-runtime";import{useMemo,useRef}from"react";import{StyleSheet,View}from"react-native";import Swipeable from"react-native-gesture-handler/ReanimatedSwipeable";import{jsx as _jsx}from"react/jsx-runtime";export var SwipeableContainer=t0=>{var $=_c(12);var t1=t0.rightActions,containerStyle=t0.containerStyle,children=t0.children;var t2;if($[0]!==t1){t2=t1===undefined?[]:t1;$[0]=t1;$[1]=t2;}else{t2=$[1];}var rightActions=t2;var swipeableRef=useRef(null);var t3;if($[2]!==rightActions){t3=rightActions.reverse();$[2]=rightActions;$[3]=t3;}else{t3=$[3];}var actions=t3;var t4;if($[4]===Symbol.for("react.memo_cache_sentinel")){t4=()=>{swipeableRef.current?.close();};$[4]=t4;}else{t4=$[4];}var handleActionsPress=t4;var t5;if($[5]!==actions){t5=()=>_jsx(View,{style:styles.actionsContainer,onTouchEnd:handleActionsPress,children:actions});$[5]=actions;$[6]=t5;}else{t5=$[6];}var renderRightActions=t5;var t6;if($[7]===Symbol.for("react.memo_cache_sentinel")){t6={left:-20};$[7]=t6;}else{t6=$[7];}var t7;if($[8]!==children||$[9]!==containerStyle||$[10]!==renderRightActions){t7=_jsx(Swipeable,{hitSlop:t6,ref:swipeableRef,renderRightActions:renderRightActions,enableTrackpadTwoFingerGesture:true,friction:1.5,overshootRight:false,containerStyle:containerStyle,children:children});$[8]=children;$[9]=containerStyle;$[10]=renderRightActions;$[11]=t7;}else{t7=$[11];}return t7;};var styles=StyleSheet.create({actionsContainer:{display:"flex",flexDirection:"row"}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export var withIcon=component=>component;
|
package/lib/icons/octicons.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{Octicons}from"@react-native-vector-icons/octicons";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/icons/stars/StarBorder.tsx";import{c as _c}from"react/compiler-runtime";import Svg,{Path}from"react-native-svg";import{jsx as _jsx}from"react/jsx-runtime";export var StarBorder=t0=>{var $=_c(5);var size=t0.size,color=t0.color;var t1;if($[0]!==color){t1=_jsx(Path,{fill:color,d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"});$[0]=color;$[1]=t1;}else{t1=$[1];}var t2;if($[2]!==size||$[3]!==t1){t2=_jsx(Svg,{height:size,viewBox:"0 0 24 24",width:size,children:t1});$[2]=size;$[3]=t1;$[4]=t2;}else{t2=$[4];}return t2;};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/icons/stars/StarFull.tsx";import{c as _c}from"react/compiler-runtime";import Svg,{Path}from"react-native-svg";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export var StarFull=t0=>{var $=_c(7);var size=t0.size,color=t0.color;var t1;var t2;if($[0]===Symbol.for("react.memo_cache_sentinel")){t1=_jsx(Path,{d:"M0 0h24v24H0z",fill:"none"});t2=_jsx(Path,{d:"M0 0h24v24H0z",fill:"none"});$[0]=t1;$[1]=t2;}else{t1=$[0];t2=$[1];}var t3;if($[2]!==color){t3=_jsx(Path,{fill:color,d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"});$[2]=color;$[3]=t3;}else{t3=$[3];}var t4;if($[4]!==size||$[5]!==t3){t4=_jsxs(Svg,{height:size,viewBox:"0 0 24 24",width:size,children:[t1,t2,t3]});$[4]=size;$[5]=t3;$[6]=t4;}else{t4=$[6];}return t4;};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/icons/stars/StarHalf.tsx";import{c as _c}from"react/compiler-runtime";import Svg,{Path,Rect}from"react-native-svg";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export var StarHalf=t0=>{var $=_c(6);var size=t0.size,color=t0.color;var t1;if($[0]===Symbol.for("react.memo_cache_sentinel")){t1=_jsx(Rect,{fill:"none",height:"24",width:"24",x:"0"});$[0]=t1;}else{t1=$[0];}var t2;if($[1]!==color){t2=_jsx(Path,{fill:color,d:"M22,9.24l-7.19-0.62L12,2L9.19,8.63L2,9.24l5.46,4.73L5.82,21L12,17.27L18.18,21l-1.63-7.03L22,9.24z M12,15.4V6.1 l1.71,4.04l4.38,0.38l-3.32,2.88l1,4.28L12,15.4z"});$[1]=color;$[2]=t2;}else{t2=$[2];}var t3;if($[3]!==size||$[4]!==t2){t3=_jsxs(Svg,{height:size,viewBox:"0 0 24 24",width:size,children:[t1,t2]});$[3]=size;$[4]=t2;$[5]=t3;}else{t3=$[5];}return t3;};
|
package/lib/icons/stars/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/icons/stars/index.tsx";import{c as _c}from"react/compiler-runtime";import{StarBorder}from"./StarBorder";import{StarFull}from"./StarFull";import{StarHalf}from"./StarHalf";import{jsx as _jsx}from"react/jsx-runtime";var glyphMap={empty:StarBorder,full:StarFull,half:StarHalf};export var Stars=t0=>{var $=_c(7);var name=t0.name,color=t0.color,size=t0.size;var Glyph=glyphMap[name];if(!Glyph){var _t;if($[0]!==color||$[1]!==size){_t=_jsx(StarBorder,{color:color,size:size});$[0]=color;$[1]=size;$[2]=_t;}else{_t=$[2];}return _t;}var t1;if($[3]!==Glyph||$[4]!==color||$[5]!==size){t1=_jsx(Glyph,{color:color,size:size});$[3]=Glyph;$[4]=color;$[5]=size;$[6]=t1;}else{t1=$[6];}return t1;};
|
package/lib/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"./components";export{useTheme,useThemedStylesExternal as useThemedStyles}from"./hooks";export{Stars}from"./icons";export*from"./providers";export*from"./theme";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AlertIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/AlertIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACH,KAAK,UAAU,EACf,KAAK,SAAS,EAGd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;IACxC,eAAe,EAAE,MAAM,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;CACrD,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgBxD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACH,KAAK,UAAU,EAEf,KAAK,SAAS,EAEd,KAAK,SAAS,EAEd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAoBtD,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAEhD,MAAM,MAAM,YAAY,GAAG;IACvB,IAAI,EAAE;SAAG,GAAG,IAAI,UAAU,GAAG,MAAM;KAAE,CAAC;IACtC,QAAQ,EAAE;QACN,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;QACpC,QAAQ,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;KACxC,CAAC;IACF,KAAK,EAAE;QACH,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;QACpC,QAAQ,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,MAAM,EAAE,KAAK,CAAC;QAAE,UAAU,EAAE,UAAU,CAAC;QAAC,UAAU,EAAE,UAAU,CAAA;KAAE,CAAC,CAAC;CACrE,CAAC;AAEF,MAAM,WAAW,WAAW;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB,KAAK,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IAElC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAoCxC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../src/components/Panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,SAAS,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1E,MAAM,WAAW,UAAU;IACvB,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CA0BrD,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type IconButtonProps } from "./button";
|
|
2
|
-
export type SwipeActionStyles = {
|
|
3
|
-
width: number;
|
|
4
|
-
};
|
|
5
|
-
export interface SwipeActionProps extends Pick<IconButtonProps, "onPress" | "variant"> {
|
|
6
|
-
}
|
|
7
|
-
export declare const SwipeAction: <G extends string>(props: SwipeActionProps & import("./icon").IconComponentProps<G>) => import("react").ReactNode;
|
|
8
|
-
//# sourceMappingURL=SwipeAction.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeAction.d.ts","sourceRoot":"","sources":["../../../src/components/SwipeAction.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAG5D,MAAM,MAAM,iBAAiB,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,WAAW,gBACb,SAAQ,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,SAAS,CAAC;CAAG;AAE3D,eAAO,MAAM,WAAW,mHAGtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAShF,MAAM,WAAW,WAAW;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACvB;AACD,MAAM,WAAW,UAAU;IACvB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CA4BrD,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
-
export interface CollapsibleContainerProps {
|
|
4
|
-
collapsed: boolean | undefined;
|
|
5
|
-
style?: StyleProp<ViewStyle>;
|
|
6
|
-
direction?: "up" | "down" | "left" | "right";
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare const CollapsibleContainer: React.FunctionComponent<CollapsibleContainerProps>;
|
|
10
|
-
//# sourceMappingURL=CollapsibleContainer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CollapsibleContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/container/CollapsibleContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,SAAS,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAa1E,MAAM,WAAW,yBAAyB;IACtC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAC7C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,iBAAiB,CACtD,yBAAyB,CAgC5B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeableContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/container/SwipeableContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAmB,MAAM,OAAO,CAAC;AAChF,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKhE,MAAM,WAAW,uBAAuB;IACpC;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAChC,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,EAAE,iBAAiB,CAAC,uBAAuB,CAoCzE,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
import type { IconSet } from "../../icons";
|
|
3
|
-
export interface IconComponentProps<G extends string> {
|
|
4
|
-
iconSet: IconSet<G>;
|
|
5
|
-
iconName: G;
|
|
6
|
-
}
|
|
7
|
-
export declare const withIcon: <P extends object>(component: <G extends string>(props: P & IconComponentProps<G>) => ReactNode) => <G extends string>(props: P & IconComponentProps<G>) => ReactNode;
|
|
8
|
-
//# sourceMappingURL=componentWithIcon.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"componentWithIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/componentWithIcon.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,MAAM;IAChD,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACpB,QAAQ,EAAE,CAAC,CAAC;CACf;AAED,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,MAAM,EACrC,WAAW,CAAC,CAAC,SAAS,MAAM,EACxB,KAAK,EAAE,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,KAC/B,SAAS,MAFF,CAAC,SAAS,MAAM,SACjB,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,KAC/B,SACK,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"octicons.d.ts","sourceRoot":"","sources":["../../../src/icons/octicons.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,QAAQ,EACR,KAAK,gBAAgB,GACxB,MAAM,qCAAqC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StarBorder.d.ts","sourceRoot":"","sources":["../../../../src/icons/stars/StarBorder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,gBAAgB,CAO3C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StarFull.d.ts","sourceRoot":"","sources":["../../../../src/icons/stars/StarFull.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,gBAAgB,CASzC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StarHalf.d.ts","sourceRoot":"","sources":["../../../../src/icons/stars/StarHalf.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,gBAAgB,CAQzC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/icons/stars/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAmB,MAAM,SAAS,CAAC;AAKxD,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAQtD,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,aAAa,CAKxC,CAAC"}
|
package/lib/types/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/** biome-ignore-all lint/performance/noReExportAll: top level folder exports should all be exposed for simple package api */
|
|
2
|
-
export type { ValueItem } from "./common";
|
|
3
|
-
export * from "./components";
|
|
4
|
-
export { type ThemedStyles, useTheme, useThemedStylesExternal as useThemedStyles, } from "./hooks";
|
|
5
|
-
export { type IconSet, Stars, type StarsIconName, } from "./icons";
|
|
6
|
-
export * from "./providers";
|
|
7
|
-
export * from "./theme";
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
package/lib/types/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,6HAA6H;AAC7H,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,OAAO,EACH,KAAK,YAAY,EACjB,QAAQ,EACR,uBAAuB,IAAI,eAAe,GAC7C,MAAM,SAAS,CAAC;AACjB,OAAO,EACH,KAAK,OAAO,EACZ,KAAK,EACL,KAAK,aAAa,GACrB,MAAM,SAAS,CAAC;AACjB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|