@cahyo-dimas/freeday 1.7.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.
- package/CHANGELOG.md +447 -0
- package/LICENSE +21 -0
- package/README.md +205 -0
- package/adapters/blazor/freeday-blazor.js +79 -0
- package/adapters/react/components/FdyAutocomplete.tsx +159 -0
- package/adapters/react/components/FdyCascade.tsx +230 -0
- package/adapters/react/components/FdyCfl.tsx +362 -0
- package/adapters/react/components/FdyChart.tsx +69 -0
- package/adapters/react/components/FdyCombo.tsx +166 -0
- package/adapters/react/components/FdyDateRange.tsx +66 -0
- package/adapters/react/components/FdyDatepicker.tsx +354 -0
- package/adapters/react/index.d.ts +37 -0
- package/adapters/react/index.js +9 -0
- package/adapters/react/tsconfig.json +14 -0
- package/adapters/react/useFreeday.js +44 -0
- package/adapters/react/usePopover.ts +64 -0
- package/adapters/vue/components/FdyAutocomplete.vue +174 -0
- package/adapters/vue/components/FdyCascade.vue +241 -0
- package/adapters/vue/components/FdyCfl.vue +354 -0
- package/adapters/vue/components/FdyChart.vue +89 -0
- package/adapters/vue/components/FdyCombo.vue +232 -0
- package/adapters/vue/components/FdyDateRange.vue +78 -0
- package/adapters/vue/components/FdyDatepicker.vue +333 -0
- package/adapters/vue/index.d.ts +44 -0
- package/adapters/vue/index.js +8 -0
- package/adapters/vue/useFreeday.js +44 -0
- package/adapters/vue/usePopover.ts +78 -0
- package/dist/freeday-autocomplete.js +135 -0
- package/dist/freeday-breakpoint.js +51 -0
- package/dist/freeday-carousel.js +111 -0
- package/dist/freeday-cascade.js +256 -0
- package/dist/freeday-cfl.js +213 -0
- package/dist/freeday-chart.js +403 -0
- package/dist/freeday-chip.js +83 -0
- package/dist/freeday-datepicker.js +321 -0
- package/dist/freeday-datetime.js +59 -0
- package/dist/freeday-drawer.js +43 -0
- package/dist/freeday-form.js +181 -0
- package/dist/freeday-mask.js +114 -0
- package/dist/freeday-menu.js +93 -0
- package/dist/freeday-popover.js +69 -0
- package/dist/freeday-rating.js +50 -0
- package/dist/freeday-select.js +194 -0
- package/dist/freeday-slider.js +34 -0
- package/dist/freeday-stepper.js +90 -0
- package/dist/freeday-table.js +475 -0
- package/dist/freeday-tabs.js +68 -0
- package/dist/freeday-timepicker.js +180 -0
- package/dist/freeday-toast.js +84 -0
- package/dist/freeday-tree.js +94 -0
- package/dist/freeday-upload.js +206 -0
- package/dist/freeday.bundle.css +1352 -0
- package/dist/freeday.css +1007 -0
- package/dist/freeday.js +3632 -0
- package/dist/freeday.tokens.css +343 -0
- package/package.json +72 -0
- package/src/base.css +20 -0
- package/src/components/.gitkeep +0 -0
- package/src/components/accordion.css +13 -0
- package/src/components/alert.css +18 -0
- package/src/components/app-shell.css +88 -0
- package/src/components/appbar.css +15 -0
- package/src/components/autocomplete.css +12 -0
- package/src/components/avatar.css +8 -0
- package/src/components/badge.css +27 -0
- package/src/components/breadcrumb.css +9 -0
- package/src/components/breakpoints.css +15 -0
- package/src/components/button.css +58 -0
- package/src/components/card.css +9 -0
- package/src/components/carousel.css +17 -0
- package/src/components/cascade.css +36 -0
- package/src/components/cfl.css +28 -0
- package/src/components/chart.css +55 -0
- package/src/components/chip.css +18 -0
- package/src/components/combo.css +27 -0
- package/src/components/datepicker.css +44 -0
- package/src/components/datetimepicker.css +8 -0
- package/src/components/description-list.css +6 -0
- package/src/components/divider.css +3 -0
- package/src/components/drawer.css +25 -0
- package/src/components/file-upload.css +34 -0
- package/src/components/filterbar.css +25 -0
- package/src/components/form-grid.css +8 -0
- package/src/components/input-group.css +22 -0
- package/src/components/input.css +13 -0
- package/src/components/kbd.css +2 -0
- package/src/components/menu.css +28 -0
- package/src/components/modal.css +22 -0
- package/src/components/pagination.css +8 -0
- package/src/components/progress.css +7 -0
- package/src/components/rating.css +10 -0
- package/src/components/selection.css +25 -0
- package/src/components/skeleton.css +7 -0
- package/src/components/slider.css +12 -0
- package/src/components/spinner.css +6 -0
- package/src/components/states.css +8 -0
- package/src/components/stepper.css +21 -0
- package/src/components/table.css +55 -0
- package/src/components/tabs.css +10 -0
- package/src/components/timeline.css +12 -0
- package/src/components/timepicker.css +22 -0
- package/src/components/toast.css +17 -0
- package/src/components/tooltip.css +6 -0
- package/src/components/tree.css +21 -0
- package/src/freeday-autocomplete.js +135 -0
- package/src/freeday-breakpoint.js +51 -0
- package/src/freeday-carousel.js +111 -0
- package/src/freeday-cascade.js +256 -0
- package/src/freeday-cfl.js +213 -0
- package/src/freeday-chart.js +403 -0
- package/src/freeday-chip.js +83 -0
- package/src/freeday-datepicker.js +321 -0
- package/src/freeday-datetime.js +59 -0
- package/src/freeday-drawer.js +43 -0
- package/src/freeday-form.js +181 -0
- package/src/freeday-mask.js +114 -0
- package/src/freeday-menu.js +93 -0
- package/src/freeday-popover.js +69 -0
- package/src/freeday-rating.js +50 -0
- package/src/freeday-select.js +194 -0
- package/src/freeday-slider.js +34 -0
- package/src/freeday-stepper.js +90 -0
- package/src/freeday-table.js +475 -0
- package/src/freeday-tabs.js +68 -0
- package/src/freeday-timepicker.js +180 -0
- package/src/freeday-toast.js +84 -0
- package/src/freeday-tree.js +94 -0
- package/src/freeday-upload.js +206 -0
- package/tokens/breakpoints.mjs +4 -0
- package/tokens/tokens.json +123 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"azure": {
|
|
3
|
+
"50": { "$value": "#eff4ff" }, "100": { "$value": "#dbe6fe" },
|
|
4
|
+
"200": { "$value": "#bdd2fd" }, "300": { "$value": "#90b3fb" },
|
|
5
|
+
"400": { "$value": "#5c8bf6" }, "500": { "$value": "#3467ec" },
|
|
6
|
+
"600": { "$value": "#2050d8" }, "700": { "$value": "#1c40b0" },
|
|
7
|
+
"800": { "$value": "#1c398c" }, "900": { "$value": "#1c336e" },
|
|
8
|
+
"950": { "$value": "#131e42" }
|
|
9
|
+
},
|
|
10
|
+
"slate": {
|
|
11
|
+
"0": { "$value": "#ffffff" }, "50": { "$value": "#f7f8fa" },
|
|
12
|
+
"100": { "$value": "#eef0f4" }, "200": { "$value": "#e0e3ea" },
|
|
13
|
+
"300": { "$value": "#cbd0da" }, "400": { "$value": "#99a1b3" },
|
|
14
|
+
"500": { "$value": "#6b7488" }, "600": { "$value": "#4d5568" },
|
|
15
|
+
"700": { "$value": "#3a4152" }, "800": { "$value": "#262b38" },
|
|
16
|
+
"900": { "$value": "#171b26" }, "950": { "$value": "#0e111a" }
|
|
17
|
+
},
|
|
18
|
+
"sky": {
|
|
19
|
+
"50": { "$value": "#eff6fd" }, "100": { "$value": "#d6e9fb" },
|
|
20
|
+
"200": { "$value": "#b0d4f6" }, "300": { "$value": "#7bbdef" },
|
|
21
|
+
"400": { "$value": "#47a1e6" }, "500": { "$value": "#1a86dc" },
|
|
22
|
+
"600": { "$value": "#0078d4" }, "700": { "$value": "#0061ac" },
|
|
23
|
+
"800": { "$value": "#004d88" }, "900": { "$value": "#003a67" }
|
|
24
|
+
},
|
|
25
|
+
"red": { "100": { "$value": "#fee2e2" }, "300": { "$value": "#fca5a5" }, "400": { "$value": "#f87171" }, "500": { "$value": "#ef4444" }, "600": { "$value": "#dc2626" }, "700": { "$value": "#b91c1c" } },
|
|
26
|
+
"amber": { "100": { "$value": "#fef3c7" }, "400": { "$value": "#fbbf24" }, "500": { "$value": "#f59e0b" }, "600": { "$value": "#d97706" }, "700": { "$value": "#b45309" }, "800": { "$value": "#92400e" } },
|
|
27
|
+
"green": { "100": { "$value": "#dcfce7" }, "400": { "$value": "#4ade80" }, "500": { "$value": "#22c55e" }, "600": { "$value": "#16a34a" }, "700": { "$value": "#15803d" }, "800": { "$value": "#166534" } },
|
|
28
|
+
"blue": { "100": { "$value": "#dbeafe" }, "300": { "$value": "#93c5fd" }, "400": { "$value": "#60a5fa" }, "500": { "$value": "#3b82f6" }, "600": { "$value": "#2563eb" }, "700": { "$value": "#1d4ed8" } },
|
|
29
|
+
|
|
30
|
+
"font": {
|
|
31
|
+
"display": { "$value": "'Sora', ui-sans-serif, system-ui, sans-serif" },
|
|
32
|
+
"body": { "$value": "'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, sans-serif" },
|
|
33
|
+
"mono": { "$value": "'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace" }
|
|
34
|
+
},
|
|
35
|
+
"text": {
|
|
36
|
+
"xs": { "$value": "0.75rem" }, "sm": { "$value": "0.875rem" }, "base": { "$value": "1rem" },
|
|
37
|
+
"lg": { "$value": "1.125rem" }, "xl": { "$value": "1.25rem" }, "2xl": { "$value": "1.5625rem" },
|
|
38
|
+
"3xl": { "$value": "1.9375rem" }, "4xl": { "$value": "2.4375rem" }, "5xl": { "$value": "3.0625rem" }
|
|
39
|
+
},
|
|
40
|
+
"leading": { "tight": { "$value": "1.2" }, "snug": { "$value": "1.35" }, "normal": { "$value": "1.55" }, "loose": { "$value": "1.75" } },
|
|
41
|
+
"tracking": { "tighter": { "$value": "-0.03em" }, "tight": { "$value": "-0.02em" }, "normal": { "$value": "0" }, "wide": { "$value": "0.06em" } },
|
|
42
|
+
"weight": { "regular": { "$value": "400" }, "medium": { "$value": "500" }, "semibold": { "$value": "600" }, "bold": { "$value": "700" } },
|
|
43
|
+
|
|
44
|
+
"space": {
|
|
45
|
+
"0": { "$value": "0" }, "1": { "$value": "0.25rem" }, "2": { "$value": "0.5rem" }, "3": { "$value": "0.75rem" },
|
|
46
|
+
"4": { "$value": "1rem" }, "5": { "$value": "1.25rem" }, "6": { "$value": "1.5rem" }, "8": { "$value": "2rem" },
|
|
47
|
+
"10": { "$value": "2.5rem" }, "12": { "$value": "3rem" }, "16": { "$value": "4rem" }, "20": { "$value": "5rem" }, "24": { "$value": "6rem" }
|
|
48
|
+
},
|
|
49
|
+
"radius": { "xs": { "$value": "3px" }, "sm": { "$value": "4px" }, "md": { "$value": "6px" }, "lg": { "$value": "10px" }, "xl": { "$value": "14px" }, "full": { "$value": "999px" } },
|
|
50
|
+
"shadow": {
|
|
51
|
+
"1": { "$value": "0 1px 2px rgba(16,14,30,.06)", "$dark": "0 1px 2px rgba(0,0,0,.4)" },
|
|
52
|
+
"2": { "$value": "0 2px 6px rgba(16,14,30,.07),0 1px 2px rgba(16,14,30,.05)", "$dark": "0 2px 6px rgba(0,0,0,.45)" },
|
|
53
|
+
"3": { "$value": "0 4px 16px -2px rgba(16,14,30,.14),0 1px 3px rgba(16,14,30,.10)", "$dark": "0 6px 20px -2px rgba(0,0,0,.6),0 1px 3px rgba(0,0,0,.5)" },
|
|
54
|
+
"4": { "$value": "0 24px 48px -12px rgba(16,14,30,.26),0 2px 8px rgba(16,14,30,.10)", "$dark": "0 28px 56px -12px rgba(0,0,0,.72),0 2px 8px rgba(0,0,0,.5)" },
|
|
55
|
+
"lift": { "$value": "0 1px 2px rgba(16,14,30,.05),0 16px 34px -14px rgba(16,14,30,.24)", "$dark": "0 1px 2px rgba(0,0,0,.5),0 18px 38px -14px rgba(0,0,0,.72)" },
|
|
56
|
+
"lift-hover": { "$value": "0 2px 4px rgba(16,14,30,.06),0 30px 50px -16px rgba(16,14,30,.33)", "$dark": "0 3px 6px rgba(0,0,0,.55),0 32px 56px -16px rgba(0,0,0,.82)" }
|
|
57
|
+
},
|
|
58
|
+
"dur": { "fast": { "$value": "120ms" }, "base": { "$value": "180ms" }, "slow": { "$value": "280ms" } },
|
|
59
|
+
"ease": { "standard": { "$value": "cubic-bezier(.2,0,0,1)" }, "spring": { "$value": "cubic-bezier(.2,.8,.2,1)" } },
|
|
60
|
+
"control": { "h": { "$value": "2.5rem", "$compact": "2rem" }, "box": { "$value": "1.15rem" }, "switch-w": { "$value": "2.4rem" }, "switch-h": { "$value": "1.35rem" } },
|
|
61
|
+
"bw": { "$value": "1px" },
|
|
62
|
+
|
|
63
|
+
"color": {
|
|
64
|
+
"primary": { "$value": "{azure.600}", "$dark": "{azure.500}" },
|
|
65
|
+
"primary-hover": { "$value": "{azure.700}", "$dark": "{azure.400}" },
|
|
66
|
+
"primary-active": { "$value": "{azure.800}", "$dark": "{azure.300}" },
|
|
67
|
+
"on-primary": { "$value": "{slate.0}", "$dark": "{slate.0}" },
|
|
68
|
+
"primary-soft": { "$value": "{azure.50}", "$dark": "rgba(32,80,216,.20)" },
|
|
69
|
+
"primary-border": { "$value": "{azure.100}", "$dark": "rgba(92,139,246,.28)" },
|
|
70
|
+
|
|
71
|
+
"accent": { "$value": "{sky.600}", "$dark": "{sky.400}" },
|
|
72
|
+
"accent-hover": { "$value": "{sky.700}", "$dark": "{sky.300}" },
|
|
73
|
+
"on-accent": { "$value": "{slate.0}", "$dark": "#06233f" },
|
|
74
|
+
"on-danger": { "$value": "{slate.0}", "$dark": "{slate.0}" },
|
|
75
|
+
"danger-btn": { "$value": "{red.600}", "$dark": "{red.600}" },
|
|
76
|
+
|
|
77
|
+
"surface": { "$value": "{slate.0}", "$dark": "{slate.950}" },
|
|
78
|
+
"surface-2": { "$value": "{slate.50}", "$dark": "{slate.900}" },
|
|
79
|
+
"surface-3": { "$value": "{slate.100}", "$dark": "{slate.800}" },
|
|
80
|
+
|
|
81
|
+
"text": { "$value": "{slate.900}", "$dark": "{slate.100}" },
|
|
82
|
+
"text-muted": { "$value": "{slate.600}", "$dark": "{slate.400}" },
|
|
83
|
+
"text-subtle": { "$value": "{slate.500}", "$dark": "{slate.500}" },
|
|
84
|
+
"on-brand": { "$value": "{slate.0}", "$dark": "{slate.0}" },
|
|
85
|
+
|
|
86
|
+
"border": { "$value": "{slate.200}", "$dark": "{slate.800}" },
|
|
87
|
+
"border-strong": { "$value": "{slate.300}", "$dark": "{slate.700}" },
|
|
88
|
+
"border-muted": { "$value": "{slate.100}", "$dark": "#1c2130" },
|
|
89
|
+
"control-border": { "$value": "{slate.500}", "$dark": "{slate.500}" },
|
|
90
|
+
"switch-thumb": { "$value": "{slate.0}" },
|
|
91
|
+
"shadow-inset": { "$value": "rgba(16,14,30,.06)" },
|
|
92
|
+
|
|
93
|
+
"inverse-surface": { "$value": "{slate.900}", "$dark": "{slate.100}" },
|
|
94
|
+
"inverse-text": { "$value": "{slate.0}", "$dark": "{slate.900}" },
|
|
95
|
+
|
|
96
|
+
"success": { "$value": "{green.600}", "$dark": "{green.500}" }, "success-soft": { "$value": "{green.100}", "$dark": "rgba(34,197,94,.18)" },
|
|
97
|
+
"warning": { "$value": "#c2740a", "$dark": "{amber.500}" }, "warning-soft": { "$value": "{amber.100}", "$dark": "rgba(234,179,8,.18)" },
|
|
98
|
+
"danger": { "$value": "{red.600}", "$dark": "{red.400}" }, "danger-soft": { "$value": "{red.100}", "$dark": "rgba(248,113,113,.18)" },
|
|
99
|
+
"info": { "$value": "{blue.600}", "$dark": "{blue.400}" }, "info-soft": { "$value": "{blue.100}", "$dark": "rgba(96,165,250,.18)" },
|
|
100
|
+
|
|
101
|
+
"primary-strong": { "$value": "{azure.700}", "$dark": "{azure.300}" },
|
|
102
|
+
"success-strong": { "$value": "{green.800}", "$dark": "{green.400}" },
|
|
103
|
+
"warning-strong": { "$value": "{amber.800}", "$dark": "{amber.400}" },
|
|
104
|
+
"danger-strong": { "$value": "{red.700}", "$dark": "{red.300}" },
|
|
105
|
+
"info-strong": { "$value": "{blue.700}", "$dark": "{blue.300}" }
|
|
106
|
+
},
|
|
107
|
+
|
|
108
|
+
"chart": {
|
|
109
|
+
"1": { "$value": "#2a78d6", "$dark": "#3987e5" },
|
|
110
|
+
"2": { "$value": "#eb6834", "$dark": "#d95926" },
|
|
111
|
+
"3": { "$value": "#1baf7a", "$dark": "#199e70" },
|
|
112
|
+
"4": { "$value": "#eda100", "$dark": "#c98500" },
|
|
113
|
+
"5": { "$value": "#e87ba4", "$dark": "#d55181" },
|
|
114
|
+
"6": { "$value": "#008300", "$dark": "#008300" },
|
|
115
|
+
"7": { "$value": "#4a3aa7", "$dark": "#9085e9" },
|
|
116
|
+
"8": { "$value": "#e34948", "$dark": "#e66767" },
|
|
117
|
+
"grid": { "$value": "{slate.200}", "$dark": "{slate.800}" },
|
|
118
|
+
"tick": { "$value": "{slate.400}", "$dark": "{slate.600}" }
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
"focus-ring": { "$value": "{azure.600}", "$dark": "{azure.400}" },
|
|
122
|
+
"focus-ring-width": { "$value": "2px" }
|
|
123
|
+
}
|