@evergis/uilib-gl 1.0.118 → 1.0.120
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from "react";
|
|
2
|
-
import { BackgroundProps, BorderProps, ColorProps, FlexboxProps, FontSizeProps, FontWeightProps, FontStyleProps, SpaceProps, LayoutProps, TextAlignProps, PositionProps, LineHeightProps } from "styled-system";
|
|
2
|
+
import { BackgroundProps, BorderProps, ColorProps, FlexboxProps, FontSizeProps, FontWeightProps, FontStyleProps, SpaceProps, LayoutProps, TextAlignProps, PositionProps, LineHeightProps, GridProps } from "styled-system";
|
|
3
3
|
export interface FlexProps extends BackgroundProps, BorderProps, ColorProps, FlexboxProps, FontSizeProps, FontWeightProps, FontStyleProps, SpaceProps, LayoutProps, TextAlignProps, PositionProps, LineHeightProps {
|
|
4
4
|
column?: boolean;
|
|
5
5
|
row?: boolean;
|
|
@@ -9,3 +9,6 @@ export interface FlexSpanProps extends BackgroundProps, BorderProps, ColorProps,
|
|
|
9
9
|
width?: string | number;
|
|
10
10
|
whiteSpace?: CSSProperties["whiteSpace"];
|
|
11
11
|
}
|
|
12
|
+
export interface GridElementProps extends GridProps, BackgroundProps, BorderProps, ColorProps, FontSizeProps, FontWeightProps, FontStyleProps, SpaceProps, LayoutProps, TextAlignProps, PositionProps, LineHeightProps {
|
|
13
|
+
gap?: CSSProperties["gap"];
|
|
14
|
+
}
|
package/dist/uilib-gl.esm.js
CHANGED
|
@@ -14,7 +14,7 @@ import AutosuggestHighlightParse from 'autosuggest-highlight/parse';
|
|
|
14
14
|
import { debounce as debounce$1, throttle, isEqual, isNil, unescape, defaults, keyBy, isEmpty } from 'lodash-es';
|
|
15
15
|
import { CSSTransition as CSSTransition$1, TransitionGroup } from 'react-transition-group';
|
|
16
16
|
import Transition from 'react-transition-group/Transition';
|
|
17
|
-
import { background, border, color, flexbox, fontSize, fontWeight, fontStyle, space, layout, textAlign, position, lineHeight, padding } from 'styled-system';
|
|
17
|
+
import { background, border, color, flexbox, fontSize, fontWeight, fontStyle, space, layout, textAlign, position, lineHeight, grid, padding } from 'styled-system';
|
|
18
18
|
import Bowser from 'bowser';
|
|
19
19
|
import { Color } from '@evergis/color';
|
|
20
20
|
import { IMaskMixin } from 'react-imask';
|
|
@@ -12124,6 +12124,30 @@ const FlexSpan = styled.span`
|
|
|
12124
12124
|
${lineHeight}
|
|
12125
12125
|
`;
|
|
12126
12126
|
|
|
12127
|
+
const Grid = styled.div`
|
|
12128
|
+
display: grid;
|
|
12129
|
+
width: 100%;
|
|
12130
|
+
gap: ${_ref => {
|
|
12131
|
+
let {
|
|
12132
|
+
gap
|
|
12133
|
+
} = _ref;
|
|
12134
|
+
return gap;
|
|
12135
|
+
}};
|
|
12136
|
+
box-sizing: border-box;
|
|
12137
|
+
${grid}
|
|
12138
|
+
${background}
|
|
12139
|
+
${border}
|
|
12140
|
+
${color}
|
|
12141
|
+
${fontSize}
|
|
12142
|
+
${fontWeight}
|
|
12143
|
+
${fontStyle}
|
|
12144
|
+
${space}
|
|
12145
|
+
${layout}
|
|
12146
|
+
${textAlign}
|
|
12147
|
+
${position}
|
|
12148
|
+
${lineHeight}
|
|
12149
|
+
`;
|
|
12150
|
+
|
|
12127
12151
|
var LoadingStatus;
|
|
12128
12152
|
|
|
12129
12153
|
(function (LoadingStatus) {
|
|
@@ -22172,7 +22196,7 @@ const CalendarGridContainer = styled.div`
|
|
|
22172
22196
|
flex-grow: 1;
|
|
22173
22197
|
margin: 0 1rem 1rem 1rem;
|
|
22174
22198
|
`;
|
|
22175
|
-
const Grid = styled.div`
|
|
22199
|
+
const Grid$1 = styled.div`
|
|
22176
22200
|
flex-wrap: wrap;
|
|
22177
22201
|
flex-grow: 1;
|
|
22178
22202
|
display: flex;
|
|
@@ -22643,7 +22667,7 @@ const CalendarGridComponent = props => {
|
|
|
22643
22667
|
const weekdays = getNameWeekdays("EEEEEE");
|
|
22644
22668
|
return React.createElement(CalendarGridContainer, null, React.createElement(Weekdays, {
|
|
22645
22669
|
weekdays: weekdays
|
|
22646
|
-
}), React.createElement(Grid, {
|
|
22670
|
+
}), React.createElement(Grid$1, {
|
|
22647
22671
|
onMouseLeave: onMouseLeave
|
|
22648
22672
|
}, createDateObjects(date).map((item, i) => React.createElement(Day, Object.assign({}, props, item, {
|
|
22649
22673
|
enterDate: enterDate,
|
|
@@ -28406,14 +28430,14 @@ const TreeItemWrapper = styled.li``;
|
|
|
28406
28430
|
const TreeRow = /*#__PURE__*/styled(Flex)`
|
|
28407
28431
|
align-items: center;
|
|
28408
28432
|
min-height: 1.5rem;
|
|
28409
|
-
${_ref2 => {
|
|
28433
|
+
color: ${_ref2 => {
|
|
28410
28434
|
let {
|
|
28411
28435
|
theme: {
|
|
28412
28436
|
palette
|
|
28413
28437
|
},
|
|
28414
28438
|
disabled
|
|
28415
28439
|
} = _ref2;
|
|
28416
|
-
return disabled
|
|
28440
|
+
return disabled ? palette.textDisabled : palette.textPrimary;
|
|
28417
28441
|
}};
|
|
28418
28442
|
|
|
28419
28443
|
cursor: pointer;
|
|
@@ -31768,5 +31792,5 @@ const JSONEditorBase = _ref => {
|
|
|
31768
31792
|
|
|
31769
31793
|
const JSONEditor = /*#__PURE__*/memo(JSONEditorBase);
|
|
31770
31794
|
|
|
31771
|
-
export { ActionButton, Actions, ActionsGroup, AdditionalInfo, AnchorContainer, AutoComplete, BaseButton, Blank, Box, ButtonsGroup, ButtonsGroupComponent, CSSTransition, Card, CardBodyContainer, Header$1 as CardHeader, ImageGradientOverlay as CardImageGradientOverlay, ImageOverlay as CardImageOverlay, CardLoader, Checkbox, CheckboxComponent, Chip, ChipAutoCompleDivider, ChipAutoCompleSlider, ChipAutoComplete, ChipAutoCompleteControlFlex, ChipAutoCompleteMode, ChipAutoCompleteTags, ChipContainer, ChipInput, ChipInputHolder, Circle, CircularProgress, Collapse, CollapseWrapper, ColorButton, ColorInput, ColorPicker, ComparisonOperator, Container$5 as Container, CustomButton, CustomToggle, DATE_FORMAT, DATE_TIME_FORMAT, DataGrid, DatePicker, Description, Dialog, DialogActions, DialogComponent, DialogContent, DialogOverlay, DialogTitle, Divider, DividerLine, DragAreaWrapper, DraggableTree, DraggableTreeContainer, DraggableTreeItem, DropHereTitle, Dropdown, DropdownContainer, DropdownField, DropdownOptionIcon, ElementsArea, Expander, FILE_SIZE_STEP, FadingIcon, FieldValue, FileExt, FileInfoComment, FileInfoName, FileInfoProgress, FileInfoTitle, FileSymbolContainer, FilterInput, FlatButton, Flex, FlexSpan, FocusTrap, GlobalsContainer, H1, H2, H3, H4, Handlers, HueMap, HueSlider, selection as IcoMoonSelection, Icon, IconButton, IconButtonButton, IconButtonInnerChild, IconMenu, IconToggle, IconToggleButton, IconToggleText, Image, ImageLoader, InfiniteScroll, InfiniteScrollContainer, InfiniteScrollLoaderContainer, InjectGlobalStyles, Input$1 as Input, InputLabel, InputsGroup, InputsGroupContainer, InputsGroupELement, InputsGroupElements, InputsGroupLabel, ItemContainer, JSONEditor, JSONEditorContainer, JSONEditorLinearProgress, JSONEditorWrapper, Label$2 as Label, LabeledTextarea, LeftSide, LegendToggler, LinearLoader, LinearProgress, Link, ListTransition, LoadMoreButton, LoadingContainer, MAX_NUMBER, MB_FILE_SIZE, MIN_NUMBER, MaskedComponent, Menu, MenuContainer, Message, MultiSelectContainer, Notifications, NumberInput, NumberRangeContainer, NumberRangeInputContainer, NumberRangeSlider, NumberRangeSliderContainer, NumberRangeSliderLabel, OpacitySlider, Option, OptionContainer, OptionDescription, OptionIcon, OptionText, OptionToggler, OptionValueContainer, OptionValueWrapper, PaginationFull, PaginationSimple, Paragraph, PasswordToggle, Placeholder, Popover, PopoverTransition, Popup$1 as Popup, Portal, Preview, Radio$1 as Radio, RadioGroup, RaisedButton, RangeDateInput, RangeDatePicker, RangeNumberInput, RatioLine, RegularIconButton, SEPARATED_TIME_FORMAT, SearchField, SearchInputContainer, SelectFromComputerTitle, SimpleInput, Slider, SliderContainer$2 as SliderContainer, HandleContainer as SliderHandle, Label$1 as SliderLabel, LowerTrackBackground as SliderLowerTrackBackground, SliderPopover, Track as SliderTrack, SortToggle, Spinner, Stepper, StyledInput, Switch, SwitchArea, SwitchContainer, SwitchTitle, Switcher, SymbolLibrary, SymbolPreview, THROTTLING_DELAY, TIME_FORMAT, TabBlock, TabContainer, TabContainerLine, Tabs, Text, TextTrim, Textarea, ThemeProvider, Tippy, TitleText, Tooltip, TooltipContent, Tree, TreeContainer, TreeContent, TreeDescription, TreeDropdown, TreeDropdownItem, TreeExpand, TreeItem, TreeItemWrapper, TreeItems, TreeRow, TreeText, UnicodeBig, UnicodeSmall, Uploader, UploaderItemArea, UploaderItemsContainer, UploaderTitle, UploaderTitleContainer, UploaderTitleImage, UploaderTitleWrapper, UserChip, UserChipImagePlaceholder, UserChipItem, UserChipItemIcon, UserChipItemImage, ValueLink, ValuePrefix, WaitingButton, WaitingButtonComponent, WithLabelContainer, Wizard, addItem, borderRadius, buttonMixin, clamp, cloneWithRefs, collapseDuration, combineRefs, createColorOrMono, createIconColors, createLinkStates, createMessageColors, createTheme, createToggleStates, createVariants, cropLeftBorderRadius, cropRightBorderRadius, theme$1 as darkTheme, dateFormat, defaultOptions, defaultStub, theme as defaultTheme, fileSizeFormat, findTreeItemById, fonts, getChipColor, getColorOrMono, getHighlightParts, getIconColors, getLinkColors, getLocale, getMessageColors, getNumberFromPixels, getRealChildren, getTagColor, getTextWidth, getTheme, getToggleStates, getUnicodeFromString, getVariant, horizontalDivider, iconTypes, injectIcon, inputMixin, isDefined, isDescendant, isDomNode, isNumeric, isOutside, isReactDomElement, isReactElement, isSimpleStyledComponent, isTextFitElementWidth, isTouchDevice, isValidUrl, mapToSimpleOption, palette, photo, preventDefault, randomInteger, randomRgba, rangeValueFormat, removeItem, replaceTreeItemById, sendRefSafety, shadows, sortNumbers, stub, textOverflowEllipsisMixin, toNumber, toSimpleOption, transition, transparencyDark2, transparencyDark4, Transparency_dark8 as transparencyDark8, transparencyLight2, transparencyLight4, Transparency_light8 as transparencyLight8, typeId, urlify, useAsyncAutocomplete, useDelayedStyleLoader, useDialogShadow, useDragAndDropEffect, useEventListener, useForceUpdate, useMounted, useMutationObserver, usePrevValue, useStyleLoader, useTheme, useThrottling, useToggle, useUndraggableEffect, useUnselectableEffect, verticalDivider, withLabel };
|
|
31795
|
+
export { ActionButton, Actions, ActionsGroup, AdditionalInfo, AnchorContainer, AutoComplete, BaseButton, Blank, Box, ButtonsGroup, ButtonsGroupComponent, CSSTransition, Card, CardBodyContainer, Header$1 as CardHeader, ImageGradientOverlay as CardImageGradientOverlay, ImageOverlay as CardImageOverlay, CardLoader, Checkbox, CheckboxComponent, Chip, ChipAutoCompleDivider, ChipAutoCompleSlider, ChipAutoComplete, ChipAutoCompleteControlFlex, ChipAutoCompleteMode, ChipAutoCompleteTags, ChipContainer, ChipInput, ChipInputHolder, Circle, CircularProgress, Collapse, CollapseWrapper, ColorButton, ColorInput, ColorPicker, ComparisonOperator, Container$5 as Container, CustomButton, CustomToggle, DATE_FORMAT, DATE_TIME_FORMAT, DataGrid, DatePicker, Description, Dialog, DialogActions, DialogComponent, DialogContent, DialogOverlay, DialogTitle, Divider, DividerLine, DragAreaWrapper, DraggableTree, DraggableTreeContainer, DraggableTreeItem, DropHereTitle, Dropdown, DropdownContainer, DropdownField, DropdownOptionIcon, ElementsArea, Expander, FILE_SIZE_STEP, FadingIcon, FieldValue, FileExt, FileInfoComment, FileInfoName, FileInfoProgress, FileInfoTitle, FileSymbolContainer, FilterInput, FlatButton, Flex, FlexSpan, FocusTrap, GlobalsContainer, Grid, H1, H2, H3, H4, Handlers, HueMap, HueSlider, selection as IcoMoonSelection, Icon, IconButton, IconButtonButton, IconButtonInnerChild, IconMenu, IconToggle, IconToggleButton, IconToggleText, Image, ImageLoader, InfiniteScroll, InfiniteScrollContainer, InfiniteScrollLoaderContainer, InjectGlobalStyles, Input$1 as Input, InputLabel, InputsGroup, InputsGroupContainer, InputsGroupELement, InputsGroupElements, InputsGroupLabel, ItemContainer, JSONEditor, JSONEditorContainer, JSONEditorLinearProgress, JSONEditorWrapper, Label$2 as Label, LabeledTextarea, LeftSide, LegendToggler, LinearLoader, LinearProgress, Link, ListTransition, LoadMoreButton, LoadingContainer, MAX_NUMBER, MB_FILE_SIZE, MIN_NUMBER, MaskedComponent, Menu, MenuContainer, Message, MultiSelectContainer, Notifications, NumberInput, NumberRangeContainer, NumberRangeInputContainer, NumberRangeSlider, NumberRangeSliderContainer, NumberRangeSliderLabel, OpacitySlider, Option, OptionContainer, OptionDescription, OptionIcon, OptionText, OptionToggler, OptionValueContainer, OptionValueWrapper, PaginationFull, PaginationSimple, Paragraph, PasswordToggle, Placeholder, Popover, PopoverTransition, Popup$1 as Popup, Portal, Preview, Radio$1 as Radio, RadioGroup, RaisedButton, RangeDateInput, RangeDatePicker, RangeNumberInput, RatioLine, RegularIconButton, SEPARATED_TIME_FORMAT, SearchField, SearchInputContainer, SelectFromComputerTitle, SimpleInput, Slider, SliderContainer$2 as SliderContainer, HandleContainer as SliderHandle, Label$1 as SliderLabel, LowerTrackBackground as SliderLowerTrackBackground, SliderPopover, Track as SliderTrack, SortToggle, Spinner, Stepper, StyledInput, Switch, SwitchArea, SwitchContainer, SwitchTitle, Switcher, SymbolLibrary, SymbolPreview, THROTTLING_DELAY, TIME_FORMAT, TabBlock, TabContainer, TabContainerLine, Tabs, Text, TextTrim, Textarea, ThemeProvider, Tippy, TitleText, Tooltip, TooltipContent, Tree, TreeContainer, TreeContent, TreeDescription, TreeDropdown, TreeDropdownItem, TreeExpand, TreeItem, TreeItemWrapper, TreeItems, TreeRow, TreeText, UnicodeBig, UnicodeSmall, Uploader, UploaderItemArea, UploaderItemsContainer, UploaderTitle, UploaderTitleContainer, UploaderTitleImage, UploaderTitleWrapper, UserChip, UserChipImagePlaceholder, UserChipItem, UserChipItemIcon, UserChipItemImage, ValueLink, ValuePrefix, WaitingButton, WaitingButtonComponent, WithLabelContainer, Wizard, addItem, borderRadius, buttonMixin, clamp, cloneWithRefs, collapseDuration, combineRefs, createColorOrMono, createIconColors, createLinkStates, createMessageColors, createTheme, createToggleStates, createVariants, cropLeftBorderRadius, cropRightBorderRadius, theme$1 as darkTheme, dateFormat, defaultOptions, defaultStub, theme as defaultTheme, fileSizeFormat, findTreeItemById, fonts, getChipColor, getColorOrMono, getHighlightParts, getIconColors, getLinkColors, getLocale, getMessageColors, getNumberFromPixels, getRealChildren, getTagColor, getTextWidth, getTheme, getToggleStates, getUnicodeFromString, getVariant, horizontalDivider, iconTypes, injectIcon, inputMixin, isDefined, isDescendant, isDomNode, isNumeric, isOutside, isReactDomElement, isReactElement, isSimpleStyledComponent, isTextFitElementWidth, isTouchDevice, isValidUrl, mapToSimpleOption, palette, photo, preventDefault, randomInteger, randomRgba, rangeValueFormat, removeItem, replaceTreeItemById, sendRefSafety, shadows, sortNumbers, stub, textOverflowEllipsisMixin, toNumber, toSimpleOption, transition, transparencyDark2, transparencyDark4, Transparency_dark8 as transparencyDark8, transparencyLight2, transparencyLight4, Transparency_light8 as transparencyLight8, typeId, urlify, useAsyncAutocomplete, useDelayedStyleLoader, useDialogShadow, useDragAndDropEffect, useEventListener, useForceUpdate, useMounted, useMutationObserver, usePrevValue, useStyleLoader, useTheme, useThrottling, useToggle, useUndraggableEffect, useUnselectableEffect, verticalDivider, withLabel };
|
|
31772
31796
|
//# sourceMappingURL=uilib-gl.esm.js.map
|