@reillymc/react-native-components 0.11.3 → 0.11.5
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 +2 -2
- 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.styles.js +1 -0
- package/lib/components/avatar/Avatar.js +1 -1
- package/lib/components/avatar/Avatar.styles.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.js +1 -1
- 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 -1
- 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/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.js +1 -1
- 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 -1
- package/lib/components/swipe/SwipeAction.styles.js +1 -0
- package/lib/components/swipe/SwipeableContainer.js +1 -1
- package/lib/components/tag/Tag.js +1 -1
- package/lib/components/tag/Tag.styles.js +1 -0
- package/lib/components/tag/TagIcon.js +1 -1
- package/lib/components/text/HighlightedText.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 -1
- package/lib/components/toast/Toast.styles.js +1 -0
- package/lib/hooks/index.js +1 -1
- package/lib/hooks/useForwardedRef.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 +2 -2
- package/lib/types/components/alert/AlertIndicator.d.ts.map +1 -1
- 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/avatar/Avatar.d.ts +3 -3
- package/lib/types/components/avatar/Avatar.d.ts.map +1 -1
- 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/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.d.ts +5 -6
- package/lib/types/components/container/FloatingContainer.d.ts.map +1 -1
- 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 +2 -15
- package/lib/types/components/container/FloatingContainer.web.d.ts.map +1 -1
- package/lib/types/components/container/Panel.d.ts +4 -4
- package/lib/types/components/container/Panel.d.ts.map +1 -1
- package/lib/types/components/container/index.d.ts +0 -1
- 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 +3 -3
- 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 +1 -1
- package/lib/types/components/input/NumberInput.d.ts.map +1 -1
- package/lib/types/components/input/NumberInputBase.d.ts +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.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.d.ts.map +1 -1
- 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 +2 -1
- package/lib/types/components/swipe/SwipeAction.d.ts.map +1 -1
- 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 -1
- package/lib/types/components/tag/Tag.d.ts.map +1 -1
- 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.d.ts +2 -6
- package/lib/types/components/text/HighlightedText.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 +4 -4
- package/lib/types/components/toast/Toast.d.ts.map +1 -1
- 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/hooks/index.d.ts +0 -1
- package/lib/types/hooks/index.d.ts.map +1 -1
- package/lib/types/hooks/useForwardedRef.d.ts +2 -2
- package/lib/types/hooks/useForwardedRef.d.ts.map +1 -1
- package/lib/types/hooks/useThemedStyles.d.ts +2 -1
- 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 +3 -3
- 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 +4 -4
- package/lib/components/container/CollapsibleContainer.js +0 -1
- package/lib/components/icon/componentWithIcon.js +0 -1
- package/lib/hooks/useKeyboardHeight.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/types/components/container/CollapsibleContainer.d.ts +0 -10
- package/lib/types/components/container/CollapsibleContainer.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/hooks/useKeyboardHeight.d.ts +0 -4
- package/lib/types/hooks/useKeyboardHeight.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/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":"
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/theme/theme.ts"],"names":[],"mappings":"AACA,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4GxB,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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reillymc/react-native-components",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.5",
|
|
4
4
|
"description": "A collection of React Native components and resources",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"lint": "biome check --error-on-warnings",
|
|
41
41
|
"lint:fix": "biome check --fix",
|
|
42
42
|
"prepare": "npm run build",
|
|
43
|
-
"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",
|
|
44
44
|
"start": "expo start",
|
|
45
45
|
"typecheck": "tsc --noEmit -p ./tsconfig.build.json",
|
|
46
46
|
"typecheck:full": "tsc --noEmit -p ./tsconfig.json"
|
|
@@ -95,13 +95,13 @@
|
|
|
95
95
|
"typescript": "~6.0.3"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
|
-
"@react-native-vector-icons/octicons": "^21.1.2",
|
|
99
98
|
"react": "^19.2",
|
|
100
99
|
"react-native": "^0.85 || ^0.86",
|
|
101
100
|
"react-native-gesture-handler": "^2.31",
|
|
102
101
|
"react-native-reanimated": "^4.3",
|
|
103
102
|
"react-native-safe-area-context": "^5.7",
|
|
104
103
|
"react-native-screens": "^4.23",
|
|
105
|
-
"react-native-svg": "^15.15"
|
|
104
|
+
"react-native-svg": "^15.15",
|
|
105
|
+
"react-native-worklets": "*"
|
|
106
106
|
}
|
|
107
107
|
}
|
|
@@ -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
|
-
export var withIcon=component=>component;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
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{useEffect,useState}from"react";import{Keyboard,Platform}from"react-native";var isIos=Platform.OS==="ios";export var useKeyboardHeight=()=>{var $=_c(4);var _useState=useState(0),_useState2=_slicedToArray(_useState,2),keyboardHeight=_useState2[0],setKeyboardHeight=_useState2[1];var t0;var t1;if($[0]===Symbol.for("react.memo_cache_sentinel")){t0=()=>{var showEvent=isIos?"keyboardWillShow":"keyboardDidShow";var hideEvent=isIos?"keyboardWillHide":"keyboardDidHide";var showListener=Keyboard.addListener(showEvent,e=>{setKeyboardHeight(e.endCoordinates.height);});var hideListener=Keyboard.addListener(hideEvent,()=>{setKeyboardHeight(0);});return()=>{showListener.remove();hideListener.remove();};};t1=[];$[0]=t0;$[1]=t1;}else{t0=$[0];t1=$[1];}useEffect(t0,t1);var t2;if($[2]!==keyboardHeight){t2={keyboardHeight};$[2]=keyboardHeight;$[3]=t2;}else{t2=$[3];}return t2;};
|
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;};
|
|
@@ -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,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":"useKeyboardHeight.d.ts","sourceRoot":"","sources":["../../../src/hooks/useKeyboardHeight.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iBAAiB;;CAqB7B,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"}
|
|
File without changes
|
|
File without changes
|