@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
@@ -0,0 +1,85 @@
1
+ .pf-page-header {
2
+ display: grid;
3
+ gap: var(--space-4);
4
+ }
5
+
6
+ .pf-page-header__breadcrumbs {
7
+ min-width: 0;
8
+ }
9
+
10
+ .pf-page-header__row {
11
+ align-items: start;
12
+ display: flex;
13
+ flex-direction: column;
14
+ gap: var(--space-4);
15
+ justify-content: space-between;
16
+ }
17
+
18
+ @media (min-width: 768px) {
19
+ .pf-page-header__row {
20
+ flex-direction: row;
21
+ }
22
+ }
23
+
24
+ .pf-page-header__content {
25
+ display: grid;
26
+ gap: var(--space-2);
27
+ min-width: 0;
28
+ }
29
+
30
+ .pf-page-header__eyebrow {
31
+ color: var(--pf-page-header-eyebrow);
32
+ font-size: var(--font-size-xs);
33
+ font-weight: var(--font-weight-semibold);
34
+ letter-spacing: 0.08em;
35
+ margin: 0;
36
+ text-transform: uppercase;
37
+ }
38
+
39
+ .pf-page-header__heading {
40
+ color: var(--pf-page-header-text);
41
+ font-size: clamp(var(--font-size-3xl), 3vw, var(--font-size-5xl));
42
+ font-weight: var(--font-weight-semibold);
43
+ letter-spacing: -0.03em;
44
+ line-height: 1.05;
45
+ margin: 0;
46
+ }
47
+
48
+ .pf-page-header__description {
49
+ color: var(--pf-page-header-text-muted);
50
+ font-size: var(--font-size-sm);
51
+ line-height: 1.5;
52
+ margin: 0;
53
+ max-width: 68ch;
54
+ }
55
+
56
+ @media (min-width: 768px) {
57
+ .pf-page-header__description {
58
+ font-size: var(--font-size-md);
59
+ }
60
+ }
61
+
62
+ .pf-page-header__meta {
63
+ align-items: center;
64
+ color: var(--pf-page-header-text-muted);
65
+ display: inline-flex;
66
+ flex-wrap: wrap;
67
+ gap: var(--space-2);
68
+ }
69
+
70
+ .pf-page-header__actions {
71
+ align-items: center;
72
+ display: inline-flex;
73
+ flex: 0 0 auto;
74
+ flex-wrap: wrap;
75
+ gap: var(--space-2);
76
+ justify-content: flex-start;
77
+ width: 100%;
78
+ }
79
+
80
+ @media (min-width: 768px) {
81
+ .pf-page-header__actions {
82
+ justify-content: flex-end;
83
+ width: auto;
84
+ }
85
+ }
@@ -1,6 +1,6 @@
1
- import { cx } from "./index4.js";
2
- import { Breadcrumbs } from "./index18.js";
3
- /* empty css */
1
+ import { cx } from "../../utils/cx.js";
2
+ import { Breadcrumbs } from "../Breadcrumbs/Breadcrumbs2.js";
3
+ import './PageHeader.css';/* empty css */
4
4
  import { forwardRef } from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region src/components/PageHeader/PageHeader.tsx
@@ -0,0 +1,101 @@
1
+ .pf-pagination {
2
+ align-items: center;
3
+ display: inline-flex;
4
+ gap: var(--space-2);
5
+ }
6
+
7
+ @media (min-width: 640px) {
8
+ .pf-pagination {
9
+ gap: var(--space-3);
10
+ }
11
+ }
12
+
13
+ .pf-pagination--disabled {
14
+ opacity: 0.65;
15
+ }
16
+
17
+ .pf-pagination__list {
18
+ align-items: center;
19
+ display: inline-flex;
20
+ gap: var(--space-2);
21
+ list-style: none;
22
+ margin: 0;
23
+ padding: 0;
24
+ }
25
+
26
+ .pf-pagination__page,
27
+ .pf-pagination__nav {
28
+ align-items: center;
29
+ background: var(--pf-pagination-bg);
30
+ border: 1px solid var(--pf-pagination-border);
31
+ border-radius: var(--radius-md);
32
+ color: var(--pf-pagination-text);
33
+ cursor: pointer;
34
+ display: inline-flex;
35
+ font-size: var(--font-size-sm);
36
+ font-weight: var(--font-weight-medium);
37
+ justify-content: center;
38
+ line-height: 1;
39
+ transition: box-shadow 140ms ease;
40
+ }
41
+
42
+ .pf-pagination__page {
43
+ height: var(--pf-pagination-page-size);
44
+ min-width: var(--pf-pagination-page-size);
45
+ padding: 0 var(--space-2);
46
+ transition: none;
47
+ }
48
+
49
+ .pf-pagination__nav {
50
+ height: var(--pf-control-height-sm);
51
+ min-width: var(--pf-control-height-sm);
52
+ padding: 0 var(--space-2);
53
+ }
54
+
55
+ @media (min-width: 640px) {
56
+ .pf-pagination__nav {
57
+ padding: 0 var(--space-3);
58
+ }
59
+ }
60
+
61
+ .pf-pagination__page:hover,
62
+ .pf-pagination__nav:hover {
63
+ border-color: var(--pf-pagination-active-border);
64
+ }
65
+
66
+ .pf-pagination__page:focus-visible,
67
+ .pf-pagination__nav:focus-visible {
68
+ box-shadow: var(--pf-focus-ring);
69
+ outline: none;
70
+ }
71
+
72
+ .pf-pagination__page--active {
73
+ background: var(--pf-pagination-active-bg);
74
+ border-color: var(--pf-pagination-active-border);
75
+ color: var(--pf-pagination-active-text);
76
+ }
77
+
78
+ .pf-pagination__page--active:hover {
79
+ background: var(--pf-pagination-active-hover-bg);
80
+ }
81
+
82
+ .pf-pagination__page:disabled,
83
+ .pf-pagination__nav:disabled {
84
+ cursor: not-allowed;
85
+ opacity: 0.5;
86
+ }
87
+
88
+ .pf-pagination__ellipsis {
89
+ color: var(--pf-pagination-text-muted);
90
+ display: inline-flex;
91
+ font-size: var(--font-size-sm);
92
+ justify-content: center;
93
+ min-width: 20px;
94
+ }
95
+
96
+ @media (prefers-reduced-motion: reduce) {
97
+ .pf-pagination__page,
98
+ .pf-pagination__nav {
99
+ transition: none;
100
+ }
101
+ }
@@ -1,5 +1,5 @@
1
- import { cx } from "./index4.js";
2
- /* empty css */
1
+ import { cx } from "../../utils/cx.js";
2
+ import './Pagination.css';/* empty css */
3
3
  import * as React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/Pagination/Pagination.tsx
@@ -0,0 +1,81 @@
1
+ .pf-pie-chart {
2
+ align-items: flex-start;
3
+ display: inline-flex;
4
+ flex-direction: column;
5
+ gap: var(--space-4);
6
+ }
7
+
8
+ @media (min-width: 640px) {
9
+ .pf-pie-chart {
10
+ align-items: center;
11
+ flex-direction: row;
12
+ gap: var(--space-6);
13
+ }
14
+ }
15
+
16
+ .pf-pie-chart__visual {
17
+ align-items: center;
18
+ border-radius: 999px;
19
+ display: inline-flex;
20
+ justify-content: center;
21
+ position: relative;
22
+ }
23
+
24
+ .pf-pie-chart__visual--empty {
25
+ outline: 1px solid var(--pf-piechart-border-muted);
26
+ }
27
+
28
+ .pf-pie-chart__center {
29
+ align-items: center;
30
+ background: var(--pf-piechart-bg);
31
+ border-radius: 999px;
32
+ color: var(--pf-piechart-text);
33
+ display: inline-flex;
34
+ font-size: var(--font-size-sm);
35
+ font-weight: var(--font-weight-semibold);
36
+ justify-content: center;
37
+ line-height: 1.2;
38
+ text-align: center;
39
+ }
40
+
41
+ .pf-pie-chart__legend {
42
+ display: grid;
43
+ gap: var(--space-2);
44
+ list-style: none;
45
+ margin: 0;
46
+ min-width: 0;
47
+ padding: 0;
48
+ width: 100%;
49
+ }
50
+
51
+ @media (min-width: 640px) {
52
+ .pf-pie-chart__legend {
53
+ min-width: 180px;
54
+ width: auto;
55
+ }
56
+ }
57
+
58
+ .pf-pie-chart__legend-item {
59
+ align-items: center;
60
+ display: grid;
61
+ gap: var(--space-2);
62
+ grid-template-columns: 10px 1fr auto;
63
+ }
64
+
65
+ .pf-pie-chart__legend-dot {
66
+ border-radius: 999px;
67
+ display: inline-block;
68
+ height: 10px;
69
+ width: 10px;
70
+ }
71
+
72
+ .pf-pie-chart__legend-label {
73
+ color: var(--pf-piechart-text);
74
+ font-size: var(--font-size-sm);
75
+ }
76
+
77
+ .pf-pie-chart__legend-value {
78
+ color: var(--pf-piechart-text-muted);
79
+ font-size: var(--font-size-sm);
80
+ font-variant-numeric: tabular-nums;
81
+ }
@@ -1,5 +1,5 @@
1
- import { cx } from "./index4.js";
2
- /* empty css */
1
+ import { cx } from "../../utils/cx.js";
2
+ import './PieChart.css';/* empty css */
3
3
  import { forwardRef } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/PieChart/PieChart.tsx
@@ -0,0 +1,77 @@
1
+ .pf-progress-bar {
2
+ align-items: center;
3
+ display: inline-flex;
4
+ gap: var(--space-2);
5
+ min-width: 220px;
6
+ }
7
+
8
+ .pf-progress-bar__track {
9
+ background: var(--pf-progress-track-bg);
10
+ border-radius: var(--radius-full);
11
+ flex: 1;
12
+ height: 8px;
13
+ overflow: hidden;
14
+ pointer-events: none;
15
+ }
16
+
17
+ .pf-progress-bar__fill {
18
+ background: var(--pf-progress-accent);
19
+ border-radius: inherit;
20
+ height: 100%;
21
+ transition: width 200ms ease;
22
+ width: var(--pf-progress-fill, 0%);
23
+ }
24
+
25
+ .pf-progress-bar__value {
26
+ color: var(--pf-progress-text-muted);
27
+ font-size: var(--font-size-sm);
28
+ font-weight: var(--font-weight-medium);
29
+ }
30
+
31
+ .pf-progress-circle {
32
+ align-items: center;
33
+ display: inline-flex;
34
+ height: var(--pf-progress-circle-size, 64px);
35
+ justify-content: center;
36
+ position: relative;
37
+ width: var(--pf-progress-circle-size, 64px);
38
+ }
39
+
40
+ .pf-progress-circle__svg {
41
+ display: block;
42
+ height: 100%;
43
+ transform: rotate(-90deg);
44
+ width: 100%;
45
+ }
46
+
47
+ .pf-progress-circle__track,
48
+ .pf-progress-circle__fill {
49
+ fill: none;
50
+ }
51
+
52
+ .pf-progress-circle__track {
53
+ stroke: var(--pf-progress-track-bg);
54
+ }
55
+
56
+ .pf-progress-circle__fill {
57
+ stroke: var(--pf-progress-accent);
58
+ stroke-linecap: round;
59
+ transition: stroke-dashoffset 200ms ease;
60
+ }
61
+
62
+ .pf-progress-circle__value {
63
+ color: var(--pf-progress-text);
64
+ font-size: var(--font-size-xs);
65
+ font-weight: var(--font-weight-semibold);
66
+ left: 50%;
67
+ position: absolute;
68
+ top: 50%;
69
+ transform: translate(-50%, -50%);
70
+ }
71
+
72
+ @media (prefers-reduced-motion: reduce) {
73
+ .pf-progress-bar__fill,
74
+ .pf-progress-circle__fill {
75
+ transition: none;
76
+ }
77
+ }
@@ -1,5 +1,5 @@
1
- import { cx } from "./index4.js";
2
- /* empty css */
1
+ import { cx } from "../../utils/cx.js";
2
+ import './ProgressIndicators.css';/* empty css */
3
3
  import { forwardRef } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/ProgressIndicators/ProgressIndicators.tsx
@@ -0,0 +1,158 @@
1
+ .pf-progress-steps {
2
+ list-style: none;
3
+ margin: 0;
4
+ padding: 0;
5
+ }
6
+
7
+ .pf-progress-steps--horizontal {
8
+ --pf-progress-step-gap: var(--space-3);
9
+ display: grid;
10
+ gap: var(--pf-progresssteps-progress-step-gap, var(--pf-progress-step-gap));
11
+ grid-template-columns: 1fr;
12
+ }
13
+
14
+ @media (min-width: 640px) {
15
+ .pf-progress-steps--horizontal {
16
+ --pf-progress-step-gap: var(--space-4);
17
+ grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
18
+ }
19
+ }
20
+
21
+ .pf-progress-steps--vertical {
22
+ display: grid;
23
+ gap: var(--space-3);
24
+ }
25
+
26
+ .pf-progress-steps__item {
27
+ display: flex;
28
+ gap: var(--space-3);
29
+ }
30
+
31
+ .pf-progress-steps__marker-wrap {
32
+ align-items: center;
33
+ display: flex;
34
+ flex: 0 0 auto;
35
+ }
36
+
37
+ .pf-progress-steps--horizontal .pf-progress-steps__marker-wrap {
38
+ flex: 0 0 auto;
39
+ justify-content: center;
40
+ }
41
+
42
+ @media (min-width: 640px) {
43
+ .pf-progress-steps--horizontal .pf-progress-steps__marker-wrap {
44
+ flex: 1;
45
+ position: relative;
46
+ width: 100%;
47
+ }
48
+ }
49
+
50
+ .pf-progress-steps__marker {
51
+ align-items: center;
52
+ background: var(--pf-progress-steps-bg);
53
+ border: 1px solid var(--pf-progress-steps-border);
54
+ border-radius: 999px;
55
+ color: var(--pf-progress-steps-text-muted);
56
+ display: inline-flex;
57
+ flex: 0 0 auto;
58
+ font-size: var(--font-size-xs);
59
+ font-weight: var(--font-weight-semibold);
60
+ height: 28px;
61
+ justify-content: center;
62
+ width: 28px;
63
+ position: relative;
64
+ z-index: 1;
65
+ }
66
+
67
+ .pf-progress-steps__connector {
68
+ background: var(--pf-progress-steps-border);
69
+ display: block;
70
+ flex: 1;
71
+ margin-left: var(--space-2);
72
+ }
73
+
74
+ .pf-progress-steps--horizontal .pf-progress-steps__connector {
75
+ display: none;
76
+ }
77
+
78
+ @media (min-width: 640px) {
79
+ .pf-progress-steps--horizontal .pf-progress-steps__connector {
80
+ display: block;
81
+ height: 1px;
82
+ left: 50%;
83
+ margin-left: 0;
84
+ position: absolute;
85
+ top: 50%;
86
+ transform: translateY(-50%);
87
+ width: calc(100% + var(--pf-progresssteps-progress-step-gap, var(--pf-progress-step-gap)));
88
+ z-index: 0;
89
+ }
90
+ }
91
+
92
+ .pf-progress-steps--horizontal .pf-progress-steps__item {
93
+ align-items: center;
94
+ flex-direction: column;
95
+ gap: var(--space-2);
96
+ }
97
+
98
+ .pf-progress-steps--horizontal .pf-progress-steps__content {
99
+ text-align: center;
100
+ }
101
+
102
+ .pf-progress-steps--vertical .pf-progress-steps__item {
103
+ align-items: flex-start;
104
+ position: relative;
105
+ }
106
+
107
+ .pf-progress-steps--vertical .pf-progress-steps__marker-wrap {
108
+ align-items: center;
109
+ flex-direction: column;
110
+ }
111
+
112
+ .pf-progress-steps--vertical .pf-progress-steps__connector {
113
+ bottom: calc(var(--space-3) * -1);
114
+ left: 14px;
115
+ margin: 0;
116
+ position: absolute;
117
+ top: 28px;
118
+ width: 1px;
119
+ }
120
+
121
+ .pf-progress-steps__content {
122
+ min-width: 0;
123
+ }
124
+
125
+ .pf-progress-steps__title {
126
+ color: var(--pf-progress-steps-text);
127
+ font-size: var(--font-size-sm);
128
+ font-weight: var(--font-weight-semibold);
129
+ margin: var(--space-1) 0 0;
130
+ }
131
+
132
+ .pf-progress-steps__description {
133
+ color: var(--pf-progress-steps-text-muted);
134
+ font-size: var(--font-size-sm);
135
+ line-height: 1.4;
136
+ margin: var(--space-1) 0 0;
137
+ }
138
+
139
+ .pf-progress-steps__item--complete .pf-progress-steps__marker {
140
+ background: var(--pf-progress-steps-complete-bg);
141
+ border-color: var(--pf-progress-steps-complete-border);
142
+ color: var(--pf-progress-steps-complete-text);
143
+ }
144
+
145
+ .pf-progress-steps__item--current .pf-progress-steps__marker {
146
+ background: var(--pf-progress-steps-current-bg);
147
+ border-color: var(--pf-progress-steps-current-border);
148
+ box-shadow: var(--focus-ring-shadow);
149
+ color: var(--pf-progress-steps-current-text);
150
+ }
151
+
152
+ .pf-progress-steps__item--complete .pf-progress-steps__connector {
153
+ background: var(--pf-progress-steps-complete-border);
154
+ }
155
+
156
+ .pf-progress-steps__item--current .pf-progress-steps__title {
157
+ color: var(--pf-progress-steps-current-title);
158
+ }
@@ -1,5 +1,5 @@
1
- import { cx } from "./index4.js";
2
- /* empty css */
1
+ import { cx } from "../../utils/cx.js";
2
+ import './ProgressSteps.css';/* empty css */
3
3
  import { forwardRef } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/ProgressSteps/ProgressSteps.tsx
@@ -0,0 +1,97 @@
1
+ .pf-radar-chart {
2
+ align-items: stretch;
3
+ display: inline-flex;
4
+ flex-direction: column;
5
+ gap: var(--space-4);
6
+ }
7
+
8
+ @media (min-width: 640px) {
9
+ .pf-radar-chart {
10
+ align-items: center;
11
+ flex-direction: row;
12
+ gap: var(--space-6);
13
+ }
14
+ }
15
+
16
+ .pf-radar-chart__svg {
17
+ display: block;
18
+ height: auto;
19
+ overflow: visible;
20
+ width: min(100%, 320px);
21
+ }
22
+
23
+ .pf-radar-chart__grid {
24
+ fill: none;
25
+ stroke: var(--pf-radar-grid-stroke);
26
+ stroke-width: 1;
27
+ }
28
+
29
+ .pf-radar-chart__axis {
30
+ stroke: var(--pf-radar-axis-stroke);
31
+ stroke-width: 1;
32
+ }
33
+
34
+ .pf-radar-chart__area {
35
+ fill-opacity: 1;
36
+ stroke-width: 2;
37
+ }
38
+
39
+ .pf-radar-chart__point {
40
+ stroke: var(--pf-radar-point-stroke);
41
+ stroke-width: 1.5;
42
+ }
43
+
44
+ .pf-radar-chart__label {
45
+ fill: var(--pf-radar-label);
46
+ font-size: var(--font-size-2xs);
47
+ font-weight: var(--font-weight-medium);
48
+ }
49
+
50
+ .pf-radar-chart__legend {
51
+ display: grid;
52
+ gap: var(--space-2);
53
+ list-style: none;
54
+ margin: 0;
55
+ min-width: 0;
56
+ padding: 0;
57
+ width: 100%;
58
+ }
59
+
60
+ @media (min-width: 640px) {
61
+ .pf-radar-chart__legend {
62
+ min-width: 140px;
63
+ width: auto;
64
+ }
65
+ }
66
+
67
+ .pf-radar-chart__legend-item {
68
+ align-items: center;
69
+ display: flex;
70
+ gap: var(--space-2);
71
+ justify-content: space-between;
72
+ }
73
+
74
+ .pf-radar-chart__legend-label {
75
+ color: var(--pf-radar-legend-text);
76
+ font-size: var(--font-size-sm);
77
+ }
78
+
79
+ .pf-radar-chart__legend-value {
80
+ color: var(--pf-radar-legend-value);
81
+ font-size: var(--font-size-sm);
82
+ font-variant-numeric: tabular-nums;
83
+ }
84
+
85
+ .pf-radar-chart__empty {
86
+ align-items: center;
87
+ border: 1px dashed var(--pf-radar-empty-border);
88
+ border-radius: var(--radius-md);
89
+ color: var(--pf-radar-empty-text);
90
+ display: inline-flex;
91
+ font-size: var(--font-size-sm);
92
+ justify-content: center;
93
+ min-height: 180px;
94
+ min-width: 260px;
95
+ padding: var(--space-4);
96
+ text-align: center;
97
+ }
@@ -1,5 +1,5 @@
1
- import { cx } from "./index4.js";
2
- /* empty css */
1
+ import { cx } from "../../utils/cx.js";
2
+ import './RadarChart.css';/* empty css */
3
3
  import { forwardRef } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/RadarChart/RadarChart.tsx
@@ -0,0 +1,21 @@
1
+ .pf-radio-field {
2
+ align-items: center;
3
+ display: inline-flex;
4
+ gap: var(--space-2);
5
+ }
6
+
7
+ .pf-radio {
8
+ accent-color: var(--pf-radio-checked-color);
9
+ height: 18px;
10
+ width: 18px;
11
+ }
12
+
13
+ .pf-radio:focus-visible {
14
+ box-shadow: var(--pf-radio-focus-ring, var(--pf-focus-ring));
15
+ outline: none;
16
+ }
17
+
18
+ .pf-radio-field label {
19
+ color: var(--pf-radio-label-text);
20
+ font-size: var(--font-size-md);
21
+ }
@@ -1,5 +1,5 @@
1
- import { cx } from "./index4.js";
2
- /* empty css */
1
+ import { cx } from "../../utils/cx.js";
2
+ import './RadioButton.css';/* empty css */
3
3
  import { forwardRef, useId } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/RadioButton/RadioButton.tsx