@pitchfork-ui/react 0.1.9 → 0.2.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 (137) hide show
  1. package/README.md +20 -5
  2. package/dist/components/Alert/Alert.css +83 -0
  3. package/dist/{index8.js → components/Alert/Alert2.js} +3 -3
  4. package/dist/components/Avatar/Avatar.css +97 -0
  5. package/dist/{index10.js → components/Avatar/Avatar2.js} +2 -2
  6. package/dist/components/Badge/Badge.css +26 -0
  7. package/dist/{index23.js → components/Badge/Badge2.js} +2 -2
  8. package/dist/components/BadgeGroup/BadgeGroup.css +115 -0
  9. package/dist/{index14.js → components/BadgeGroup/BadgeGroup2.js} +2 -2
  10. package/dist/components/Breadcrumbs/Breadcrumbs.css +45 -0
  11. package/dist/{index18.js → components/Breadcrumbs/Breadcrumbs2.js} +2 -2
  12. package/dist/components/Button/Button.css +93 -0
  13. package/dist/{index12.js → components/Button/Button2.js} +2 -2
  14. package/dist/components/ButtonGroup/ButtonGroup.css +107 -0
  15. package/dist/{index16.js → components/ButtonGroup/ButtonGroup2.js} +2 -2
  16. package/dist/components/Calendar/Calendar.css +144 -0
  17. package/dist/{index40.js → components/Calendar/Calendar2.js} +4 -4
  18. package/dist/components/Card/Card.css +23 -0
  19. package/dist/{index25.js → components/Card/Card2.js} +2 -2
  20. package/dist/components/Carousel/Carousel.css +122 -0
  21. package/dist/{index42.js → components/Carousel/Carousel2.js} +3 -3
  22. package/dist/components/Checkbox/Checkbox.css +62 -0
  23. package/dist/{index29.js → components/Checkbox/Checkbox2.js} +2 -2
  24. package/dist/components/CodeSnippet/CodeSnippet.css +155 -0
  25. package/dist/{index46.js → components/CodeSnippet/CodeSnippet2.js} +6 -6
  26. package/dist/components/ContentDivider/ContentDivider.css +38 -0
  27. package/dist/{index48.js → components/ContentDivider/ContentDivider2.js} +2 -2
  28. package/dist/components/CreditCard/CreditCard.css +139 -0
  29. package/dist/{index27.js → components/CreditCard/CreditCard2.js} +2 -2
  30. package/dist/components/DatePicker/DatePicker.css +91 -0
  31. package/dist/{index50.js → components/DatePicker/DatePicker2.js} +9 -9
  32. package/dist/components/Dropdown/Dropdown.css +132 -0
  33. package/dist/{index38.js → components/Dropdown/Dropdown2.js} +8 -8
  34. package/dist/components/EmptyState/EmptyState.css +72 -0
  35. package/dist/{index52.js → components/EmptyState/EmptyState2.js} +3 -3
  36. package/dist/components/FileUploader/FileUploader.css +135 -0
  37. package/dist/{index54.js → components/FileUploader/FileUploader2.js} +4 -4
  38. package/dist/components/GaugeChart/GaugeChart.css +46 -0
  39. package/dist/components/GaugeChart/GaugeChart2.js +73 -0
  40. package/dist/components/HeaderNavigation/HeaderNavigation.css +87 -0
  41. package/dist/{index56.js → components/HeaderNavigation/HeaderNavigation2.js} +2 -2
  42. package/dist/components/Icon/Icon.css +6 -0
  43. package/dist/{index6.js → components/Icon/Icon2.js} +2 -2
  44. package/dist/components/InlineCTA/InlineCTA.css +86 -0
  45. package/dist/{index58.js → components/InlineCTA/InlineCTA2.js} +3 -3
  46. package/dist/components/Input/Input.css +75 -0
  47. package/dist/{index21.js → components/Input/Input2.js} +3 -3
  48. package/dist/components/LineBarCharts/LineBarChart.css +122 -0
  49. package/dist/{index60.js → components/LineBarCharts/LineBarChart2.js} +11 -3
  50. package/dist/components/LoadingIndicators/LoadingIndicators.css +107 -0
  51. package/dist/{index62.js → components/LoadingIndicators/LoadingIndicators2.js} +2 -2
  52. package/dist/components/Metrics/Metrics.css +106 -0
  53. package/dist/{index64.js → components/Metrics/Metrics2.js} +3 -3
  54. package/dist/components/Modal/Modal.css +136 -0
  55. package/dist/{index66.js → components/Modal/Modal2.js} +4 -4
  56. package/dist/components/MultiSelect/MultiSelect.css +157 -0
  57. package/dist/{index68.js → components/MultiSelect/MultiSelect2.js} +11 -11
  58. package/dist/components/Notification/Notification.css +187 -0
  59. package/dist/{index70.js → components/Notification/Notification2.js} +3 -3
  60. package/dist/components/PageHeader/PageHeader.css +85 -0
  61. package/dist/{index72.js → components/PageHeader/PageHeader2.js} +3 -3
  62. package/dist/components/Pagination/Pagination.css +101 -0
  63. package/dist/{index74.js → components/Pagination/Pagination2.js} +2 -2
  64. package/dist/components/PieChart/PieChart.css +81 -0
  65. package/dist/{index76.js → components/PieChart/PieChart2.js} +2 -2
  66. package/dist/components/ProgressIndicators/ProgressIndicators.css +77 -0
  67. package/dist/{index78.js → components/ProgressIndicators/ProgressIndicators2.js} +2 -2
  68. package/dist/components/ProgressSteps/ProgressSteps.css +158 -0
  69. package/dist/{index80.js → components/ProgressSteps/ProgressSteps2.js} +2 -2
  70. package/dist/components/RadarChart/RadarChart.css +97 -0
  71. package/dist/{index82.js → components/RadarChart/RadarChart2.js} +2 -2
  72. package/dist/components/RadioButton/RadioButton.css +21 -0
  73. package/dist/{index84.js → components/RadioButton/RadioButton2.js} +2 -2
  74. package/dist/components/RadioGroup/RadioGroup.css +64 -0
  75. package/dist/{index86.js → components/RadioGroup/RadioGroup2.js} +2 -2
  76. package/dist/components/Rating/Rating.css +91 -0
  77. package/dist/{index88.js → components/Rating/Rating2.js} +3 -3
  78. package/dist/components/RichTextEditor/RichTextEditor.css +94 -0
  79. package/dist/{index90.js → components/RichTextEditor/RichTextEditor2.js} +4 -4
  80. package/dist/components/SectionFooter/SectionFooter.css +59 -0
  81. package/dist/{index92.js → components/SectionFooter/SectionFooter2.js} +2 -2
  82. package/dist/components/SectionHeader/SectionHeader.css +78 -0
  83. package/dist/{index94.js → components/SectionHeader/SectionHeader2.js} +2 -2
  84. package/dist/components/Select/Select.css +137 -0
  85. package/dist/{index102.js → components/Select/Select2.js} +11 -11
  86. package/dist/components/SidebarNavigation/SidebarNavigation.css +116 -0
  87. package/dist/{index96.js → components/SidebarNavigation/SidebarNavigation2.js} +2 -2
  88. package/dist/components/SlideoutMenu/SlideoutMenu.css +161 -0
  89. package/dist/{index98.js → components/SlideoutMenu/SlideoutMenu2.js} +3 -3
  90. package/dist/components/Slider/Slider.css +106 -0
  91. package/dist/{index104.js → components/Slider/Slider2.js} +2 -2
  92. package/dist/components/Sparkline/Sparkline.css +17 -0
  93. package/dist/components/Sparkline/Sparkline2.js +99 -0
  94. package/dist/components/Switch/Switch.css +59 -0
  95. package/dist/{index100.js → components/Switch/Switch2.js} +2 -2
  96. package/dist/components/Table/Table.css +126 -0
  97. package/dist/{index108.js → components/Table/Table2.js} +2 -2
  98. package/dist/components/Tabs/Tabs.css +112 -0
  99. package/dist/{index110.js → components/Tabs/Tabs2.js} +2 -2
  100. package/dist/components/Tag/Tag.css +64 -0
  101. package/dist/{index106.js → components/Tag/Tag2.js} +3 -3
  102. package/dist/components/Textarea/Textarea.css +52 -0
  103. package/dist/{index112.js → components/Textarea/Textarea2.js} +3 -3
  104. package/dist/components/Tooltip/Tooltip.css +26 -0
  105. package/dist/{index114.js → components/Tooltip/Tooltip2.js} +2 -2
  106. package/dist/components/TreeView/TreeView.css +109 -0
  107. package/dist/{index116.js → components/TreeView/TreeView2.js} +2 -2
  108. package/dist/components/UtilityButton/UtilityButton.css +90 -0
  109. package/dist/{index118.js → components/UtilityButton/UtilityButton2.js} +2 -2
  110. package/dist/components/VideoPlayer/VideoPlayer.css +41 -0
  111. package/dist/{index120.js → components/VideoPlayer/VideoPlayer2.js} +2 -2
  112. package/dist/{index33.js → hooks/useDisclosure.js} +1 -1
  113. package/dist/{index34.js → hooks/useFocusTrap.js} +1 -1
  114. package/dist/index.cjs +380 -4450
  115. package/dist/index.js +65 -63
  116. package/dist/src/components/GaugeChart/GaugeChart.d.ts +17 -0
  117. package/dist/src/components/GaugeChart/GaugeChart.test.d.ts +1 -0
  118. package/dist/src/components/GaugeChart/index.d.ts +1 -0
  119. package/dist/src/components/LineBarCharts/LineBarChart.d.ts +2 -0
  120. package/dist/src/components/Sparkline/Sparkline.d.ts +15 -0
  121. package/dist/src/components/Sparkline/Sparkline.test.d.ts +1 -0
  122. package/dist/src/components/Sparkline/index.d.ts +1 -0
  123. package/dist/src/index.d.ts +2 -0
  124. package/dist/styles/theme.css +779 -0
  125. package/dist/styles.css +124 -5
  126. package/dist/{index19.js → utils/FieldWrapper.js} +1 -1
  127. package/package.json +8 -4
  128. package/theme.starter.css +57 -0
  129. package/dist/index43.js +0 -16
  130. package/dist/index44.js +0 -4232
  131. /package/dist/{index3.js → a11y/index.js} +0 -0
  132. /package/dist/{index30.js → hooks/useAnchoredPosition.js} +0 -0
  133. /package/dist/{index31.js → hooks/useComposedRefs.js} +0 -0
  134. /package/dist/{index32.js → hooks/useControllableState.js} +0 -0
  135. /package/dist/{index35.js → hooks/useListNavigation.js} +0 -0
  136. /package/dist/{index36.js → hooks/useOutsideInteraction.js} +0 -0
  137. /package/dist/{index4.js → utils/cx.js} +0 -0
package/dist/styles.css CHANGED
@@ -361,6 +361,17 @@
361
361
  --pf-utility-btn-danger-text: var(--color-semantic-status-danger-foreground);
362
362
  --pf-utility-btn-danger-bg-hover: var(--color-danger-100);
363
363
 
364
+ /* GaugeChart aliases */
365
+ --pf-gauge-color: var(--color-semantic-action-primary);
366
+ --pf-gauge-track-color: var(--color-semantic-background-subtle);
367
+ --pf-gauge-center-bg: var(--color-semantic-background-default);
368
+ --pf-gauge-label-color: var(--color-semantic-text-default);
369
+ --pf-gauge-label-size: var(--font-size-2xl);
370
+ --pf-gauge-sub-label-color: var(--color-semantic-text-muted);
371
+
372
+ /* Sparkline aliases */
373
+ --pf-sparkline-color: var(--color-semantic-action-primary);
374
+
364
375
  /* TreeView aliases */
365
376
  --pf-treeview-bg: var(--color-semantic-background-default);
366
377
  --pf-treeview-border: var(--color-semantic-border-default);
@@ -662,9 +673,11 @@
662
673
  --color-semantic-border-default: var(--color-gray-700);
663
674
  --color-semantic-border-strong: var(--color-gray-500);
664
675
  --color-semantic-border-focus: var(--color-brand-400);
665
- --color-semantic-action-primary: var(--color-brand-500);
666
- --color-semantic-action-primary-hover: var(--color-brand-600);
667
- --color-semantic-action-primary-active: var(--color-brand-700);
676
+
677
+ /* brand-600 (#2563eb) on white = ~5:1 — passes WCAG AA for normal text */
678
+ --color-semantic-action-primary: var(--color-brand-600);
679
+ --color-semantic-action-primary-hover: var(--color-brand-700);
680
+ --color-semantic-action-primary-active: var(--color-brand-800);
668
681
  --color-semantic-action-primary-text: var(--color-base-white);
669
682
  --color-semantic-action-secondary: var(--color-gray-800);
670
683
  --color-semantic-action-secondary-hover: var(--color-gray-700);
@@ -678,10 +691,54 @@
678
691
  --color-semantic-status-warning-foreground: var(--color-warning-300);
679
692
  --color-semantic-status-warning-bright: var(--color-warning-400);
680
693
  --color-semantic-status-danger-background: var(--color-danger-900);
681
- --color-semantic-status-danger-border: var(--color-danger-700);
694
+ /* danger-600 (#d92d20) on gray-900 = 3.71:1 — danger-700 only gives 2.72:1 */
695
+ --color-semantic-status-danger-border: var(--color-danger-600);
682
696
  --color-semantic-status-danger-foreground: var(--color-danger-300);
683
697
  --color-semantic-status-danger-bright: var(--color-danger-400);
684
698
 
699
+ /* Info state overrides — light brand colors (brand-50/100/300) are invisible on dark surfaces */
700
+ --pf-notification-info-bg: var(--color-brand-900);
701
+ --pf-notification-info-border: var(--color-brand-700);
702
+ --pf-notification-info-icon: var(--color-brand-300);
703
+ --pf-notification-info-title: var(--color-brand-200);
704
+ --pf-notification-info-hover-bg: var(--color-brand-800);
705
+ --pf-notification-info-hover-icon: var(--color-brand-200);
706
+
707
+ --pf-alert-info-background: var(--color-brand-900);
708
+ --pf-alert-info-border: var(--color-brand-700);
709
+ --pf-alert-info-foreground: var(--color-brand-200);
710
+
711
+ --pf-inline-cta-info-bg: var(--color-brand-900);
712
+ --pf-inline-cta-info-border: var(--color-brand-700);
713
+ --pf-inline-cta-info-icon: var(--color-brand-300);
714
+ --pf-inline-cta-info-heading: var(--color-brand-200);
715
+ --pf-inline-cta-info-description: var(--color-brand-300);
716
+
717
+ --pf-badge-brand-background: var(--color-brand-900);
718
+ --pf-badge-brand-foreground: var(--color-brand-300);
719
+
720
+ --pf-badgegroup-brand-100: var(--color-brand-900);
721
+ --pf-badgegroup-brand-300: var(--color-brand-700);
722
+ --pf-badgegroup-brand-700: var(--color-brand-300);
723
+
724
+ --pf-tag-brand-bg: var(--color-brand-900);
725
+ --pf-tag-brand-text: var(--color-brand-300);
726
+
727
+ --pf-utility-btn-brand-bg: var(--color-brand-900);
728
+ --pf-utility-btn-brand-border: var(--color-brand-700);
729
+ --pf-utility-btn-brand-text: var(--color-brand-300);
730
+ --pf-utility-btn-brand-bg-hover: var(--color-brand-800);
731
+
732
+ /* Calendar — same border-default contrast issue as TreeView */
733
+ --pf-calendar-border: var(--color-semantic-border-strong);
734
+
735
+ /* GaugeChart — track uses background-subtle (gray-700) which is 1.72:1 against gray-900 */
736
+ --pf-gauge-track-color: var(--color-semantic-border-strong);
737
+
738
+ /* TreeView — border-default (gray-700) is 1.73:1 against gray-900, fails WCAG non-text contrast.
739
+ border-strong (gray-500) gives 3.75:1. */
740
+ --pf-treeview-border: var(--color-semantic-border-strong);
741
+
685
742
  --pf-focus-ring: 0 0 0 var(--pf-focus-ring-width)
686
743
  color-mix(in srgb, var(--pf-focus-ring-color) 45%, transparent);
687
744
  }
@@ -2653,6 +2710,52 @@ body {
2653
2710
  background: color-mix(in srgb, var(--pf-inline-cta-warning-bg) 60%, var(--color-base-white));
2654
2711
  border-color: var(--pf-inline-cta-warning-border);
2655
2712
  }
2713
+ .pf-gauge {
2714
+ position: relative;
2715
+ display: inline-flex;
2716
+ align-items: center;
2717
+ justify-content: center;
2718
+ }
2719
+
2720
+ .pf-gauge__svg {
2721
+ position: absolute;
2722
+ inset: 0;
2723
+ }
2724
+
2725
+ .pf-gauge__track {
2726
+ stroke: var(--pf-gauge-track-color);
2727
+ }
2728
+
2729
+ .pf-gauge__fill {
2730
+ transition: stroke-dasharray var(--pf-transition-medium, 180ms ease);
2731
+ }
2732
+
2733
+ .pf-gauge__center {
2734
+ display: flex;
2735
+ flex-direction: column;
2736
+ align-items: center;
2737
+ justify-content: center;
2738
+ gap: var(--space-1);
2739
+ position: relative;
2740
+ z-index: 1;
2741
+ padding: var(--space-2);
2742
+ border-radius: var(--radius-full);
2743
+ background: var(--pf-gauge-center-bg);
2744
+ text-align: center;
2745
+ }
2746
+
2747
+ .pf-gauge__label {
2748
+ color: var(--pf-gauge-label-color);
2749
+ font-size: var(--pf-gauge-label-size);
2750
+ font-weight: var(--font-weight-semibold);
2751
+ line-height: 1;
2752
+ }
2753
+
2754
+ .pf-gauge__sub-label {
2755
+ color: var(--pf-gauge-sub-label-color);
2756
+ font-size: var(--font-size-sm);
2757
+ line-height: 1;
2758
+ }
2656
2759
  /* ─── Chart color palette ─────────────────────────────────────────────── */
2657
2760
  :root {
2658
2761
  --pf-chart-color-1: var(--color-brand-600);
@@ -4590,6 +4693,23 @@ body {
4590
4693
  text-overflow: ellipsis;
4591
4694
  white-space: nowrap;
4592
4695
  }
4696
+ .pf-sparkline {
4697
+ display: block;
4698
+ overflow: visible;
4699
+ }
4700
+
4701
+ .pf-sparkline__line {
4702
+ stroke: var(--pf-sparkline-color-override, var(--pf-sparkline-color));
4703
+ }
4704
+
4705
+ .pf-sparkline__area {
4706
+ fill: var(--pf-sparkline-color-override, var(--pf-sparkline-color));
4707
+ opacity: var(--pf-sparkline-area-opacity, 0.15);
4708
+ }
4709
+
4710
+ .pf-sparkline__dot {
4711
+ fill: var(--pf-sparkline-color-override, var(--pf-sparkline-color));
4712
+ }
4593
4713
  .pf-slideout__portal {
4594
4714
  inset: 0;
4595
4715
  position: fixed;
@@ -5673,4 +5793,3 @@ body {
5673
5793
  padding: var(--space-4);
5674
5794
  text-align: center;
5675
5795
  }
5676
- /*$vite$:1*/
@@ -1,4 +1,4 @@
1
- import { cx } from "./index4.js";
1
+ import { cx } from "./cx.js";
2
2
  import { forwardRef } from "react";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/utils/FieldWrapper.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pitchfork-ui/react",
3
- "version": "0.1.9",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -10,7 +10,8 @@
10
10
  "src/**/*.css"
11
11
  ],
12
12
  "files": [
13
- "dist"
13
+ "dist",
14
+ "theme.starter.css"
14
15
  ],
15
16
  "scripts": {
16
17
  "build": "vite build",
@@ -21,13 +22,15 @@
21
22
  "@fortawesome/fontawesome-svg-core": "^7.2.0",
22
23
  "@fortawesome/free-regular-svg-icons": "^7.2.0",
23
24
  "@fortawesome/react-fontawesome": "^3.3.1",
25
+ "prism-react-renderer": "^2.0.0",
24
26
  "react": ">=18.2.0 || >=19.0.0",
25
27
  "react-dom": ">=18.2.0 || >=19.0.0"
26
28
  },
27
29
  "devDependencies": {
28
30
  "@pitchfork-ui/tokens": "^0.1.0",
29
31
  "@vitejs/plugin-react": "latest",
30
- "vite-plugin-dts": "latest"
32
+ "vite-plugin-dts": "latest",
33
+ "vite-plugin-lib-inject-css": "^2.2.2"
31
34
  },
32
35
  "publishConfig": {
33
36
  "access": "public"
@@ -38,6 +41,7 @@
38
41
  "import": "./dist/index.js",
39
42
  "require": "./dist/index.cjs"
40
43
  },
41
- "./styles.css": "./dist/styles.css"
44
+ "./styles.css": "./dist/styles.css",
45
+ "./theme.starter.css": "./theme.starter.css"
42
46
  }
43
47
  }
@@ -0,0 +1,57 @@
1
+ /**
2
+ * PitchforkUI — theme starter
3
+ *
4
+ * Copy this file into your project and override only the variables you need.
5
+ * Import it AFTER @pitchfork-ui/react/styles.css.
6
+ *
7
+ * import '@pitchfork-ui/react/styles.css';
8
+ * import './my-theme.css';
9
+ *
10
+ * WCAG note: when choosing a primary color, ensure --color-semantic-action-primary-text
11
+ * achieves at least 4.5:1 contrast against --color-semantic-action-primary.
12
+ */
13
+
14
+ :root {
15
+ /* ── Brand / primary action ──────────────────────────────────────────────
16
+ Drives buttons, calendar selections, checkboxes, sliders, pagination,
17
+ progress steps, focus rings, and all other primary interactive states. */
18
+
19
+ --color-semantic-action-primary: #2563eb; /* your brand-600 equivalent */
20
+ --color-semantic-action-primary-hover: #1d4ed8; /* your brand-700 */
21
+ --color-semantic-action-primary-active: #1e40af; /* your brand-800 */
22
+ --color-semantic-action-primary-text: #ffffff; /* text ON the primary color */
23
+
24
+ /* ── Border radius ───────────────────────────────────────────────────────
25
+ Presets:
26
+ sharp → 0 / 2px / 4px / 4px
27
+ default → 0.375rem / 0.5rem / 0.75rem / 9999px
28
+ soft → 0.5rem / 0.75rem / 1rem / 9999px */
29
+
30
+ --radius-sm: 0.375rem;
31
+ --radius-md: 0.5rem;
32
+ --radius-lg: 0.75rem;
33
+ --radius-full: 9999px;
34
+
35
+ /* ── Typography ──────────────────────────────────────────────────────────
36
+ The library defaults to system-ui. Import your font, then override. */
37
+
38
+ --font-family-sans: system-ui, -apple-system, sans-serif;
39
+ --font-family-mono: ui-monospace, 'Cascadia Code', monospace;
40
+
41
+ /* ── Focus ring ──────────────────────────────────────────────────────────
42
+ Defaults to a semi-transparent version of the primary color.
43
+ Override to match your brand or accessibility requirements. */
44
+
45
+ /* --pf-focus-ring-color: var(--color-semantic-action-primary); */
46
+ /* --pf-focus-ring-width: 3px; */
47
+ }
48
+
49
+ /* ── Dark mode overrides ─────────────────────────────────────────────────────
50
+ If you change the brand color, add dark-mode variants here.
51
+ Use a lighter shade so white text keeps a 4.5:1 contrast ratio. */
52
+
53
+ [data-theme='dark'] {
54
+ --color-semantic-action-primary: #3b82f6; /* brand-500 equivalent */
55
+ --color-semantic-action-primary-hover: #2563eb; /* brand-600 */
56
+ --color-semantic-action-primary-active: #1d4ed8; /* brand-700 */
57
+ }
package/dist/index43.js DELETED
@@ -1,16 +0,0 @@
1
- //#region ../../node_modules/clsx/dist/clsx.mjs
2
- function r(e) {
3
- var t, f, n = "";
4
- if ("string" == typeof e || "number" == typeof e) n += e;
5
- else if ("object" == typeof e) if (Array.isArray(e)) {
6
- var o = e.length;
7
- for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
8
- } else for (f in e) e[f] && (n && (n += " "), n += f);
9
- return n;
10
- }
11
- function clsx() {
12
- for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
13
- return n;
14
- }
15
- //#endregion
16
- export { clsx as default };