@recursica/mui-adapter 0.27.0 → 0.29.0
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 +22 -0
- package/dist/index.d.ts +46 -7
- package/dist/mui-adapter.cjs +62 -62
- package/dist/mui-adapter.cjs.map +1 -1
- package/dist/mui-adapter.css +1 -1
- package/dist/mui-adapter.js +4970 -4888
- package/dist/mui-adapter.js.map +1 -1
- package/package.json +3 -3
- package/src/components/Breadcrumb/Breadcrumb.module.css +10 -5
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +0 -6
- package/src/components/Breadcrumb/Breadcrumb.tsx +1 -0
- package/src/components/Dropdown/Dropdown.icons.tsx +33 -0
- package/src/components/Dropdown/Dropdown.module.css +117 -15
- package/src/components/Dropdown/Dropdown.stories.tsx +21 -0
- package/src/components/Dropdown/Dropdown.tsx +90 -12
- package/src/components/Dropdown/USAGE.md +7 -0
- package/src/components/HoverCard/HoverCard.module.css +25 -3
- package/src/components/Link/Link.module.css +4 -0
- package/src/components/Menu/Menu.module.css +3 -0
- package/src/components/Menu/Menu.stories.tsx +128 -5
- package/src/components/Menu/Menu.tsx +1 -1
- package/src/components/Table/TABLE_IMPLEMENTATION_NOTES.md +64 -0
- package/src/components/Table/Table.module.css +443 -2
- package/src/components/Table/Table.stories.tsx +105 -0
- package/src/components/Table/Table.tsx +62 -5
- package/src/components/Table/USAGE.md +55 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @recursica/mui-adapter
|
|
2
2
|
|
|
3
|
+
## 0.29.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bcac5c7: Updated to latest css and fixed link
|
|
8
|
+
- 40832c5: Updated Table
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 8376651: Pin internal `@recursica/*` dependencies to real semver ranges instead of `*`. Published packages previously depended on internal packages (e.g. `@recursica/adapter-common`, `@recursica/official-release`, `@recursica/schemas`, `@recursica/recursica-postcss-vars`) with an unconstrained `*` version range, meaning a fresh install could pull in any future major version, including breaking changes. These now use `^<current-version>` ranges, which Changesets will keep in sync automatically via `updateInternalDependencies: "patch"` on future releases. No effect on local monorepo development — npm workspaces links sibling packages by name regardless of the declared range.
|
|
13
|
+
- Updated dependencies [bcac5c7]
|
|
14
|
+
- Updated dependencies [bcac5c7]
|
|
15
|
+
- Updated dependencies [40832c5]
|
|
16
|
+
- @recursica/official-release@2.8.0
|
|
17
|
+
- @recursica/adapter-common@0.20.0
|
|
18
|
+
|
|
19
|
+
## 0.28.0
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
- adab23c: Revised Dropwdown, Menu, Breadcrumb
|
|
24
|
+
|
|
3
25
|
## 0.27.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1651,7 +1651,7 @@ declare interface RecursicaDatePickerProps_2 extends Omit<DatePickerProps, "valu
|
|
|
1651
1651
|
style?: default_2.CSSProperties;
|
|
1652
1652
|
}
|
|
1653
1653
|
|
|
1654
|
-
export declare interface RecursicaDropdownProps extends Omit<SelectProps, keyof default_2.HTMLAttributes<HTMLDivElement> | "size" | "variant" | "classes" | "inputProps" | "SelectDisplayProps" | "ref" | "error">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, RecursicaDropdownProps_2 {
|
|
1654
|
+
export declare interface RecursicaDropdownProps extends Omit<SelectProps, keyof default_2.HTMLAttributes<HTMLDivElement> | "size" | "variant" | "classes" | "inputProps" | "SelectDisplayProps" | "ref" | "error">, Pick<SelectProps, "onChange">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth" | "onChange">, ReadOnlyControlProps, RecursicaDropdownProps_2 {
|
|
1655
1655
|
}
|
|
1656
1656
|
|
|
1657
1657
|
/**
|
|
@@ -2322,12 +2322,51 @@ export declare interface RecursicaSwitchProps {
|
|
|
2322
2322
|
|
|
2323
2323
|
declare type RecursicaSwitchPropsAlias = RequireAccessibleLabel<SwitchWrapperProps>;
|
|
2324
2324
|
|
|
2325
|
+
/**
|
|
2326
|
+
* Props for the Recursica Table cell component (`Table.Td` / `Table.Cell`).
|
|
2327
|
+
*/
|
|
2328
|
+
export declare interface RecursicaTableCellProps {
|
|
2329
|
+
/** The cell's content */
|
|
2330
|
+
children?: default_2.ReactNode;
|
|
2331
|
+
/** Disables the cell, dimming it and applying the disabled cell colors */
|
|
2332
|
+
disabled?: boolean;
|
|
2333
|
+
/** `"currency"` applies the currency text style (used for numeric/monetary columns) */
|
|
2334
|
+
variant?: "default" | "currency";
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* Props for the Recursica Table header cell component (`Table.Th`).
|
|
2339
|
+
*/
|
|
2340
|
+
export declare interface RecursicaTableHeaderCellProps {
|
|
2341
|
+
/** The header cell's label content */
|
|
2342
|
+
children?: default_2.ReactNode;
|
|
2343
|
+
/**
|
|
2344
|
+
* Current sort direction for this column. `false` (default) renders the unsorted style with
|
|
2345
|
+
* no icon; `"asc"`/`"desc"` render the sorted style and the matching chevron icon.
|
|
2346
|
+
*/
|
|
2347
|
+
sorted?: "asc" | "desc" | false;
|
|
2348
|
+
/** Disables the header cell, dimming it and applying the disabled cell colors */
|
|
2349
|
+
disabled?: boolean;
|
|
2350
|
+
}
|
|
2351
|
+
|
|
2325
2352
|
/**
|
|
2326
2353
|
* Props for the Recursica Table component.
|
|
2327
2354
|
*/
|
|
2328
2355
|
export declare interface RecursicaTableProps {
|
|
2329
2356
|
}
|
|
2330
2357
|
|
|
2358
|
+
/**
|
|
2359
|
+
* Props for the Recursica Table row component (`Table.Tr` / `Table.Row`).
|
|
2360
|
+
*/
|
|
2361
|
+
export declare interface RecursicaTableRowProps {
|
|
2362
|
+
/** The row's cells */
|
|
2363
|
+
children?: default_2.ReactNode;
|
|
2364
|
+
/** Marks the row as selected, applying the selected-row background */
|
|
2365
|
+
selected?: boolean;
|
|
2366
|
+
/** Disables the row, dimming it and applying the disabled cell colors to every cell in it */
|
|
2367
|
+
disabled?: boolean;
|
|
2368
|
+
}
|
|
2369
|
+
|
|
2331
2370
|
/**
|
|
2332
2371
|
* Props for the Recursica Tabs component.
|
|
2333
2372
|
*/
|
|
@@ -2875,9 +2914,9 @@ overStyled: true;
|
|
|
2875
2914
|
|
|
2876
2915
|
declare type TableBodyPropsRecursica = RecursicaOverStyled<TableBodyProps>;
|
|
2877
2916
|
|
|
2878
|
-
declare const TableCellComponent: ForwardRefExoticComponent<(Omit<Omit<WithRecursicaSpacing<TableCellProps>, BlockedStylingKeys> & ForbiddenStyles & {
|
|
2917
|
+
declare const TableCellComponent: ForwardRefExoticComponent<(Omit<Omit<WithRecursicaSpacing<Omit<TableCellProps, "children" | "variant"> & RecursicaTableHeaderCellProps & RecursicaTableCellProps>, BlockedStylingKeys> & ForbiddenStyles & {
|
|
2879
2918
|
overStyled?: false | undefined;
|
|
2880
|
-
}, "ref"> | Omit<Omit<TableCellProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
2919
|
+
}, "ref"> | Omit<Omit<Omit<TableCellProps, "children" | "variant"> & RecursicaTableHeaderCellProps & RecursicaTableCellProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
2881
2920
|
m?: string | number | RecursicaSpacing;
|
|
2882
2921
|
mx?: string | number | RecursicaSpacing;
|
|
2883
2922
|
my?: string | number | RecursicaSpacing;
|
|
@@ -2892,7 +2931,7 @@ columnGap?: string | number | RecursicaSpacing;
|
|
|
2892
2931
|
overStyled: true;
|
|
2893
2932
|
}, "ref">) & RefAttributes<HTMLTableCellElement>>;
|
|
2894
2933
|
|
|
2895
|
-
declare type TableCellPropsRecursica = RecursicaOverStyled<TableCellProps>;
|
|
2934
|
+
declare type TableCellPropsRecursica = RecursicaOverStyled<Omit<TableCellProps, "children" | "variant"> & RecursicaTableHeaderCellProps & RecursicaTableCellProps>;
|
|
2896
2935
|
|
|
2897
2936
|
declare type TableComponent = typeof TableBase & {
|
|
2898
2937
|
Body: typeof TableBodyComponent;
|
|
@@ -2963,9 +3002,9 @@ declare type TableHeadPropsRecursica = RecursicaOverStyled<TableHeadProps>;
|
|
|
2963
3002
|
|
|
2964
3003
|
declare type TableProps = RecursicaOverStyled<TableProps_2 & RecursicaTableProps>;
|
|
2965
3004
|
|
|
2966
|
-
declare const TableRowComponent: ForwardRefExoticComponent<(Omit<Omit<WithRecursicaSpacing<TableRowProps>, BlockedStylingKeys> & ForbiddenStyles & {
|
|
3005
|
+
declare const TableRowComponent: ForwardRefExoticComponent<(Omit<Omit<WithRecursicaSpacing<Omit<TableRowProps, "children"> & RecursicaTableRowProps>, BlockedStylingKeys> & ForbiddenStyles & {
|
|
2967
3006
|
overStyled?: false | undefined;
|
|
2968
|
-
}, "ref"> | Omit<Omit<TableRowProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
3007
|
+
}, "ref"> | Omit<Omit<Omit<TableRowProps, "children"> & RecursicaTableRowProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
2969
3008
|
m?: string | number | RecursicaSpacing;
|
|
2970
3009
|
mx?: string | number | RecursicaSpacing;
|
|
2971
3010
|
my?: string | number | RecursicaSpacing;
|
|
@@ -2980,7 +3019,7 @@ columnGap?: string | number | RecursicaSpacing;
|
|
|
2980
3019
|
overStyled: true;
|
|
2981
3020
|
}, "ref">) & RefAttributes<HTMLTableRowElement>>;
|
|
2982
3021
|
|
|
2983
|
-
declare type TableRowPropsRecursica = RecursicaOverStyled<TableRowProps>;
|
|
3022
|
+
declare type TableRowPropsRecursica = RecursicaOverStyled<Omit<TableRowProps, "children"> & RecursicaTableRowProps>;
|
|
2984
3023
|
|
|
2985
3024
|
declare const TableSortLabelComponent: ForwardRefExoticComponent<(Omit<Omit<WithRecursicaSpacing<TableSortLabelProps>, BlockedStylingKeys> & ForbiddenStyles & {
|
|
2986
3025
|
overStyled?: false | undefined;
|