@wso2/oxygen-ui 0.25.0 → 0.27.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 (70) hide show
  1. package/.ai/AGENTS.md +2 -7
  2. package/.ai/components.md +36 -37
  3. package/.ai/patterns.md +0 -4
  4. package/.ai/theming.md +0 -11
  5. package/.claude/components.md +80 -37
  6. package/.claude/patterns.md +0 -4
  7. package/.claude/skills/oxygen-layout/SKILL.md +1 -1
  8. package/.claude/skills/oxygen-migrate/SKILL.md +1 -1
  9. package/.claude/theming.md +0 -8
  10. package/README.md +1 -1
  11. package/bin/cli.js +1 -1
  12. package/dist/animations/PageLoader/PageLoader.d.ts +92 -0
  13. package/dist/animations/PageLoader/PageLoaderIcon.d.ts +20 -0
  14. package/dist/animations/PageLoader/PageLoaderWordmark.d.ts +19 -0
  15. package/dist/animations/PageLoader/index.d.ts +4 -0
  16. package/dist/animations/index.d.ts +2 -0
  17. package/dist/components/AppShell/AppShell.d.ts +1 -1
  18. package/dist/components/AppShell/AppShellFooter.d.ts +1 -1
  19. package/dist/components/AppSwitcher/AppSwitcher.d.ts +12 -9
  20. package/dist/components/AppSwitcher/AppSwitcherApp.d.ts +19 -10
  21. package/dist/components/AppSwitcher/AppSwitcherFooter.d.ts +6 -6
  22. package/dist/components/AppSwitcher/AppSwitcherSection.d.ts +21 -7
  23. package/dist/components/AppSwitcher/AppSwitcherTrigger.d.ts +1 -1
  24. package/dist/components/Button/Button.d.ts +19 -0
  25. package/dist/components/Button/index.d.ts +2 -0
  26. package/dist/components/ContextSwitcher/ContextSwitcher.d.ts +1 -1
  27. package/dist/components/Footer/FooterLink.d.ts +6 -2
  28. package/dist/components/HeaderBreadcrumbs/persistence.d.ts +1 -1
  29. package/dist/components/HeaderBreadcrumbs/useHeaderBreadcrumbs.d.ts +1 -1
  30. package/dist/components/StatusIllustration/StatusIllustration.d.ts +49 -0
  31. package/dist/components/StatusIllustration/illustrationStyles.d.ts +212 -0
  32. package/dist/components/StatusIllustration/illustrations/FailedIllustration.d.ts +3 -0
  33. package/dist/components/StatusIllustration/illustrations/Http200Illustration.d.ts +3 -0
  34. package/dist/components/StatusIllustration/illustrations/Http201Illustration.d.ts +3 -0
  35. package/dist/components/StatusIllustration/illustrations/Http204Illustration.d.ts +3 -0
  36. package/dist/components/StatusIllustration/illustrations/Http301Illustration.d.ts +3 -0
  37. package/dist/components/StatusIllustration/illustrations/Http302Illustration.d.ts +3 -0
  38. package/dist/components/StatusIllustration/illustrations/Http304Illustration.d.ts +3 -0
  39. package/dist/components/StatusIllustration/illustrations/Http400Illustration.d.ts +3 -0
  40. package/dist/components/StatusIllustration/illustrations/Http401Illustration.d.ts +3 -0
  41. package/dist/components/StatusIllustration/illustrations/Http403Illustration.d.ts +3 -0
  42. package/dist/components/StatusIllustration/illustrations/Http404Illustration.d.ts +3 -0
  43. package/dist/components/StatusIllustration/illustrations/Http405Illustration.d.ts +3 -0
  44. package/dist/components/StatusIllustration/illustrations/Http408Illustration.d.ts +3 -0
  45. package/dist/components/StatusIllustration/illustrations/Http409Illustration.d.ts +3 -0
  46. package/dist/components/StatusIllustration/illustrations/Http422Illustration.d.ts +3 -0
  47. package/dist/components/StatusIllustration/illustrations/Http429Illustration.d.ts +3 -0
  48. package/dist/components/StatusIllustration/illustrations/Http500Illustration.d.ts +3 -0
  49. package/dist/components/StatusIllustration/illustrations/Http502Illustration.d.ts +3 -0
  50. package/dist/components/StatusIllustration/illustrations/Http503Illustration.d.ts +3 -0
  51. package/dist/components/StatusIllustration/illustrations/Http504Illustration.d.ts +3 -0
  52. package/dist/components/StatusIllustration/illustrations/MailSentIllustration.d.ts +3 -0
  53. package/dist/components/StatusIllustration/illustrations/NoRecordsIllustration.d.ts +3 -0
  54. package/dist/components/StatusIllustration/illustrations/UnsuccessfulIllustration.d.ts +3 -0
  55. package/dist/components/StatusIllustration/illustrations/index.d.ts +12 -0
  56. package/dist/components/StatusIllustration/index.d.ts +2 -0
  57. package/dist/components/StatusIllustration/types.d.ts +2 -0
  58. package/dist/components/StatusIllustration/useIllustrationId.d.ts +5 -0
  59. package/dist/components/TimeRangeFilter/TimeRangeFilter.d.ts +3 -2
  60. package/dist/components/TrialBadge/TrialBadge.d.ts +8 -8
  61. package/dist/components/index.d.ts +4 -0
  62. package/dist/index.d.ts +3 -2
  63. package/dist/index.js +3931 -2961
  64. package/dist/index.js.map +4 -4
  65. package/dist/styles/OxygenThemeBase.d.ts +166 -1
  66. package/dist/styles/Themes/index.d.ts +0 -3
  67. package/dist/utils/createOxygenTheme.d.ts +2 -2
  68. package/package.json +5 -3
  69. package/dist/components/AppSwitcher/brand.d.ts +0 -49
  70. package/dist/styles/Themes/WSO2Theme.d.ts +0 -20
@@ -0,0 +1,212 @@
1
+ /**
2
+ * Class styles shared by every status illustration. Colours come from the `--illustration-*`
3
+ * CSS variables, which StatusIllustration maps to the theme palette.
4
+ */
5
+ declare const illustrationStyles: {
6
+ readonly '& .ho-h': {
7
+ readonly fill: "none";
8
+ readonly stroke: "var(--illustration-primary,#2450F0)";
9
+ readonly strokeLinecap: "round";
10
+ };
11
+ readonly '& .ho-h3': {
12
+ readonly strokeWidth: "1";
13
+ readonly opacity: ".45";
14
+ };
15
+ readonly '& .ho-h2': {
16
+ readonly strokeWidth: "1.7";
17
+ readonly opacity: ".7";
18
+ };
19
+ readonly '& .ho-h1': {
20
+ readonly strokeWidth: "2.5";
21
+ readonly opacity: ".9";
22
+ };
23
+ readonly '& .ho-hl': {
24
+ readonly fill: "none";
25
+ readonly stroke: "var(--illustration-ink,#33415C)";
26
+ readonly strokeWidth: "1.8";
27
+ readonly strokeLinecap: "round";
28
+ readonly opacity: ".75";
29
+ };
30
+ readonly '& .ho-gha': {
31
+ readonly fill: "none";
32
+ readonly stroke: "var(--illustration-success,#1FA85B)";
33
+ readonly strokeWidth: "2.3";
34
+ readonly strokeLinecap: "round";
35
+ readonly opacity: ".9";
36
+ };
37
+ readonly '& .ho-gce, & .ho-gtp': {
38
+ readonly fill: "var(--illustration-success,#1FA85B)";
39
+ };
40
+ readonly '& .ho-gth': {
41
+ readonly fill: "var(--illustration-success,#1FA85B)";
42
+ readonly opacity: ".25";
43
+ };
44
+ readonly '& .ho-got': {
45
+ readonly fill: "none";
46
+ readonly stroke: "var(--illustration-success,#1FA85B)";
47
+ readonly strokeWidth: "1.2";
48
+ readonly strokeLinecap: "round";
49
+ readonly strokeDasharray: ".1 4.5";
50
+ };
51
+ readonly '& .ho-ob': {
52
+ readonly strokeWidth: "1.2";
53
+ readonly strokeDasharray: ".1 4.5";
54
+ readonly opacity: ".75";
55
+ };
56
+ readonly '& .ho-oa': {
57
+ readonly fill: "none";
58
+ readonly stroke: "var(--illustration-accent,#F4511E)";
59
+ readonly strokeWidth: "1.2";
60
+ readonly strokeLinecap: "round";
61
+ readonly strokeDasharray: ".1 4.5";
62
+ };
63
+ readonly '& .ho-pp': {
64
+ readonly fill: "var(--illustration-primary,#2450F0)";
65
+ readonly opacity: ".55";
66
+ };
67
+ readonly '& .ho-pa, & .ho-sp': {
68
+ readonly fill: "var(--illustration-accent,#F4511E)";
69
+ };
70
+ readonly '& .ho-sh': {
71
+ readonly fill: "var(--illustration-accent,#F4511E)";
72
+ readonly opacity: ".25";
73
+ };
74
+ readonly '& .ho-sc': {
75
+ readonly fill: "var(--illustration-surface,#FFFFFF)";
76
+ readonly stroke: "var(--illustration-primary,#2450F0)";
77
+ readonly strokeOpacity: ".35";
78
+ };
79
+ readonly '& .ho-sd': {
80
+ readonly fill: "var(--illustration-primary,#2450F0)";
81
+ readonly fillOpacity: ".14";
82
+ readonly stroke: "var(--illustration-primary,#2450F0)";
83
+ readonly strokeOpacity: ".4";
84
+ };
85
+ readonly '& .ho-pb': {
86
+ readonly fill: "none";
87
+ readonly stroke: "var(--illustration-ink,#33415C)";
88
+ readonly strokeWidth: "3";
89
+ readonly strokeLinecap: "round";
90
+ readonly opacity: ".28";
91
+ };
92
+ readonly '& .ho-i': {
93
+ readonly fill: "none";
94
+ readonly strokeLinecap: "round";
95
+ readonly strokeLinejoin: "round";
96
+ };
97
+ readonly '& .ho-si': {
98
+ readonly stroke: "var(--illustration-ink,#33415C)";
99
+ readonly strokeWidth: "1.5";
100
+ };
101
+ readonly '& .ho-core': {
102
+ readonly fill: "var(--illustration-primary,#2450F0)";
103
+ };
104
+ readonly '& .ho-cr': {
105
+ readonly fill: "none";
106
+ readonly stroke: "var(--illustration-on-primary,#fff)";
107
+ readonly opacity: ".3";
108
+ };
109
+ readonly '& .ho-ci': {
110
+ readonly stroke: "var(--illustration-on-primary,#fff)";
111
+ readonly strokeWidth: "2.6";
112
+ };
113
+ readonly '& .ho-bo': {
114
+ readonly fill: "var(--illustration-primary,#2450F0)";
115
+ readonly stroke: "var(--illustration-surface,#FFFFFF)";
116
+ readonly strokeWidth: "1.5";
117
+ };
118
+ readonly '& .ho-ba': {
119
+ readonly fill: "var(--illustration-danger,var(--illustration-accent,#F4511E))";
120
+ readonly stroke: "var(--illustration-surface,#FFFFFF)";
121
+ readonly strokeWidth: "1.5";
122
+ };
123
+ readonly '& .ho-bg': {
124
+ readonly fill: "var(--illustration-success,#1FA85B)";
125
+ readonly stroke: "var(--illustration-surface,#FFFFFF)";
126
+ readonly strokeWidth: "1.5";
127
+ };
128
+ readonly '& .ho-ni': {
129
+ readonly stroke: "var(--illustration-on-primary,#fff)";
130
+ readonly strokeWidth: "2.2";
131
+ };
132
+ readonly '& .ho-bi': {
133
+ readonly stroke: "var(--illustration-on-primary,#fff)";
134
+ readonly strokeWidth: "1.2";
135
+ };
136
+ readonly '& .ho-gs': {
137
+ readonly stopColor: "var(--illustration-primary,#2450F0)";
138
+ };
139
+ readonly '& .ho-ha': {
140
+ readonly fill: "none";
141
+ readonly stroke: "var(--illustration-danger,var(--illustration-accent,#F4511E))";
142
+ readonly strokeWidth: "2.3";
143
+ readonly strokeLinecap: "round";
144
+ readonly opacity: ".9";
145
+ };
146
+ readonly '& .ho-ce, & .ho-tp': {
147
+ readonly fill: "var(--illustration-danger,var(--illustration-accent,#F4511E))";
148
+ };
149
+ readonly '& .ho-th': {
150
+ readonly fill: "var(--illustration-danger,var(--illustration-accent,#F4511E))";
151
+ readonly opacity: ".25";
152
+ };
153
+ readonly '& .ho-ot': {
154
+ readonly fill: "none";
155
+ readonly stroke: "var(--illustration-danger,var(--illustration-accent,#F4511E))";
156
+ readonly strokeWidth: "1.2";
157
+ readonly strokeLinecap: "round";
158
+ readonly strokeDasharray: ".1 4.5";
159
+ };
160
+ readonly '& .ho-nha': {
161
+ readonly fill: "none";
162
+ readonly stroke: "var(--illustration-neutral,#6B768E)";
163
+ readonly strokeWidth: "2.3";
164
+ readonly strokeLinecap: "round";
165
+ readonly opacity: ".9";
166
+ };
167
+ readonly '& .ho-nce, & .ho-ntp': {
168
+ readonly fill: "var(--illustration-neutral,#6B768E)";
169
+ };
170
+ readonly '& .ho-nth': {
171
+ readonly fill: "var(--illustration-neutral,#6B768E)";
172
+ readonly opacity: ".25";
173
+ };
174
+ readonly '& .ho-not': {
175
+ readonly fill: "none";
176
+ readonly stroke: "var(--illustration-neutral,#6B768E)";
177
+ readonly strokeWidth: "1.2";
178
+ readonly strokeLinecap: "round";
179
+ readonly strokeDasharray: ".1 4.5";
180
+ };
181
+ readonly '& .ho-wha': {
182
+ readonly fill: "none";
183
+ readonly stroke: "var(--illustration-warning,#F5B400)";
184
+ readonly strokeWidth: "2.3";
185
+ readonly strokeLinecap: "round";
186
+ readonly opacity: ".9";
187
+ };
188
+ readonly '& .ho-wce, & .ho-wtp': {
189
+ readonly fill: "var(--illustration-warning,#F5B400)";
190
+ };
191
+ readonly '& .ho-wth': {
192
+ readonly fill: "var(--illustration-warning,#F5B400)";
193
+ readonly opacity: ".25";
194
+ };
195
+ readonly '& .ho-wot': {
196
+ readonly fill: "none";
197
+ readonly stroke: "var(--illustration-warning,#F5B400)";
198
+ readonly strokeWidth: "1.2";
199
+ readonly strokeLinecap: "round";
200
+ readonly strokeDasharray: ".1 4.5";
201
+ };
202
+ readonly '& .ho-wcr': {
203
+ readonly fill: "none";
204
+ readonly stroke: "var(--illustration-on-warning,#2A1A00)";
205
+ readonly opacity: ".3";
206
+ };
207
+ readonly '& .ho-wci': {
208
+ readonly stroke: "var(--illustration-on-warning,#2A1A00)";
209
+ readonly strokeWidth: "2.6";
210
+ };
211
+ };
212
+ export default illustrationStyles;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function FailedIllustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http200Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http201Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http204Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http301Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http302Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http304Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http400Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http401Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http403Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http404Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http405Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http408Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http409Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http422Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http429Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http500Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http502Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http503Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function Http504Illustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function MailSentIllustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function NoRecordsIllustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ export default function UnsuccessfulIllustration({ width, height, ...rest }: IllustrationSVGProps): JSX.Element;
@@ -0,0 +1,12 @@
1
+ import type { ComponentType } from 'react';
2
+ import type { IllustrationSVGProps } from '../types';
3
+ /** HTTP status codes that have an illustration. */
4
+ export type StatusIllustrationHttpStatus = 200 | 201 | 204 | 301 | 302 | 304 | 400 | 401 | 403 | 404 | 405 | 408 | 409 | 422 | 429 | 500 | 502 | 503 | 504;
5
+ /** Application states that have an illustration. */
6
+ export type StatusIllustrationState = 'failed' | 'mail-sent' | 'no-records' | 'unsuccessful';
7
+ export type StatusIllustrationStatus = StatusIllustrationHttpStatus | StatusIllustrationState;
8
+ /** Illustration component and default accessible label for each status. */
9
+ export declare const STATUS_ILLUSTRATIONS: Record<StatusIllustrationStatus, {
10
+ component: ComponentType<IllustrationSVGProps>;
11
+ label: string;
12
+ }>;
@@ -0,0 +1,2 @@
1
+ export { default } from './StatusIllustration';
2
+ export * from './StatusIllustration';
@@ -0,0 +1,2 @@
1
+ import type { SVGProps } from 'react';
2
+ export type IllustrationSVGProps = SVGProps<SVGSVGElement>;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * A per-instance id prefix for an illustration's gradients, safe to use inside `url(#...)`.
3
+ * React's ids contain characters such as `:` or `«` that break those references.
4
+ */
5
+ export default function useIllustrationId(): string;
@@ -106,8 +106,9 @@ export interface TimeRangeFilterProps extends Omit<ButtonProps, 'onChange' | 'va
106
106
  adapterLocale?: Locale;
107
107
  /**
108
108
  * Text of the pickers' own controls (the calendar buttons, and the OK and Cancel of the dialog
109
- * shown on touch screens), for example `frFR.components.MuiLocalizationProvider.defaultProps.localeText`
110
- * from `@mui/x-date-pickers/locales`.
109
+ * shown on touch screens), for example
110
+ * `DatePickersLocales.frFR.components.MuiLocalizationProvider.defaultProps.localeText`, with
111
+ * `DatePickersLocales` imported from `@wso2/oxygen-ui`.
111
112
  */
112
113
  localeText?: LocalizationProviderProps<Locale>['localeText'];
113
114
  /**
@@ -44,18 +44,18 @@ export interface TrialBadgeProps extends Omit<BoxProps, 'children'> {
44
44
  */
45
45
  showUpgrade?: boolean;
46
46
  /**
47
- * Primary line while the trial is running. Receives the days left.
48
- * @default (days) => `${days} day(s) left`
47
+ * Bold leading text while the trial is running. Receives the days left.
48
+ * @default (days) => `${days} day(s)`
49
49
  */
50
50
  getTitle?: (daysLeft: number) => React.ReactNode;
51
51
  /**
52
- * Primary line once the trial has expired.
52
+ * Bold leading text once the trial has expired.
53
53
  * @default 'Trial expired'
54
54
  */
55
55
  expiredLabel?: React.ReactNode;
56
56
  /**
57
- * Secondary line while no upgrade prompt is shown.
58
- * @default 'of free trial'
57
+ * Muted text after the days while no upgrade prompt is shown.
58
+ * @default 'left in trial'
59
59
  */
60
60
  subtitle?: React.ReactNode;
61
61
  /**
@@ -211,9 +211,9 @@ export type TrialBadgeUsageTone = 'error' | 'warning' | 'success';
211
211
  */
212
212
  export declare function getTrialBadgeStatus(daysLeft: number, endingSoonThreshold?: number, criticalThreshold?: number): TrialBadgeStatus;
213
213
  /**
214
- * TrialBadge component - A compact pill showing the remaining days of a free trial.
215
- * The color changes with the time left, and in the last days (and after expiry)
216
- * the second line becomes an "Upgrade now" link.
214
+ * TrialBadge component - A compact single-line pill showing the remaining days of a free trial,
215
+ * e.g. "15 days left in trial", led by a progress ring. The ring color changes with the time left,
216
+ * and in the last days (and after expiry) the muted text becomes an "Upgrade now" link.
217
217
  *
218
218
  * @example
219
219
  * ```tsx
@@ -23,6 +23,8 @@ export { default as ColorSchemeImage } from './ColorSchemeImage';
23
23
  export type { ColorSchemeImageProps, ColorSchemeImageAttribute } from './ColorSchemeImage';
24
24
  export { default as ColorSchemeSVG } from './ColorSchemeSVG';
25
25
  export type { ColorSchemeSVGProps } from './ColorSchemeSVG';
26
+ export { default as StatusIllustration } from './StatusIllustration';
27
+ export type { StatusIllustrationProps, StatusIllustrationStatus, StatusIllustrationHttpStatus, StatusIllustrationState, } from './StatusIllustration';
26
28
  export { ColorSchemeToggle, default as ColorSchemeToggleDefault } from './ColorSchemeToggle';
27
29
  export { default as ComplexSelect } from './ComplexSelect';
28
30
  export type { ComplexSelectProps } from './ComplexSelect';
@@ -36,6 +38,8 @@ export { default as ListingCard } from './ListingCard';
36
38
  export type { ListingCardProps } from './ListingCard';
37
39
  export { default as RelativeTime } from './RelativeTime';
38
40
  export type { RelativeTimeProps } from './RelativeTime';
41
+ export { default as Button } from './Button';
42
+ export type { ButtonProps } from './Button';
39
43
  export { default as TextField } from './TextField';
40
44
  export type { TextFieldProps, TextFieldLabelPlacement } from './TextField';
41
45
  export { default as Select } from './Select';
package/dist/index.d.ts CHANGED
@@ -25,11 +25,12 @@ export { default as Layout } from "./layouts";
25
25
  export * from "./animations";
26
26
  export * from "./hooks";
27
27
  export * from "./utils";
28
- export { TextField, Select } from './components';
29
- export type { TextFieldProps, TextFieldLabelPlacement, SelectProps, SelectLabelPlacement } from './components';
28
+ export { Button, TextField, Select } from './components';
29
+ export type { ButtonProps, TextFieldProps, TextFieldLabelPlacement, SelectProps, SelectLabelPlacement } from './components';
30
30
  export * from '@mui/material';
31
31
  export * as colors from '@mui/material/colors';
32
32
  export * as DataGrid from '@mui/x-data-grid';
33
33
  export * as DatePickers from '@mui/x-date-pickers';
34
+ export * as DatePickersLocales from '@mui/x-date-pickers/locales';
34
35
  export { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';
35
36
  export * as TreeView from '@mui/x-tree-view';