@frame-ui-ng/components 0.1.0-beta.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/LICENSE.md +9 -0
- package/README.md +31 -0
- package/accordion/src/styles/_vars.css +25 -0
- package/accordion/src/styles/accordion.css +87 -0
- package/alert/src/styles/_vars.css +28 -0
- package/alert/src/styles/alert.css +77 -0
- package/avatar/src/styles/_vars.css +34 -0
- package/avatar/src/styles/avatar.css +209 -0
- package/badge/src/styles/_vars.css +16 -0
- package/badge/src/styles/badge.css +125 -0
- package/breadcrumb/src/styles/_vars.css +16 -0
- package/breadcrumb/src/styles/breadcrumb.css +98 -0
- package/button/src/styles/_vars.css +20 -0
- package/button/src/styles/button-icon.css +18 -0
- package/button/src/styles/button-label.css +3 -0
- package/button/src/styles/button.css +243 -0
- package/button-group/src/styles/button-group.css +69 -0
- package/calendar/src/styles/_vars.css +29 -0
- package/calendar/src/styles/calendar.css +226 -0
- package/card/src/styles/_vars.css +17 -0
- package/card/src/styles/card.css +142 -0
- package/carousel/src/styles/_vars.css +7 -0
- package/carousel/src/styles/carousel.css +89 -0
- package/checkbox/src/styles/_vars.css +22 -0
- package/checkbox/src/styles/checkbox.css +95 -0
- package/collapsible/src/styles/_vars.css +13 -0
- package/collapsible/src/styles/collapsible.css +42 -0
- package/combobox/src/styles/_vars.css +60 -0
- package/combobox/src/styles/combobox.css +285 -0
- package/command/src/styles/_vars.css +37 -0
- package/command/src/styles/command.css +171 -0
- package/context-menu/src/styles/context-menu.css +5 -0
- package/date-picker/src/styles/_vars.css +29 -0
- package/date-picker/src/styles/date-picker.css +177 -0
- package/dropdown-menu/src/styles/_vars.css +34 -0
- package/dropdown-menu/src/styles/dropdown-menu-item.css +87 -0
- package/dropdown-menu/src/styles/dropdown-menu-motion.css +42 -0
- package/dropdown-menu/src/styles/dropdown-menu-panel.css +26 -0
- package/dropdown-menu/src/styles/dropdown-menu.css +4 -0
- package/empty/src/styles/_vars.css +23 -0
- package/empty/src/styles/empty.css +108 -0
- package/fesm2022/frame-ui-ng-components-accordion.mjs +268 -0
- package/fesm2022/frame-ui-ng-components-accordion.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-alert.mjs +102 -0
- package/fesm2022/frame-ui-ng-components-alert.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-avatar.mjs +197 -0
- package/fesm2022/frame-ui-ng-components-avatar.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-badge.mjs +120 -0
- package/fesm2022/frame-ui-ng-components-badge.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-breadcrumb.mjs +156 -0
- package/fesm2022/frame-ui-ng-components-breadcrumb.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-button-group.mjs +44 -0
- package/fesm2022/frame-ui-ng-components-button-group.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-button.mjs +150 -0
- package/fesm2022/frame-ui-ng-components-button.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-calendar.mjs +559 -0
- package/fesm2022/frame-ui-ng-components-calendar.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-card.mjs +169 -0
- package/fesm2022/frame-ui-ng-components-card.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-carousel.mjs +454 -0
- package/fesm2022/frame-ui-ng-components-carousel.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-checkbox.mjs +83 -0
- package/fesm2022/frame-ui-ng-components-checkbox.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-collapsible.mjs +191 -0
- package/fesm2022/frame-ui-ng-components-collapsible.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-combobox.mjs +859 -0
- package/fesm2022/frame-ui-ng-components-combobox.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-command.mjs +658 -0
- package/fesm2022/frame-ui-ng-components-command.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-context-menu.mjs +579 -0
- package/fesm2022/frame-ui-ng-components-context-menu.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-date-picker.mjs +512 -0
- package/fesm2022/frame-ui-ng-components-date-picker.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-dropdown-menu.mjs +647 -0
- package/fesm2022/frame-ui-ng-components-dropdown-menu.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-empty.mjs +134 -0
- package/fesm2022/frame-ui-ng-components-empty.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-field.mjs +210 -0
- package/fesm2022/frame-ui-ng-components-field.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-forms.mjs +89 -0
- package/fesm2022/frame-ui-ng-components-forms.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-hover-card.mjs +412 -0
- package/fesm2022/frame-ui-ng-components-hover-card.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-input-otp.mjs +327 -0
- package/fesm2022/frame-ui-ng-components-input-otp.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-input.mjs +250 -0
- package/fesm2022/frame-ui-ng-components-input.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-item.mjs +207 -0
- package/fesm2022/frame-ui-ng-components-item.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-menubar.mjs +371 -0
- package/fesm2022/frame-ui-ng-components-menubar.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-modal.mjs +525 -0
- package/fesm2022/frame-ui-ng-components-modal.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-navigation-menu.mjs +322 -0
- package/fesm2022/frame-ui-ng-components-navigation-menu.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-pagination.mjs +327 -0
- package/fesm2022/frame-ui-ng-components-pagination.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-popover.mjs +454 -0
- package/fesm2022/frame-ui-ng-components-popover.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-progress.mjs +96 -0
- package/fesm2022/frame-ui-ng-components-progress.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-radio-group.mjs +124 -0
- package/fesm2022/frame-ui-ng-components-radio-group.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-resizable.mjs +325 -0
- package/fesm2022/frame-ui-ng-components-resizable.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-select.mjs +434 -0
- package/fesm2022/frame-ui-ng-components-select.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-separator.mjs +51 -0
- package/fesm2022/frame-ui-ng-components-separator.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-sheet.mjs +514 -0
- package/fesm2022/frame-ui-ng-components-sheet.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-sidebar.mjs +628 -0
- package/fesm2022/frame-ui-ng-components-sidebar.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-skeleton.mjs +46 -0
- package/fesm2022/frame-ui-ng-components-skeleton.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-slider.mjs +279 -0
- package/fesm2022/frame-ui-ng-components-slider.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-spinner.mjs +51 -0
- package/fesm2022/frame-ui-ng-components-spinner.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-switch.mjs +130 -0
- package/fesm2022/frame-ui-ng-components-switch.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-table.mjs +594 -0
- package/fesm2022/frame-ui-ng-components-table.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-tabs.mjs +208 -0
- package/fesm2022/frame-ui-ng-components-tabs.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-textarea.mjs +40 -0
- package/fesm2022/frame-ui-ng-components-textarea.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-toast.mjs +346 -0
- package/fesm2022/frame-ui-ng-components-toast.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-toggle.mjs +127 -0
- package/fesm2022/frame-ui-ng-components-toggle.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-tooltip.mjs +425 -0
- package/fesm2022/frame-ui-ng-components-tooltip.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-virtual-scroll.mjs +321 -0
- package/fesm2022/frame-ui-ng-components-virtual-scroll.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components.mjs +10278 -0
- package/fesm2022/frame-ui-ng-components.mjs.map +1 -0
- package/field/src/styles/_vars.css +20 -0
- package/field/src/styles/field.css +165 -0
- package/hover-card/src/styles/_vars.css +21 -0
- package/hover-card/src/styles/hover-card.css +76 -0
- package/input/src/styles/_vars.css +65 -0
- package/input/src/styles/input-group.css +112 -0
- package/input/src/styles/input.css +163 -0
- package/input-otp/src/styles/_vars.css +21 -0
- package/input-otp/src/styles/input-otp.css +116 -0
- package/item/src/styles/_vars.css +34 -0
- package/item/src/styles/item.css +187 -0
- package/menubar/src/styles/_vars.css +22 -0
- package/menubar/src/styles/menubar.css +70 -0
- package/modal/src/styles/_vars.css +18 -0
- package/modal/src/styles/modal.css +179 -0
- package/navigation-menu/src/styles/_vars.css +45 -0
- package/navigation-menu/src/styles/navigation-menu.css +245 -0
- package/package.json +243 -0
- package/pagination/src/styles/_vars.css +22 -0
- package/pagination/src/styles/pagination.css +138 -0
- package/popover/src/styles/_vars.css +24 -0
- package/popover/src/styles/popover.css +101 -0
- package/progress/src/styles/_vars.css +15 -0
- package/progress/src/styles/progress.css +64 -0
- package/radio-group/src/styles/_vars.css +29 -0
- package/radio-group/src/styles/radio-group.css +137 -0
- package/resizable/src/styles/_vars.css +20 -0
- package/resizable/src/styles/resizable.css +130 -0
- package/select/src/styles/_vars.css +28 -0
- package/select/src/styles/select-content.css +19 -0
- package/select/src/styles/select-feedback.css +6 -0
- package/select/src/styles/select-item.css +69 -0
- package/select/src/styles/select-trigger.css +95 -0
- package/select/src/styles/select.css +5 -0
- package/separator/src/styles/_vars.css +9 -0
- package/separator/src/styles/separator.css +25 -0
- package/sheet/src/styles/_vars.css +18 -0
- package/sheet/src/styles/sheet.css +215 -0
- package/sidebar/src/styles/_vars.css +24 -0
- package/sidebar/src/styles/sidebar.css +531 -0
- package/skeleton/src/styles/_vars.css +8 -0
- package/skeleton/src/styles/skeleton.css +40 -0
- package/slider/src/styles/_vars.css +17 -0
- package/slider/src/styles/slider.css +147 -0
- package/spinner/src/styles/_vars.css +9 -0
- package/spinner/src/styles/spinner.css +62 -0
- package/src/styles/components.css +47 -0
- package/styles/components.css +47 -0
- package/styles.css +49 -0
- package/switch/src/styles/_vars.css +34 -0
- package/switch/src/styles/switch.css +131 -0
- package/table/src/styles/_vars.css +25 -0
- package/table/src/styles/table.css +245 -0
- package/tabs/src/styles/_vars.css +23 -0
- package/tabs/src/styles/tabs.css +164 -0
- package/textarea/src/styles/_vars.css +20 -0
- package/textarea/src/styles/textarea.css +60 -0
- package/toast/src/styles/_vars.css +47 -0
- package/toast/src/styles/toast.css +314 -0
- package/toggle/src/styles/_vars.css +24 -0
- package/toggle/src/styles/toggle.css +110 -0
- package/tooltip/src/styles/_vars.css +21 -0
- package/tooltip/src/styles/tooltip.css +103 -0
- package/types/frame-ui-ng-components-accordion.d.ts +75 -0
- package/types/frame-ui-ng-components-alert.d.ts +30 -0
- package/types/frame-ui-ng-components-avatar.d.ts +65 -0
- package/types/frame-ui-ng-components-badge.d.ts +35 -0
- package/types/frame-ui-ng-components-breadcrumb.d.ts +40 -0
- package/types/frame-ui-ng-components-button-group.d.ts +18 -0
- package/types/frame-ui-ng-components-button.d.ts +50 -0
- package/types/frame-ui-ng-components-calendar.d.ts +101 -0
- package/types/frame-ui-ng-components-card.d.ts +51 -0
- package/types/frame-ui-ng-components-carousel.d.ts +117 -0
- package/types/frame-ui-ng-components-checkbox.d.ts +25 -0
- package/types/frame-ui-ng-components-collapsible.d.ts +55 -0
- package/types/frame-ui-ng-components-combobox.d.ts +201 -0
- package/types/frame-ui-ng-components-command.d.ts +198 -0
- package/types/frame-ui-ng-components-context-menu.d.ts +149 -0
- package/types/frame-ui-ng-components-date-picker.d.ts +95 -0
- package/types/frame-ui-ng-components-dropdown-menu.d.ts +182 -0
- package/types/frame-ui-ng-components-empty.d.ts +44 -0
- package/types/frame-ui-ng-components-field.d.ts +60 -0
- package/types/frame-ui-ng-components-forms.d.ts +39 -0
- package/types/frame-ui-ng-components-hover-card.d.ts +94 -0
- package/types/frame-ui-ng-components-input-otp.d.ts +70 -0
- package/types/frame-ui-ng-components-input.d.ts +67 -0
- package/types/frame-ui-ng-components-item.d.ts +62 -0
- package/types/frame-ui-ng-components-menubar.d.ts +76 -0
- package/types/frame-ui-ng-components-modal.d.ts +148 -0
- package/types/frame-ui-ng-components-navigation-menu.d.ts +74 -0
- package/types/frame-ui-ng-components-pagination.d.ts +79 -0
- package/types/frame-ui-ng-components-popover.d.ts +95 -0
- package/types/frame-ui-ng-components-progress.d.ts +24 -0
- package/types/frame-ui-ng-components-radio-group.d.ts +40 -0
- package/types/frame-ui-ng-components-resizable.d.ts +61 -0
- package/types/frame-ui-ng-components-select.d.ts +114 -0
- package/types/frame-ui-ng-components-separator.d.ts +19 -0
- package/types/frame-ui-ng-components-sheet.d.ts +146 -0
- package/types/frame-ui-ng-components-sidebar.d.ts +163 -0
- package/types/frame-ui-ng-components-skeleton.d.ts +18 -0
- package/types/frame-ui-ng-components-slider.d.ts +56 -0
- package/types/frame-ui-ng-components-spinner.d.ts +23 -0
- package/types/frame-ui-ng-components-switch.d.ts +38 -0
- package/types/frame-ui-ng-components-table.d.ts +125 -0
- package/types/frame-ui-ng-components-tabs.d.ts +62 -0
- package/types/frame-ui-ng-components-textarea.d.ts +14 -0
- package/types/frame-ui-ng-components-toast.d.ts +74 -0
- package/types/frame-ui-ng-components-toggle.d.ts +45 -0
- package/types/frame-ui-ng-components-tooltip.d.ts +99 -0
- package/types/frame-ui-ng-components-virtual-scroll.d.ts +106 -0
- package/types/frame-ui-ng-components.d.ts +2746 -0
- package/virtual-scroll/src/styles/virtual-scroll.css +54 -0
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
@import './_vars.css';
|
|
2
|
+
|
|
3
|
+
[frNavigationMenu],
|
|
4
|
+
frame-navigation-menu {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
width: max-content;
|
|
9
|
+
max-width: 100%;
|
|
10
|
+
color: var(--frame-navigation-menu-color);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
[frNavigationMenuList],
|
|
14
|
+
frame-navigation-menu-list {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: var(--frame-navigation-menu-gap);
|
|
19
|
+
margin: 0;
|
|
20
|
+
border-radius: var(--frame-navigation-menu-radius);
|
|
21
|
+
background: var(--frame-navigation-menu-bg);
|
|
22
|
+
padding: var(--frame-navigation-menu-padding);
|
|
23
|
+
list-style: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[frNavigationMenuItem],
|
|
27
|
+
frame-navigation-menu-item {
|
|
28
|
+
display: contents;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[frNavigationMenuTrigger],
|
|
32
|
+
.frame-navigation-menu__trigger {
|
|
33
|
+
display: inline-flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
gap: var(--frame-navigation-menu-trigger-gap);
|
|
37
|
+
min-block-size: var(--frame-navigation-menu-trigger-height);
|
|
38
|
+
border: 0;
|
|
39
|
+
border-radius: var(--frame-navigation-menu-trigger-radius);
|
|
40
|
+
background: var(--frame-navigation-menu-trigger-bg);
|
|
41
|
+
color: var(--frame-navigation-menu-trigger-color);
|
|
42
|
+
padding-inline: var(--frame-navigation-menu-trigger-padding-x);
|
|
43
|
+
font: inherit;
|
|
44
|
+
font-size: var(--frame-navigation-menu-trigger-font-size);
|
|
45
|
+
font-weight: var(--frame-navigation-menu-trigger-font-weight);
|
|
46
|
+
line-height: 1;
|
|
47
|
+
white-space: nowrap;
|
|
48
|
+
cursor: default;
|
|
49
|
+
transition:
|
|
50
|
+
background-color 140ms ease,
|
|
51
|
+
box-shadow 140ms ease,
|
|
52
|
+
color 140ms ease;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[frNavigationMenuTrigger]:where(:not(:disabled)):hover,
|
|
56
|
+
.frame-navigation-menu__trigger:where(:not(:disabled)):hover,
|
|
57
|
+
[frNavigationMenuFeature]:hover,
|
|
58
|
+
.frame-navigation-menu__feature:hover,
|
|
59
|
+
[frNavigationMenuTrigger][data-state='open'],
|
|
60
|
+
.frame-navigation-menu__trigger[data-state='open'] {
|
|
61
|
+
background: var(--frame-navigation-menu-trigger-hover-bg);
|
|
62
|
+
color: var(--frame-navigation-menu-trigger-hover-color);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
[frNavigationMenuTrigger][data-state='open'],
|
|
66
|
+
.frame-navigation-menu__trigger[data-state='open'] {
|
|
67
|
+
background: var(--frame-navigation-menu-trigger-open-bg);
|
|
68
|
+
color: var(--frame-navigation-menu-trigger-open-color);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[frNavigationMenuTrigger]:focus-visible,
|
|
72
|
+
.frame-navigation-menu__trigger:focus-visible {
|
|
73
|
+
outline: none;
|
|
74
|
+
box-shadow: var(--frame-navigation-menu-trigger-focus-shadow);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
[frNavigationMenuTrigger]:disabled,
|
|
78
|
+
.frame-navigation-menu__trigger:disabled {
|
|
79
|
+
cursor: not-allowed;
|
|
80
|
+
opacity: var(--frame-dropdown-menu-item-disabled-opacity, 0.5);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[frNavigationMenuPanel],
|
|
84
|
+
.frame-navigation-menu__content {
|
|
85
|
+
max-height: 30rem;
|
|
86
|
+
overflow-y: auto;
|
|
87
|
+
width: min(var(--frame-navigation-menu-content-width), calc(100vw - 2rem));
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
[frNavigationMenuGrid],
|
|
91
|
+
.frame-navigation-menu__grid {
|
|
92
|
+
display: grid;
|
|
93
|
+
gap: var(--frame-navigation-menu-content-gap);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
[frNavigationMenuGrid][data-columns='2'],
|
|
97
|
+
.frame-navigation-menu__grid[data-columns='2'] {
|
|
98
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
[frNavigationMenuGrid][data-columns='3'],
|
|
102
|
+
.frame-navigation-menu__grid[data-columns='3'] {
|
|
103
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
[frNavigationMenuGrid][data-columns='2'],
|
|
107
|
+
.frame-navigation-menu__grid[data-columns='2'] [frNavigationMenuFeature] {
|
|
108
|
+
grid-column: 1 / 2;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
[frNavigationMenuGrid][data-columns='3'],
|
|
112
|
+
.frame-navigation-menu__grid[data-columns='3'] [frNavigationMenuFeature] {
|
|
113
|
+
grid-column: 1 / 4;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[frNavigationMenuLink],
|
|
117
|
+
.frame-navigation-menu__link {
|
|
118
|
+
box-sizing: border-box;
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
gap: var(--frame-navigation-menu-link-gap);
|
|
122
|
+
min-width: 0;
|
|
123
|
+
border-radius: var(--frame-navigation-menu-link-radius);
|
|
124
|
+
background: var(--frame-navigation-menu-link-bg);
|
|
125
|
+
color: var(--frame-navigation-menu-link-color);
|
|
126
|
+
padding: var(--frame-navigation-menu-link-padding);
|
|
127
|
+
text-align: start;
|
|
128
|
+
text-decoration: none;
|
|
129
|
+
transition:
|
|
130
|
+
background-color 140ms ease,
|
|
131
|
+
color 140ms ease;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
[frNavigationMenuLink]:where(:hover, :focus-visible),
|
|
135
|
+
.frame-navigation-menu__link:where(:hover, :focus-visible) {
|
|
136
|
+
background: var(--frame-navigation-menu-link-hover-bg);
|
|
137
|
+
color: var(--frame-navigation-menu-link-hover-color);
|
|
138
|
+
outline: none;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
[frNavigationMenuLink][data-active],
|
|
142
|
+
.frame-navigation-menu__link[data-active] {
|
|
143
|
+
background: var(--frame-navigation-menu-link-active-bg);
|
|
144
|
+
color: var(--frame-navigation-menu-link-active-color);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
[frNavigationMenuList] > [frNavigationMenuItem] > [frNavigationMenuLink],
|
|
148
|
+
frame-navigation-menu-list > frame-navigation-menu-item > [frNavigationMenuLink] {
|
|
149
|
+
display: inline-flex;
|
|
150
|
+
flex-direction: row;
|
|
151
|
+
align-items: center;
|
|
152
|
+
justify-content: center;
|
|
153
|
+
gap: var(--frame-navigation-menu-trigger-gap);
|
|
154
|
+
min-block-size: var(--frame-navigation-menu-trigger-height);
|
|
155
|
+
border-radius: var(--frame-navigation-menu-trigger-radius);
|
|
156
|
+
padding-block: 0;
|
|
157
|
+
padding-inline: var(--frame-navigation-menu-trigger-padding-x);
|
|
158
|
+
font-size: var(--frame-navigation-menu-trigger-font-size);
|
|
159
|
+
font-weight: var(--frame-navigation-menu-trigger-font-weight);
|
|
160
|
+
line-height: 1;
|
|
161
|
+
white-space: nowrap;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
[frNavigationMenuLinkTitle],
|
|
165
|
+
.frame-navigation-menu__link-title {
|
|
166
|
+
color: inherit;
|
|
167
|
+
font-size: var(--frame-navigation-menu-link-title-font-size);
|
|
168
|
+
font-weight: var(--frame-navigation-menu-link-title-font-weight);
|
|
169
|
+
line-height: 1.25;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
[frNavigationMenuLinkDescription],
|
|
173
|
+
.frame-navigation-menu__link-description {
|
|
174
|
+
color: var(--frame-navigation-menu-link-description-color);
|
|
175
|
+
font-size: var(--frame-navigation-menu-link-description-font-size);
|
|
176
|
+
line-height: 1.45;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
[frNavigationLinkSeparator],
|
|
180
|
+
.frame-navigation-menu__link-separator {
|
|
181
|
+
display: block;
|
|
182
|
+
grid-column: 1 / -1;
|
|
183
|
+
block-size: 1px;
|
|
184
|
+
margin-block: var(--frame-navigation-menu-link-separator-margin-y);
|
|
185
|
+
background: var(--frame-navigation-menu-link-separator-color);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
[frNavigationMenuFeature],
|
|
189
|
+
.frame-navigation-menu__feature {
|
|
190
|
+
min-height: 2rem;
|
|
191
|
+
align-content: end;
|
|
192
|
+
background: var(--frame-navigation-menu-feature-bg);
|
|
193
|
+
color: var(--frame-navigation-menu-feature-color);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
[frNavigationMenuIndicator],
|
|
197
|
+
frame-navigation-menu-indicator {
|
|
198
|
+
position: absolute;
|
|
199
|
+
inset-block-start: calc(100% - 0.125rem);
|
|
200
|
+
inset-inline-start: 50%;
|
|
201
|
+
z-index: 1;
|
|
202
|
+
display: block;
|
|
203
|
+
inline-size: var(--frame-navigation-menu-indicator-size);
|
|
204
|
+
block-size: var(--frame-navigation-menu-indicator-size);
|
|
205
|
+
background: var(--frame-navigation-menu-indicator-bg);
|
|
206
|
+
transform: translateX(-50%) rotate(45deg);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
[dir='rtl'] [frNavigationMenuIndicator],
|
|
210
|
+
[dir='rtl'] frame-navigation-menu-indicator {
|
|
211
|
+
transform: translateX(50%) rotate(45deg);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
[frNavigationMenuViewport],
|
|
215
|
+
frame-navigation-menu-viewport {
|
|
216
|
+
display: block;
|
|
217
|
+
border: 1px solid var(--frame-navigation-menu-viewport-border);
|
|
218
|
+
border-radius: var(--frame-navigation-menu-viewport-radius);
|
|
219
|
+
background: var(--frame-navigation-menu-viewport-bg);
|
|
220
|
+
box-shadow: var(--frame-navigation-menu-viewport-shadow);
|
|
221
|
+
overflow: hidden;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
@media (max-width: 40rem) {
|
|
225
|
+
[frNavigationMenuList],
|
|
226
|
+
frame-navigation-menu-list {
|
|
227
|
+
align-items: stretch;
|
|
228
|
+
flex-direction: column;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
[frNavigationMenuTrigger],
|
|
232
|
+
.frame-navigation-menu__trigger,
|
|
233
|
+
[frNavigationMenuLink],
|
|
234
|
+
.frame-navigation-menu__link {
|
|
235
|
+
width: 100%;
|
|
236
|
+
justify-content: flex-start;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
[frNavigationMenuGrid],
|
|
240
|
+
.frame-navigation-menu__grid,
|
|
241
|
+
[frNavigationMenuGrid][data-columns],
|
|
242
|
+
.frame-navigation-menu__grid[data-columns] {
|
|
243
|
+
grid-template-columns: 1fr;
|
|
244
|
+
}
|
|
245
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@frame-ui-ng/components",
|
|
3
|
+
"version": "0.1.0-beta.0",
|
|
4
|
+
"description": "Angular components for FrameUI.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/gamekohl/frame-ui.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://frame-ui.com",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/gamekohl/frame-ui/issues"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"angular",
|
|
16
|
+
"components",
|
|
17
|
+
"design-system",
|
|
18
|
+
"ui",
|
|
19
|
+
"frame-ui"
|
|
20
|
+
],
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"@angular/cdk": ">=21.0.0 <22.0.0",
|
|
26
|
+
"@angular/common": ">=21.0.0 <22.0.0",
|
|
27
|
+
"@angular/core": ">=21.0.0 <22.0.0",
|
|
28
|
+
"@angular/forms": ">=21.0.0 <22.0.0",
|
|
29
|
+
"@frame-ui-ng/foundation": "0.1.0-beta.0",
|
|
30
|
+
"rxjs": "^7.8.0"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"tslib": "^2.3.0"
|
|
34
|
+
},
|
|
35
|
+
"exports": {
|
|
36
|
+
"./styles.css": {
|
|
37
|
+
"style": "./styles.css",
|
|
38
|
+
"default": "./styles.css"
|
|
39
|
+
},
|
|
40
|
+
"./package.json": {
|
|
41
|
+
"default": "./package.json"
|
|
42
|
+
},
|
|
43
|
+
".": {
|
|
44
|
+
"types": "./types/frame-ui-ng-components.d.ts",
|
|
45
|
+
"default": "./fesm2022/frame-ui-ng-components.mjs"
|
|
46
|
+
},
|
|
47
|
+
"./accordion": {
|
|
48
|
+
"types": "./types/frame-ui-ng-components-accordion.d.ts",
|
|
49
|
+
"default": "./fesm2022/frame-ui-ng-components-accordion.mjs"
|
|
50
|
+
},
|
|
51
|
+
"./alert": {
|
|
52
|
+
"types": "./types/frame-ui-ng-components-alert.d.ts",
|
|
53
|
+
"default": "./fesm2022/frame-ui-ng-components-alert.mjs"
|
|
54
|
+
},
|
|
55
|
+
"./avatar": {
|
|
56
|
+
"types": "./types/frame-ui-ng-components-avatar.d.ts",
|
|
57
|
+
"default": "./fesm2022/frame-ui-ng-components-avatar.mjs"
|
|
58
|
+
},
|
|
59
|
+
"./badge": {
|
|
60
|
+
"types": "./types/frame-ui-ng-components-badge.d.ts",
|
|
61
|
+
"default": "./fesm2022/frame-ui-ng-components-badge.mjs"
|
|
62
|
+
},
|
|
63
|
+
"./breadcrumb": {
|
|
64
|
+
"types": "./types/frame-ui-ng-components-breadcrumb.d.ts",
|
|
65
|
+
"default": "./fesm2022/frame-ui-ng-components-breadcrumb.mjs"
|
|
66
|
+
},
|
|
67
|
+
"./button": {
|
|
68
|
+
"types": "./types/frame-ui-ng-components-button.d.ts",
|
|
69
|
+
"default": "./fesm2022/frame-ui-ng-components-button.mjs"
|
|
70
|
+
},
|
|
71
|
+
"./button-group": {
|
|
72
|
+
"types": "./types/frame-ui-ng-components-button-group.d.ts",
|
|
73
|
+
"default": "./fesm2022/frame-ui-ng-components-button-group.mjs"
|
|
74
|
+
},
|
|
75
|
+
"./calendar": {
|
|
76
|
+
"types": "./types/frame-ui-ng-components-calendar.d.ts",
|
|
77
|
+
"default": "./fesm2022/frame-ui-ng-components-calendar.mjs"
|
|
78
|
+
},
|
|
79
|
+
"./card": {
|
|
80
|
+
"types": "./types/frame-ui-ng-components-card.d.ts",
|
|
81
|
+
"default": "./fesm2022/frame-ui-ng-components-card.mjs"
|
|
82
|
+
},
|
|
83
|
+
"./carousel": {
|
|
84
|
+
"types": "./types/frame-ui-ng-components-carousel.d.ts",
|
|
85
|
+
"default": "./fesm2022/frame-ui-ng-components-carousel.mjs"
|
|
86
|
+
},
|
|
87
|
+
"./checkbox": {
|
|
88
|
+
"types": "./types/frame-ui-ng-components-checkbox.d.ts",
|
|
89
|
+
"default": "./fesm2022/frame-ui-ng-components-checkbox.mjs"
|
|
90
|
+
},
|
|
91
|
+
"./collapsible": {
|
|
92
|
+
"types": "./types/frame-ui-ng-components-collapsible.d.ts",
|
|
93
|
+
"default": "./fesm2022/frame-ui-ng-components-collapsible.mjs"
|
|
94
|
+
},
|
|
95
|
+
"./combobox": {
|
|
96
|
+
"types": "./types/frame-ui-ng-components-combobox.d.ts",
|
|
97
|
+
"default": "./fesm2022/frame-ui-ng-components-combobox.mjs"
|
|
98
|
+
},
|
|
99
|
+
"./command": {
|
|
100
|
+
"types": "./types/frame-ui-ng-components-command.d.ts",
|
|
101
|
+
"default": "./fesm2022/frame-ui-ng-components-command.mjs"
|
|
102
|
+
},
|
|
103
|
+
"./context-menu": {
|
|
104
|
+
"types": "./types/frame-ui-ng-components-context-menu.d.ts",
|
|
105
|
+
"default": "./fesm2022/frame-ui-ng-components-context-menu.mjs"
|
|
106
|
+
},
|
|
107
|
+
"./date-picker": {
|
|
108
|
+
"types": "./types/frame-ui-ng-components-date-picker.d.ts",
|
|
109
|
+
"default": "./fesm2022/frame-ui-ng-components-date-picker.mjs"
|
|
110
|
+
},
|
|
111
|
+
"./dropdown-menu": {
|
|
112
|
+
"types": "./types/frame-ui-ng-components-dropdown-menu.d.ts",
|
|
113
|
+
"default": "./fesm2022/frame-ui-ng-components-dropdown-menu.mjs"
|
|
114
|
+
},
|
|
115
|
+
"./empty": {
|
|
116
|
+
"types": "./types/frame-ui-ng-components-empty.d.ts",
|
|
117
|
+
"default": "./fesm2022/frame-ui-ng-components-empty.mjs"
|
|
118
|
+
},
|
|
119
|
+
"./field": {
|
|
120
|
+
"types": "./types/frame-ui-ng-components-field.d.ts",
|
|
121
|
+
"default": "./fesm2022/frame-ui-ng-components-field.mjs"
|
|
122
|
+
},
|
|
123
|
+
"./forms": {
|
|
124
|
+
"types": "./types/frame-ui-ng-components-forms.d.ts",
|
|
125
|
+
"default": "./fesm2022/frame-ui-ng-components-forms.mjs"
|
|
126
|
+
},
|
|
127
|
+
"./hover-card": {
|
|
128
|
+
"types": "./types/frame-ui-ng-components-hover-card.d.ts",
|
|
129
|
+
"default": "./fesm2022/frame-ui-ng-components-hover-card.mjs"
|
|
130
|
+
},
|
|
131
|
+
"./input": {
|
|
132
|
+
"types": "./types/frame-ui-ng-components-input.d.ts",
|
|
133
|
+
"default": "./fesm2022/frame-ui-ng-components-input.mjs"
|
|
134
|
+
},
|
|
135
|
+
"./input-otp": {
|
|
136
|
+
"types": "./types/frame-ui-ng-components-input-otp.d.ts",
|
|
137
|
+
"default": "./fesm2022/frame-ui-ng-components-input-otp.mjs"
|
|
138
|
+
},
|
|
139
|
+
"./item": {
|
|
140
|
+
"types": "./types/frame-ui-ng-components-item.d.ts",
|
|
141
|
+
"default": "./fesm2022/frame-ui-ng-components-item.mjs"
|
|
142
|
+
},
|
|
143
|
+
"./menubar": {
|
|
144
|
+
"types": "./types/frame-ui-ng-components-menubar.d.ts",
|
|
145
|
+
"default": "./fesm2022/frame-ui-ng-components-menubar.mjs"
|
|
146
|
+
},
|
|
147
|
+
"./modal": {
|
|
148
|
+
"types": "./types/frame-ui-ng-components-modal.d.ts",
|
|
149
|
+
"default": "./fesm2022/frame-ui-ng-components-modal.mjs"
|
|
150
|
+
},
|
|
151
|
+
"./navigation-menu": {
|
|
152
|
+
"types": "./types/frame-ui-ng-components-navigation-menu.d.ts",
|
|
153
|
+
"default": "./fesm2022/frame-ui-ng-components-navigation-menu.mjs"
|
|
154
|
+
},
|
|
155
|
+
"./pagination": {
|
|
156
|
+
"types": "./types/frame-ui-ng-components-pagination.d.ts",
|
|
157
|
+
"default": "./fesm2022/frame-ui-ng-components-pagination.mjs"
|
|
158
|
+
},
|
|
159
|
+
"./popover": {
|
|
160
|
+
"types": "./types/frame-ui-ng-components-popover.d.ts",
|
|
161
|
+
"default": "./fesm2022/frame-ui-ng-components-popover.mjs"
|
|
162
|
+
},
|
|
163
|
+
"./progress": {
|
|
164
|
+
"types": "./types/frame-ui-ng-components-progress.d.ts",
|
|
165
|
+
"default": "./fesm2022/frame-ui-ng-components-progress.mjs"
|
|
166
|
+
},
|
|
167
|
+
"./radio-group": {
|
|
168
|
+
"types": "./types/frame-ui-ng-components-radio-group.d.ts",
|
|
169
|
+
"default": "./fesm2022/frame-ui-ng-components-radio-group.mjs"
|
|
170
|
+
},
|
|
171
|
+
"./resizable": {
|
|
172
|
+
"types": "./types/frame-ui-ng-components-resizable.d.ts",
|
|
173
|
+
"default": "./fesm2022/frame-ui-ng-components-resizable.mjs"
|
|
174
|
+
},
|
|
175
|
+
"./select": {
|
|
176
|
+
"types": "./types/frame-ui-ng-components-select.d.ts",
|
|
177
|
+
"default": "./fesm2022/frame-ui-ng-components-select.mjs"
|
|
178
|
+
},
|
|
179
|
+
"./separator": {
|
|
180
|
+
"types": "./types/frame-ui-ng-components-separator.d.ts",
|
|
181
|
+
"default": "./fesm2022/frame-ui-ng-components-separator.mjs"
|
|
182
|
+
},
|
|
183
|
+
"./sheet": {
|
|
184
|
+
"types": "./types/frame-ui-ng-components-sheet.d.ts",
|
|
185
|
+
"default": "./fesm2022/frame-ui-ng-components-sheet.mjs"
|
|
186
|
+
},
|
|
187
|
+
"./sidebar": {
|
|
188
|
+
"types": "./types/frame-ui-ng-components-sidebar.d.ts",
|
|
189
|
+
"default": "./fesm2022/frame-ui-ng-components-sidebar.mjs"
|
|
190
|
+
},
|
|
191
|
+
"./skeleton": {
|
|
192
|
+
"types": "./types/frame-ui-ng-components-skeleton.d.ts",
|
|
193
|
+
"default": "./fesm2022/frame-ui-ng-components-skeleton.mjs"
|
|
194
|
+
},
|
|
195
|
+
"./slider": {
|
|
196
|
+
"types": "./types/frame-ui-ng-components-slider.d.ts",
|
|
197
|
+
"default": "./fesm2022/frame-ui-ng-components-slider.mjs"
|
|
198
|
+
},
|
|
199
|
+
"./spinner": {
|
|
200
|
+
"types": "./types/frame-ui-ng-components-spinner.d.ts",
|
|
201
|
+
"default": "./fesm2022/frame-ui-ng-components-spinner.mjs"
|
|
202
|
+
},
|
|
203
|
+
"./switch": {
|
|
204
|
+
"types": "./types/frame-ui-ng-components-switch.d.ts",
|
|
205
|
+
"default": "./fesm2022/frame-ui-ng-components-switch.mjs"
|
|
206
|
+
},
|
|
207
|
+
"./table": {
|
|
208
|
+
"types": "./types/frame-ui-ng-components-table.d.ts",
|
|
209
|
+
"default": "./fesm2022/frame-ui-ng-components-table.mjs"
|
|
210
|
+
},
|
|
211
|
+
"./tabs": {
|
|
212
|
+
"types": "./types/frame-ui-ng-components-tabs.d.ts",
|
|
213
|
+
"default": "./fesm2022/frame-ui-ng-components-tabs.mjs"
|
|
214
|
+
},
|
|
215
|
+
"./textarea": {
|
|
216
|
+
"types": "./types/frame-ui-ng-components-textarea.d.ts",
|
|
217
|
+
"default": "./fesm2022/frame-ui-ng-components-textarea.mjs"
|
|
218
|
+
},
|
|
219
|
+
"./toast": {
|
|
220
|
+
"types": "./types/frame-ui-ng-components-toast.d.ts",
|
|
221
|
+
"default": "./fesm2022/frame-ui-ng-components-toast.mjs"
|
|
222
|
+
},
|
|
223
|
+
"./toggle": {
|
|
224
|
+
"types": "./types/frame-ui-ng-components-toggle.d.ts",
|
|
225
|
+
"default": "./fesm2022/frame-ui-ng-components-toggle.mjs"
|
|
226
|
+
},
|
|
227
|
+
"./tooltip": {
|
|
228
|
+
"types": "./types/frame-ui-ng-components-tooltip.d.ts",
|
|
229
|
+
"default": "./fesm2022/frame-ui-ng-components-tooltip.mjs"
|
|
230
|
+
},
|
|
231
|
+
"./virtual-scroll": {
|
|
232
|
+
"types": "./types/frame-ui-ng-components-virtual-scroll.d.ts",
|
|
233
|
+
"default": "./fesm2022/frame-ui-ng-components-virtual-scroll.mjs"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"sideEffects": [
|
|
237
|
+
"./styles.css",
|
|
238
|
+
"./styles/components.css"
|
|
239
|
+
],
|
|
240
|
+
"module": "fesm2022/frame-ui-ng-components.mjs",
|
|
241
|
+
"typings": "types/frame-ui-ng-components.d.ts",
|
|
242
|
+
"type": "module"
|
|
243
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--frame-pagination-gap: 0.25rem;
|
|
3
|
+
--frame-pagination-color: var(--frame-foreground);
|
|
4
|
+
--frame-pagination-link-size: 2.25rem;
|
|
5
|
+
--frame-pagination-link-min-width: 2.25rem;
|
|
6
|
+
--frame-pagination-link-padding-x: 0.75rem;
|
|
7
|
+
--frame-pagination-link-gap: 0.375rem;
|
|
8
|
+
--frame-pagination-link-radius: var(--frame-radius-md);
|
|
9
|
+
--frame-pagination-link-bg: transparent;
|
|
10
|
+
--frame-pagination-link-color: var(--frame-muted-foreground);
|
|
11
|
+
--frame-pagination-link-border: transparent;
|
|
12
|
+
--frame-pagination-link-hover-bg: var(--frame-accent);
|
|
13
|
+
--frame-pagination-link-hover-color: var(--frame-accent-foreground);
|
|
14
|
+
--frame-pagination-link-active-bg: var(--frame-surface);
|
|
15
|
+
--frame-pagination-link-active-color: var(--frame-foreground);
|
|
16
|
+
--frame-pagination-link-active-border: var(--frame-border);
|
|
17
|
+
--frame-pagination-link-focus-shadow: 0 0 0 3px color-mix(in srgb, var(--frame-ring) 24%, transparent);
|
|
18
|
+
--frame-pagination-link-disabled-opacity: 0.5;
|
|
19
|
+
--frame-pagination-font-size: 0.875rem;
|
|
20
|
+
--frame-pagination-font-weight: 500;
|
|
21
|
+
--frame-pagination-ellipsis-color: var(--frame-muted-foreground);
|
|
22
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
@import './_vars.css';
|
|
2
|
+
|
|
3
|
+
[frPagination],
|
|
4
|
+
nav[frPagination] {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
color: var(--frame-pagination-color);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
[frPaginationContent] {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
gap: var(--frame-pagination-gap);
|
|
16
|
+
margin: 0;
|
|
17
|
+
padding: 0;
|
|
18
|
+
list-style: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[frPaginationItem] {
|
|
22
|
+
display: inline-flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[frPaginationLink],
|
|
27
|
+
[frPaginationPrevious],
|
|
28
|
+
[frPaginationNext],
|
|
29
|
+
.frame-pagination__link {
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
display: inline-flex;
|
|
32
|
+
min-inline-size: var(--frame-pagination-link-min-width);
|
|
33
|
+
min-block-size: var(--frame-pagination-link-size);
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
gap: var(--frame-pagination-link-gap);
|
|
37
|
+
border: 1px solid var(--frame-pagination-link-border);
|
|
38
|
+
border-radius: var(--frame-pagination-link-radius);
|
|
39
|
+
background: var(--frame-pagination-link-bg);
|
|
40
|
+
color: var(--frame-pagination-link-color);
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
font: inherit;
|
|
43
|
+
font-size: var(--frame-pagination-font-size);
|
|
44
|
+
font-weight: var(--frame-pagination-font-weight);
|
|
45
|
+
line-height: 1;
|
|
46
|
+
padding-inline: var(--frame-pagination-link-padding-x);
|
|
47
|
+
text-decoration: none;
|
|
48
|
+
transition:
|
|
49
|
+
background-color 140ms ease,
|
|
50
|
+
border-color 140ms ease,
|
|
51
|
+
box-shadow 140ms ease,
|
|
52
|
+
color 140ms ease,
|
|
53
|
+
opacity 140ms ease;
|
|
54
|
+
user-select: none;
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[frPaginationLink]:where(button),
|
|
59
|
+
[frPaginationPrevious]:where(button),
|
|
60
|
+
[frPaginationNext]:where(button) {
|
|
61
|
+
padding-block: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
[frPaginationLink]:where(:not([data-disabled])):hover,
|
|
65
|
+
[frPaginationPrevious]:where(:not([data-disabled])):hover,
|
|
66
|
+
[frPaginationNext]:where(:not([data-disabled])):hover,
|
|
67
|
+
.frame-pagination__link:where(:not([data-disabled])):hover {
|
|
68
|
+
background: var(--frame-pagination-link-hover-bg);
|
|
69
|
+
color: var(--frame-pagination-link-hover-color);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
[frPaginationLink]:focus-visible,
|
|
73
|
+
[frPaginationPrevious]:focus-visible,
|
|
74
|
+
[frPaginationNext]:focus-visible,
|
|
75
|
+
.frame-pagination__link:focus-visible {
|
|
76
|
+
outline: none;
|
|
77
|
+
box-shadow: var(--frame-pagination-link-focus-shadow);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
[frPaginationLink][data-active],
|
|
81
|
+
.frame-pagination__link[data-active] {
|
|
82
|
+
border-color: var(--frame-pagination-link-active-border);
|
|
83
|
+
background: var(--frame-pagination-link-active-bg);
|
|
84
|
+
color: var(--frame-pagination-link-active-color);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
[frPaginationLink][data-disabled],
|
|
88
|
+
[frPaginationPrevious][data-disabled],
|
|
89
|
+
[frPaginationNext][data-disabled],
|
|
90
|
+
.frame-pagination__link[data-disabled] {
|
|
91
|
+
cursor: not-allowed;
|
|
92
|
+
opacity: var(--frame-pagination-link-disabled-opacity);
|
|
93
|
+
pointer-events: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
[frPaginationPrevious][data-icon-only],
|
|
97
|
+
[frPaginationNext][data-icon-only] {
|
|
98
|
+
inline-size: var(--frame-pagination-link-size);
|
|
99
|
+
min-inline-size: var(--frame-pagination-link-size);
|
|
100
|
+
padding-inline: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.frame-pagination__control-icon {
|
|
104
|
+
display: inline-flex;
|
|
105
|
+
align-items: center;
|
|
106
|
+
justify-content: center;
|
|
107
|
+
font-size: 1.25em;
|
|
108
|
+
line-height: 0.75;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
[dir='rtl'] .frame-pagination__previous .frame-pagination__control-icon,
|
|
112
|
+
[dir='rtl'] .frame-pagination__next .frame-pagination__control-icon {
|
|
113
|
+
transform: scaleX(-1);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[frPaginationEllipsis],
|
|
117
|
+
frame-pagination-ellipsis {
|
|
118
|
+
display: inline-flex;
|
|
119
|
+
min-inline-size: var(--frame-pagination-link-size);
|
|
120
|
+
min-block-size: var(--frame-pagination-link-size);
|
|
121
|
+
align-items: center;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
color: var(--frame-pagination-ellipsis-color);
|
|
124
|
+
letter-spacing: 0.08em;
|
|
125
|
+
user-select: none;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.frame-pagination__sr-only {
|
|
129
|
+
position: absolute;
|
|
130
|
+
width: 1px;
|
|
131
|
+
height: 1px;
|
|
132
|
+
padding: 0;
|
|
133
|
+
margin: -1px;
|
|
134
|
+
overflow: hidden;
|
|
135
|
+
clip: rect(0, 0, 0, 0);
|
|
136
|
+
white-space: nowrap;
|
|
137
|
+
border: 0;
|
|
138
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--frame-popover-content-width: 20rem;
|
|
3
|
+
--frame-popover-content-padding: 1rem;
|
|
4
|
+
--frame-popover-content-radius: var(--frame-radius-md);
|
|
5
|
+
--frame-popover-content-bg: var(--frame-surface);
|
|
6
|
+
--frame-popover-content-color: var(--frame-surface-foreground);
|
|
7
|
+
--frame-popover-content-border: var(--frame-border);
|
|
8
|
+
--frame-popover-content-shadow: var(--frame-shadow-md);
|
|
9
|
+
--frame-popover-content-gap: 0.875rem;
|
|
10
|
+
--frame-popover-header-gap: 0.25rem;
|
|
11
|
+
--frame-popover-title-color: var(--frame-foreground);
|
|
12
|
+
--frame-popover-title-font-size: 0.875rem;
|
|
13
|
+
--frame-popover-title-font-weight: 600;
|
|
14
|
+
--frame-popover-description-color: var(--frame-muted-foreground);
|
|
15
|
+
--frame-popover-description-font-size: 0.875rem;
|
|
16
|
+
--frame-popover-body-gap: 0.75rem;
|
|
17
|
+
--frame-popover-footer-gap: 0.5rem;
|
|
18
|
+
--frame-popover-close-radius: var(--frame-radius-sm);
|
|
19
|
+
--frame-popover-close-hover-bg: var(--frame-accent);
|
|
20
|
+
--frame-popover-motion-duration: 140ms;
|
|
21
|
+
--frame-popover-motion-easing: cubic-bezier(0.16, 1, 0.3, 1);
|
|
22
|
+
--frame-popover-motion-distance: 0.25rem;
|
|
23
|
+
--frame-popover-motion-scale: 0.96;
|
|
24
|
+
}
|