@opensite/ui 1.3.2 → 1.3.4

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 (167) hide show
  1. package/dist/footer-accordion-social.cjs +1344 -0
  2. package/dist/footer-accordion-social.d.cts +154 -0
  3. package/dist/footer-accordion-social.d.ts +154 -0
  4. package/dist/footer-accordion-social.js +1322 -0
  5. package/dist/footer-info-cards-accordion.cjs +1427 -0
  6. package/dist/footer-info-cards-accordion.d.cts +278 -0
  7. package/dist/footer-info-cards-accordion.d.ts +278 -0
  8. package/dist/footer-info-cards-accordion.js +1404 -0
  9. package/dist/footer-newsletter-contact.cjs +1281 -0
  10. package/dist/footer-newsletter-contact.d.cts +163 -0
  11. package/dist/footer-newsletter-contact.d.ts +163 -0
  12. package/dist/footer-newsletter-contact.js +1259 -0
  13. package/dist/footer-split-image-accordion.cjs +1395 -0
  14. package/dist/footer-split-image-accordion.d.cts +236 -0
  15. package/dist/footer-split-image-accordion.d.ts +236 -0
  16. package/dist/footer-split-image-accordion.js +1372 -0
  17. package/dist/list-achievements-showcase.cjs +1141 -0
  18. package/dist/list-achievements-showcase.d.cts +131 -0
  19. package/dist/list-achievements-showcase.d.ts +131 -0
  20. package/dist/list-achievements-showcase.js +1119 -0
  21. package/dist/list-career-timeline.cjs +531 -0
  22. package/dist/list-career-timeline.d.cts +153 -0
  23. package/dist/list-career-timeline.d.ts +153 -0
  24. package/dist/list-career-timeline.js +509 -0
  25. package/dist/list-feature-comparison.cjs +1211 -0
  26. package/dist/list-feature-comparison.d.cts +189 -0
  27. package/dist/list-feature-comparison.d.ts +189 -0
  28. package/dist/list-feature-comparison.js +1190 -0
  29. package/dist/list-metrics-dashboard.cjs +1402 -0
  30. package/dist/list-metrics-dashboard.d.cts +191 -0
  31. package/dist/list-metrics-dashboard.d.ts +191 -0
  32. package/dist/list-metrics-dashboard.js +1379 -0
  33. package/dist/list-service-category-table.cjs +762 -0
  34. package/dist/list-service-category-table.d.cts +135 -0
  35. package/dist/list-service-category-table.d.ts +135 -0
  36. package/dist/list-service-category-table.js +741 -0
  37. package/dist/offer-modal-membership-image.cjs +1361 -0
  38. package/dist/offer-modal-membership-image.d.cts +194 -0
  39. package/dist/offer-modal-membership-image.d.ts +194 -0
  40. package/dist/offer-modal-membership-image.js +1339 -0
  41. package/dist/offer-modal-newsletter-discount.cjs +1296 -0
  42. package/dist/offer-modal-newsletter-discount.d.cts +164 -0
  43. package/dist/offer-modal-newsletter-discount.d.ts +164 -0
  44. package/dist/offer-modal-newsletter-discount.js +1274 -0
  45. package/dist/offer-modal-sheet-newsletter.cjs +1360 -0
  46. package/dist/offer-modal-sheet-newsletter.d.cts +221 -0
  47. package/dist/offer-modal-sheet-newsletter.d.ts +221 -0
  48. package/dist/offer-modal-sheet-newsletter.js +1337 -0
  49. package/dist/pricing-addons-cards.cjs +1143 -0
  50. package/dist/pricing-addons-cards.d.cts +203 -0
  51. package/dist/pricing-addons-cards.d.ts +203 -0
  52. package/dist/pricing-addons-cards.js +1122 -0
  53. package/dist/pricing-addons-featured.cjs +1224 -0
  54. package/dist/pricing-addons-featured.d.cts +271 -0
  55. package/dist/pricing-addons-featured.d.ts +271 -0
  56. package/dist/pricing-addons-featured.js +1203 -0
  57. package/dist/pricing-collapsible-plans.cjs +1315 -0
  58. package/dist/pricing-collapsible-plans.d.cts +258 -0
  59. package/dist/pricing-collapsible-plans.d.ts +258 -0
  60. package/dist/pricing-collapsible-plans.js +1294 -0
  61. package/dist/pricing-columns-toggle.cjs +1234 -0
  62. package/dist/pricing-columns-toggle.d.cts +251 -0
  63. package/dist/pricing-columns-toggle.d.ts +251 -0
  64. package/dist/pricing-columns-toggle.js +1212 -0
  65. package/dist/pricing-comparison-headers.cjs +1235 -0
  66. package/dist/pricing-comparison-headers.d.cts +245 -0
  67. package/dist/pricing-comparison-headers.d.ts +245 -0
  68. package/dist/pricing-comparison-headers.js +1213 -0
  69. package/dist/pricing-comparison-table.cjs +1374 -0
  70. package/dist/pricing-comparison-table.d.cts +280 -0
  71. package/dist/pricing-comparison-table.d.ts +280 -0
  72. package/dist/pricing-comparison-table.js +1352 -0
  73. package/dist/pricing-discount-card.cjs +1217 -0
  74. package/dist/pricing-discount-card.d.cts +195 -0
  75. package/dist/pricing-discount-card.d.ts +195 -0
  76. package/dist/pricing-discount-card.js +1195 -0
  77. package/dist/pricing-enterprise-contact.cjs +1094 -0
  78. package/dist/pricing-enterprise-contact.d.cts +170 -0
  79. package/dist/pricing-enterprise-contact.d.ts +170 -0
  80. package/dist/pricing-enterprise-contact.js +1073 -0
  81. package/dist/pricing-feature-matrix.cjs +1197 -0
  82. package/dist/pricing-feature-matrix.d.cts +56 -0
  83. package/dist/pricing-feature-matrix.d.ts +56 -0
  84. package/dist/pricing-feature-matrix.js +1174 -0
  85. package/dist/pricing-four-tier-toggle.cjs +1320 -0
  86. package/dist/pricing-four-tier-toggle.d.cts +266 -0
  87. package/dist/pricing-four-tier-toggle.d.ts +266 -0
  88. package/dist/pricing-four-tier-toggle.js +1297 -0
  89. package/dist/pricing-full-comparison.cjs +1301 -0
  90. package/dist/pricing-full-comparison.d.cts +265 -0
  91. package/dist/pricing-full-comparison.d.ts +265 -0
  92. package/dist/pricing-full-comparison.js +1279 -0
  93. package/dist/pricing-gradient-cards.cjs +1248 -0
  94. package/dist/pricing-gradient-cards.d.cts +258 -0
  95. package/dist/pricing-gradient-cards.d.ts +258 -0
  96. package/dist/pricing-gradient-cards.js +1226 -0
  97. package/dist/pricing-icon-headers.cjs +1163 -0
  98. package/dist/pricing-icon-headers.d.cts +218 -0
  99. package/dist/pricing-icon-headers.d.ts +218 -0
  100. package/dist/pricing-icon-headers.js +1142 -0
  101. package/dist/pricing-minimal-cards.cjs +1146 -0
  102. package/dist/pricing-minimal-cards.d.cts +210 -0
  103. package/dist/pricing-minimal-cards.d.ts +210 -0
  104. package/dist/pricing-minimal-cards.js +1125 -0
  105. package/dist/pricing-packages-radio.cjs +1203 -0
  106. package/dist/pricing-packages-radio.d.cts +243 -0
  107. package/dist/pricing-packages-radio.d.ts +243 -0
  108. package/dist/pricing-packages-radio.js +1182 -0
  109. package/dist/pricing-popular-highlight.cjs +1293 -0
  110. package/dist/pricing-popular-highlight.d.cts +255 -0
  111. package/dist/pricing-popular-highlight.d.ts +255 -0
  112. package/dist/pricing-popular-highlight.js +1271 -0
  113. package/dist/pricing-radio-toggle.cjs +1277 -0
  114. package/dist/pricing-radio-toggle.d.cts +251 -0
  115. package/dist/pricing-radio-toggle.d.ts +251 -0
  116. package/dist/pricing-radio-toggle.js +1255 -0
  117. package/dist/pricing-responsive-table.cjs +1229 -0
  118. package/dist/pricing-responsive-table.d.cts +55 -0
  119. package/dist/pricing-responsive-table.d.ts +55 -0
  120. package/dist/pricing-responsive-table.js +1206 -0
  121. package/dist/pricing-services-cards.cjs +1209 -0
  122. package/dist/pricing-services-cards.d.cts +230 -0
  123. package/dist/pricing-services-cards.d.ts +230 -0
  124. package/dist/pricing-services-cards.js +1188 -0
  125. package/dist/pricing-simple-card.cjs +1102 -0
  126. package/dist/pricing-simple-card.d.cts +174 -0
  127. package/dist/pricing-simple-card.d.ts +174 -0
  128. package/dist/pricing-simple-card.js +1081 -0
  129. package/dist/pricing-single-card.cjs +1174 -0
  130. package/dist/pricing-single-card.d.cts +201 -0
  131. package/dist/pricing-single-card.d.ts +201 -0
  132. package/dist/pricing-single-card.js +1152 -0
  133. package/dist/pricing-split-layout.cjs +1001 -0
  134. package/dist/pricing-split-layout.d.cts +44 -0
  135. package/dist/pricing-split-layout.d.ts +44 -0
  136. package/dist/pricing-split-layout.js +980 -0
  137. package/dist/pricing-spotlight-card.cjs +1157 -0
  138. package/dist/pricing-spotlight-card.d.cts +201 -0
  139. package/dist/pricing-spotlight-card.d.ts +201 -0
  140. package/dist/pricing-spotlight-card.js +1136 -0
  141. package/dist/pricing-switch-cards.cjs +1274 -0
  142. package/dist/pricing-switch-cards.d.cts +254 -0
  143. package/dist/pricing-switch-cards.d.ts +254 -0
  144. package/dist/pricing-switch-cards.js +1252 -0
  145. package/dist/pricing-tabs-toggle.cjs +1314 -0
  146. package/dist/pricing-tabs-toggle.d.cts +274 -0
  147. package/dist/pricing-tabs-toggle.d.ts +274 -0
  148. package/dist/pricing-tabs-toggle.js +1291 -0
  149. package/dist/pricing-tier-grid.cjs +1190 -0
  150. package/dist/pricing-tier-grid.d.cts +224 -0
  151. package/dist/pricing-tier-grid.d.ts +224 -0
  152. package/dist/pricing-tier-grid.js +1169 -0
  153. package/dist/pricing-toggle-cards.cjs +1330 -0
  154. package/dist/pricing-toggle-cards.d.cts +267 -0
  155. package/dist/pricing-toggle-cards.d.ts +267 -0
  156. package/dist/pricing-toggle-cards.js +1307 -0
  157. package/dist/pricing-toggle-period.cjs +1251 -0
  158. package/dist/pricing-toggle-period.d.cts +265 -0
  159. package/dist/pricing-toggle-period.d.ts +265 -0
  160. package/dist/pricing-toggle-period.js +1230 -0
  161. package/dist/pricing-two-column-basic.cjs +1243 -0
  162. package/dist/pricing-two-column-basic.d.cts +244 -0
  163. package/dist/pricing-two-column-basic.d.ts +244 -0
  164. package/dist/pricing-two-column-basic.js +1222 -0
  165. package/dist/registry.cjs +109 -85
  166. package/dist/registry.js +931 -907
  167. package/package.json +1 -1
@@ -0,0 +1,191 @@
1
+ import * as React from 'react';
2
+ import { f as SectionBackground, g as SectionSpacing, t as PatternName } from './community-initiatives-Bz_A5vLU.cjs';
3
+ import { A as ActionConfig } from './blocks-Cohq4eio.cjs';
4
+ import 'react/jsx-runtime';
5
+ import 'class-variance-authority';
6
+ import './button-variants-lRElsmTc.cjs';
7
+ import 'class-variance-authority/types';
8
+
9
+ interface ListMetricItem {
10
+ /**
11
+ * Unique identifier for the metric
12
+ */
13
+ id: string;
14
+ /**
15
+ * Icon name for the metric (e.g., "lucide/zap")
16
+ */
17
+ icon?: string;
18
+ /**
19
+ * Display name of the metric
20
+ */
21
+ name?: string;
22
+ /**
23
+ * Current value of the metric
24
+ */
25
+ value?: string;
26
+ /**
27
+ * Previous value for comparison
28
+ */
29
+ previousValue?: string;
30
+ /**
31
+ * Percentage change from previous value
32
+ */
33
+ changePercentage?: number;
34
+ /**
35
+ * Status indicator for styling
36
+ */
37
+ status?: "positive" | "negative" | "neutral" | "warning";
38
+ /**
39
+ * Category for filtering
40
+ */
41
+ category?: string;
42
+ /**
43
+ * Additional info tooltip text
44
+ */
45
+ info?: string;
46
+ }
47
+ interface ListMetricsDashboardProps {
48
+ /**
49
+ * Badge content displayed above the heading
50
+ */
51
+ badge?: React.ReactNode;
52
+ /**
53
+ * Custom slot for rendering badge (overrides badge)
54
+ */
55
+ badgeSlot?: React.ReactNode;
56
+ /**
57
+ * Additional CSS classes for the badge
58
+ */
59
+ badgeClassName?: string;
60
+ /**
61
+ * Main heading content
62
+ */
63
+ heading?: React.ReactNode;
64
+ /**
65
+ * Additional CSS classes for the heading
66
+ */
67
+ headingClassName?: string;
68
+ /**
69
+ * Description content below the heading
70
+ */
71
+ description?: React.ReactNode;
72
+ /**
73
+ * Additional CSS classes for the description
74
+ */
75
+ descriptionClassName?: string;
76
+ /**
77
+ * Array of metric items to display
78
+ */
79
+ metrics?: ListMetricItem[];
80
+ /**
81
+ * Custom slot for rendering metrics (overrides metrics array)
82
+ */
83
+ metricsSlot?: React.ReactNode;
84
+ /**
85
+ * Additional CSS classes for the metrics container
86
+ */
87
+ metricsClassName?: string;
88
+ /**
89
+ * Categories for tab filtering
90
+ */
91
+ categories?: {
92
+ value: string;
93
+ label: string;
94
+ }[];
95
+ /**
96
+ * Last updated content
97
+ */
98
+ lastUpdated?: React.ReactNode;
99
+ /**
100
+ * Additional CSS classes for the last updated text
101
+ */
102
+ lastUpdatedClassName?: string;
103
+ /**
104
+ * Dashboard action configuration
105
+ */
106
+ dashboardAction?: ActionConfig;
107
+ /**
108
+ * Custom slot for rendering dashboard action (overrides dashboardAction)
109
+ */
110
+ dashboardActionSlot?: React.ReactNode;
111
+ /**
112
+ * Additional CSS classes for the dashboard action
113
+ */
114
+ dashboardActionClassName?: string;
115
+ /**
116
+ * Additional CSS classes for the card
117
+ */
118
+ cardClassName?: string;
119
+ /**
120
+ * Additional CSS classes for the tabs
121
+ */
122
+ tabsClassName?: string;
123
+ /**
124
+ * Additional CSS classes for the header section
125
+ */
126
+ headerClassName?: string;
127
+ /**
128
+ * Additional CSS classes for the footer section
129
+ */
130
+ footerClassName?: string;
131
+ /**
132
+ * Additional CSS classes for the section wrapper
133
+ */
134
+ className?: string;
135
+ /**
136
+ * Background style for the section
137
+ */
138
+ background?: SectionBackground;
139
+ /**
140
+ * Vertical spacing for the section
141
+ */
142
+ spacing?: SectionSpacing;
143
+ /**
144
+ * Optional background pattern name or URL
145
+ */
146
+ pattern?: PatternName | undefined;
147
+ /**
148
+ * Pattern overlay opacity (0-1)
149
+ */
150
+ patternOpacity?: number;
151
+ /**
152
+ * Controlled active tab value
153
+ */
154
+ activeCategory?: string;
155
+ /**
156
+ * Callback when active category changes
157
+ */
158
+ onActiveCategoryChange?: (category: string) => void;
159
+ }
160
+ /**
161
+ * ListMetricsDashboard - A comprehensive metrics dashboard with tabbed category filtering,
162
+ * status indicators, change percentages, and tooltips. Features a mobile-friendly dropdown
163
+ * for category selection and a responsive grid layout for metric items.
164
+ *
165
+ * Perfect for admin dashboards, analytics pages, or status monitoring displays
166
+ * showcasing KPIs across multiple categories like performance, security, users, and business.
167
+ *
168
+ * @example
169
+ * ```tsx
170
+ * <ListMetricsDashboard
171
+ * badge="System Metrics"
172
+ * heading="Platform Health & Performance"
173
+ * description="Key metrics across our infrastructure, security, and business operations."
174
+ * metrics={[
175
+ * {
176
+ * id: "uptime",
177
+ * icon: "lucide/server",
178
+ * name: "System Uptime",
179
+ * value: "99.99%",
180
+ * changePercentage: 0.02,
181
+ * status: "positive",
182
+ * category: "performance"
183
+ * }
184
+ * ]}
185
+ * dashboardAction={{ label: "View complete dashboard", href: "/dashboard" }}
186
+ * />
187
+ * ```
188
+ */
189
+ declare function ListMetricsDashboard({ badge, badgeSlot, badgeClassName, heading, headingClassName, description, descriptionClassName, metrics, metricsSlot, metricsClassName, categories, lastUpdated, lastUpdatedClassName, dashboardAction, dashboardActionSlot, dashboardActionClassName, cardClassName, tabsClassName, headerClassName, footerClassName, className, background, spacing, pattern, patternOpacity, activeCategory: controlledActiveCategory, onActiveCategoryChange, }: ListMetricsDashboardProps): React.JSX.Element;
190
+
191
+ export { ListMetricsDashboard, type ListMetricsDashboardProps };
@@ -0,0 +1,191 @@
1
+ import * as React from 'react';
2
+ import { f as SectionBackground, g as SectionSpacing, t as PatternName } from './community-initiatives-Bi_ClKrO.js';
3
+ import { A as ActionConfig } from './blocks-k17uluAz.js';
4
+ import 'react/jsx-runtime';
5
+ import 'class-variance-authority';
6
+ import './button-variants-lRElsmTc.js';
7
+ import 'class-variance-authority/types';
8
+
9
+ interface ListMetricItem {
10
+ /**
11
+ * Unique identifier for the metric
12
+ */
13
+ id: string;
14
+ /**
15
+ * Icon name for the metric (e.g., "lucide/zap")
16
+ */
17
+ icon?: string;
18
+ /**
19
+ * Display name of the metric
20
+ */
21
+ name?: string;
22
+ /**
23
+ * Current value of the metric
24
+ */
25
+ value?: string;
26
+ /**
27
+ * Previous value for comparison
28
+ */
29
+ previousValue?: string;
30
+ /**
31
+ * Percentage change from previous value
32
+ */
33
+ changePercentage?: number;
34
+ /**
35
+ * Status indicator for styling
36
+ */
37
+ status?: "positive" | "negative" | "neutral" | "warning";
38
+ /**
39
+ * Category for filtering
40
+ */
41
+ category?: string;
42
+ /**
43
+ * Additional info tooltip text
44
+ */
45
+ info?: string;
46
+ }
47
+ interface ListMetricsDashboardProps {
48
+ /**
49
+ * Badge content displayed above the heading
50
+ */
51
+ badge?: React.ReactNode;
52
+ /**
53
+ * Custom slot for rendering badge (overrides badge)
54
+ */
55
+ badgeSlot?: React.ReactNode;
56
+ /**
57
+ * Additional CSS classes for the badge
58
+ */
59
+ badgeClassName?: string;
60
+ /**
61
+ * Main heading content
62
+ */
63
+ heading?: React.ReactNode;
64
+ /**
65
+ * Additional CSS classes for the heading
66
+ */
67
+ headingClassName?: string;
68
+ /**
69
+ * Description content below the heading
70
+ */
71
+ description?: React.ReactNode;
72
+ /**
73
+ * Additional CSS classes for the description
74
+ */
75
+ descriptionClassName?: string;
76
+ /**
77
+ * Array of metric items to display
78
+ */
79
+ metrics?: ListMetricItem[];
80
+ /**
81
+ * Custom slot for rendering metrics (overrides metrics array)
82
+ */
83
+ metricsSlot?: React.ReactNode;
84
+ /**
85
+ * Additional CSS classes for the metrics container
86
+ */
87
+ metricsClassName?: string;
88
+ /**
89
+ * Categories for tab filtering
90
+ */
91
+ categories?: {
92
+ value: string;
93
+ label: string;
94
+ }[];
95
+ /**
96
+ * Last updated content
97
+ */
98
+ lastUpdated?: React.ReactNode;
99
+ /**
100
+ * Additional CSS classes for the last updated text
101
+ */
102
+ lastUpdatedClassName?: string;
103
+ /**
104
+ * Dashboard action configuration
105
+ */
106
+ dashboardAction?: ActionConfig;
107
+ /**
108
+ * Custom slot for rendering dashboard action (overrides dashboardAction)
109
+ */
110
+ dashboardActionSlot?: React.ReactNode;
111
+ /**
112
+ * Additional CSS classes for the dashboard action
113
+ */
114
+ dashboardActionClassName?: string;
115
+ /**
116
+ * Additional CSS classes for the card
117
+ */
118
+ cardClassName?: string;
119
+ /**
120
+ * Additional CSS classes for the tabs
121
+ */
122
+ tabsClassName?: string;
123
+ /**
124
+ * Additional CSS classes for the header section
125
+ */
126
+ headerClassName?: string;
127
+ /**
128
+ * Additional CSS classes for the footer section
129
+ */
130
+ footerClassName?: string;
131
+ /**
132
+ * Additional CSS classes for the section wrapper
133
+ */
134
+ className?: string;
135
+ /**
136
+ * Background style for the section
137
+ */
138
+ background?: SectionBackground;
139
+ /**
140
+ * Vertical spacing for the section
141
+ */
142
+ spacing?: SectionSpacing;
143
+ /**
144
+ * Optional background pattern name or URL
145
+ */
146
+ pattern?: PatternName | undefined;
147
+ /**
148
+ * Pattern overlay opacity (0-1)
149
+ */
150
+ patternOpacity?: number;
151
+ /**
152
+ * Controlled active tab value
153
+ */
154
+ activeCategory?: string;
155
+ /**
156
+ * Callback when active category changes
157
+ */
158
+ onActiveCategoryChange?: (category: string) => void;
159
+ }
160
+ /**
161
+ * ListMetricsDashboard - A comprehensive metrics dashboard with tabbed category filtering,
162
+ * status indicators, change percentages, and tooltips. Features a mobile-friendly dropdown
163
+ * for category selection and a responsive grid layout for metric items.
164
+ *
165
+ * Perfect for admin dashboards, analytics pages, or status monitoring displays
166
+ * showcasing KPIs across multiple categories like performance, security, users, and business.
167
+ *
168
+ * @example
169
+ * ```tsx
170
+ * <ListMetricsDashboard
171
+ * badge="System Metrics"
172
+ * heading="Platform Health & Performance"
173
+ * description="Key metrics across our infrastructure, security, and business operations."
174
+ * metrics={[
175
+ * {
176
+ * id: "uptime",
177
+ * icon: "lucide/server",
178
+ * name: "System Uptime",
179
+ * value: "99.99%",
180
+ * changePercentage: 0.02,
181
+ * status: "positive",
182
+ * category: "performance"
183
+ * }
184
+ * ]}
185
+ * dashboardAction={{ label: "View complete dashboard", href: "/dashboard" }}
186
+ * />
187
+ * ```
188
+ */
189
+ declare function ListMetricsDashboard({ badge, badgeSlot, badgeClassName, heading, headingClassName, description, descriptionClassName, metrics, metricsSlot, metricsClassName, categories, lastUpdated, lastUpdatedClassName, dashboardAction, dashboardActionSlot, dashboardActionClassName, cardClassName, tabsClassName, headerClassName, footerClassName, className, background, spacing, pattern, patternOpacity, activeCategory: controlledActiveCategory, onActiveCategoryChange, }: ListMetricsDashboardProps): React.JSX.Element;
190
+
191
+ export { ListMetricsDashboard, type ListMetricsDashboardProps };