@infonomic/uikit 5.27.0 → 5.29.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/components/accordion/accordion.js +5 -5
- package/dist/components/accordion/accordion.module.css +11 -5
- package/dist/components/accordion/accordion_module.css +7 -7
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/avatar/avatar.js +5 -4
- package/dist/components/avatar/avatar.module.css +17 -11
- package/dist/components/avatar/avatar_module.css +6 -6
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/badge/badge.module.css +8 -8
- package/dist/components/badge/badge_module.css +8 -8
- package/dist/components/button/button-group.module.css +5 -3
- package/dist/components/button/button-group_module.css +2 -2
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/button.module.css +50 -50
- package/dist/components/button/button_module.css +38 -38
- package/dist/components/button/control-buttons.js +1 -1
- package/dist/components/button/control-buttons.module.css +6 -2
- package/dist/components/button/control-buttons_module.css +1 -1
- package/dist/components/button/copy-button.d.ts.map +1 -1
- package/dist/components/button/copy-button.js +2 -2
- package/dist/components/button/copy-button.module.css +14 -13
- package/dist/components/button/copy-button_module.css +7 -7
- package/dist/components/card/card.js +6 -6
- package/dist/components/card/card.module.css +10 -10
- package/dist/components/card/card_module.css +10 -10
- package/dist/components/chips/chip.js +5 -5
- package/dist/components/chips/chip.module.css +49 -45
- package/dist/components/chips/chip_module.css +35 -35
- package/dist/components/container/container.d.ts.map +1 -1
- package/dist/components/container/container.js +1 -1
- package/dist/components/container/container.module.css +14 -10
- package/dist/components/container/container_module.css +4 -4
- package/dist/components/dropdown/dropdown.js +8 -8
- package/dist/components/dropdown/dropdown.module.css +18 -11
- package/dist/components/dropdown/dropdown_module.css +8 -9
- package/dist/components/forms/checkbox.js +5 -5
- package/dist/components/forms/checkbox.module.css +62 -33
- package/dist/components/forms/checkbox_module.css +26 -26
- package/dist/components/forms/error-text.module.css +8 -7
- package/dist/components/forms/error-text_module.css +1 -1
- package/dist/components/forms/help-text.js +1 -1
- package/dist/components/forms/help-text.module.css +8 -7
- package/dist/components/forms/help-text_module.css +1 -1
- package/dist/components/forms/input-adornment.js +1 -1
- package/dist/components/forms/input-adornment.module.css +10 -9
- package/dist/components/forms/input-adornment_module.css +3 -3
- package/dist/components/forms/input.js +5 -5
- package/dist/components/forms/input.module.css +50 -49
- package/dist/components/forms/input_module.css +37 -37
- package/dist/components/forms/label.module.css +9 -8
- package/dist/components/forms/label_module.css +2 -2
- package/dist/components/forms/radio-group.js +1 -1
- package/dist/components/forms/radio-group.module.css +44 -24
- package/dist/components/forms/radio-group_module.css +42 -15
- package/dist/components/forms/select.js +3 -3
- package/dist/components/forms/select.module.css +23 -14
- package/dist/components/forms/select_module.css +17 -6
- package/dist/components/forms/text-area.js +1 -1
- package/dist/components/forms/text-area.module.css +12 -12
- package/dist/components/forms/text-area_module.css +2 -2
- package/dist/components/notifications/alert.js +10 -10
- package/dist/components/notifications/alert.module.css +39 -22
- package/dist/components/notifications/alert_module.css +19 -15
- package/dist/components/notifications/toast.js +5 -5
- package/dist/components/notifications/toast.module.css +53 -24
- package/dist/components/notifications/toast_module.css +66 -13
- package/dist/components/overlay/overlay.module.css +14 -6
- package/dist/components/overlay/overlay_module.css +4 -4
- package/dist/components/pager/pagination.js +2 -2
- package/dist/components/pager/pagination.module.css +12 -11
- package/dist/components/pager/pagination_module.css +18 -2
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/scroll-area/scroll-area.js +7 -7
- package/dist/components/scroll-area/scroll-area.module.css +17 -11
- package/dist/components/scroll-area/scroll-area_module.css +9 -9
- package/dist/components/scroll-to-top/scroll-to-top.js +2 -2
- package/dist/components/scroll-to-top/scroll-to-top.module.css +16 -14
- package/dist/components/scroll-to-top/scroll-to-top_module.css +9 -9
- package/dist/components/section/section.d.ts.map +1 -1
- package/dist/components/section/section.js +1 -1
- package/dist/components/section/section.module.css +8 -7
- package/dist/components/section/section_module.css +1 -1
- package/dist/components/shimmer/shimmer.module.css +14 -6
- package/dist/components/shimmer/shimmer_module.css +6 -6
- package/dist/components/table/table.js +8 -8
- package/dist/components/table/table.module.css +29 -14
- package/dist/components/table/table_module.css +25 -13
- package/dist/components/tabs/tabs.js +4 -4
- package/dist/components/tabs/tabs.module.css +15 -10
- package/dist/components/tabs/tabs_module.css +9 -9
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.js +3 -2
- package/dist/components/tooltip/tooltip.module.css +11 -10
- package/dist/components/tooltip/tooltip_module.css +2 -2
- package/dist/styles/components-vanilla.css +1 -1
- package/dist/widgets/datepicker/datepicker.d.ts +2 -1
- package/dist/widgets/datepicker/datepicker.d.ts.map +1 -1
- package/dist/widgets/datepicker/datepicker.js +2 -2
- package/dist/widgets/datepicker/datepicker.module.css +33 -16
- package/dist/widgets/datepicker/datepicker.module.js +0 -1
- package/dist/widgets/datepicker/datepicker_module.css +23 -22
- package/dist/widgets/drawer/drawer-container.js +1 -1
- package/dist/widgets/drawer/drawer-content.js +1 -1
- package/dist/widgets/drawer/drawer-header.js +1 -1
- package/dist/widgets/drawer/drawer-top-actions.js +1 -1
- package/dist/widgets/drawer/drawer-wrapper.js +1 -1
- package/dist/widgets/drawer/drawer.module.css +37 -16
- package/dist/widgets/drawer/drawer_module.css +63 -5
- package/dist/widgets/modal/modal-actions.js +1 -1
- package/dist/widgets/modal/modal-container.js +1 -1
- package/dist/widgets/modal/modal-content.js +1 -1
- package/dist/widgets/modal/modal-header.js +1 -1
- package/dist/widgets/modal/modal-wrapper.d.ts.map +1 -1
- package/dist/widgets/modal/modal-wrapper.js +2 -1
- package/dist/widgets/modal/modal.module.css +18 -8
- package/dist/widgets/modal/modal_module.css +14 -6
- package/dist/widgets/timeline/timeline.module.css +28 -16
- package/dist/widgets/timeline/timeline_module.css +15 -9
- package/package.json +17 -17
- package/src/components/accordion/accordion.module.css +11 -5
- package/src/components/accordion/accordion.tsx +5 -5
- package/src/components/avatar/avatar.module.css +17 -11
- package/src/components/avatar/avatar.tsx +5 -4
- package/src/components/badge/badge.module.css +8 -8
- package/src/components/badge/badge.tsx +1 -1
- package/src/components/button/button-group.module.css +5 -3
- package/src/components/button/button.module.css +50 -50
- package/src/components/button/button.tsx +5 -5
- package/src/components/button/control-buttons.module.css +6 -2
- package/src/components/button/control-buttons.tsx +1 -1
- package/src/components/button/copy-button.module.css +14 -13
- package/src/components/button/copy-button.tsx +6 -2
- package/src/components/card/card.module.css +10 -10
- package/src/components/card/card.tsx +6 -6
- package/src/components/chips/chip.module.css +49 -45
- package/src/components/chips/chip.tsx +10 -10
- package/src/components/container/container.module.css +14 -10
- package/src/components/container/container.tsx +2 -2
- package/src/components/dropdown/dropdown.module.css +18 -11
- package/src/components/dropdown/dropdown.tsx +8 -8
- package/src/components/forms/checkbox.module.css +62 -33
- package/src/components/forms/checkbox.tsx +8 -8
- package/src/components/forms/error-text.module.css +8 -7
- package/src/components/forms/help-text.module.css +8 -7
- package/src/components/forms/help-text.tsx +1 -1
- package/src/components/forms/input-adornment.module.css +10 -9
- package/src/components/forms/input-adornment.tsx +2 -2
- package/src/components/forms/input.module.css +50 -49
- package/src/components/forms/input.tsx +8 -8
- package/src/components/forms/label.module.css +9 -8
- package/src/components/forms/radio-group.module.css +44 -24
- package/src/components/forms/radio-group.tsx +1 -1
- package/src/components/forms/select.module.css +23 -14
- package/src/components/forms/select.tsx +3 -3
- package/src/components/forms/text-area.module.css +12 -12
- package/src/components/forms/text-area.tsx +3 -3
- package/src/components/notifications/alert.module.css +39 -22
- package/src/components/notifications/alert.tsx +10 -10
- package/src/components/notifications/toast.module.css +53 -24
- package/src/components/notifications/toast.tsx +5 -5
- package/src/components/overlay/overlay.module.css +14 -6
- package/src/components/pager/pagination.module.css +12 -11
- package/src/components/pager/pagination.tsx +2 -2
- package/src/components/scroll-area/scroll-area.module.css +17 -11
- package/src/components/scroll-area/scroll-area.tsx +8 -8
- package/src/components/scroll-to-top/scroll-to-top.module.css +16 -14
- package/src/components/scroll-to-top/scroll-to-top.tsx +2 -2
- package/src/components/section/section.module.css +8 -7
- package/src/components/section/section.tsx +2 -2
- package/src/components/shimmer/shimmer.module.css +14 -6
- package/src/components/table/table.module.css +29 -14
- package/src/components/table/table.tsx +8 -8
- package/src/components/tabs/tabs.module.css +15 -10
- package/src/components/tabs/tabs.tsx +4 -4
- package/src/components/tooltip/tooltip.module.css +11 -10
- package/src/components/tooltip/tooltip.tsx +5 -2
- package/src/styles/components/loaders.css +1 -1
- package/src/widgets/datepicker/datepicker.module.css +33 -16
- package/src/widgets/datepicker/datepicker.tsx +11 -9
- package/src/widgets/drawer/drawer-container.tsx +1 -1
- package/src/widgets/drawer/drawer-content.tsx +1 -1
- package/src/widgets/drawer/drawer-header.tsx +1 -1
- package/src/widgets/drawer/drawer-top-actions.tsx +1 -1
- package/src/widgets/drawer/drawer-wrapper.tsx +1 -1
- package/src/widgets/drawer/drawer.module.css +37 -16
- package/src/widgets/drawer/drawer.stories.tsx +13 -0
- package/src/widgets/modal/modal-actions.tsx +1 -1
- package/src/widgets/modal/modal-container.tsx +1 -1
- package/src/widgets/modal/modal-content.tsx +1 -1
- package/src/widgets/modal/modal-header.tsx +1 -1
- package/src/widgets/modal/modal-wrapper.tsx +2 -1
- package/src/widgets/modal/modal.module.css +18 -8
- package/src/widgets/timeline/timeline.module.css +28 -16
|
@@ -21,6 +21,7 @@ export interface DatePickerProps extends React.InputHTMLAttributes<HTMLInputElem
|
|
|
21
21
|
inputClassName?: string;
|
|
22
22
|
intent?: Intent;
|
|
23
23
|
containerClassName?: string;
|
|
24
|
+
contentClassName?: string;
|
|
24
25
|
helpText?: string;
|
|
25
26
|
errorText?: string;
|
|
26
27
|
ariaLabelForSearch?: string;
|
|
@@ -33,5 +34,5 @@ export interface DatePickerProps extends React.InputHTMLAttributes<HTMLInputElem
|
|
|
33
34
|
};
|
|
34
35
|
placeHolderText?: string;
|
|
35
36
|
}
|
|
36
|
-
export declare function DatePicker({ id, name, label, required, initialValue, mode, yearsInFuture, yearsInPast, variant, intent, inputSize, inputClassName, inputWrapperClassName, containerClassName, onClear, onDateChange, validatorFn, helpText, errorText, placeHolderText, ariaLabelForSearch, ariaLabelForClear, ...rest }: DatePickerProps): React.JSX.Element;
|
|
37
|
+
export declare function DatePicker({ id, name, label, required, initialValue, mode, yearsInFuture, yearsInPast, variant, intent, inputSize, inputClassName, inputWrapperClassName, containerClassName, contentClassName, onClear, onDateChange, validatorFn, helpText, errorText, placeHolderText, ariaLabelForSearch, ariaLabelForClear, ...rest }: DatePickerProps): React.JSX.Element;
|
|
37
38
|
//# sourceMappingURL=datepicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datepicker.d.ts","sourceRoot":"","sources":["../../../src/widgets/datepicker/datepicker.tsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAgB9B,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAA;AAEnF,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAClF,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,kBAAkB,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"datepicker.d.ts","sourceRoot":"","sources":["../../../src/widgets/datepicker/datepicker.tsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAgB9B,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAA;AAEnF,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAClF,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAA;IAC3C,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK;QAC7B,KAAK,EAAE,OAAO,CAAA;QACd,KAAK,EAAE,IAAI,CAAA;KACZ,CAAA;IACD,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,wBAAgB,UAAU,CAAC,EACzB,EAAE,EACF,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,IAAiB,EACjB,aAAiB,EACjB,WAAgB,EAChB,OAAO,EACP,MAAM,EACN,SAAS,EACT,cAAc,EACd,qBAAqB,EACrB,kBAAkB,EAClB,gBAAgB,EAChB,OAAmB,EACnB,YAAwB,EACxB,WAAW,EACX,QAAQ,EACR,SAAS,EACT,eAAoB,EACpB,kBAA2B,EAC3B,iBAA2B,EAC3B,GAAG,IAAI,EACR,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAiPrC"}
|
|
@@ -13,7 +13,7 @@ import { ScrollArea } from "../../components/scroll-area/scroll-area.js";
|
|
|
13
13
|
import { CalendarIcon } from "../../icons/calendar-icon.js";
|
|
14
14
|
import { CloseIcon } from "../../icons/close-icon.js";
|
|
15
15
|
import datepicker_module from "./datepicker.module.js";
|
|
16
|
-
function DatePicker({ id, name, label, required, initialValue, mode = 'datetime', yearsInFuture = 1, yearsInPast = 10, variant, intent, inputSize, inputClassName, inputWrapperClassName, containerClassName, onClear = ()=>{}, onDateChange = ()=>{}, validatorFn, helpText, errorText, placeHolderText = '', ariaLabelForSearch = 'date', ariaLabelForClear = 'clear', ...rest }) {
|
|
16
|
+
function DatePicker({ id, name, label, required, initialValue, mode = 'datetime', yearsInFuture = 1, yearsInPast = 10, variant, intent, inputSize, inputClassName, inputWrapperClassName, containerClassName, contentClassName, onClear = ()=>{}, onDateChange = ()=>{}, validatorFn, helpText, errorText, placeHolderText = '', ariaLabelForSearch = 'date', ariaLabelForClear = 'clear', ...rest }) {
|
|
17
17
|
const [isOpen, setIsOpen] = useState(false);
|
|
18
18
|
const [time, setTime] = useState('08:00');
|
|
19
19
|
const [date, setDate] = useState(()=>{
|
|
@@ -134,7 +134,7 @@ function DatePicker({ id, name, label, required, initialValue, mode = 'datetime'
|
|
|
134
134
|
/*#__PURE__*/ jsx(Popover.Portal, {
|
|
135
135
|
children: /*#__PURE__*/ jsxs(Popover.Content, {
|
|
136
136
|
sideOffset: 5,
|
|
137
|
-
className: datepicker_module.content,
|
|
137
|
+
className: classnames(datepicker_module.content, contentClassName),
|
|
138
138
|
children: [
|
|
139
139
|
/*#__PURE__*/ jsxs("div", {
|
|
140
140
|
className: datepicker_module["content-components"],
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
.container,
|
|
6
|
+
:global(.infonomic-datepicker-container) {
|
|
5
7
|
position: relative;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
.input,
|
|
9
|
-
.input-wrapper
|
|
11
|
+
.input-wrapper,
|
|
12
|
+
:global(.infonomic-datepicker-input),
|
|
13
|
+
:global(.infonomic-datepicker-input-wrapper) {
|
|
10
14
|
width: 100%;
|
|
11
15
|
}
|
|
12
16
|
|
|
13
|
-
.content
|
|
17
|
+
.content,
|
|
18
|
+
:global(.infonomic-datepicker-content) {
|
|
14
19
|
width: 100%;
|
|
20
|
+
z-index: 50;
|
|
15
21
|
border-radius: 4px;
|
|
16
22
|
padding-top: var(--spacing-16);
|
|
17
23
|
padding-bottom: var(--spacing-8);
|
|
@@ -45,20 +51,22 @@
|
|
|
45
51
|
}
|
|
46
52
|
}
|
|
47
53
|
|
|
48
|
-
.dark,
|
|
49
|
-
[data-theme="dark"] {
|
|
54
|
+
:global(.dark),
|
|
55
|
+
:global([data-theme="dark"]) {
|
|
50
56
|
.content {
|
|
51
57
|
background: var(--canvas-800);
|
|
52
58
|
}
|
|
53
59
|
}
|
|
54
60
|
|
|
55
|
-
.content-components
|
|
61
|
+
.content-components,
|
|
62
|
+
:global(.infonomic-datepicker-content-components) {
|
|
56
63
|
display: flex;
|
|
57
64
|
width: 100%;
|
|
58
65
|
gap: var(--spacing-8);
|
|
59
66
|
}
|
|
60
67
|
|
|
61
|
-
.status-and-actions
|
|
68
|
+
.status-and-actions,
|
|
69
|
+
:global(.infonomic-datepicker-status-and-actions) {
|
|
62
70
|
display: flex;
|
|
63
71
|
flex-direction: column;
|
|
64
72
|
justify-content: space-between;
|
|
@@ -66,7 +74,8 @@
|
|
|
66
74
|
width: 100%;
|
|
67
75
|
}
|
|
68
76
|
|
|
69
|
-
.content-status
|
|
77
|
+
.content-status,
|
|
78
|
+
:global(.infonomic-datepicker-content-status) {
|
|
70
79
|
display: flex;
|
|
71
80
|
align-items: center;
|
|
72
81
|
padding-left: var(--spacing-16);
|
|
@@ -76,7 +85,8 @@
|
|
|
76
85
|
width: 100%;
|
|
77
86
|
}
|
|
78
87
|
|
|
79
|
-
.content-actions
|
|
88
|
+
.content-actions,
|
|
89
|
+
:global(.infonomic-datepicker-content-actions) {
|
|
80
90
|
display: flex;
|
|
81
91
|
flex-direction: row;
|
|
82
92
|
justify-content: space-between;
|
|
@@ -87,16 +97,19 @@
|
|
|
87
97
|
width: 100%;
|
|
88
98
|
}
|
|
89
99
|
|
|
90
|
-
.content-actions-button
|
|
100
|
+
.content-actions-button,
|
|
101
|
+
:global(.infonomic-datepicker-content-actions-button) {
|
|
91
102
|
/* min-width: 100px; */
|
|
92
103
|
--ring-color: var(--violet-7);
|
|
93
104
|
}
|
|
94
105
|
|
|
95
|
-
.arrow
|
|
106
|
+
.arrow,
|
|
107
|
+
:global(.infonomic-datepicker-arrow) {
|
|
96
108
|
fill: var(--gray-50);
|
|
97
109
|
}
|
|
98
110
|
|
|
99
|
-
.close
|
|
111
|
+
.close,
|
|
112
|
+
:global(.infonomic-datepicker-close) {
|
|
100
113
|
all: unset;
|
|
101
114
|
font-family: inherit;
|
|
102
115
|
border-radius: 100%;
|
|
@@ -119,17 +132,20 @@
|
|
|
119
132
|
}
|
|
120
133
|
}
|
|
121
134
|
|
|
122
|
-
.time-picker-container
|
|
135
|
+
.time-picker-container,
|
|
136
|
+
:global(.infonomic-datepicker-time-picker-container) {
|
|
123
137
|
width: 80px;
|
|
124
138
|
margin: 0.6rem 0.5rem 1rem 0;
|
|
125
139
|
}
|
|
126
140
|
|
|
127
|
-
.time-picker-scroll-area
|
|
141
|
+
.time-picker-scroll-area,
|
|
142
|
+
:global(.infonomic-datepicker-time-picker-scroll-area) {
|
|
128
143
|
height: 280px;
|
|
129
144
|
padding-right: var(--spacing-16);
|
|
130
145
|
}
|
|
131
146
|
|
|
132
|
-
.time-picker
|
|
147
|
+
.time-picker,
|
|
148
|
+
:global(.infonomic-datepicker-time-picker) {
|
|
133
149
|
display: flex;
|
|
134
150
|
padding-left: var(--spacing-4);
|
|
135
151
|
padding-right: var(--spacing-4);
|
|
@@ -137,7 +153,8 @@
|
|
|
137
153
|
gap: 0.5rem;
|
|
138
154
|
}
|
|
139
155
|
|
|
140
|
-
.time-picker-button
|
|
156
|
+
.time-picker-button,
|
|
157
|
+
:global(.infonomic-datepicker-time-picker-button) {
|
|
141
158
|
width: 100%;
|
|
142
159
|
}
|
|
143
160
|
|
|
@@ -9,7 +9,6 @@ const datepicker_module = {
|
|
|
9
9
|
slideLeftAndFade: "slideLeftAndFade-ugM6Hs",
|
|
10
10
|
slideUpAndFade: "slideUpAndFade-bAwQJS",
|
|
11
11
|
slideRightAndFade: "slideRightAndFade-o0jl7q",
|
|
12
|
-
dark: "dark-A_8H6V",
|
|
13
12
|
"content-components": "content-components-jcG649",
|
|
14
13
|
contentComponents: "content-components-jcG649",
|
|
15
14
|
"status-and-actions": "status-and-actions-Px_b57",
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-utilities, infonomic-theme;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
.container-u5_VUp {
|
|
4
|
+
:is(.container-u5_VUp, .infonomic-datepicker-container) {
|
|
5
5
|
position: relative;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.input-SaODq9, .input-wrapper-qwAckv {
|
|
8
|
+
:is(.input-SaODq9, .input-wrapper-qwAckv, .infonomic-datepicker-input, .infonomic-datepicker-input-wrapper) {
|
|
9
9
|
width: 100%;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.content-UK9iLF {
|
|
12
|
+
:is(.content-UK9iLF, .infonomic-datepicker-content) {
|
|
13
|
+
z-index: 50;
|
|
13
14
|
width: 100%;
|
|
14
15
|
padding-top: var(--spacing-16);
|
|
15
16
|
padding-bottom: var(--spacing-8);
|
|
@@ -24,37 +25,37 @@
|
|
|
24
25
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
.content-UK9iLF:focus {
|
|
28
|
+
:is(.content-UK9iLF, .infonomic-datepicker-content):focus {
|
|
28
29
|
box-shadow: var(--shadow-md);
|
|
29
30
|
}
|
|
30
31
|
|
|
31
|
-
.content-UK9iLF[data-state="open"][data-side="top"] {
|
|
32
|
+
:is(.content-UK9iLF, .infonomic-datepicker-content)[data-state="open"][data-side="top"] {
|
|
32
33
|
animation-name: slideDownAndFade-dohHTE;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
|
-
.content-UK9iLF[data-state="open"][data-side="right"] {
|
|
36
|
+
:is(.content-UK9iLF, .infonomic-datepicker-content)[data-state="open"][data-side="right"] {
|
|
36
37
|
animation-name: slideLeftAndFade-ugM6Hs;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
|
-
.content-UK9iLF[data-state="open"][data-side="bottom"] {
|
|
40
|
+
:is(.content-UK9iLF, .infonomic-datepicker-content)[data-state="open"][data-side="bottom"] {
|
|
40
41
|
animation-name: slideUpAndFade-bAwQJS;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
|
-
.content-UK9iLF[data-state="open"][data-side="left"] {
|
|
44
|
+
:is(.content-UK9iLF, .infonomic-datepicker-content)[data-state="open"][data-side="left"] {
|
|
44
45
|
animation-name: slideRightAndFade-o0jl7q;
|
|
45
46
|
}
|
|
46
47
|
|
|
47
|
-
:is(.dark
|
|
48
|
+
:is(.dark, [data-theme="dark"]) .content-UK9iLF {
|
|
48
49
|
background: var(--canvas-800);
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
.content-components-jcG649 {
|
|
52
|
+
:is(.content-components-jcG649, .infonomic-datepicker-content-components) {
|
|
52
53
|
gap: var(--spacing-8);
|
|
53
54
|
width: 100%;
|
|
54
55
|
display: flex;
|
|
55
56
|
}
|
|
56
57
|
|
|
57
|
-
.status-and-actions-Px_b57 {
|
|
58
|
+
:is(.status-and-actions-Px_b57, .infonomic-datepicker-status-and-actions) {
|
|
58
59
|
flex-direction: column;
|
|
59
60
|
justify-content: space-between;
|
|
60
61
|
align-items: center;
|
|
@@ -62,7 +63,7 @@
|
|
|
62
63
|
display: flex;
|
|
63
64
|
}
|
|
64
65
|
|
|
65
|
-
.content-status-XRGKXg {
|
|
66
|
+
:is(.content-status-XRGKXg, .infonomic-datepicker-content-status) {
|
|
66
67
|
padding-left: var(--spacing-16);
|
|
67
68
|
padding-right: var(--spacing-8);
|
|
68
69
|
font-size: var(--font-size-sm);
|
|
@@ -72,7 +73,7 @@
|
|
|
72
73
|
display: flex;
|
|
73
74
|
}
|
|
74
75
|
|
|
75
|
-
.content-actions-GVU14S {
|
|
76
|
+
:is(.content-actions-GVU14S, .infonomic-datepicker-content-actions) {
|
|
76
77
|
margin-top: var(--spacing-12);
|
|
77
78
|
padding-left: var(--spacing-16);
|
|
78
79
|
padding-right: var(--spacing-6);
|
|
@@ -83,15 +84,15 @@
|
|
|
83
84
|
display: flex;
|
|
84
85
|
}
|
|
85
86
|
|
|
86
|
-
.content-actions-button-YCN1ho {
|
|
87
|
+
:is(.content-actions-button-YCN1ho, .infonomic-datepicker-content-actions-button) {
|
|
87
88
|
--ring-color: var(--violet-7);
|
|
88
89
|
}
|
|
89
90
|
|
|
90
|
-
.arrow-mhGcHb {
|
|
91
|
+
:is(.arrow-mhGcHb, .infonomic-datepicker-arrow) {
|
|
91
92
|
fill: var(--gray-50);
|
|
92
93
|
}
|
|
93
94
|
|
|
94
|
-
.close-bJApom {
|
|
95
|
+
:is(.close-bJApom, .infonomic-datepicker-close) {
|
|
95
96
|
all: unset;
|
|
96
97
|
width: 25px;
|
|
97
98
|
height: 25px;
|
|
@@ -106,25 +107,25 @@
|
|
|
106
107
|
right: 5px;
|
|
107
108
|
}
|
|
108
109
|
|
|
109
|
-
.close-bJApom:hover {
|
|
110
|
+
:is(.close-bJApom, .infonomic-datepicker-close):hover {
|
|
110
111
|
background-color: var(--primary-400);
|
|
111
112
|
}
|
|
112
113
|
|
|
113
|
-
.close-bJApom:focus {
|
|
114
|
+
:is(.close-bJApom, .infonomic-datepicker-close):focus {
|
|
114
115
|
box-shadow: 0 0 0 2px var(--primary-600);
|
|
115
116
|
}
|
|
116
117
|
|
|
117
|
-
.time-picker-container-sVEGKe {
|
|
118
|
+
:is(.time-picker-container-sVEGKe, .infonomic-datepicker-time-picker-container) {
|
|
118
119
|
width: 80px;
|
|
119
120
|
margin: .6rem .5rem 1rem 0;
|
|
120
121
|
}
|
|
121
122
|
|
|
122
|
-
.time-picker-scroll-area-q5TiRD {
|
|
123
|
+
:is(.time-picker-scroll-area-q5TiRD, .infonomic-datepicker-time-picker-scroll-area) {
|
|
123
124
|
height: 280px;
|
|
124
125
|
padding-right: var(--spacing-16);
|
|
125
126
|
}
|
|
126
127
|
|
|
127
|
-
.time-picker-Xhertk {
|
|
128
|
+
:is(.time-picker-Xhertk, .infonomic-datepicker-time-picker) {
|
|
128
129
|
padding-left: var(--spacing-4);
|
|
129
130
|
padding-right: var(--spacing-4);
|
|
130
131
|
flex-direction: column;
|
|
@@ -132,7 +133,7 @@
|
|
|
132
133
|
display: flex;
|
|
133
134
|
}
|
|
134
135
|
|
|
135
|
-
.time-picker-button-WA4IUz {
|
|
136
|
+
:is(.time-picker-button-WA4IUz, .infonomic-datepicker-time-picker-button) {
|
|
136
137
|
width: 100%;
|
|
137
138
|
}
|
|
138
139
|
|
|
@@ -6,7 +6,7 @@ function DrawerContainer({ ref, children, className, ...rest }) {
|
|
|
6
6
|
return /*#__PURE__*/ jsx("div", {
|
|
7
7
|
ref: ref,
|
|
8
8
|
role: "dialog",
|
|
9
|
-
className: classnames(drawer_module["drawer-container"], className),
|
|
9
|
+
className: classnames('infonomic-drawer-container', drawer_module["drawer-container"], className),
|
|
10
10
|
...rest,
|
|
11
11
|
children: children
|
|
12
12
|
});
|
|
@@ -6,7 +6,7 @@ function DrawerContent({ ref, children, className, ...rest }) {
|
|
|
6
6
|
return /*#__PURE__*/ jsx("div", {
|
|
7
7
|
ref: ref,
|
|
8
8
|
...rest,
|
|
9
|
-
className: classnames(drawer_module["drawer-content"], className),
|
|
9
|
+
className: classnames('infonomic-drawer-content', drawer_module["drawer-content"], className),
|
|
10
10
|
children: children
|
|
11
11
|
});
|
|
12
12
|
}
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import classnames from "classnames";
|
|
4
4
|
import drawer_module from "./drawer.module.js";
|
|
5
5
|
const drawer_header_DrawerHeader = function({ ref, children, className, ...rest }) {
|
|
6
|
-
const classes = classnames(drawer_module["drawer-header"], className);
|
|
6
|
+
const classes = classnames('infonomic-drawer-header', drawer_module["drawer-header"], className);
|
|
7
7
|
return /*#__PURE__*/ jsx("div", {
|
|
8
8
|
style: {
|
|
9
9
|
overflowWrap: 'anywhere'
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import classnames from "classnames";
|
|
4
4
|
import drawer_module from "./drawer.module.js";
|
|
5
5
|
const DrawerTopActions = function({ ref, children, className, ...rest }) {
|
|
6
|
-
const classes = classnames(drawer_module["drawer-top-actions"], className);
|
|
6
|
+
const classes = classnames('infonomic-drawer-top-actions', drawer_module["drawer-top-actions"], className);
|
|
7
7
|
return /*#__PURE__*/ jsx("div", {
|
|
8
8
|
style: {
|
|
9
9
|
whiteSpace: 'nowrap'
|
|
@@ -21,7 +21,7 @@ function DrawerWrapper({ className, children, onEscapeKey, ...rest }) {
|
|
|
21
21
|
return /*#__PURE__*/ jsx(m.div, {
|
|
22
22
|
ref: focusTrapRef,
|
|
23
23
|
...rest,
|
|
24
|
-
className: classnames(drawer_module["drawer-wrapper"], className),
|
|
24
|
+
className: classnames('infonomic-drawer-wrapper', drawer_module["drawer-wrapper"], className),
|
|
25
25
|
initial: {
|
|
26
26
|
opacity: 0
|
|
27
27
|
},
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
.drawer-wrapper,
|
|
6
|
+
:global(.infonomic-drawer-wrapper) {
|
|
5
7
|
position: fixed;
|
|
6
8
|
display: flex;
|
|
7
9
|
flex-direction: column;
|
|
@@ -14,7 +16,8 @@
|
|
|
14
16
|
opacity: 1;
|
|
15
17
|
}
|
|
16
18
|
|
|
17
|
-
.drawer-container
|
|
19
|
+
.drawer-container,
|
|
20
|
+
:global(.infonomic-drawer-container) {
|
|
18
21
|
position: absolute;
|
|
19
22
|
right: 0;
|
|
20
23
|
height: 100%;
|
|
@@ -23,50 +26,64 @@
|
|
|
23
26
|
z-index: inherit;
|
|
24
27
|
}
|
|
25
28
|
|
|
26
|
-
.drawer-container[aria-hidden="false"]
|
|
29
|
+
.drawer-container[aria-hidden="false"],
|
|
30
|
+
:global(.infonomic-drawer-container[aria-hidden="false"]) {
|
|
27
31
|
animation: slideIn 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
28
32
|
}
|
|
29
33
|
|
|
30
34
|
.drawer-depth-0.drawer-medium .drawer-container,
|
|
31
|
-
.drawer-depth-0.drawer-wide .drawer-container
|
|
35
|
+
.drawer-depth-0.drawer-wide .drawer-container,
|
|
36
|
+
:global(.infonomic-drawer-depth-0.drawer-medium .drawer-container),
|
|
37
|
+
:global(.infonomic-drawer-depth-0.drawer-wide .drawer-container) {
|
|
32
38
|
width: 90%;
|
|
33
39
|
}
|
|
34
40
|
|
|
35
41
|
.drawer-depth-1.drawer-medium .drawer-container,
|
|
36
|
-
.drawer-depth-1.drawer-wide .drawer-container
|
|
42
|
+
.drawer-depth-1.drawer-wide .drawer-container,
|
|
43
|
+
:global(.infonomic-drawer-depth-1.drawer-medium .drawer-container),
|
|
44
|
+
:global(.infonomic-drawer-depth-1.drawer-wide .drawer-container) {
|
|
37
45
|
width: 88%;
|
|
38
46
|
}
|
|
39
47
|
|
|
40
48
|
.drawer-depth-2.drawer- .drawer-container,
|
|
41
|
-
.drawer-depth-2.drawer-wide .drawer-container
|
|
49
|
+
.drawer-depth-2.drawer-wide .drawer-container,
|
|
50
|
+
:global(.infonomic-drawer-depth-2.drawer-medium .drawer-container),
|
|
51
|
+
:global(.infonomic-drawer-depth-2.drawer-wide .drawer-container) {
|
|
42
52
|
width: 86%;
|
|
43
53
|
}
|
|
44
54
|
|
|
45
55
|
@media (min-width: 48rem) {
|
|
46
|
-
|
|
56
|
+
|
|
57
|
+
.drawer-depth-0.drawer-medium .drawer-container,
|
|
58
|
+
:global(.infonomic-drawer-depth-0.drawer-medium .drawer-container) {
|
|
47
59
|
width: 600px;
|
|
48
60
|
}
|
|
49
61
|
|
|
50
|
-
.drawer-depth-1.drawer-medium .drawer-container
|
|
62
|
+
.drawer-depth-1.drawer-medium .drawer-container,
|
|
63
|
+
:global(.infonomic-drawer-depth-1.drawer-medium .drawer-container) {
|
|
51
64
|
width: 580px;
|
|
52
65
|
}
|
|
53
66
|
|
|
54
|
-
.drawer-depth-2.drawer- .drawer-container
|
|
67
|
+
.drawer-depth-2.drawer- .drawer-container,
|
|
68
|
+
:global(.infonomic-drawer-depth-2.drawer-medium .drawer-container) {
|
|
55
69
|
width: 560px;
|
|
56
70
|
}
|
|
57
71
|
}
|
|
58
72
|
|
|
59
|
-
.drawer-narrow .drawer-container
|
|
73
|
+
.drawer-narrow .drawer-container,
|
|
74
|
+
:global(.infonomic-drawer-narrow .infonomic-drawer-container) {
|
|
60
75
|
width: calc(100% - 32px);
|
|
61
76
|
max-width: 400px;
|
|
62
77
|
}
|
|
63
78
|
|
|
64
|
-
.drawer-container[aria-hidden="true"]
|
|
79
|
+
.drawer-container[aria-hidden="true"],
|
|
80
|
+
:global(.infonomic-drawer-container[aria-hidden="true"]) {
|
|
65
81
|
transform: translateX(100%);
|
|
66
82
|
opacity: 0;
|
|
67
83
|
}
|
|
68
84
|
|
|
69
|
-
.drawer-top-actions
|
|
85
|
+
.drawer-top-actions,
|
|
86
|
+
:global(.infonomic-drawer-top-actions) {
|
|
70
87
|
display: flex;
|
|
71
88
|
align-items: center;
|
|
72
89
|
justify-content: flex-end;
|
|
@@ -77,7 +94,8 @@
|
|
|
77
94
|
max-width: 100%;
|
|
78
95
|
}
|
|
79
96
|
|
|
80
|
-
.drawer-header
|
|
97
|
+
.drawer-header,
|
|
98
|
+
:global(.infonomic-drawer-header) {
|
|
81
99
|
display: flex;
|
|
82
100
|
align-items: center;
|
|
83
101
|
justify-content: space-between;
|
|
@@ -89,11 +107,14 @@
|
|
|
89
107
|
}
|
|
90
108
|
|
|
91
109
|
.drawer-header h2,
|
|
92
|
-
.drawer-header h3
|
|
110
|
+
.drawer-header h3,
|
|
111
|
+
:global(.infonomic-drawer-header h2),
|
|
112
|
+
:global(.infonomic-drawer-header h3) {
|
|
93
113
|
margin: 0;
|
|
94
114
|
}
|
|
95
115
|
|
|
96
|
-
.drawer-content
|
|
116
|
+
.drawer-content,
|
|
117
|
+
:global(.infonomic-drawer-content) {
|
|
97
118
|
padding: var(--spacing-12);
|
|
98
119
|
}
|
|
99
120
|
|
|
@@ -108,4 +129,4 @@
|
|
|
108
129
|
opacity: 1;
|
|
109
130
|
}
|
|
110
131
|
}
|
|
111
|
-
}
|
|
132
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-utilities, infonomic-theme;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
.drawer-wrapper-q0hBzd {
|
|
4
|
+
:is(.drawer-wrapper-q0hBzd, .infonomic-drawer-wrapper) {
|
|
5
5
|
z-index: 30;
|
|
6
6
|
opacity: 1;
|
|
7
7
|
flex-direction: column;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
inset: 0;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.drawer-container-ssf1qn {
|
|
14
|
+
:is(.drawer-container-ssf1qn, .infonomic-drawer-container) {
|
|
15
15
|
background-color: var(--surface-panel);
|
|
16
16
|
height: 100%;
|
|
17
17
|
box-shadow: var(--shadow-md);
|
|
@@ -24,30 +24,70 @@
|
|
|
24
24
|
animation: .15s cubic-bezier(.16, 1, .3, 1) slideIn-dDQJvD;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.infonomic-drawer-container[aria-hidden="false"] {
|
|
28
|
+
animation: .15s cubic-bezier(.16, 1, .3, 1) slideIn-dDQJvD;
|
|
29
|
+
}
|
|
30
|
+
|
|
27
31
|
.drawer-depth-0-VYE9YM.drawer-medium-ZFbdby .drawer-container-ssf1qn, .drawer-depth-0-VYE9YM.drawer-wide-nXbxPs .drawer-container-ssf1qn {
|
|
28
32
|
width: 90%;
|
|
29
33
|
}
|
|
30
34
|
|
|
35
|
+
.infonomic-drawer-depth-0.drawer-medium .drawer-container {
|
|
36
|
+
width: 90%;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.infonomic-drawer-depth-0.drawer-wide .drawer-container {
|
|
40
|
+
width: 90%;
|
|
41
|
+
}
|
|
42
|
+
|
|
31
43
|
.drawer-depth-1-2CzoWM.drawer-medium-ZFbdby .drawer-container-ssf1qn, .drawer-depth-1-2CzoWM.drawer-wide-nXbxPs .drawer-container-ssf1qn {
|
|
32
44
|
width: 88%;
|
|
33
45
|
}
|
|
34
46
|
|
|
47
|
+
.infonomic-drawer-depth-1.drawer-medium .drawer-container {
|
|
48
|
+
width: 88%;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.infonomic-drawer-depth-1.drawer-wide .drawer-container {
|
|
52
|
+
width: 88%;
|
|
53
|
+
}
|
|
54
|
+
|
|
35
55
|
.drawer-depth-2-eR43PT.drawer--tSM0mV .drawer-container-ssf1qn, .drawer-depth-2-eR43PT.drawer-wide-nXbxPs .drawer-container-ssf1qn {
|
|
36
56
|
width: 86%;
|
|
37
57
|
}
|
|
38
58
|
|
|
59
|
+
.infonomic-drawer-depth-2.drawer-medium .drawer-container {
|
|
60
|
+
width: 86%;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.infonomic-drawer-depth-2.drawer-wide .drawer-container {
|
|
64
|
+
width: 86%;
|
|
65
|
+
}
|
|
66
|
+
|
|
39
67
|
@media (min-width: 48rem) {
|
|
40
68
|
.drawer-depth-0-VYE9YM.drawer-medium-ZFbdby .drawer-container-ssf1qn {
|
|
41
69
|
width: 600px;
|
|
42
70
|
}
|
|
43
71
|
|
|
72
|
+
.infonomic-drawer-depth-0.drawer-medium .drawer-container {
|
|
73
|
+
width: 600px;
|
|
74
|
+
}
|
|
75
|
+
|
|
44
76
|
.drawer-depth-1-2CzoWM.drawer-medium-ZFbdby .drawer-container-ssf1qn {
|
|
45
77
|
width: 580px;
|
|
46
78
|
}
|
|
47
79
|
|
|
80
|
+
.infonomic-drawer-depth-1.drawer-medium .drawer-container {
|
|
81
|
+
width: 580px;
|
|
82
|
+
}
|
|
83
|
+
|
|
48
84
|
.drawer-depth-2-eR43PT.drawer--tSM0mV .drawer-container-ssf1qn {
|
|
49
85
|
width: 560px;
|
|
50
86
|
}
|
|
87
|
+
|
|
88
|
+
.infonomic-drawer-depth-2.drawer-medium .drawer-container {
|
|
89
|
+
width: 560px;
|
|
90
|
+
}
|
|
51
91
|
}
|
|
52
92
|
|
|
53
93
|
.drawer-narrow-lsLgHp .drawer-container-ssf1qn {
|
|
@@ -55,12 +95,22 @@
|
|
|
55
95
|
max-width: 400px;
|
|
56
96
|
}
|
|
57
97
|
|
|
98
|
+
.infonomic-drawer-narrow .infonomic-drawer-container {
|
|
99
|
+
width: calc(100% - 32px);
|
|
100
|
+
max-width: 400px;
|
|
101
|
+
}
|
|
102
|
+
|
|
58
103
|
.drawer-container-ssf1qn[aria-hidden="true"] {
|
|
59
104
|
opacity: 0;
|
|
60
105
|
transform: translateX(100%);
|
|
61
106
|
}
|
|
62
107
|
|
|
63
|
-
.drawer-
|
|
108
|
+
.infonomic-drawer-container[aria-hidden="true"] {
|
|
109
|
+
opacity: 0;
|
|
110
|
+
transform: translateX(100%);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
:is(.drawer-top-actions-FiHu4U, .infonomic-drawer-top-actions) {
|
|
64
114
|
padding-top: var(--spacing-12);
|
|
65
115
|
padding-left: var(--spacing-12);
|
|
66
116
|
padding-right: var(--spacing-12);
|
|
@@ -71,7 +121,7 @@
|
|
|
71
121
|
display: flex;
|
|
72
122
|
}
|
|
73
123
|
|
|
74
|
-
.drawer-header-BtfxvF {
|
|
124
|
+
:is(.drawer-header-BtfxvF, .infonomic-drawer-header) {
|
|
75
125
|
justify-content: space-between;
|
|
76
126
|
align-items: center;
|
|
77
127
|
gap: var(--gap-3);
|
|
@@ -86,7 +136,15 @@
|
|
|
86
136
|
margin: 0;
|
|
87
137
|
}
|
|
88
138
|
|
|
89
|
-
.drawer-
|
|
139
|
+
.infonomic-drawer-header h2 {
|
|
140
|
+
margin: 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.infonomic-drawer-header h3 {
|
|
144
|
+
margin: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
:is(.drawer-content-QQqzOR, .infonomic-drawer-content) {
|
|
90
148
|
padding: var(--spacing-12);
|
|
91
149
|
}
|
|
92
150
|
|
|
@@ -6,7 +6,7 @@ const modal_actions_ModalActions = function({ ref, children, className, ...rest
|
|
|
6
6
|
return /*#__PURE__*/ jsx("div", {
|
|
7
7
|
ref: ref,
|
|
8
8
|
...rest,
|
|
9
|
-
className: classnames(modal_module["modal-actions"], className),
|
|
9
|
+
className: classnames('infonomic-modal-actions', modal_module["modal-actions"], className),
|
|
10
10
|
children: children
|
|
11
11
|
});
|
|
12
12
|
};
|
|
@@ -5,7 +5,7 @@ import modal_module from "./modal.module.js";
|
|
|
5
5
|
const modal_container_ModalContainer = function({ ref, children, className, ...rest }) {
|
|
6
6
|
return /*#__PURE__*/ jsx("div", {
|
|
7
7
|
ref: ref,
|
|
8
|
-
className: classnames(modal_module["modal-container"], className),
|
|
8
|
+
className: classnames('infonomic-modal-container', modal_module["modal-container"], className),
|
|
9
9
|
...rest,
|
|
10
10
|
children: children
|
|
11
11
|
});
|
|
@@ -6,7 +6,7 @@ const modal_content_ModalContent = function({ ref, children, className, ...rest
|
|
|
6
6
|
return /*#__PURE__*/ jsx("div", {
|
|
7
7
|
ref: ref,
|
|
8
8
|
...rest,
|
|
9
|
-
className: classnames(modal_module["modal-content"], className),
|
|
9
|
+
className: classnames('infonomic-modal-content', modal_module["modal-content"], className),
|
|
10
10
|
children: children
|
|
11
11
|
});
|
|
12
12
|
};
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import classnames from "classnames";
|
|
4
4
|
import modal_module from "./modal.module.js";
|
|
5
5
|
const modal_header_ModalHeader = function({ ref, children, className, ...rest }) {
|
|
6
|
-
const classes = classnames(modal_module["modal-header"], 'prose', className);
|
|
6
|
+
const classes = classnames('infonomic-modal-header', modal_module["modal-header"], 'prose', className);
|
|
7
7
|
return /*#__PURE__*/ jsx("div", {
|
|
8
8
|
style: {
|
|
9
9
|
overflowWrap: 'anywhere'
|