jfs-components 0.0.27 → 0.0.28
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/lib/commonjs/components/Carousel/Carousel.mdx +5 -1
- package/lib/commonjs/components/HStack/HStack.mdx +5 -5
- package/lib/commonjs/components/MoneyValue/MoneyValue.mdx +1 -1
- package/lib/commonjs/icons/registry.js +1 -1
- package/lib/module/components/Carousel/Carousel.mdx +5 -1
- package/lib/module/components/HStack/HStack.mdx +5 -5
- package/lib/module/components/MoneyValue/MoneyValue.mdx +1 -1
- package/lib/module/icons/registry.js +1 -1
- package/lib/typescript/icons/registry.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/.token-metadata.json +20 -8
- package/src/components/Carousel/Carousel.mdx +5 -1
- package/src/components/HStack/HStack.mdx +5 -5
- package/src/components/MoneyValue/MoneyValue.mdx +1 -1
- package/src/icons/registry.ts +1 -1
|
@@ -8,7 +8,11 @@ import { View, Image, Text } from 'react-native';
|
|
|
8
8
|
|
|
9
9
|
## Available Collections and Modes
|
|
10
10
|
|
|
11
|
-
This component
|
|
11
|
+
This component uses the following design token collections. Each collection supports multiple modes that can be configured via the `modes` prop.
|
|
12
|
+
|
|
13
|
+
### peekOffset
|
|
14
|
+
- **Modes:** Medium | Small | Large | None
|
|
15
|
+
- **Default:** Medium
|
|
12
16
|
## Usage
|
|
13
17
|
|
|
14
18
|
<Canvas>
|
|
@@ -35,10 +35,10 @@ import { HStack } from 'jfs-components';
|
|
|
35
35
|
|
|
36
36
|
This component uses the following design tokens, resolved through `getVariableByName`:
|
|
37
37
|
|
|
38
|
-
- **`
|
|
39
|
-
- **`
|
|
40
|
-
- **`
|
|
41
|
-
- **`
|
|
42
|
-
- **`
|
|
38
|
+
- **`hStack/gap`**
|
|
39
|
+
- **`hStack/padding/bottom`**
|
|
40
|
+
- **`hStack/padding/left`**
|
|
41
|
+
- **`hStack/padding/right`**
|
|
42
|
+
- **`hStack/padding/top`**
|
|
43
43
|
|
|
44
44
|
All tokens support mode-based theming through the `modes` prop.
|
|
@@ -22,7 +22,7 @@ This component uses the following design token collections. Each collection supp
|
|
|
22
22
|
- **Default:** POC
|
|
23
23
|
|
|
24
24
|
### Context3
|
|
25
|
-
- **Modes:** Default | Transaction Bubble | Balance
|
|
25
|
+
- **Modes:** Default | Transaction Bubble & Cards | Balance | Amount Input
|
|
26
26
|
- **Default:** Default
|
|
27
27
|
## Usage
|
|
28
28
|
|