@inntechcorp/it-design 2.2.2 → 2.2.3

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.
@@ -17,8 +17,4 @@ declare const CalendarWrapper: import("styled-components/dist/types").IStyledCom
17
17
  onChange?: ((value: import("./index").CalendarValueProps) => void) | null;
18
18
  disabledDate?: (date: moment.Moment) => boolean;
19
19
  }) => import("react/jsx-runtime").JSX.Element | null, keyof import("react").Component<any, {}, any>>;
20
- declare const ModalEnter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
21
- declare const ModalEnterActive: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
22
- declare const ModalExit: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
23
- declare const ModalExitActive: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
24
- export { Wrapper, CalendarWrapper, ModalEnter, ModalEnterActive, ModalExit, ModalExitActive };
20
+ export { Wrapper, CalendarWrapper };
package/dist/global.css CHANGED
@@ -71,4 +71,76 @@ textarea {
71
71
  --os-handle-bg: #3598fe80;
72
72
  --os-handle-bg-hover: #3598fe;
73
73
  --os-handle-bg-active: #3598fe;
74
+ }
75
+
76
+ /* ================================= */
77
+ /* Component Transitions */
78
+ /* ================================= */
79
+
80
+ /* Modal Transitions */
81
+ .modal-enter {
82
+ opacity: 0 !important;
83
+ transform: translate(-50%, -40%) !important;
84
+ }
85
+
86
+ .modal-enter-active {
87
+ opacity: 1 !important;
88
+ transform: translate(-50%, -50%) !important;
89
+ transition: opacity 200ms ease-out, transform 200ms ease-out !important;
90
+ }
91
+
92
+ .modal-exit {
93
+ opacity: 1 !important;
94
+ transform: translate(-50%, -50%) !important;
95
+ }
96
+
97
+ .modal-exit-active {
98
+ opacity: 0 !important;
99
+ transform: translate(-50%, -40%) !important;
100
+ transition: opacity 200ms ease-in, transform 200ms ease-in !important;
101
+ }
102
+
103
+ /* Select Menu Transitions */
104
+ .select-menu-enter {
105
+ opacity: 0 !important;
106
+ transform: translateY(-10px) scale(0.95) !important;
107
+ }
108
+
109
+ .select-menu-enter-active {
110
+ opacity: 1 !important;
111
+ transform: translateY(0) scale(1) !important;
112
+ transition: opacity 250ms ease-out, transform 250ms ease-out !important;
113
+ }
114
+
115
+ .select-menu-exit {
116
+ opacity: 1 !important;
117
+ transform: translateY(0) scale(1) !important;
118
+ }
119
+
120
+ .select-menu-exit-active {
121
+ opacity: 0 !important;
122
+ transform: translateY(-10px) scale(0.95) !important;
123
+ transition: opacity 200ms ease-in, transform 200ms ease-in !important;
124
+ }
125
+
126
+ /* DatePicker Modal Transitions */
127
+ .datepicker-modal-enter {
128
+ opacity: 0 !important;
129
+ transform: translateY(-10px) !important;
130
+ }
131
+
132
+ .datepicker-modal-enter-active {
133
+ opacity: 1 !important;
134
+ transform: translateY(0) !important;
135
+ transition: opacity 250ms, transform 250ms !important;
136
+ }
137
+
138
+ .datepicker-modal-exit {
139
+ opacity: 1 !important;
140
+ }
141
+
142
+ .datepicker-modal-exit-active {
143
+ opacity: 0 !important;
144
+ transform: translateY(-10px) !important;
145
+ transition: opacity 250ms, transform 250ms !important;
74
146
  }
@@ -1,8 +1,6 @@
1
1
  export { default as useReCaptcha } from './useReCaptcha';
2
2
  export { default as useConstructor } from './useConstructor';
3
3
  export { default as useAddExternalCSS } from './useAddExternalCSS';
4
- export { default as useCreateDynamicStyle } from './useCreateDynamicStyle';
5
- export { default as useCreateStyledStyle } from './useCreateStyledStyle';
6
4
  export { default as useOnClickOutside } from './useOnClickOutside';
7
5
  export { default as useOnESCKeyDown } from './useOnESCKeyDown';
8
6
  export { default as useSingleQuery } from './useSingleQuery';