@charcuterie/ui 3.8.1 → 3.9.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.
package/src/index.ts CHANGED
@@ -321,6 +321,11 @@ export type {
321
321
  SkeletonShape,
322
322
  } from "./Skeleton/Skeleton.tsx"
323
323
  export { Skeleton } from "./Skeleton/Skeleton.tsx"
324
+ export type {
325
+ SliderProps,
326
+ SliderSize,
327
+ } from "./Slider/Slider.tsx"
328
+ export { Slider } from "./Slider/Slider.tsx"
324
329
  export type {
325
330
  SortableTableHeaderProps,
326
331
  SortDirection,
@@ -446,7 +446,13 @@ test("the barrel is the only place components are re-exported", async () => {
446
446
  // out of this count by the `<Name>/<Name>.tsx` rule, while still
447
447
  // being exported from the barrel — a consumer measuring its own
448
448
  // `itemBlockSize` needs the number the rows are spaced by.
449
- expect(componentNames.length).toBe(51)
449
+ //
450
+ // `Slider` — the range control the fleet had no way to ask for — is
451
+ // +1 -> 52. `sliderValue.ts` is its member and stays out of this
452
+ // count by the `<Name>/<Name>.tsx` rule; it is not exported from the
453
+ // barrel either, because a consumer sets `min`/`max`/`step` and never
454
+ // does the arithmetic itself.
455
+ expect(componentNames.length).toBe(52)
450
456
 
451
457
  for (const name of componentNames) {
452
458
  expect(barrel).toContain(`export { ${name} }`)