@cjlapao/ui-kit 0.2.4 → 0.2.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/{CapsuleBlueprint-DwDZ7nii.d.cts → CapsuleBlueprint-BI0jdbTt.d.cts} +16 -1
- package/dist/{CapsuleBlueprint-DwDZ7nii.d.ts → CapsuleBlueprint-BI0jdbTt.d.ts} +16 -1
- package/dist/index.cjs +709 -640
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +36 -0
- package/dist/index.d.cts +70 -12
- package/dist/index.d.ts +70 -12
- package/dist/index.js +643 -578
- package/dist/index.js.map +1 -1
- package/dist/markdown.cjs.map +1 -1
- package/dist/markdown.d.cts +2 -2
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.js.map +1 -1
- package/package.json +3 -3
|
@@ -427,6 +427,21 @@ declare const DEFAULT_SURFACE_PADDING: SurfacePadding;
|
|
|
427
427
|
declare const getSurfacePaddingClass: (padding: SurfacePadding) => string;
|
|
428
428
|
/** Every padding token but `none`, for the callers that require a real inset. */
|
|
429
429
|
declare const getSurfacePaddingClasses: () => Record<SurfacePadding, string>;
|
|
430
|
+
/**
|
|
431
|
+
* The gutter a detached card leaves OUTSIDE itself — the margin between the
|
|
432
|
+
* card and the edges of its container, controllable on every axis on its
|
|
433
|
+
* own. Spelled once here, in the same language as {@link surfacePaddingClasses}
|
|
434
|
+
* but one step smaller per token (`xs` is the `m-2` the floating `SideMenu`
|
|
435
|
+
* carries, and what a paired `PageHeader` leaves above and to its right),
|
|
436
|
+
* and deliberately without the `sm:` steps of the padding scale: a gutter
|
|
437
|
+
* must be one predictable number all the way down, or the menu and header
|
|
438
|
+
* cards stop aligning on the breakpoint.
|
|
439
|
+
*/
|
|
440
|
+
declare const SURFACE_GUTTER_AXES: readonly ["top", "right", "bottom", "left"];
|
|
441
|
+
type SurfaceGutterAxis = (typeof SURFACE_GUTTER_AXES)[number];
|
|
442
|
+
/** The gutter a detached card leaves when the caller does not pick one. */
|
|
443
|
+
declare const DEFAULT_SURFACE_GUTTER: SurfacePadding;
|
|
444
|
+
declare const getSurfaceGutterClass: (axis: SurfaceGutterAxis, gutter: SurfacePadding) => string;
|
|
430
445
|
/**
|
|
431
446
|
* The tones that read as "no tint". Consumers that tint chrome per tone
|
|
432
447
|
* (Table's header band, for instance) route these through the neutral
|
|
@@ -1208,4 +1223,4 @@ interface CapsuleBlueprintParameter {
|
|
|
1208
1223
|
[key: string]: any;
|
|
1209
1224
|
}
|
|
1210
1225
|
|
|
1211
|
-
export { DEFAULT_GLOW_INTENSITY as $, type AlertIntent as A, type ButtonVariant as B, type ControlSize as C, API_ERROR_KIND_CONFIG as D, type AlertIntentConfig as E, type AlertVariantTokens as F, type GlassOpacity as G, type HelpButtonProps as H, type IconName as I, type ApiErrorKindConfig as J, BUTTON_VARIANTS as K, BUTTON_WEIGHTS as L, type BreadcrumbSizeTokens as M, type BreadcrumbToneTokens as N, type Orientation as O, type PlainSurfaceVariant as P, CASCADE_EXPAND as Q, CONTROL_SIZES as R, type SurfaceCorner as S, type TrueColor as T, CapsuleBlueprintValueType as U, type ValidationStatus as V, type CheckboxControlTokens as W, type CheckboxVariantTokens as X, type CollapsibleHelpToneTokens as Y, type ControlSizeTokens as Z, DEFAULT_CONTROL_CORNER as _, type AlertVariant as a,
|
|
1226
|
+
export { DEFAULT_GLOW_INTENSITY as $, type AlertIntent as A, type ButtonVariant as B, type ControlSize as C, API_ERROR_KIND_CONFIG as D, type AlertIntentConfig as E, type AlertVariantTokens as F, type GlassOpacity as G, type HelpButtonProps as H, type IconName as I, type ApiErrorKindConfig as J, BUTTON_VARIANTS as K, BUTTON_WEIGHTS as L, type BreadcrumbSizeTokens as M, type BreadcrumbToneTokens as N, type Orientation as O, type PlainSurfaceVariant as P, CASCADE_EXPAND as Q, CONTROL_SIZES as R, type SurfaceCorner as S, type TrueColor as T, CapsuleBlueprintValueType as U, type ValidationStatus as V, type CheckboxControlTokens as W, type CheckboxVariantTokens as X, type CollapsibleHelpToneTokens as Y, type ControlSizeTokens as Z, DEFAULT_CONTROL_CORNER as _, type AlertVariant as a, TRUE_COLOR_DOT_CLASSES as a$, DEFAULT_SURFACE_CORNER as a0, DEFAULT_SURFACE_GUTTER as a1, DEFAULT_SURFACE_PADDING as a2, DEFAULT_SURFACE_TONE as a3, DEFAULT_TOAST_GAP_PX as a4, DEFAULT_TOAST_LIFE_MS as a5, DEFAULT_TOAST_LIMIT as a6, DEFAULT_TOAST_MODE as a7, DEFAULT_TOAST_POSITION as a8, DEFAULT_TOAST_Z_INDEX as a9, SLIDER_VARIANTS as aA, SURFACE_VARIANTS as aB, SURFACE_CORNERS as aC, SURFACE_GLASS_RIM as aD, SURFACE_GUTTER_AXES as aE, SURFACE_PADDINGS as aF, SURFACE_TO_BUTTON_VARIANT as aG, SURFACE_VARIANT_BASE as aH, SURFACE_VARIANT_FOR_FIELD as aI, type SideMenuItemTokens as aJ, type SidebarIdleCopyKind as aK, type SidebarSurfaceTokens as aL, type SliderVariantTokens as aM, type StatusSpinnerSizeTokens as aN, type StatusSpinnerToneTokens as aO, type SurfaceGutterAxis as aP, type SurfaceTriggerTokens as aQ, type SurfaceVariantOverrides as aR, TABLE_DENSITIES as aS, THIN_SCROLLBAR as aT, THIN_SCROLLBAR_FIELD as aU, TOAST_DEFAULT_WIDTH as aV, TOAST_MODES as aW, TOAST_POSITIONS as aX, TOGGLE_VARIANTS as aY, TRANSLUCENT_SURFACE_VARIANTS as aZ, TRUE_COLORS as a_, DEFAULT_TRIGGER_CORNER as aa, FIELD_SIZE_STYLES as ab, FIELD_STATUS_CLASSES as ac, type FieldSizeTokens as ad, type FieldToneTokens as ae, GLOW_INTENSITIES as af, type GlowTokens as ag, HelpButton as ah, type HelpButtonPlacement as ai, INPUT_VARIANTS as aj, INPUT_VARIANT_FOR_SURFACE as ak, type InputVariantTokens as al, NEUTRAL_TONES as am, ORIENTATIONS as an, PANEL_TONE_FOR_FIELD as ao, PANE_EMPTY_STATE_SIZE as ap, PLAIN_SURFACE_VARIANTS as aq, type ProgressSpinnerToneTokens as ar, SIDEBAR_COLLAPSIBLE_MODES as as, SIDEBAR_IDLE_COPY as at, SIDEBAR_MOBILE_QUERY as au, SIDEBAR_SIDES as av, SIDEBAR_VARIANTS as aw, SIDE_MENU_HEADER_FILL as ax, SIDE_MENU_HEADER_HEIGHT as ay, SIDE_MENU_HEADER_SEAM as az, type AlertIconAlign as b, TRUE_COLOR_TEXT_CLASSES as b0, type TableDensityTokens as b1, type ToastSizeTokens as b2, type ToggleVariantTokens as b3, VALIDATION_STATUSES as b4, configureTheme as b5, getAlertColorClasses as b6, getAlertVariantTokens as b7, getAppDividerToneTokens as b8, getBadgeColorClasses as b9, getSpinnerColorTokens as bA, getStatTileColorClasses as bB, getStatusSpinnerSizeTokens as bC, getStatusSpinnerToneTokens as bD, getStepperTonePalette as bE, getSurfaceCornerClass as bF, getSurfaceCornerRem as bG, getSurfaceGutterClass as bH, getSurfacePaddingClass as bI, getSurfacePaddingClasses as bJ, getSurfaceTextTokens as bK, getSurfaceTriggerTokens as bL, getSurfaceVariantClasses as bM, getTableDensityTokens as bN, getTabsColorTokens as bO, getToastSizeTokens as bP, getToggleColorClasses as bQ, getToggleVariantTokens as bR, getTrueColorDotClass as bS, getTrueColorTextClass as bT, hasTextColor as bU, iconRegistry as bV, isGlassSurface as bW, resetTheme as bX, resolveGlowGradient as bY, stripBorderColor as bZ, stripTextColor as b_, getBreadcrumbSizeTokens as ba, getBreadcrumbToneTokens as bb, getButtonActiveClasses as bc, getButtonActiveHoverClasses as bd, getButtonBaseClasses as be, getButtonColorClasses as bf, getButtonHoverClasses as bg, getCheckboxColorClasses as bh, getCheckboxControlTokens as bi, getCheckboxGlassCheckedTokens as bj, getCheckboxVariantTokens as bk, getCollapsibleHelpToneTokens as bl, getControlSizeTokens as bm, getFieldSizeTokens as bn, getFieldToneTokens as bo, getGlowTokens as bp, getInputVariantTokens as bq, getLoaderProgressColors as br, getMultiToggleColorTokens as bs, getMultiToggleVariantTokens as bt, getPanelToneStyles as bu, getPillColorClasses as bv, getProgressSpinnerToneTokens as bw, getSideMenuItemTokens as bx, getSidebarSurfaceTokens as by, getSliderVariantTokens as bz, type GlassVibrancy as c, type SpecularMode as d, type ButtonWeight as e, type SurfacePadding as f, type SurfaceVariant as g, type GlowIntensity as h, type InputVariant as i, type SliderVariant as j, type ToggleVariant as k, type ToastPosition as l, type ToastMode as m, type Size as n, type SidebarVariant as o, type SidebarSide as p, type SidebarCollapsible as q, type SurfaceTextTokens as r, type TableDensity as s, type ApiErrorKind as t, type CapsuleBlueprintParameter as u, ALERT_ICON_ALIGNMENTS as v, ALERT_INTENTS as w, ALERT_INTENT_CONFIG as x, ALERT_VARIANTS as y, API_ERROR_KINDS as z };
|
|
@@ -427,6 +427,21 @@ declare const DEFAULT_SURFACE_PADDING: SurfacePadding;
|
|
|
427
427
|
declare const getSurfacePaddingClass: (padding: SurfacePadding) => string;
|
|
428
428
|
/** Every padding token but `none`, for the callers that require a real inset. */
|
|
429
429
|
declare const getSurfacePaddingClasses: () => Record<SurfacePadding, string>;
|
|
430
|
+
/**
|
|
431
|
+
* The gutter a detached card leaves OUTSIDE itself — the margin between the
|
|
432
|
+
* card and the edges of its container, controllable on every axis on its
|
|
433
|
+
* own. Spelled once here, in the same language as {@link surfacePaddingClasses}
|
|
434
|
+
* but one step smaller per token (`xs` is the `m-2` the floating `SideMenu`
|
|
435
|
+
* carries, and what a paired `PageHeader` leaves above and to its right),
|
|
436
|
+
* and deliberately without the `sm:` steps of the padding scale: a gutter
|
|
437
|
+
* must be one predictable number all the way down, or the menu and header
|
|
438
|
+
* cards stop aligning on the breakpoint.
|
|
439
|
+
*/
|
|
440
|
+
declare const SURFACE_GUTTER_AXES: readonly ["top", "right", "bottom", "left"];
|
|
441
|
+
type SurfaceGutterAxis = (typeof SURFACE_GUTTER_AXES)[number];
|
|
442
|
+
/** The gutter a detached card leaves when the caller does not pick one. */
|
|
443
|
+
declare const DEFAULT_SURFACE_GUTTER: SurfacePadding;
|
|
444
|
+
declare const getSurfaceGutterClass: (axis: SurfaceGutterAxis, gutter: SurfacePadding) => string;
|
|
430
445
|
/**
|
|
431
446
|
* The tones that read as "no tint". Consumers that tint chrome per tone
|
|
432
447
|
* (Table's header band, for instance) route these through the neutral
|
|
@@ -1208,4 +1223,4 @@ interface CapsuleBlueprintParameter {
|
|
|
1208
1223
|
[key: string]: any;
|
|
1209
1224
|
}
|
|
1210
1225
|
|
|
1211
|
-
export { DEFAULT_GLOW_INTENSITY as $, type AlertIntent as A, type ButtonVariant as B, type ControlSize as C, API_ERROR_KIND_CONFIG as D, type AlertIntentConfig as E, type AlertVariantTokens as F, type GlassOpacity as G, type HelpButtonProps as H, type IconName as I, type ApiErrorKindConfig as J, BUTTON_VARIANTS as K, BUTTON_WEIGHTS as L, type BreadcrumbSizeTokens as M, type BreadcrumbToneTokens as N, type Orientation as O, type PlainSurfaceVariant as P, CASCADE_EXPAND as Q, CONTROL_SIZES as R, type SurfaceCorner as S, type TrueColor as T, CapsuleBlueprintValueType as U, type ValidationStatus as V, type CheckboxControlTokens as W, type CheckboxVariantTokens as X, type CollapsibleHelpToneTokens as Y, type ControlSizeTokens as Z, DEFAULT_CONTROL_CORNER as _, type AlertVariant as a,
|
|
1226
|
+
export { DEFAULT_GLOW_INTENSITY as $, type AlertIntent as A, type ButtonVariant as B, type ControlSize as C, API_ERROR_KIND_CONFIG as D, type AlertIntentConfig as E, type AlertVariantTokens as F, type GlassOpacity as G, type HelpButtonProps as H, type IconName as I, type ApiErrorKindConfig as J, BUTTON_VARIANTS as K, BUTTON_WEIGHTS as L, type BreadcrumbSizeTokens as M, type BreadcrumbToneTokens as N, type Orientation as O, type PlainSurfaceVariant as P, CASCADE_EXPAND as Q, CONTROL_SIZES as R, type SurfaceCorner as S, type TrueColor as T, CapsuleBlueprintValueType as U, type ValidationStatus as V, type CheckboxControlTokens as W, type CheckboxVariantTokens as X, type CollapsibleHelpToneTokens as Y, type ControlSizeTokens as Z, DEFAULT_CONTROL_CORNER as _, type AlertVariant as a, TRUE_COLOR_DOT_CLASSES as a$, DEFAULT_SURFACE_CORNER as a0, DEFAULT_SURFACE_GUTTER as a1, DEFAULT_SURFACE_PADDING as a2, DEFAULT_SURFACE_TONE as a3, DEFAULT_TOAST_GAP_PX as a4, DEFAULT_TOAST_LIFE_MS as a5, DEFAULT_TOAST_LIMIT as a6, DEFAULT_TOAST_MODE as a7, DEFAULT_TOAST_POSITION as a8, DEFAULT_TOAST_Z_INDEX as a9, SLIDER_VARIANTS as aA, SURFACE_VARIANTS as aB, SURFACE_CORNERS as aC, SURFACE_GLASS_RIM as aD, SURFACE_GUTTER_AXES as aE, SURFACE_PADDINGS as aF, SURFACE_TO_BUTTON_VARIANT as aG, SURFACE_VARIANT_BASE as aH, SURFACE_VARIANT_FOR_FIELD as aI, type SideMenuItemTokens as aJ, type SidebarIdleCopyKind as aK, type SidebarSurfaceTokens as aL, type SliderVariantTokens as aM, type StatusSpinnerSizeTokens as aN, type StatusSpinnerToneTokens as aO, type SurfaceGutterAxis as aP, type SurfaceTriggerTokens as aQ, type SurfaceVariantOverrides as aR, TABLE_DENSITIES as aS, THIN_SCROLLBAR as aT, THIN_SCROLLBAR_FIELD as aU, TOAST_DEFAULT_WIDTH as aV, TOAST_MODES as aW, TOAST_POSITIONS as aX, TOGGLE_VARIANTS as aY, TRANSLUCENT_SURFACE_VARIANTS as aZ, TRUE_COLORS as a_, DEFAULT_TRIGGER_CORNER as aa, FIELD_SIZE_STYLES as ab, FIELD_STATUS_CLASSES as ac, type FieldSizeTokens as ad, type FieldToneTokens as ae, GLOW_INTENSITIES as af, type GlowTokens as ag, HelpButton as ah, type HelpButtonPlacement as ai, INPUT_VARIANTS as aj, INPUT_VARIANT_FOR_SURFACE as ak, type InputVariantTokens as al, NEUTRAL_TONES as am, ORIENTATIONS as an, PANEL_TONE_FOR_FIELD as ao, PANE_EMPTY_STATE_SIZE as ap, PLAIN_SURFACE_VARIANTS as aq, type ProgressSpinnerToneTokens as ar, SIDEBAR_COLLAPSIBLE_MODES as as, SIDEBAR_IDLE_COPY as at, SIDEBAR_MOBILE_QUERY as au, SIDEBAR_SIDES as av, SIDEBAR_VARIANTS as aw, SIDE_MENU_HEADER_FILL as ax, SIDE_MENU_HEADER_HEIGHT as ay, SIDE_MENU_HEADER_SEAM as az, type AlertIconAlign as b, TRUE_COLOR_TEXT_CLASSES as b0, type TableDensityTokens as b1, type ToastSizeTokens as b2, type ToggleVariantTokens as b3, VALIDATION_STATUSES as b4, configureTheme as b5, getAlertColorClasses as b6, getAlertVariantTokens as b7, getAppDividerToneTokens as b8, getBadgeColorClasses as b9, getSpinnerColorTokens as bA, getStatTileColorClasses as bB, getStatusSpinnerSizeTokens as bC, getStatusSpinnerToneTokens as bD, getStepperTonePalette as bE, getSurfaceCornerClass as bF, getSurfaceCornerRem as bG, getSurfaceGutterClass as bH, getSurfacePaddingClass as bI, getSurfacePaddingClasses as bJ, getSurfaceTextTokens as bK, getSurfaceTriggerTokens as bL, getSurfaceVariantClasses as bM, getTableDensityTokens as bN, getTabsColorTokens as bO, getToastSizeTokens as bP, getToggleColorClasses as bQ, getToggleVariantTokens as bR, getTrueColorDotClass as bS, getTrueColorTextClass as bT, hasTextColor as bU, iconRegistry as bV, isGlassSurface as bW, resetTheme as bX, resolveGlowGradient as bY, stripBorderColor as bZ, stripTextColor as b_, getBreadcrumbSizeTokens as ba, getBreadcrumbToneTokens as bb, getButtonActiveClasses as bc, getButtonActiveHoverClasses as bd, getButtonBaseClasses as be, getButtonColorClasses as bf, getButtonHoverClasses as bg, getCheckboxColorClasses as bh, getCheckboxControlTokens as bi, getCheckboxGlassCheckedTokens as bj, getCheckboxVariantTokens as bk, getCollapsibleHelpToneTokens as bl, getControlSizeTokens as bm, getFieldSizeTokens as bn, getFieldToneTokens as bo, getGlowTokens as bp, getInputVariantTokens as bq, getLoaderProgressColors as br, getMultiToggleColorTokens as bs, getMultiToggleVariantTokens as bt, getPanelToneStyles as bu, getPillColorClasses as bv, getProgressSpinnerToneTokens as bw, getSideMenuItemTokens as bx, getSidebarSurfaceTokens as by, getSliderVariantTokens as bz, type GlassVibrancy as c, type SpecularMode as d, type ButtonWeight as e, type SurfacePadding as f, type SurfaceVariant as g, type GlowIntensity as h, type InputVariant as i, type SliderVariant as j, type ToggleVariant as k, type ToastPosition as l, type ToastMode as m, type Size as n, type SidebarVariant as o, type SidebarSide as p, type SidebarCollapsible as q, type SurfaceTextTokens as r, type TableDensity as s, type ApiErrorKind as t, type CapsuleBlueprintParameter as u, ALERT_ICON_ALIGNMENTS as v, ALERT_INTENTS as w, ALERT_INTENT_CONFIG as x, ALERT_VARIANTS as y, API_ERROR_KINDS as z };
|