@gbmtech/aurora-ui 0.0.1
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/dist/cjs/components/alert-dialog.cjs +3 -0
- package/dist/cjs/components/alert-dialog.cjs.map +1 -0
- package/dist/cjs/components/badge.cjs +2 -0
- package/dist/cjs/components/badge.cjs.map +1 -0
- package/dist/cjs/components/breadcrumb.cjs +2 -0
- package/dist/cjs/components/breadcrumb.cjs.map +1 -0
- package/dist/cjs/components/button.cjs +2 -0
- package/dist/cjs/components/button.cjs.map +1 -0
- package/dist/cjs/components/calendar.cjs +3 -0
- package/dist/cjs/components/calendar.cjs.map +1 -0
- package/dist/cjs/components/checkbox.cjs +3 -0
- package/dist/cjs/components/checkbox.cjs.map +1 -0
- package/dist/cjs/components/combobox.cjs +3 -0
- package/dist/cjs/components/combobox.cjs.map +1 -0
- package/dist/cjs/components/command.cjs +3 -0
- package/dist/cjs/components/command.cjs.map +1 -0
- package/dist/cjs/components/date-picker-with-range.cjs +3 -0
- package/dist/cjs/components/date-picker-with-range.cjs.map +1 -0
- package/dist/cjs/components/date-picker-with-time.cjs +3 -0
- package/dist/cjs/components/date-picker-with-time.cjs.map +1 -0
- package/dist/cjs/components/date-picker.cjs +3 -0
- package/dist/cjs/components/date-picker.cjs.map +1 -0
- package/dist/cjs/components/date-time-picker-with-range.cjs +3 -0
- package/dist/cjs/components/date-time-picker-with-range.cjs.map +1 -0
- package/dist/cjs/components/dialog.cjs +3 -0
- package/dist/cjs/components/dialog.cjs.map +1 -0
- package/dist/cjs/components/dropdown-menu.cjs +3 -0
- package/dist/cjs/components/dropdown-menu.cjs.map +1 -0
- package/dist/cjs/components/form.cjs +3 -0
- package/dist/cjs/components/form.cjs.map +1 -0
- package/dist/cjs/components/icons/rumo.cjs +2 -0
- package/dist/cjs/components/icons/rumo.cjs.map +1 -0
- package/dist/cjs/components/icons/vli.cjs +2 -0
- package/dist/cjs/components/icons/vli.cjs.map +1 -0
- package/dist/cjs/components/input-otp.cjs +3 -0
- package/dist/cjs/components/input-otp.cjs.map +1 -0
- package/dist/cjs/components/input-password.cjs +3 -0
- package/dist/cjs/components/input-password.cjs.map +1 -0
- package/dist/cjs/components/input.cjs +3 -0
- package/dist/cjs/components/input.cjs.map +1 -0
- package/dist/cjs/components/label.cjs +3 -0
- package/dist/cjs/components/label.cjs.map +1 -0
- package/dist/cjs/components/mask-input.cjs +3 -0
- package/dist/cjs/components/mask-input.cjs.map +1 -0
- package/dist/cjs/components/multi-select.cjs +3 -0
- package/dist/cjs/components/multi-select.cjs.map +1 -0
- package/dist/cjs/components/page-layout/index.cjs +2 -0
- package/dist/cjs/components/page-layout/index.cjs.map +1 -0
- package/dist/cjs/components/page-layout/page-layout-breadcrumb.cjs +2 -0
- package/dist/cjs/components/page-layout/page-layout-breadcrumb.cjs.map +1 -0
- package/dist/cjs/components/page-layout/page-layout-content.cjs +2 -0
- package/dist/cjs/components/page-layout/page-layout-content.cjs.map +1 -0
- package/dist/cjs/components/page-layout/page-layout-header.cjs +2 -0
- package/dist/cjs/components/page-layout/page-layout-header.cjs.map +1 -0
- package/dist/cjs/components/page-layout/page-layout-root.cjs +2 -0
- package/dist/cjs/components/page-layout/page-layout-root.cjs.map +1 -0
- package/dist/cjs/components/page-layout/page-layout-title.cjs +2 -0
- package/dist/cjs/components/page-layout/page-layout-title.cjs.map +1 -0
- package/dist/cjs/components/pagination.cjs +2 -0
- package/dist/cjs/components/pagination.cjs.map +1 -0
- package/dist/cjs/components/popover.cjs +3 -0
- package/dist/cjs/components/popover.cjs.map +1 -0
- package/dist/cjs/components/scroll-area.cjs +3 -0
- package/dist/cjs/components/scroll-area.cjs.map +1 -0
- package/dist/cjs/components/select.cjs +3 -0
- package/dist/cjs/components/select.cjs.map +1 -0
- package/dist/cjs/components/separator.cjs +3 -0
- package/dist/cjs/components/separator.cjs.map +1 -0
- package/dist/cjs/components/skeleton.cjs +2 -0
- package/dist/cjs/components/skeleton.cjs.map +1 -0
- package/dist/cjs/components/switch.cjs +3 -0
- package/dist/cjs/components/switch.cjs.map +1 -0
- package/dist/cjs/components/table-expandable.cjs +2 -0
- package/dist/cjs/components/table-expandable.cjs.map +1 -0
- package/dist/cjs/components/table.cjs +2 -0
- package/dist/cjs/components/table.cjs.map +1 -0
- package/dist/cjs/components/tabs/index.cjs +2 -0
- package/dist/cjs/components/tabs/index.cjs.map +1 -0
- package/dist/cjs/components/tabs/tabs-content.cjs +2 -0
- package/dist/cjs/components/tabs/tabs-content.cjs.map +1 -0
- package/dist/cjs/components/tabs/tabs-list.cjs +2 -0
- package/dist/cjs/components/tabs/tabs-list.cjs.map +1 -0
- package/dist/cjs/components/tabs/tabs-root.cjs +3 -0
- package/dist/cjs/components/tabs/tabs-root.cjs.map +1 -0
- package/dist/cjs/components/tabs/tabs-trigger.cjs +3 -0
- package/dist/cjs/components/tabs/tabs-trigger.cjs.map +1 -0
- package/dist/cjs/components/textarea.cjs +2 -0
- package/dist/cjs/components/textarea.cjs.map +1 -0
- package/dist/cjs/components/time-picker-input.cjs +3 -0
- package/dist/cjs/components/time-picker-input.cjs.map +1 -0
- package/dist/cjs/components/time-picker.cjs +3 -0
- package/dist/cjs/components/time-picker.cjs.map +1 -0
- package/dist/cjs/components/title.cjs +2 -0
- package/dist/cjs/components/title.cjs.map +1 -0
- package/dist/cjs/components/tokens-grid.cjs +2 -0
- package/dist/cjs/components/tokens-grid.cjs.map +1 -0
- package/dist/cjs/components/tooltip.cjs +3 -0
- package/dist/cjs/components/tooltip.cjs.map +1 -0
- package/dist/cjs/components/ui/time-picker-input.cjs +3 -0
- package/dist/cjs/components/ui/time-picker-input.cjs.map +1 -0
- package/dist/cjs/components/ui/time-picker.cjs +3 -0
- package/dist/cjs/components/ui/time-picker.cjs.map +1 -0
- package/dist/cjs/index.cjs +1 -0
- package/dist/cjs/index.css +486 -0
- package/dist/cjs/lib/utils.cjs +2 -0
- package/dist/cjs/lib/utils.cjs.map +1 -0
- package/dist/cjs/tokens/colors.cjs +2 -0
- package/dist/cjs/tokens/colors.cjs.map +1 -0
- package/dist/cjs/tokens/index.cjs +1 -0
- package/dist/cjs/utils/phosphor-icon-map.cjs +2 -0
- package/dist/cjs/utils/phosphor-icon-map.cjs.map +1 -0
- package/dist/cjs/utils/time-picker.cjs +2 -0
- package/dist/cjs/utils/time-picker.cjs.map +1 -0
- package/dist/esm/components/alert-dialog.js +3 -0
- package/dist/esm/components/alert-dialog.js.map +1 -0
- package/dist/esm/components/badge.js +2 -0
- package/dist/esm/components/badge.js.map +1 -0
- package/dist/esm/components/breadcrumb.js +2 -0
- package/dist/esm/components/breadcrumb.js.map +1 -0
- package/dist/esm/components/button.js +2 -0
- package/dist/esm/components/button.js.map +1 -0
- package/dist/esm/components/calendar.js +3 -0
- package/dist/esm/components/calendar.js.map +1 -0
- package/dist/esm/components/checkbox.js +3 -0
- package/dist/esm/components/checkbox.js.map +1 -0
- package/dist/esm/components/combobox.js +3 -0
- package/dist/esm/components/combobox.js.map +1 -0
- package/dist/esm/components/command.js +3 -0
- package/dist/esm/components/command.js.map +1 -0
- package/dist/esm/components/date-picker-with-range.js +3 -0
- package/dist/esm/components/date-picker-with-range.js.map +1 -0
- package/dist/esm/components/date-picker-with-time.js +3 -0
- package/dist/esm/components/date-picker-with-time.js.map +1 -0
- package/dist/esm/components/date-picker.js +3 -0
- package/dist/esm/components/date-picker.js.map +1 -0
- package/dist/esm/components/date-time-picker-with-range.js +3 -0
- package/dist/esm/components/date-time-picker-with-range.js.map +1 -0
- package/dist/esm/components/dialog.js +3 -0
- package/dist/esm/components/dialog.js.map +1 -0
- package/dist/esm/components/dropdown-menu.js +3 -0
- package/dist/esm/components/dropdown-menu.js.map +1 -0
- package/dist/esm/components/form.js +3 -0
- package/dist/esm/components/form.js.map +1 -0
- package/dist/esm/components/icons/rumo.js +2 -0
- package/dist/esm/components/icons/rumo.js.map +1 -0
- package/dist/esm/components/icons/vli.js +2 -0
- package/dist/esm/components/icons/vli.js.map +1 -0
- package/dist/esm/components/input-otp.js +3 -0
- package/dist/esm/components/input-otp.js.map +1 -0
- package/dist/esm/components/input-password.js +3 -0
- package/dist/esm/components/input-password.js.map +1 -0
- package/dist/esm/components/input.js +3 -0
- package/dist/esm/components/input.js.map +1 -0
- package/dist/esm/components/label.js +3 -0
- package/dist/esm/components/label.js.map +1 -0
- package/dist/esm/components/mask-input.js +3 -0
- package/dist/esm/components/mask-input.js.map +1 -0
- package/dist/esm/components/multi-select.js +3 -0
- package/dist/esm/components/multi-select.js.map +1 -0
- package/dist/esm/components/page-layout/index.js +2 -0
- package/dist/esm/components/page-layout/index.js.map +1 -0
- package/dist/esm/components/page-layout/page-layout-breadcrumb.js +2 -0
- package/dist/esm/components/page-layout/page-layout-breadcrumb.js.map +1 -0
- package/dist/esm/components/page-layout/page-layout-content.js +2 -0
- package/dist/esm/components/page-layout/page-layout-content.js.map +1 -0
- package/dist/esm/components/page-layout/page-layout-header.js +2 -0
- package/dist/esm/components/page-layout/page-layout-header.js.map +1 -0
- package/dist/esm/components/page-layout/page-layout-root.js +2 -0
- package/dist/esm/components/page-layout/page-layout-root.js.map +1 -0
- package/dist/esm/components/page-layout/page-layout-title.js +2 -0
- package/dist/esm/components/page-layout/page-layout-title.js.map +1 -0
- package/dist/esm/components/pagination.js +2 -0
- package/dist/esm/components/pagination.js.map +1 -0
- package/dist/esm/components/popover.js +3 -0
- package/dist/esm/components/popover.js.map +1 -0
- package/dist/esm/components/scroll-area.js +3 -0
- package/dist/esm/components/scroll-area.js.map +1 -0
- package/dist/esm/components/select.js +3 -0
- package/dist/esm/components/select.js.map +1 -0
- package/dist/esm/components/separator.js +3 -0
- package/dist/esm/components/separator.js.map +1 -0
- package/dist/esm/components/skeleton.js +2 -0
- package/dist/esm/components/skeleton.js.map +1 -0
- package/dist/esm/components/switch.js +3 -0
- package/dist/esm/components/switch.js.map +1 -0
- package/dist/esm/components/table-expandable.js +2 -0
- package/dist/esm/components/table-expandable.js.map +1 -0
- package/dist/esm/components/table.js +2 -0
- package/dist/esm/components/table.js.map +1 -0
- package/dist/esm/components/tabs/index.js +2 -0
- package/dist/esm/components/tabs/index.js.map +1 -0
- package/dist/esm/components/tabs/tabs-content.js +2 -0
- package/dist/esm/components/tabs/tabs-content.js.map +1 -0
- package/dist/esm/components/tabs/tabs-list.js +2 -0
- package/dist/esm/components/tabs/tabs-list.js.map +1 -0
- package/dist/esm/components/tabs/tabs-root.js +3 -0
- package/dist/esm/components/tabs/tabs-root.js.map +1 -0
- package/dist/esm/components/tabs/tabs-trigger.js +3 -0
- package/dist/esm/components/tabs/tabs-trigger.js.map +1 -0
- package/dist/esm/components/textarea.js +2 -0
- package/dist/esm/components/textarea.js.map +1 -0
- package/dist/esm/components/time-picker-input.js +3 -0
- package/dist/esm/components/time-picker-input.js.map +1 -0
- package/dist/esm/components/time-picker.js +3 -0
- package/dist/esm/components/time-picker.js.map +1 -0
- package/dist/esm/components/title.js +2 -0
- package/dist/esm/components/title.js.map +1 -0
- package/dist/esm/components/tokens-grid.js +2 -0
- package/dist/esm/components/tokens-grid.js.map +1 -0
- package/dist/esm/components/tooltip.js +3 -0
- package/dist/esm/components/tooltip.js.map +1 -0
- package/dist/esm/components/ui/time-picker-input.js +3 -0
- package/dist/esm/components/ui/time-picker-input.js.map +1 -0
- package/dist/esm/components/ui/time-picker.js +3 -0
- package/dist/esm/components/ui/time-picker.js.map +1 -0
- package/dist/esm/index.css +486 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/lib/utils.js +2 -0
- package/dist/esm/lib/utils.js.map +1 -0
- package/dist/esm/tokens/colors.js +2 -0
- package/dist/esm/tokens/colors.js.map +1 -0
- package/dist/esm/tokens/index.js +1 -0
- package/dist/esm/utils/phosphor-icon-map.js +2 -0
- package/dist/esm/utils/phosphor-icon-map.js.map +1 -0
- package/dist/esm/utils/time-picker.js +2 -0
- package/dist/esm/utils/time-picker.js.map +1 -0
- package/dist/types/components/alert-dialog.d.ts +20 -0
- package/dist/types/components/badge.d.ts +12 -0
- package/dist/types/components/breadcrumb.d.ts +23 -0
- package/dist/types/components/button.d.ts +13 -0
- package/dist/types/components/calendar.d.ts +7 -0
- package/dist/types/components/checkbox.d.ts +5 -0
- package/dist/types/components/combobox.d.ts +15 -0
- package/dist/types/components/command.d.ts +83 -0
- package/dist/types/components/date-picker-with-range.d.ts +11 -0
- package/dist/types/components/date-picker-with-time.d.ts +10 -0
- package/dist/types/components/date-picker.d.ts +10 -0
- package/dist/types/components/date-time-picker-with-range.d.ts +11 -0
- package/dist/types/components/dialog.d.ts +19 -0
- package/dist/types/components/dropdown-menu.d.ts +27 -0
- package/dist/types/components/form.d.ts +23 -0
- package/dist/types/components/icons/rumo.d.ts +1 -0
- package/dist/types/components/icons/vli.d.ts +1 -0
- package/dist/types/components/input-otp.d.ts +34 -0
- package/dist/types/components/input-password.d.ts +3 -0
- package/dist/types/components/input.d.ts +12 -0
- package/dist/types/components/label.d.ts +4 -0
- package/dist/types/components/mask-input.d.ts +8 -0
- package/dist/types/components/multi-select.d.ts +23 -0
- package/dist/types/components/page-layout/index.d.ts +9 -0
- package/dist/types/components/page-layout/page-layout-breadcrumb.d.ts +16 -0
- package/dist/types/components/page-layout/page-layout-content.d.ts +2 -0
- package/dist/types/components/page-layout/page-layout-header.d.ts +2 -0
- package/dist/types/components/page-layout/page-layout-root.d.ts +2 -0
- package/dist/types/components/page-layout/page-layout-title.d.ts +7 -0
- package/dist/types/components/pagination.d.ts +28 -0
- package/dist/types/components/popover.d.ts +5 -0
- package/dist/types/components/scroll-area.d.ts +4 -0
- package/dist/types/components/select.d.ts +11 -0
- package/dist/types/components/separator.d.ts +3 -0
- package/dist/types/components/skeleton.d.ts +6 -0
- package/dist/types/components/switch.d.ts +3 -0
- package/dist/types/components/table-expandable.d.ts +40 -0
- package/dist/types/components/table.d.ts +10 -0
- package/dist/types/components/tabs/index.d.ts +8 -0
- package/dist/types/components/tabs/tabs-content.d.ts +4 -0
- package/dist/types/components/tabs/tabs-list.d.ts +4 -0
- package/dist/types/components/tabs/tabs-root.d.ts +12 -0
- package/dist/types/components/tabs/tabs-trigger.d.ts +4 -0
- package/dist/types/components/textarea.d.ts +4 -0
- package/dist/types/components/time-picker-input.d.ts +11 -0
- package/dist/types/components/time-picker.d.ts +6 -0
- package/dist/types/components/title.d.ts +4 -0
- package/dist/types/components/tokens-grid.d.ts +6 -0
- package/dist/types/components/tooltip.d.ts +9 -0
- package/dist/types/components/ui/time-picker-input.d.ts +11 -0
- package/dist/types/components/ui/time-picker.d.ts +6 -0
- package/dist/types/index.d.ts +33 -0
- package/dist/types/lib/utils.d.ts +2 -0
- package/dist/types/tokens/colors.d.ts +155 -0
- package/dist/types/tokens/index.d.ts +1 -0
- package/dist/types/utils/phosphor-icon-map.d.ts +7 -0
- package/dist/types/utils/time-picker.d.ts +28 -0
- package/package.json +75 -0
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
@layer base {
|
|
2
|
+
*,
|
|
3
|
+
::after,
|
|
4
|
+
::before,
|
|
5
|
+
::backdrop,
|
|
6
|
+
::file-selector-button {
|
|
7
|
+
border-color: var(--color-border);
|
|
8
|
+
outline-color: color-mix(in oklab, var(--ring) 20%, transparent);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
html,
|
|
12
|
+
body {
|
|
13
|
+
background-color: var(--color-background);
|
|
14
|
+
color: var(--color-foreground);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
input {
|
|
18
|
+
&::-webkit-search-cancel-button,
|
|
19
|
+
&::-webkit-search-decoration {
|
|
20
|
+
appearance: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&::-webkit-outer-spin-button,
|
|
24
|
+
&::-webkit-inner-spin-button {
|
|
25
|
+
-webkit-appearance: none;
|
|
26
|
+
margin: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&[type='number'] {
|
|
30
|
+
-moz-appearance: textfield;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Named Color Theme Definitions
|
|
37
|
+
* -----------------------------------------------------------------------------
|
|
38
|
+
* Defines color variables used throughout the application to ensure interface
|
|
39
|
+
* consistency. Each color group serves a specific purpose
|
|
40
|
+
* (e.g., background, border, highlights).
|
|
41
|
+
*/
|
|
42
|
+
@theme inline {
|
|
43
|
+
--color-input: var(--input);
|
|
44
|
+
--color-border: var(--border);
|
|
45
|
+
|
|
46
|
+
--color-ring: var(--ring);
|
|
47
|
+
|
|
48
|
+
--color-background: var(--background);
|
|
49
|
+
--color-foreground: var(--foreground);
|
|
50
|
+
|
|
51
|
+
--color-primary: var(--primary);
|
|
52
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
53
|
+
|
|
54
|
+
--color-secondary: var(--secondary);
|
|
55
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
56
|
+
|
|
57
|
+
--color-destructive: var(--destructive);
|
|
58
|
+
|
|
59
|
+
--color-accent: var(--accent);
|
|
60
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
61
|
+
|
|
62
|
+
--color-muted: var(--muted);
|
|
63
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
64
|
+
|
|
65
|
+
--color-popover: var(--popover);
|
|
66
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
67
|
+
--color-popover-overlay: var(--popover-overlay);
|
|
68
|
+
|
|
69
|
+
--color-card: var(--card);
|
|
70
|
+
--color-card-foreground: var(--card-foreground);
|
|
71
|
+
|
|
72
|
+
--color-sidebar: var(--sidebar);
|
|
73
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
74
|
+
|
|
75
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
76
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
77
|
+
|
|
78
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
79
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
80
|
+
|
|
81
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
82
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
83
|
+
|
|
84
|
+
--color-chart-1: var(--chart-1);
|
|
85
|
+
--color-chart-2: var(--chart-2);
|
|
86
|
+
--color-chart-3: var(--chart-3);
|
|
87
|
+
--color-chart-4: var(--chart-4);
|
|
88
|
+
--color-chart-5: var(--chart-5);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Keyframe Animations
|
|
93
|
+
* -----------------------------------------------------------------------------
|
|
94
|
+
* Defines basic animations such as cursor blinking effects,
|
|
95
|
+
* expanding/collapsing content effects.
|
|
96
|
+
*/
|
|
97
|
+
@theme inline {
|
|
98
|
+
--animate-caret-blink: caret-blink 1250ms ease-out infinite;
|
|
99
|
+
--animate-collapsible-up: collapsible-up 200ms ease-in;
|
|
100
|
+
--animate-collapsible-down: collapsible-down 200ms ease-out;
|
|
101
|
+
|
|
102
|
+
@keyframes caret-blink {
|
|
103
|
+
0%,
|
|
104
|
+
70%,
|
|
105
|
+
100% {
|
|
106
|
+
opacity: 1;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
20%,
|
|
110
|
+
50% {
|
|
111
|
+
opacity: 0;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@keyframes collapsible-up {
|
|
116
|
+
from {
|
|
117
|
+
/*noinspection CssUnresolvedCustomProperty*/
|
|
118
|
+
height: var(--radix-collapsible-content-height);
|
|
119
|
+
}
|
|
120
|
+
to {
|
|
121
|
+
height: 0;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@keyframes collapsible-down {
|
|
126
|
+
from {
|
|
127
|
+
height: 0;
|
|
128
|
+
}
|
|
129
|
+
to {
|
|
130
|
+
/*noinspection CssUnresolvedCustomProperty*/
|
|
131
|
+
height: var(--radix-collapsible-content-height);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Animation Timing Functions
|
|
138
|
+
* -----------------------------------------------------------------------------
|
|
139
|
+
* Easing functions used to adjust the speed of animation transitions.
|
|
140
|
+
*/
|
|
141
|
+
@theme inline {
|
|
142
|
+
--animate-fade-in: fadeIn 250ms ease-out;
|
|
143
|
+
--animate-fade-out: fadeOut 250ms ease-in;
|
|
144
|
+
|
|
145
|
+
--animate-in: enter 300ms cubic-bezier(0.32, 0.72, 0, 1);
|
|
146
|
+
--animate-out: exit 250ms cubic-bezier(0.32, 0.72, 0, 1);
|
|
147
|
+
|
|
148
|
+
@keyframes fadeIn {
|
|
149
|
+
from {
|
|
150
|
+
opacity: var(--tw-enter-opacity, 0);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@keyframes fadeOut {
|
|
155
|
+
to {
|
|
156
|
+
opacity: var(--tw-exit-opacity, 0);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
@keyframes enter {
|
|
161
|
+
from {
|
|
162
|
+
opacity: var(--tw-enter-opacity, 1);
|
|
163
|
+
transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0)
|
|
164
|
+
scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1))
|
|
165
|
+
rotate(var(--tw-enter-rotate, 0));
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@keyframes exit {
|
|
170
|
+
to {
|
|
171
|
+
opacity: var(--tw-exit-opacity, 1);
|
|
172
|
+
transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0)
|
|
173
|
+
scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1))
|
|
174
|
+
rotate(var(--tw-exit-rotate, 0));
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Animation Timing Functions
|
|
181
|
+
* -----------------------------------------------------------------------------
|
|
182
|
+
* Defines utilities to adjust animation speed.
|
|
183
|
+
*/
|
|
184
|
+
@utility animation-ease-linear {
|
|
185
|
+
animation-timing-function: linear;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
@utility animation-ease-in {
|
|
189
|
+
animation-timing-function: var(--ease-in);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@utility animation-ease-out {
|
|
193
|
+
animation-timing-function: var(--ease-out);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@utility animation-ease-in-out {
|
|
197
|
+
animation-timing-function: var(--ease-in-out);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@utility animation-ease-initial {
|
|
201
|
+
animation-timing-function: initial;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
@utility animation-ease-* {
|
|
205
|
+
animation-timing-function: --value([*]);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Animation Play State
|
|
210
|
+
* -----------------------------------------------------------------------------
|
|
211
|
+
* Adjust the playback state of the animation.
|
|
212
|
+
*/
|
|
213
|
+
@utility animation-state-paused {
|
|
214
|
+
animation-play-state: paused;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
@utility animation-state-running {
|
|
218
|
+
animation-play-state: running;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
@utility animation-state-initial {
|
|
222
|
+
animation-play-state: initial;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
@utility animation-state-* {
|
|
226
|
+
animation-play-state: --value([*]);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Animation Repeat
|
|
231
|
+
* -----------------------------------------------------------------------------
|
|
232
|
+
* Controls the number of repetitions of the animation.
|
|
233
|
+
*/
|
|
234
|
+
@utility animation-repeat-infinite {
|
|
235
|
+
animation-iteration-count: infinite;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
@utility animation-repeat-initial {
|
|
239
|
+
animation-iteration-count: initial;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@utility animation-repeat-* {
|
|
243
|
+
animation-iteration-count: --value(integer, [integer]);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Animation Composition
|
|
248
|
+
* -----------------------------------------------------------------------------
|
|
249
|
+
* Defines how animations combine with each other.
|
|
250
|
+
*/
|
|
251
|
+
@utility animation-composition-replace {
|
|
252
|
+
animation-composition: replace;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
@utility animation-composition-add {
|
|
256
|
+
animation-composition: add;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
@utility animation-composition-accumulate {
|
|
260
|
+
animation-composition: accumulate;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
@utility animation-composition-initial {
|
|
264
|
+
animation-composition: initial;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
@utility animation-composition-* {
|
|
268
|
+
animation-composition: --value([*]);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Animation Delay
|
|
273
|
+
* -----------------------------------------------------------------------------
|
|
274
|
+
* Adjust the delay time before the animation starts.
|
|
275
|
+
*/
|
|
276
|
+
@utility animation-delay-initial {
|
|
277
|
+
animation-delay: initial;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
@utility animation-delay-* {
|
|
281
|
+
animation-delay: calc(--value(integer) * 1ms);
|
|
282
|
+
animation-delay: --value([*]);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Animation Direction
|
|
287
|
+
* -----------------------------------------------------------------------------
|
|
288
|
+
* Determines the playback direction of the animation.
|
|
289
|
+
*/
|
|
290
|
+
@utility animation-direction-normal {
|
|
291
|
+
animation-direction: normal;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
@utility animation-direction-reverse {
|
|
295
|
+
animation-direction: reverse;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
@utility animation-direction-alternate {
|
|
299
|
+
animation-direction: alternate;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
@utility animation-direction-alternate-reverse {
|
|
303
|
+
animation-direction: alternate-reverse;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
@utility animation-direction-initial {
|
|
307
|
+
animation-direction: initial;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
@utility animation-direction-* {
|
|
311
|
+
animation-direction: --value([*]);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Animation Duration
|
|
316
|
+
* -----------------------------------------------------------------------------
|
|
317
|
+
* Defines the duration of the animation execution.
|
|
318
|
+
*/
|
|
319
|
+
@utility animation-duration-initial {
|
|
320
|
+
animation-duration: initial;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
@utility animation-duration-* {
|
|
324
|
+
animation-duration: calc(--value(integer) * 1ms);
|
|
325
|
+
animation-duration: --value([*]);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Animation Fill Mode
|
|
330
|
+
* -----------------------------------------------------------------------------
|
|
331
|
+
* Defines the state of the element after the animation ends.
|
|
332
|
+
*/
|
|
333
|
+
@utility animation-fill-none {
|
|
334
|
+
animation-fill-mode: none;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
@utility animation-fill-forwards {
|
|
338
|
+
animation-fill-mode: forwards;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
@utility animation-fill-backwards {
|
|
342
|
+
animation-fill-mode: backwards;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
@utility animation-fill-both {
|
|
346
|
+
animation-fill-mode: both;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
@utility animation-fill-* {
|
|
350
|
+
animation-fill-mode: --value([*]);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Fade Animations
|
|
355
|
+
* -----------------------------------------------------------------------------
|
|
356
|
+
* Create fade-in and fade-out effects.
|
|
357
|
+
*/
|
|
358
|
+
@utility fade-in-* {
|
|
359
|
+
--tw-enter-opacity: calc(--value(integer) * 1%);
|
|
360
|
+
--tw-enter-opacity: --value(--opacity-*, [percentage]);
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
@utility fade-out-* {
|
|
364
|
+
--tw-exit-opacity: calc(--value(integer) * 1%);
|
|
365
|
+
--tw-exit-opacity: --value(--opacity-*, [percentage]);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Rotate Animations
|
|
370
|
+
* -----------------------------------------------------------------------------
|
|
371
|
+
* Adjust the rotation angle of the element when it appears or disappears.
|
|
372
|
+
*/
|
|
373
|
+
@utility spin-in-* {
|
|
374
|
+
--tw-enter-rotate: calc(1deg * --value(integer));
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
@utility spin-out-* {
|
|
378
|
+
--tw-exit-rotate: calc(1deg * --value(integer));
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Scale Animations
|
|
383
|
+
* -----------------------------------------------------------------------------
|
|
384
|
+
* Adjust the size of the element when it appears or disappears.
|
|
385
|
+
*/
|
|
386
|
+
@utility zoom-in-* {
|
|
387
|
+
--tw-enter-scale: --value([percentage]);
|
|
388
|
+
--tw-enter-scale: calc(--value(integer) * 1%);
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
@utility zoom-out-* {
|
|
392
|
+
--tw-exit-scale: --value([percentage]);
|
|
393
|
+
--tw-exit-scale: calc(--value(integer) * 1%);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Slide Animations - Enter
|
|
398
|
+
* -----------------------------------------------------------------------------
|
|
399
|
+
* Effects for sliding in from directions: left, right, top, bottom.
|
|
400
|
+
*/
|
|
401
|
+
|
|
402
|
+
@utility slide-in-from-top {
|
|
403
|
+
--tw-enter-translate-y: -100%;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
@utility slide-in-from-top-* {
|
|
407
|
+
--tw-enter-translate-y: calc(var(--spacing) * --value(number) * -1);
|
|
408
|
+
--tw-enter-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);
|
|
409
|
+
--tw-enter-translate-y: calc(--value([length], [percentage]) * -1);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
@utility slide-in-from-left {
|
|
413
|
+
--tw-enter-translate-x: -100%;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
@utility slide-in-from-left-* {
|
|
417
|
+
--tw-enter-translate-x: calc(var(--spacing) * --value(number) * -1);
|
|
418
|
+
--tw-enter-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);
|
|
419
|
+
--tw-enter-translate-x: calc(--value([length], [percentage]) * -1);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
@utility slide-in-from-bottom {
|
|
423
|
+
--tw-enter-translate-y: 100%;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
@utility slide-in-from-bottom-* {
|
|
427
|
+
--tw-enter-translate-y: calc(var(--spacing) * --value(number));
|
|
428
|
+
--tw-enter-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);
|
|
429
|
+
--tw-enter-translate-y: --value([length], [percentage]);
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
@utility slide-in-from-right {
|
|
433
|
+
--tw-enter-translate-x: 100%;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
@utility slide-in-from-right-* {
|
|
437
|
+
--tw-enter-translate-x: calc(var(--spacing) * --value(number));
|
|
438
|
+
--tw-enter-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);
|
|
439
|
+
--tw-enter-translate-x: --value([length], [percentage]);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Slide Animations - Exit
|
|
444
|
+
* -----------------------------------------------------------------------------
|
|
445
|
+
* Effects for sliding out of the screen in directions: left, right, top, bottom.
|
|
446
|
+
*/
|
|
447
|
+
|
|
448
|
+
@utility slide-out-to-top {
|
|
449
|
+
--tw-exit-translate-y: -100%;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
@utility slide-out-to-top-* {
|
|
453
|
+
--tw-exit-translate-y: calc(var(--spacing) * --value(number) * -1);
|
|
454
|
+
--tw-exit-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);
|
|
455
|
+
--tw-exit-translate-y: calc(--value([length], [percentage]) * -1);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
@utility slide-out-to-left {
|
|
459
|
+
--tw-exit-translate-x: -100%;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
@utility slide-out-to-left-* {
|
|
463
|
+
--tw-exit-translate-x: calc(var(--spacing) * --value(number) * -1);
|
|
464
|
+
--tw-exit-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);
|
|
465
|
+
--tw-exit-translate-x: calc(--value([length], [percentage]) * -1);
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
@utility slide-out-to-bottom {
|
|
469
|
+
--tw-exit-translate-y: 100%;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
@utility slide-out-to-bottom-* {
|
|
473
|
+
--tw-exit-translate-y: calc(var(--spacing) * --value(number));
|
|
474
|
+
--tw-exit-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);
|
|
475
|
+
--tw-exit-translate-y: --value([length], [percentage]);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
@utility slide-out-to-right {
|
|
479
|
+
--tw-exit-translate-x: 100%;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
@utility slide-out-to-right-* {
|
|
483
|
+
--tw-exit-translate-x: calc(var(--spacing) * --value(number));
|
|
484
|
+
--tw-exit-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);
|
|
485
|
+
--tw-exit-translate-x: --value([length], [percentage]);
|
|
486
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./components/alert-dialog.js";export*from"./components/dialog.js";export*from"./components/button.js";export*from"./components/input-password.js";export*from"./components/input.js";export*from"./components/tokens-grid.js";export*from"./components/tooltip.js";export*from"./components/switch.js";export*from"./components/label.js";export*from"./components/checkbox.js";export*from"./components/breadcrumb.js";export*from"./components/tabs/index.js";export*from"./components/form.js";export*from"./components/dropdown-menu.js";export*from"./components/multi-select.js";export*from"./components/select.js";export*from"./components/table.js";export*from"./components/table-expandable.js";export*from"./components/textarea.js";export*from"./components/calendar.js";export*from"./components/date-picker.js";export*from"./components/date-picker-with-range.js";export*from"./components/date-picker-with-time.js";export*from"./components/date-time-picker-with-range.js";export*from"./components/title.js";export*from"./components/page-layout/index.js";export*from"./components/pagination.js";export*from"./components/skeleton.js";export*from"./components/separator.js";export*from"./components/input-otp.js";export*from"./components/combobox.js";export*from"./components/mask-input.js";export*from"./utils/phosphor-icon-map.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lib\\utils.js","sources":["webpack://@gbmtech/aurora-ui/./src/lib/utils.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx'\r\nimport { twMerge } from 'tailwind-merge'\r\n\r\nexport function cn(...inputs: ClassValue[]) {\r\n return twMerge(clsx(inputs))\r\n}\r\n"],"names":["cn","inputs","twMerge","clsx"],"mappings":"wDAGO,SAASA,EAAG,GAAGC,CAAoB,EACxC,MAAOC,AAAAA,GAAAA,EAAAA,OAAAA,AAAAA,EAAQC,AAAAA,GAAAA,EAAAA,IAAAA,AAAAA,EAAKF,GACtB,Q"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let F={gbm:{sky:"#1154FF",ocean:"#0A3EC2",blue:"#033278",dark:"#2E3238",black:"#191919",gray:"#40464F"},header:"#FAFAFB",background:"#FFFFFF",stroke:"#DAE0E7",section:"#CFD7DC",success:{light:"#87EFAE",DEFAULT:"#21C561",dark:"#0F552E"},error:{light:"#F6A0AD",DEFAULT:"#E6183A",dark:"#4E0113"},warning:{light:"#F7BC91",DEFAULT:"#F68F18",dark:"#542A08"},sun:{light:"#FEF18F",DEFAULT:"#FDD227",dark:"#624A04"},gray:{50:"#F4F5F6",100:"#EDEEF1",200:"#D8DBDF",300:"#B6BCC3",400:"#909AA6",500:"#717C8A",600:"#5B6571",700:"#4B535D",800:"#3B4148",900:"#333B47"},red:{50:"#F7E4E9",100:"#FFCAD9",200:"#F6A0AD",300:"#FB6C80",400:"#F9536C",500:"#E6183A",600:"#C00D32",700:"#A20D2D",800:"#4E0113",900:"#2B0010"},orange:{50:"#FFEAD9",100:"#FACFB2",200:"#F8BC91",300:"#F59059",400:"#F68F18",500:"#F78221",600:"#DE6908",700:"#AC5106",800:"#542A08",900:"#3A1A0B"},yellow:{50:"#FEFAC6",100:"#FEF18F",200:"#FEDF4C",300:"#FDD227",400:"#EDBC0A",500:"#CC9A06",600:"#A47D08",700:"#8C6D0F",800:"#624A04",900:"#4A3A05"},lime:{50:"#EBFBCC",100:"#DDF7A3",200:"#C0F36E",300:"#A3E63D",400:"#86CC20",500:"#65A311",600:"#4B7C18",700:"#416414",800:"#324D0F",900:"#293E0C"},grass:{50:"#DBFDE6",100:"#BEF8D3",200:"#87EFAE",300:"#4CDD86",400:"#1FBC5C",500:"#15A24A",600:"#138040",700:"#0F552E",800:"#0B4123",900:"#082F1B"},turquoise:{50:"#F4FAFB",100:"#D3FAF9",200:"#A3F6F0",300:"#6FE6F6",400:"#21D1E3",500:"#0AB1CD",600:"#098EAF",700:"#076888",800:"#054A61",900:"#043C4C"},azure:{50:"#D7ECFF",100:"#AEDAFF",200:"#7BC2FF",300:"#35A1FF",400:"#007DE9",500:"#007BE5",600:"#005FB0",700:"#004988",800:"#003868",900:"#002C50"},royal:{50:"#E2EAFD",100:"#C7D8FD",200:"#A4C0FB",300:"#819AF4",400:"#6178EA",500:"#4355DE",600:"#374397",700:"#313A7D",800:"#0F1557",900:"#0C0F3E"},purple:{50:"#F0E9FE",100:"#DFD5FA",200:"#CFB4F9",300:"#B184F0",400:"#9354ED",500:"#8233E0",600:"#6624B5",700:"#4D2180",800:"#351856",900:"#2A1440"}};export{F as default};
|
|
2
|
+
//# sourceMappingURL=colors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens\\colors.js","sources":["webpack://@gbmtech/aurora-ui/./src/tokens/colors.ts"],"sourcesContent":["const colors = {\r\n gbm: {\r\n sky: '#1154FF',\r\n ocean: '#0A3EC2',\r\n blue: '#033278',\r\n\r\n dark: '#2E3238',\r\n black: '#191919',\r\n gray: '#40464F',\r\n },\r\n\r\n header: '#FAFAFB',\r\n background: '#FFFFFF',\r\n stroke: '#DAE0E7',\r\n section: '#CFD7DC',\r\n\r\n success: {\r\n light: '#87EFAE',\r\n DEFAULT: '#21C561',\r\n dark: '#0F552E',\r\n },\r\n error: {\r\n light: '#F6A0AD',\r\n DEFAULT: '#E6183A',\r\n dark: '#4E0113',\r\n },\r\n warning: {\r\n light: '#F7BC91',\r\n DEFAULT: '#F68F18',\r\n dark: '#542A08',\r\n },\r\n sun: {\r\n light: '#FEF18F',\r\n DEFAULT: '#FDD227',\r\n dark: '#624A04',\r\n },\r\n\r\n gray: {\r\n 50: '#F4F5F6',\r\n 100: '#EDEEF1',\r\n 200: '#D8DBDF',\r\n 300: '#B6BCC3',\r\n 400: '#909AA6',\r\n 500: '#717C8A',\r\n 600: '#5B6571',\r\n 700: '#4B535D',\r\n 800: '#3B4148',\r\n 900: '#333B47',\r\n },\r\n red: {\r\n 50: '#F7E4E9',\r\n 100: '#FFCAD9',\r\n 200: '#F6A0AD',\r\n 300: '#FB6C80',\r\n 400: '#F9536C',\r\n 500: '#E6183A',\r\n 600: '#C00D32',\r\n 700: '#A20D2D',\r\n 800: '#4E0113',\r\n 900: '#2B0010',\r\n },\r\n orange: {\r\n 50: '#FFEAD9',\r\n 100: '#FACFB2',\r\n 200: '#F8BC91',\r\n 300: '#F59059',\r\n 400: '#F68F18',\r\n 500: '#F78221',\r\n 600: '#DE6908',\r\n 700: '#AC5106',\r\n 800: '#542A08',\r\n 900: '#3A1A0B',\r\n },\r\n yellow: {\r\n 50: '#FEFAC6',\r\n 100: '#FEF18F',\r\n 200: '#FEDF4C',\r\n 300: '#FDD227',\r\n 400: '#EDBC0A',\r\n 500: '#CC9A06',\r\n 600: '#A47D08',\r\n 700: '#8C6D0F',\r\n 800: '#624A04',\r\n 900: '#4A3A05',\r\n },\r\n lime: {\r\n 50: '#EBFBCC',\r\n 100: '#DDF7A3',\r\n 200: '#C0F36E',\r\n 300: '#A3E63D',\r\n 400: '#86CC20',\r\n 500: '#65A311',\r\n 600: '#4B7C18',\r\n 700: '#416414',\r\n 800: '#324D0F',\r\n 900: '#293E0C',\r\n },\r\n grass: {\r\n 50: '#DBFDE6',\r\n 100: '#BEF8D3',\r\n 200: '#87EFAE',\r\n 300: '#4CDD86',\r\n 400: '#1FBC5C',\r\n 500: '#15A24A',\r\n 600: '#138040',\r\n 700: '#0F552E',\r\n 800: '#0B4123',\r\n 900: '#082F1B',\r\n },\r\n turquoise: {\r\n 50: '#F4FAFB',\r\n 100: '#D3FAF9',\r\n 200: '#A3F6F0',\r\n 300: '#6FE6F6',\r\n 400: '#21D1E3',\r\n 500: '#0AB1CD',\r\n 600: '#098EAF',\r\n 700: '#076888',\r\n 800: '#054A61',\r\n 900: '#043C4C',\r\n },\r\n azure: {\r\n 50: '#D7ECFF',\r\n 100: '#AEDAFF',\r\n 200: '#7BC2FF',\r\n 300: '#35A1FF',\r\n 400: '#007DE9',\r\n 500: '#007BE5',\r\n 600: '#005FB0',\r\n 700: '#004988',\r\n 800: '#003868',\r\n 900: '#002C50',\r\n },\r\n royal: {\r\n 50: '#E2EAFD',\r\n 100: '#C7D8FD',\r\n 200: '#A4C0FB',\r\n 300: '#819AF4',\r\n 400: '#6178EA',\r\n 500: '#4355DE',\r\n 600: '#374397',\r\n 700: '#313A7D',\r\n 800: '#0F1557',\r\n 900: '#0C0F3E',\r\n },\r\n purple: {\r\n 50: '#F0E9FE',\r\n 100: '#DFD5FA',\r\n 200: '#CFB4F9',\r\n 300: '#B184F0',\r\n 400: '#9354ED',\r\n 500: '#8233E0',\r\n 600: '#6624B5',\r\n 700: '#4D2180',\r\n 800: '#351856',\r\n 900: '#2A1440',\r\n },\r\n}\r\n\r\nexport default colors\r\n"],"names":[],"mappings":"AA+JA,MA/Je,CACb,IAAK,CACH,IAAK,UACL,MAAO,UACP,KAAM,UAEN,KAAM,UACN,MAAO,UACP,KAAM,SACR,EAEA,OAAQ,UACR,WAAY,UACZ,OAAQ,UACR,QAAS,UAET,QAAS,CACP,MAAO,UACP,QAAS,UACT,KAAM,SACR,EACA,MAAO,CACL,MAAO,UACP,QAAS,UACT,KAAM,SACR,EACA,QAAS,CACP,MAAO,UACP,QAAS,UACT,KAAM,SACR,EACA,IAAK,CACH,MAAO,UACP,QAAS,UACT,KAAM,SACR,EAEA,KAAM,CACJ,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACP,EACA,IAAK,CACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACP,EACA,OAAQ,CACN,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACP,EACA,OAAQ,CACN,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACP,EACA,KAAM,CACJ,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACP,EACA,MAAO,CACL,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACP,EACA,UAAW,CACT,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACP,EACA,MAAO,CACL,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACP,EACA,MAAO,CACL,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACP,EACA,OAAQ,CACN,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACP,CACF,S"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./colors.js";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as s from"react/jsx-runtime";import*as o from"@phosphor-icons/react/dist/ssr";import*as a from"../components/icons/rumo.js";import*as e from"../components/icons/vli.js";function r(i,{size:t=28,weight:u="duotone"}={}){let c={Bus:o.Bus,Boat:o.Boat,Stack:o.Stack,Broadcast:o.Broadcast,Train:o.Train,House:o.House,TrainRegional:o.TrainRegional,Suitcase:o.Suitcase,Package:o.Package,SquaresFour:o.SquaresFour,ListPlus:o.ListPlus,SuitcaseSimple:o.SuitcaseSimple,Rumo:a.Rumo,Waves:o.Waves,Briefcase:o.Briefcase,VLI:e.VLI}[i];return c?(0,s.jsx)(c,{size:t,weight:u}):null}export{r as PhosphorIconMap};
|
|
2
|
+
//# sourceMappingURL=phosphor-icon-map.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils\\phosphor-icon-map.js","sources":["webpack://@gbmtech/aurora-ui/./src/utils/phosphor-icon-map.tsx"],"sourcesContent":["import { IconWeight } from '@phosphor-icons/react'\r\nimport {\r\n Boat,\r\n Briefcase,\r\n Broadcast,\r\n Bus,\r\n House,\r\n ListPlus,\r\n Package,\r\n SquaresFour,\r\n Stack,\r\n Suitcase,\r\n SuitcaseSimple,\r\n Train,\r\n TrainRegional,\r\n Waves,\r\n} from '@phosphor-icons/react/dist/ssr'\r\n\r\nimport { Rumo } from '../components/icons/rumo'\r\nimport { VLI } from '../components/icons/vli'\r\n\r\ntype PhosphorIconMapOptions = {\r\n size?: number\r\n weight?: IconWeight\r\n}\r\n\r\nexport function PhosphorIconMap(\r\n icon: string,\r\n { size = 28, weight = 'duotone' }: PhosphorIconMapOptions = {},\r\n) {\r\n const iconMap = {\r\n Bus,\r\n Boat,\r\n Stack,\r\n Broadcast,\r\n Train,\r\n House,\r\n TrainRegional,\r\n Suitcase,\r\n Package,\r\n SquaresFour,\r\n ListPlus,\r\n SuitcaseSimple,\r\n Rumo,\r\n Waves,\r\n Briefcase,\r\n VLI,\r\n }\r\n\r\n const IconComponent = iconMap[icon as keyof typeof iconMap]\r\n\r\n if (!IconComponent) {\r\n return null\r\n }\r\n\r\n return <IconComponent size={size} weight={weight} />\r\n}\r\n"],"names":["PhosphorIconMap","icon","size","weight","IconComponent","iconMap","Bus","Boat","Stack","Broadcast","Train","House","TrainRegional","Suitcase","Package","SquaresFour","ListPlus","SuitcaseSimple","Rumo","Waves","Briefcase","VLI"],"mappings":"gLA0BO,SAASA,EACdC,CAAY,CACZ,CAAEC,KAAAA,EAAO,EAAE,CAAEC,OAAAA,EAAS,SAAS,CAA0B,CAAG,CAAC,CAAC,EAqB9D,IAAMC,EAAgBC,AAnBN,CACdC,IAAGA,EAAAA,GAAAA,CACHC,KAAIA,EAAAA,IAAAA,CACJC,MAAKA,EAAAA,KAAAA,CACLC,UAASA,EAAAA,SAAAA,CACTC,MAAKA,EAAAA,KAAAA,CACLC,MAAKA,EAAAA,KAAAA,CACLC,cAAaA,EAAAA,aAAAA,CACbC,SAAQA,EAAAA,QAAAA,CACRC,QAAOA,EAAAA,OAAAA,CACPC,YAAWA,EAAAA,WAAAA,CACXC,SAAQA,EAAAA,QAAAA,CACRC,eAAcA,EAAAA,cAAAA,CACdC,KAAIA,EAAAA,IAAAA,CACJC,MAAKA,EAAAA,KAAAA,CACLC,UAASA,EAAAA,SAAAA,CACTC,IAAGA,EAAAA,GAAAA,AACL,CAE6B,CAACpB,EAA6B,QAE3D,AAAKG,EAIE,UAACA,EAAAA,CAAc,KAAMF,EAAM,OAAQC,C,GAHjC,IAIX,Q"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function t(t){return/^(0[0-9]|1[0-9]|2[0-3])$/.test(t)}function e(t){return/^(0[1-9]|1[0-2])$/.test(t)}function n(t){return/^[0-5][0-9]$/.test(t)}function r(t,{max:e,min:n=0,loop:r=!1}){let u=parseInt(t,10);return isNaN(u)?"00":(r?(u>e&&(u=n),u<n&&(u=e)):(u>e&&(u=e),u<n&&(u=n)),u.toString().padStart(2,"0"))}function u(e){return t(e)?e:r(e,{max:23})}function s(t){return e(t)?t:r(t,{max:12})}function i(t){return n(t)?t:r(t,{max:59})}function o(t,{min:e,max:n,step:u}){let s=parseInt(t,10);return isNaN(s)?"00":r(String(s+=u),{min:e,max:n,loop:!0})}function a(t,e){return o(t,{min:0,max:23,step:e})}function c(t,e){return o(t,{min:0,max:59,step:e})}function d(t,e){let n=i(e);return t.setMinutes(parseInt(n,10)),t}function f(t,e){let n=i(e);return t.setSeconds(parseInt(n,10)),t}function l(t,e){let n=u(e);return t.setHours(parseInt(n,10)),t}function g(t,e,n){switch(n){case"minutes":return d(t,e);case"seconds":return f(t,e);case"hours":return l(t,e);default:return t}}function m(t,e){switch(e){case"minutes":return i(String(t.getMinutes()));case"seconds":return i(String(t.getSeconds()));case"hours":return u(String(t.getHours()));default:return"00"}}function S(t,e,n){switch(n){case"minutes":case"seconds":return c(t,e);case"hours":return a(t,e);default:return"00"}}export{S as getArrowByType,m as getDateByType,s as getValid12Hour,a as getValidArrowHour,c as getValidArrowMinuteOrSecond,o as getValidArrowNumber,u as getValidHour,i as getValidMinuteOrSecond,r as getValidNumber,e as isValid12Hour,t as isValidHour,n as isValidMinuteOrSecond,g as setDateByType,l as setHours,d as setMinutes,f as setSeconds};
|
|
2
|
+
//# sourceMappingURL=time-picker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils\\time-picker.js","sources":["webpack://@gbmtech/aurora-ui/./src/utils/time-picker.ts"],"sourcesContent":["export function isValidHour(value: string) {\r\n return /^(0[0-9]|1[0-9]|2[0-3])$/.test(value)\r\n}\r\n\r\nexport function isValid12Hour(value: string) {\r\n return /^(0[1-9]|1[0-2])$/.test(value)\r\n}\r\n\r\nexport function isValidMinuteOrSecond(value: string) {\r\n return /^[0-5][0-9]$/.test(value)\r\n}\r\n\r\ntype GetValidNumberConfig = { max: number; min?: number; loop?: boolean }\r\n\r\nexport function getValidNumber(\r\n value: string,\r\n { max, min = 0, loop = false }: GetValidNumberConfig,\r\n) {\r\n let numericValue = parseInt(value, 10)\r\n\r\n if (!isNaN(numericValue)) {\r\n if (!loop) {\r\n if (numericValue > max) numericValue = max\r\n if (numericValue < min) numericValue = min\r\n } else {\r\n if (numericValue > max) numericValue = min\r\n if (numericValue < min) numericValue = max\r\n }\r\n return numericValue.toString().padStart(2, '0')\r\n }\r\n\r\n return '00'\r\n}\r\n\r\nexport function getValidHour(value: string) {\r\n if (isValidHour(value)) return value\r\n return getValidNumber(value, { max: 23 })\r\n}\r\n\r\nexport function getValid12Hour(value: string) {\r\n if (isValid12Hour(value)) return value\r\n return getValidNumber(value, { max: 12 })\r\n}\r\n\r\nexport function getValidMinuteOrSecond(value: string) {\r\n if (isValidMinuteOrSecond(value)) return value\r\n return getValidNumber(value, { max: 59 })\r\n}\r\n\r\ntype GetValidArrowNumberConfig = {\r\n min: number\r\n max: number\r\n step: number\r\n}\r\n\r\nexport function getValidArrowNumber(\r\n value: string,\r\n { min, max, step }: GetValidArrowNumberConfig,\r\n) {\r\n let numericValue = parseInt(value, 10)\r\n if (!isNaN(numericValue)) {\r\n numericValue += step\r\n return getValidNumber(String(numericValue), { min, max, loop: true })\r\n }\r\n return '00'\r\n}\r\n\r\nexport function getValidArrowHour(value: string, step: number) {\r\n return getValidArrowNumber(value, { min: 0, max: 23, step })\r\n}\r\n\r\nexport function getValidArrowMinuteOrSecond(value: string, step: number) {\r\n return getValidArrowNumber(value, { min: 0, max: 59, step })\r\n}\r\n\r\nexport function setMinutes(date: Date, value: string) {\r\n const minutes = getValidMinuteOrSecond(value)\r\n date.setMinutes(parseInt(minutes, 10))\r\n return date\r\n}\r\n\r\nexport function setSeconds(date: Date, value: string) {\r\n const seconds = getValidMinuteOrSecond(value)\r\n date.setSeconds(parseInt(seconds, 10))\r\n return date\r\n}\r\n\r\nexport function setHours(date: Date, value: string) {\r\n const hours = getValidHour(value)\r\n date.setHours(parseInt(hours, 10))\r\n return date\r\n}\r\n\r\nexport type TimePickerType = 'minutes' | 'seconds' | 'hours' // | \"12hours\";\r\n\r\nexport function setDateByType(date: Date, value: string, type: TimePickerType) {\r\n switch (type) {\r\n case 'minutes':\r\n return setMinutes(date, value)\r\n case 'seconds':\r\n return setSeconds(date, value)\r\n case 'hours':\r\n return setHours(date, value)\r\n default:\r\n return date\r\n }\r\n}\r\n\r\nexport function getDateByType(date: Date, type: TimePickerType) {\r\n switch (type) {\r\n case 'minutes':\r\n return getValidMinuteOrSecond(String(date.getMinutes()))\r\n case 'seconds':\r\n return getValidMinuteOrSecond(String(date.getSeconds()))\r\n case 'hours':\r\n return getValidHour(String(date.getHours()))\r\n default:\r\n return '00'\r\n }\r\n}\r\n\r\nexport function getArrowByType(\r\n value: string,\r\n step: number,\r\n type: TimePickerType,\r\n) {\r\n switch (type) {\r\n case 'minutes':\r\n return getValidArrowMinuteOrSecond(value, step)\r\n case 'seconds':\r\n return getValidArrowMinuteOrSecond(value, step)\r\n case 'hours':\r\n return getValidArrowHour(value, step)\r\n default:\r\n return '00'\r\n }\r\n}\r\n"],"names":["isValidHour","value","isValid12Hour","isValidMinuteOrSecond","getValidNumber","max","min","loop","numericValue","parseInt","isNaN","getValidHour","getValid12Hour","getValidMinuteOrSecond","getValidArrowNumber","step","String","getValidArrowHour","getValidArrowMinuteOrSecond","setMinutes","date","minutes","setSeconds","seconds","setHours","hours","setDateByType","type","getDateByType","getArrowByType"],"mappings":"AAAO,SAASA,EAAYC,CAAa,EACvC,MAAO,2BAA2B,IAAI,CAACA,EACzC,CAEO,SAASC,EAAcD,CAAa,EACzC,MAAO,oBAAoB,IAAI,CAACA,EAClC,CAEO,SAASE,EAAsBF,CAAa,EACjD,MAAO,eAAe,IAAI,CAACA,EAC7B,CAIO,SAASG,EACdH,CAAa,CACb,CAAEI,IAAAA,CAAG,CAAEC,IAAAA,EAAM,CAAC,CAAEC,KAAAA,EAAO,EAAK,CAAwB,EAEpD,IAAIC,EAAeC,SAASR,EAAO,WAEnC,AAAKS,MAAMF,GAWJ,MAVAD,GAICC,EAAeH,GAAKG,CAAAA,EAAeF,CAAE,EACrCE,EAAeF,GAAKE,CAAAA,EAAeH,CAAE,IAJrCG,EAAeH,GAAKG,CAAAA,EAAeH,CAAE,EACrCG,EAAeF,GAAKE,CAAAA,EAAeF,CAAE,GAKpCE,EAAa,QAAQ,GAAG,QAAQ,CAAC,EAAG,KAI/C,CAEO,SAASG,EAAaV,CAAa,SACxC,AAAID,EAAYC,GAAeA,EACxBG,EAAeH,EAAO,CAAE,IAAK,EAAG,EACzC,CAEO,SAASW,EAAeX,CAAa,SAC1C,AAAIC,EAAcD,GAAeA,EAC1BG,EAAeH,EAAO,CAAE,IAAK,EAAG,EACzC,CAEO,SAASY,EAAuBZ,CAAa,SAClD,AAAIE,EAAsBF,GAAeA,EAClCG,EAAeH,EAAO,CAAE,IAAK,EAAG,EACzC,CAQO,SAASa,EACdb,CAAa,CACb,CAAEK,IAAAA,CAAG,CAAED,IAAAA,CAAG,CAAEU,KAAAA,CAAI,CAA6B,EAE7C,IAAIP,EAAeC,SAASR,EAAO,WACnC,AAAKS,MAAMF,GAIJ,KAFEJ,EAAeY,OADtBR,GAAgBO,GAC4B,CAAET,IAAAA,EAAKD,IAAAA,EAAK,KAAM,EAAK,EAGvE,CAEO,SAASY,EAAkBhB,CAAa,CAAEc,CAAY,EAC3D,OAAOD,EAAoBb,EAAO,CAAE,IAAK,EAAG,IAAK,GAAIc,KAAAA,CAAK,EAC5D,CAEO,SAASG,EAA4BjB,CAAa,CAAEc,CAAY,EACrE,OAAOD,EAAoBb,EAAO,CAAE,IAAK,EAAG,IAAK,GAAIc,KAAAA,CAAK,EAC5D,CAEO,SAASI,EAAWC,CAAU,CAAEnB,CAAa,EAClD,IAAMoB,EAAUR,EAAuBZ,GAEvC,OADAmB,EAAK,UAAU,CAACX,SAASY,EAAS,KAC3BD,CACT,CAEO,SAASE,EAAWF,CAAU,CAAEnB,CAAa,EAClD,IAAMsB,EAAUV,EAAuBZ,GAEvC,OADAmB,EAAK,UAAU,CAACX,SAASc,EAAS,KAC3BH,CACT,CAEO,SAASI,EAASJ,CAAU,CAAEnB,CAAa,EAChD,IAAMwB,EAAQd,EAAaV,GAE3B,OADAmB,EAAK,QAAQ,CAACX,SAASgB,EAAO,KACvBL,CACT,CAIO,SAASM,EAAcN,CAAU,CAAEnB,CAAa,CAAE0B,CAAoB,EAC3E,OAAQA,GACN,IAAK,UACH,OAAOR,EAAWC,EAAMnB,EAC1B,KAAK,UACH,OAAOqB,EAAWF,EAAMnB,EAC1B,KAAK,QACH,OAAOuB,EAASJ,EAAMnB,EACxB,SACE,OAAOmB,CACX,CACF,CAEO,SAASQ,EAAcR,CAAU,CAAEO,CAAoB,EAC5D,OAAQA,GACN,IAAK,UACH,OAAOd,EAAuBG,OAAOI,EAAK,UAAU,IACtD,KAAK,UACH,OAAOP,EAAuBG,OAAOI,EAAK,UAAU,IACtD,KAAK,QACH,OAAOT,EAAaK,OAAOI,EAAK,QAAQ,IAC1C,SACE,MAAO,IACX,CACF,CAEO,SAASS,EACd5B,CAAa,CACbc,CAAY,CACZY,CAAoB,EAEpB,OAAQA,GACN,IAAK,UAEL,IAAK,UADH,OAAOT,EAA4BjB,EAAOc,EAG5C,KAAK,QACH,OAAOE,EAAkBhB,EAAOc,EAClC,SACE,MAAO,IACX,CACF,Q"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
4
|
+
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
6
|
+
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const AlertDialogHeader: {
|
|
9
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
declare const AlertDialogFooter: {
|
|
13
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
17
|
+
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
18
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { HTMLAttributes } from 'react';
|
|
3
|
+
declare const badgeVariants: (props?: ({
|
|
4
|
+
variant?: "secondary" | "outline" | "destructive" | "default" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export interface BadgeProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
|
+
}
|
|
8
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare namespace Badge {
|
|
10
|
+
var displayName: string;
|
|
11
|
+
}
|
|
12
|
+
export { Badge, badgeVariants };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
declare const Breadcrumb: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
3
|
+
separator?: ReactNode;
|
|
4
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
5
|
+
declare const BreadcrumbList: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & import("react").RefAttributes<HTMLOListElement>>;
|
|
6
|
+
declare const BreadcrumbItem: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
|
|
7
|
+
declare const BreadcrumbLink: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
10
|
+
declare const BreadcrumbPage: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
11
|
+
declare const BreadcrumbSeparator: {
|
|
12
|
+
({ children, className, ...props }: ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
declare const BreadcrumbEllipsis: {
|
|
16
|
+
({ className, ...props }: ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
declare const BreadcrumbHome: {
|
|
20
|
+
(props: ComponentProps<typeof BreadcrumbLink>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
23
|
+
export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, BreadcrumbHome, };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { type ButtonHTMLAttributes } from 'react';
|
|
3
|
+
declare const buttonVariants: (props?: ({
|
|
4
|
+
variant?: "primary" | "secondary" | "tertiary" | "outline" | "ghost" | "destructive" | "link" | null | undefined;
|
|
5
|
+
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
6
|
+
rounded?: boolean | null | undefined;
|
|
7
|
+
loading?: boolean | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
10
|
+
asChild?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
export { Button, buttonVariants };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type DayPickerProps } from 'react-day-picker';
|
|
2
|
+
export type CalendarProps = DayPickerProps;
|
|
3
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare namespace Calendar {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export { Calendar };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
2
|
+
declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
3
|
+
size?: "md" | "lg";
|
|
4
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
export { Checkbox };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface ComboBoxProps {
|
|
2
|
+
name?: string;
|
|
3
|
+
value: string | number | undefined;
|
|
4
|
+
language?: 'pt-br' | 'en-us' | 'es';
|
|
5
|
+
valueIcon?: React.ReactNode;
|
|
6
|
+
items: {
|
|
7
|
+
value: string;
|
|
8
|
+
label: string;
|
|
9
|
+
icon?: React.ReactNode;
|
|
10
|
+
}[];
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
onValueChange?: (value: string) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const ComboBox: ({ items, name, value, valueIcon, language, disabled, onValueChange, }: ComboBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export { ComboBox };
|