@tempoxyz/ds 0.0.2 → 0.0.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/dist/mobile/components/Button.d.ts +0 -1
- package/dist/mobile/components/Button.d.ts.map +1 -1
- package/dist/mobile/components/Button.js +0 -1
- package/dist/mobile/components/Button.js.map +1 -1
- package/dist/mobile/vars.d.ts +19 -19
- package/dist/mobile/zyzz.config.d.ts +38 -38
- package/dist/platform/styles.css +1 -1
- package/dist/platform/vars.d.ts +19 -19
- package/dist/platform/zyzz.config.d.ts +19 -19
- package/dist/site/styles.css +1 -1
- package/dist/site/vars.d.ts +417 -59
- package/dist/site/vars.d.ts.map +1 -1
- package/dist/site/vars.js +2 -1
- package/dist/site/vars.js.map +1 -1
- package/dist/site/zyzz.config.d.ts +1247 -173
- package/dist/site/zyzz.config.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/mobile/README.md +1 -0
- package/src/mobile/components/Button.tsx +0 -1
- package/src/platform/styles.css +1 -1
- package/src/site/styles.css +1 -1
- package/src/site/vars.ts +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zyzz.config.d.ts","sourceRoot":"","sources":["../../src/site/zyzz.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAG7B,eAAO,MAAQ,KAAK
|
|
1
|
+
{"version":3,"file":"zyzz.config.d.ts","sourceRoot":"","sources":["../../src/site/zyzz.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAG7B,eAAO,MAAQ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYlC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tempoxyz/ds",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
7
7
|
"DESIGN.md",
|
|
@@ -2124,7 +2124,7 @@
|
|
|
2124
2124
|
"react-native": ">=0.86.0 <1.0.0",
|
|
2125
2125
|
"react-native-reanimated": "^4.5.1",
|
|
2126
2126
|
"react-native-svg": "^15.15.0",
|
|
2127
|
-
"zyzz": "^0.0.
|
|
2127
|
+
"zyzz": "^0.0.27"
|
|
2128
2128
|
},
|
|
2129
2129
|
"peerDependenciesMeta": {
|
|
2130
2130
|
"expo-haptics": {
|
package/src/mobile/README.md
CHANGED
|
@@ -96,6 +96,7 @@ Components also accept the props and `ref` of the React Native element they rend
|
|
|
96
96
|
## Behavior
|
|
97
97
|
|
|
98
98
|
- Figma defines no pressed or disabled Button, IconButton, or TextButton. Pressed controls render at 65% opacity, and disabled controls render at 50%.
|
|
99
|
+
- Button follows its parent's alignment, so it fills a column and centers in a centered container. Set `alignSelf: 'flex-start'` to fit the label instead.
|
|
99
100
|
- Button's `leadingIcon` and `trailingIcon` match Figma's icon toggles and take the label color. `loading` shows a spinner over the hidden content, keeps the button's size, and blocks presses.
|
|
100
101
|
- Button, IconButton, and TextButton play a light impact haptic when pressed. Toggle plays a selection haptic when its value changes.
|
|
101
102
|
- Toggle draws Figma's 44 by 28 point track with `Pressable` and the `switch` role, since the native switch has a fixed size.
|