ar-design 0.1.94 → 0.1.96

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 (46) hide show
  1. package/dist/assets/css/components/data-display/table/media-queries/large.css +3 -0
  2. package/dist/assets/css/components/data-display/table/media-queries/medium.css +3 -0
  3. package/dist/assets/css/components/data-display/table/media-queries/small.css +3 -0
  4. package/dist/assets/css/components/data-display/table/media-queries/x-large.css +3 -0
  5. package/dist/assets/css/components/data-display/table/media-queries/x-small.css +3 -0
  6. package/dist/assets/css/components/data-display/table/media-queries/xx-large.css +3 -0
  7. package/dist/assets/css/components/data-display/table/media-queries/xxx-large.css +4 -0
  8. package/dist/assets/css/components/data-display/table/styles.css +3 -0
  9. package/dist/assets/css/components/feedback/popover/styles.css +3 -0
  10. package/dist/assets/css/components/form/date-picker/calendar/calendar.css +2 -0
  11. package/dist/assets/css/components/form/date-picker/calendar/header.css +50 -2
  12. package/dist/assets/css/components/form/select/options.css +2 -0
  13. package/dist/assets/css/components/layout/layout.css +9 -24
  14. package/dist/assets/css/components/layout/media-queries/large.css +35 -0
  15. package/dist/assets/css/components/layout/media-queries/medium.css +26 -11
  16. package/dist/assets/css/components/layout/media-queries/small.css +26 -11
  17. package/dist/assets/css/components/layout/media-queries/x-large.css +21 -5
  18. package/dist/assets/css/components/layout/media-queries/x-small.css +19 -0
  19. package/dist/assets/css/components/layout/media-queries/xx-large.css +29 -0
  20. package/dist/assets/css/components/layout/media-queries/xxx-large.css +30 -0
  21. package/dist/components/{layout → data-display}/grid-system/index.d.ts +1 -1
  22. package/dist/components/{layout → data-display}/grid-system/index.js +1 -1
  23. package/dist/components/data-display/table/index.js +3 -3
  24. package/dist/components/feedback/popover/index.js +2 -0
  25. package/dist/components/form/date-picker/index.js +7 -10
  26. package/dist/components/form/select/index.js +2 -0
  27. package/dist/index.d.ts +1 -1
  28. package/dist/index.js +1 -1
  29. package/package.json +1 -1
  30. /package/dist/assets/css/components/{layout → data-display}/grid-system/column/large.css +0 -0
  31. /package/dist/assets/css/components/{layout → data-display}/grid-system/column/medium.css +0 -0
  32. /package/dist/assets/css/components/{layout → data-display}/grid-system/column/small.css +0 -0
  33. /package/dist/assets/css/components/{layout → data-display}/grid-system/column/x-large.css +0 -0
  34. /package/dist/assets/css/components/{layout → data-display}/grid-system/column/x-small.css +0 -0
  35. /package/dist/assets/css/components/{layout → data-display}/grid-system/row/styles.css +0 -0
  36. /package/dist/assets/css/components/{layout/grid-system/grid-system.css → data-display/grid-system/styles.css} +0 -0
  37. /package/dist/components/{layout → data-display}/grid-system/box/Box.d.ts +0 -0
  38. /package/dist/components/{layout → data-display}/grid-system/box/Box.js +0 -0
  39. /package/dist/components/{layout → data-display}/grid-system/column/Column.d.ts +0 -0
  40. /package/dist/components/{layout → data-display}/grid-system/column/Column.js +0 -0
  41. /package/dist/components/{layout → data-display}/grid-system/column/IProps.d.ts +0 -0
  42. /package/dist/components/{layout → data-display}/grid-system/column/IProps.js +0 -0
  43. /package/dist/components/{layout → data-display}/grid-system/row/Row.d.ts +0 -0
  44. /package/dist/components/{layout → data-display}/grid-system/row/Row.js +0 -0
  45. /package/dist/components/{layout → data-display}/grid-system/row/Types.d.ts +0 -0
  46. /package/dist/components/{layout → data-display}/grid-system/row/Types.js +0 -0
@@ -0,0 +1,3 @@
1
+ /* Large (Tablet Yatay & Büyük Tablet) */
2
+ @media (min-width: 768px) and (max-width: 991px) {
3
+ }
@@ -0,0 +1,3 @@
1
+ /* Medium (Tablet Dikey & Büyük Telefonlar) */
2
+ @media (min-width: 576px) and (max-width: 767px) {
3
+ }
@@ -0,0 +1,3 @@
1
+ /* Small (Küçük Telefonlar) */
2
+ @media (max-width: 575px) {
3
+ }
@@ -0,0 +1,3 @@
1
+ /* X-Large (Standart Laptop & Küçük Desktop) */
2
+ @media (min-width: 992px) and (max-width: 1199px) {
3
+ }
@@ -0,0 +1,3 @@
1
+ /* X-Small (Ekstra Küçük Telefonlar, Saat vb.) */
2
+ @media (max-width: 320px) {
3
+ }
@@ -0,0 +1,3 @@
1
+ /* XX-Large (Laptop & Büyük Desktop Ekranlar) */
2
+ @media (min-width: 1200px) and (max-width: 1399px) {
3
+ }
@@ -0,0 +1,4 @@
1
+ /* XXX-Large (Büyük Ekranlar: TV, Ultra Geniş Monitörler) */
2
+
3
+ @media (min-width: 1400px) {
4
+ }
@@ -3,6 +3,8 @@
3
3
  flex-direction: column;
4
4
  background-color: var(--white);
5
5
  max-width: 100%;
6
+ min-width: 100%;
7
+ width: 1px;
6
8
  border-radius: var(--border-radius-lg);
7
9
  box-shadow: 0px 10px 15px -5px rgba(var(--black-rgb), 0.1);
8
10
  overflow: hidden;
@@ -78,6 +80,7 @@
78
80
  color: var(--gray-700);
79
81
  -webkit-text-stroke: 0.25px var(--gray-700);
80
82
  text-align: left;
83
+ text-wrap: nowrap;
81
84
  transition: background 250ms, box-shadow 250ms ease-in-out;
82
85
  z-index: 2;
83
86
  }
@@ -4,6 +4,8 @@
4
4
  }
5
5
 
6
6
  .ar-popover {
7
+ visibility: hidden;
8
+ opacity: 0;
7
9
  position: absolute;
8
10
  display: flex;
9
11
  flex-direction: column;
@@ -14,6 +16,7 @@
14
16
  border-radius: var(--border-radius-sm);
15
17
  box-shadow: 0 0 15px -2.5px rgba(var(--black-rgb), 0.1);
16
18
  z-index: 1051;
19
+ transition: visibility 250ms, opacity 250ms;
17
20
  }
18
21
 
19
22
  .ar-popover > .content {
@@ -1,4 +1,6 @@
1
1
  .ar-date-calendar {
2
+ visibility: hidden;
3
+ opacity: 0;
2
4
  position: absolute;
3
5
  top: 0;
4
6
  left: 0;
@@ -30,9 +30,57 @@
30
30
  }
31
31
 
32
32
  /* #region Prev and Next Buttons */
33
- .ar-date-calendar > .header > .select-field > .prev,
34
- .ar-date-calendar > .header > .select-field > .next {
33
+ .ar-date-calendar > .header > .select-field > .prev > span,
34
+ .ar-date-calendar > .header > .select-field > .next > span {
35
+ display: inline-block;
36
+ width: 1rem;
37
+ height: 1rem;
38
+ border: solid 2px transparent;
39
+ transform: rotate(45deg);
35
40
  user-select: none;
41
+ cursor: pointer;
42
+ }
43
+ .ar-date-calendar > .header > .select-field > .prev > span::before,
44
+ .ar-date-calendar > .header > .select-field > .next > span::before {
45
+ border: solid 2px transparent;
46
+ }
47
+
48
+ .ar-date-calendar > .header > .select-field > .prev > span:first-child {
49
+ position: relative;
50
+ border-left-color: var(--primary);
51
+ border-bottom-color: var(--primary);
52
+ }
53
+ .ar-date-calendar > .header > .select-field > .prev > span:first-child::before {
54
+ position: absolute;
55
+ content: "";
56
+ width: 100%;
57
+ height: 100%;
58
+ border-left-color: rgba(var(--primary-rgb), 0.25);
59
+ border-bottom-color: rgba(var(--primary-rgb), 0.25);
60
+ }
61
+ .ar-date-calendar > .header > .select-field > .prev > span:last-child {
62
+ border-left-color: var(--gray-500);
63
+ border-bottom-color: var(--gray-500);
64
+ margin-left: 0.3rem;
65
+ }
66
+
67
+ .ar-date-calendar > .header > .select-field > .next > span:first-child {
68
+ border-top-color: var(--gray-500);
69
+ border-right-color: var(--gray-500);
70
+ margin-right: 0.3rem;
71
+ }
72
+ .ar-date-calendar > .header > .select-field > .next > span:last-child {
73
+ position: relative;
74
+ border-top-color: var(--primary);
75
+ border-right-color: var(--primary);
76
+ }
77
+ .ar-date-calendar > .header > .select-field > .next > span:last-child::before {
78
+ position: absolute;
79
+ content: "";
80
+ width: 100%;
81
+ height: 100%;
82
+ border-top-color: rgba(var(--primary-rgb), 0.25);
83
+ border-right-color: rgba(var(--primary-rgb), 0.25);
36
84
  }
37
85
  /* #endregion Prev and Next Buttons */
38
86
  /* Prev and Next Buttons */
@@ -1,4 +1,6 @@
1
1
  .ar-select-options {
2
+ visibility: hidden;
3
+ opacity: 0;
2
4
  position: absolute;
3
5
  top: 0;
4
6
  background-color: var(--white);
@@ -13,24 +13,18 @@
13
13
  .ar-layout > aside.ar-aside.left {
14
14
  display: flex;
15
15
  flex-direction: column;
16
- min-width: 280px;
17
- padding: 0 1rem;
18
16
  border-right: solid 1px var(--gray-200);
19
17
  }
20
18
  .ar-layout > aside.ar-aside.left > .logo {
21
19
  display: flex;
22
20
  align-items: center;
23
- min-height: 5rem;
24
- margin-bottom: 1rem;
25
21
  }
26
22
  .ar-layout > aside.ar-aside.right {
27
- width: 100%;
28
23
  }
29
24
 
30
25
  .ar-layout > main {
31
26
  display: flex;
32
27
  flex-direction: column;
33
- width: 100%;
34
28
  }
35
29
  .ar-layout > main > header {
36
30
  display: flex;
@@ -39,8 +33,6 @@
39
33
  top: 0;
40
34
  background-color: rgba(var(--white-rgb), 0.5);
41
35
  backdrop-filter: blur(5px);
42
- height: 5rem;
43
- padding: 0 2.5rem;
44
36
  box-shadow: 0 10px 10px -15px rgba(var(--black-rgb), 0.25);
45
37
  z-index: 10;
46
38
  }
@@ -49,26 +41,19 @@
49
41
  }
50
42
 
51
43
  .ar-layout > main > section {
52
- width: 1280px;
53
- margin: 0 auto;
44
+ width: 100%;
54
45
  height: fit-content;
55
- padding: 2.5rem;
46
+ margin-left: auto;
47
+ margin-right: auto;
56
48
  }
57
49
  .ar-layout > main > section.full-width {
58
- width: 100%;
59
- }
60
-
61
- /* .ar-layout > main:not(:has(> .ar-aside)) > section {
62
- min-width: 100%;
63
- }
64
- .ar-layout > main:has(> .ar-aside.left) > section {
65
- padding-left: 2rem;
66
50
  }
67
- .ar-layout > main:has(> .ar-aside.left) > section:has(~ .ar-aside.right) {
68
- padding: 0 2rem;
69
- } */
70
51
 
71
52
  /* Media Queries */
72
- /* @import url("./media-queries/x-large.css");
53
+ /* @import url("./media-queries/xxx-large.css");
54
+ @import url("./media-queries/xx-large.css");
55
+ @import url("./media-queries/x-large.css");
56
+ @import url("./media-queries/large.css");
73
57
  @import url("./media-queries/medium.css");
74
- @import url("./media-queries/small.css"); */
58
+ @import url("./media-queries/small.css");
59
+ @import url("./media-queries/x-small.css"); */
@@ -0,0 +1,35 @@
1
+ /* Large (Tablet Yatay & Büyük Tablet) */
2
+ @media (min-width: 768px) and (max-width: 991px) {
3
+ .ar-layout > aside.ar-aside.left {
4
+ min-width: 3.85rem;
5
+ max-width: 3.85rem;
6
+ padding: 0 1rem;
7
+ overflow: hidden;
8
+ }
9
+ .ar-layout > aside.ar-aside.left:hover {
10
+ min-width: 280px;
11
+ max-width: 280px;
12
+ }
13
+ .ar-layout > aside.ar-aside.left > .logo {
14
+ visibility: hidden;
15
+ opacity: 0;
16
+ height: 5rem;
17
+ margin-bottom: 1rem;
18
+ }
19
+ .ar-layout > aside.ar-aside.right {
20
+ width: 100%;
21
+ }
22
+
23
+ .ar-layout > main {
24
+ width: 100%;
25
+ }
26
+ .ar-layout > main > header {
27
+ height: 5rem;
28
+ padding: 0 2.5rem;
29
+ }
30
+
31
+ .ar-layout > main > section {
32
+ max-width: none;
33
+ padding: 2.5rem;
34
+ }
35
+ }
@@ -1,21 +1,36 @@
1
- @media (width <= 991px) {
2
- .ar-layout > header > .ar-header-with-wrap {
3
- width: 767px !important;
1
+ /* Medium (Tablet Dikey & Büyük Telefonlar) */
2
+ @media (min-width: 576px) and (max-width: 767px) {
3
+ .ar-layout > aside.ar-aside.left {
4
+ min-width: 3.85rem;
5
+ max-width: 3.85rem;
6
+ padding: 0 1rem;
7
+ overflow: hidden;
8
+ }
9
+ .ar-layout > aside.ar-aside.left:hover {
10
+ min-width: 280px;
11
+ max-width: 280px;
12
+ }
13
+ .ar-layout > aside.ar-aside.left > .logo {
14
+ visibility: hidden;
15
+ opacity: 0;
16
+ height: 5rem;
17
+ margin-bottom: 1rem;
4
18
  }
5
19
 
6
- .ar-layout > main {
7
- width: 767px !important;
20
+ .ar-layout > aside.ar-aside.right {
21
+ width: 100%;
8
22
  }
9
23
 
10
- .ar-layout > main > aside.ar-aside.left {
11
- display: none;
24
+ .ar-layout > main {
25
+ width: 100%;
12
26
  }
13
- .ar-layout > main > aside.ar-aside.right {
14
- display: none;
27
+ .ar-layout > main > header {
28
+ height: 5rem;
29
+ padding: 0 2.5rem;
15
30
  }
16
31
 
17
32
  .ar-layout > main > section {
18
- min-width: 100% !important;
19
- padding-left: 0 !important;
33
+ max-width: none;
34
+ padding: 2.5rem;
20
35
  }
21
36
  }
@@ -1,21 +1,36 @@
1
- @media (width <= 767px) {
2
- .ar-layout > header > .ar-header-with-wrap {
3
- width: 95% !important;
1
+ /* Small (Küçük Telefonlar) */
2
+ @media (max-width: 575px) {
3
+ .ar-layout > aside.ar-aside.left {
4
+ min-width: 3.85rem;
5
+ max-width: 3.85rem;
6
+ padding: 0 1rem;
7
+ overflow: hidden;
8
+ }
9
+ .ar-layout > aside.ar-aside.left:hover {
10
+ min-width: 280px;
11
+ max-width: 280px;
12
+ }
13
+ .ar-layout > aside.ar-aside.left > .logo {
14
+ visibility: hidden;
15
+ opacity: 0;
16
+ height: 5rem;
17
+ margin-bottom: 1rem;
4
18
  }
5
19
 
6
- .ar-layout > main {
7
- width: 95% !important;
20
+ .ar-layout > aside.ar-aside.right {
21
+ width: 100%;
8
22
  }
9
23
 
10
- .ar-layout > main > aside.ar-aside.left {
11
- display: none;
24
+ .ar-layout > main {
25
+ width: 100%;
12
26
  }
13
- .ar-layout > main > aside.ar-aside.right {
14
- display: none;
27
+ .ar-layout > main > header {
28
+ height: 5rem;
29
+ padding: 0 2.5rem;
15
30
  }
16
31
 
17
32
  .ar-layout > main > section {
18
- min-width: 100% !important;
19
- padding-left: 0 !important;
33
+ max-width: none;
34
+ padding: 2.5rem;
20
35
  }
21
36
  }
@@ -1,13 +1,29 @@
1
- @media (width <= 1280px) {
2
- .ar-layout > header > .ar-header-with-wrap {
3
- width: 991px !important;
1
+ /* X-Large (Standart Laptop & Küçük Desktop) */
2
+ @media (min-width: 992px) and (max-width: 1199px) {
3
+ .ar-layout > aside.ar-aside.left {
4
+ min-width: 280px;
5
+ max-width: 280px;
6
+ padding: 0 1rem;
7
+ }
8
+ .ar-layout > aside.ar-aside.left > .logo {
9
+ height: 5rem;
10
+ margin-bottom: 1rem;
11
+ }
12
+
13
+ .ar-layout > aside.ar-aside.right {
14
+ width: 100%;
4
15
  }
5
16
 
6
17
  .ar-layout > main {
7
- width: 991px !important;
18
+ width: 100%;
19
+ }
20
+ .ar-layout > main > header {
21
+ height: 5rem;
22
+ padding: 0 2.5rem;
8
23
  }
9
24
 
10
25
  .ar-layout > main > section {
11
- min-width: 791px !important;
26
+ max-width: 960px;
27
+ padding: 2.5rem;
12
28
  }
13
29
  }
@@ -0,0 +1,19 @@
1
+ /* X-Small (Ekstra Küçük Telefonlar, Saat vb.) */
2
+ @media (max-width: 320px) {
3
+ .ar-layout > aside.ar-aside.left {
4
+ min-width: 3.7rem;
5
+ max-width: 3.7rem;
6
+ padding: 0 1rem;
7
+ overflow: hidden;
8
+ }
9
+ .ar-layout > aside.ar-aside.left:hover {
10
+ min-width: 280px;
11
+ max-width: 280px;
12
+ }
13
+ .ar-layout > aside.ar-aside.left > .logo {
14
+ visibility: hidden;
15
+ opacity: 0;
16
+ height: 5rem;
17
+ margin-bottom: 1rem;
18
+ }
19
+ }
@@ -0,0 +1,29 @@
1
+ /* XX-Large (Laptop & Büyük Desktop Ekranlar) */
2
+ @media (min-width: 1200px) and (max-width: 1399px) {
3
+ .ar-layout > aside.ar-aside.left {
4
+ min-width: 280px;
5
+ max-width: 280px;
6
+ padding: 0 1rem;
7
+ }
8
+ .ar-layout > aside.ar-aside.left > .logo {
9
+ height: 5rem;
10
+ margin-bottom: 1rem;
11
+ }
12
+
13
+ .ar-layout > aside.ar-aside.right {
14
+ width: 100%;
15
+ }
16
+
17
+ .ar-layout > main {
18
+ width: 100%;
19
+ }
20
+ .ar-layout > main > header {
21
+ height: 5rem;
22
+ padding: 0 2.5rem;
23
+ }
24
+
25
+ .ar-layout > main > section {
26
+ max-width: 1140px;
27
+ padding: 2.5rem;
28
+ }
29
+ }
@@ -0,0 +1,30 @@
1
+ /* XXX-Large (Büyük Ekranlar: TV, Ultra Geniş Monitörler) */
2
+
3
+ @media (min-width: 1400px) {
4
+ .ar-layout > aside.ar-aside.left {
5
+ min-width: 280px;
6
+ max-width: 280px;
7
+ padding: 0 1rem;
8
+ }
9
+ .ar-layout > aside.ar-aside.left > .logo {
10
+ height: 5rem;
11
+ margin-bottom: 1rem;
12
+ }
13
+
14
+ .ar-layout > aside.ar-aside.right {
15
+ width: 100%;
16
+ }
17
+
18
+ .ar-layout > main {
19
+ width: 100%;
20
+ }
21
+ .ar-layout > main > header {
22
+ height: 5rem;
23
+ padding: 0 2.5rem;
24
+ }
25
+
26
+ .ar-layout > main > section {
27
+ max-width: 1340px;
28
+ padding: 2.5rem;
29
+ }
30
+ }
@@ -1,4 +1,4 @@
1
- import "../../../assets/css/components/layout/grid-system/grid-system.css";
1
+ import "../../../assets/css/components/data-display/grid-system/styles.css";
2
2
  declare const Grid: {
3
3
  Box: import("react").FC<{
4
4
  children: import("react").ReactNode;
@@ -1,7 +1,7 @@
1
1
  import Box from "./box/Box";
2
2
  import Row from "./row/Row";
3
3
  import Column from "./column/Column";
4
- import "../../../assets/css/components/layout/grid-system/grid-system.css";
4
+ import "../../../assets/css/components/data-display/grid-system/styles.css";
5
5
  // @@Export
6
6
  const Grid = {
7
7
  Box,
@@ -209,9 +209,6 @@ const TableWithRef = forwardRef(({ children, title, description, data, columns,
209
209
  return _data;
210
210
  }, [data, searchedText, currentPage]);
211
211
  // useEffects
212
- useEffect(() => {
213
- handleScroll();
214
- }, [data]);
215
212
  useEffect(() => {
216
213
  if (!selections || selectionItems.length === 0)
217
214
  return;
@@ -237,6 +234,9 @@ const TableWithRef = forwardRef(({ children, title, description, data, columns,
237
234
  }
238
235
  setSelectAll(allChecked);
239
236
  }, [currentPage]);
237
+ useEffect(() => {
238
+ setTimeout(() => handleScroll(), 0);
239
+ }, []);
240
240
  return (React.createElement("div", { ref: _tableWrapper, className: _tableClassName.map((c) => c).join(" ") },
241
241
  (title || description || actions || React.Children.count(children) > 0) && (React.createElement("div", { className: "header" },
242
242
  React.createElement("div", { className: "title" },
@@ -31,6 +31,8 @@ const Popover = ({ children, title, message, content, onConfirm, windowBlur, con
31
31
  const screenCenter = window.innerHeight / 2;
32
32
  const sx = window.scrollX || document.documentElement.scrollLeft;
33
33
  const sy = window.scrollY || document.documentElement.scrollTop;
34
+ _arPopover.current.style.visibility = "visible";
35
+ _arPopover.current.style.opacity = "1";
34
36
  _arPopover.current.style.top = `${(elementRect.top > screenCenter
35
37
  ? elementRect.top - popoverRect.height + elementRect.height
36
38
  : elementRect.top) + sy}px`;
@@ -6,7 +6,6 @@ import Button from "../button";
6
6
  import Alert from "../../feedback/alert";
7
7
  import ReactDOM from "react-dom";
8
8
  import DATE from "./DATE";
9
- import { ARIcon } from "../../icons";
10
9
  const weekdays = ["Pzt", "Sal", "Çar", "Per", "Cum", "Cmt", "Paz"];
11
10
  const months = [
12
11
  { value: 0, text: "Ocak" },
@@ -81,6 +80,8 @@ const DatePicker = ({ onChange, isClock, validation, ...attributes }) => {
81
80
  const screenCenterY = window.innerHeight / 2;
82
81
  const sx = window.scrollX || document.documentElement.scrollLeft || document.body.scrollLeft;
83
82
  const sy = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop;
83
+ _arCalendar.current.style.visibility = "visible";
84
+ _arCalendar.current.style.opacity = "1";
84
85
  _arCalendar.current.style.top = `${(InpuRect.top > screenCenterY ? InpuRect.top - arCalendarRect.height : InpuRect.top + InpuRect.height) + sy}px`;
85
86
  _arCalendar.current.style.left = `${(InpuRect.left > screenCenterX ? InpuRect.right - arCalendarRect.width : InpuRect.left) + sx}px`;
86
87
  }
@@ -243,7 +244,7 @@ const DatePicker = ({ onChange, isClock, validation, ...attributes }) => {
243
244
  years.push({ value: i, text: `${i}` });
244
245
  }
245
246
  setYears(years);
246
- }, []);
247
+ }, [selectedYear]);
247
248
  return (React.createElement("div", { className: "ar-date-picker" },
248
249
  attributes.placeholder && attributes.placeholder.length > 0 && (React.createElement("label", null,
249
250
  validation ? "* " : "",
@@ -293,8 +294,7 @@ const DatePicker = ({ onChange, isClock, validation, ...attributes }) => {
293
294
  _year.current -= 1;
294
295
  setSelectedYear(_year.current);
295
296
  setDateChanged((prev) => !prev);
296
- } },
297
- React.createElement(ARIcon, { stroke: "var(--primary)", icon: "ArrowLeft", size: 24 })),
297
+ } }),
298
298
  React.createElement("span", { onClick: () => {
299
299
  if (_month.current <= 0) {
300
300
  _year.current -= 1;
@@ -304,8 +304,7 @@ const DatePicker = ({ onChange, isClock, validation, ...attributes }) => {
304
304
  setSelectedYear(_year.current);
305
305
  setSelectedMonth(_month.current);
306
306
  setDateChanged((prev) => !prev);
307
- } },
308
- React.createElement(ARIcon, { icon: "ArrowLeft", size: 24 }))),
307
+ } })),
309
308
  React.createElement("div", { className: "selects" },
310
309
  React.createElement("div", null,
311
310
  React.createElement("span", null, months.find((month) => month.value === selectedMonth)?.text)),
@@ -321,14 +320,12 @@ const DatePicker = ({ onChange, isClock, validation, ...attributes }) => {
321
320
  setSelectedYear(_year.current);
322
321
  setSelectedMonth(_month.current);
323
322
  setDateChanged((prev) => !prev);
324
- } },
325
- React.createElement(ARIcon, { icon: "ArrowRight", size: 24 })),
323
+ } }),
326
324
  React.createElement("span", { onClick: () => {
327
325
  _year.current += 1;
328
326
  setSelectedYear(_year.current);
329
327
  setDateChanged((prev) => !prev);
330
- } },
331
- React.createElement(ARIcon, { stroke: "var(--primary)", icon: "ArrowRight", size: 24 }))))),
328
+ } })))),
332
329
  React.createElement("div", { className: "content" }, !isNaN(_month.current) && !isNaN(_year.current) ? (React.createElement("div", { className: "calendar" },
333
330
  React.createElement("div", { className: "weekdays" }, weekdays.map((weekday, index) => (React.createElement("span", { key: index }, weekday)))),
334
331
  React.createElement("div", { className: "days" }, calendarDays))) : (React.createElement(Alert, { status: "warning" }, "Ay veya y\u0131l se\u00E7imi yapman\u0131z gerekmektedir."))),
@@ -74,6 +74,8 @@ const Select = ({ variant = "outlined", status, border = { radius: "sm" }, optio
74
74
  const screenCenter = window.innerHeight / 2;
75
75
  const sx = window.scrollX || document.documentElement.scrollLeft || document.body.scrollLeft;
76
76
  const sy = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop;
77
+ _options.current.style.visibility = "visible";
78
+ _options.current.style.opacity = "1";
77
79
  _options.current.style.top = `${(InpuRect.top > screenCenter
78
80
  ? InpuRect.top - optionRect.height - (multiple ? 20 : 0)
79
81
  : InpuRect.top + InpuRect.height) + sy}px`;
package/dist/index.d.ts CHANGED
@@ -28,6 +28,6 @@ import Tooltip from "./components/feedback/tooltip";
28
28
  import Breadcrumb from "./components/navigation/breadcrumb";
29
29
  import Menu from "./components/navigation/menu";
30
30
  import Steps from "./components/navigation/steps";
31
- import Grid from "./components/layout/grid-system";
31
+ import Grid from "./components/data-display/grid-system";
32
32
  import Layout from "./components/layout";
33
33
  export { Button, ButtonAction, ButtonGroup, Checkbox, DatePicker, Input, InputTag, Radio, Select, Switch, TextEditor, Upload, Card, Chip, Divider, DnD, Paper, SyntaxHighlighter, Table, Tabs, Typography, Alert, Modal, Popover, Progress, Tooltip, Breadcrumb, Menu, Steps, Grid, Layout, };
package/dist/index.js CHANGED
@@ -33,7 +33,7 @@ import Breadcrumb from "./components/navigation/breadcrumb";
33
33
  import Menu from "./components/navigation/menu";
34
34
  import Steps from "./components/navigation/steps";
35
35
  // Layout
36
- import Grid from "./components/layout/grid-system";
36
+ import Grid from "./components/data-display/grid-system";
37
37
  import Layout from "./components/layout";
38
38
  export {
39
39
  // Form Elements
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ar-design",
3
- "version": "0.1.94",
3
+ "version": "0.1.96",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",