@recursica/mui-adapter 0.28.0 → 0.30.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 +29 -0
- package/dist/index.d.ts +105 -49
- 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 +6693 -6674
- package/dist/mui-adapter.js.map +1 -1
- package/package.json +3 -3
- package/src/components/Accordion/Accordion.tsx +6 -1
- package/src/components/Checkbox/CheckboxGroup.tsx +5 -3
- package/src/components/Chip/CHIP_IMPLEMENTATION_NOTES.md +3 -3
- package/src/components/Chip/Chip.module.css +5 -5
- package/src/components/Chip/Chip.stories.tsx +2 -2
- package/src/components/Chip/Chip.tsx +20 -19
- package/src/components/Chip/USAGE.md +4 -4
- package/src/components/FileInput/FILEINPUT_IMPLEMENTATION_NOTES.md +5 -3
- package/src/components/FileInput/FileInput.stories.tsx +3 -0
- package/src/components/FileInput/FileInput.tsx +11 -10
- package/src/components/FileInput/USAGE.md +1 -0
- package/src/components/FileUpload/FILEUPLOAD_IMPLEMENTATION_NOTES.md +6 -6
- package/src/components/FileUpload/FileUpload.tsx +9 -9
- package/src/components/Link/Link.module.css +4 -0
- package/src/components/Radio/RadioGroup.stories.tsx +4 -4
- package/src/components/Radio/RadioGroup.tsx +1 -12
- package/src/components/SegmentedControl/IMPLEMENTATION_NOTES.md +8 -0
- package/src/components/SegmentedControl/SegmentedControl.stories.tsx +17 -28
- package/src/components/SegmentedControl/SegmentedControl.tsx +15 -17
- package/src/components/SegmentedControl/USAGE.md +13 -0
- package/src/components/Switch/SwitchGroup.tsx +5 -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,34 @@
|
|
|
1
1
|
# @recursica/mui-adapter
|
|
2
2
|
|
|
3
|
+
## 0.30.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0bb2dab: **Breaking:** `Chip`'s `onRemove` prop is renamed to `onDelete` in both adapters, matching MUI's own `onDelete` naming and removing the previous internal aliasing between the two. Update any `Chip` usage passing `onRemove` to `onDelete` — the behavior (rendering the remove/X icon and firing on click or Enter/Space) is unchanged. `FileInput` and `FileUpload`'s own public props are unaffected; they only consume `Chip` internally.
|
|
8
|
+
- 0bb2dab: Updated props with breaking changes
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies [0bb2dab]
|
|
13
|
+
- Updated dependencies [0bb2dab]
|
|
14
|
+
- @recursica/adapter-common@0.21.0
|
|
15
|
+
|
|
16
|
+
## 0.29.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- bcac5c7: Updated to latest css and fixed link
|
|
21
|
+
- 40832c5: Updated Table
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 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.
|
|
26
|
+
- Updated dependencies [bcac5c7]
|
|
27
|
+
- Updated dependencies [bcac5c7]
|
|
28
|
+
- Updated dependencies [40832c5]
|
|
29
|
+
- @recursica/official-release@2.8.0
|
|
30
|
+
- @recursica/adapter-common@0.20.0
|
|
31
|
+
|
|
3
32
|
## 0.28.0
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -155,7 +155,9 @@ declare const AccordionPanel_2: default_2.ForwardRefExoticComponent<(Omit<Omit<W
|
|
|
155
155
|
|
|
156
156
|
declare type AccordionPanelWrapperProps = RecursicaOverStyled<AccordionDetailsProps & RecursicaAccordionPanelProps>;
|
|
157
157
|
|
|
158
|
-
declare type AccordionProps = RecursicaOverStyled<default_2.HTMLAttributes<HTMLDivElement> & RecursicaAccordionProps
|
|
158
|
+
declare type AccordionProps = RecursicaOverStyled<default_2.HTMLAttributes<HTMLDivElement> & RecursicaAccordionProps & {
|
|
159
|
+
onChange?: (value: string | string[] | null) => void;
|
|
160
|
+
}>;
|
|
159
161
|
|
|
160
162
|
export declare const AssistiveElement: typeof rawComponents.AssistiveElement;
|
|
161
163
|
|
|
@@ -1441,8 +1443,6 @@ export declare interface RecursicaAccordionProps {
|
|
|
1441
1443
|
value?: string | string[];
|
|
1442
1444
|
/** Initial expanded value(s) in uncontrolled mode */
|
|
1443
1445
|
defaultValue?: string | string[];
|
|
1444
|
-
/** Callback triggered when value changes */
|
|
1445
|
-
onChange?: (value: string | string[] | null) => void;
|
|
1446
1446
|
/** Allow multiple panels to be open simultaneously */
|
|
1447
1447
|
multiple?: boolean;
|
|
1448
1448
|
/** Custom chevron icon to replace the default expand/collapse indicator. Applies to every
|
|
@@ -1484,9 +1484,9 @@ declare interface RecursicaAutocompleteProps_2 {
|
|
|
1484
1484
|
id?: string;
|
|
1485
1485
|
/** Initial default value */
|
|
1486
1486
|
defaultValue?: unknown;
|
|
1487
|
-
/** Left section decoration (e.g. icon) */
|
|
1487
|
+
/** Left section decoration (e.g. icon). Naming rationale: see `RecursicaTextFieldProps.leftSection`. */
|
|
1488
1488
|
leftSection?: default_2.ReactNode;
|
|
1489
|
-
/** Right section decoration (e.g. action button) */
|
|
1489
|
+
/** Right section decoration (e.g. action button). Same rationale as `leftSection` above. */
|
|
1490
1490
|
rightSection?: default_2.ReactNode;
|
|
1491
1491
|
/** Placeholder text */
|
|
1492
1492
|
placeholder?: string;
|
|
@@ -1562,13 +1562,10 @@ export declare interface RecursicaCheckboxGroupProps {
|
|
|
1562
1562
|
value?: unknown[];
|
|
1563
1563
|
/** Default selected values in uncontrolled mode */
|
|
1564
1564
|
defaultValue?: unknown[];
|
|
1565
|
-
/** Callback triggered on selection change */
|
|
1566
|
-
onChange?: (value: unknown[]) => void;
|
|
1567
|
-
/** Toggle horizontal row display */
|
|
1568
|
-
row?: boolean;
|
|
1569
1565
|
}
|
|
1570
1566
|
|
|
1571
1567
|
declare interface RecursicaCheckboxGroupProps_2 extends Omit<default_2.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth" | "onChange" | "classes" | "withAsterisk" | "defaultValue">, ReadOnlyControlProps, RecursicaCheckboxGroupProps {
|
|
1568
|
+
onChange?: (value: unknown[]) => void;
|
|
1572
1569
|
}
|
|
1573
1570
|
|
|
1574
1571
|
/**
|
|
@@ -1594,22 +1591,22 @@ export declare interface RecursicaChipProps {
|
|
|
1594
1591
|
/** Leading icon content */
|
|
1595
1592
|
icon?: default_2.ReactNode;
|
|
1596
1593
|
/** Called when the remove (X) icon is clicked. If provided, the remove icon will be displayed. */
|
|
1597
|
-
|
|
1598
|
-
/** Screen reader label for the
|
|
1599
|
-
|
|
1594
|
+
onDelete?: (e: default_2.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
1595
|
+
/** Screen reader label for the delete button. Defaults to 'Delete' */
|
|
1596
|
+
deleteLabel?: string;
|
|
1600
1597
|
/** Checked state for the chip (acts as a checkbox) */
|
|
1601
1598
|
checked?: boolean;
|
|
1602
1599
|
/**
|
|
1603
|
-
* Tab index for the
|
|
1600
|
+
* Tab index for the delete (X) icon. Defaults to `0`. Lets a parent implement a roving-tabindex
|
|
1604
1601
|
* pattern across a group of chips (e.g. FileUpload's file list) by setting this to `-1` on every
|
|
1605
1602
|
* chip except the currently-active one.
|
|
1606
1603
|
*/
|
|
1607
|
-
|
|
1604
|
+
deleteTabIndex?: number;
|
|
1608
1605
|
/**
|
|
1609
|
-
* Ref to the
|
|
1606
|
+
* Ref to the delete (X) icon element, so a parent can move focus to it imperatively — e.g.
|
|
1610
1607
|
* arrow-key navigation across a group of chips.
|
|
1611
1608
|
*/
|
|
1612
|
-
|
|
1609
|
+
deleteIconRef?: default_2.Ref<HTMLSpanElement>;
|
|
1613
1610
|
}
|
|
1614
1611
|
|
|
1615
1612
|
/**
|
|
@@ -1739,6 +1736,12 @@ export declare interface RecursicaFileInputProps {
|
|
|
1739
1736
|
maxFilesMessage?: default_2.ReactNode;
|
|
1740
1737
|
/** Leading icon shown inside the control. Defaults to the built-in upload icon. */
|
|
1741
1738
|
icon?: default_2.ReactNode;
|
|
1739
|
+
/**
|
|
1740
|
+
* Trailing clear-all icon shown once a file is selected. Defaults to the built-in X icon.
|
|
1741
|
+
* Forge's `file-input` token set exposes a `trailing-icon` color alongside `leading-icon`
|
|
1742
|
+
* for exactly this slot.
|
|
1743
|
+
*/
|
|
1744
|
+
clearIcon?: default_2.ReactNode;
|
|
1742
1745
|
/** Text shown when no file is selected. Defaults to `"Select a file..."`. */
|
|
1743
1746
|
placeholder?: default_2.ReactNode;
|
|
1744
1747
|
/** Screen-reader label for the control itself. Defaults to `"Choose file"`. */
|
|
@@ -1910,7 +1913,12 @@ export declare interface RecursicaFormControlWrapperProps extends Omit<FormContr
|
|
|
1910
1913
|
declare interface RecursicaFormControlWrapperProps_2 extends RecursicaLabelProps {
|
|
1911
1914
|
/** Overall structural flow mapping the Form Control natively cascading down to Label and Input logic. */
|
|
1912
1915
|
formLayout?: "stacked" | "side-by-side";
|
|
1913
|
-
/**
|
|
1916
|
+
/**
|
|
1917
|
+
* Securely replaces standard descriptions safely providing standard Assistive properties.
|
|
1918
|
+
* Not renamed to Forge's `helpText`/`errorText`: our own vocabulary, covering both help and
|
|
1919
|
+
* error copy via one prop plus `assistiveVariant`; `description`/`helperText` below already
|
|
1920
|
+
* exist as native-API fallback aliases.
|
|
1921
|
+
*/
|
|
1914
1922
|
assistiveText?: default_2.ReactNode;
|
|
1915
1923
|
/** Fallback description prop to match native APIs safely. */
|
|
1916
1924
|
description?: default_2.ReactNode;
|
|
@@ -2010,15 +2018,24 @@ export declare interface RecursicaHoverCardProps {
|
|
|
2010
2018
|
export declare interface RecursicaLabelProps {
|
|
2011
2019
|
/** Specifies the sizing metrics natively mapping the Label boundaries. */
|
|
2012
2020
|
labelSize?: "default" | "small" | "md";
|
|
2013
|
-
/**
|
|
2021
|
+
/**
|
|
2022
|
+
* Overall alignment directive for the label strings natively forcing Left/Right justification.
|
|
2023
|
+
* Not renamed to Forge's `labelAlign`: our own vocabulary, not either kit's native term.
|
|
2024
|
+
*/
|
|
2014
2025
|
labelAlignment?: "left" | "right";
|
|
2015
|
-
/**
|
|
2026
|
+
/**
|
|
2027
|
+
* Injects an indicator text block alongside the label. Can be boolean (`true` maps to '(Optional)') or custom React nodes.
|
|
2028
|
+
* Not renamed to Forge's `optional`: same reason as `labelAlignment` above.
|
|
2029
|
+
*/
|
|
2016
2030
|
labelOptionalText?: boolean | default_2.ReactNode;
|
|
2017
2031
|
/** When true, forces the native Edit Icon to replace the standard asterisk visually. */
|
|
2018
2032
|
labelWithEditIcon?: boolean;
|
|
2019
2033
|
/** Custom action area to render alongside the label instead of the default edit icon. */
|
|
2020
2034
|
labelActionArea?: default_2.ReactNode;
|
|
2021
|
-
/**
|
|
2035
|
+
/**
|
|
2036
|
+
* Interaction hook invoked whenever a generated edit icon block natively triggers a click event.
|
|
2037
|
+
* Not renamed to Forge's `onEditIconClick`: same reason as `labelAlignment` above.
|
|
2038
|
+
*/
|
|
2022
2039
|
onLabelEditClick?: default_2.MouseEventHandler<HTMLButtonElement>;
|
|
2023
2040
|
}
|
|
2024
2041
|
|
|
@@ -2090,9 +2107,9 @@ export declare interface RecursicaNumberInputProps extends Omit<TextFieldProps,
|
|
|
2090
2107
|
declare interface RecursicaNumberInputProps_2 {
|
|
2091
2108
|
/** Enables/disables the controls to increment and decrement the value */
|
|
2092
2109
|
hideControls?: boolean;
|
|
2093
|
-
/** Content rendered on the left side of the input (e.g. icon) */
|
|
2110
|
+
/** Content rendered on the left side of the input (e.g. icon). Naming rationale: see `RecursicaTextFieldProps.leftSection`. */
|
|
2094
2111
|
leftSection?: React.ReactNode;
|
|
2095
|
-
/** Content rendered on the right side of the input (e.g. percentage sign) */
|
|
2112
|
+
/** Content rendered on the right side of the input (e.g. percentage sign). Same rationale as `leftSection` above. */
|
|
2096
2113
|
rightSection?: React.ReactNode;
|
|
2097
2114
|
/** Minimum possible value */
|
|
2098
2115
|
min?: number;
|
|
@@ -2129,9 +2146,13 @@ export declare interface RecursicaPaginationProps {
|
|
|
2129
2146
|
* Props for the Recursica Panel component.
|
|
2130
2147
|
*/
|
|
2131
2148
|
export declare interface RecursicaPanelProps {
|
|
2132
|
-
/** Forces header text onto a single line truncating overflow with ellipsis */
|
|
2149
|
+
/** Forces header text onto a single line truncating overflow with ellipsis. Default is true */
|
|
2133
2150
|
wrapHeaderText?: boolean;
|
|
2134
|
-
/**
|
|
2151
|
+
/**
|
|
2152
|
+
* Direction the panel slides out from.
|
|
2153
|
+
* Named `placement`, not `position`: `position` is a global `BlockedStylingKeys` entry, so
|
|
2154
|
+
* it's typed `never` and stripped unless `overStyled: true`.
|
|
2155
|
+
*/
|
|
2135
2156
|
placement?: "top" | "bottom" | "left" | "right";
|
|
2136
2157
|
/** Control visibility state */
|
|
2137
2158
|
opened?: boolean;
|
|
@@ -2159,16 +2180,9 @@ export declare interface RecursicaRadioGroupProps {
|
|
|
2159
2180
|
value?: unknown;
|
|
2160
2181
|
/** Initial selected value in uncontrolled mode */
|
|
2161
2182
|
defaultValue?: unknown;
|
|
2162
|
-
/**
|
|
2163
|
-
* Callback triggered when active value changes.
|
|
2164
|
-
* Single-argument by design (no event): matches Mantine's native RadioGroup
|
|
2165
|
-
* onChange, the cross-adapter source of truth. mui-adapter's RadioGroup
|
|
2166
|
-
* normalizes MUI's native two-argument (event, value) callback down to this.
|
|
2167
|
-
*/
|
|
2168
|
-
onChange?: (value: string) => void;
|
|
2169
2183
|
}
|
|
2170
2184
|
|
|
2171
|
-
declare interface RecursicaRadioGroupProps_2 extends Omit<RadioGroupProps_2, "size" | "labelProps" | "classes" | "ref" | "
|
|
2185
|
+
declare interface RecursicaRadioGroupProps_2 extends Omit<RadioGroupProps_2, "size" | "labelProps" | "classes" | "ref" | "value" | "defaultValue">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth" | "classes" | "onChange" | keyof RadioGroupProps_2>, ReadOnlyControlProps, RecursicaRadioGroupProps {
|
|
2172
2186
|
}
|
|
2173
2187
|
|
|
2174
2188
|
/**
|
|
@@ -2215,18 +2229,18 @@ export declare interface RecursicaSegmentedControlProps {
|
|
|
2215
2229
|
orientation?: "horizontal" | "vertical";
|
|
2216
2230
|
/** If true, the control will stretch full-width */
|
|
2217
2231
|
fullWidth?: boolean;
|
|
2218
|
-
/**
|
|
2219
|
-
disabled?:
|
|
2232
|
+
/** Disables every item in the control at once; a single item can still be disabled via `data` */
|
|
2233
|
+
disabled?: boolean;
|
|
2220
2234
|
/** Data configuration options array */
|
|
2221
2235
|
data?: Array<string | {
|
|
2222
2236
|
label: default_2.ReactNode;
|
|
2223
2237
|
value: string;
|
|
2224
2238
|
disabled?: boolean;
|
|
2239
|
+
/** Optional leading icon rendered alongside the item's label */
|
|
2240
|
+
icon?: default_2.ReactNode;
|
|
2225
2241
|
}>;
|
|
2226
2242
|
/** Active selected item value key */
|
|
2227
2243
|
value?: string;
|
|
2228
|
-
/** Callback triggered when selected item changes */
|
|
2229
|
-
onChange?: (value: string) => void;
|
|
2230
2244
|
}
|
|
2231
2245
|
|
|
2232
2246
|
/**
|
|
@@ -2301,11 +2315,10 @@ export declare interface RecursicaSwitchGroupProps {
|
|
|
2301
2315
|
value?: string[];
|
|
2302
2316
|
/** Checked default values list in uncontrolled mode */
|
|
2303
2317
|
defaultValue?: string[];
|
|
2304
|
-
/** Callback triggered when any switch toggles state */
|
|
2305
|
-
onChange?: (value: string[]) => void;
|
|
2306
2318
|
}
|
|
2307
2319
|
|
|
2308
2320
|
declare interface RecursicaSwitchGroupProps_2 extends Omit<FormGroupProps, "size" | "labelProps" | "onChange" | "classes" | "ref" | "value" | "defaultValue">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth" | "classes" | "onChange" | "defaultValue">, ReadOnlyControlProps, RecursicaSwitchGroupProps {
|
|
2321
|
+
onChange?: (value: string[]) => void;
|
|
2309
2322
|
}
|
|
2310
2323
|
|
|
2311
2324
|
/**
|
|
@@ -2322,12 +2335,51 @@ export declare interface RecursicaSwitchProps {
|
|
|
2322
2335
|
|
|
2323
2336
|
declare type RecursicaSwitchPropsAlias = RequireAccessibleLabel<SwitchWrapperProps>;
|
|
2324
2337
|
|
|
2338
|
+
/**
|
|
2339
|
+
* Props for the Recursica Table cell component (`Table.Td` / `Table.Cell`).
|
|
2340
|
+
*/
|
|
2341
|
+
export declare interface RecursicaTableCellProps {
|
|
2342
|
+
/** The cell's content */
|
|
2343
|
+
children?: default_2.ReactNode;
|
|
2344
|
+
/** Disables the cell, dimming it and applying the disabled cell colors */
|
|
2345
|
+
disabled?: boolean;
|
|
2346
|
+
/** `"currency"` applies the currency text style (used for numeric/monetary columns) */
|
|
2347
|
+
variant?: "default" | "currency";
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
/**
|
|
2351
|
+
* Props for the Recursica Table header cell component (`Table.Th`).
|
|
2352
|
+
*/
|
|
2353
|
+
export declare interface RecursicaTableHeaderCellProps {
|
|
2354
|
+
/** The header cell's label content */
|
|
2355
|
+
children?: default_2.ReactNode;
|
|
2356
|
+
/**
|
|
2357
|
+
* Current sort direction for this column. `false` (default) renders the unsorted style with
|
|
2358
|
+
* no icon; `"asc"`/`"desc"` render the sorted style and the matching chevron icon.
|
|
2359
|
+
*/
|
|
2360
|
+
sorted?: "asc" | "desc" | false;
|
|
2361
|
+
/** Disables the header cell, dimming it and applying the disabled cell colors */
|
|
2362
|
+
disabled?: boolean;
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2325
2365
|
/**
|
|
2326
2366
|
* Props for the Recursica Table component.
|
|
2327
2367
|
*/
|
|
2328
2368
|
export declare interface RecursicaTableProps {
|
|
2329
2369
|
}
|
|
2330
2370
|
|
|
2371
|
+
/**
|
|
2372
|
+
* Props for the Recursica Table row component (`Table.Tr` / `Table.Row`).
|
|
2373
|
+
*/
|
|
2374
|
+
export declare interface RecursicaTableRowProps {
|
|
2375
|
+
/** The row's cells */
|
|
2376
|
+
children?: default_2.ReactNode;
|
|
2377
|
+
/** Marks the row as selected, applying the selected-row background */
|
|
2378
|
+
selected?: boolean;
|
|
2379
|
+
/** Disables the row, dimming it and applying the disabled cell colors to every cell in it */
|
|
2380
|
+
disabled?: boolean;
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2331
2383
|
/**
|
|
2332
2384
|
* Props for the Recursica Tabs component.
|
|
2333
2385
|
*/
|
|
@@ -2365,9 +2417,13 @@ export declare interface RecursicaTextFieldProps extends Omit<InputBaseProps, "c
|
|
|
2365
2417
|
* Props for the Recursica TextField component.
|
|
2366
2418
|
*/
|
|
2367
2419
|
declare interface RecursicaTextFieldProps_2 {
|
|
2368
|
-
/**
|
|
2420
|
+
/**
|
|
2421
|
+
* Section rendered inside input on the left (e.g. icon).
|
|
2422
|
+
* Not renamed to Forge's `leadingIcon`: deliberately reuses Mantine's own native name;
|
|
2423
|
+
* MUI's own (`startAdornment`) is more implementation-specific and isn't icon-only either.
|
|
2424
|
+
*/
|
|
2369
2425
|
leftSection?: default_2.ReactNode;
|
|
2370
|
-
/** Section rendered inside input on the right (e.g. clear button) */
|
|
2426
|
+
/** Section rendered inside input on the right (e.g. clear button). Same naming rationale as `leftSection` above. */
|
|
2371
2427
|
rightSection?: default_2.ReactNode;
|
|
2372
2428
|
}
|
|
2373
2429
|
|
|
@@ -2608,12 +2664,12 @@ export declare const SegmentedControl: typeof rawComponents.SegmentedControl;
|
|
|
2608
2664
|
/**
|
|
2609
2665
|
* Recursica SegmentedControl component wrapping Mui's SegmentedControl.
|
|
2610
2666
|
*/
|
|
2611
|
-
declare const SegmentedControl_2: ForwardRefExoticComponent<(Omit<Omit<WithRecursicaSpacing<Omit<ToggleButtonGroupProps, "className" | "color" | "value" | "classNames" | "
|
|
2667
|
+
declare const SegmentedControl_2: ForwardRefExoticComponent<(Omit<Omit<WithRecursicaSpacing<Omit<ToggleButtonGroupProps, "className" | "color" | "value" | "classNames" | "variant" | "size" | "radius"> & {
|
|
2612
2668
|
className?: string;
|
|
2613
2669
|
classNames?: Partial<Record<string, string>>;
|
|
2614
2670
|
} & RecursicaSegmentedControlProps>, BlockedStylingKeys> & ForbiddenStyles & {
|
|
2615
2671
|
overStyled?: false | undefined;
|
|
2616
|
-
}, "ref"> | Omit<Omit<Omit<ToggleButtonGroupProps, "className" | "color" | "value" | "classNames" | "
|
|
2672
|
+
}, "ref"> | Omit<Omit<Omit<ToggleButtonGroupProps, "className" | "color" | "value" | "classNames" | "variant" | "size" | "radius"> & {
|
|
2617
2673
|
className?: string;
|
|
2618
2674
|
classNames?: Partial<Record<string, string>>;
|
|
2619
2675
|
} & RecursicaSegmentedControlProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
@@ -2631,7 +2687,7 @@ columnGap?: string | number | RecursicaSpacing;
|
|
|
2631
2687
|
overStyled: true;
|
|
2632
2688
|
}, "ref">) & RefAttributes<HTMLDivElement>>;
|
|
2633
2689
|
|
|
2634
|
-
declare type SegmentedControlProps = RecursicaOverStyled<Omit<ToggleButtonGroupProps, "variant" | "size" | "radius" | "color" | "classNames" | "className" | "
|
|
2690
|
+
declare type SegmentedControlProps = RecursicaOverStyled<Omit<ToggleButtonGroupProps, "variant" | "size" | "radius" | "color" | "classNames" | "className" | "value"> & {
|
|
2635
2691
|
className?: string;
|
|
2636
2692
|
classNames?: Partial<Record<string, string>>;
|
|
2637
2693
|
} & RecursicaSegmentedControlProps>;
|
|
@@ -2875,9 +2931,9 @@ overStyled: true;
|
|
|
2875
2931
|
|
|
2876
2932
|
declare type TableBodyPropsRecursica = RecursicaOverStyled<TableBodyProps>;
|
|
2877
2933
|
|
|
2878
|
-
declare const TableCellComponent: ForwardRefExoticComponent<(Omit<Omit<WithRecursicaSpacing<TableCellProps>, BlockedStylingKeys> & ForbiddenStyles & {
|
|
2934
|
+
declare const TableCellComponent: ForwardRefExoticComponent<(Omit<Omit<WithRecursicaSpacing<Omit<TableCellProps, "children" | "variant"> & RecursicaTableHeaderCellProps & RecursicaTableCellProps>, BlockedStylingKeys> & ForbiddenStyles & {
|
|
2879
2935
|
overStyled?: false | undefined;
|
|
2880
|
-
}, "ref"> | Omit<Omit<TableCellProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
2936
|
+
}, "ref"> | Omit<Omit<Omit<TableCellProps, "children" | "variant"> & RecursicaTableHeaderCellProps & RecursicaTableCellProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
2881
2937
|
m?: string | number | RecursicaSpacing;
|
|
2882
2938
|
mx?: string | number | RecursicaSpacing;
|
|
2883
2939
|
my?: string | number | RecursicaSpacing;
|
|
@@ -2892,7 +2948,7 @@ columnGap?: string | number | RecursicaSpacing;
|
|
|
2892
2948
|
overStyled: true;
|
|
2893
2949
|
}, "ref">) & RefAttributes<HTMLTableCellElement>>;
|
|
2894
2950
|
|
|
2895
|
-
declare type TableCellPropsRecursica = RecursicaOverStyled<TableCellProps>;
|
|
2951
|
+
declare type TableCellPropsRecursica = RecursicaOverStyled<Omit<TableCellProps, "children" | "variant"> & RecursicaTableHeaderCellProps & RecursicaTableCellProps>;
|
|
2896
2952
|
|
|
2897
2953
|
declare type TableComponent = typeof TableBase & {
|
|
2898
2954
|
Body: typeof TableBodyComponent;
|
|
@@ -2963,9 +3019,9 @@ declare type TableHeadPropsRecursica = RecursicaOverStyled<TableHeadProps>;
|
|
|
2963
3019
|
|
|
2964
3020
|
declare type TableProps = RecursicaOverStyled<TableProps_2 & RecursicaTableProps>;
|
|
2965
3021
|
|
|
2966
|
-
declare const TableRowComponent: ForwardRefExoticComponent<(Omit<Omit<WithRecursicaSpacing<TableRowProps>, BlockedStylingKeys> & ForbiddenStyles & {
|
|
3022
|
+
declare const TableRowComponent: ForwardRefExoticComponent<(Omit<Omit<WithRecursicaSpacing<Omit<TableRowProps, "children"> & RecursicaTableRowProps>, BlockedStylingKeys> & ForbiddenStyles & {
|
|
2967
3023
|
overStyled?: false | undefined;
|
|
2968
|
-
}, "ref"> | Omit<Omit<TableRowProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
3024
|
+
}, "ref"> | Omit<Omit<Omit<TableRowProps, "children"> & RecursicaTableRowProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
2969
3025
|
m?: string | number | RecursicaSpacing;
|
|
2970
3026
|
mx?: string | number | RecursicaSpacing;
|
|
2971
3027
|
my?: string | number | RecursicaSpacing;
|
|
@@ -2980,7 +3036,7 @@ columnGap?: string | number | RecursicaSpacing;
|
|
|
2980
3036
|
overStyled: true;
|
|
2981
3037
|
}, "ref">) & RefAttributes<HTMLTableRowElement>>;
|
|
2982
3038
|
|
|
2983
|
-
declare type TableRowPropsRecursica = RecursicaOverStyled<TableRowProps>;
|
|
3039
|
+
declare type TableRowPropsRecursica = RecursicaOverStyled<Omit<TableRowProps, "children"> & RecursicaTableRowProps>;
|
|
2984
3040
|
|
|
2985
3041
|
declare const TableSortLabelComponent: ForwardRefExoticComponent<(Omit<Omit<WithRecursicaSpacing<TableSortLabelProps>, BlockedStylingKeys> & ForbiddenStyles & {
|
|
2986
3042
|
overStyled?: false | undefined;
|