@spartan-ng/cli 0.0.1-alpha.716 → 0.0.1-alpha.718
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/package.json +1 -1
- package/src/generators/base/generator.d.ts +1 -0
- package/src/generators/base/generator.js +66 -0
- package/src/generators/base/generator.js.map +1 -1
- package/src/generators/healthcheck/healthchecks/version.js +5 -1
- package/src/generators/healthcheck/healthchecks/version.js.map +1 -1
- package/src/generators/migrate-helm-libraries/generator.js +26 -7
- package/src/generators/migrate-helm-libraries/generator.js.map +1 -1
- package/src/generators/migrate-icon/generator.js +1 -1
- package/src/generators/migrate-icon/generator.js.map +1 -1
- package/src/generators/migrate-scroll-area/generator.js +1 -1
- package/src/generators/migrate-scroll-area/generator.js.map +1 -1
- package/src/generators/ui/libs/alert-dialog/files/lib/hlm-alert-dialog-cancel.ts.template +1 -4
- package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete-search.ts.template +3 -15
- package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete.ts.template +3 -15
- package/src/generators/ui/libs/calendar/files/lib/hlm-calendar-multi.ts.template +134 -183
- package/src/generators/ui/libs/calendar/files/lib/hlm-calendar-range.ts.template +133 -176
- package/src/generators/ui/libs/calendar/files/lib/hlm-calendar.ts.template +121 -169
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-multiple.ts.template +3 -15
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox.ts.template +3 -15
- package/src/generators/ui/libs/date-picker/files/lib/hlm-date-picker-anchor.ts.template +5 -12
- package/src/generators/ui/libs/date-picker/files/lib/hlm-date-picker-multi.ts.template +3 -3
- package/src/generators/ui/libs/date-picker/files/lib/hlm-date-picker.ts.template +3 -4
- package/src/generators/ui/libs/date-picker/files/lib/hlm-date-range-picker.ts.template +3 -3
- package/src/generators/ui/libs/dialog/files/lib/hlm-dialog-close.ts.template +1 -1
- package/src/generators/ui/libs/dialog/files/lib/hlm-dialog-content.ts.template +8 -1
- package/src/generators/ui/libs/drawer/files/lib/hlm-drawer-close.ts.template +1 -1
- package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu-content.ts.template +10 -3
- package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu-item.ts.template +4 -1
- package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu-link.ts.template +4 -4
- package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu-list.ts.template +4 -1
- package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu-trigger.ts.template +15 -4
- package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu.ts.template +6 -1
- package/src/generators/ui/libs/popover/files/index.ts.template +15 -1
- package/src/generators/ui/libs/popover/files/lib/hlm-popover-description.ts.template +12 -0
- package/src/generators/ui/libs/popover/files/lib/hlm-popover-header.ts.template +12 -0
- package/src/generators/ui/libs/popover/files/lib/hlm-popover-title.ts.template +12 -0
- package/src/generators/ui/libs/popover/files/lib/hlm-popover-trigger.ts.template +1 -3
- package/src/generators/ui/libs/popover/files/lib/hlm-popover.ts.template +1 -11
- package/src/generators/ui/libs/select/files/lib/hlm-select-multiple.ts.template +3 -15
- package/src/generators/ui/libs/select/files/lib/hlm-select.ts.template +3 -15
- package/src/generators/ui/libs/sheet/files/lib/hlm-sheet-close.ts.template +1 -1
- package/src/generators/ui/libs/utils/files/index.ts.template +1 -0
- package/src/generators/ui/libs/utils/files/lib/provide-spartan-hlm.ts.template +34 -0
- package/src/generators/ui/style-luma.css +2 -46
- package/src/generators/ui/style-lyra.css +2 -46
- package/src/generators/ui/style-maia.css +2 -46
- package/src/generators/ui/style-mira.css +2 -46
- package/src/generators/ui/style-nova.css +2 -46
- package/src/generators/ui/style-vega.css +2 -46
- package/src/generators/ui/supported-ui-libraries.json +47 -45
- package/src/utils/string-change.d.ts +26 -0
- package/src/utils/string-change.js +84 -0
- package/src/utils/string-change.js.map +1 -0
package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu-link.ts.template
CHANGED
|
@@ -5,12 +5,12 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
5
5
|
@Directive({
|
|
6
6
|
selector: 'a[hlmNavigationMenuLink]',
|
|
7
7
|
hostDirectives: [{ directive: BrnNavigationMenuLink, inputs: ['active'] }],
|
|
8
|
+
host: {
|
|
9
|
+
'data-slot': 'navigation-menu-link',
|
|
10
|
+
},
|
|
8
11
|
})
|
|
9
12
|
export class HlmNavigationMenuLink {
|
|
10
13
|
constructor() {
|
|
11
|
-
classes(() =>
|
|
12
|
-
'data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_ng-icon:not([class*="text-"])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_ng-icon:not([class*="text-"])]:text-base',
|
|
13
|
-
'data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50',
|
|
14
|
-
]);
|
|
14
|
+
classes(() => 'spartan-navigation-menu-link');
|
|
15
15
|
}
|
|
16
16
|
}
|
package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu-list.ts.template
CHANGED
|
@@ -9,11 +9,14 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
9
9
|
directive: BrnNavigationMenuList,
|
|
10
10
|
},
|
|
11
11
|
],
|
|
12
|
+
host: {
|
|
13
|
+
'data-slot': 'navigation-menu-list',
|
|
14
|
+
},
|
|
12
15
|
})
|
|
13
16
|
export class HlmNavigationMenuList {
|
|
14
17
|
constructor() {
|
|
15
18
|
classes(() => [
|
|
16
|
-
'group flex flex-1 list-none items-center justify-center
|
|
19
|
+
'spartan-navigation-menu-list group flex flex-1 list-none items-center justify-center',
|
|
17
20
|
'data-[orientation=vertical]:flex-col',
|
|
18
21
|
]);
|
|
19
22
|
}
|
package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu-trigger.ts.template
CHANGED
|
@@ -1,16 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
+
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
3
|
+
import { lucideChevronDown } from '@ng-icons/lucide';
|
|
2
4
|
import { BrnNavigationMenuTrigger } from '@spartan-ng/brain/navigation-menu';
|
|
3
5
|
import { classes } from '<%- importAlias %>/utils';
|
|
4
6
|
|
|
5
|
-
@
|
|
7
|
+
@Component({
|
|
8
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
|
6
9
|
selector: 'button[hlmNavigationMenuTrigger]',
|
|
7
|
-
|
|
10
|
+
imports: [NgIcon],
|
|
11
|
+
providers: [provideIcons({ lucideChevronDown })],
|
|
12
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13
|
+
hostDirectives: [{ directive: BrnNavigationMenuTrigger, inputs: ['align'] }],
|
|
14
|
+
host: { 'data-slot': 'navigation-menu-trigger' },
|
|
15
|
+
template: `
|
|
16
|
+
<ng-content />
|
|
17
|
+
<ng-icon name="lucideChevronDown" class="spartan-navigation-menu-trigger-icon" />
|
|
18
|
+
`,
|
|
8
19
|
})
|
|
9
20
|
export class HlmNavigationMenuTrigger {
|
|
10
21
|
constructor() {
|
|
11
22
|
classes(
|
|
12
23
|
() =>
|
|
13
|
-
'
|
|
24
|
+
'spartan-navigation-menu-trigger group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center outline-none disabled:pointer-events-none',
|
|
14
25
|
);
|
|
15
26
|
}
|
|
16
27
|
}
|
|
@@ -11,9 +11,14 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
11
11
|
outputs: ['valueChange'],
|
|
12
12
|
},
|
|
13
13
|
],
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'navigation-menu',
|
|
16
|
+
},
|
|
14
17
|
})
|
|
15
18
|
export class HlmNavigationMenu {
|
|
16
19
|
constructor() {
|
|
17
|
-
classes(
|
|
20
|
+
classes(
|
|
21
|
+
() => 'spartan-navigation-menu group/navigation-menu relative flex max-w-max flex-1 items-center justify-center',
|
|
22
|
+
);
|
|
18
23
|
}
|
|
19
24
|
}
|
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
import { HlmPopover } from './lib/hlm-popover';
|
|
2
2
|
import { HlmPopoverContent } from './lib/hlm-popover-content';
|
|
3
|
+
import { HlmPopoverDescription } from './lib/hlm-popover-description';
|
|
4
|
+
import { HlmPopoverHeader } from './lib/hlm-popover-header';
|
|
3
5
|
import { HlmPopoverPortal } from './lib/hlm-popover-portal';
|
|
6
|
+
import { HlmPopoverTitle } from './lib/hlm-popover-title';
|
|
4
7
|
import { HlmPopoverTrigger } from './lib/hlm-popover-trigger';
|
|
5
8
|
|
|
6
9
|
export * from './lib/hlm-popover';
|
|
7
10
|
export * from './lib/hlm-popover-content';
|
|
11
|
+
export * from './lib/hlm-popover-description';
|
|
12
|
+
export * from './lib/hlm-popover-header';
|
|
8
13
|
export * from './lib/hlm-popover-portal';
|
|
14
|
+
export * from './lib/hlm-popover-title';
|
|
9
15
|
export * from './lib/hlm-popover-trigger';
|
|
10
16
|
|
|
11
|
-
export const HlmPopoverImports = [
|
|
17
|
+
export const HlmPopoverImports = [
|
|
18
|
+
HlmPopover,
|
|
19
|
+
HlmPopoverContent,
|
|
20
|
+
HlmPopoverDescription,
|
|
21
|
+
HlmPopoverHeader,
|
|
22
|
+
HlmPopoverPortal,
|
|
23
|
+
HlmPopoverTitle,
|
|
24
|
+
HlmPopoverTrigger,
|
|
25
|
+
] as const;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { classes } from '<%- importAlias %>/utils';
|
|
3
|
+
|
|
4
|
+
@Directive({
|
|
5
|
+
selector: '[hlmPopoverDescription]',
|
|
6
|
+
host: { 'data-slot': 'popover-description' },
|
|
7
|
+
})
|
|
8
|
+
export class HlmPopoverDescription {
|
|
9
|
+
constructor() {
|
|
10
|
+
classes(() => 'spartan-popover-description');
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { classes } from '<%- importAlias %>/utils';
|
|
3
|
+
|
|
4
|
+
@Directive({
|
|
5
|
+
selector: '[hlmPopoverHeader],hlm-popover-header',
|
|
6
|
+
host: { 'data-slot': 'popover-header' },
|
|
7
|
+
})
|
|
8
|
+
export class HlmPopoverHeader {
|
|
9
|
+
constructor() {
|
|
10
|
+
classes(() => 'spartan-popover-header');
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { classes } from '<%- importAlias %>/utils';
|
|
3
|
+
|
|
4
|
+
@Directive({
|
|
5
|
+
selector: '[hlmPopoverTitle]',
|
|
6
|
+
host: { 'data-slot': 'popover-title' },
|
|
7
|
+
})
|
|
8
|
+
export class HlmPopoverTitle {
|
|
9
|
+
constructor() {
|
|
10
|
+
classes(() => 'spartan-popover-title');
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -6,8 +6,6 @@ import { BrnPopoverTrigger } from '@spartan-ng/brain/popover';
|
|
|
6
6
|
hostDirectives: [
|
|
7
7
|
{ directive: BrnPopoverTrigger, inputs: ['id', 'brnPopoverTriggerFor: hlmPopoverTriggerFor', 'type'] },
|
|
8
8
|
],
|
|
9
|
-
host: {
|
|
10
|
-
'data-slot': 'popover-trigger',
|
|
11
|
-
},
|
|
9
|
+
host: { 'data-slot': 'popover-trigger' },
|
|
12
10
|
})
|
|
13
11
|
export class HlmPopoverTrigger {}
|
|
@@ -6,17 +6,7 @@ import { BrnPopover } from '@spartan-ng/brain/popover';
|
|
|
6
6
|
hostDirectives: [
|
|
7
7
|
{
|
|
8
8
|
directive: BrnPopover,
|
|
9
|
-
inputs: [
|
|
10
|
-
'align',
|
|
11
|
-
'autoFocus',
|
|
12
|
-
'attachTo',
|
|
13
|
-
'closeDelay',
|
|
14
|
-
'closeOnOutsidePointerEvents',
|
|
15
|
-
'offsetX',
|
|
16
|
-
'restoreFocus',
|
|
17
|
-
'sideOffset',
|
|
18
|
-
'state',
|
|
19
|
-
],
|
|
9
|
+
inputs: ['align', 'attachTo', 'autoFocus', 'closeOnOutsidePointerEvents', 'offsetX', 'sideOffset', 'state'],
|
|
20
10
|
outputs: ['stateChanged', 'closed'],
|
|
21
11
|
},
|
|
22
12
|
],
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Directive } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { BrnPopover, provideBrnPopoverConfig } from '@spartan-ng/brain/popover';
|
|
2
|
+
import { BrnPopover, provideBrnPopoverConfig, provideBrnPopoverDefaultOptions } from '@spartan-ng/brain/popover';
|
|
4
3
|
import { BrnSelectMultiple } from '@spartan-ng/brain/select';
|
|
5
4
|
import { classes } from '<%- importAlias %>/utils';
|
|
6
5
|
|
|
@@ -11,9 +10,7 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
11
10
|
align: 'start',
|
|
12
11
|
sideOffset: 6,
|
|
13
12
|
}),
|
|
14
|
-
|
|
15
|
-
autoFocus: 'first-heading',
|
|
16
|
-
}),
|
|
13
|
+
provideBrnPopoverDefaultOptions({ role: null }),
|
|
17
14
|
],
|
|
18
15
|
hostDirectives: [
|
|
19
16
|
{
|
|
@@ -23,16 +20,7 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
23
20
|
},
|
|
24
21
|
{
|
|
25
22
|
directive: BrnPopover,
|
|
26
|
-
inputs: [
|
|
27
|
-
'align',
|
|
28
|
-
'autoFocus',
|
|
29
|
-
'closeDelay',
|
|
30
|
-
'closeOnOutsidePointerEvents',
|
|
31
|
-
'sideOffset',
|
|
32
|
-
'state',
|
|
33
|
-
'offsetX',
|
|
34
|
-
'restoreFocus',
|
|
35
|
-
],
|
|
23
|
+
inputs: ['align', 'closeOnOutsidePointerEvents', 'sideOffset', 'state', 'offsetX'],
|
|
36
24
|
outputs: ['stateChanged', 'closed'],
|
|
37
25
|
},
|
|
38
26
|
],
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Directive } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { BrnPopover, provideBrnPopoverConfig } from '@spartan-ng/brain/popover';
|
|
2
|
+
import { BrnPopover, provideBrnPopoverConfig, provideBrnPopoverDefaultOptions } from '@spartan-ng/brain/popover';
|
|
4
3
|
import { BrnSelect } from '@spartan-ng/brain/select';
|
|
5
4
|
import { classes } from '<%- importAlias %>/utils';
|
|
6
5
|
|
|
@@ -11,9 +10,7 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
11
10
|
align: 'start',
|
|
12
11
|
sideOffset: 6,
|
|
13
12
|
}),
|
|
14
|
-
|
|
15
|
-
autoFocus: 'first-heading',
|
|
16
|
-
}),
|
|
13
|
+
provideBrnPopoverDefaultOptions({ role: null }),
|
|
17
14
|
],
|
|
18
15
|
hostDirectives: [
|
|
19
16
|
{
|
|
@@ -23,16 +20,7 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
23
20
|
},
|
|
24
21
|
{
|
|
25
22
|
directive: BrnPopover,
|
|
26
|
-
inputs: [
|
|
27
|
-
'align',
|
|
28
|
-
'autoFocus',
|
|
29
|
-
'closeDelay',
|
|
30
|
-
'closeOnOutsidePointerEvents',
|
|
31
|
-
'sideOffset',
|
|
32
|
-
'state',
|
|
33
|
-
'offsetX',
|
|
34
|
-
'restoreFocus',
|
|
35
|
-
],
|
|
23
|
+
inputs: ['align', 'closeOnOutsidePointerEvents', 'sideOffset', 'state', 'offsetX'],
|
|
36
24
|
outputs: ['stateChanged', 'closed'],
|
|
37
25
|
},
|
|
38
26
|
],
|
|
@@ -3,7 +3,7 @@ import { BrnSheetClose } from '@spartan-ng/brain/sheet';
|
|
|
3
3
|
|
|
4
4
|
@Directive({
|
|
5
5
|
selector: 'button[hlmSheetClose]',
|
|
6
|
-
hostDirectives: [
|
|
6
|
+
hostDirectives: [BrnSheetClose],
|
|
7
7
|
host: { 'data-slot': 'sheet-close' },
|
|
8
8
|
})
|
|
9
9
|
export class HlmSheetClose {}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OVERLAY_DEFAULT_CONFIG } from '@angular/cdk/overlay';
|
|
2
|
+
import { type EnvironmentProviders, makeEnvironmentProviders } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Provides default configuration for Spartan Helm components.
|
|
6
|
+
*
|
|
7
|
+
* This utility configures the Angular CDK overlay to disable the `usePopover`
|
|
8
|
+
* behavior introduced in Angular 21, which causes CDK overlay-based components
|
|
9
|
+
* (sheets, dialogs, tooltips, etc.) to render above `position: fixed` elements
|
|
10
|
+
* like `<hlm-toaster>`.
|
|
11
|
+
*
|
|
12
|
+
* @returns {EnvironmentProviders} Environment providers to be added to the application config.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* // app.config.ts
|
|
17
|
+
* import { provideSpartanHlm } from '@spartan-ng/helm/utils';
|
|
18
|
+
*
|
|
19
|
+
* export const appConfig: ApplicationConfig = {
|
|
20
|
+
* providers: [
|
|
21
|
+
* provideSpartanHlm(),
|
|
22
|
+
* // ... other providers
|
|
23
|
+
* ],
|
|
24
|
+
* };
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export function provideSpartanHlm(): EnvironmentProviders {
|
|
28
|
+
return makeEnvironmentProviders([
|
|
29
|
+
{
|
|
30
|
+
provide: OVERLAY_DEFAULT_CONFIG,
|
|
31
|
+
useValue: { usePopover: false },
|
|
32
|
+
},
|
|
33
|
+
]);
|
|
34
|
+
}
|
|
@@ -869,7 +869,7 @@
|
|
|
869
869
|
}
|
|
870
870
|
|
|
871
871
|
.spartan-navigation-menu-trigger {
|
|
872
|
-
@apply hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring/30
|
|
872
|
+
@apply hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring/30 rounded-3xl px-4.5 py-2.5 text-sm font-medium transition-all focus-visible:ring-3 focus-visible:outline-1 disabled:opacity-50;
|
|
873
873
|
}
|
|
874
874
|
|
|
875
875
|
.spartan-navigation-menu-link {
|
|
@@ -877,27 +877,7 @@
|
|
|
877
877
|
}
|
|
878
878
|
|
|
879
879
|
.spartan-navigation-menu-trigger-icon {
|
|
880
|
-
@apply relative top-px ml-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
.spartan-navigation-menu-content {
|
|
884
|
-
@apply data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-end-52 data-[motion=from-start]:slide-in-from-start-52 data-[motion=to-end]:slide-out-to-end-52 data-[motion=to-start]:slide-out-to-start-52 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:ring-foreground/5 group-data-[viewport=false]/navigation-menu:dark:ring-foreground/10 p-2.5 pe-3 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-3xl group-data-[viewport=false]/navigation-menu:shadow-lg group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300;
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
.spartan-navigation-menu-viewport {
|
|
888
|
-
@apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:zoom-out-90 data-open:zoom-in-90 ring-foreground/5 dark:ring-foreground/10 rounded-3xl shadow-lg ring-1 duration-100;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
.spartan-navigation-menu-indicator {
|
|
892
|
-
@apply data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in;
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
.spartan-navigation-menu-indicator-arrow {
|
|
896
|
-
@apply bg-border rounded-tl-sm shadow-md;
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
.spartan-navigation-menu-positioner {
|
|
900
|
-
@apply transition-[top,left,right,bottom] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] data-[side=bottom]:before:start-0 data-[side=bottom]:before:end-0 data-[side=bottom]:before:top-[-10px];
|
|
880
|
+
@apply relative top-px ml-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180;
|
|
901
881
|
}
|
|
902
882
|
|
|
903
883
|
.spartan-navigation-menu-popup {
|
|
@@ -1035,10 +1015,6 @@
|
|
|
1035
1015
|
@apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-end-2 data-[side=right]:slide-in-from-start-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/5 dark:ring-foreground/10 flex flex-col gap-4 rounded-3xl p-4 text-sm shadow-lg ring-1 duration-100;
|
|
1036
1016
|
}
|
|
1037
1017
|
|
|
1038
|
-
.spartan-popover-content-logical {
|
|
1039
|
-
@apply data-[side=inline-start]:slide-in-from-end-2 data-[side=inline-end]:slide-in-from-start-2;
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
1018
|
.spartan-popover-header {
|
|
1043
1019
|
@apply flex flex-col gap-1 text-sm;
|
|
1044
1020
|
}
|
|
@@ -1210,18 +1186,6 @@
|
|
|
1210
1186
|
@apply data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-end-2 data-[side=right]:slide-in-from-start-2 data-[side=top]:slide-in-from-bottom-2 inline-flex items-center gap-1.5 rounded-xl px-3 py-1.5 text-xs has-data-[slot=kbd]:pe-1.5 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-lg;
|
|
1211
1187
|
}
|
|
1212
1188
|
|
|
1213
|
-
.spartan-tooltip-content-logical {
|
|
1214
|
-
@apply data-[side=inline-start]:slide-in-from-end-2 data-[side=inline-end]:slide-in-from-start-2;
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
.spartan-tooltip-arrow {
|
|
1218
|
-
@apply size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] data-[side=left]:translate-x-[-1.5px] data-[side=right]:translate-x-[1.5px];
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
|
-
.spartan-tooltip-arrow-logical {
|
|
1222
|
-
@apply data-[side=inline-end]:-start-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:translate-x-[1.5px] data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:-end-1 data-[side=inline-start]:top-1/2! data-[side=inline-start]:translate-x-[-1.5px] data-[side=inline-start]:-translate-y-1/2;
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
1189
|
/* MARK: Empty */
|
|
1226
1190
|
.spartan-empty {
|
|
1227
1191
|
@apply gap-4 rounded-2xl border-dashed p-12;
|
|
@@ -1260,10 +1224,6 @@
|
|
|
1260
1224
|
@apply p-3 [--cell-radius:var(--radius-4xl)] [--cell-size:--spacing(8)];
|
|
1261
1225
|
}
|
|
1262
1226
|
|
|
1263
|
-
.spartan-calendar-dropdown-root {
|
|
1264
|
-
@apply has-focus:border-ring border-input has-focus:ring-ring/30 border has-focus:ring-3;
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
1227
|
.spartan-calendar-caption-label {
|
|
1268
1228
|
@apply h-8 ps-3 pe-2;
|
|
1269
1229
|
}
|
|
@@ -1287,10 +1247,6 @@
|
|
|
1287
1247
|
@apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-end-2 data-[side=right]:slide-in-from-start-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/5 dark:ring-foreground/10 bg-popover text-popover-foreground w-72 rounded-3xl p-4 text-sm shadow-lg ring-1 duration-100;
|
|
1288
1248
|
}
|
|
1289
1249
|
|
|
1290
|
-
.spartan-hover-card-content-logical {
|
|
1291
|
-
@apply data-[side=inline-start]:slide-in-from-end-2 data-[side=inline-end]:slide-in-from-start-2;
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
1250
|
/* MARK: Menu Translucent */
|
|
1295
1251
|
.spartan-menu-translucent {
|
|
1296
1252
|
@apply bg-popover/70 **:data-[slot$=-item]:focus:bg-foreground/10 **:data-[slot$=-item]:data-highlighted:bg-foreground/10 **:data-[slot$=-separator]:bg-foreground/5 **:data-[slot$=-trigger]:focus:bg-foreground/10 **:data-[slot$=-trigger]:aria-expanded:bg-foreground/10! **:data-[variant=destructive]:focus:bg-foreground/10! **:data-[variant=destructive]:text-accent-foreground! **:data-[variant=destructive]:**:text-accent-foreground! relative animate-none! before:pointer-events-none before:absolute before:inset-0 before:-z-1 before:rounded-[inherit] before:backdrop-blur-2xl before:backdrop-saturate-150;
|
|
@@ -260,10 +260,6 @@
|
|
|
260
260
|
@apply p-2 [--cell-size:--spacing(7)];
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
.spartan-calendar-dropdown-root {
|
|
264
|
-
@apply has-focus:border-ring border-input has-focus:ring-ring/50 rounded-none border has-focus:ring-1;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
263
|
.spartan-calendar-caption-label {
|
|
268
264
|
@apply h-6 rounded-none ps-1.5 pe-1;
|
|
269
265
|
}
|
|
@@ -596,10 +592,6 @@
|
|
|
596
592
|
@apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground w-64 rounded-none p-2.5 text-xs/relaxed shadow-md ring-1 duration-100;
|
|
597
593
|
}
|
|
598
594
|
|
|
599
|
-
.spartan-hover-card-content-logical {
|
|
600
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
595
|
/* MARK: Input */
|
|
604
596
|
.spartan-input {
|
|
605
597
|
@apply dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 data-[matches-spartan-invalid=true]:ring-destructive/20 dark:data-[matches-spartan-invalid=true]:ring-destructive/40 data-[matches-spartan-invalid=true]:border-destructive dark:data-[matches-spartan-invalid=true]:border-destructive/50 disabled:bg-input/50 dark:disabled:bg-input/80 h-8 rounded-none border bg-transparent px-2.5 py-1 text-xs transition-colors file:h-6 file:text-xs file:font-medium focus-visible:ring-1 data-[matches-spartan-invalid=true]:ring-1 md:text-xs;
|
|
@@ -736,7 +728,7 @@
|
|
|
736
728
|
}
|
|
737
729
|
|
|
738
730
|
.spartan-navigation-menu-trigger {
|
|
739
|
-
@apply bg-background hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring/50
|
|
731
|
+
@apply bg-background hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring/50 rounded-none px-2.5 py-1.5 text-xs font-medium transition-all focus-visible:ring-1 focus-visible:outline-1 disabled:opacity-50;
|
|
740
732
|
}
|
|
741
733
|
|
|
742
734
|
.spartan-navigation-menu-link {
|
|
@@ -744,27 +736,7 @@
|
|
|
744
736
|
}
|
|
745
737
|
|
|
746
738
|
.spartan-navigation-menu-trigger-icon {
|
|
747
|
-
@apply relative top-px ml-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
.spartan-navigation-menu-content {
|
|
751
|
-
@apply data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:ring-foreground/10 p-1 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-none group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
.spartan-navigation-menu-viewport {
|
|
755
|
-
@apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:zoom-out-95 data-open:zoom-in-90 ring-foreground/10 rounded-none shadow ring-1 duration-100;
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
.spartan-navigation-menu-indicator {
|
|
759
|
-
@apply data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
.spartan-navigation-menu-indicator-arrow {
|
|
763
|
-
@apply bg-border rounded-none shadow-md;
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
.spartan-navigation-menu-positioner {
|
|
767
|
-
@apply transition-[top,left,right,bottom] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0;
|
|
739
|
+
@apply relative top-px ml-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180;
|
|
768
740
|
}
|
|
769
741
|
|
|
770
742
|
.spartan-navigation-menu-popup {
|
|
@@ -802,10 +774,6 @@
|
|
|
802
774
|
@apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 flex flex-col gap-2.5 rounded-none p-2.5 text-xs shadow-md ring-1 duration-100;
|
|
803
775
|
}
|
|
804
776
|
|
|
805
|
-
.spartan-popover-content-logical {
|
|
806
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
807
|
-
}
|
|
808
|
-
|
|
809
777
|
.spartan-popover-header {
|
|
810
778
|
@apply flex flex-col gap-1 text-xs;
|
|
811
779
|
}
|
|
@@ -1204,18 +1172,6 @@
|
|
|
1204
1172
|
@apply data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 rounded-none px-3 py-1.5 text-xs;
|
|
1205
1173
|
}
|
|
1206
1174
|
|
|
1207
|
-
.spartan-tooltip-content-logical {
|
|
1208
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
.spartan-tooltip-arrow {
|
|
1212
|
-
@apply size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-none;
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1215
|
-
.spartan-tooltip-arrow-logical {
|
|
1216
|
-
@apply data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2;
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
1175
|
/* MARK: Input Group */
|
|
1220
1176
|
.spartan-input-group {
|
|
1221
1177
|
@apply border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/20 has-[[data-slot][data-matches-spartan-invalid=true]]:border-destructive dark:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/40 has-disabled:bg-input/50 dark:has-disabled:bg-input/80 h-8 rounded-none border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-1 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-1 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5;
|
|
@@ -269,10 +269,6 @@
|
|
|
269
269
|
@apply p-3 [--cell-radius:var(--radius-4xl)] [--cell-size:--spacing(8)];
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
.spartan-calendar-dropdown-root {
|
|
273
|
-
@apply has-focus:border-ring border-input has-focus:ring-ring/50 border has-focus:ring-[3px];
|
|
274
|
-
}
|
|
275
|
-
|
|
276
272
|
.spartan-calendar-caption-label {
|
|
277
273
|
@apply h-8 ps-3 pe-2;
|
|
278
274
|
}
|
|
@@ -618,10 +614,6 @@
|
|
|
618
614
|
@apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/5 bg-popover text-popover-foreground w-72 rounded-2xl p-4 text-sm shadow-2xl ring-1 duration-100;
|
|
619
615
|
}
|
|
620
616
|
|
|
621
|
-
.spartan-hover-card-content-logical {
|
|
622
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
617
|
/* MARK: Input */
|
|
626
618
|
.spartan-input {
|
|
627
619
|
@apply bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 data-[matches-spartan-invalid=true]:ring-destructive/20 dark:data-[matches-spartan-invalid=true]:ring-destructive/40 data-[matches-spartan-invalid=true]:border-destructive dark:data-[matches-spartan-invalid=true]:border-destructive/50 h-9 rounded-4xl border px-3 py-1 text-base transition-colors file:h-7 file:text-sm file:font-medium focus-visible:ring-3 data-[matches-spartan-invalid=true]:ring-3 md:text-sm;
|
|
@@ -758,37 +750,17 @@
|
|
|
758
750
|
}
|
|
759
751
|
|
|
760
752
|
.spartan-navigation-menu-trigger {
|
|
761
|
-
@apply bg-background hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring/50
|
|
753
|
+
@apply bg-background hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring/50 rounded-2xl px-4.5 py-2.5 text-sm font-medium transition-all focus-visible:ring-[3px] focus-visible:outline-1 disabled:opacity-50;
|
|
762
754
|
}
|
|
763
755
|
|
|
764
756
|
.spartan-navigation-menu-trigger-icon {
|
|
765
|
-
@apply relative top-px ml-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
.spartan-navigation-menu-content {
|
|
769
|
-
@apply data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:ring-foreground/5 p-2.5 pe-3 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-2xl group-data-[viewport=false]/navigation-menu:shadow-2xl group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300;
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
.spartan-navigation-menu-viewport {
|
|
773
|
-
@apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:zoom-out-95 data-open:zoom-in-90 ring-foreground/5 rounded-2xl shadow-2xl ring-1 duration-100;
|
|
757
|
+
@apply relative top-px ml-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180;
|
|
774
758
|
}
|
|
775
759
|
|
|
776
760
|
.spartan-navigation-menu-link {
|
|
777
761
|
@apply data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 focus-visible:ring-ring/50 hover:bg-muted focus:bg-muted flex items-center gap-1.5 rounded-xl p-3 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
778
762
|
}
|
|
779
763
|
|
|
780
|
-
.spartan-navigation-menu-indicator {
|
|
781
|
-
@apply data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in;
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
.spartan-navigation-menu-indicator-arrow {
|
|
785
|
-
@apply bg-border rounded-tl-sm shadow-md;
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
.spartan-navigation-menu-positioner {
|
|
789
|
-
@apply transition-[top,left,right,bottom] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
764
|
.spartan-navigation-menu-popup {
|
|
793
765
|
@apply bg-popover text-popover-foreground ring-foreground/5 rounded-2xl shadow ring-1 transition-all ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:scale-90 data-starting-style:opacity-0;
|
|
794
766
|
}
|
|
@@ -824,10 +796,6 @@
|
|
|
824
796
|
@apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/5 flex flex-col gap-4 rounded-2xl p-4 text-sm shadow-2xl ring-1 duration-100;
|
|
825
797
|
}
|
|
826
798
|
|
|
827
|
-
.spartan-popover-content-logical {
|
|
828
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
799
|
.spartan-popover-header {
|
|
832
800
|
@apply flex flex-col gap-1 text-sm;
|
|
833
801
|
}
|
|
@@ -1226,18 +1194,6 @@
|
|
|
1226
1194
|
@apply data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 rounded-2xl px-3 py-1.5 text-xs **:data-[slot=kbd]:rounded-4xl;
|
|
1227
1195
|
}
|
|
1228
1196
|
|
|
1229
|
-
.spartan-tooltip-content-logical {
|
|
1230
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
.spartan-tooltip-arrow {
|
|
1234
|
-
@apply size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] data-[side=left]:translate-x-[-1.5px] data-[side=right]:translate-x-[1.5px];
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
|
-
.spartan-tooltip-arrow-logical {
|
|
1238
|
-
@apply data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:translate-x-[1.5px] data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:translate-x-[-1.5px] data-[side=inline-start]:-translate-y-1/2;
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
1197
|
/* MARK: Input Group */
|
|
1242
1198
|
.spartan-input-group {
|
|
1243
1199
|
@apply border-input bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/20 has-[[data-slot][data-matches-spartan-invalid=true]]:border-destructive dark:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/40 h-9 rounded-4xl border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-data-[align=block-end]:rounded-2xl has-data-[align=block-start]:rounded-2xl has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-3 has-[textarea]:rounded-xl has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5;
|