@recursica/mantine-adapter 0.55.3 → 0.55.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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @recursica/mantine-adapter
2
2
 
3
+ ## 0.55.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [70bb1a5]
8
+ - @recursica/adapter-common@0.30.0
9
+
10
+ ## 0.55.4
11
+
12
+ ### Patch Changes
13
+
14
+ - f82fa40: Exposed the previously-orphaned `RecursicaEmptyValueRendererProps` type from `adapter-common` and re-exported it from `mantine-adapter`/`mui-adapter`. Also fixed a pre-existing unused-import lint failure and a `Chip` story type error in their Storybook files.
15
+ - Updated dependencies [f82fa40]
16
+ - @recursica/adapter-common@0.29.1
17
+
3
18
  ## 0.55.3
4
19
 
5
20
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1501,6 +1501,9 @@ declare namespace rawComponents {
1501
1501
  RecursicaDropdownProps,
1502
1502
  DropdownProps,
1503
1503
  Dropdown_2 as Dropdown,
1504
+ EmptyValueRenderer,
1505
+ EmptyValueRendererProps,
1506
+ RecursicaEmptyValueRendererProps,
1504
1507
  RecursicaFileUploadItem,
1505
1508
  RecursicaFileInputProps_2 as RecursicaFileInputProps,
1506
1509
  FileInputProps,
@@ -1524,6 +1527,9 @@ declare namespace rawComponents {
1524
1527
  HoverCardTargetProps,
1525
1528
  HoverCardDropdownProps,
1526
1529
  HoverCard_2 as HoverCard,
1530
+ Layer,
1531
+ RecursicaLayerProps,
1532
+ LayerProps,
1527
1533
  LinkProps,
1528
1534
  Link_2 as Link,
1529
1535
  LoaderProps,
@@ -1600,6 +1606,8 @@ declare namespace rawComponents {
1600
1606
  ReadOnlyTextField,
1601
1607
  ReadOnlySwitchField,
1602
1608
  ReadOnlyBooleanField,
1609
+ RecursicaThemeProvider,
1610
+ RecursicaThemeProviderProps,
1603
1611
  SegmentedControlProps,
1604
1612
  SegmentedControl_2 as SegmentedControl,
1605
1613
  RecursicaSliderProps,
@@ -2026,6 +2034,14 @@ declare interface RecursicaDropdownProps_2 {
2026
2034
  wrapItemText?: boolean;
2027
2035
  }
2028
2036
 
2037
+ /**
2038
+ * Props for the Recursica EmptyValueRenderer component.
2039
+ */
2040
+ export declare interface RecursicaEmptyValueRendererProps {
2041
+ /** Fallback node to show when values are missing */
2042
+ fallback?: default_2.ReactNode;
2043
+ }
2044
+
2029
2045
  /**
2030
2046
  * Props for the Recursica FileInput component.
2031
2047
  *
@@ -2261,6 +2277,16 @@ export declare interface RecursicaFormControlWrapperProps extends RecursicaLabel
2261
2277
  export declare interface RecursicaHeadingProps extends default_2.HTMLAttributes<HTMLHeadingElement> {
2262
2278
  /** Heading ordering hierarchies (1 represents H1, 6 represents H6) */
2263
2279
  order?: 1 | 2 | 3 | 4 | 5 | 6;
2280
+ /**
2281
+ * Semantic text color.
2282
+ * @default "default"
2283
+ */
2284
+ color?: TextColor;
2285
+ /**
2286
+ * Emphasis level of the text.
2287
+ * @default "high"
2288
+ */
2289
+ emphasis?: TextEmphasis;
2264
2290
  /** Heading contents */
2265
2291
  children?: default_2.ReactNode;
2266
2292
  /** Polymorphic component override */
@@ -2410,8 +2436,15 @@ declare interface RecursicaNumberInputProps_2 {
2410
2436
 
2411
2437
  /**
2412
2438
  * A wrapper type that blocks styling overrides unless `overStyled: true` is explicitly provided.
2439
+ *
2440
+ * `Allow` is constrained to `BlockedStylingKeys` so only genuinely-blocked keys can be un-blocked,
2441
+ * and defaults to `never` — `RecursicaOverStyled<T>` is byte-identical to the pre-`Allow` behavior.
2442
+ *
2443
+ * NOTE: this only lifts the *type-level* block. A component un-blocking a key is responsible for
2444
+ * consuming it (destructuring it before `filterStylingProps`, or otherwise handling it) so it does
2445
+ * not leak through the runtime styling filter.
2413
2446
  */
2414
- export declare type RecursicaOverStyled<T> = (Omit<WithRecursicaSpacing<T>, BlockedStylingKeys> & ForbiddenStyles & {
2447
+ export declare type RecursicaOverStyled<T, Allow extends BlockedStylingKeys = never> = (Omit<WithRecursicaSpacing<T>, Exclude<BlockedStylingKeys, Allow>> & Omit<ForbiddenStyles, Allow> & {
2415
2448
  overStyled?: false | undefined;
2416
2449
  }) | (WithRecursicaSpacing<T> & {
2417
2450
  overStyled: true;
@@ -2719,6 +2752,16 @@ declare interface RecursicaTextFieldProps_2 {
2719
2752
  export declare interface RecursicaTextProps {
2720
2753
  /** Visual style variant layout */
2721
2754
  variant?: TextVariant;
2755
+ /**
2756
+ * Semantic text color.
2757
+ * @default "default"
2758
+ */
2759
+ color?: TextColor;
2760
+ /**
2761
+ * Emphasis level of the text.
2762
+ * @default "high"
2763
+ */
2764
+ emphasis?: TextEmphasis;
2722
2765
  /** Children nodes */
2723
2766
  children?: default_2.ReactNode;
2724
2767
  /** Polymorphic component tag override */
@@ -3141,7 +3184,7 @@ declare type TabsTabProps = RecursicaOverStyled<TabsTabProps_2>;
3141
3184
 
3142
3185
  declare const Text_2: (<C = "p">(props: PolymorphicComponentProps<C, rawComponents.TextProps>) => React.ReactElement) & Omit<FunctionComponent<((rawComponents.TextProps & {
3143
3186
  component?: any;
3144
- }) & Omit<Omit<any, "ref">, "className" | "classNames" | "style" | "styles" | "vars" | "p" | "px" | "py" | "pt" | "pb" | "pl" | "pr" | "bg" | "c" | "opacity" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "bd" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap" | "gutter" | "top" | "left" | "bottom" | "right" | "variant" | "span" | "color" | "children" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "unstyled" | "attributes" | "spacing" | "overStyled" | "inherit" | "inline" | "size" | "__staticSelector" | "component" | "gradient" | "lineClamp" | "truncate"> & {
3187
+ }) & Omit<Omit<any, "ref">, "className" | "classNames" | "style" | "styles" | "vars" | "p" | "px" | "py" | "pt" | "pb" | "pl" | "pr" | "bg" | "c" | "opacity" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "bd" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap" | "gutter" | "top" | "left" | "bottom" | "right" | "variant" | "span" | "color" | "children" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "unstyled" | "attributes" | "spacing" | "overStyled" | "inherit" | "inline" | "size" | "__staticSelector" | "component" | "gradient" | "lineClamp" | "emphasis" | "truncate"> & {
3145
3188
  ref?: any;
3146
3189
  renderRoot?: (props: any) => any;
3147
3190
  }) | (rawComponents.TextProps & {
@@ -3163,7 +3206,7 @@ export { Text_2 as Text }
3163
3206
  */
3164
3207
  declare const Text_3: (<C = "p">(props: PolymorphicComponentProps<C, TextProps>) => React.ReactElement) & Omit<FunctionComponent<((TextProps & {
3165
3208
  component?: any;
3166
- }) & Omit<Omit<any, "ref">, "className" | "classNames" | "style" | "styles" | "vars" | "p" | "px" | "py" | "pt" | "pb" | "pl" | "pr" | "bg" | "c" | "opacity" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "bd" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap" | "gutter" | "top" | "left" | "bottom" | "right" | "variant" | "span" | "color" | "children" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "unstyled" | "attributes" | "spacing" | "overStyled" | "inherit" | "inline" | "size" | "__staticSelector" | "component" | "gradient" | "lineClamp" | "truncate"> & {
3209
+ }) & Omit<Omit<any, "ref">, "className" | "classNames" | "style" | "styles" | "vars" | "p" | "px" | "py" | "pt" | "pb" | "pl" | "pr" | "bg" | "c" | "opacity" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "bd" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap" | "gutter" | "top" | "left" | "bottom" | "right" | "variant" | "span" | "color" | "children" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "unstyled" | "attributes" | "spacing" | "overStyled" | "inherit" | "inline" | "size" | "__staticSelector" | "component" | "gradient" | "lineClamp" | "emphasis" | "truncate"> & {
3167
3210
  ref?: any;
3168
3211
  renderRoot?: (props: any) => any;
3169
3212
  }) | (TextProps & {
@@ -3177,6 +3220,16 @@ declare const TextArea_2: default_2.ForwardRefExoticComponent<TextAreaProps & de
3177
3220
 
3178
3221
  declare type TextAreaProps = RecursicaOverStyled<RecursicaTextAreaProps>;
3179
3222
 
3223
+ /**
3224
+ * Supported semantic color options for text in Recursica.
3225
+ */
3226
+ declare type TextColor = "default" | "warning" | "alert" | "success";
3227
+
3228
+ /**
3229
+ * Supported emphasis levels for text in Recursica.
3230
+ */
3231
+ declare type TextEmphasis = "low" | "high";
3232
+
3180
3233
  export declare const TextField: typeof rawComponents.TextField;
3181
3234
 
3182
3235
  declare const TextField_2: default_2.ForwardRefExoticComponent<TextFieldProps & default_2.RefAttributes<HTMLInputElement>>;