@nulogy/components 9.0.3 → 10.0.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/main.js +75 -84
- package/dist/main.module.js +75 -85
- package/dist/src/Alert/Alert.d.ts +7 -1
- package/dist/src/Alert/index.d.ts +2 -1
- package/dist/src/Box/Box.d.ts +9 -28
- package/dist/src/BrandedNavBar/NavBarBackground.d.ts +5 -2
- package/dist/src/Breadcrumbs/Breadcrumbs.d.ts +6 -1
- package/dist/src/Card/CardSet.d.ts +1 -1
- package/dist/src/Divider/Divider.d.ts +1 -2
- package/dist/src/DropdownMenu/DropdownButton.d.ts +2 -1
- package/dist/src/FieldLabel/HelpText.d.ts +2 -2
- package/dist/src/Flex/Flex.d.ts +6 -2
- package/dist/src/Flex/Flex.story.d.ts +0 -12
- package/dist/src/Form/Field.d.ts +1 -2
- package/dist/src/NavBar/NavBar.d.ts +5 -1
- package/dist/src/StyledProps/index.d.ts +28 -7
- package/dist/src/Tabs/TabContainer.d.ts +1 -2
- package/dist/src/Tooltip/TooltipContainer.d.ts +2 -2
- package/dist/src/Type/Headings.d.ts +8 -8
- package/dist/src/Type/Text.d.ts +1 -1
- package/dist/src/index.d.ts +3 -2
- package/package.json +2 -2
- package/dist/src/StyledProps/cursor.d.ts +0 -4
- package/dist/src/StyledProps/textOverflow.d.ts +0 -5
- package/dist/src/StyledProps/transform.d.ts +0 -4
- package/dist/src/StyledProps/transition.d.ts +0 -8
- package/dist/src/StyledProps/visibility.d.ts +0 -4
package/dist/main.js
CHANGED
|
@@ -8246,97 +8246,87 @@
|
|
|
8246
8246
|
prop: 'colors'
|
|
8247
8247
|
});
|
|
8248
8248
|
|
|
8249
|
-
layout.width
|
|
8250
|
-
layout.height
|
|
8251
|
-
layout.minWidth
|
|
8252
|
-
layout.minHeight
|
|
8253
|
-
layout.maxWidth
|
|
8254
|
-
layout.maxHeight
|
|
8255
|
-
layout.size
|
|
8256
|
-
layout.verticalAlign
|
|
8257
|
-
|
|
8249
|
+
var width = layout.width,
|
|
8250
|
+
height = layout.height,
|
|
8251
|
+
minWidth = layout.minWidth,
|
|
8252
|
+
minHeight = layout.minHeight,
|
|
8253
|
+
maxWidth = layout.maxWidth,
|
|
8254
|
+
maxHeight = layout.maxHeight,
|
|
8255
|
+
size = layout.size,
|
|
8256
|
+
verticalAlign = layout.verticalAlign,
|
|
8257
|
+
display = layout.display,
|
|
8258
8258
|
overflow = layout.overflow;
|
|
8259
8259
|
layout.overflowX;
|
|
8260
8260
|
layout.overflowY;
|
|
8261
|
-
color.opacity;
|
|
8262
|
-
var fontSize = typography.fontSize
|
|
8263
|
-
typography.fontFamily
|
|
8264
|
-
typography.fontWeight
|
|
8265
|
-
|
|
8266
|
-
textAlign = typography.textAlign
|
|
8267
|
-
typography.fontStyle
|
|
8268
|
-
typography.letterSpacing;
|
|
8269
|
-
flexbox.alignItems
|
|
8270
|
-
flexbox.alignContent
|
|
8271
|
-
flexbox.justifyItems
|
|
8272
|
-
flexbox.justifyContent
|
|
8273
|
-
flexbox.flexWrap
|
|
8274
|
-
flexbox.flexDirection
|
|
8275
|
-
flexbox.flex
|
|
8276
|
-
|
|
8261
|
+
var opacity = color.opacity;
|
|
8262
|
+
var fontSize = typography.fontSize,
|
|
8263
|
+
fontFamily = typography.fontFamily,
|
|
8264
|
+
fontWeight = typography.fontWeight,
|
|
8265
|
+
lineHeight = typography.lineHeight,
|
|
8266
|
+
textAlign = typography.textAlign,
|
|
8267
|
+
fontStyle = typography.fontStyle,
|
|
8268
|
+
letterSpacing = typography.letterSpacing;
|
|
8269
|
+
var alignItems = flexbox.alignItems,
|
|
8270
|
+
alignContent = flexbox.alignContent,
|
|
8271
|
+
justifyItems = flexbox.justifyItems,
|
|
8272
|
+
justifyContent = flexbox.justifyContent,
|
|
8273
|
+
flexWrap = flexbox.flexWrap,
|
|
8274
|
+
flexDirection = flexbox.flexDirection,
|
|
8275
|
+
flex = flexbox.flex,
|
|
8276
|
+
flexGrow = flexbox.flexGrow;
|
|
8277
8277
|
flexbox.flexShrink;
|
|
8278
|
-
flexbox.flexBasis
|
|
8279
|
-
flexbox.justifySelf
|
|
8280
|
-
flexbox.alignSelf
|
|
8281
|
-
|
|
8282
|
-
grid.gridGap
|
|
8283
|
-
grid.gridColumnGap
|
|
8284
|
-
grid.gridRowGap
|
|
8285
|
-
grid.gridColumn
|
|
8286
|
-
grid.gridRow
|
|
8287
|
-
grid.gridAutoFlow
|
|
8288
|
-
grid.gridAutoColumns
|
|
8289
|
-
grid.gridAutoRows
|
|
8290
|
-
grid.gridTemplateColumns
|
|
8291
|
-
grid.gridTemplateRows
|
|
8292
|
-
grid.gridTemplateAreas
|
|
8293
|
-
grid.gridArea;
|
|
8278
|
+
var flexBasis = flexbox.flexBasis,
|
|
8279
|
+
justifySelf = flexbox.justifySelf,
|
|
8280
|
+
alignSelf = flexbox.alignSelf,
|
|
8281
|
+
order$1 = flexbox.order;
|
|
8282
|
+
var gridGap = grid.gridGap,
|
|
8283
|
+
gridColumnGap = grid.gridColumnGap,
|
|
8284
|
+
gridRowGap = grid.gridRowGap,
|
|
8285
|
+
gridColumn = grid.gridColumn,
|
|
8286
|
+
gridRow = grid.gridRow,
|
|
8287
|
+
gridAutoFlow = grid.gridAutoFlow,
|
|
8288
|
+
gridAutoColumns = grid.gridAutoColumns,
|
|
8289
|
+
gridAutoRows = grid.gridAutoRows,
|
|
8290
|
+
gridTemplateColumns = grid.gridTemplateColumns,
|
|
8291
|
+
gridTemplateRows = grid.gridTemplateRows,
|
|
8292
|
+
gridTemplateAreas = grid.gridTemplateAreas,
|
|
8293
|
+
gridArea = grid.gridArea;
|
|
8294
8294
|
border.borderWidth;
|
|
8295
8295
|
border.borderStyle;
|
|
8296
|
-
border.borderColor
|
|
8297
|
-
border.borderTop
|
|
8298
|
-
border.borderRight
|
|
8299
|
-
border.borderBottom
|
|
8300
|
-
border.borderLeft
|
|
8301
|
-
border.borderRadius;
|
|
8302
|
-
background.backgroundImage
|
|
8303
|
-
background.backgroundSize
|
|
8304
|
-
background.backgroundPosition
|
|
8305
|
-
background.backgroundRepeat;
|
|
8306
|
-
position.zIndex
|
|
8307
|
-
position.top
|
|
8308
|
-
position.right
|
|
8309
|
-
position.bottom
|
|
8310
|
-
position.left;
|
|
8311
|
-
|
|
8312
|
-
var
|
|
8296
|
+
var borderColor = border.borderColor,
|
|
8297
|
+
borderTop = border.borderTop,
|
|
8298
|
+
borderRight = border.borderRight,
|
|
8299
|
+
borderBottom = border.borderBottom,
|
|
8300
|
+
borderLeft = border.borderLeft,
|
|
8301
|
+
borderRadius$1 = border.borderRadius;
|
|
8302
|
+
var backgroundImage = background.backgroundImage,
|
|
8303
|
+
backgroundSize = background.backgroundSize,
|
|
8304
|
+
backgroundPosition = background.backgroundPosition,
|
|
8305
|
+
backgroundRepeat = background.backgroundRepeat;
|
|
8306
|
+
var zIndex = position.zIndex,
|
|
8307
|
+
top$1 = position.top,
|
|
8308
|
+
right$1 = position.right,
|
|
8309
|
+
bottom$1 = position.bottom,
|
|
8310
|
+
left$1 = position.left;
|
|
8311
|
+
|
|
8312
|
+
var addStyledProps = compose( // After
|
|
8313
|
+
space, margin, padding, width, fontSize, color, fontFamily, textAlign, lineHeight, fontWeight, fontStyle, letterSpacing, display, maxWidth, minWidth, height, maxHeight, minHeight, size, verticalAlign, alignItems, alignContent, justifyItems, justifyContent, flexWrap, flexBasis, flexDirection, flex, flexbox, justifySelf, alignSelf, order$1, grid, gridGap, gridColumnGap, gridRowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea, border, borderTop, borderRight, borderBottom, borderLeft, border, borderColor, borderRadius$1, shadow, opacity, overflow, position, zIndex, top$1, right$1, bottom$1, left$1, textStyle, colorStyle, buttonStyle, background, backgroundSize, backgroundRepeat, backgroundPosition, backgroundImage, layout, flexGrow, typography, system({
|
|
8314
|
+
visibility: true,
|
|
8313
8315
|
transition: true,
|
|
8314
|
-
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
transitionDelay: true
|
|
8318
|
-
});
|
|
8319
|
-
|
|
8320
|
-
var transform = system({
|
|
8321
|
-
transform: true
|
|
8322
|
-
});
|
|
8323
|
-
|
|
8324
|
-
var cursor$1 = system({
|
|
8316
|
+
transform: true,
|
|
8317
|
+
whiteSpace: true,
|
|
8318
|
+
textOverflow: true,
|
|
8325
8319
|
cursor: true
|
|
8326
|
-
});
|
|
8327
|
-
|
|
8328
|
-
var visibility = system({
|
|
8329
|
-
visibility: true
|
|
8330
|
-
});
|
|
8320
|
+
}));
|
|
8331
8321
|
|
|
8332
8322
|
var Box = styled__default["default"].div.withConfig({
|
|
8333
8323
|
displayName: "Box",
|
|
8334
8324
|
componentId: "sc-xda4ls-0"
|
|
8335
|
-
})(
|
|
8325
|
+
})(addStyledProps);
|
|
8336
8326
|
var AnimatedBox = styled__default["default"](motion.div).withConfig({
|
|
8337
8327
|
displayName: "Box__AnimatedBox",
|
|
8338
8328
|
componentId: "sc-xda4ls-1"
|
|
8339
|
-
})(
|
|
8329
|
+
})(addStyledProps);
|
|
8340
8330
|
|
|
8341
8331
|
/**
|
|
8342
8332
|
* Do not edit directly
|
|
@@ -8732,14 +8722,7 @@
|
|
|
8732
8722
|
property: "columnGap",
|
|
8733
8723
|
scale: "space"
|
|
8734
8724
|
}
|
|
8735
|
-
})
|
|
8736
|
-
|
|
8737
|
-
var textOverflow = system({
|
|
8738
|
-
whiteSpace: true,
|
|
8739
|
-
textOverflow: true
|
|
8740
|
-
});
|
|
8741
|
-
|
|
8742
|
-
var addStyledProps = compose(border, shadow, color, cursor$1, layout, overflow, space, textOverflow, transform, transition, typography, visibility, flexbox);
|
|
8725
|
+
}));
|
|
8743
8726
|
|
|
8744
8727
|
var getAttrs = function getAttrs(inline) {
|
|
8745
8728
|
return inline ? {
|
|
@@ -10197,6 +10180,13 @@
|
|
|
10197
10180
|
})));
|
|
10198
10181
|
};
|
|
10199
10182
|
|
|
10183
|
+
var NotificationTypes = {
|
|
10184
|
+
danger: "danger",
|
|
10185
|
+
informative: "informative",
|
|
10186
|
+
success: "success",
|
|
10187
|
+
warning: "warning"
|
|
10188
|
+
};
|
|
10189
|
+
|
|
10200
10190
|
var styles = function styles(_ref) {
|
|
10201
10191
|
var theme = _ref.theme;
|
|
10202
10192
|
return {
|
|
@@ -52367,6 +52357,7 @@
|
|
|
52367
52357
|
exports.NDSProvider = NDSProvider;
|
|
52368
52358
|
exports.NavBar = NavBar;
|
|
52369
52359
|
exports.NavBarBackground = NavBarBackground$1;
|
|
52360
|
+
exports.NotificationTypes = NotificationTypes;
|
|
52370
52361
|
exports.Overlay = Overlay;
|
|
52371
52362
|
exports.Page = Page;
|
|
52372
52363
|
exports.Pagination = Pagination;
|
package/dist/main.module.js
CHANGED
|
@@ -8229,97 +8229,87 @@ var colorStyle = variant({
|
|
|
8229
8229
|
prop: 'colors'
|
|
8230
8230
|
});
|
|
8231
8231
|
|
|
8232
|
-
layout.width
|
|
8233
|
-
layout.height
|
|
8234
|
-
layout.minWidth
|
|
8235
|
-
layout.minHeight
|
|
8236
|
-
layout.maxWidth
|
|
8237
|
-
layout.maxHeight
|
|
8238
|
-
layout.size
|
|
8239
|
-
layout.verticalAlign
|
|
8240
|
-
|
|
8232
|
+
var width = layout.width,
|
|
8233
|
+
height = layout.height,
|
|
8234
|
+
minWidth = layout.minWidth,
|
|
8235
|
+
minHeight = layout.minHeight,
|
|
8236
|
+
maxWidth = layout.maxWidth,
|
|
8237
|
+
maxHeight = layout.maxHeight,
|
|
8238
|
+
size = layout.size,
|
|
8239
|
+
verticalAlign = layout.verticalAlign,
|
|
8240
|
+
display = layout.display,
|
|
8241
8241
|
overflow = layout.overflow;
|
|
8242
8242
|
layout.overflowX;
|
|
8243
8243
|
layout.overflowY;
|
|
8244
|
-
color.opacity;
|
|
8245
|
-
var fontSize = typography.fontSize
|
|
8246
|
-
typography.fontFamily
|
|
8247
|
-
typography.fontWeight
|
|
8248
|
-
|
|
8249
|
-
textAlign = typography.textAlign
|
|
8250
|
-
typography.fontStyle
|
|
8251
|
-
typography.letterSpacing;
|
|
8252
|
-
flexbox.alignItems
|
|
8253
|
-
flexbox.alignContent
|
|
8254
|
-
flexbox.justifyItems
|
|
8255
|
-
flexbox.justifyContent
|
|
8256
|
-
flexbox.flexWrap
|
|
8257
|
-
flexbox.flexDirection
|
|
8258
|
-
flexbox.flex
|
|
8259
|
-
|
|
8244
|
+
var opacity = color.opacity;
|
|
8245
|
+
var fontSize = typography.fontSize,
|
|
8246
|
+
fontFamily = typography.fontFamily,
|
|
8247
|
+
fontWeight = typography.fontWeight,
|
|
8248
|
+
lineHeight = typography.lineHeight,
|
|
8249
|
+
textAlign = typography.textAlign,
|
|
8250
|
+
fontStyle = typography.fontStyle,
|
|
8251
|
+
letterSpacing = typography.letterSpacing;
|
|
8252
|
+
var alignItems = flexbox.alignItems,
|
|
8253
|
+
alignContent = flexbox.alignContent,
|
|
8254
|
+
justifyItems = flexbox.justifyItems,
|
|
8255
|
+
justifyContent = flexbox.justifyContent,
|
|
8256
|
+
flexWrap = flexbox.flexWrap,
|
|
8257
|
+
flexDirection = flexbox.flexDirection,
|
|
8258
|
+
flex = flexbox.flex,
|
|
8259
|
+
flexGrow = flexbox.flexGrow;
|
|
8260
8260
|
flexbox.flexShrink;
|
|
8261
|
-
flexbox.flexBasis
|
|
8262
|
-
flexbox.justifySelf
|
|
8263
|
-
flexbox.alignSelf
|
|
8264
|
-
|
|
8265
|
-
grid.gridGap
|
|
8266
|
-
grid.gridColumnGap
|
|
8267
|
-
grid.gridRowGap
|
|
8268
|
-
grid.gridColumn
|
|
8269
|
-
grid.gridRow
|
|
8270
|
-
grid.gridAutoFlow
|
|
8271
|
-
grid.gridAutoColumns
|
|
8272
|
-
grid.gridAutoRows
|
|
8273
|
-
grid.gridTemplateColumns
|
|
8274
|
-
grid.gridTemplateRows
|
|
8275
|
-
grid.gridTemplateAreas
|
|
8276
|
-
grid.gridArea;
|
|
8261
|
+
var flexBasis = flexbox.flexBasis,
|
|
8262
|
+
justifySelf = flexbox.justifySelf,
|
|
8263
|
+
alignSelf = flexbox.alignSelf,
|
|
8264
|
+
order$1 = flexbox.order;
|
|
8265
|
+
var gridGap = grid.gridGap,
|
|
8266
|
+
gridColumnGap = grid.gridColumnGap,
|
|
8267
|
+
gridRowGap = grid.gridRowGap,
|
|
8268
|
+
gridColumn = grid.gridColumn,
|
|
8269
|
+
gridRow = grid.gridRow,
|
|
8270
|
+
gridAutoFlow = grid.gridAutoFlow,
|
|
8271
|
+
gridAutoColumns = grid.gridAutoColumns,
|
|
8272
|
+
gridAutoRows = grid.gridAutoRows,
|
|
8273
|
+
gridTemplateColumns = grid.gridTemplateColumns,
|
|
8274
|
+
gridTemplateRows = grid.gridTemplateRows,
|
|
8275
|
+
gridTemplateAreas = grid.gridTemplateAreas,
|
|
8276
|
+
gridArea = grid.gridArea;
|
|
8277
8277
|
border.borderWidth;
|
|
8278
8278
|
border.borderStyle;
|
|
8279
|
-
border.borderColor
|
|
8280
|
-
border.borderTop
|
|
8281
|
-
border.borderRight
|
|
8282
|
-
border.borderBottom
|
|
8283
|
-
border.borderLeft
|
|
8284
|
-
border.borderRadius;
|
|
8285
|
-
background.backgroundImage
|
|
8286
|
-
background.backgroundSize
|
|
8287
|
-
background.backgroundPosition
|
|
8288
|
-
background.backgroundRepeat;
|
|
8289
|
-
position.zIndex
|
|
8290
|
-
position.top
|
|
8291
|
-
position.right
|
|
8292
|
-
position.bottom
|
|
8293
|
-
position.left;
|
|
8294
|
-
|
|
8295
|
-
var
|
|
8279
|
+
var borderColor = border.borderColor,
|
|
8280
|
+
borderTop = border.borderTop,
|
|
8281
|
+
borderRight = border.borderRight,
|
|
8282
|
+
borderBottom = border.borderBottom,
|
|
8283
|
+
borderLeft = border.borderLeft,
|
|
8284
|
+
borderRadius$1 = border.borderRadius;
|
|
8285
|
+
var backgroundImage = background.backgroundImage,
|
|
8286
|
+
backgroundSize = background.backgroundSize,
|
|
8287
|
+
backgroundPosition = background.backgroundPosition,
|
|
8288
|
+
backgroundRepeat = background.backgroundRepeat;
|
|
8289
|
+
var zIndex = position.zIndex,
|
|
8290
|
+
top$1 = position.top,
|
|
8291
|
+
right$1 = position.right,
|
|
8292
|
+
bottom$1 = position.bottom,
|
|
8293
|
+
left$1 = position.left;
|
|
8294
|
+
|
|
8295
|
+
var addStyledProps = compose( // After
|
|
8296
|
+
space, margin, padding, width, fontSize, color, fontFamily, textAlign, lineHeight, fontWeight, fontStyle, letterSpacing, display, maxWidth, minWidth, height, maxHeight, minHeight, size, verticalAlign, alignItems, alignContent, justifyItems, justifyContent, flexWrap, flexBasis, flexDirection, flex, flexbox, justifySelf, alignSelf, order$1, grid, gridGap, gridColumnGap, gridRowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea, border, borderTop, borderRight, borderBottom, borderLeft, border, borderColor, borderRadius$1, shadow, opacity, overflow, position, zIndex, top$1, right$1, bottom$1, left$1, textStyle, colorStyle, buttonStyle, background, backgroundSize, backgroundRepeat, backgroundPosition, backgroundImage, layout, flexGrow, typography, system({
|
|
8297
|
+
visibility: true,
|
|
8296
8298
|
transition: true,
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
transitionDelay: true
|
|
8301
|
-
});
|
|
8302
|
-
|
|
8303
|
-
var transform = system({
|
|
8304
|
-
transform: true
|
|
8305
|
-
});
|
|
8306
|
-
|
|
8307
|
-
var cursor$1 = system({
|
|
8299
|
+
transform: true,
|
|
8300
|
+
whiteSpace: true,
|
|
8301
|
+
textOverflow: true,
|
|
8308
8302
|
cursor: true
|
|
8309
|
-
});
|
|
8310
|
-
|
|
8311
|
-
var visibility = system({
|
|
8312
|
-
visibility: true
|
|
8313
|
-
});
|
|
8303
|
+
}));
|
|
8314
8304
|
|
|
8315
8305
|
var Box = styled.div.withConfig({
|
|
8316
8306
|
displayName: "Box",
|
|
8317
8307
|
componentId: "sc-xda4ls-0"
|
|
8318
|
-
})(
|
|
8308
|
+
})(addStyledProps);
|
|
8319
8309
|
var AnimatedBox = styled(motion.div).withConfig({
|
|
8320
8310
|
displayName: "Box__AnimatedBox",
|
|
8321
8311
|
componentId: "sc-xda4ls-1"
|
|
8322
|
-
})(
|
|
8312
|
+
})(addStyledProps);
|
|
8323
8313
|
|
|
8324
8314
|
/**
|
|
8325
8315
|
* Do not edit directly
|
|
@@ -8715,14 +8705,7 @@ var Flex = styled(Box).withConfig({
|
|
|
8715
8705
|
property: "columnGap",
|
|
8716
8706
|
scale: "space"
|
|
8717
8707
|
}
|
|
8718
|
-
})
|
|
8719
|
-
|
|
8720
|
-
var textOverflow = system({
|
|
8721
|
-
whiteSpace: true,
|
|
8722
|
-
textOverflow: true
|
|
8723
|
-
});
|
|
8724
|
-
|
|
8725
|
-
var addStyledProps = compose(border, shadow, color, cursor$1, layout, overflow, space, textOverflow, transform, transition, typography, visibility, flexbox);
|
|
8708
|
+
}));
|
|
8726
8709
|
|
|
8727
8710
|
var getAttrs = function getAttrs(inline) {
|
|
8728
8711
|
return inline ? {
|
|
@@ -10180,6 +10163,13 @@ var CloseButton$1 = function CloseButton(_ref) {
|
|
|
10180
10163
|
})));
|
|
10181
10164
|
};
|
|
10182
10165
|
|
|
10166
|
+
var NotificationTypes = {
|
|
10167
|
+
danger: "danger",
|
|
10168
|
+
informative: "informative",
|
|
10169
|
+
success: "success",
|
|
10170
|
+
warning: "warning"
|
|
10171
|
+
};
|
|
10172
|
+
|
|
10183
10173
|
var styles = function styles(_ref) {
|
|
10184
10174
|
var theme = _ref.theme;
|
|
10185
10175
|
return {
|
|
@@ -52295,4 +52285,4 @@ TruncatedText.defaultProps = {
|
|
|
52295
52285
|
tooltipProps: undefined
|
|
52296
52286
|
};
|
|
52297
52287
|
|
|
52298
|
-
export { ALL_NDS_LOCALES, Alert$1 as Alert, AnimatedBox, ApplicationFrame, AsyncSelect, Banner, Box, BrandLogoContainer, NavBar$1 as BrandedNavBar, Branding, Breadcrumbs, Button, ButtonGroup, Card, CardSet, Checkbox, CheckboxGroup, ControlIcon, DangerButton, DatePicker, DateRange, DesktopMenu$1 as DesktopMenu, Divider$1 as Divider, DropdownButton, DropdownItem, DropdownLink, DropdownMenu, DropdownText, EnvironmentBanner, Field, FieldLabel, Fieldset, Flex, Form, FormSection, Header, Heading1, Heading2, Heading3, Heading4, HelpText, Icon, IconicButton, InlineIcon, InlineValidation, Input, Link, List, ListItem, LoadingAnimation, MenuTrigger$1 as MenuTrigger, Modal, NDSProvider, NavBar, NavBarBackground$1 as NavBarBackground, Overlay, Page, Pagination, PrimaryButton, QuietButton, Radio, RadioGroup, RangeContainer, RequirementText, ReactSelect as Select, SelectClearIndicator, SelectContainer, SelectControl, SelectDropdownIndicator, SelectInput, SelectMenu, SelectMultiValue, SelectOption, Sidebar, SmallNavBar$1 as SmallNavBar, SortingTable, StatusIndicator, StatusIndicatorValues, Summary, SummaryDivider, SummaryItem, Switch$1 as Switch, Switcher, Tab, Table, Tabs, Text, Textarea, TimePicker, TimeRange, Toast, ToastContainer, ToggleComponent as Toggle, Tooltip, TruncatedText, addStyledProps, Theme as theme, toast, useWindowDimensions };
|
|
52288
|
+
export { ALL_NDS_LOCALES, Alert$1 as Alert, AnimatedBox, ApplicationFrame, AsyncSelect, Banner, Box, BrandLogoContainer, NavBar$1 as BrandedNavBar, Branding, Breadcrumbs, Button, ButtonGroup, Card, CardSet, Checkbox, CheckboxGroup, ControlIcon, DangerButton, DatePicker, DateRange, DesktopMenu$1 as DesktopMenu, Divider$1 as Divider, DropdownButton, DropdownItem, DropdownLink, DropdownMenu, DropdownText, EnvironmentBanner, Field, FieldLabel, Fieldset, Flex, Form, FormSection, Header, Heading1, Heading2, Heading3, Heading4, HelpText, Icon, IconicButton, InlineIcon, InlineValidation, Input, Link, List, ListItem, LoadingAnimation, MenuTrigger$1 as MenuTrigger, Modal, NDSProvider, NavBar, NavBarBackground$1 as NavBarBackground, NotificationTypes, Overlay, Page, Pagination, PrimaryButton, QuietButton, Radio, RadioGroup, RangeContainer, RequirementText, ReactSelect as Select, SelectClearIndicator, SelectContainer, SelectControl, SelectDropdownIndicator, SelectInput, SelectMenu, SelectMultiValue, SelectOption, Sidebar, SmallNavBar$1 as SmallNavBar, SortingTable, StatusIndicator, StatusIndicatorValues, Summary, SummaryDivider, SummaryItem, Switch$1 as Switch, Switcher, Tab, Table, Tabs, Text, Textarea, TimePicker, TimeRange, Toast, ToastContainer, ToggleComponent as Toggle, Tooltip, TruncatedText, addStyledProps, Theme as theme, toast, useWindowDimensions };
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { FlexProps } from "../Flex/Flex";
|
|
3
|
-
|
|
3
|
+
export declare const NotificationTypes: {
|
|
4
|
+
readonly danger: "danger";
|
|
5
|
+
readonly informative: "informative";
|
|
6
|
+
readonly success: "success";
|
|
7
|
+
readonly warning: "warning";
|
|
8
|
+
};
|
|
9
|
+
export type NotificationType = typeof NotificationTypes[keyof typeof NotificationTypes];
|
|
4
10
|
export type AlertProps = FlexProps & {
|
|
5
11
|
isCloseable?: boolean;
|
|
6
12
|
closeAriaLabel?: string;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { default as Alert } from "./Alert";
|
|
1
|
+
export { default as Alert, NotificationTypes } from "./Alert";
|
|
2
|
+
export type { NotificationType } from "./Alert";
|
package/dist/src/Box/Box.d.ts
CHANGED
|
@@ -1,30 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentPropsWithRef } from "react";
|
|
2
2
|
import { MotionProps } from "framer-motion";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
boxSizing?: string;
|
|
12
|
-
};
|
|
13
|
-
type CssArg = {
|
|
14
|
-
theme: ThemeType;
|
|
15
|
-
};
|
|
16
|
-
export type BoxProps = SharedBoxProps & TransitionProps & React.ComponentPropsWithRef<"div"> & {
|
|
17
|
-
as?: string;
|
|
18
|
-
css?: (props: CssArg) => any;
|
|
19
|
-
};
|
|
20
|
-
declare const Box: React.FC<BoxProps>;
|
|
21
|
-
export type AnimatedBoxProps = SharedBoxProps & MotionProps & {
|
|
22
|
-
role?: string;
|
|
23
|
-
ref?: any;
|
|
24
|
-
onClick?: (event: React.MouseEvent<any>) => void;
|
|
25
|
-
onMouseEnter?: (event: React.MouseEvent<any>) => void;
|
|
26
|
-
onMouseOut?: (event: React.MouseEvent<any>) => void;
|
|
27
|
-
onMouseDown?: (event: React.MouseEvent<any>) => void;
|
|
28
|
-
};
|
|
29
|
-
export declare const AnimatedBox: React.FC<AnimatedBoxProps>;
|
|
3
|
+
import { StyledProps } from "../StyledProps";
|
|
4
|
+
export interface BoxProps extends StyledProps, ComponentPropsWithRef<"div"> {
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
}
|
|
7
|
+
declare const Box: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, BoxProps, never>;
|
|
8
|
+
export interface AnimatedBoxProps extends MotionProps, Omit<BoxProps, "onAnimationStart" | "onDrag" | "onDragStart" | "onDragEnd" | "style" | "transition"> {
|
|
9
|
+
}
|
|
10
|
+
export declare const AnimatedBox: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, import("styled-components").DefaultTheme, AnimatedBoxProps, never>;
|
|
30
11
|
export default Box;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DefaultNDSThemeType } from "../theme.type";
|
|
3
2
|
import { StyledProps } from "../StyledProps";
|
|
4
3
|
export type NavBarBackgroundProps = {
|
|
5
4
|
theme?: DefaultNDSThemeType;
|
|
6
5
|
} & StyledProps;
|
|
7
|
-
declare const NavBarBackground: import("styled-components").StyledComponent<
|
|
6
|
+
declare const NavBarBackground: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Box/Box").BoxProps & {
|
|
7
|
+
gap?: import("csstype").Property.Gap<string | number>;
|
|
8
|
+
rowGap?: import("csstype").Property.RowGap<string | number>;
|
|
9
|
+
columnGap?: import("csstype").Property.ColumnGap<string | number>;
|
|
10
|
+
}, never>;
|
|
8
11
|
export default NavBarBackground;
|
|
@@ -4,5 +4,10 @@ import { ComponentSize } from "../NDSProvider/ComponentSizeContext";
|
|
|
4
4
|
type BreadcrumbsProps = Omit<FlexProps, "size"> & {
|
|
5
5
|
size?: ComponentSize;
|
|
6
6
|
};
|
|
7
|
-
declare const Breadcrumbs:
|
|
7
|
+
declare const Breadcrumbs: {
|
|
8
|
+
({ size, children, ...props }: BreadcrumbsProps): React.JSX.Element;
|
|
9
|
+
defaultProps: {
|
|
10
|
+
as: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
8
13
|
export default Breadcrumbs;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { BoxProps } from "../Box/Box";
|
|
3
|
-
declare const CardSet: import("styled-components").StyledComponent<React.
|
|
3
|
+
declare const CardSet: import("styled-components").StyledComponent<({ children, ...props }: BoxProps) => React.JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export default CardSet;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { BoxProps } from "../Box/Box";
|
|
3
|
-
|
|
4
|
-
declare const Divider: ({ borderColor, ...props }: DividerProps) => React.JSX.Element;
|
|
3
|
+
declare const Divider: ({ borderColor, ...props }: BoxProps) => React.JSX.Element;
|
|
5
4
|
export default Divider;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { DefaultNDSThemeType } from "../theme.type";
|
|
3
|
+
import { StyledProps } from "../StyledProps";
|
|
3
4
|
import { ComponentSize } from "../NDSProvider/ComponentSizeContext";
|
|
4
5
|
declare const DropdownButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
5
6
|
ref?: React.Ref<HTMLButtonElement>;
|
|
6
|
-
} &
|
|
7
|
+
} & StyledProps & {
|
|
7
8
|
size?: ComponentSize;
|
|
8
9
|
color?: string;
|
|
9
10
|
theme?: DefaultNDSThemeType;
|
|
@@ -4,7 +4,7 @@ declare const HelpText: import("styled-components").StyledComponent<"p", import(
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
|
|
6
6
|
fontSize?: string;
|
|
7
|
-
} & import("
|
|
8
|
-
theme?: import("
|
|
7
|
+
} & import("..").StyledProps & {
|
|
8
|
+
theme?: import("..").DefaultNDSThemeType;
|
|
9
9
|
}, never>;
|
|
10
10
|
export default HelpText;
|
package/dist/src/Flex/Flex.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CSSProperties } from "react";
|
|
2
2
|
import { BoxProps } from "../Box/Box";
|
|
3
3
|
export type FlexProps = BoxProps & {
|
|
4
4
|
gap?: CSSProperties["gap"];
|
|
5
5
|
rowGap?: CSSProperties["rowGap"];
|
|
6
6
|
columnGap?: CSSProperties["columnGap"];
|
|
7
7
|
};
|
|
8
|
-
declare const Flex:
|
|
8
|
+
declare const Flex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, BoxProps & {
|
|
9
|
+
gap?: CSSProperties["gap"];
|
|
10
|
+
rowGap?: CSSProperties["rowGap"];
|
|
11
|
+
columnGap?: CSSProperties["columnGap"];
|
|
12
|
+
}, never>;
|
|
9
13
|
export default Flex;
|
|
@@ -106,15 +106,3 @@ export declare const WithCustomOrder: {
|
|
|
106
106
|
name: string;
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
|
-
export declare const Ie11MinHeightSolution1: {
|
|
110
|
-
(): React.JSX.Element;
|
|
111
|
-
story: {
|
|
112
|
-
name: string;
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
export declare const Ie11MinHeightSolution2: {
|
|
116
|
-
(): React.JSX.Element;
|
|
117
|
-
story: {
|
|
118
|
-
name: string;
|
|
119
|
-
};
|
|
120
|
-
};
|
package/dist/src/Form/Field.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { BoxProps } from "../Box/Box";
|
|
3
2
|
export type FieldProps = BoxProps;
|
|
4
|
-
declare const Field: import("styled-components").StyledComponent<
|
|
3
|
+
declare const Field: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, BoxProps, never>;
|
|
5
4
|
export default Field;
|
|
@@ -2,7 +2,11 @@ import React from "react";
|
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
3
|
import { DefaultNDSThemeType } from "../theme.type";
|
|
4
4
|
export declare const getThemeColor: (themeColor: any) => any;
|
|
5
|
-
export declare const NavBarBackground: import("styled-components").StyledComponent<
|
|
5
|
+
export declare const NavBarBackground: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Box/Box").BoxProps & {
|
|
6
|
+
gap?: import("csstype").Property.Gap<string | number>;
|
|
7
|
+
rowGap?: import("csstype").Property.RowGap<string | number>;
|
|
8
|
+
columnGap?: import("csstype").Property.ColumnGap<string | number>;
|
|
9
|
+
} & {
|
|
6
10
|
backgroundColor: string;
|
|
7
11
|
theme?: DefaultNDSThemeType;
|
|
8
12
|
}, never>;
|
|
@@ -1,8 +1,29 @@
|
|
|
1
|
-
import { SpaceProps,
|
|
2
|
-
import {
|
|
3
|
-
import { CursorProps } from "./cursor";
|
|
4
|
-
import { TransformProps } from "./transform";
|
|
5
|
-
import { TransitionProps } from "./transition";
|
|
6
|
-
import { VisibilityProps } from "./visibility";
|
|
1
|
+
import type { SpaceProps, PaddingProps, MarginProps, WidthProps, FontSizeProps, FontFamilyProps, TextAlignProps, LineHeightProps, FontWeightProps, FontStyleProps, LetterSpacingProps, DisplayProps, MaxWidthProps, MinWidthProps, HeightProps, MaxHeightProps, MinHeightProps, SizeProps, VerticalAlignProps, AlignItemsProps, AlignContentProps, JustifyItemsProps, JustifyContentProps, FlexWrapProps, FlexBasisProps, FlexDirectionProps, FlexProps, JustifySelfProps, AlignSelfProps, OrderProps, GridGapProps, GridColumnGapProps, GridRowGapProps, GridColumnProps, GridRowProps, GridAutoFlowProps, GridAutoColumnsProps, GridAutoRowsProps, GridTemplateColumnsProps, GridTemplateRowsProps, GridTemplateAreasProps, GridAreaProps, BorderProps, BorderTopProps, BorderRightProps, BorderBottomProps, BorderLeftProps, BordersProps, BorderColorProps, BorderRadiusProps, BoxShadowProps, OpacityProps, OverflowProps, BackgroundProps, BackgroundImageProps, BackgroundPositionProps, BackgroundRepeatProps, BackgroundSizeProps, PositionProps, ZIndexProps, TopProps, RightProps, BottomProps, LeftProps, TextStyleProps, ColorStyleProps, ButtonStyleProps, FlexboxProps, GridProps, BackgroundColorProps, FlexGrowProps, TypographyProps, LayoutProps } from "styled-system";
|
|
2
|
+
import { CSSProperties } from "react";
|
|
7
3
|
export declare const addStyledProps: import("styled-system").styleFn;
|
|
8
|
-
|
|
4
|
+
interface TransitionProps {
|
|
5
|
+
transition?: CSSProperties["transition"];
|
|
6
|
+
transitionDelay?: CSSProperties["transitionDelay"];
|
|
7
|
+
transitionProperty?: CSSProperties["transition"];
|
|
8
|
+
transitionDuration?: CSSProperties["transitionDuration"];
|
|
9
|
+
transitionTimingFunction?: CSSProperties["transitionTimingFunction"];
|
|
10
|
+
}
|
|
11
|
+
interface TransformProps {
|
|
12
|
+
transform?: CSSProperties["transform"];
|
|
13
|
+
transformOrigin?: CSSProperties["transformOrigin"];
|
|
14
|
+
transformStyle?: CSSProperties["transformStyle"];
|
|
15
|
+
transformBox?: CSSProperties["transformBox"];
|
|
16
|
+
}
|
|
17
|
+
export type TextOverflowProps = {
|
|
18
|
+
whiteSpace?: CSSProperties["whiteSpace"];
|
|
19
|
+
textOverflow?: CSSProperties["textOverflow"];
|
|
20
|
+
};
|
|
21
|
+
export type VisibilityProps = {
|
|
22
|
+
visibility?: CSSProperties["visibility"];
|
|
23
|
+
};
|
|
24
|
+
export type CursorProps = {
|
|
25
|
+
cursor?: CSSProperties["cursor"];
|
|
26
|
+
};
|
|
27
|
+
export interface StyledProps extends SpaceProps, BackgroundColorProps, LayoutProps, FlexGrowProps, TypographyProps, MarginProps, PaddingProps, WidthProps, FontSizeProps, FontFamilyProps, TextAlignProps, LineHeightProps, FontWeightProps, FontStyleProps, LetterSpacingProps, DisplayProps, MaxWidthProps, MinWidthProps, HeightProps, MaxHeightProps, MinHeightProps, SizeProps, VerticalAlignProps, AlignItemsProps, AlignContentProps, JustifyItemsProps, JustifyContentProps, FlexWrapProps, FlexBasisProps, FlexDirectionProps, FlexProps, FlexboxProps, JustifySelfProps, AlignSelfProps, OrderProps, GridProps, GridGapProps, GridColumnGapProps, GridRowGapProps, GridColumnProps, GridRowProps, GridAutoFlowProps, GridAutoColumnsProps, GridAutoRowsProps, GridTemplateColumnsProps, GridTemplateRowsProps, GridTemplateAreasProps, GridAreaProps, BorderProps, BorderTopProps, BorderRightProps, BorderBottomProps, BorderLeftProps, BordersProps, BorderRadiusProps, BoxShadowProps, OpacityProps, OverflowProps, BorderColorProps, BackgroundProps, PositionProps, ZIndexProps, TopProps, RightProps, BottomProps, LeftProps, TextStyleProps, ColorStyleProps, ButtonStyleProps, TransitionProps, TransformProps, BackgroundImageProps, BackgroundPositionProps, BackgroundRepeatProps, BackgroundSizeProps, TextOverflowProps, VisibilityProps, CursorProps {
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
declare const TabContainer: import("styled-components").StyledComponent<import("react").FC<import("../Box/Box").BoxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
1
|
+
declare const TabContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Box/Box").BoxProps, never>;
|
|
3
2
|
export default TabContainer;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { PositionProps } from "styled-system";
|
|
2
2
|
import { DefaultNDSThemeType } from "../theme.type";
|
|
3
|
-
declare const TooltipContainer: import("styled-components").StyledComponent<import("
|
|
3
|
+
declare const TooltipContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Box/Box").BoxProps & PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & {
|
|
4
4
|
theme?: DefaultNDSThemeType;
|
|
5
5
|
dataPlacement?: "top" | "bottom" | "left" | "right";
|
|
6
6
|
open?: boolean;
|
|
@@ -4,8 +4,8 @@ export declare const Heading1: import("styled-components").StyledComponent<"p",
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
|
|
6
6
|
fontSize?: string;
|
|
7
|
-
} & import("
|
|
8
|
-
theme?: import("
|
|
7
|
+
} & import("../StyledProps").StyledProps & {
|
|
8
|
+
theme?: import("..").DefaultNDSThemeType;
|
|
9
9
|
} & {
|
|
10
10
|
slot?: string;
|
|
11
11
|
style?: import("react").CSSProperties;
|
|
@@ -278,8 +278,8 @@ export declare const Heading2: import("styled-components").StyledComponent<"p",
|
|
|
278
278
|
disabled?: boolean;
|
|
279
279
|
textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
|
|
280
280
|
fontSize?: string;
|
|
281
|
-
} & import("
|
|
282
|
-
theme?: import("
|
|
281
|
+
} & import("../StyledProps").StyledProps & {
|
|
282
|
+
theme?: import("..").DefaultNDSThemeType;
|
|
283
283
|
} & {
|
|
284
284
|
slot?: string;
|
|
285
285
|
style?: import("react").CSSProperties;
|
|
@@ -552,8 +552,8 @@ export declare const Heading3: import("styled-components").StyledComponent<"p",
|
|
|
552
552
|
disabled?: boolean;
|
|
553
553
|
textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
|
|
554
554
|
fontSize?: string;
|
|
555
|
-
} & import("
|
|
556
|
-
theme?: import("
|
|
555
|
+
} & import("../StyledProps").StyledProps & {
|
|
556
|
+
theme?: import("..").DefaultNDSThemeType;
|
|
557
557
|
} & {
|
|
558
558
|
slot?: string;
|
|
559
559
|
style?: import("react").CSSProperties;
|
|
@@ -826,8 +826,8 @@ export declare const Heading4: import("styled-components").StyledComponent<"p",
|
|
|
826
826
|
disabled?: boolean;
|
|
827
827
|
textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
|
|
828
828
|
fontSize?: string;
|
|
829
|
-
} & import("
|
|
830
|
-
theme?: import("
|
|
829
|
+
} & import("../StyledProps").StyledProps & {
|
|
830
|
+
theme?: import("..").DefaultNDSThemeType;
|
|
831
831
|
} & {
|
|
832
832
|
slot?: string;
|
|
833
833
|
style?: import("react").CSSProperties;
|
package/dist/src/Type/Text.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const Text: import("styled-components").StyledComponent<"p", import("sty
|
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
textTransform?: "none" | "inherit" | "initial" | "-moz-initial" | "revert" | "unset" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase" | undefined;
|
|
16
16
|
fontSize?: string;
|
|
17
|
-
} &
|
|
17
|
+
} & StyledProps & {
|
|
18
18
|
theme?: DefaultNDSThemeType;
|
|
19
19
|
}, never>;
|
|
20
20
|
export default Text;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { Alert } from "./Alert";
|
|
1
|
+
export { Alert, NotificationTypes } from "./Alert";
|
|
2
|
+
export type { NotificationType } from "./Alert";
|
|
2
3
|
export { AsyncSelect } from "./AsyncSelect";
|
|
3
4
|
export { Banner } from "./Banner";
|
|
4
5
|
export { AnimatedBox, Box } from "./Box";
|
|
@@ -44,7 +45,7 @@ export type { TableCellInfoType, TableColumnType, TableProps, TableRowType } fro
|
|
|
44
45
|
export { Tab, Tabs } from "./Tabs";
|
|
45
46
|
export { Textarea } from "./Textarea";
|
|
46
47
|
export { default as theme } from "./theme";
|
|
47
|
-
export type { ThemeType } from "./theme.type";
|
|
48
|
+
export type { ThemeType, DefaultNDSThemeType } from "./theme.type";
|
|
48
49
|
export { TimePicker } from "./TimePicker";
|
|
49
50
|
export { TimeRange } from "./TimeRange";
|
|
50
51
|
export { Toast } from "./Toast";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nulogy/components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "Component library for the Nulogy Design System - http://nulogy.design",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -121,7 +121,6 @@
|
|
|
121
121
|
"react-color": "^2.18.1",
|
|
122
122
|
"react-dom": "17.0.2",
|
|
123
123
|
"react-router-dom": "^5.2.0",
|
|
124
|
-
"react-select": "^5.8.0",
|
|
125
124
|
"react-test-renderer": "^16.10",
|
|
126
125
|
"rollup": "^2.7.3",
|
|
127
126
|
"rollup-plugin-babel": "^4.4.0",
|
|
@@ -163,6 +162,7 @@
|
|
|
163
162
|
"react-resize-detector": "^9.1.0",
|
|
164
163
|
"react-windowed-select": "2.0.5",
|
|
165
164
|
"smoothscroll-polyfill": "^0.4.4",
|
|
165
|
+
"react-select": "^5.8.0",
|
|
166
166
|
"styled-system": "^5.1.4",
|
|
167
167
|
"@types/styled-system": "5.1.22"
|
|
168
168
|
},
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export type TextOverflowProps = {
|
|
2
|
-
whiteSpace?: "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap" | "initial" | "inherit";
|
|
3
|
-
textOverflow?: "clip" | "ellipsis" | "string" | "initial" | "inherit";
|
|
4
|
-
};
|
|
5
|
-
export declare const textOverflow: import("styled-system").styleFn;
|