@deque/cauldron-react 6.2.0 → 6.2.1-canary.5d92f1e2
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/lib/{src/components → components}/Link/index.d.ts +1 -4
- package/lib/{src/components → components}/RadioGroup/index.d.ts +0 -1
- package/lib/index.js +3 -3
- package/package.json +2 -2
- package/lib/__tests__/setupTests.d.ts +0 -2
- package/lib/src/axe.d.ts +0 -3
- package/lib/src/components/Button/index.test.d.ts +0 -1
- package/lib/src/components/Checkbox/Checkbox.test.d.ts +0 -1
- package/lib/src/components/Combobox/Combobox.test.d.ts +0 -1
- package/lib/src/components/Tag/index.test.d.ts +0 -1
- package/lib/src/components/TextField/TextField.test.d.ts +0 -1
- package/lib/src/components/Timeline/timeline.test.d.ts +0 -1
- /package/lib/{src/components → components}/Accordion/Accordion.d.ts +0 -0
- /package/lib/{src/components → components}/Accordion/index.d.ts +0 -0
- /package/lib/{src/components → components}/Address/index.d.ts +0 -0
- /package/lib/{src/components → components}/Alert/index.d.ts +0 -0
- /package/lib/{src/components → components}/Breadcrumb/Breadcrumb.d.ts +0 -0
- /package/lib/{src/components → components}/Breadcrumb/BreadcrumbItem.d.ts +0 -0
- /package/lib/{src/components → components}/Breadcrumb/BreadcrumbLink.d.ts +0 -0
- /package/lib/{src/components → components}/Breadcrumb/index.d.ts +0 -0
- /package/lib/{src/components → components}/Button/index.d.ts +0 -0
- /package/lib/{src/components → components}/Checkbox/index.d.ts +0 -0
- /package/lib/{src/components → components}/ClickOutsideListener/index.d.ts +0 -0
- /package/lib/{src/components → components}/Code/index.d.ts +0 -0
- /package/lib/{src/components → components}/Combobox/Combobox.d.ts +0 -0
- /package/lib/{src/components → components}/Combobox/ComboboxContext.d.ts +0 -0
- /package/lib/{src/components → components}/Combobox/ComboboxGroup.d.ts +0 -0
- /package/lib/{src/components → components}/Combobox/ComboboxOption.d.ts +0 -0
- /package/lib/{src/components → components}/Combobox/index.d.ts +0 -0
- /package/lib/{src/components → components}/DescriptionList/index.d.ts +0 -0
- /package/lib/{src/components → components}/Dialog/index.d.ts +0 -0
- /package/lib/{src/components → components}/ExpandCollapsePanel/ExpandCollapsePanel.d.ts +0 -0
- /package/lib/{src/components → components}/ExpandCollapsePanel/PanelTrigger.d.ts +0 -0
- /package/lib/{src/components → components}/ExpandCollapsePanel/index.d.ts +0 -0
- /package/lib/{src/components → components}/FieldWrap/index.d.ts +0 -0
- /package/lib/{src/components → components}/Icon/index.d.ts +0 -0
- /package/lib/{src/components → components}/Icon/types.d.ts +0 -0
- /package/lib/{src/components → components}/IconButton/index.d.ts +0 -0
- /package/lib/{src/components → components}/Layout/index.d.ts +0 -0
- /package/lib/{src/components → components}/Line/index.d.ts +0 -0
- /package/lib/{src/components → components}/Listbox/Listbox.d.ts +0 -0
- /package/lib/{src/components → components}/Listbox/ListboxContext.d.ts +0 -0
- /package/lib/{src/components → components}/Listbox/ListboxGroup.d.ts +0 -0
- /package/lib/{src/components → components}/Listbox/ListboxOption.d.ts +0 -0
- /package/lib/{src/components → components}/Listbox/index.d.ts +0 -0
- /package/lib/{src/components → components}/Loader/index.d.ts +0 -0
- /package/lib/{src/components → components}/LoaderOverlay/axe-loader.d.ts +0 -0
- /package/lib/{src/components → components}/LoaderOverlay/index.d.ts +0 -0
- /package/lib/{src/components → components}/Main/index.d.ts +0 -0
- /package/lib/{src/components → components}/MenuBar/index.d.ts +0 -0
- /package/lib/{src/components → components}/MenuItem/click-link.d.ts +0 -0
- /package/lib/{src/components → components}/MenuItem/index.d.ts +0 -0
- /package/lib/{src/components → components}/Modal/index.d.ts +0 -0
- /package/lib/{src/components → components}/NavBar/NavBar.d.ts +0 -0
- /package/lib/{src/components → components}/NavBar/NavItem.d.ts +0 -0
- /package/lib/{src/components → components}/NavBar/index.d.ts +0 -0
- /package/lib/{src/components → components}/Notice/index.d.ts +0 -0
- /package/lib/{src/components → components}/Offscreen/index.d.ts +0 -0
- /package/lib/{src/components → components}/OptionsMenu/OptionsMenu.d.ts +0 -0
- /package/lib/{src/components → components}/OptionsMenu/OptionsMenuItem.d.ts +0 -0
- /package/lib/{src/components → components}/OptionsMenu/OptionsMenuList.d.ts +0 -0
- /package/lib/{src/components → components}/OptionsMenu/OptionsMenuTrigger.d.ts +0 -0
- /package/lib/{src/components → components}/OptionsMenu/OptionsMenuWrapper.d.ts +0 -0
- /package/lib/{src/components → components}/OptionsMenu/index.d.ts +0 -0
- /package/lib/{src/components → components}/Pagination/Pagination.d.ts +0 -0
- /package/lib/{src/components → components}/Pagination/index.d.ts +0 -0
- /package/lib/{src/components → components}/Pagination/usePagination.d.ts +0 -0
- /package/lib/{src/components → components}/Panel/Panel.d.ts +0 -0
- /package/lib/{src/components → components}/Panel/PanelContent.d.ts +0 -0
- /package/lib/{src/components → components}/Panel/PanelHeader.d.ts +0 -0
- /package/lib/{src/components → components}/Panel/index.d.ts +0 -0
- /package/lib/{src/components → components}/Popover/index.d.ts +0 -0
- /package/lib/{src/components → components}/ProgressBar/index.d.ts +0 -0
- /package/lib/{src/components → components}/RadioCardGroup/index.d.ts +0 -0
- /package/lib/{src/components → components}/Scrim/index.d.ts +0 -0
- /package/lib/{src/components → components}/Select/index.d.ts +0 -0
- /package/lib/{src/components → components}/SideBar/SideBar.d.ts +0 -0
- /package/lib/{src/components → components}/SideBar/SideBarItem.d.ts +0 -0
- /package/lib/{src/components → components}/SideBar/index.d.ts +0 -0
- /package/lib/{src/components → components}/SkipLink/index.d.ts +0 -0
- /package/lib/{src/components → components}/Stepper/index.d.ts +0 -0
- /package/lib/{src/components → components}/Table/Table.d.ts +0 -0
- /package/lib/{src/components → components}/Table/TableBody.d.ts +0 -0
- /package/lib/{src/components → components}/Table/TableCell.d.ts +0 -0
- /package/lib/{src/components → components}/Table/TableFooter.d.ts +0 -0
- /package/lib/{src/components → components}/Table/TableHead.d.ts +0 -0
- /package/lib/{src/components → components}/Table/TableHeader.d.ts +0 -0
- /package/lib/{src/components → components}/Table/TableRow.d.ts +0 -0
- /package/lib/{src/components → components}/Table/index.d.ts +0 -0
- /package/lib/{src/components → components}/Tabs/Tab.d.ts +0 -0
- /package/lib/{src/components → components}/Tabs/TabPanel.d.ts +0 -0
- /package/lib/{src/components → components}/Tabs/Tabs.d.ts +0 -0
- /package/lib/{src/components → components}/Tabs/index.d.ts +0 -0
- /package/lib/{src/components → components}/Tag/index.d.ts +0 -0
- /package/lib/{src/components → components}/TagButton/index.d.ts +0 -0
- /package/lib/{src/components → components}/TextField/index.d.ts +0 -0
- /package/lib/{src/components → components}/Timeline/Timeline.d.ts +0 -0
- /package/lib/{src/components → components}/Timeline/TimelineItem.d.ts +0 -0
- /package/lib/{src/components → components}/Timeline/index.d.ts +0 -0
- /package/lib/{src/components → components}/Toast/index.d.ts +0 -0
- /package/lib/{src/components → components}/Toast/utils.d.ts +0 -0
- /package/lib/{src/components → components}/Tooltip/index.d.ts +0 -0
- /package/lib/{src/components → components}/TooltipTabstop/index.d.ts +0 -0
- /package/lib/{src/components → components}/TopBar/TopBar.d.ts +0 -0
- /package/lib/{src/components → components}/TopBar/TopBarMenu.d.ts +0 -0
- /package/lib/{src/components → components}/TopBar/TopBarTrigger.d.ts +0 -0
- /package/lib/{src/components → components}/TopBar/index.d.ts +0 -0
- /package/lib/{src/components → components}/TwoColumnPanel/ColumnGroupHeader.d.ts +0 -0
- /package/lib/{src/components → components}/TwoColumnPanel/ColumnHeader.d.ts +0 -0
- /package/lib/{src/components → components}/TwoColumnPanel/ColumnLeft.d.ts +0 -0
- /package/lib/{src/components → components}/TwoColumnPanel/ColumnList.d.ts +0 -0
- /package/lib/{src/components → components}/TwoColumnPanel/ColumnRight.d.ts +0 -0
- /package/lib/{src/components → components}/TwoColumnPanel/TwoColumnPanel.d.ts +0 -0
- /package/lib/{src/components → components}/TwoColumnPanel/index.d.ts +0 -0
- /package/lib/{src/components → components}/Workspace/index.d.ts +0 -0
- /package/lib/{src/constants.d.ts → constants.d.ts} +0 -0
- /package/lib/{src/contexts → contexts}/theme.d.ts +0 -0
- /package/lib/{src/index.d.ts → index.d.ts} +0 -0
- /package/lib/{src/types.d.ts → types.d.ts} +0 -0
- /package/lib/{src/utils → utils}/aria-isolate/index.d.ts +0 -0
- /package/lib/{src/utils → utils}/focusable-selector/index.d.ts +0 -0
- /package/lib/{src/utils → utils}/is-browser/index.d.ts +0 -0
- /package/lib/{src/utils → utils}/polymorphic-type/index.d.ts +0 -0
- /package/lib/{src/utils → utils}/query-all/index.d.ts +0 -0
- /package/lib/{src/utils → utils}/remove-ids/index.d.ts +0 -0
- /package/lib/{src/utils → utils}/rndid/index.d.ts +0 -0
- /package/lib/{src/utils → utils}/setRef.d.ts +0 -0
- /package/lib/{src/utils → utils}/stylesheets/index.d.ts +0 -0
- /package/lib/{src/utils → utils}/token-list/index.d.ts +0 -0
- /package/lib/{src/utils → utils}/use-did-update/index.d.ts +0 -0
- /package/lib/{src/utils → utils}/useIntersectionRef.d.ts +0 -0
- /package/lib/{src/utils → utils}/useSharedRef.d.ts +0 -0
- /package/lib/{src/utils → utils}/viewport/index.d.ts +0 -0
|
@@ -4,8 +4,5 @@ export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>
|
|
|
4
4
|
variant?: 'button' | 'button-secondary';
|
|
5
5
|
thin?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare const Link:
|
|
8
|
-
({ children, linkRef, className, variant, thin, ...other }: LinkProps): React.JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
7
|
+
declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
11
8
|
export default Link;
|
|
@@ -12,7 +12,6 @@ export interface RadioGroupProps extends Omit<React.HTMLAttributes<HTMLDivElemen
|
|
|
12
12
|
value?: any;
|
|
13
13
|
inline?: boolean;
|
|
14
14
|
onChange?: (radio: RadioItem, input: HTMLElement) => void;
|
|
15
|
-
hasLabel?: never;
|
|
16
15
|
}
|
|
17
16
|
declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
17
|
export default RadioGroup;
|
package/lib/index.js
CHANGED
|
@@ -1968,15 +1968,15 @@ var Toast = /** @class */ (function (_super) {
|
|
|
1968
1968
|
return Toast;
|
|
1969
1969
|
}(React__default["default"].Component));
|
|
1970
1970
|
|
|
1971
|
-
var Link = function (_a) {
|
|
1971
|
+
var Link = React.forwardRef(function (_a, ref) {
|
|
1972
1972
|
var children = _a.children, linkRef = _a.linkRef, className = _a.className, variant = _a.variant, thin = _a.thin, other = tslib.__rest(_a, ["children", "linkRef", "className", "variant", "thin"]);
|
|
1973
|
-
return (React__default["default"].createElement("a", tslib.__assign({ ref: linkRef, className: classNames__default["default"](className, {
|
|
1973
|
+
return (React__default["default"].createElement("a", tslib.__assign({ ref: ref || linkRef, className: classNames__default["default"](className, {
|
|
1974
1974
|
Link: !variant,
|
|
1975
1975
|
'Button--primary': variant === 'button',
|
|
1976
1976
|
'Button--secondary': variant === 'button-secondary',
|
|
1977
1977
|
'Button--thin': thin
|
|
1978
1978
|
}) }, other), children));
|
|
1979
|
-
};
|
|
1979
|
+
});
|
|
1980
1980
|
Link.displayName = 'Link';
|
|
1981
1981
|
|
|
1982
1982
|
var Loader = React__default["default"].forwardRef(function (_a, ref) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deque/cauldron-react",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.1-canary.5d92f1e2",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "Fully accessible react components library for Deque Cauldron",
|
|
6
6
|
"homepage": "https://cauldron.dequelabs.com/",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "yarn build:lib && yarn build:css",
|
|
18
18
|
"prebuild:lib": "node scripts/buildIconTypes.js",
|
|
19
|
-
"build:lib": "rollup -c
|
|
19
|
+
"build:lib": "rollup -c",
|
|
20
20
|
"build:css": "postcss --output=lib/cauldron.css src/index.css",
|
|
21
21
|
"dev": "concurrently 'yarn build:css --watch' 'rollup -c --watch'",
|
|
22
22
|
"prepublishOnly": "NODE_ENV=production yarn build",
|
package/lib/src/axe.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|