@moda/om 21.3.0 → 21.4.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/dist/index.cjs.js +10 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +10 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/src/components/Divider/Divider.d.ts +1 -1
- package/dist/src/components/Divider/Divider.stories.d.ts +1 -0
- package/dist/src/components/Divider/LineAboveDivider.d.ts +3 -0
- package/dist/src/components/Divider/index.d.ts +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/styles.css +1 -1
- package/package.json +2 -2
- package/src/components/Divider/Divider.scss +14 -0
- package/src/components/Divider/Divider.stories.tsx +10 -2
- package/src/components/Divider/Divider.tsx +1 -1
- package/src/components/Divider/LineAboveDivider.tsx +6 -0
- package/src/components/Divider/index.ts +1 -0
package/dist/index.esm.js
CHANGED
|
@@ -356,6 +356,7 @@ function requireColors() {
|
|
|
356
356
|
"elephant": "rgb(202, 203, 204)",
|
|
357
357
|
"noise": "rgb(242, 243, 245)",
|
|
358
358
|
"snow": "rgb(255, 255, 255)",
|
|
359
|
+
"silver": "rgb(217, 217, 217)",
|
|
359
360
|
"strawberry": "rgb(250, 222, 221)",
|
|
360
361
|
"code-red": "rgb(238, 7, 0)",
|
|
361
362
|
"mint": "rgb(227, 251, 226)",
|
|
@@ -427,7 +428,8 @@ function requireColors() {
|
|
|
427
428
|
"fog": "rgb(151, 152, 153)",
|
|
428
429
|
"elephant": "rgb(202, 203, 204)",
|
|
429
430
|
"noise": "rgb(242, 243, 245)",
|
|
430
|
-
"snow": "rgb(255, 255, 255)"
|
|
431
|
+
"snow": "rgb(255, 255, 255)",
|
|
432
|
+
"silver": "rgb(217, 217, 217)"
|
|
431
433
|
}
|
|
432
434
|
};
|
|
433
435
|
return colors;
|
|
@@ -11204,6 +11206,12 @@ var NoLineDivider = function NoLineDivider(props) {
|
|
|
11204
11206
|
}));
|
|
11205
11207
|
};
|
|
11206
11208
|
|
|
11209
|
+
var LineAboveDivider = function LineAboveDivider(props) {
|
|
11210
|
+
return /*#__PURE__*/React__default.createElement(Divider, _extends$1({}, props, {
|
|
11211
|
+
type: "line-above"
|
|
11212
|
+
}));
|
|
11213
|
+
};
|
|
11214
|
+
|
|
11207
11215
|
var _excluded$c = ["name", "children", "className", "virtual", "icon", "data-testid", "defaultExpanded", "expanded", "onToggle", "background", "border"];
|
|
11208
11216
|
var Expandable = function Expandable(_ref) {
|
|
11209
11217
|
var name = _ref.name,
|
|
@@ -12677,4 +12685,4 @@ var Utilities = {
|
|
|
12677
12685
|
States: States
|
|
12678
12686
|
};
|
|
12679
12687
|
|
|
12680
|
-
export { ArcWindow, AspectRatioBox, Badge, Bradley, Brancusi, Breadcrumb, Breadcrumbs, Breakpoint, BreakpointContext, BreakpointProvider, Button, Checkbox, Circle, Clickable, ColorSwatch, ConfirmProvider, Constrain, ControlLink, CreditCardNumberInput, DEFAULT_PRODUCT_ASPECT_HEIGHT, DEFAULT_PRODUCT_ASPECT_RATIO, DEFAULT_PRODUCT_ASPECT_WIDTH, DefinitionList, Dialog, Diamond, Divider, ExceedConstrain, Expandable, Field, FocusOn, Field as Input, Keyhole, Label, Loading, LoadingBalls, LoadingItems1, LoadingItems2, LoadingItems3, LoadingItems4, LoadingItems5, LoadingItemsLavenderBlue1, LoadingItemsLavenderBlue2, LoadingItemsLavenderBlue3, LoadingItemsLavenderBlue4, LoadingItemsLavenderBlue5, LoadingShapes, LoadingShapesLavenderBlue, LoadingShapesPinkGreen, Mirror, Modal, ModalOverlay, MultiSelect, NavigationPreventer, NoLineDivider, Oval, Overlay, POPOVER_MOUSEOUT_DELAY_MS, Paginator, PasswordInput, Popover, PromoBanner, RadioButton, SKU_COLORS, SearchInput, Select, SelectableButton, SlidingPane, Stack, Tab, TabList, TabPanel, TabPanels, Tabs, Tag, Text, TextInput, Textarea, Toast, Triangle, TwoLineDivider, UNMOUNT_DELAY_MS, Utilities, VerticalDivider, Window, discriminate, tokens, useBreakpoint, useClickOutside, useConfirm, useKeyboardListNavigation, usePreventNavigation, useUpdateEffect };
|
|
12688
|
+
export { ArcWindow, AspectRatioBox, Badge, Bradley, Brancusi, Breadcrumb, Breadcrumbs, Breakpoint, BreakpointContext, BreakpointProvider, Button, Checkbox, Circle, Clickable, ColorSwatch, ConfirmProvider, Constrain, ControlLink, CreditCardNumberInput, DEFAULT_PRODUCT_ASPECT_HEIGHT, DEFAULT_PRODUCT_ASPECT_RATIO, DEFAULT_PRODUCT_ASPECT_WIDTH, DefinitionList, Dialog, Diamond, Divider, ExceedConstrain, Expandable, Field, FocusOn, Field as Input, Keyhole, Label, LineAboveDivider, Loading, LoadingBalls, LoadingItems1, LoadingItems2, LoadingItems3, LoadingItems4, LoadingItems5, LoadingItemsLavenderBlue1, LoadingItemsLavenderBlue2, LoadingItemsLavenderBlue3, LoadingItemsLavenderBlue4, LoadingItemsLavenderBlue5, LoadingShapes, LoadingShapesLavenderBlue, LoadingShapesPinkGreen, Mirror, Modal, ModalOverlay, MultiSelect, NavigationPreventer, NoLineDivider, Oval, Overlay, POPOVER_MOUSEOUT_DELAY_MS, Paginator, PasswordInput, Popover, PromoBanner, RadioButton, SKU_COLORS, SearchInput, Select, SelectableButton, SlidingPane, Stack, Tab, TabList, TabPanel, TabPanels, Tabs, Tag, Text, TextInput, Textarea, Toast, Triangle, TwoLineDivider, UNMOUNT_DELAY_MS, Utilities, VerticalDivider, Window, discriminate, tokens, useBreakpoint, useClickOutside, useConfirm, useKeyboardListNavigation, usePreventNavigation, useUpdateEffect };
|