@deque/cauldron-react 2.0.0 → 3.0.1-canary.0298c7b0

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.
Files changed (45) hide show
  1. package/lib/arrow-36f5cb02.js +25 -0
  2. package/lib/{arrow-circle-7b95a2fd.js → arrow-circle-858d89b5.js} +5 -7
  3. package/lib/cauldron.css +45 -7
  4. package/lib/chevron-cbfd92ec.js +25 -0
  5. package/lib/{chevron-double-65975fca.js → chevron-double-42e4b50e.js} +5 -6
  6. package/lib/{close-1b16b9ec.js → close-31ce4dcf.js} +2 -2
  7. package/lib/components/Address/index.d.ts +38 -0
  8. package/lib/components/Card/Card.d.ts +3 -1
  9. package/lib/components/ExpandCollapsePanel/PanelTrigger.d.ts +2 -1
  10. package/lib/components/Icon/index.d.ts +3 -1
  11. package/lib/components/Icon/types.d.ts +7 -0
  12. package/lib/components/IconButton/index.d.ts +12 -4
  13. package/lib/components/Loader/index.d.ts +2 -3
  14. package/lib/components/NavBar/NavBar.d.ts +22 -0
  15. package/lib/components/NavBar/NavItem.d.ts +14 -0
  16. package/lib/components/NavBar/index.d.ts +2 -0
  17. package/lib/components/OptionsMenu/OptionsMenu.d.ts +4 -4
  18. package/lib/components/Panel/index.d.ts +17 -0
  19. package/lib/components/ProgressBar/index.d.ts +15 -0
  20. package/lib/components/Select/index.d.ts +2 -2
  21. package/lib/components/SideBar/SideBar.d.ts +1 -0
  22. package/lib/components/Stepper/index.d.ts +2 -0
  23. package/lib/components/Table/TableCell.d.ts +2 -2
  24. package/lib/components/Table/TableHeader.d.ts +2 -2
  25. package/lib/components/Tabs/Tab.d.ts +8 -0
  26. package/lib/components/Tabs/TabPanel.d.ts +8 -0
  27. package/lib/components/Tabs/Tabs.d.ts +26 -0
  28. package/lib/components/Tabs/index.d.ts +3 -0
  29. package/lib/components/TextField/index.d.ts +0 -1
  30. package/lib/components/Toast/utils.d.ts +9 -22
  31. package/lib/components/Tooltip/index.d.ts +1 -1
  32. package/lib/{chevron-064d5f96.js → copy-d2ade017.js} +5 -5
  33. package/lib/index.d.ts +7 -1
  34. package/lib/index.js +436 -73
  35. package/lib/{arrow-97011665.js → info-square-f193e281.js} +5 -7
  36. package/lib/magnifying-glass-2907fb77.js +23 -0
  37. package/lib/{triangle-51d7723a.js → menu-2f2be7c2.js} +5 -6
  38. package/lib/recycle-0198fb67.js +25 -0
  39. package/lib/robot-22863b2b.js +29 -0
  40. package/lib/triangle-42e0eece.js +25 -0
  41. package/lib/types.d.ts +7 -0
  42. package/lib/utils/polymorphic-type/index.d.ts +40 -0
  43. package/lib/utils/use-did-update/index.d.ts +10 -0
  44. package/package.json +3 -2
  45. package/lib/menu-2bb052ac.js +0 -43
@@ -8,19 +8,19 @@ var React__default = _interopDefault(React);
8
8
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
9
9
 
10
10
  var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M15.02 12a.35.35 0 00-.1-.24l-4.83-4.85a.332.332 0 00-.47-.01l-.01.01-.52.52c-.14.13-.14.33-.02.47l.01.01 4.1 4.09-4.1 4.09c-.13.13-.14.33-.01.47l.01.01.52.52c.13.13.33.14.47.01l.01-.01 4.85-4.85c.06-.07.09-.15.09-.24z",
11
+ d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",
12
12
  vectorEffect: "non-scaling-stroke",
13
13
  fill: "currentColor"
14
14
  });
15
15
 
16
- function SvgChevron(props) {
16
+ function SvgCopy(props) {
17
17
  return /*#__PURE__*/React.createElement("svg", _extends({
18
18
  overflow: "visible",
19
19
  preserveAspectRatio: "none",
20
20
  viewBox: "0 0 24 24",
21
- width: 25,
22
- height: 25
21
+ width: 19,
22
+ height: 19
23
23
  }, props), _ref);
24
24
  }
25
25
 
26
- exports.default = SvgChevron;
26
+ exports.default = SvgCopy;
package/lib/index.d.ts CHANGED
@@ -4,12 +4,13 @@
4
4
  export { default as Workspace } from './components/Workspace';
5
5
  export { default as Main } from './components/Main';
6
6
  export { default as Layout } from './components/Layout';
7
- export { default as Icon } from './components/Icon';
7
+ export { default as Icon, IconType, iconTypes } from './components/Icon';
8
8
  export { default as Offscreen } from './components/Offscreen';
9
9
  export { default as Scrim } from './components/Scrim';
10
10
  export { default as MenuItem } from './components/MenuItem';
11
11
  export { default as MenuBar } from './components/MenuBar';
12
12
  export { default as TopBar, TopBarTrigger, TopBarMenu, TopBarItem } from './components/TopBar';
13
+ export { default as NavBar, NavItem } from './components/NavBar';
13
14
  export { default as SideBar } from './components/SideBar';
14
15
  export { Alert, AlertContent, AlertActions } from './components/Alert';
15
16
  export { Dialog, DialogContent, DialogFooter } from './components/Dialog';
@@ -37,13 +38,18 @@ export { default as LoaderOverlay } from './components/LoaderOverlay';
37
38
  export { default as Line } from './components/Line';
38
39
  export { default as Tag, TagLabel } from './components/Tag';
39
40
  export { default as Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from './components/Table';
41
+ export { default as Tabs, Tab, TabPanel } from './components/Tabs';
40
42
  export { DescriptionList, DescriptionListItem, DescriptionTerm, DescriptionDetails } from './components/DescriptionList';
41
43
  export { default as Stepper, Step } from './components/Stepper';
44
+ export { default as Panel } from './components/Panel';
45
+ export { default as ProgressBar } from './components/ProgressBar';
46
+ export { Address, AddressLine, AddressCityStateZip } from './components/Address';
42
47
  /**
43
48
  * Helpers / Utils
44
49
  */
45
50
  export { default as AriaIsolate } from './utils/aria-isolate';
46
51
  export { default as focusableSelector } from './utils/focusable-selector';
52
+ export { default as useDidUpdate } from './utils/use-did-update';
47
53
  /**
48
54
  * Contexts
49
55
  */