panelui-native 0.41.0 → 0.44.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.
Files changed (63) hide show
  1. package/README.md +3 -2
  2. package/lib/module/components/card/index.js +8 -154
  3. package/lib/module/components/card/index.js.map +1 -1
  4. package/lib/module/components/color-picker/index.js +1395 -0
  5. package/lib/module/components/color-picker/index.js.map +1 -0
  6. package/lib/module/components/combobox/index.js +87 -19
  7. package/lib/module/components/combobox/index.js.map +1 -1
  8. package/lib/module/components/kpi-chart/index.js +648 -0
  9. package/lib/module/components/kpi-chart/index.js.map +1 -0
  10. package/lib/module/components/menu/index.js +40 -10
  11. package/lib/module/components/menu/index.js.map +1 -1
  12. package/lib/module/components/radar-chart/index.js +704 -0
  13. package/lib/module/components/radar-chart/index.js.map +1 -0
  14. package/lib/module/components/section-rail/index.js +32 -7
  15. package/lib/module/components/section-rail/index.js.map +1 -1
  16. package/lib/module/components/slider/index.js +240 -39
  17. package/lib/module/components/slider/index.js.map +1 -1
  18. package/lib/module/components/tabs/index.js +194 -10
  19. package/lib/module/components/tabs/index.js.map +1 -1
  20. package/lib/module/index.js +4 -0
  21. package/lib/module/index.js.map +1 -1
  22. package/lib/module/theme/use-theme.js +1 -1
  23. package/lib/module/utils/chart.js +44 -0
  24. package/lib/module/utils/chart.js.map +1 -1
  25. package/lib/module/utils/color.js +268 -0
  26. package/lib/module/utils/color.js.map +1 -0
  27. package/lib/typescript/src/components/card/index.d.ts +0 -20
  28. package/lib/typescript/src/components/card/index.d.ts.map +1 -1
  29. package/lib/typescript/src/components/color-picker/index.d.ts +258 -0
  30. package/lib/typescript/src/components/color-picker/index.d.ts.map +1 -0
  31. package/lib/typescript/src/components/combobox/index.d.ts.map +1 -1
  32. package/lib/typescript/src/components/kpi-chart/index.d.ts +490 -0
  33. package/lib/typescript/src/components/kpi-chart/index.d.ts.map +1 -0
  34. package/lib/typescript/src/components/menu/index.d.ts.map +1 -1
  35. package/lib/typescript/src/components/radar-chart/index.d.ts +214 -0
  36. package/lib/typescript/src/components/radar-chart/index.d.ts.map +1 -0
  37. package/lib/typescript/src/components/section-rail/index.d.ts +8 -1
  38. package/lib/typescript/src/components/section-rail/index.d.ts.map +1 -1
  39. package/lib/typescript/src/components/slider/index.d.ts +19 -0
  40. package/lib/typescript/src/components/slider/index.d.ts.map +1 -1
  41. package/lib/typescript/src/components/tabs/index.d.ts +11 -1
  42. package/lib/typescript/src/components/tabs/index.d.ts.map +1 -1
  43. package/lib/typescript/src/index.d.ts +5 -1
  44. package/lib/typescript/src/index.d.ts.map +1 -1
  45. package/lib/typescript/src/utils/chart.d.ts +21 -0
  46. package/lib/typescript/src/utils/chart.d.ts.map +1 -1
  47. package/lib/typescript/src/utils/color.d.ts +74 -0
  48. package/lib/typescript/src/utils/color.d.ts.map +1 -0
  49. package/package.json +2 -1
  50. package/src/components/card/index.tsx +7 -209
  51. package/src/components/color-picker/index.tsx +1618 -0
  52. package/src/components/combobox/index.tsx +89 -19
  53. package/src/components/kpi-chart/index.tsx +719 -0
  54. package/src/components/menu/index.tsx +51 -6
  55. package/src/components/radar-chart/index.tsx +910 -0
  56. package/src/components/section-rail/index.tsx +42 -8
  57. package/src/components/slider/index.tsx +283 -41
  58. package/src/components/tabs/index.tsx +263 -8
  59. package/src/index.ts +61 -1
  60. package/src/theme/use-theme.ts +1 -1
  61. package/src/utils/chart.ts +52 -0
  62. package/src/utils/color.ts +246 -0
  63. package/theme.css +125 -112
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # PanelUI — React Native UI components for Expo, styled with Tailwind CSS
2
2
 
3
3
  **PanelUI** (`panelui-native`) is an accessible, high-performance React Native component
4
- library for Expo apps. 80 typed components — buttons, bottom sheets, dialogs, selects,
4
+ library for Expo apps. 81 typed components — buttons, bottom sheets, dialogs, selects,
5
5
  toasts, forms — styled with Tailwind CSS v4 and animated on the UI thread with Reanimated.
6
6
  Zero native code, so it runs in Expo Go.
7
7
 
@@ -181,6 +181,7 @@ you are done. Unstyled text on a white screen means the styles are not reaching
181
181
  | `Checkbox` | Animated checkbox, as a row or a selectable card |
182
182
  | `Chip` | Interactive pill — a filter, a tag, or a removable token |
183
183
  | `CodeBlock` | Syntax-highlighted code with a header and a copy button |
184
+ | `ColorPicker` | A colour chosen by dragging — a saturation square, a hue scale, and opacity |
184
185
  | `Combobox` | A text field that filters a list of options as you type |
185
186
  | `DatePicker` | A calendar behind a button |
186
187
  | `Dialog` | Modal dialog with a backdrop and footer actions |
@@ -225,7 +226,7 @@ you are done. Unstyled text on a white screen means the styles are not reaching
225
226
  | `Shimmer` | Animated highlight sweeping across content |
226
227
  | `Signature` | Sign with a finger, and get the result back out as SVG or PNG |
227
228
  | `Skeleton` | Shimmer placeholder for loading content |
228
- | `Slider` | Pick a value by dragging a thumb along a track |
229
+ | `Slider` | Pick a value, or a span, by dragging a thumb along a track |
229
230
  | `Soundwave` | What a voice looks like while an app listens |
230
231
  | `Sources` | The references behind an answer, behind a disclosure |
231
232
  | `Spinner` | Indeterminate loading indicator |
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  /**
4
- * Card — a content surface, and the layer that decorates it.
4
+ * Card — a content surface.
5
5
  *
6
6
  * ```tsx
7
7
  * <Card>
@@ -18,12 +18,13 @@
18
18
  * All the padding lives on the slots and none of it on the root, which is why
19
19
  * a card whose media reaches its own corners needs nothing but
20
20
  * `overflow-hidden`.
21
+ *
22
+ * Every part is a plain view: the card draws a surface and gets out of the way,
23
+ * and nothing here reaches for an animation driver or a native module. A card
24
+ * that wants a decorative backing layer composes one as its first child.
21
25
  */
22
- import { forwardRef, useEffect, useMemo } from 'react';
23
- import { StyleSheet, View } from 'react-native';
24
- import Animated, { Easing, cancelAnimation, useAnimatedStyle, useReducedMotion, useSharedValue, withRepeat, withTiming } from 'react-native-reanimated';
25
- import { LinearGradient } from 'expo-linear-gradient';
26
- import { useCSSVariable } from 'uniwind';
26
+ import { forwardRef } from 'react';
27
+ import { View } from 'react-native';
27
28
  import { cn } from "../../utils/cn.js";
28
29
  import { Text } from "../../primitives/text.js";
29
30
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -85,158 +86,11 @@ const CardFooter = /*#__PURE__*/forwardRef(({
85
86
  ...props
86
87
  }));
87
88
  CardFooter.displayName = 'Card.Footer';
88
-
89
- /* -------------------------------------------------------------------------- */
90
- /* Card.Wash */
91
- /* -------------------------------------------------------------------------- */
92
-
93
- /**
94
- * How sharply the wash dissolves upward. The exponent is the whole look: at 1
95
- * the colour is already at half strength across the middle of the card and
96
- * reads as a tinted panel, and it takes about a cube before the top is
97
- * genuinely untouched and the colour arrives in the bottom third.
98
- */
99
- const WASH_CURVE = 3;
100
- /**
101
- * Stops the curve is sampled at. Ten is enough that the straight lines the
102
- * renderer draws between them are not a shape anyone can see, and the fade
103
- * stays continuous — stepping it would put a horizontal seam at every step.
104
- */
105
- const WASH_STOPS = 10;
106
- /** How long one breath takes at `speed={1}`. */
107
- const WASH_PERIOD = 4200;
108
- /**
109
- * How far the wash swells and settles over one breath, as a fraction of
110
- * `intensity`. Small on purpose: the movement should be noticed only by not
111
- * being there, and anything larger reads as a light being switched.
112
- */
113
- const WASH_BREATH = 0.22;
114
- function isToken(value) {
115
- return typeof value === 'string' && value.startsWith('--');
116
- }
117
-
118
- /**
119
- * Gradients need a transparent stop of the *same* colour — `transparent` is
120
- * black at zero alpha on Android, which shows as a grey smear.
121
- */
122
- function withAlpha(color, alpha) {
123
- if (color.startsWith('#')) {
124
- const hex = color.slice(1);
125
- const full = hex.length === 3 ? hex.split('').map(c => c + c).join('') : hex.slice(0, 6);
126
- const r = parseInt(full.slice(0, 2), 16);
127
- const g = parseInt(full.slice(2, 4), 16);
128
- const b = parseInt(full.slice(4, 6), 16);
129
- if (Number.isNaN(r + g + b)) return color;
130
- return `rgba(${r}, ${g}, ${b}, ${alpha})`;
131
- }
132
- const channels = color.match(/rgba?\(([^)]+)\)/)?.[1];
133
- if (channels) {
134
- const [r, g, b] = channels.split(',').map(part => part.trim());
135
- return `rgba(${r}, ${g}, ${b}, ${alpha})`;
136
- }
137
- return color;
138
- }
139
- /**
140
- * A decorative layer for the back of a card: the tint rising from its bottom
141
- * edge and fading out before it reaches the top.
142
- *
143
- * It fills its parent absolutely and takes no touches, so it goes first inside
144
- * a `Card` and everything else is drawn over it. The card needs
145
- * `overflow-hidden` — the layer reaches the root's edges, and the root is the
146
- * thing with the corner radius.
147
- *
148
- * ```tsx
149
- * <Card className="overflow-hidden">
150
- * <Card.Wash tint="--color-primary" />
151
- * <Card.Header>…</Card.Header>
152
- * </Card>
153
- * ```
154
- *
155
- * ## Why the rise is a curve and not a fade
156
- *
157
- * On a straight ramp the colour is already at half strength across the middle
158
- * of the card, and what you see is a panel with a tint on it. On a curve there
159
- * is nothing at all across the top two thirds and then the colour arrives —
160
- * which is the difference between a card that has been coloured in and a card
161
- * something is rising into.
162
- */
163
- const CardWash = /*#__PURE__*/forwardRef(({
164
- className,
165
- tint = '--color-primary',
166
- intensity = 0.16,
167
- speed = 1,
168
- style,
169
- ...props
170
- }, ref) => {
171
- const token = useCSSVariable(isToken(tint) ? tint : '--color-primary');
172
- const resolved = typeof token === 'string' ? token : undefined;
173
- const color = (isToken(tint) ? resolved : tint) ?? resolved ?? '#0a0a0a';
174
- const reduced = useReducedMotion();
175
- const still = reduced || speed <= 0;
176
- const breath = useSharedValue(0);
177
- useEffect(() => {
178
- if (still) {
179
- breath.value = 0;
180
- return;
181
- }
182
- breath.value = 0;
183
- breath.value = withRepeat(withTiming(1, {
184
- duration: WASH_PERIOD / speed,
185
- easing: Easing.inOut(Easing.ease)
186
- }), -1, true);
187
- return () => cancelAnimation(breath);
188
- }, [breath, speed, still]);
189
-
190
- /*
191
- * The breath is the layer's opacity rather than its colours: rebuilding
192
- * ten `rgba()` strings per frame would be a JavaScript-thread animation of
193
- * the kind this library does not do, and a view's opacity is a property
194
- * the compositor already knows how to move.
195
- */
196
- const breathing = useAnimatedStyle(() => ({
197
- opacity: 1 - WASH_BREATH + breath.value * WASH_BREATH
198
- }));
199
- const {
200
- colors,
201
- locations
202
- } = useMemo(() => {
203
- const out = [];
204
- const at = [];
205
- for (let i = 0; i < WASH_STOPS; i += 1) {
206
- const t = i / (WASH_STOPS - 1);
207
- out.push(withAlpha(color, Math.pow(t, WASH_CURVE) * intensity));
208
- at.push(t);
209
- }
210
- return {
211
- colors: out,
212
- locations: at
213
- };
214
- }, [color, intensity]);
215
- return /*#__PURE__*/_jsx(Animated.View, {
216
- ref: ref
217
- // Decorative and non-interactive: it is the back of the card, and a
218
- // screen reader announcing "image" over every card would be noise.
219
- ,
220
- pointerEvents: "none",
221
- accessibilityElementsHidden: true,
222
- importantForAccessibility: "no-hide-descendants",
223
- className: cn('absolute inset-0 overflow-hidden', className),
224
- style: [still ? undefined : breathing, style],
225
- ...props,
226
- children: /*#__PURE__*/_jsx(LinearGradient, {
227
- colors: colors,
228
- locations: locations,
229
- style: StyleSheet.absoluteFill
230
- })
231
- });
232
- });
233
- CardWash.displayName = 'Card.Wash';
234
89
  export const Card = Object.assign(CardRoot, {
235
90
  Header: CardHeader,
236
91
  Title: CardTitle,
237
92
  Description: CardDescription,
238
93
  Content: CardContent,
239
- Footer: CardFooter,
240
- Wash: CardWash
94
+ Footer: CardFooter
241
95
  });
242
96
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["forwardRef","useEffect","useMemo","StyleSheet","View","Animated","Easing","cancelAnimation","useAnimatedStyle","useReducedMotion","useSharedValue","withRepeat","withTiming","LinearGradient","useCSSVariable","cn","Text","jsx","_jsx","CardRoot","className","props","ref","displayName","CardHeader","CardTitle","size","weight","CardDescription","muted","CardContent","CardFooter","WASH_CURVE","WASH_STOPS","WASH_PERIOD","WASH_BREATH","isToken","value","startsWith","withAlpha","color","alpha","hex","slice","full","length","split","map","c","join","r","parseInt","g","b","Number","isNaN","channels","match","part","trim","CardWash","tint","intensity","speed","style","token","resolved","undefined","reduced","still","breath","duration","easing","inOut","ease","breathing","opacity","colors","locations","out","at","i","t","push","Math","pow","pointerEvents","accessibilityElementsHidden","importantForAccessibility","children","absoluteFill","Card","Object","assign","Header","Title","Description","Content","Footer","Wash"],"sourceRoot":"../../../../src","sources":["components/card/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,UAAU,EAAEC,SAAS,EAAEC,OAAO,QAAQ,OAAO;AACtD,SAASC,UAAU,EAAEC,IAAI,QAAwB,cAAc;AAC/D,OAAOC,QAAQ,IACbC,MAAM,EACNC,eAAe,EACfC,gBAAgB,EAChBC,gBAAgB,EAChBC,cAAc,EACdC,UAAU,EACVC,UAAU,QACL,yBAAyB;AAChC,SAASC,cAAc,QAAQ,sBAAsB;AACrD,SAASC,cAAc,QAAQ,SAAS;AACxC,SAASC,EAAE,QAAQ,mBAAgB;AACnC,SAASC,IAAI,QAAwB,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAM7D,MAAMC,QAAQ,gBAAGnB,UAAU,CAAkB,CAAC;EAAEoB,SAAS;EAAE,GAAGC;AAAM,CAAC,EAAEC,GAAG,kBACxEJ,IAAA,CAACd,IAAI;EACHkB,GAAG,EAAEA,GAAI;EACTF,SAAS,EAAEL,EAAE,CAAC,oDAAoD,EAAEK,SAAS,CAAE;EAAA,GAC3EC;AAAK,CACV,CACF,CAAC;AACFF,QAAQ,CAACI,WAAW,GAAG,MAAM;AAE7B,MAAMC,UAAU,gBAAGxB,UAAU,CAAkB,CAAC;EAAEoB,SAAS;EAAE,GAAGC;AAAM,CAAC,EAAEC,GAAG,kBAC1EJ,IAAA,CAACd,IAAI;EAACkB,GAAG,EAAEA,GAAI;EAACF,SAAS,EAAEL,EAAE,CAAC,aAAa,EAAEK,SAAS,CAAE;EAAA,GAAKC;AAAK,CAAG,CACtE,CAAC;AACFG,UAAU,CAACD,WAAW,GAAG,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ACE5C,IAAA,CAACb,QAAQ,CAACD,IAAI;IACZkB,GAAG,EAAEA;IACL;IACA;IAAA;IACAgE,aAAa,EAAC,MAAM;IACpBC,2BAA2B;IAC3BC,yBAAyB,EAAC,qBAAqB;IAC/CpE,SAAS,EAAEL,EAAE,CAAC,kCAAkC,EAAEK,SAAS,CAAE;IAC7D4C,KAAK,EAAE,CAACK,KAAK,GAAGF,SAAS,GAAGQ,SAAS,EAAEX,KAAK,CAAE;IAAA,GAC1C3C,KAAK;IAAAoE,QAAA,eAOTvE,IAAA,CAACL,cAAc;MACbgE,MAAM,EAAEA,MAAO;MACfC,SAAS,EAAEA,SAAU;MACrBd,KAAK,EAAE7D,UAAU,CAACuF;IAAa,CAChC;EAAC,CACW,CAAC;AAEpB,CACF,CAAC;AACD9B,QAAQ,CAACrC,WAAW,GAAG,WAAW;AAElC,OAAO,MAAMoE,IAAI,GAAGC,MAAM,CAACC,MAAM,CAAC1E,QAAQ,EAAE;EAC1C2E,MAAM,EAAEtE,UAAU;EAClBuE,KAAK,EAAEtE,SAAS;EAChBuE,WAAW,EAAEpE,eAAe;EAC5BqE,OAAO,EAAEnE,WAAW;EACpBoE,MAAM,EAAEnE,UAAU;EAClBoE,IAAI,EAAEvC;AACR,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["forwardRef","View","cn","Text","jsx","_jsx","CardRoot","className","props","ref","displayName","CardHeader","CardTitle","size","weight","CardDescription","muted","CardContent","CardFooter","Card","Object","assign","Header","Title","Description","Content","Footer"],"sourceRoot":"../../../../src","sources":["components/card/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,IAAI,QAAwB,cAAc;AACnD,SAASC,EAAE,QAAQ,mBAAgB;AACnC,SAASC,IAAI,QAAwB,0BAAuB;AAAC,SAA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