@artsy/palette-mobile 17.5.0 → 17.7.0
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.
|
@@ -14,7 +14,7 @@ const TAB_BAR_HEIGHT = 50;
|
|
|
14
14
|
const PillTabItem = ({ focusedTab: focusedTabProp, ...props }) => {
|
|
15
15
|
const [focusedTab, setFocusedTab] = useState(focusedTabProp.value);
|
|
16
16
|
// We want to debounce the focusedTab value to avoid showing two pills at once
|
|
17
|
-
const debouncedFocusedTab = debounce(setFocusedTab,
|
|
17
|
+
const debouncedFocusedTab = debounce(setFocusedTab, 50);
|
|
18
18
|
useAnimatedReaction(() => focusedTabProp.value, (value) => {
|
|
19
19
|
runOnJS(debouncedFocusedTab)(value);
|
|
20
20
|
});
|
package/dist/tokens.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* All of the config for the Artsy theming system
|
|
3
|
-
*
|
|
4
|
-
* https://www.figma.com/file/gZNkyqLT8AU3T61tluVJyB/Artsy-3.1-Design-System
|
|
2
|
+
* All of the config for the Artsy theming system are based on the
|
|
3
|
+
* on tokens from palette
|
|
5
4
|
*/
|
|
6
5
|
import { SpacingUnit as SpacingUnitNumbers } from "@artsy/palette-tokens/dist/themes/v3";
|
|
7
6
|
import { TextVariant } from "@artsy/palette-tokens/dist/typography/v3";
|
package/dist/tokens.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* All of the config for the Artsy theming system
|
|
3
|
-
*
|
|
4
|
-
* https://www.figma.com/file/gZNkyqLT8AU3T61tluVJyB/Artsy-3.1-Design-System
|
|
2
|
+
* All of the config for the Artsy theming system are based on the
|
|
3
|
+
* on tokens from palette
|
|
5
4
|
*/
|
|
6
5
|
import { THEME } from "@artsy/palette-tokens";
|
|
7
6
|
import { THEME_DARK } from "@artsy/palette-tokens/dist/themes/v3Dark";
|
package/package.json
CHANGED