@oxyhq/bloom 1.0.6 → 1.1.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 (83) hide show
  1. package/docs/level-picker.mdx +105 -0
  2. package/docs/slider.mdx +3 -1
  3. package/lib/commonjs/floating/index.js.map +1 -1
  4. package/lib/commonjs/index.js +8 -0
  5. package/lib/commonjs/index.js.map +1 -1
  6. package/lib/commonjs/index.web.js +33 -25
  7. package/lib/commonjs/index.web.js.map +1 -1
  8. package/lib/commonjs/level-picker/LevelPicker.js +349 -0
  9. package/lib/commonjs/level-picker/LevelPicker.js.map +1 -0
  10. package/lib/commonjs/level-picker/LevelPicker.web.js +346 -0
  11. package/lib/commonjs/level-picker/LevelPicker.web.js.map +1 -0
  12. package/lib/commonjs/level-picker/constants.js +137 -0
  13. package/lib/commonjs/level-picker/constants.js.map +1 -0
  14. package/lib/commonjs/level-picker/index.js +13 -0
  15. package/lib/commonjs/level-picker/index.js.map +1 -0
  16. package/lib/commonjs/level-picker/index.web.js +13 -0
  17. package/lib/commonjs/level-picker/index.web.js.map +1 -0
  18. package/lib/commonjs/level-picker/types.js +6 -0
  19. package/lib/commonjs/level-picker/types.js.map +1 -0
  20. package/lib/module/floating/index.js +5 -0
  21. package/lib/module/floating/index.js.map +1 -1
  22. package/lib/module/index.js +1 -0
  23. package/lib/module/index.js.map +1 -1
  24. package/lib/module/index.web.js +1 -0
  25. package/lib/module/index.web.js.map +1 -1
  26. package/lib/module/level-picker/LevelPicker.js +343 -0
  27. package/lib/module/level-picker/LevelPicker.js.map +1 -0
  28. package/lib/module/level-picker/LevelPicker.web.js +340 -0
  29. package/lib/module/level-picker/LevelPicker.web.js.map +1 -0
  30. package/lib/module/level-picker/constants.js +131 -0
  31. package/lib/module/level-picker/constants.js.map +1 -0
  32. package/lib/module/level-picker/index.js +4 -0
  33. package/lib/module/level-picker/index.js.map +1 -0
  34. package/lib/module/level-picker/index.web.js +4 -0
  35. package/lib/module/level-picker/index.web.js.map +1 -0
  36. package/lib/module/level-picker/types.js +4 -0
  37. package/lib/module/level-picker/types.js.map +1 -0
  38. package/lib/typescript/commonjs/floating/index.d.ts +5 -0
  39. package/lib/typescript/commonjs/floating/index.d.ts.map +1 -1
  40. package/lib/typescript/commonjs/index.d.ts +2 -0
  41. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  42. package/lib/typescript/commonjs/index.web.d.ts +2 -0
  43. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  44. package/lib/typescript/commonjs/level-picker/LevelPicker.d.ts +6 -0
  45. package/lib/typescript/commonjs/level-picker/LevelPicker.d.ts.map +1 -0
  46. package/lib/typescript/commonjs/level-picker/LevelPicker.web.d.ts +6 -0
  47. package/lib/typescript/commonjs/level-picker/LevelPicker.web.d.ts.map +1 -0
  48. package/lib/typescript/commonjs/level-picker/constants.d.ts +93 -0
  49. package/lib/typescript/commonjs/level-picker/constants.d.ts.map +1 -0
  50. package/lib/typescript/commonjs/level-picker/index.d.ts +3 -0
  51. package/lib/typescript/commonjs/level-picker/index.d.ts.map +1 -0
  52. package/lib/typescript/commonjs/level-picker/index.web.d.ts +3 -0
  53. package/lib/typescript/commonjs/level-picker/index.web.d.ts.map +1 -0
  54. package/lib/typescript/commonjs/level-picker/types.d.ts +63 -0
  55. package/lib/typescript/commonjs/level-picker/types.d.ts.map +1 -0
  56. package/lib/typescript/module/floating/index.d.ts +5 -0
  57. package/lib/typescript/module/floating/index.d.ts.map +1 -1
  58. package/lib/typescript/module/index.d.ts +2 -0
  59. package/lib/typescript/module/index.d.ts.map +1 -1
  60. package/lib/typescript/module/index.web.d.ts +2 -0
  61. package/lib/typescript/module/index.web.d.ts.map +1 -1
  62. package/lib/typescript/module/level-picker/LevelPicker.d.ts +6 -0
  63. package/lib/typescript/module/level-picker/LevelPicker.d.ts.map +1 -0
  64. package/lib/typescript/module/level-picker/LevelPicker.web.d.ts +6 -0
  65. package/lib/typescript/module/level-picker/LevelPicker.web.d.ts.map +1 -0
  66. package/lib/typescript/module/level-picker/constants.d.ts +93 -0
  67. package/lib/typescript/module/level-picker/constants.d.ts.map +1 -0
  68. package/lib/typescript/module/level-picker/index.d.ts +3 -0
  69. package/lib/typescript/module/level-picker/index.d.ts.map +1 -0
  70. package/lib/typescript/module/level-picker/index.web.d.ts +3 -0
  71. package/lib/typescript/module/level-picker/index.web.d.ts.map +1 -0
  72. package/lib/typescript/module/level-picker/types.d.ts +63 -0
  73. package/lib/typescript/module/level-picker/types.d.ts.map +1 -0
  74. package/package.json +20 -1
  75. package/src/floating/index.ts +5 -0
  76. package/src/index.ts +2 -0
  77. package/src/index.web.ts +2 -0
  78. package/src/level-picker/LevelPicker.tsx +365 -0
  79. package/src/level-picker/LevelPicker.web.tsx +374 -0
  80. package/src/level-picker/constants.ts +131 -0
  81. package/src/level-picker/index.ts +2 -0
  82. package/src/level-picker/index.web.ts +2 -0
  83. package/src/level-picker/types.ts +63 -0
@@ -0,0 +1,6 @@
1
+ import type { LevelPickerProps } from './types';
2
+ export declare function LevelPicker({ levels, value, onValueChange, accessibilityLabel, minLabel, maxLabel, detailsLabel, expanded, defaultExpanded, onExpandedChange, children, className, style, testID, }: LevelPickerProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare namespace LevelPicker {
4
+ var displayName: string;
5
+ }
6
+ //# sourceMappingURL=LevelPicker.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LevelPicker.web.d.ts","sourceRoot":"","sources":["../../../../src/level-picker/LevelPicker.web.tsx"],"names":[],"mappings":"AAiDA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAqBhD,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,KAAK,EACL,aAAa,EACb,kBAAkB,EAClB,QAAQ,EACR,QAAQ,EACR,YAAwB,EACxB,QAAQ,EACR,eAAuB,EACvB,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,KAAK,EACL,MAAM,GACP,EAAE,gBAAgB,2CA8RlB;yBA7Se,WAAW"}
@@ -0,0 +1,93 @@
1
+ /**
2
+ * The level picker's SPEC: the geometry both forks lay out from, the colour
3
+ * roles as Tailwind classes, and the two functions that map a stop to a
4
+ * position and a pointer back to a stop.
5
+ *
6
+ * ── WHY GEOMETRY IS NUMBERS HERE AND COLOUR IS CLASSES ───────────────────────
7
+ *
8
+ * `floating/constants.ts` states the menu vocabulary as class strings, so a
9
+ * consumer can restyle a row with a utility. That reasoning applies to the
10
+ * parts a consumer addresses — and none of these are: the rail, its stops and
11
+ * its knob are one control's internals, and the caller's `className` lands on
12
+ * the picker's ROOT.
13
+ *
14
+ * What it buys instead is the property that matters most for a two-fork
15
+ * component: the web fork positions a stop with `calc()` and the native fork
16
+ * with a measured pixel offset, and BOTH read the numbers below and call
17
+ * {@link levelStopPosition}. Two forks that agreed only by having the same
18
+ * literals typed into them is exactly the drift `MENU_SUB_SIDE_OFFSET` and
19
+ * `SUB_TRIGGER_CLASS` exist to prevent one level up.
20
+ *
21
+ * Colour stays in classes, because that is what the surrounding menu rows are
22
+ * painted with and because a token is never derived from — `bg-muted-foreground/25`
23
+ * is the opacity UTILITY (`color-mix`, resolved by the build), never an alpha
24
+ * appended to a resolved `rgb(...)`, which parses back opaque.
25
+ */
26
+ /** The rail: a 24px pill, tall enough to read as a track rather than a line. */
27
+ export declare const LEVEL_TRACK_HEIGHT = 24;
28
+ /**
29
+ * The knob, LARGER than the rail on purpose (30 against 24), so it reads as a
30
+ * control riding the track rather than a dot inside it. It therefore overhangs
31
+ * the rail by 3px top and bottom, and by 2px past each end once
32
+ * {@link LEVEL_STOP_INSET} is applied — which is why nothing between the rail
33
+ * and the picker's root may clip.
34
+ */
35
+ export declare const LEVEL_THUMB_SIZE = 30;
36
+ /** A stop: a 4px dot, drawn under the knob. */
37
+ export declare const LEVEL_STOP_SIZE = 4;
38
+ /**
39
+ * How far the FIRST and LAST stop sit in from the rail's ends.
40
+ *
41
+ * Not a cosmetic margin: it is what stops the knob from hanging half off the
42
+ * rail at either extreme, so it is also the value {@link levelFromOffset} has
43
+ * to subtract before it can read a fraction — a hit map that ignores it snaps
44
+ * to the wrong stop for the first and last {@link LEVEL_STOP_INSET} pixels,
45
+ * which is precisely where a user aiming for "least" or "most" clicks.
46
+ */
47
+ export declare const LEVEL_STOP_INSET = 13;
48
+ /** The row the rail sits in — one Bloom row taller than the rail itself. */
49
+ export declare const LEVEL_SLIDER_ROW_HEIGHT = 40;
50
+ /**
51
+ * The horizontal inset of everything in the picker that is not a menu row,
52
+ * matching `floating/constants`' `ROW_CLASS` (`px-space-8`) so the rail and the
53
+ * end captions line up with the rows above and below them.
54
+ */
55
+ export declare const LEVEL_ROW_INSET = 8;
56
+ /** The unfilled rail. */
57
+ export declare const LEVEL_TRACK_CLASS = "relative rounded-full bg-muted-foreground/25";
58
+ /** The filled part, which ends under the knob rather than at the rail's end. */
59
+ export declare const LEVEL_FILL_CLASS = "absolute left-0 rounded-full bg-primary";
60
+ /** A stop the level has NOT reached: a dot on the bare rail. */
61
+ export declare const LEVEL_STOP_CLASS = "absolute rounded-full bg-muted-foreground/65";
62
+ /** A stop the level HAS reached: the same dot, on the fill, in its on-colour. */
63
+ export declare const LEVEL_STOP_REACHED_CLASS = "absolute rounded-full bg-primary-foreground/35";
64
+ /** The knob. `shadow-s` is Bloom's control-raise role, the same one `Slider` takes. */
65
+ export declare const LEVEL_THUMB_CLASS = "absolute rounded-full bg-background shadow-s";
66
+ /** The two end captions, one de-emphasis step back, as a menu shortcut is. */
67
+ export declare const LEVEL_CAPTION_CLASS = "text-xs text-muted-foreground";
68
+ /** The hairline between the summary row and the details region. */
69
+ export declare const LEVEL_SEPARATOR_CLASS = "h-px bg-border";
70
+ /**
71
+ * Where a stop sits along the rail, as a PERCENTAGE of the rail plus a pixel
72
+ * OFFSET — the one form both forks can render from.
73
+ *
74
+ * The web fork spells it `calc(P% + Opx)` and never measures; the native fork
75
+ * multiplies the percentage by a laid-out width. Returning the pair rather than
76
+ * a finished value is what lets one formula serve both: a shared function that
77
+ * returned pixels would force the web fork to measure, and one that returned a
78
+ * CSS string would be unusable on native.
79
+ */
80
+ export declare function levelStopPosition(index: number, count: number): {
81
+ percent: number;
82
+ offset: number;
83
+ };
84
+ /**
85
+ * Which stop a pointer at `offsetX` from the rail's left edge is asking for.
86
+ *
87
+ * The inverse of {@link levelStopPosition}, and it undoes the inset for the
88
+ * reason spelled out there. `trackWidth` is the rail's own width — the caller
89
+ * measures it (`getBoundingClientRect().width` on web, `onLayout` on native),
90
+ * so this stays pure and testable.
91
+ */
92
+ export declare function levelFromOffset(offsetX: number, trackWidth: number, count: number): number;
93
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/level-picker/constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAMH,gFAAgF;AAChF,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAErC;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,+CAA+C;AAC/C,eAAO,MAAM,eAAe,IAAI,CAAC;AAEjC;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAE1C;;;;GAIG;AACH,eAAO,MAAM,eAAe,IAAI,CAAC;AAMjC,yBAAyB;AACzB,eAAO,MAAM,iBAAiB,iDAAiD,CAAC;AAEhF,gFAAgF;AAChF,eAAO,MAAM,gBAAgB,4CAA4C,CAAC;AAE1E,gEAAgE;AAChE,eAAO,MAAM,gBAAgB,iDAAiD,CAAC;AAE/E,iFAAiF;AACjF,eAAO,MAAM,wBAAwB,mDAAmD,CAAC;AAEzF,uFAAuF;AACvF,eAAO,MAAM,iBAAiB,iDAAiD,CAAC;AAEhF,8EAA8E;AAC9E,eAAO,MAAM,mBAAmB,kCAAkC,CAAC;AAEnE,mEAAmE;AACnE,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AAMtD;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GACZ;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAMrC;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAM1F"}
@@ -0,0 +1,3 @@
1
+ export { LevelPicker } from './LevelPicker';
2
+ export type { LevelPickerProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/level-picker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { LevelPicker } from './LevelPicker.web';
2
+ export type { LevelPickerProps } from './types';
3
+ //# sourceMappingURL=index.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/level-picker/index.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,63 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { StyleProp, ViewStyle } from 'react-native';
3
+ export interface LevelPickerProps {
4
+ /**
5
+ * The levels, in order, low to high. Its LENGTH is the number of stops and
6
+ * each entry is that stop's own name — read out as the slider's value
7
+ * (`aria-valuetext`), so it is what a screen reader says instead of an index.
8
+ *
9
+ * Two levels is the floor at which the control means anything; one renders a
10
+ * rail with a single stop and no travel.
11
+ */
12
+ levels: readonly string[];
13
+ /** The selected level, as an index into {@link levels}. Controlled. */
14
+ value: number;
15
+ /** Fired with the new index as the user drags, clicks or steps the rail. */
16
+ onValueChange: (value: number) => void;
17
+ /**
18
+ * The slider's accessible NAME — WHAT the level applies to.
19
+ *
20
+ * Required, not optional. A rail with a knob renders no text of its own, so
21
+ * ARIA can compute no name from its contents and there is nothing for the
22
+ * value to be announced against: without this the control says "slider, High"
23
+ * and never what is High. The end captions and the summary row beside it are
24
+ * SIBLINGS, not labels.
25
+ */
26
+ accessibilityLabel: string;
27
+ /**
28
+ * Captions for the two ends of the rail, shown while the slider is active
29
+ * (hovered, focused or being dragged) and faded out otherwise, in the place
30
+ * the summary row occupies.
31
+ *
32
+ * Both are optional and independent of {@link levels}: they name the
33
+ * DIRECTION of the scale ("Cheaper"/"Sharper"), which is a different claim
34
+ * from what any one stop is called, and a picker whose levels speak for
35
+ * themselves can leave them off entirely.
36
+ */
37
+ minLabel?: string;
38
+ maxLabel?: string;
39
+ /**
40
+ * The summary row's label — the disclosure that reveals {@link children}.
41
+ * Defaults to `Details`, matching the `<details>`/`<summary>` vocabulary this
42
+ * is the same shape as.
43
+ */
44
+ detailsLabel?: string;
45
+ /** Whether the details region is showing. Controlled. */
46
+ expanded?: boolean;
47
+ /** Its initial state when uncontrolled. Defaults to `false`. */
48
+ defaultExpanded?: boolean;
49
+ onExpandedChange?: (expanded: boolean) => void;
50
+ /**
51
+ * The details region's contents — the rows the summary row reveals.
52
+ *
53
+ * Ordinary menu rows: `DropdownMenuSub` triggers, `DropdownMenuItem`s,
54
+ * anything the surrounding surface publishes. The picker owns the reveal, the
55
+ * spacing and the hairline above them, and nothing about what they are.
56
+ */
57
+ children?: ReactNode;
58
+ /** Appended to the root's own classes, never substituted for them. */
59
+ className?: string;
60
+ style?: StyleProp<ViewStyle>;
61
+ testID?: string;
62
+ }
63
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/level-picker/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,gBAAgB;IAC/B;;;;;;;OAOG;IACH,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,uEAAuE;IACvE,KAAK,EAAE,MAAM,CAAC;IACd,4EAA4E;IAC5E,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;;;;;;;OAQG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gEAAgE;IAChE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -3,6 +3,11 @@
3
3
  * `select` sit on: one trigger slot, one panel, one row vocabulary, one anchor
4
4
  * measurement, instead of five copies.
5
5
  *
6
+ * `level-picker` is the sixth, and it takes only the ROW half — `MenuRowShell`
7
+ * and the chevron slot for its disclosure row, plus the motion constants — so
8
+ * the row that reveals a menu's details region cannot disagree with the rows it
9
+ * reveals about an inset, a highlight or a height.
10
+ *
6
11
  * INTERNAL. This barrel is the family's surface to the five families INSIDE
7
12
  * Bloom that build on it — it is deliberately absent from `package.json#exports`
8
13
  * and from `src/index.ts`, and `family-layout.test.ts` records that in
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/floating/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,UAAU,GACX,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,uBAAuB,EACvB,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAK7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,mBAAmB,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/floating/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,UAAU,GACX,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,uBAAuB,EACvB,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAK7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,mBAAmB,SAAS,CAAC"}
@@ -77,6 +77,8 @@ export { InputGroup, InputGroupAddon } from './input-group';
77
77
  export type { InputGroupProps, InputGroupAddonProps } from './input-group';
78
78
  export { Slider } from './slider';
79
79
  export type { SliderProps } from './slider';
80
+ export { LevelPicker } from './level-picker';
81
+ export type { LevelPickerProps } from './level-picker';
80
82
  export { Combobox } from './combobox';
81
83
  export type { ComboboxProps, ComboboxOption } from './combobox';
82
84
  export { BottomSheet } from './bottom-sheet';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AA+BA,cAAc,SAAS,CAAC;AAGxB,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnD,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAKhF,OAAO,EACL,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,UA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E,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG3D,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAG/B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC"}
@@ -77,6 +77,8 @@ export { InputGroup, InputGroupAddon } from './input-group';
77
77
  export type { InputGroupProps, InputGroupAddonProps } from './input-group';
78
78
  export { Slider } from './slider';
79
79
  export type { SliderProps } from './slider';
80
+ export { LevelPicker } from './level-picker/index.web';
81
+ export type { LevelPickerProps } from './level-picker/index.web';
80
82
  export { Combobox } from './combobox/index.web';
81
83
  export type { ComboboxProps, ComboboxOption } from './combobox/index.web';
82
84
  export { BottomSheet } from './bottom-sheet/index.web';
@@ -1 +1 @@
1
- {"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/index.web.ts"],"names":[],"mappings":"AAoCA,cAAc,mBAAmB,CAAC;AAGlC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnD,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAKhF,OAAO,EACL,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,MAAM,EACN,YAAY,EACZ,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,cAAc,EACd,yBAAyB,EACzB,QAAQ,EACR,QAAQ,EACR,cAAc,EACd,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,UAAU,GACX,MAAM,iBAAiB,CAAC;AAO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evelPickerProps } from './types';
2
+ export declare function LevelPicker({ levels, value, onValueChange, accessibilityLabel, minLabel, maxLabel, detailsLabel, expanded, defaultExpanded, onExpandedChange, children, className, style, testID, }: LevelPickerProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare namespace LevelPicker {
4
+ var displayName: string;
5
+ }
6
+ //# sourceMappingURL=LevelPicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LevelPicker.d.ts","sourceRoot":"","sources":["../../../../src/level-picker/LevelPicker.tsx"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAsChD,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,KAAK,EACL,aAAa,EACb,kBAAkB,EAClB,QAAQ,EACR,QAAQ,EACR,YAAwB,EACxB,QAAQ,EACR,eAAuB,EACvB,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,KAAK,EACL,MAAM,GACP,EAAE,gBAAgB,2CA4PlB;yBA3Qe,WAAW"}
@@ -0,0 +1,6 @@
1
+ import type { LevelPickerProps } from './types';
2
+ export declare function LevelPicker({ levels, value, onValueChange, accessibilityLabel, minLabel, maxLabel, detailsLabel, expanded, defaultExpanded, onExpandedChange, children, className, style, testID, }: LevelPickerProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare namespace LevelPicker {
4
+ var displayName: string;
5
+ }
6
+ //# sourceMappingURL=LevelPicker.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LevelPicker.web.d.ts","sourceRoot":"","sources":["../../../../src/level-picker/LevelPicker.web.tsx"],"names":[],"mappings":"AAiDA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAqBhD,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,KAAK,EACL,aAAa,EACb,kBAAkB,EAClB,QAAQ,EACR,QAAQ,EACR,YAAwB,EACxB,QAAQ,EACR,eAAuB,EACvB,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,KAAK,EACL,MAAM,GACP,EAAE,gBAAgB,2CA8RlB;yBA7Se,WAAW"}
@@ -0,0 +1,93 @@
1
+ /**
2
+ * The level picker's SPEC: the geometry both forks lay out from, the colour
3
+ * roles as Tailwind classes, and the two functions that map a stop to a
4
+ * position and a pointer back to a stop.
5
+ *
6
+ * ── WHY GEOMETRY IS NUMBERS HERE AND COLOUR IS CLASSES ───────────────────────
7
+ *
8
+ * `floating/constants.ts` states the menu vocabulary as class strings, so a
9
+ * consumer can restyle a row with a utility. That reasoning applies to the
10
+ * parts a consumer addresses — and none of these are: the rail, its stops and
11
+ * its knob are one control's internals, and the caller's `className` lands on
12
+ * the picker's ROOT.
13
+ *
14
+ * What it buys instead is the property that matters most for a two-fork
15
+ * component: the web fork positions a stop with `calc()` and the native fork
16
+ * with a measured pixel offset, and BOTH read the numbers below and call
17
+ * {@link levelStopPosition}. Two forks that agreed only by having the same
18
+ * literals typed into them is exactly the drift `MENU_SUB_SIDE_OFFSET` and
19
+ * `SUB_TRIGGER_CLASS` exist to prevent one level up.
20
+ *
21
+ * Colour stays in classes, because that is what the surrounding menu rows are
22
+ * painted with and because a token is never derived from — `bg-muted-foreground/25`
23
+ * is the opacity UTILITY (`color-mix`, resolved by the build), never an alpha
24
+ * appended to a resolved `rgb(...)`, which parses back opaque.
25
+ */
26
+ /** The rail: a 24px pill, tall enough to read as a track rather than a line. */
27
+ export declare const LEVEL_TRACK_HEIGHT = 24;
28
+ /**
29
+ * The knob, LARGER than the rail on purpose (30 against 24), so it reads as a
30
+ * control riding the track rather than a dot inside it. It therefore overhangs
31
+ * the rail by 3px top and bottom, and by 2px past each end once
32
+ * {@link LEVEL_STOP_INSET} is applied — which is why nothing between the rail
33
+ * and the picker's root may clip.
34
+ */
35
+ export declare const LEVEL_THUMB_SIZE = 30;
36
+ /** A stop: a 4px dot, drawn under the knob. */
37
+ export declare const LEVEL_STOP_SIZE = 4;
38
+ /**
39
+ * How far the FIRST and LAST stop sit in from the rail's ends.
40
+ *
41
+ * Not a cosmetic margin: it is what stops the knob from hanging half off the
42
+ * rail at either extreme, so it is also the value {@link levelFromOffset} has
43
+ * to subtract before it can read a fraction — a hit map that ignores it snaps
44
+ * to the wrong stop for the first and last {@link LEVEL_STOP_INSET} pixels,
45
+ * which is precisely where a user aiming for "least" or "most" clicks.
46
+ */
47
+ export declare const LEVEL_STOP_INSET = 13;
48
+ /** The row the rail sits in — one Bloom row taller than the rail itself. */
49
+ export declare const LEVEL_SLIDER_ROW_HEIGHT = 40;
50
+ /**
51
+ * The horizontal inset of everything in the picker that is not a menu row,
52
+ * matching `floating/constants`' `ROW_CLASS` (`px-space-8`) so the rail and the
53
+ * end captions line up with the rows above and below them.
54
+ */
55
+ export declare const LEVEL_ROW_INSET = 8;
56
+ /** The unfilled rail. */
57
+ export declare const LEVEL_TRACK_CLASS = "relative rounded-full bg-muted-foreground/25";
58
+ /** The filled part, which ends under the knob rather than at the rail's end. */
59
+ export declare const LEVEL_FILL_CLASS = "absolute left-0 rounded-full bg-primary";
60
+ /** A stop the level has NOT reached: a dot on the bare rail. */
61
+ export declare const LEVEL_STOP_CLASS = "absolute rounded-full bg-muted-foreground/65";
62
+ /** A stop the level HAS reached: the same dot, on the fill, in its on-colour. */
63
+ export declare const LEVEL_STOP_REACHED_CLASS = "absolute rounded-full bg-primary-foreground/35";
64
+ /** The knob. `shadow-s` is Bloom's control-raise role, the same one `Slider` takes. */
65
+ export declare const LEVEL_THUMB_CLASS = "absolute rounded-full bg-background shadow-s";
66
+ /** The two end captions, one de-emphasis step back, as a menu shortcut is. */
67
+ export declare const LEVEL_CAPTION_CLASS = "text-xs text-muted-foreground";
68
+ /** The hairline between the summary row and the details region. */
69
+ export declare const LEVEL_SEPARATOR_CLASS = "h-px bg-border";
70
+ /**
71
+ * Where a stop sits along the rail, as a PERCENTAGE of the rail plus a pixel
72
+ * OFFSET — the one form both forks can render from.
73
+ *
74
+ * The web fork spells it `calc(P% + Opx)` and never measures; the native fork
75
+ * multiplies the percentage by a laid-out width. Returning the pair rather than
76
+ * a finished value is what lets one formula serve both: a shared function that
77
+ * returned pixels would force the web fork to measure, and one that returned a
78
+ * CSS string would be unusable on native.
79
+ */
80
+ export declare function levelStopPosition(index: number, count: number): {
81
+ percent: number;
82
+ offset: number;
83
+ };
84
+ /**
85
+ * Which stop a pointer at `offsetX` from the rail's left edge is asking for.
86
+ *
87
+ * The inverse of {@link levelStopPosition}, and it undoes the inset for the
88
+ * reason spelled out there. `trackWidth` is the rail's own width — the caller
89
+ * measures it (`getBoundingClientRect().width` on web, `onLayout` on native),
90
+ * so this stays pure and testable.
91
+ */
92
+ export declare function levelFromOffset(offsetX: number, trackWidth: number, count: number): number;
93
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/level-picker/constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAMH,gFAAgF;AAChF,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAErC;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,+CAA+C;AAC/C,eAAO,MAAM,eAAe,IAAI,CAAC;AAEjC;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAE1C;;;;GAIG;AACH,eAAO,MAAM,eAAe,IAAI,CAAC;AAMjC,yBAAyB;AACzB,eAAO,MAAM,iBAAiB,iDAAiD,CAAC;AAEhF,gFAAgF;AAChF,eAAO,MAAM,gBAAgB,4CAA4C,CAAC;AAE1E,gEAAgE;AAChE,eAAO,MAAM,gBAAgB,iDAAiD,CAAC;AAE/E,iFAAiF;AACjF,eAAO,MAAM,wBAAwB,mDAAmD,CAAC;AAEzF,uFAAuF;AACvF,eAAO,MAAM,iBAAiB,iDAAiD,CAAC;AAEhF,8EAA8E;AAC9E,eAAO,MAAM,mBAAmB,kCAAkC,CAAC;AAEnE,mEAAmE;AACnE,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AAMtD;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GACZ;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAMrC;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAM1F"}
@@ -0,0 +1,3 @@
1
+ export { LevelPicker } from './LevelPicker';
2
+ export type { LevelPickerProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/level-picker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { LevelPicker } from './LevelPicker.web';
2
+ export type { LevelPickerProps } from './types';
3
+ //# sourceMappingURL=index.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/level-picker/index.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,63 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { StyleProp, ViewStyle } from 'react-native';
3
+ export interface LevelPickerProps {
4
+ /**
5
+ * The levels, in order, low to high. Its LENGTH is the number of stops and
6
+ * each entry is that stop's own name — read out as the slider's value
7
+ * (`aria-valuetext`), so it is what a screen reader says instead of an index.
8
+ *
9
+ * Two levels is the floor at which the control means anything; one renders a
10
+ * rail with a single stop and no travel.
11
+ */
12
+ levels: readonly string[];
13
+ /** The selected level, as an index into {@link levels}. Controlled. */
14
+ value: number;
15
+ /** Fired with the new index as the user drags, clicks or steps the rail. */
16
+ onValueChange: (value: number) => void;
17
+ /**
18
+ * The slider's accessible NAME — WHAT the level applies to.
19
+ *
20
+ * Required, not optional. A rail with a knob renders no text of its own, so
21
+ * ARIA can compute no name from its contents and there is nothing for the
22
+ * value to be announced against: without this the control says "slider, High"
23
+ * and never what is High. The end captions and the summary row beside it are
24
+ * SIBLINGS, not labels.
25
+ */
26
+ accessibilityLabel: string;
27
+ /**
28
+ * Captions for the two ends of the rail, shown while the slider is active
29
+ * (hovered, focused or being dragged) and faded out otherwise, in the place
30
+ * the summary row occupies.
31
+ *
32
+ * Both are optional and independent of {@link levels}: they name the
33
+ * DIRECTION of the scale ("Cheaper"/"Sharper"), which is a different claim
34
+ * from what any one stop is called, and a picker whose levels speak for
35
+ * themselves can leave them off entirely.
36
+ */
37
+ minLabel?: string;
38
+ maxLabel?: string;
39
+ /**
40
+ * The summary row's label — the disclosure that reveals {@link children}.
41
+ * Defaults to `Details`, matching the `<details>`/`<summary>` vocabulary this
42
+ * is the same shape as.
43
+ */
44
+ detailsLabel?: string;
45
+ /** Whether the details region is showing. Controlled. */
46
+ expanded?: boolean;
47
+ /** Its initial state when uncontrolled. Defaults to `false`. */
48
+ defaultExpanded?: boolean;
49
+ onExpandedChange?: (expanded: boolean) => void;
50
+ /**
51
+ * The details region's contents — the rows the summary row reveals.
52
+ *
53
+ * Ordinary menu rows: `DropdownMenuSub` triggers, `DropdownMenuItem`s,
54
+ * anything the surrounding surface publishes. The picker owns the reveal, the
55
+ * spacing and the hairline above them, and nothing about what they are.
56
+ */
57
+ children?: ReactNode;
58
+ /** Appended to the root's own classes, never substituted for them. */
59
+ className?: string;
60
+ style?: StyleProp<ViewStyle>;
61
+ testID?: string;
62
+ }
63
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/level-picker/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,gBAAgB;IAC/B;;;;;;;OAOG;IACH,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,uEAAuE;IACvE,KAAK,EAAE,MAAM,CAAC;IACd,4EAA4E;IAC5E,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;;;;;;;OAQG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gEAAgE;IAChE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxyhq/bloom",
3
- "version": "1.0.6",
3
+ "version": "1.1.0",
4
4
  "packageManager": "bun@1.3.14",
5
5
  "description": "Bloom UI — Oxy ecosystem component library for React Native + Expo + Web",
6
6
  "main": "lib/commonjs/index.js",
@@ -1113,6 +1113,25 @@
1113
1113
  "default": "./lib/commonjs/slider/index.js"
1114
1114
  }
1115
1115
  },
1116
+ "./level-picker": {
1117
+ "react-native": {
1118
+ "types": "./lib/typescript/module/level-picker/index.d.ts",
1119
+ "default": "./src/level-picker/index.ts"
1120
+ },
1121
+ "browser": {
1122
+ "types": "./lib/typescript/module/level-picker/index.web.d.ts",
1123
+ "import": "./lib/module/level-picker/index.web.js",
1124
+ "require": "./lib/commonjs/level-picker/index.web.js"
1125
+ },
1126
+ "import": {
1127
+ "types": "./lib/typescript/module/level-picker/index.d.ts",
1128
+ "default": "./lib/module/level-picker/index.js"
1129
+ },
1130
+ "require": {
1131
+ "types": "./lib/typescript/commonjs/level-picker/index.d.ts",
1132
+ "default": "./lib/commonjs/level-picker/index.js"
1133
+ }
1134
+ },
1116
1135
  "./card": {
1117
1136
  "react-native": {
1118
1137
  "types": "./lib/typescript/module/card/index.d.ts",
@@ -3,6 +3,11 @@
3
3
  * `select` sit on: one trigger slot, one panel, one row vocabulary, one anchor
4
4
  * measurement, instead of five copies.
5
5
  *
6
+ * `level-picker` is the sixth, and it takes only the ROW half — `MenuRowShell`
7
+ * and the chevron slot for its disclosure row, plus the motion constants — so
8
+ * the row that reveals a menu's details region cannot disagree with the rows it
9
+ * reveals about an inset, a highlight or a height.
10
+ *
6
11
  * INTERNAL. This barrel is the family's surface to the five families INSIDE
7
12
  * Bloom that build on it — it is deliberately absent from `package.json#exports`
8
13
  * and from `src/index.ts`, and `family-layout.test.ts` records that in
package/src/index.ts CHANGED
@@ -233,6 +233,8 @@ export { InputGroup, InputGroupAddon } from './input-group';
233
233
  export type { InputGroupProps, InputGroupAddonProps } from './input-group';
234
234
  export { Slider } from './slider';
235
235
  export type { SliderProps } from './slider';
236
+ export { LevelPicker } from './level-picker';
237
+ export type { LevelPickerProps } from './level-picker';
236
238
  export { Combobox } from './combobox';
237
239
  export type { ComboboxProps, ComboboxOption } from './combobox';
238
240
 
package/src/index.web.ts CHANGED
@@ -238,6 +238,8 @@ export { InputGroup, InputGroupAddon } from './input-group';
238
238
  export type { InputGroupProps, InputGroupAddonProps } from './input-group';
239
239
  export { Slider } from './slider';
240
240
  export type { SliderProps } from './slider';
241
+ export { LevelPicker } from './level-picker/index.web';
242
+ export type { LevelPickerProps } from './level-picker/index.web';
241
243
  export { Combobox } from './combobox/index.web';
242
244
  export type { ComboboxProps, ComboboxOption } from './combobox/index.web';
243
245