frontile 0.18.7 → 0.18.8
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/declarations/components/buttons/chip.d.ts +2 -3
- package/declarations/components/buttons/chip.d.ts.map +1 -1
- package/declarations/components/forms/form.d.ts +3 -2
- package/declarations/components/forms/form.d.ts.map +1 -1
- package/declarations/components/forms/native-select.d.ts.map +1 -1
- package/declarations/components/forms/select/select.d.ts.map +1 -1
- package/declarations/components/forms/select/trigger.d.ts +8 -0
- package/declarations/components/forms/select/trigger.d.ts.map +1 -1
- package/declarations/components/forms/select/types.d.ts +8 -4
- package/declarations/components/forms/select/types.d.ts.map +1 -1
- package/declarations/components/layout/app-layout.d.ts +345 -1
- package/declarations/components/layout/app-layout.d.ts.map +1 -1
- package/declarations/components/layout/aside.d.ts +295 -1
- package/declarations/components/layout/aside.d.ts.map +1 -1
- package/declarations/components/layout/context.d.ts +10 -1
- package/declarations/components/layout/context.d.ts.map +1 -1
- package/declarations/components/layout/navbar.d.ts +1001 -0
- package/declarations/components/layout/navbar.d.ts.map +1 -1
- package/declarations/components/layout/sidebar.d.ts +312 -1
- package/declarations/components/layout/sidebar.d.ts.map +1 -1
- package/declarations/components/status/badge.d.ts +83 -0
- package/declarations/components/status/badge.d.ts.map +1 -0
- package/declarations/components/status/index.d.ts +1 -0
- package/declarations/components/status/index.d.ts.map +1 -1
- package/dist/components/buttons/chip.js +12 -1
- package/dist/components/buttons/chip.js.map +1 -1
- package/dist/components/forms/form.js.map +1 -1
- package/dist/components/forms/native-select.js +1 -1
- package/dist/components/forms/native-select.js.map +1 -1
- package/dist/components/forms/select/select.js +1 -1
- package/dist/components/forms/select/select.js.map +1 -1
- package/dist/components/forms/select/trigger.js +1 -1
- package/dist/components/forms/select/trigger.js.map +1 -1
- package/dist/components/layout/app-layout.js +39 -14
- package/dist/components/layout/app-layout.js.map +1 -1
- package/dist/components/layout/aside.js +2 -4
- package/dist/components/layout/aside.js.map +1 -1
- package/dist/components/layout/context.js +15 -1
- package/dist/components/layout/context.js.map +1 -1
- package/dist/components/layout/navbar.js +24 -3
- package/dist/components/layout/navbar.js.map +1 -1
- package/dist/components/layout/sidebar.js +7 -4
- package/dist/components/layout/sidebar.js.map +1 -1
- package/dist/components/status/badge.js +52 -0
- package/dist/components/status/badge.js.map +1 -0
- package/dist/components/status/index.js +1 -0
- package/dist/components/status/index.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/status.js +1 -0
- package/dist/status.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aside.d.ts","sourceRoot":"","sources":["../../../src/components/layout/aside.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aside.d.ts","sourceRoot":"","sources":["../../../src/components/layout/aside.gts"],"names":[],"mappings":"AAkKA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAkB,KAAK,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAClE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,UAAU,SAAS;IACjB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;IAEvC;;;OAGG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;IAEvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B;AAED,UAAU,cAAc;IACtB,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC;IACxB,OAAO,EAAE,WAAW,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,cAAM,KAAM,SAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOT;IAED,IACI,UAAU,IAAI,MAAM,CAEvB;IAED,IACI,gBAAgB,IAAI,MAAM,CAI7B;CAiEF;AAED,OAAO,EAAE,KAAK,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,CAAC;AACtD,eAAe,KAAK,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useStyles, type SlotsToClasses } from '@frontile/theme';
|
|
2
|
-
import type { AppLayoutSlots } from '@frontile/theme';
|
|
2
|
+
import type { AppLayoutSlots, AppLayoutVariants } from '@frontile/theme';
|
|
3
3
|
import type { AppLayoutState } from './app-layout-state';
|
|
4
4
|
export type AppLayoutStyles = ReturnType<ReturnType<typeof useStyles>['appLayout']>;
|
|
5
5
|
/**
|
|
@@ -94,7 +94,16 @@ export interface AppLayoutConfig {
|
|
|
94
94
|
breakpoint: 'sm' | 'md' | 'lg';
|
|
95
95
|
scrollMode: 'content' | 'page';
|
|
96
96
|
sidebarSide: 'start' | 'end';
|
|
97
|
+
color: NonNullable<AppLayoutVariants['color']>;
|
|
98
|
+
sidebarSurface: NonNullable<AppLayoutVariants['sidebarSurface']>;
|
|
99
|
+
navbarSurface: NonNullable<AppLayoutVariants['navbarSurface']>;
|
|
97
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* The layout-wide variants a part passes when it builds its own styles from
|
|
103
|
+
* the layout's config. `variant` is left to the part: a standalone part
|
|
104
|
+
* picks its own default.
|
|
105
|
+
*/
|
|
106
|
+
export declare function layoutVariants(config: AppLayoutConfig | undefined): Partial<Pick<AppLayoutConfig, 'navbarPlacement' | 'breakpoint' | 'scrollMode' | 'sidebarSide'>>;
|
|
98
107
|
/** Styles for a part rendered outside an `AppLayout`: no card chrome. */
|
|
99
108
|
export declare function standaloneStyles(): AppLayoutStyles;
|
|
100
109
|
export interface ControlledStateArgs {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/layout/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/layout/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG,UAAU,CACtC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,WAAW,CAAC,CAC1C,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,cAAc,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,mEAAmE;IACnE,YAAY,EAAE,MAAM,CAAC;IACrB,8BAA8B;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,eAAe,CAAC;IACxB,+DAA+D;IAC/D,MAAM,EAAE,eAAe,CAAC;IACxB,OAAO,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IACzC,mEAAmE;IACnE,QAAQ,CAAC,eAAe,EAAE,OA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