@phila/phila-ui-core 3.0.0-beta.3 → 3.0.0-beta.5
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/dist/index.d.ts +22 -0
- package/dist/styles/elevation.css +10 -0
- package/dist/styles/tokens.css +3 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -253,6 +253,28 @@ declare type DecorativeIconProps = {
|
|
|
253
253
|
|
|
254
254
|
export declare const ErrorList: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ValidationProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ValidationProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
255
255
|
|
|
256
|
+
/** value is string to satisfy RadioGroup (string-only) and CheckboxGroup. */
|
|
257
|
+
export declare interface FilterChoice {
|
|
258
|
+
text: string;
|
|
259
|
+
value: string;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export declare interface FilterDefinition {
|
|
263
|
+
key: string;
|
|
264
|
+
label: string;
|
|
265
|
+
/** Present → dropdown/section chip; absent → toggle-only chip. */
|
|
266
|
+
choices?: FilterChoice[];
|
|
267
|
+
/** Dropdown/section only: checkbox group (true) vs radio group (false). Default false. */
|
|
268
|
+
multiple?: boolean;
|
|
269
|
+
iconDefinition?: IconDefinition;
|
|
270
|
+
/** Optional CSS color for this chip's leading icon (independent of text color). */
|
|
271
|
+
iconColor?: string;
|
|
272
|
+
/** Leave this filter's selections out of the active-selection count (e.g. Sort). */
|
|
273
|
+
excludeFromCount?: boolean;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export declare type FilterValues = Record<string, string | string[] | boolean>;
|
|
277
|
+
|
|
256
278
|
export declare const FocusTrap: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, ReturnType<typeof __VLS_template_5>>;
|
|
257
279
|
|
|
258
280
|
export declare interface FocusTrapEmits {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Elevation tokens — transcribed from the Figma "Elevation Light/1" and "Elevation
|
|
3
|
+
* Light/2" effect styles. The Figma token sync pipeline does not export effects, so
|
|
4
|
+
* these are hand-maintained here; migrate into the generated pipeline if it ever
|
|
5
|
+
* learns to export effects.
|
|
6
|
+
*/
|
|
7
|
+
:root {
|
|
8
|
+
--elevation-light-1: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
|
|
9
|
+
--elevation-light-2: 0 2px 6px 2px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
|
|
10
|
+
}
|
package/dist/styles/tokens.css
CHANGED
|
@@ -39,5 +39,8 @@
|
|
|
39
39
|
/* Layer 8: Other - Borders, breakpoints, component tokens */
|
|
40
40
|
@import "./generated/other.css";
|
|
41
41
|
|
|
42
|
+
/* Elevation - hand-maintained (Figma sync does not export effects) */
|
|
43
|
+
@import "./elevation.css";
|
|
44
|
+
|
|
42
45
|
/* Backwards Compatibility - Aliases for old variable names */
|
|
43
46
|
@import "./legacy.css";
|