@flamingo-stack/openframe-frontend-core 0.0.680-snapshot.20260929023516 → 0.0.680

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 (33) hide show
  1. package/dist/{chunk-VKTQQ7TS.js → chunk-75S3RKYX.js} +4 -4
  2. package/dist/{chunk-KLLH632Q.js → chunk-F5N2P2GD.js} +3 -3
  3. package/dist/{chunk-AHXAD26W.cjs → chunk-FCGZIXI5.cjs} +17 -17
  4. package/dist/{chunk-AHXAD26W.cjs.map → chunk-FCGZIXI5.cjs.map} +1 -1
  5. package/dist/{chunk-Q76YVNCQ.js → chunk-FN7DMNA4.js} +4 -4
  6. package/dist/chunk-FN7DMNA4.js.map +1 -0
  7. package/dist/{chunk-RF2EYX3B.js → chunk-M7ILWHDA.js} +2 -2
  8. package/dist/{chunk-UOZXREDM.cjs → chunk-RLUXVMSD.cjs} +9 -9
  9. package/dist/{chunk-UOZXREDM.cjs.map → chunk-RLUXVMSD.cjs.map} +1 -1
  10. package/dist/{chunk-S3OS6FIM.js → chunk-SPI7DCD3.js} +2 -2
  11. package/dist/{chunk-BOM6MMWB.cjs → chunk-UL2TY6GY.cjs} +3 -3
  12. package/dist/{chunk-BOM6MMWB.cjs.map → chunk-UL2TY6GY.cjs.map} +1 -1
  13. package/dist/{chunk-RNRAPL6V.cjs → chunk-VWYK6TSE.cjs} +4 -4
  14. package/dist/{chunk-RNRAPL6V.cjs.map → chunk-VWYK6TSE.cjs.map} +1 -1
  15. package/dist/{chunk-NMXL34Z2.cjs → chunk-XRQKJ22I.cjs} +4 -4
  16. package/dist/{chunk-NMXL34Z2.cjs.map → chunk-XRQKJ22I.cjs.map} +1 -1
  17. package/dist/components/empty-state.d.ts.map +1 -1
  18. package/dist/components/help-center-pages/index.cjs +14 -14
  19. package/dist/components/help-center-pages/index.js +5 -5
  20. package/dist/components/index.cjs +5 -5
  21. package/dist/components/index.js +4 -4
  22. package/dist/components/meeting-scheduler/index.cjs +5 -5
  23. package/dist/components/meeting-scheduler/index.js +2 -2
  24. package/dist/components/tickets/index.cjs +4 -4
  25. package/dist/components/tickets/index.js +3 -3
  26. package/package.json +1 -1
  27. package/src/components/empty-state.tsx +6 -5
  28. package/dist/chunk-Q76YVNCQ.js.map +0 -1
  29. package/src/components/__tests__/empty-state-cta.test.tsx +0 -31
  30. /package/dist/{chunk-VKTQQ7TS.js.map → chunk-75S3RKYX.js.map} +0 -0
  31. /package/dist/{chunk-KLLH632Q.js.map → chunk-F5N2P2GD.js.map} +0 -0
  32. /package/dist/{chunk-RF2EYX3B.js.map → chunk-M7ILWHDA.js.map} +0 -0
  33. /package/dist/{chunk-S3OS6FIM.js.map → chunk-SPI7DCD3.js.map} +0 -0
@@ -1,31 +0,0 @@
1
- /**
2
- * `EmptyState`'s call to action is the house `Button` in its own variant, never a
3
- * default accent Button repainted with classes: the repaint lost to the accent hover
4
- * (green text on a green button). Each case is compared with the Button it must be.
5
- */
6
-
7
- import { render, screen } from '@testing-library/react';
8
- import { describe, expect, it } from 'vitest';
9
- import { EmptyState } from '../empty-state';
10
- import { Button } from '../ui/button';
11
-
12
- function classOf(name: string): string {
13
- return (screen.getByText(name).closest('a, button') as HTMLElement).className;
14
- }
15
-
16
- describe('EmptyState call to action', () => {
17
- it.each([
18
- ['secondary', 'outline'],
19
- ['primary', 'accent'],
20
- ] as const)('a %s CTA renders exactly the %s Button', (ctaVariant, buttonVariant) => {
21
- render(
22
- <>
23
- <EmptyState type="generic" ctaText="Record it" ctaHref="/record" ctaVariant={ctaVariant} />
24
- <Button href="/reference" variant={buttonVariant} className="w-full">
25
- Reference
26
- </Button>
27
- </>,
28
- );
29
- expect(classOf('Record it')).toBe(classOf('Reference'));
30
- });
31
- });