@inntechcorp/it-design 2.0.217 → 2.0.220

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.
Files changed (90) hide show
  1. package/dist/accordion/item/styled.d.ts +0 -1
  2. package/dist/accordion/submenu/styled.d.ts +2 -3
  3. package/dist/alert/styled.d.ts +0 -1
  4. package/dist/alink/styled.d.ts +1 -2
  5. package/dist/back-top/styled.d.ts +0 -1
  6. package/dist/button/styled.d.ts +1 -2
  7. package/dist/calendar/day/styled.d.ts +4 -5
  8. package/dist/calendar/header/styled.d.ts +0 -1
  9. package/dist/calendar/index.d.ts +7 -8
  10. package/dist/calendar/styled.d.ts +0 -1
  11. package/dist/card/styles.d.ts +5 -6
  12. package/dist/checkbox/group/index.d.ts +0 -1
  13. package/dist/checkbox/group/styled.d.ts +0 -1
  14. package/dist/checkbox/styled.d.ts +0 -1
  15. package/dist/context/ITDContext.d.ts +0 -1
  16. package/dist/context/styled.d.ts +0 -1
  17. package/dist/datepicker/index.d.ts +0 -1
  18. package/dist/datepicker/styled.d.ts +13 -16
  19. package/dist/flex/styled.d.ts +6 -7
  20. package/dist/form/context/FormContext.d.ts +0 -1
  21. package/dist/form/control/styled.d.ts +0 -1
  22. package/dist/form/group/styled.d.ts +0 -1
  23. package/dist/form/item/Item.d.ts +0 -1
  24. package/dist/form/wrapper/FormWrapper.d.ts +0 -1
  25. package/dist/helpers/format/ToKebabCase.d.ts +27 -1
  26. package/dist/helpers/svg/styles.d.ts +2 -3
  27. package/dist/hooks/useCoreFetch.d.ts +10 -10
  28. package/dist/html/header/styled.d.ts +0 -1
  29. package/dist/image/styled.d.ts +0 -1
  30. package/dist/index.cjs.js +120 -119
  31. package/dist/index.d.ts +46 -20
  32. package/dist/index.esm.js +120 -119
  33. package/dist/input/index.d.ts +0 -1
  34. package/dist/input/styled.d.ts +5 -6
  35. package/dist/modal/container/styled.d.ts +0 -1
  36. package/dist/modal/context/ModalContext.d.ts +0 -1
  37. package/dist/modal/modal/styled.d.ts +4 -5
  38. package/dist/notification/context/NotificationsContext.d.ts +0 -1
  39. package/dist/progress/styled.d.ts +0 -1
  40. package/dist/result/styled.d.ts +0 -1
  41. package/dist/select/menu/styled.d.ts +0 -1
  42. package/dist/select/option/Option.d.ts +0 -1
  43. package/dist/select/option/styled.d.ts +0 -1
  44. package/dist/select/styled.d.ts +2 -3
  45. package/dist/select/toggle/label/floating/styled.d.ts +0 -1
  46. package/dist/select/toggle/label/single/SingleLabel.d.ts +0 -1
  47. package/dist/select/toggle/label/single/styled.d.ts +1 -2
  48. package/dist/select/toggle/styled.d.ts +3 -4
  49. package/dist/spin/styled.d.ts +0 -1
  50. package/dist/status/styled.d.ts +0 -1
  51. package/dist/stories/Accordion.stories.d.ts +1 -2
  52. package/dist/stories/Alert.stories.d.ts +1 -2
  53. package/dist/stories/Button.stories.d.ts +1 -2
  54. package/dist/stories/Card.stories.d.ts +0 -1
  55. package/dist/stories/Checkbox.stories.d.ts +1 -2
  56. package/dist/stories/CheckboxGroup.stories.d.ts +1 -2
  57. package/dist/stories/CheckboxGroupControl.stories.d.ts +1 -2
  58. package/dist/stories/DatePicker.stories.d.ts +1 -2
  59. package/dist/stories/Form.stories.d.ts +0 -1
  60. package/dist/stories/Header.stories.d.ts +3 -4
  61. package/dist/stories/Input.stories.d.ts +1 -2
  62. package/dist/stories/ModalManager.stories.d.ts +0 -1
  63. package/dist/stories/Page.stories.d.ts +0 -1
  64. package/dist/stories/Progress.stories.d.ts +1 -2
  65. package/dist/stories/Result.stories.d.ts +1 -2
  66. package/dist/stories/Select.stories.d.ts +1 -2
  67. package/dist/stories/Status.stories.d.ts +1 -2
  68. package/dist/stories/Table.stories.d.ts +0 -1
  69. package/dist/stories/Tabs.stories.d.ts +1 -2
  70. package/dist/stories/TextArea.stories.d.ts +1 -2
  71. package/dist/stories/Upload.stories.d.ts +1 -2
  72. package/dist/stories/select.styled.d.ts +0 -1
  73. package/dist/switch/index.d.ts +0 -1
  74. package/dist/switch/styled.d.ts +0 -1
  75. package/dist/table/styled.d.ts +2 -3
  76. package/dist/tabs/styles.d.ts +2 -3
  77. package/dist/textarea/index.d.ts +0 -1
  78. package/dist/textarea/styled.d.ts +3 -4
  79. package/dist/tinyscrollbar/scroll.styled.d.ts +0 -1
  80. package/dist/tinyscrollbar/styled.d.ts +3 -4
  81. package/dist/types/AccordionSubMenuProps.d.ts +0 -1
  82. package/dist/types/ChildrenProps.d.ts +0 -1
  83. package/dist/types/FormProps.d.ts +1 -1
  84. package/dist/types/ResultProps.d.ts +0 -1
  85. package/dist/types/TableProps.d.ts +0 -1
  86. package/dist/upload/index.d.ts +0 -1
  87. package/dist/upload/styled.d.ts +7 -8
  88. package/package.json +55 -56
  89. package/dist/output-DCvuWNga.css +0 -241
  90. package/dist/output-DfOH-aLb.css +0 -241
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ITDSize } from "../index";
3
2
  export type TableColumnType<T> = {
4
3
  key: keyof T | string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { UploadProps, ITDImperativeFuncProps } from "../index";
3
2
  /**
4
3
  *
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
3
2
  $fluid: boolean;
4
3
  }>> & string;
@@ -7,12 +6,12 @@ declare const FileContent: import("styled-components/dist/types").IStyledCompone
7
6
  $hasError: boolean;
8
7
  $disabled: boolean;
9
8
  $padding: number;
10
- $fileWidth?: string | number | undefined;
11
- $fileHeight?: string | number | undefined;
12
- $maxFileWidth?: string | number | undefined;
13
- $maxFileHeight?: string | number | undefined;
14
- $containerWidth?: string | number | undefined;
15
- $containerHeight?: string | number | undefined;
9
+ $fileWidth?: number | string;
10
+ $fileHeight?: number | string;
11
+ $maxFileWidth?: number | string;
12
+ $maxFileHeight?: number | string;
13
+ $containerWidth?: number | string;
14
+ $containerHeight?: number | string;
16
15
  }>> & string;
17
16
  declare const Label: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
18
17
  $showFocus: boolean;
@@ -43,7 +42,7 @@ declare const UploadStatusBox: import("styled-components/dist/types").IStyledCom
43
42
  }>> & string;
44
43
  declare const ErrorBorder: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
45
44
  declare const Failed: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
46
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
45
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
47
46
  }, never>> & string;
48
47
  declare const ErrorTooltip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
49
48
  export { Wrapper, FileContent, IconsWrapper, Label, CenterContent, Overlay, OverlayContent, Uploading, UploadStatusBox, ErrorBorder, ErrorTooltip, Failed };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inntechcorp/it-design",
3
- "version": "2.0.217",
3
+ "version": "2.0.220",
4
4
  "description": "All in one Design library for web applications.",
5
5
  "author": "Inn.Tech",
6
6
  "license": "ISC",
@@ -29,84 +29,83 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@mona-health/react-input-mask": "^3.0.3",
32
- "autoprefixer": "10.4.20",
33
- "axios": "1.7.2",
34
- "core-js": "3.37.1",
32
+ "autoprefixer": "^10.4.20",
33
+ "axios": "1.7.7",
34
+ "core-js": "3.38.1",
35
35
  "fast-deep-equal": "^3.1.3",
36
- "i18next": "23.11.5",
36
+ "i18next": "23.16.4",
37
37
  "i18next-browser-languagedetector": "8.0.0",
38
- "i18next-http-backend": "2.5.2",
38
+ "i18next-http-backend": "2.6.2",
39
39
  "i18next-resources-to-backend": "^1.2.1",
40
40
  "lodash-es": "^4.17.21",
41
41
  "moment": "2.30.1",
42
- "moment-timezone": "0.5.45",
43
- "node-sass": "^9.0.0",
42
+ "moment-timezone": "0.5.46",
44
43
  "overlayscrollbars": "2.0.3",
45
44
  "overlayscrollbars-react": "0.5.0",
46
- "postcss": "8.4.47",
45
+ "postcss": "^8.4.47",
47
46
  "postcss-calc": "10.0.2",
48
47
  "postcss-nested": "6.2.0",
49
48
  "prop-types": "^15.8.1",
50
- "query-string": "9.0.0",
49
+ "query-string": "9.1.1",
51
50
  "react": "18.3.1",
52
51
  "react-dom": "18.3.1",
53
- "react-i18next": "14.1.2",
52
+ "react-i18next": "15.1.0",
54
53
  "react-nanny": "^2.15.0",
55
- "react-number-format": "5.3.4",
56
- "react-router-dom": "6.23.1",
57
- "react-spring": "9.7.3",
54
+ "react-number-format": "5.4.2",
55
+ "react-router-dom": "6.27.0",
56
+ "react-spring": "9.7.4",
58
57
  "react-svg": "16.1.34",
59
58
  "react-transition-group": "4.4.5",
60
59
  "smoothscroll-polyfill": "^0.4.4",
61
- "styled-components": "6.1.11",
62
- "web-vitals": "4.0.1"
60
+ "styled-components": "6.1.13",
61
+ "web-vitals": "4.2.4"
63
62
  },
64
63
  "devDependencies": {
65
- "@babel/core": "7.24.6",
66
- "@babel/plugin-transform-runtime": "7.24.6",
67
- "@babel/preset-env": "7.24.6",
68
- "@babel/preset-react": "7.24.6",
69
- "@babel/preset-typescript": "7.24.6",
70
- "@babel/runtime": "7.24.6",
71
- "@chromatic-com/storybook": "1.5.0",
64
+ "@babel/core": "7.26.0",
65
+ "@babel/plugin-transform-runtime": "7.25.9",
66
+ "@babel/preset-env": "7.26.0",
67
+ "@babel/preset-react": "7.25.9",
68
+ "@babel/preset-typescript": "7.26.0",
69
+ "@babel/runtime": "7.26.0",
70
+ "@chromatic-com/storybook": "3.1.0",
72
71
  "@rollup/plugin-babel": "6.0.4",
73
- "@rollup/plugin-commonjs": "25.0.8",
72
+ "@rollup/plugin-commonjs": "28.0.1",
74
73
  "@rollup/plugin-image": "^3.0.3",
75
74
  "@rollup/plugin-json": "6.1.0",
76
- "@rollup/plugin-node-resolve": "15.2.3",
77
- "@storybook/addon-essentials": "8.1.5",
78
- "@storybook/addon-interactions": "8.1.5",
79
- "@storybook/addon-links": "8.1.5",
80
- "@storybook/addon-mdx-gfm": "8.1.5",
81
- "@storybook/addon-onboarding": "8.1.5",
82
- "@storybook/blocks": "8.1.5",
83
- "@storybook/node-logger": "8.1.5",
84
- "@storybook/react": "8.1.5",
85
- "@storybook/react-vite": "8.1.5",
86
- "@storybook/test": "8.1.5",
87
- "@testing-library/jest-dom": "6.4.5",
88
- "@testing-library/react": "15.0.7",
75
+ "@rollup/plugin-node-resolve": "15.3.0",
76
+ "@storybook/addon-essentials": "8.3.6",
77
+ "@storybook/addon-interactions": "8.3.6",
78
+ "@storybook/addon-links": "8.3.6",
79
+ "@storybook/addon-mdx-gfm": "8.3.6",
80
+ "@storybook/addon-onboarding": "8.3.6",
81
+ "@storybook/blocks": "8.3.6",
82
+ "@storybook/node-logger": "8.3.6",
83
+ "@storybook/react": "8.3.6",
84
+ "@storybook/react-vite": "8.3.6",
85
+ "@storybook/test": "8.3.6",
86
+ "@testing-library/jest-dom": "6.6.2",
87
+ "@testing-library/react": "16.0.1",
89
88
  "@testing-library/user-event": "14.5.2",
90
89
  "@types/lodash-es": "^4.17.12",
91
- "@types/node": "20.12.13",
92
- "@types/react": "^18.3.3",
93
- "@types/react-dom": "18.3.0",
94
- "@types/rollup-plugin-node-globals": "^1.4.4",
95
- "@vitejs/plugin-react": "4.3.0",
90
+ "@types/node": "22.8.1",
91
+ "@types/react": "18.3.12",
92
+ "@types/react-dom": "18.3.1",
93
+ "@types/rollup-plugin-node-globals": "1.4.5",
94
+ "@vitejs/plugin-react": "4.3.3",
96
95
  "babel-plugin-styled-components": "2.1.4",
97
96
  "copy-webpack-plugin": "12.0.2",
98
97
  "customize-cra": "^1.0.0",
99
98
  "dts-bundle-generator": "^9.5.1",
100
- "eslint-plugin-storybook": "0.8.0",
99
+ "eslint-plugin-storybook": "0.10.1",
101
100
  "esm": "^3.2.25",
102
101
  "less-loader": "12.2.0",
103
- "postcss-custom-properties": "14.0.1",
102
+ "postcss-custom-properties": "14.0.3",
104
103
  "postcss-import": "16.1.0",
105
- "postcss-nesting": "13.0.0",
106
- "postcss-normalize": "13.0.0",
107
- "postcss-preset-env": "10.0.3",
104
+ "postcss-nesting": "13.0.1",
105
+ "postcss-normalize": "13.0.1",
106
+ "postcss-preset-env": "10.0.8",
108
107
  "react-app-rewired": "^2.2.1",
109
- "rollup": "4.18.0",
108
+ "rollup": "4.24.2",
110
109
  "rollup-plugin-copy": "^3.5.0",
111
110
  "rollup-plugin-dts": "6.1.1",
112
111
  "rollup-plugin-local-resolve": "^1.0.7",
@@ -119,18 +118,18 @@
119
118
  "rollup-plugin-styles": "4.0.0",
120
119
  "rollup-plugin-terser": "^7.0.2",
121
120
  "rollup-plugin-typescript2": "0.36.0",
122
- "sass": "1.77.4",
121
+ "sass": "^1.80.4",
123
122
  "source-map-loader": "5.0.0",
124
- "storybook": "8.1.5",
125
- "tslib": "^2.5.0",
126
- "typescript": "5.4.5",
127
- "vite": "5.2.12",
128
- "vite-plugin-css-injected-by-js": "^3.5.1",
129
- "vite-plugin-dts": "^3.9.1",
123
+ "storybook": "8.3.6",
124
+ "tslib": "2.8.0",
125
+ "typescript": "5.6.3",
126
+ "vite": "5.4.10",
127
+ "vite-plugin-css-injected-by-js": "3.5.2",
128
+ "vite-plugin-dts": "4.3.0",
130
129
  "vite-plugin-lib-inject-css": "2.1.1",
131
130
  "vite-plugin-node-polyfills": "0.22.0",
132
131
  "vite-plugin-svgr": "4.2.0",
133
- "vite-tsconfig-paths": "4.3.2"
132
+ "vite-tsconfig-paths": "5.0.1"
134
133
  },
135
134
  "peerDependencies": {
136
135
  "react": "^18.3.1",
@@ -1,241 +0,0 @@
1
- .defaultInput {
2
- height: 100%;
3
- }
4
-
5
- .floatingInput {
6
- font-size: 13px;
7
- color: rgba(0, 0, 0, 0.8509803922);
8
- caret-color: rgba(0, 0, 0, 0.8509803922);
9
- }
10
-
11
- /* --------------------------------- */
12
- .floatingInput::placeholder {
13
- color: rgba(0, 0, 0, 0);
14
- }
15
-
16
- .floatingInput:disabled:not(.floatingInput[data-locked=true]) {
17
- opacity: 0.5;
18
- }
19
-
20
- .floatingInput:disabled :not(.floatingInput[data-locked=true]) {
21
- opacity: 0.5;
22
- }
23
-
24
- .floatingLabel {
25
- display: block;
26
- position: relative;
27
- max-height: 0;
28
- font-weight: 500;
29
- pointer-events: none;
30
- font-size: 16px;
31
- }
32
-
33
- .floatingLabel::before {
34
- color: rgba(0, 0, 0, 0.6);
35
- content: attr(data-content);
36
- display: inline-block;
37
- filter: blur(0);
38
- backface-visibility: hidden;
39
- transform-origin: left top;
40
- transition: transform 0.2s ease-out;
41
- position: relative;
42
- }
43
-
44
- .floatingInput:placeholder-shown + .floatingLabel::before {
45
- transform: translate3d(0, -32px, 0) scale3d(0.8, 0.8, 1);
46
- font-smooth: always;
47
- -webkit-font-smoothing: antialiased;
48
- }
49
-
50
- .floatingLabel::before,
51
- .floatingInput:focus + .floatingLabel::before {
52
- transform: translate3d(0, -40px, 0) scale3d(0.8, 0.8, 1);
53
- }
54
-
55
- .floatingInput:focus + .floatingLabel::before {
56
- color: rgba(0, 0, 0, 0.6);
57
- }
58
-
59
- .floatingInputinput:-webkit-autofill, .floatingInputinput:-webkit-autofill:focus, .floatingInputinput:-webkit-autofill:hover {
60
- -webkit-text-fill-color: #3496fa !important;
61
- -webkit-box-shadow: 0 0 0 30px #151d3d inset !important;
62
- }
63
-
64
- .arrow {
65
- transition: all 0.25s ease-out;
66
- margin-left: auto;
67
- transform: rotate(0deg);
68
- width: 20px;
69
- height: 20px;
70
- fill: rgba(255, 255, 255, 0.6);
71
- }
72
-
73
- .arrowNormal {
74
- margin-left: auto;
75
- transform: rotate(-90deg);
76
- }
77
-
78
- .arrowOpen {
79
- transform: rotate(-180deg);
80
- fill: #ffffff;
81
- }
82
-
83
- .icon {
84
- margin-right: 8px;
85
- height: 22px;
86
- width: 22px;
87
- color: rgba(255, 255, 255, 0.6);
88
- font-size: 22px;
89
- display: flex;
90
- align-items: center;
91
- }
92
-
93
- .menu {
94
- background-color: #050A20;
95
- border-radius: 0 5px 5px 5px;
96
- overflow: hidden;
97
- position: absolute;
98
- z-index: 2;
99
- box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.25);
100
- transform-origin: 50% 1%;
101
- transform-box: fill-box;
102
- transition-timing-function: cubic-bezier(0.75, -0.5, 0, 1.25);
103
- }
104
- .menu ul {
105
- min-width: max-content;
106
- }
107
-
108
- .bodyWrapper {
109
- height: 300px;
110
- }
111
-
112
- .bodyWrapperLong {
113
- height: 300px;
114
- }
115
-
116
- .bottom {
117
- top: 100%;
118
- }
119
-
120
- .left {
121
- left: 0;
122
- }
123
-
124
- /* -------------------------------- */
125
- .menuEnter {
126
- opacity: 0;
127
- height: 50px;
128
- }
129
-
130
- .menuEnterActive {
131
- opacity: 1;
132
- height: 300px;
133
- transition: height 150ms ease-out;
134
- }
135
-
136
- .menuExit {
137
- opacity: 1;
138
- }
139
-
140
- .menuExitActive {
141
- opacity: 0;
142
- height: 300px;
143
- transition: height 150ms ease-out;
144
- }
145
-
146
- /* -------------------------------- */
147
- .menuEnterActiveLong {
148
- opacity: 1;
149
- height: 300px;
150
- transition: height 150ms ease-out;
151
- }
152
-
153
- .menuExitActiveLong {
154
- opacity: 0;
155
- height: 300px;
156
- transition: height 150ms ease-out;
157
- }
158
-
159
- .option {
160
- display: flex;
161
- align-items: center;
162
- cursor: pointer;
163
- min-width: max-content;
164
- padding: 10px 30px 10px 15px;
165
- }
166
- .option:not(:last-child) {
167
- margin-bottom: 1px;
168
- }
169
- .option:hover {
170
- background-color: rgba(29, 38, 73, 0.5019607843);
171
- }
172
-
173
- .selected .single, .selected .option span {
174
- color: #ffffff;
175
- }
176
-
177
- .single, .option span {
178
- color: rgba(255, 255, 255, 0.6666666667);
179
- font-weight: 400;
180
- font-size: 12px;
181
- line-height: 12px;
182
- white-space: nowrap;
183
- }
184
-
185
- .container {
186
- display: flex;
187
- align-items: center;
188
- cursor: pointer;
189
- user-select: none;
190
- }
191
-
192
- .label {
193
- display: flex;
194
- align-items: center;
195
- position: relative;
196
- }
197
- .label span {
198
- font-size: 12px;
199
- font-weight: 400;
200
- color: rgba(255, 255, 255, 0.6);
201
- line-height: 1.2;
202
- margin-left: 10px;
203
- }
204
-
205
- .checkmark {
206
- height: 20px;
207
- width: 20px;
208
- border-radius: 6px;
209
- background-color: #1D2649;
210
- transition: background-color 0.25sn ease-out;
211
- display: flex;
212
- justify-content: center;
213
- align-items: center;
214
- }
215
- .checkmark svg {
216
- fill: #ffffff;
217
- visibility: hidden;
218
- }
219
-
220
- .check {
221
- background-color: #3396FB;
222
- }
223
- .check svg {
224
- visibility: visible;
225
- animation: bounce 0.5s;
226
- }
227
-
228
- @keyframes bounce {
229
- 0% {
230
- transform: scale(0.2) rotate(4deg);
231
- }
232
- 50% {
233
- transform: scale(1.2) rotate(-2deg);
234
- }
235
- 75% {
236
- transform: scale(0.9) rotate(1deg);
237
- }
238
- 100% {
239
- transform: scale(1) rotate(0deg);
240
- }
241
- }
@@ -1,241 +0,0 @@
1
- .defaultInput {
2
- height: 100%;
3
- }
4
-
5
- .floatingInput {
6
- font-size: 13px;
7
- color: rgba(0, 0, 0, 0.8509803922);
8
- caret-color: rgba(0, 0, 0, 0.8509803922);
9
- }
10
-
11
- /* --------------------------------- */
12
- .floatingInput::placeholder {
13
- color: rgba(0, 0, 0, 0);
14
- }
15
-
16
- .floatingInput:disabled:not(.floatingInput[data-locked=true]) {
17
- opacity: 0.5;
18
- }
19
-
20
- .floatingInput:disabled :not(.floatingInput[data-locked=true]) {
21
- opacity: 0.5;
22
- }
23
-
24
- .floatingLabel {
25
- display: block;
26
- position: relative;
27
- max-height: 0;
28
- font-weight: 500;
29
- pointer-events: none;
30
- font-size: 16px;
31
- }
32
-
33
- .floatingLabel::before {
34
- color: rgba(0, 0, 0, 0.6);
35
- content: attr(data-content);
36
- display: inline-block;
37
- filter: blur(0);
38
- backface-visibility: hidden;
39
- transform-origin: left top;
40
- transition: transform 0.2s ease-out;
41
- position: relative;
42
- }
43
-
44
- .floatingInput:placeholder-shown + .floatingLabel::before {
45
- transform: translate3d(0, -32px, 0) scale3d(0.8, 0.8, 1);
46
- font-smooth: always;
47
- -webkit-font-smoothing: antialiased;
48
- }
49
-
50
- .floatingLabel::before,
51
- .floatingInput:focus + .floatingLabel::before {
52
- transform: translate3d(0, -40px, 0) scale3d(0.8, 0.8, 1);
53
- }
54
-
55
- .floatingInput:focus + .floatingLabel::before {
56
- color: rgba(0, 0, 0, 0.6);
57
- }
58
-
59
- .floatingInputinput:-webkit-autofill, .floatingInputinput:-webkit-autofill:focus, .floatingInputinput:-webkit-autofill:hover {
60
- -webkit-text-fill-color: #3496fa !important;
61
- -webkit-box-shadow: 0 0 0 30px #151d3d inset !important;
62
- }
63
-
64
- .option {
65
- display: flex;
66
- align-items: center;
67
- cursor: pointer;
68
- min-width: max-content;
69
- padding: 10px 30px 10px 15px;
70
- }
71
- .option:not(:last-child) {
72
- margin-bottom: 1px;
73
- }
74
- .option:hover {
75
- background-color: rgba(29, 38, 73, 0.5019607843);
76
- }
77
-
78
- .selected .single, .selected .option span {
79
- color: #ffffff;
80
- }
81
-
82
- .single, .option span {
83
- color: rgba(255, 255, 255, 0.6666666667);
84
- font-weight: 400;
85
- font-size: 12px;
86
- line-height: 12px;
87
- white-space: nowrap;
88
- }
89
-
90
- .arrow {
91
- transition: all 0.25s ease-out;
92
- margin-left: auto;
93
- transform: rotate(0deg);
94
- width: 20px;
95
- height: 20px;
96
- fill: rgba(255, 255, 255, 0.6);
97
- }
98
-
99
- .arrowNormal {
100
- margin-left: auto;
101
- transform: rotate(-90deg);
102
- }
103
-
104
- .arrowOpen {
105
- transform: rotate(-180deg);
106
- fill: #ffffff;
107
- }
108
-
109
- .icon {
110
- margin-right: 8px;
111
- height: 22px;
112
- width: 22px;
113
- color: rgba(255, 255, 255, 0.6);
114
- font-size: 22px;
115
- display: flex;
116
- align-items: center;
117
- }
118
-
119
- .menu {
120
- background-color: #050A20;
121
- border-radius: 0 5px 5px 5px;
122
- overflow: hidden;
123
- position: absolute;
124
- z-index: 2;
125
- box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.25);
126
- transform-origin: 50% 1%;
127
- transform-box: fill-box;
128
- transition-timing-function: cubic-bezier(0.75, -0.5, 0, 1.25);
129
- }
130
- .menu ul {
131
- min-width: max-content;
132
- }
133
-
134
- .bodyWrapper {
135
- height: 300px;
136
- }
137
-
138
- .bodyWrapperLong {
139
- height: 300px;
140
- }
141
-
142
- .bottom {
143
- top: 100%;
144
- }
145
-
146
- .left {
147
- left: 0;
148
- }
149
-
150
- /* -------------------------------- */
151
- .menuEnter {
152
- opacity: 0;
153
- height: 50px;
154
- }
155
-
156
- .menuEnterActive {
157
- opacity: 1;
158
- height: 300px;
159
- transition: height 150ms ease-out;
160
- }
161
-
162
- .menuExit {
163
- opacity: 1;
164
- }
165
-
166
- .menuExitActive {
167
- opacity: 0;
168
- height: 300px;
169
- transition: height 150ms ease-out;
170
- }
171
-
172
- /* -------------------------------- */
173
- .menuEnterActiveLong {
174
- opacity: 1;
175
- height: 300px;
176
- transition: height 150ms ease-out;
177
- }
178
-
179
- .menuExitActiveLong {
180
- opacity: 0;
181
- height: 300px;
182
- transition: height 150ms ease-out;
183
- }
184
-
185
- .container {
186
- display: flex;
187
- align-items: center;
188
- cursor: pointer;
189
- user-select: none;
190
- }
191
-
192
- .label {
193
- display: flex;
194
- align-items: center;
195
- position: relative;
196
- }
197
- .label span {
198
- font-size: 12px;
199
- font-weight: 400;
200
- color: rgba(255, 255, 255, 0.6);
201
- line-height: 1.2;
202
- margin-left: 10px;
203
- }
204
-
205
- .checkmark {
206
- height: 20px;
207
- width: 20px;
208
- border-radius: 6px;
209
- background-color: #1D2649;
210
- transition: background-color 0.25sn ease-out;
211
- display: flex;
212
- justify-content: center;
213
- align-items: center;
214
- }
215
- .checkmark svg {
216
- fill: #ffffff;
217
- visibility: hidden;
218
- }
219
-
220
- .check {
221
- background-color: #3396FB;
222
- }
223
- .check svg {
224
- visibility: visible;
225
- animation: bounce 0.5s;
226
- }
227
-
228
- @keyframes bounce {
229
- 0% {
230
- transform: scale(0.2) rotate(4deg);
231
- }
232
- 50% {
233
- transform: scale(1.2) rotate(-2deg);
234
- }
235
- 75% {
236
- transform: scale(0.9) rotate(1deg);
237
- }
238
- 100% {
239
- transform: scale(1) rotate(0deg);
240
- }
241
- }