@betterinternship/components 3.0.3 → 3.0.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.
- package/README.md +45 -45
- package/dist/components/accordion.js.map +1 -1
- package/dist/components/animated-count.js.map +1 -1
- package/dist/components/app-header.js.map +1 -1
- package/dist/components/avatar.js.map +1 -1
- package/dist/components/badge.js.map +1 -1
- package/dist/components/banner.js.map +1 -1
- package/dist/components/button.js.map +1 -1
- package/dist/components/calendar.js.map +1 -1
- package/dist/components/card.js.map +1 -1
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/divider.js.map +1 -1
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/file-upload.js.map +1 -1
- package/dist/components/filter-chip.js.map +1 -1
- package/dist/components/form-checkbox-group.js.map +1 -1
- package/dist/components/form-checkbox.js.map +1 -1
- package/dist/components/form-date-picker.js.map +1 -1
- package/dist/components/form-field.js.map +1 -1
- package/dist/components/form-input.js.map +1 -1
- package/dist/components/form-month-picker.js.map +1 -1
- package/dist/components/form-radio.js.map +1 -1
- package/dist/components/form-textarea.js.map +1 -1
- package/dist/components/input.js.map +1 -1
- package/dist/components/label.js.map +1 -1
- package/dist/components/loader.js.map +1 -1
- package/dist/components/page-header.js.map +1 -1
- package/dist/components/popover.js.map +1 -1
- package/dist/components/radio-group.js.map +1 -1
- package/dist/components/select.js.map +1 -1
- package/dist/components/sheet.d.ts +1 -1
- package/dist/components/skeleton.js.map +1 -1
- package/dist/components/stepper.js.map +1 -1
- package/dist/components/switch.js.map +1 -1
- package/dist/components/table.js.map +1 -1
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/textarea.js.map +1 -1
- package/dist/components/time-input-native.js.map +1 -1
- package/dist/components/tooltip.js.map +1 -1
- package/dist/hooks/use-field-focus.js.map +1 -1
- package/dist/hooks/use-mobile-sheet-viewport.js.map +1 -1
- package/dist/hooks/use-mobile.js.map +1 -1
- package/dist/hooks/use-resource-table.js +284 -0
- package/dist/hooks/use-resource-table.js.map +1 -0
- package/dist/hooks/useMQJob.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/interaction-styles.js.map +1 -1
- package/dist/utils.js.map +1 -1
- package/package.json +291 -291
- package/theme.css +355 -355
- package/theme.legacy.css +84 -84
package/theme.legacy.css
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
/* Pre-redesign (v2) colour tokens, scoped to a wrapper.
|
|
2
|
-
Wrap legacy components in <div className="theme-legacy"> to see them as they
|
|
3
|
-
used to look; without it they use the current tokens in theme.css.
|
|
4
|
-
Generated from the last pre-redesign theme.css. */
|
|
5
|
-
.theme-legacy {
|
|
6
|
-
--radius: 0.625rem;
|
|
7
|
-
--background: oklch(1 0 0);
|
|
8
|
-
--foreground: oklch(0.145 0 0);
|
|
9
|
-
--card: oklch(1 0 0);
|
|
10
|
-
--card-foreground: oklch(0.145 0 0);
|
|
11
|
-
--popover: oklch(1 0 0);
|
|
12
|
-
--popover-foreground: oklch(0.145 0 0);
|
|
13
|
-
--primary: oklch(0.441 0.122 251);
|
|
14
|
-
--primary-foreground: oklch(0.984 0.003 210);
|
|
15
|
-
--secondary: oklch(0.441 0.122 251);
|
|
16
|
-
--secondary-foreground: oklch(0.25 0.08 251);
|
|
17
|
-
--supportive: oklch(0.663 0.137 137);
|
|
18
|
-
--supportive-foreground: oklch(0.984 0.003 210);
|
|
19
|
-
--muted: oklch(0.968 0.007 210);
|
|
20
|
-
--muted-foreground: oklch(0.554 0.041 257);
|
|
21
|
-
--warning: oklch(0.731 0.144 64);
|
|
22
|
-
--warning-foreground: oklch(0.968 0.007 210);
|
|
23
|
-
--accent: oklch(0.97 0 0);
|
|
24
|
-
--accent-foreground: oklch(0.205 0 0);
|
|
25
|
-
--destructive: oklch(0.48 0.218 29);
|
|
26
|
-
--destructive-foreground: oklch(0.984 0.003 210);
|
|
27
|
-
--border: oklch(0.922 0 0);
|
|
28
|
-
--input: oklch(0.922 0 0);
|
|
29
|
-
--ring: oklch(0.708 0 0);
|
|
30
|
-
--chart-1: oklch(0.646 0.222 41.116);
|
|
31
|
-
--chart-2: oklch(0.6 0.118 184.704);
|
|
32
|
-
--chart-3: oklch(0.398 0.07 227.392);
|
|
33
|
-
--chart-4: oklch(0.828 0.189 84.429);
|
|
34
|
-
--chart-5: oklch(0.769 0.188 70.08);
|
|
35
|
-
--sidebar: oklch(0.985 0 0);
|
|
36
|
-
--sidebar-foreground: oklch(0.145 0 0);
|
|
37
|
-
--sidebar-primary: oklch(0.205 0 0);
|
|
38
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
39
|
-
--sidebar-accent: oklch(0.97 0 0);
|
|
40
|
-
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
41
|
-
--sidebar-border: oklch(0.922 0 0);
|
|
42
|
-
--sidebar-ring: oklch(0.708 0 0);
|
|
43
|
-
|
|
44
|
-
/* Redeclared so the aliases re-resolve inside this scope. */
|
|
45
|
-
--color-background: var(--background);
|
|
46
|
-
--color-foreground: var(--foreground);
|
|
47
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
|
48
|
-
--color-sidebar-border: var(--sidebar-border);
|
|
49
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
50
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
|
51
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
52
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
|
53
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
54
|
-
--color-sidebar: var(--sidebar);
|
|
55
|
-
--color-chart-5: var(--chart-5);
|
|
56
|
-
--color-chart-4: var(--chart-4);
|
|
57
|
-
--color-chart-3: var(--chart-3);
|
|
58
|
-
--color-chart-2: var(--chart-2);
|
|
59
|
-
--color-chart-1: var(--chart-1);
|
|
60
|
-
--color-ring: var(--ring);
|
|
61
|
-
--color-input: var(--input);
|
|
62
|
-
--color-border: var(--border);
|
|
63
|
-
--color-destructive: var(--destructive);
|
|
64
|
-
--color-destructive-foreground: var(--destructive-foreground);
|
|
65
|
-
--color-supportive: var(--supportive);
|
|
66
|
-
--color-supportive-foreground: var(--supportive-foreground);
|
|
67
|
-
--color-warning: var(--warning);
|
|
68
|
-
--color-warning-foreground: var(--warning-foreground);
|
|
69
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
70
|
-
--color-accent: var(--accent);
|
|
71
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
72
|
-
--color-muted: var(--muted);
|
|
73
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
74
|
-
--color-secondary: var(--secondary);
|
|
75
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
76
|
-
--color-primary: var(--primary);
|
|
77
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
78
|
-
--color-popover: var(--popover);
|
|
79
|
-
--color-card-foreground: var(--card-foreground);
|
|
80
|
-
--color-card: var(--card);
|
|
81
|
-
|
|
82
|
-
color: var(--foreground);
|
|
83
|
-
background-color: var(--background);
|
|
84
|
-
}
|
|
1
|
+
/* Pre-redesign (v2) colour tokens, scoped to a wrapper.
|
|
2
|
+
Wrap legacy components in <div className="theme-legacy"> to see them as they
|
|
3
|
+
used to look; without it they use the current tokens in theme.css.
|
|
4
|
+
Generated from the last pre-redesign theme.css. */
|
|
5
|
+
.theme-legacy {
|
|
6
|
+
--radius: 0.625rem;
|
|
7
|
+
--background: oklch(1 0 0);
|
|
8
|
+
--foreground: oklch(0.145 0 0);
|
|
9
|
+
--card: oklch(1 0 0);
|
|
10
|
+
--card-foreground: oklch(0.145 0 0);
|
|
11
|
+
--popover: oklch(1 0 0);
|
|
12
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
13
|
+
--primary: oklch(0.441 0.122 251);
|
|
14
|
+
--primary-foreground: oklch(0.984 0.003 210);
|
|
15
|
+
--secondary: oklch(0.441 0.122 251);
|
|
16
|
+
--secondary-foreground: oklch(0.25 0.08 251);
|
|
17
|
+
--supportive: oklch(0.663 0.137 137);
|
|
18
|
+
--supportive-foreground: oklch(0.984 0.003 210);
|
|
19
|
+
--muted: oklch(0.968 0.007 210);
|
|
20
|
+
--muted-foreground: oklch(0.554 0.041 257);
|
|
21
|
+
--warning: oklch(0.731 0.144 64);
|
|
22
|
+
--warning-foreground: oklch(0.968 0.007 210);
|
|
23
|
+
--accent: oklch(0.97 0 0);
|
|
24
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
25
|
+
--destructive: oklch(0.48 0.218 29);
|
|
26
|
+
--destructive-foreground: oklch(0.984 0.003 210);
|
|
27
|
+
--border: oklch(0.922 0 0);
|
|
28
|
+
--input: oklch(0.922 0 0);
|
|
29
|
+
--ring: oklch(0.708 0 0);
|
|
30
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
31
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
32
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
33
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
34
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
35
|
+
--sidebar: oklch(0.985 0 0);
|
|
36
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
37
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
38
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
39
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
40
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
41
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
42
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
43
|
+
|
|
44
|
+
/* Redeclared so the aliases re-resolve inside this scope. */
|
|
45
|
+
--color-background: var(--background);
|
|
46
|
+
--color-foreground: var(--foreground);
|
|
47
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
48
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
49
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
50
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
51
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
52
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
53
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
54
|
+
--color-sidebar: var(--sidebar);
|
|
55
|
+
--color-chart-5: var(--chart-5);
|
|
56
|
+
--color-chart-4: var(--chart-4);
|
|
57
|
+
--color-chart-3: var(--chart-3);
|
|
58
|
+
--color-chart-2: var(--chart-2);
|
|
59
|
+
--color-chart-1: var(--chart-1);
|
|
60
|
+
--color-ring: var(--ring);
|
|
61
|
+
--color-input: var(--input);
|
|
62
|
+
--color-border: var(--border);
|
|
63
|
+
--color-destructive: var(--destructive);
|
|
64
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
65
|
+
--color-supportive: var(--supportive);
|
|
66
|
+
--color-supportive-foreground: var(--supportive-foreground);
|
|
67
|
+
--color-warning: var(--warning);
|
|
68
|
+
--color-warning-foreground: var(--warning-foreground);
|
|
69
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
70
|
+
--color-accent: var(--accent);
|
|
71
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
72
|
+
--color-muted: var(--muted);
|
|
73
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
74
|
+
--color-secondary: var(--secondary);
|
|
75
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
76
|
+
--color-primary: var(--primary);
|
|
77
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
78
|
+
--color-popover: var(--popover);
|
|
79
|
+
--color-card-foreground: var(--card-foreground);
|
|
80
|
+
--color-card: var(--card);
|
|
81
|
+
|
|
82
|
+
color: var(--foreground);
|
|
83
|
+
background-color: var(--background);
|
|
84
|
+
}
|