@raintonic/formaui 0.4.0 → 0.9.2
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 +80 -35
- package/README.md +22 -26
- package/fesm2022/raintonic-formaui-cdk-drag-drop.mjs +39 -41
- package/fesm2022/raintonic-formaui-cdk-drag-drop.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-cdk-form-field.mjs +207 -3
- package/fesm2022/raintonic-formaui-cdk-form-field.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-cdk-overlay.mjs +19 -1
- package/fesm2022/raintonic-formaui-cdk-overlay.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-cdk-virtual-scroll.mjs +5 -12
- package/fesm2022/raintonic-formaui-cdk-virtual-scroll.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-accordion.mjs +8 -5
- package/fesm2022/raintonic-formaui-components-accordion.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-alert.mjs +16 -2
- package/fesm2022/raintonic-formaui-components-alert.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-autocomplete.mjs +255 -462
- package/fesm2022/raintonic-formaui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-avatar.mjs +34 -59
- package/fesm2022/raintonic-formaui-components-avatar.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-badge.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-badge.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-breadcrumb.mjs +4 -4
- package/fesm2022/raintonic-formaui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-button-group.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-button-group.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-button.mjs +15 -20
- package/fesm2022/raintonic-formaui-components-button.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-card.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-card.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-checkbox.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-checkbox.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-chip.mjs +97 -0
- package/fesm2022/raintonic-formaui-components-chip.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-data-table.mjs +69 -29
- package/fesm2022/raintonic-formaui-components-data-table.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-date-picker.mjs +223 -144
- package/fesm2022/raintonic-formaui-components-date-picker.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-divider.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-divider.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-drawer.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-drawer.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-dropdown-menu.mjs +888 -0
- package/fesm2022/raintonic-formaui-components-dropdown-menu.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-dual-tier-navigation.mjs +774 -0
- package/fesm2022/raintonic-formaui-components-dual-tier-navigation.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-empty-state.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-empty-state.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-file-upload.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-file-upload.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-form-field.mjs +81 -50
- package/fesm2022/raintonic-formaui-components-form-field.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-icon.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-icon.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-input.mjs +47 -12
- package/fesm2022/raintonic-formaui-components-input.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-list.mjs +4 -4
- package/fesm2022/raintonic-formaui-components-list.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-number-input.mjs +20 -12
- package/fesm2022/raintonic-formaui-components-number-input.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-paginator.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-paginator.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-password-input.mjs +35 -110
- package/fesm2022/raintonic-formaui-components-password-input.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-popover.mjs +3 -2
- package/fesm2022/raintonic-formaui-components-popover.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-progressbar.mjs +3 -2
- package/fesm2022/raintonic-formaui-components-progressbar.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-radio.mjs +5 -6
- package/fesm2022/raintonic-formaui-components-radio.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-select.mjs +257 -412
- package/fesm2022/raintonic-formaui-components-select.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-side-panel.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-side-panel.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-sidebar-nav-menu.mjs +525 -0
- package/fesm2022/raintonic-formaui-components-sidebar-nav-menu.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-skeleton.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-skeleton.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-slider.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-slider.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-spinner.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-spinner.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-stepper.mjs +50 -45
- package/fesm2022/raintonic-formaui-components-stepper.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-strength-meter.mjs +149 -0
- package/fesm2022/raintonic-formaui-components-strength-meter.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-tab.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-tab.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-time-picker.mjs +194 -154
- package/fesm2022/raintonic-formaui-components-time-picker.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-toggle-group.mjs +302 -0
- package/fesm2022/raintonic-formaui-components-toggle-group.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-toggle.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-toggle.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-toolbar.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-toolbar.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-tooltip.mjs +10 -4
- package/fesm2022/raintonic-formaui-components-tooltip.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-topbar.mjs +60 -0
- package/fesm2022/raintonic-formaui-components-topbar.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-tree-select.mjs +59 -69
- package/fesm2022/raintonic-formaui-components-tree-select.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-tree-table.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-tree-table.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-tree.mjs +31 -5
- package/fesm2022/raintonic-formaui-components-tree.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-core.mjs +279 -1
- package/fesm2022/raintonic-formaui-core.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-services-breakpoint.mjs +93 -0
- package/fesm2022/raintonic-formaui-services-breakpoint.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-services-dialog.mjs +314 -16
- package/fesm2022/raintonic-formaui-services-dialog.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-services-notification.mjs +93 -29
- package/fesm2022/raintonic-formaui-services-notification.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-services-theme.mjs +46 -196
- package/fesm2022/raintonic-formaui-services-theme.mjs.map +1 -1
- package/fesm2022/raintonic-formaui.mjs +1 -1
- package/fesm2022/raintonic-formaui.mjs.map +1 -1
- package/llms-full.txt +2329 -450
- package/llms.txt +36 -33
- package/package.json +42 -19
- package/styles/fonts/Geist-Bold.woff2 +0 -0
- package/styles/fonts/Geist-Italic.woff2 +0 -0
- package/styles/fonts/Geist-Light.woff2 +0 -0
- package/styles/fonts/Geist-Medium.woff2 +0 -0
- package/styles/fonts/Geist-Regular.woff2 +0 -0
- package/styles/fonts/Geist-SemiBold.woff2 +0 -0
- package/styles/fonts/GeistMono-Regular.woff2 +0 -0
- package/styles/generated/_tokens.scss +906 -0
- package/styles/index.scss +11 -10
- package/styles/partials/_brand.scss +46 -0
- package/styles/partials/_constants.scss +22 -20
- package/styles/partials/_fonts.scss +54 -10
- package/styles/partials/_grid.scss +29 -18
- package/styles/partials/_mixins.scss +69 -27
- package/styles/partials/_motion.scss +28 -33
- package/styles/partials/_theme.scss +28 -255
- package/styles/partials/_type.scss +117 -0
- package/styles/partials/_typography.scss +45 -45
- package/styles/partials/_utilities.scss +198 -98
- package/styles/partials/components/_button.scss +144 -75
- package/styles/partials/components/_dialog.scss +181 -180
- package/styles/partials/components/_overlay.scss +87 -87
- package/styles/partials/themes/_dark.scss +3 -268
- package/styles/partials/themes/_light.scss +4 -268
- package/styles/styles.css +7744 -0
- package/styles/styles.entry.scss +3 -0
- package/styles/utilities.css +4802 -0
- package/styles/utilities.entry.scss +3 -0
- package/types/raintonic-formaui-cdk-drag-drop.d.ts +0 -1
- package/types/raintonic-formaui-cdk-drag-drop.d.ts.map +1 -1
- package/types/raintonic-formaui-cdk-form-field.d.ts +118 -2
- package/types/raintonic-formaui-cdk-form-field.d.ts.map +1 -1
- package/types/raintonic-formaui-cdk-overlay.d.ts +2 -0
- package/types/raintonic-formaui-cdk-overlay.d.ts.map +1 -1
- package/types/raintonic-formaui-cdk-virtual-scroll.d.ts +0 -1
- package/types/raintonic-formaui-cdk-virtual-scroll.d.ts.map +1 -1
- package/types/raintonic-formaui-components-accordion.d.ts +1 -1
- package/types/raintonic-formaui-components-accordion.d.ts.map +1 -1
- package/types/raintonic-formaui-components-alert.d.ts +6 -1
- package/types/raintonic-formaui-components-alert.d.ts.map +1 -1
- package/types/raintonic-formaui-components-autocomplete.d.ts +73 -116
- package/types/raintonic-formaui-components-autocomplete.d.ts.map +1 -1
- package/types/raintonic-formaui-components-avatar.d.ts +13 -31
- package/types/raintonic-formaui-components-avatar.d.ts.map +1 -1
- package/types/raintonic-formaui-components-button.d.ts +4 -10
- package/types/raintonic-formaui-components-button.d.ts.map +1 -1
- package/types/raintonic-formaui-components-chip.d.ts +43 -0
- package/types/raintonic-formaui-components-chip.d.ts.map +1 -0
- package/types/raintonic-formaui-components-data-table.d.ts +48 -11
- package/types/raintonic-formaui-components-data-table.d.ts.map +1 -1
- package/types/raintonic-formaui-components-date-picker.d.ts +59 -23
- package/types/raintonic-formaui-components-date-picker.d.ts.map +1 -1
- package/types/raintonic-formaui-components-dropdown-menu.d.ts +394 -0
- package/types/raintonic-formaui-components-dropdown-menu.d.ts.map +1 -0
- package/types/raintonic-formaui-components-dual-tier-navigation.d.ts +87 -0
- package/types/raintonic-formaui-components-dual-tier-navigation.d.ts.map +1 -0
- package/types/raintonic-formaui-components-form-field.d.ts +51 -21
- package/types/raintonic-formaui-components-form-field.d.ts.map +1 -1
- package/types/raintonic-formaui-components-input.d.ts +20 -11
- package/types/raintonic-formaui-components-input.d.ts.map +1 -1
- package/types/raintonic-formaui-components-number-input.d.ts +5 -3
- package/types/raintonic-formaui-components-number-input.d.ts.map +1 -1
- package/types/raintonic-formaui-components-password-input.d.ts +18 -32
- package/types/raintonic-formaui-components-password-input.d.ts.map +1 -1
- package/types/raintonic-formaui-components-popover.d.ts.map +1 -1
- package/types/raintonic-formaui-components-progressbar.d.ts +1 -1
- package/types/raintonic-formaui-components-progressbar.d.ts.map +1 -1
- package/types/raintonic-formaui-components-radio.d.ts +1 -2
- package/types/raintonic-formaui-components-radio.d.ts.map +1 -1
- package/types/raintonic-formaui-components-select.d.ts +107 -76
- package/types/raintonic-formaui-components-select.d.ts.map +1 -1
- package/types/raintonic-formaui-components-sidebar-nav-menu.d.ts +223 -0
- package/types/raintonic-formaui-components-sidebar-nav-menu.d.ts.map +1 -0
- package/types/raintonic-formaui-components-stepper.d.ts +4 -2
- package/types/raintonic-formaui-components-stepper.d.ts.map +1 -1
- package/types/raintonic-formaui-components-strength-meter.d.ts +78 -0
- package/types/raintonic-formaui-components-strength-meter.d.ts.map +1 -0
- package/types/raintonic-formaui-components-time-picker.d.ts +44 -24
- package/types/raintonic-formaui-components-time-picker.d.ts.map +1 -1
- package/types/raintonic-formaui-components-toggle-group.d.ts +100 -0
- package/types/raintonic-formaui-components-toggle-group.d.ts.map +1 -0
- package/types/raintonic-formaui-components-tooltip.d.ts +2 -1
- package/types/raintonic-formaui-components-tooltip.d.ts.map +1 -1
- package/types/raintonic-formaui-components-topbar.d.ts +48 -0
- package/types/raintonic-formaui-components-topbar.d.ts.map +1 -0
- package/types/raintonic-formaui-components-tree-select.d.ts +25 -9
- package/types/raintonic-formaui-components-tree-select.d.ts.map +1 -1
- package/types/raintonic-formaui-components-tree.d.ts +12 -1
- package/types/raintonic-formaui-components-tree.d.ts.map +1 -1
- package/types/raintonic-formaui-core.d.ts +243 -5
- package/types/raintonic-formaui-core.d.ts.map +1 -1
- package/types/raintonic-formaui-services-breakpoint.d.ts +44 -0
- package/types/raintonic-formaui-services-breakpoint.d.ts.map +1 -0
- package/types/raintonic-formaui-services-dialog.d.ts +141 -2
- package/types/raintonic-formaui-services-dialog.d.ts.map +1 -1
- package/types/raintonic-formaui-services-notification.d.ts +24 -2
- package/types/raintonic-formaui-services-notification.d.ts.map +1 -1
- package/types/raintonic-formaui-services-theme.d.ts +13 -103
- package/types/raintonic-formaui-services-theme.d.ts.map +1 -1
- package/types/raintonic-formaui.d.ts +1 -1
- package/fesm2022/raintonic-formaui-components-big-menu.mjs +0 -86
- package/fesm2022/raintonic-formaui-components-big-menu.mjs.map +0 -1
- package/fesm2022/raintonic-formaui-components-menu.mjs +0 -896
- package/fesm2022/raintonic-formaui-components-menu.mjs.map +0 -1
- package/fesm2022/raintonic-formaui-components-sidebar.mjs +0 -275
- package/fesm2022/raintonic-formaui-components-sidebar.mjs.map +0 -1
- package/fesm2022/raintonic-formaui-components-tag.mjs +0 -95
- package/fesm2022/raintonic-formaui-components-tag.mjs.map +0 -1
- package/styles/_fonts-entry.scss +0 -3
- package/styles/fonts/inter-tight-latin-italic.woff2 +0 -0
- package/styles/fonts/inter-tight-latin.woff2 +0 -0
- package/types/raintonic-formaui-components-big-menu.d.ts +0 -73
- package/types/raintonic-formaui-components-big-menu.d.ts.map +0 -1
- package/types/raintonic-formaui-components-menu.d.ts +0 -403
- package/types/raintonic-formaui-components-menu.d.ts.map +0 -1
- package/types/raintonic-formaui-components-sidebar.d.ts +0 -185
- package/types/raintonic-formaui-components-sidebar.d.ts.map +0 -1
- package/types/raintonic-formaui-components-tag.d.ts +0 -43
- package/types/raintonic-formaui-components-tag.d.ts.map +0 -1
|
@@ -1,180 +1,181 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* # Dialog Styles
|
|
3
|
-
*
|
|
4
|
-
* Global styles for the fui dialog component.
|
|
5
|
-
* These styles are applied to the overlay elements.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
// Component tokens with fallbacks
|
|
9
|
-
|
|
10
|
-
--fui-dialog-backdrop-color:
|
|
11
|
-
--fui-dialog-title-padding: var(--fui-
|
|
12
|
-
--fui-dialog-title-font-size: var(--fui-
|
|
13
|
-
--fui-dialog-title-font-weight: var(--fui-
|
|
14
|
-
--fui-dialog-title-line-height: 1.4;
|
|
15
|
-
--fui-dialog-content-padding: var(--fui-
|
|
16
|
-
--fui-dialog-content-font-size: var(--fui-
|
|
17
|
-
--fui-dialog-content-line-height: 1.5;
|
|
18
|
-
--fui-dialog-actions-gap: var(--fui-
|
|
19
|
-
--fui-dialog-actions-padding: var(--fui-
|
|
20
|
-
--fui-dialog-actions-min-height: 52px;
|
|
21
|
-
--fui-dialog-close-top: var(--fui-
|
|
22
|
-
--fui-dialog-close-right: var(--fui-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// Dialog backdrop
|
|
26
|
-
// Note: z-index is applied dynamically by the overlay service for proper stacking
|
|
27
|
-
.fui-dialog-backdrop
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
//
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
font-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
max-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* # Dialog Styles
|
|
3
|
+
*
|
|
4
|
+
* Global styles for the fui dialog component.
|
|
5
|
+
* These styles are applied to the overlay elements.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// Component tokens with fallbacks
|
|
9
|
+
:root {
|
|
10
|
+
--fui-dialog-backdrop-color: rgba(0, 0, 0, 0.3);
|
|
11
|
+
--fui-dialog-title-padding: var(--fui-spacing-9) var(--fui-spacing-9) 0;
|
|
12
|
+
--fui-dialog-title-font-size: var(--fui-text-xl);
|
|
13
|
+
--fui-dialog-title-font-weight: var(--fui-weight-medium);
|
|
14
|
+
--fui-dialog-title-line-height: 1.4;
|
|
15
|
+
--fui-dialog-content-padding: var(--fui-spacing-9);
|
|
16
|
+
--fui-dialog-content-font-size: var(--fui-text-base);
|
|
17
|
+
--fui-dialog-content-line-height: 1.5;
|
|
18
|
+
--fui-dialog-actions-gap: var(--fui-spacing-4);
|
|
19
|
+
--fui-dialog-actions-padding: var(--fui-spacing-4) var(--fui-spacing-9) var(--fui-spacing-9);
|
|
20
|
+
--fui-dialog-actions-min-height: 52px;
|
|
21
|
+
--fui-dialog-close-top: var(--fui-spacing-4);
|
|
22
|
+
--fui-dialog-close-right: var(--fui-spacing-4);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Dialog backdrop
|
|
26
|
+
// Note: z-index is applied dynamically by the overlay service for proper stacking
|
|
27
|
+
.fui-dialog-backdrop,
|
|
28
|
+
.fui-drawer-service-backdrop {
|
|
29
|
+
position: fixed;
|
|
30
|
+
inset: 0;
|
|
31
|
+
background-color: var(--fui-dialog-backdrop-color);
|
|
32
|
+
transition: opacity var(--fui-duration-moderate) var(--fui-ease-in-out);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Dialog panel (overlay pane)
|
|
36
|
+
// Note: z-index is applied dynamically by the overlay service for proper stacking
|
|
37
|
+
.fui-dialog-panel {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
position: fixed;
|
|
41
|
+
pointer-events: auto;
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
outline: 0;
|
|
44
|
+
|
|
45
|
+
// Enter animation
|
|
46
|
+
&:not(.fui-dialog-exit) {
|
|
47
|
+
animation: fui-dialog-panel-enter var(--fui-duration-moderate) var(--fui-ease-out);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Exit animation
|
|
51
|
+
&.fui-dialog-exit {
|
|
52
|
+
animation: fui-dialog-panel-exit var(--fui-duration-base) var(--fui-ease-in) forwards;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Dialog container host
|
|
57
|
+
.fui-dialog-container-host {
|
|
58
|
+
display: block;
|
|
59
|
+
width: 100%;
|
|
60
|
+
height: 100%;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// Animation keyframes
|
|
64
|
+
@keyframes fui-dialog-panel-enter {
|
|
65
|
+
from {
|
|
66
|
+
opacity: 0;
|
|
67
|
+
}
|
|
68
|
+
to {
|
|
69
|
+
opacity: 1;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@keyframes fui-dialog-panel-exit {
|
|
74
|
+
from {
|
|
75
|
+
opacity: 1;
|
|
76
|
+
}
|
|
77
|
+
to {
|
|
78
|
+
opacity: 0;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Dialog content sections (optional utility classes)
|
|
83
|
+
.fui-dialog-title {
|
|
84
|
+
display: block;
|
|
85
|
+
margin: 0;
|
|
86
|
+
padding: var(--fui-dialog-title-padding, 24px 24px 0);
|
|
87
|
+
font-size: var(--fui-dialog-title-font-size, 20px);
|
|
88
|
+
font-weight: var(--fui-dialog-title-font-weight, 500);
|
|
89
|
+
line-height: var(--fui-dialog-title-line-height, 1.4);
|
|
90
|
+
color: var(--fui-dialog-title-color, inherit);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.fui-dialog-content {
|
|
94
|
+
display: block;
|
|
95
|
+
flex: 1;
|
|
96
|
+
overflow: auto;
|
|
97
|
+
padding: var(--fui-dialog-content-padding, 20px 24px);
|
|
98
|
+
font-size: var(--fui-dialog-content-font-size, 14px);
|
|
99
|
+
line-height: var(--fui-dialog-content-line-height, 1.5);
|
|
100
|
+
color: var(--fui-dialog-content-color, inherit);
|
|
101
|
+
|
|
102
|
+
// Remove default margin for first/last elements
|
|
103
|
+
> :first-child {
|
|
104
|
+
margin-top: 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
> :last-child {
|
|
108
|
+
margin-bottom: 0;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.fui-dialog-actions {
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-wrap: wrap;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: flex-end;
|
|
117
|
+
gap: var(--fui-dialog-actions-gap, 8px);
|
|
118
|
+
padding: var(--fui-dialog-actions-padding, 8px 24px 24px);
|
|
119
|
+
min-height: var(--fui-dialog-actions-min-height, 52px);
|
|
120
|
+
|
|
121
|
+
// Align actions to the start
|
|
122
|
+
&.fui-dialog-actions-start {
|
|
123
|
+
justify-content: flex-start;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// Center actions
|
|
127
|
+
&.fui-dialog-actions-center {
|
|
128
|
+
justify-content: center;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// Space between actions (first left, rest right)
|
|
132
|
+
&.fui-dialog-actions-between {
|
|
133
|
+
justify-content: space-between;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// Close button utility class
|
|
138
|
+
.fui-dialog-close {
|
|
139
|
+
position: absolute;
|
|
140
|
+
top: var(--fui-dialog-close-top, 8px);
|
|
141
|
+
right: var(--fui-dialog-close-right, 8px);
|
|
142
|
+
cursor: pointer;
|
|
143
|
+
background: transparent;
|
|
144
|
+
border: none;
|
|
145
|
+
padding: var(--fui-spacing-4);
|
|
146
|
+
border-radius: var(--fui-radius-pill);
|
|
147
|
+
display: flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
justify-content: center;
|
|
150
|
+
color: var(--fui-dialog-close-color, rgba(0, 0, 0, 0.5));
|
|
151
|
+
transition: background-color var(--fui-duration-base) var(--fui-ease-in-out);
|
|
152
|
+
|
|
153
|
+
&:hover {
|
|
154
|
+
background-color: var(--fui-dialog-close-hover-bg, rgba(0, 0, 0, 0.05));
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&:focus {
|
|
158
|
+
outline: none;
|
|
159
|
+
background-color: var(--fui-dialog-close-focus-bg, rgba(0, 0, 0, 0.1));
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// Responsive adjustments
|
|
164
|
+
@media screen and (max-width: 599px) {
|
|
165
|
+
.fui-dialog-panel {
|
|
166
|
+
max-width: calc(100vw - 32px) !important;
|
|
167
|
+
max-height: calc(100vh - 32px) !important;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.fui-dialog-title {
|
|
171
|
+
padding: var(--fui-dialog-title-padding-mobile, 16px 16px 0);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.fui-dialog-content {
|
|
175
|
+
padding: var(--fui-dialog-content-padding-mobile, 16px);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.fui-dialog-actions {
|
|
179
|
+
padding: var(--fui-dialog-actions-padding-mobile, 8px 16px 16px);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
@use '../constants' as *;
|
|
2
|
-
@use '../mixins' as mixins;
|
|
3
|
-
|
|
4
|
-
// Overlay pane base styles
|
|
5
|
-
.fui-overlay-pane {
|
|
6
|
-
position: absolute;
|
|
7
|
-
pointer-events: auto;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
z-index: 2;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// Overlay backdrop styles
|
|
13
|
-
.fui-overlay-backdrop {
|
|
14
|
-
position: absolute;
|
|
15
|
-
top: 0;
|
|
16
|
-
left: 0;
|
|
17
|
-
width: 100%;
|
|
18
|
-
height: 100%;
|
|
19
|
-
pointer-events: auto;
|
|
20
|
-
background-color: transparent;
|
|
21
|
-
z-index: 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// Tooltip panel styles
|
|
25
|
-
.fui-tooltip-panel {
|
|
26
|
-
z-index: var(--fui-z-index-tooltip, 1100);
|
|
27
|
-
|
|
28
|
-
.fui-tooltip {
|
|
29
|
-
// Tooltip-specific overlay styles
|
|
30
|
-
max-width: var(--fui-tooltip-max-width, 200px);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
//
|
|
35
|
-
.fui-menu-panel {
|
|
36
|
-
z-index: var(--fui-z-index-dropdown, 1050);
|
|
37
|
-
|
|
38
|
-
.fui-menu {
|
|
39
|
-
//
|
|
40
|
-
min-width: var(--fui-menu-min-width, 8rem);
|
|
41
|
-
max-width: var(--fui-menu-max-width, 20rem);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&--sm {
|
|
45
|
-
.fui-menu {
|
|
46
|
-
min-width: var(--fui-menu-min-width-sm, 6rem);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&--lg {
|
|
51
|
-
.fui-menu {
|
|
52
|
-
min-width: var(--fui-menu-min-width-lg, 12rem);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
//
|
|
58
|
-
.fui-menu-backdrop {
|
|
59
|
-
background-color: transparent;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
// Animation classes for overlays
|
|
63
|
-
.fui-overlay-enter {
|
|
64
|
-
opacity: 0;
|
|
65
|
-
transform: scale(0.95);
|
|
66
|
-
transition:
|
|
67
|
-
opacity var(--fui-duration-fast
|
|
68
|
-
transform var(--fui-duration-fast
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.fui-overlay-enter-active {
|
|
72
|
-
opacity: 1;
|
|
73
|
-
transform: scale(1);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.fui-overlay-exit {
|
|
77
|
-
opacity: 1;
|
|
78
|
-
transform: scale(1);
|
|
79
|
-
transition:
|
|
80
|
-
opacity var(--fui-duration-fast
|
|
81
|
-
transform var(--fui-duration-fast
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.fui-overlay-exit-active {
|
|
85
|
-
opacity: 0;
|
|
86
|
-
transform: scale(0.95);
|
|
87
|
-
}
|
|
1
|
+
@use '../constants' as *;
|
|
2
|
+
@use '../mixins' as mixins;
|
|
3
|
+
|
|
4
|
+
// Overlay pane base styles
|
|
5
|
+
.fui-overlay-pane {
|
|
6
|
+
position: absolute;
|
|
7
|
+
pointer-events: auto;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
z-index: 2;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Overlay backdrop styles
|
|
13
|
+
.fui-overlay-backdrop {
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 0;
|
|
16
|
+
left: 0;
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
pointer-events: auto;
|
|
20
|
+
background-color: transparent;
|
|
21
|
+
z-index: 1;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Tooltip panel styles
|
|
25
|
+
.fui-tooltip-panel {
|
|
26
|
+
z-index: var(--fui-z-index-tooltip, 1100);
|
|
27
|
+
|
|
28
|
+
.fui-tooltip {
|
|
29
|
+
// Tooltip-specific overlay styles
|
|
30
|
+
max-width: var(--fui-tooltip-max-width, 200px);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Dropdown-menu panel styles
|
|
35
|
+
.fui-dropdown-menu-panel {
|
|
36
|
+
z-index: var(--fui-z-index-dropdown, 1050);
|
|
37
|
+
|
|
38
|
+
.fui-dropdown-menu {
|
|
39
|
+
// Dropdown-menu-specific overlay styles
|
|
40
|
+
min-width: var(--fui-dropdown-menu-min-width, 8rem);
|
|
41
|
+
max-width: var(--fui-dropdown-menu-max-width, 20rem);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&--sm {
|
|
45
|
+
.fui-dropdown-menu {
|
|
46
|
+
min-width: var(--fui-dropdown-menu-min-width-sm, 6rem);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&--lg {
|
|
51
|
+
.fui-dropdown-menu {
|
|
52
|
+
min-width: var(--fui-dropdown-menu-min-width-lg, 12rem);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Dropdown-menu backdrop styles
|
|
58
|
+
.fui-dropdown-menu-backdrop {
|
|
59
|
+
background-color: transparent;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// Animation classes for overlays
|
|
63
|
+
.fui-overlay-enter {
|
|
64
|
+
opacity: 0;
|
|
65
|
+
transform: scale(0.95);
|
|
66
|
+
transition:
|
|
67
|
+
opacity var(--fui-duration-fast) var(--fui-ease-in-out),
|
|
68
|
+
transform var(--fui-duration-fast) var(--fui-ease-in-out);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.fui-overlay-enter-active {
|
|
72
|
+
opacity: 1;
|
|
73
|
+
transform: scale(1);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.fui-overlay-exit {
|
|
77
|
+
opacity: 1;
|
|
78
|
+
transform: scale(1);
|
|
79
|
+
transition:
|
|
80
|
+
opacity var(--fui-duration-fast) var(--fui-ease-in-out),
|
|
81
|
+
transform var(--fui-duration-fast) var(--fui-ease-in-out);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.fui-overlay-exit-active {
|
|
85
|
+
opacity: 0;
|
|
86
|
+
transform: scale(0.95);
|
|
87
|
+
}
|