@fluidattacks/design 3.1.12 → 3.1.14

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 (159) hide show
  1. package/dist/assets/design.css +1 -0
  2. package/dist/components/@core/index.js +15 -16
  3. package/dist/components/accordion/accordion-content/index.js +3 -7
  4. package/dist/components/accordion/index.js +5 -19
  5. package/dist/components/alert/index.js +4 -111
  6. package/dist/components/button/index.js +4 -16
  7. package/dist/components/card/card-header/index.js +4 -12
  8. package/dist/components/card/card-with-image/index.js +5 -16
  9. package/dist/components/card/card-with-input/index.js +5 -54
  10. package/dist/components/card/card-with-selector/index.js +4 -14
  11. package/dist/components/card/card-with-switch/index.js +4 -10
  12. package/dist/components/card/index.js +6 -10
  13. package/dist/components/carousel/index.js +4 -47
  14. package/dist/components/checkbox/index.js +4 -82
  15. package/dist/components/cloud-image/index.js +2 -2
  16. package/dist/components/code-snippet/index.js +6 -25
  17. package/dist/components/code-snippet/location-code/index.js +7 -123
  18. package/dist/components/colors/index.js +7 -7
  19. package/dist/components/confirm-dialog/index.js +4 -20
  20. package/dist/components/container/index.js +4 -25
  21. package/dist/components/content-card/category-tag/index.js +4 -11
  22. package/dist/components/content-card/event-date/index.js +5 -16
  23. package/dist/components/content-card/index.js +4 -61
  24. package/dist/components/content-card-carousel/index.js +4 -13
  25. package/dist/components/content-card-carousel/scroll-buttons/index.js +2 -4
  26. package/dist/components/divider/index.js +4 -8
  27. package/dist/components/empty-state/empty-button/index.js +3 -4
  28. package/dist/components/empty-state/index.js +3 -46
  29. package/dist/components/file-preview/index.js +3 -26
  30. package/dist/components/form/index.js +4 -24
  31. package/dist/components/grid-container/index.js +4 -26
  32. package/dist/components/group-selector/index.js +6 -24
  33. package/dist/components/group-selector/option-container/index.js +3 -7
  34. package/dist/components/icon/index.js +4 -46
  35. package/dist/components/icon-button/index.js +4 -25
  36. package/dist/components/indicator-card/index.js +5 -13
  37. package/dist/components/info-sidebar/index.js +4 -14
  38. package/dist/components/inputs/fields/combobox/index.js +7 -24
  39. package/dist/components/inputs/fields/combobox/option/index.js +2 -3
  40. package/dist/components/inputs/fields/date/calendar/cell/index.js +7 -14
  41. package/dist/components/inputs/fields/date/calendar/grid/index.js +5 -13
  42. package/dist/components/inputs/fields/date/calendar/header/index.js +4 -14
  43. package/dist/components/inputs/fields/date/calendar/index.js +6 -13
  44. package/dist/components/inputs/fields/date/index.js +8 -16
  45. package/dist/components/inputs/fields/date-range/calendar/index.js +7 -14
  46. package/dist/components/inputs/fields/date-range/index.js +6 -26
  47. package/dist/components/inputs/fields/date-time/calendar/index.js +7 -33
  48. package/dist/components/inputs/fields/date-time/index.js +6 -16
  49. package/dist/components/inputs/fields/editable/index.js +4 -14
  50. package/dist/components/inputs/fields/input/index.js +5 -11
  51. package/dist/components/inputs/fields/input-file/index.js +6 -30
  52. package/dist/components/inputs/fields/input-tags/index.js +4 -17
  53. package/dist/components/inputs/fields/number/index.js +4 -8
  54. package/dist/components/inputs/fields/number-range/index.js +4 -9
  55. package/dist/components/inputs/fields/phone/index.js +7 -417
  56. package/dist/components/inputs/fields/text-area/index.js +5 -11
  57. package/dist/components/inputs/index.js +14 -26
  58. package/dist/components/inputs/label/index.js +5 -10
  59. package/dist/components/inputs/outline-container/index.js +4 -16
  60. package/dist/components/inputs/utils/action-button/index.js +4 -8
  61. package/dist/components/inputs/utils/calendar-button/index.js +5 -11
  62. package/dist/components/inputs/utils/date-selector/index.js +3 -6
  63. package/dist/components/inputs/utils/date-time-field/index.js +10 -30
  64. package/dist/components/inputs/utils/dialog/index.js +5 -9
  65. package/dist/components/inputs/utils/number-field/index.js +5 -11
  66. package/dist/components/inputs/utils/popover/index.js +5 -11
  67. package/dist/components/interactive-card/icon/index.js +2 -4
  68. package/dist/components/interactive-card/index.js +4 -13
  69. package/dist/components/language-selector/index.js +4 -11
  70. package/dist/components/language-selector/item-list/index.js +2 -5
  71. package/dist/components/link/index.js +3 -50
  72. package/dist/components/list-item/index.js +6 -14
  73. package/dist/components/little-flag/index.js +3 -13
  74. package/dist/components/loading/index.js +4 -65
  75. package/dist/components/logo/index.js +3 -5
  76. package/dist/components/logo-carousel/index.js +4 -50
  77. package/dist/components/lottie/index.js +3 -13
  78. package/dist/components/menu/index.js +5 -20
  79. package/dist/components/message-banner/index.js +5 -33
  80. package/dist/components/modal/index.js +6 -17
  81. package/dist/components/modal/modal-confirm/index.js +3 -8
  82. package/dist/components/modal/modal-footer/index.js +5 -14
  83. package/dist/components/modal/modal-header/index.js +6 -23
  84. package/dist/components/notification/index.js +5 -66
  85. package/dist/components/notification-sign/index.js +4 -28
  86. package/dist/components/number-input/index.js +5 -50
  87. package/dist/components/oauth-selector/index.js +6 -24
  88. package/dist/components/oauth-selector/option-container/index.js +4 -13
  89. package/dist/components/plan-card/index.js +3 -82
  90. package/dist/components/plan-card/recommended-tag/index.js +3 -8
  91. package/dist/components/pop-up/description/index.js +5 -11
  92. package/dist/components/pop-up/index.js +7 -21
  93. package/dist/components/premium-feature/index.js +4 -43
  94. package/dist/components/priority-score/index.js +4 -12
  95. package/dist/components/progress/index.js +5 -32
  96. package/dist/components/progress-bar/index.js +3 -93
  97. package/dist/components/radio-button/index.js +4 -86
  98. package/dist/components/scroll-button/index.js +4 -22
  99. package/dist/components/search/index.js +7 -61
  100. package/dist/components/search-bar/index.js +4 -30
  101. package/dist/components/search-bar/item-searching/index.js +2 -7
  102. package/dist/components/severity-badge/index.js +4 -12
  103. package/dist/components/severity-overview/badge/index.js +4 -16
  104. package/dist/components/severity-overview/index.js +3 -5
  105. package/dist/components/show-on-hover/index.js +3 -23
  106. package/dist/components/slide-out-menu/index.js +6 -2006
  107. package/dist/components/slide-out-menu/menu-item/index.js +4 -13
  108. package/dist/components/slider/index.js +7 -91
  109. package/dist/components/slider/thumb/index.js +5 -8
  110. package/dist/components/step-lapse/index.js +4 -99
  111. package/dist/components/table-button/index.js +4 -54
  112. package/dist/components/tabs/fixed-tabs/index.js +3 -7
  113. package/dist/components/tabs/index.js +6 -12
  114. package/dist/components/tabs/tab/index.js +3 -6
  115. package/dist/components/tag/index.js +4 -114
  116. package/dist/components/timeline/card/index.js +2 -5
  117. package/dist/components/timeline/index.js +4 -5
  118. package/dist/components/toggle/index.js +4 -61
  119. package/dist/components/toggle-buttons/index.js +4 -72
  120. package/dist/components/tooltip/index.js +3 -6
  121. package/dist/components/tour/index.js +7 -2514
  122. package/dist/components/typography/heading/index.js +4 -7
  123. package/dist/components/typography/index.js +4 -6
  124. package/dist/components/typography/span/index.js +4 -7
  125. package/dist/components/typography/text/index.js +4 -7
  126. package/dist/components/web-form/index.js +4 -69
  127. package/dist/components-C2JBXbtI.mjs +9653 -0
  128. package/dist/hooks/index.js +6 -10
  129. package/dist/index.js +113 -205
  130. package/dist/vendor-CVMqCpkZ.mjs +14504 -0
  131. package/package.json +2 -3
  132. package/dist/_commonjsHelpers-C6fGbg64.mjs +0 -6
  133. package/dist/assets/index.css +0 -1
  134. package/dist/assets/index2.css +0 -1
  135. package/dist/index-38JqtnAI.mjs +0 -122
  136. package/dist/index-B5yoGFs6.mjs +0 -54
  137. package/dist/index-BLbKylyw.mjs +0 -209
  138. package/dist/index-Bu448Tz2.mjs +0 -106
  139. package/dist/index-BwFnfaRh.mjs +0 -2310
  140. package/dist/index-Co_k0WFk.mjs +0 -75
  141. package/dist/index-Cu7uUMlx.mjs +0 -82
  142. package/dist/index-D-lcuEHY.mjs +0 -1018
  143. package/dist/index-DrfjITyT.mjs +0 -61
  144. package/dist/styles-7_q7nHce.mjs +0 -110
  145. package/dist/styles-BA0WIQL-.mjs +0 -74
  146. package/dist/styles-C3cZmKVJ.mjs +0 -131
  147. package/dist/styles-CI-I6joH.mjs +0 -144
  148. package/dist/styles-Cx93EcVo.mjs +0 -76
  149. package/dist/styles-D85YYIjM.mjs +0 -131
  150. package/dist/styles-EIbGRPlk.mjs +0 -106
  151. package/dist/styles-Q1VXuWI7.mjs +0 -65
  152. package/dist/styles-fH2c4cfc.mjs +0 -77
  153. package/dist/styles-lSVV9kjn.mjs +0 -133
  154. package/dist/use-carousel-CvRxi2FI.mjs +0 -17
  155. package/dist/use-click-outside-BtZLIoU1.mjs +0 -18
  156. package/dist/use-cloudinary-image-fG7ODNgr.mjs +0 -611
  157. package/dist/use-modal-CkrZ-_-M.mjs +0 -14
  158. package/dist/use-search-DpLNvt7Q.mjs +0 -12
  159. package/dist/utils-CQvBF-wY.mjs +0 -4
@@ -1,61 +0,0 @@
1
- import { jsxs as p, jsx as c } from "react/jsx-runtime";
2
- import { useRef as d } from "react";
3
- import { useOption as g } from "react-aria";
4
- import { styled as o } from "styled-components";
5
- import { Icon as m } from "./components/icon/index.js";
6
- const w = o.ul`
7
- ${({ theme: n }) => `
8
- align-self: center;
9
- background: ${n.palette.white};
10
- border: 1px solid ${n.palette.gray[200]};
11
- border-radius: ${n.spacing[0.25]};
12
- box-shadow: ${n.shadows.md};
13
- list-style: none;
14
- max-height: 200px;
15
- min-width: 240px;
16
- overflow: hidden auto;
17
- scrollbar-color: ${n.palette.gray[600]} ${n.palette.gray[100]};
18
- scroll-padding: ${n.spacing[0.5]};
19
- width: 95%;
20
- `}
21
- `, y = o.li`
22
- ${({ theme: n }) => `
23
- align-items: center;
24
- color: ${n.palette.gray[800]};
25
- cursor: pointer;
26
- display: flex;
27
- font-family: ${n.typography.type.primary};
28
- font-size: ${n.typography.text.sm};
29
- gap: ${n.spacing[0.5]};
30
- justify-content: space-between;
31
- line-height: ${n.spacing[1.25]};
32
- padding: ${n.spacing[0.25]} ${n.spacing[1]};
33
- overflow: hidden;
34
- text-overflow: ellipsis;
35
- white-space: nowrap;
36
-
37
- span {
38
- color: ${n.palette.gray[700]};
39
- }
40
-
41
- &:hover {
42
- background: ${n.palette.gray[100]};
43
- }
44
-
45
- &.selected {
46
- background: ${n.palette.gray[200]};
47
- }
48
-
49
- &.disabled {
50
- color: ${n.palette.gray[400]};
51
- cursor: not-allowed;
52
- }
53
- `}
54
- `, b = ({ item: n, state: a }) => {
55
- const e = d(null), { optionProps: s, isSelected: t, isFocused: i, isDisabled: r } = g({ key: n.value }, a, e), l = [t ? "selected" : "", i ? "focused" : "", r ? "disabled" : ""].join(" ");
56
- return p(y, { ...s, className: l, ref: e, children: [n.name, t ? c(m, { icon: "check", iconSize: "xxs", iconType: "fa-light" }) : void 0] });
57
- };
58
- export {
59
- b as O,
60
- w as S
61
- };
@@ -1,110 +0,0 @@
1
- import { styled as n, css as o } from "styled-components";
2
- import { a as s } from "./styles-C3cZmKVJ.mjs";
3
- import "react/jsx-runtime";
4
- const c = n(s)`
5
- align-items: center;
6
- background-color: inherit;
7
- border-color: inherit;
8
- display: flex;
9
- height: 38px;
10
- justify-content: center;
11
- width: 40px;
12
- margin: ${({ $margin: e = "0" }) => o`
13
- ${e}
14
- `};
15
-
16
- &:hover:not(:disabled) {
17
- background-color: ${({ theme: e }) => e.palette.gray[100]};
18
- cursor: pointer;
19
- }
20
- `, g = n.div`
21
- ${({ theme: e }) => `
22
- align-items: flex-start;
23
- background: ${e.palette.white};
24
- border: 1px solid ${e.palette.gray[200]};
25
- border-radius: ${e.spacing[0.5]};
26
- box-shadow: ${e.shadows.md};
27
- display: inline-flex;
28
- flex-direction: column;
29
- gap: ${e.spacing[0.25]};
30
- height: auto;
31
- padding: ${e.spacing[0.25]};
32
- width: 292px;
33
- `}
34
- `, h = n.button`
35
- ${({ theme: e, $disabled: a, $focus: i, $header: t }) => {
36
- const r = i ? "34px" : "40px";
37
- return `
38
- align-items: center;
39
- border-radius: ${t ? `0 ${e.spacing[0.5]} ${e.spacing[0.5]} 0` : "4px"};
40
- border-left: inherit;
41
- display: flex;
42
- height: ${t ? "38px" : r};
43
- justify-content: center;
44
- outline: none;
45
- width: ${t ? "38px" : "40px"};
46
-
47
- &:hover {
48
- background-color: ${e.palette.gray[a ? 500 : 100]};
49
- }
50
- `;
51
- }}
52
- `, $ = n.div`
53
- ${({ theme: e }) => `
54
- align-items: center;
55
- background: transparent;
56
- border-radius: ${e.spacing[0.5]} 0 0 ${e.spacing[0.5]};
57
- border-color: inherit;
58
- display: flex;
59
- height: 100%;
60
- justify-content: space-between;
61
- width: calc(100% - 40px);
62
- `}
63
- `, x = n.div`
64
- align-items: center;
65
- display: flex;
66
- justify-content: flex-end;
67
- gap: ${({ theme: e }) => e.spacing[0.5]};
68
- flex: 1 0 0;
69
- `, u = n.div`
70
- ${({ theme: e }) => `
71
- align-items: center;
72
- align-self: stretch;
73
- background-color: ${e.palette.gray[200]};
74
- border-radius: ${e.spacing[0.25]};
75
- display: flex;
76
- font-family: ${e.typography.type.primary};
77
- gap: ${e.spacing[0.25]};
78
- line-height: ${e.spacing[1.5]};
79
- padding: 2px ${e.spacing[0.25]};
80
- `}
81
- `, y = n.button`
82
- ${({ theme: e }) => `
83
- align-items: center;
84
- background-color: inherit;
85
- border: 0.5px solid ${e.palette.gray[200]};
86
- border-radius: 7px;
87
- color: ${e.palette.gray[800]};
88
- cursor: pointer;
89
- display: flex;
90
- font-weight: ${e.typography.weight.regular};
91
- justify-content: center;
92
- gap: 10px;
93
- padding: 2px 10px;
94
-
95
- &#active {
96
- background-color: ${e.palette.white};
97
- box-shadow: ${e.shadows.md};
98
- font-weight: ${e.typography.weight.bold};
99
- }
100
- `}
101
- `;
102
- export {
103
- h as C,
104
- g as D,
105
- $ as I,
106
- c as S,
107
- x as T,
108
- u as a,
109
- y as b
110
- };
@@ -1,74 +0,0 @@
1
- import { NavLink as e } from "react-router-dom";
2
- import { styled as n } from "styled-components";
3
- const r = n.button`
4
- ${({ theme: t }) => `
5
- align-items: center;
6
- color: ${t.palette.gray[500]};
7
- display: flex;
8
- gap: ${t.spacing[0.625]};
9
- justify-content: center;
10
- padding: ${t.spacing[0.75]};
11
- text-align: center;
12
- width: 151px;
13
-
14
- &.active {
15
- color: ${t.palette.gray[800]};
16
- border-bottom: 3px solid ${t.palette.primary[400]};
17
- }
18
-
19
- &:hover {
20
- color: ${t.palette.gray[800]};
21
- }
22
- `}
23
- `, p = n.div`
24
- ${({ theme: t }) => `
25
- align-items: center;
26
- border-bottom: 2px solid ${t.palette.gray[200]};
27
- display: flex;
28
- gap: ${t.spacing[3]};
29
- height: ${t.spacing[3]};
30
- width: max-content;
31
- `}
32
- `, i = n(e)`
33
- ${({ theme: t }) => `
34
- align-items: center;
35
- background: transparent;
36
- cursor: pointer;
37
- color: ${t.palette.gray[800]};
38
- font-family: ${t.typography.type.primary};
39
- font-size: ${t.typography.text.sm};
40
- display: flex;
41
- font-weight: ${t.typography.weight.regular};
42
- padding: ${t.spacing[0.625]} ${t.spacing[0.5]};
43
- position: relative;
44
- text-align: center;
45
- text-decoration: unset;
46
-
47
- &:disabled {
48
- cursor: not-allowed;
49
- background-color: ${t.palette.gray[300]};
50
- color: ${t.palette.gray[300]};
51
- }
52
-
53
- &:hover:not([disabled]) {
54
- background-color: ${t.palette.gray[100]};
55
- color: ${t.palette.gray[800]};
56
- }
57
-
58
- &.active {
59
- background-color: transparent;
60
- border-bottom: solid 4px ${t.palette.primary[500]};
61
- padding-bottom: calc(${t.spacing[0.625]} - 4px);
62
-
63
- &:hover {
64
- background-color: transparent;
65
- border-bottom: solid 4px ${t.palette.primary[500]};
66
- }
67
- }
68
- `}
69
- `;
70
- export {
71
- p as S,
72
- i as T,
73
- r as a
74
- };
@@ -1,131 +0,0 @@
1
- import { styled as g } from "styled-components";
2
- import { theme as r } from "./components/colors/index.js";
3
- const C = ["padding", "px", "py", "pl", "pr", "pt", "pb", "margin", "mx", "my", "ml", "mr", "mt", "mb", "zIndex", "position", "top", "right", "bottom", "left", "border", "borderTop", "borderRight", "borderBottom", "borderLeft", "borderColor", "borderRadius", "scroll", "visibility", "display", "height", "width", "maxHeight", "maxWidth", "minHeight", "minWidth", "shadow", "bgColor", "bgGradient", "gap", "flexDirection", "flexGrow", "justify", "justifySelf", "alignItems", "alignSelf", "wrap", "color", "fontFamily", "fontSize", "fontWeight", "textAlign", "whiteSpace", "letterSpacing", "lineSpacing", "textDecoration", "textOverflow", "whiteSpace", "wordBreak", "wordWrap", "cursor", "transition", "borderColorHover", "bgColorHover", "shadowHover"], n = (i, t) => t === void 0 ? "" : `${i}: ${t};`, p = (i) => {
4
- const t = i.py ?? i.pt ?? 0, e = i.px ?? i.pr ?? 0, a = i.py ?? i.pb ?? 0, o = i.px ?? i.pl ?? 0;
5
- if (i.padding) {
6
- const [$, s, d, l] = i.padding;
7
- return `padding: ${r.spacing[$]} ${r.spacing[s]} ${r.spacing[d]} ${r.spacing[l]};`;
8
- }
9
- return `padding: ${r.spacing[t]} ${r.spacing[e]} ${r.spacing[a]} ${r.spacing[o]};`;
10
- }, c = (i) => {
11
- const t = i.my ?? i.mt ?? 0, e = i.mx ?? i.mr ?? 0, a = i.my ?? i.mb ?? 0, o = i.mx ?? i.ml ?? 0;
12
- if (i.margin) {
13
- const [$, s, d, l] = i.margin;
14
- return `margin: ${r.spacing[$]} ${r.spacing[s]} ${r.spacing[d]} ${r.spacing[l]};`;
15
- }
16
- return `margin: ${r.spacing[t]} ${r.spacing[e]} ${r.spacing[a]} ${r.spacing[o]};`;
17
- }, h = (i) => `
18
- ${n("position", i.position)}
19
- ${n("top", i.top)}
20
- ${n("right", i.right)}
21
- ${n("bottom", i.bottom)}
22
- ${n("left", i.left)}
23
- ${n("z-index", i.zIndex)}
24
- `, b = (i) => `
25
- ${n("border", i.border)}
26
- ${n("border-top", i.borderTop)}
27
- ${n("border-right", i.borderRight)}
28
- ${n("border-bottom", i.borderBottom)}
29
- ${n("border-left", i.borderLeft)}
30
- ${n("border-color", i.borderColor)}
31
- ${n("border-radius", i.borderRadius)}
32
- `, f = (i) => {
33
- const t = i.scroll ? `
34
- ${((u) => u.includes("x") ? "overflow-x: auto;" : "")(i.scroll)}
35
- ${((u) => u.includes("y") ? "overflow-y: auto;" : "")(i.scroll)}
36
- ` : "", e = n("visibility", i.visibility), a = n("display", i.display), o = n("height", i.height), $ = n("width", i.width), s = n("max-height", i.maxHeight), d = n("max-width", i.maxWidth), l = n("min-height", i.minHeight), y = n("min-width", i.minWidth), v = n("box-shadow", i.shadow ? r.shadows[i.shadow] : void 0), S = n("gap", i.gap === void 0 ? void 0 : r.spacing[i.gap]);
37
- return `
38
- ${t}
39
- ${e}
40
- ${a}
41
- ${o}
42
- ${$}
43
- ${s}
44
- ${d}
45
- ${l}
46
- ${y}
47
- ${v}
48
- ${n("background-color", i.bgColor)}
49
- ${n("background", i.bgGradient)}
50
- ${S}
51
- ${n("flex-direction", i.flexDirection)}
52
- ${n("flex-grow", i.flexGrow)}
53
- ${n("justify-content", i.justify)}
54
- ${n("justify-self", i.justifySelf)}
55
- ${n("align-items", i.alignItems)}
56
- ${n("align-self", i.alignSelf)}
57
- ${n("flex-wrap", i.wrap)}
58
- `;
59
- }, m = (i) => `
60
- ${n("color", i.color)}
61
- ${n("font-family", i.fontFamily)}
62
- ${n("font-size", i.fontSize)}
63
- ${n("font-weight", i.fontWeight)}
64
- ${n("line-spacing", i.letterSpacing)}
65
- ${n("line-height", i.lineSpacing)}
66
- ${n("text-align", i.textAlign)}
67
- ${n("text-decoration", i.textDecoration)}
68
- ${n("text-overflow", i.textOverflow)}
69
- ${n("white-space", i.whiteSpace)}
70
- ${n("word-break", i.wordBreak)}
71
- ${n("word-wrap", i.wordWrap)}
72
- `, w = (i) => {
73
- const t = n("cursor", i.cursor), e = n("border-color", i.borderColorHover), a = n("background-color", i.bgColorHover), o = n("box-shadow", i.shadowHover === void 0 ? void 0 : r.shadows[i.shadowHover]);
74
- return `
75
- ${t}
76
-
77
- &:hover {
78
- ${n("transition", i.transition) || "transition: all 0.2s;"}
79
- ${e}
80
- ${a}
81
- ${o}
82
- }
83
- `;
84
- }, x = () => ({ shouldForwardProp: (i) => !C.includes(i) }), j = g.div.withConfig(x())`
85
- ${p}
86
- ${c}
87
- ${h}
88
- ${f}
89
- ${m}
90
- ${b}
91
- ${w}
92
- `, k = g.button.withConfig(x())`
93
- ${p}
94
- ${c}
95
- ${h}
96
- ${f}
97
- ${m}
98
- ${b}
99
- ${w}
100
- `, z = g.p.withConfig(x())`
101
- ${p}
102
- ${c}
103
- ${h}
104
- ${f}
105
- ${m}
106
- ${b}
107
- ${w}
108
- `, B = g.span.withConfig(x())`
109
- ${p}
110
- ${c}
111
- ${h}
112
- ${f}
113
- ${m}
114
- ${b}
115
- ${w}
116
- `;
117
- export {
118
- j as B,
119
- k as a,
120
- z as b,
121
- B as c,
122
- m as d,
123
- c as e,
124
- w as f,
125
- h as g,
126
- C as h,
127
- f as i,
128
- b as j,
129
- x as k,
130
- p as s
131
- };
@@ -1,144 +0,0 @@
1
- import { styled as n, css as i } from "styled-components";
2
- const p = n.div`
3
- ${({ theme: t }) => `
4
- align-items: center;
5
- color: ${t.palette.gray[800]};
6
- display: flex;
7
- font-family: ${t.typography.type.primary};
8
- font-size: ${t.typography.text.sm};
9
- font-weight: ${t.typography.weight.bold};
10
- gap: ${t.spacing[0.5]};
11
- height: 40px;
12
- justify-content: center;
13
- line-height: ${t.spacing[1.25]};
14
- text-align: center;
15
- padding: ${t.spacing[0.5]} 0;
16
- width: 200px;
17
- word-spacing: ${t.spacing[0.25]};
18
-
19
- &:not(:hover) .year-selection {
20
- display: none;
21
- }
22
- `}
23
- `, o = n.div.attrs({ className: "year-selection" })`
24
- align-items: flex-start;
25
- display: flex;
26
- flex-direction: column;
27
- gap: 6px;
28
- height: 14px;
29
- justify-content: center;
30
- margin-bottom: 10px;
31
- padding: 0 0.5px;
32
- position: relative;
33
- width: 8px;
34
- `, s = n.tr`
35
- align-items: flex-start;
36
- display: flex;
37
- padding: ${({ theme: t }) => t.spacing[0.25]} 0;
38
- width: 100%;
39
- `, e = i`
40
- ${({ theme: t }) => `
41
- align-items: center;
42
- color: ${t.palette.gray[800]};
43
- cursor: pointer;
44
- display: flex;
45
- flex-direction: column;
46
- font-family: ${t.typography.type.primary};
47
- font-size: ${t.typography.text.sm};
48
- font-weight: ${t.typography.weight.regular};
49
- height: ${t.spacing[2.5]};
50
- justify-content: center;
51
- line-height: ${t.spacing[1.25]};
52
- text-align: center;
53
- width: ${t.spacing[2.5]};
54
- `}
55
- `, r = n.th`
56
- ${e}
57
- `, l = n.td`
58
- ${({ theme: t }) => `
59
- ${e}
60
- height: ${t.spacing[2.5]};
61
- width: ${t.spacing[2.5]};
62
-
63
- &#range {
64
- background: ${t.palette.primary[25]};
65
- }
66
-
67
- div:not(.dot) {
68
- align-items: center;
69
- display: flex;
70
- flex-direction: column;
71
- font-size: ${t.typography.text.sm};
72
- justify-content: center;
73
- height: ${t.spacing[2.5]};
74
- line-height: ${t.spacing[1.25]};
75
- position: relative;
76
- text-align: center;
77
- width: ${t.spacing[2.5]};
78
-
79
- &:focus-visible {
80
- outline: none;
81
- }
82
-
83
- &:hover:not(.disabled, .selected, .range) {
84
- background: ${t.palette.gray[100]};
85
- }
86
-
87
- &.disabled {
88
- color: ${t.palette.gray[400]};
89
- cursor: auto;
90
- }
91
-
92
- &.selected {
93
- background: ${t.palette.primary[500]};
94
- color: ${t.palette.white};
95
- }
96
-
97
- &.focused {
98
- border: 2px solid ${t.palette.primary[500]};
99
- }
100
-
101
- &.today:not(.selected) {
102
- color: ${t.palette.primary[500]};
103
- font-weight: ${t.typography.weight.bold};
104
- }
105
- }
106
- `}
107
- `, g = n.div.attrs({ className: "dot" })`
108
- position: absolute;
109
- top: 48%;
110
-
111
- > span {
112
- font-size: 4px;
113
- }
114
- `, c = n.button`
115
- cursor: pointer;
116
- display: flex;
117
-
118
- > span {
119
- height: 3.5px;
120
- width: 7px;
121
- }
122
- `, d = n.div`
123
- ${({ theme: t }) => `
124
- align-items: end;
125
- border-top: 1px solid ${t.palette.gray[200]};
126
- display: flex;
127
- flex-direction: row-reverse;
128
- gap: ${t.spacing[0.5]};
129
- height: 44px;
130
- margin-bottom: ${t.spacing[0.25]};
131
- padding: 0 ${t.spacing[0.25]};
132
- width: 100%;
133
- `}
134
- `;
135
- export {
136
- c as C,
137
- r as D,
138
- d as F,
139
- p as T,
140
- s as W,
141
- o as Y,
142
- l as a,
143
- g as b
144
- };
@@ -1,76 +0,0 @@
1
- import { styled as t } from "styled-components";
2
- const i = t.div`
3
- ${({ theme: n }) => `
4
- background-color: ${n.palette.gray[100]};
5
- border-radius: ${n.spacing[0.25]};
6
- display: inline-flex;
7
- padding: ${n.spacing[1]};
8
- position: relative;
9
- width: fit-content;
10
-
11
- .line-highlight.language-none {
12
- background: ${n.palette.gray[100]};
13
- }
14
-
15
- .line-highlight {
16
- background: hsl(354deg 88% 93% / 50%);
17
- font-family: ${n.typography.type.mono};
18
- font-size: ${n.typography.text.xs};
19
- line-height: ${n.spacing[1]};
20
- }
21
-
22
- .line-highlight::before,
23
- .line-highlight[data-end]::after {
24
- background: ${n.palette.primary[300]};
25
- background-color: hsl(355deg 89% 36%);
26
- color: ${n.palette.white};
27
- }
28
-
29
- pre code {
30
- color: #161616;
31
- font-family: ${n.typography.type.mono};
32
- font-size: ${n.typography.text.xs};
33
- line-height: ${n.spacing[1]};
34
- }
35
-
36
- pre:not(.line-highlight) {
37
- margin-top: unset;
38
- margin-bottom: unset;
39
- padding: unset;
40
- width: 100%;
41
- }
42
-
43
- span:hover {
44
- background-color: ${n.palette.gray[200]};
45
- }
46
-
47
- .no-data,
48
- pre.line-highlight {
49
- background-color: ${n.palette.gray[100]};
50
- padding-top: unset;
51
- padding-bottom: unset;
52
- }
53
- `}
54
- `, o = t.div`
55
- ${({ theme: n }) => `
56
- align-items: end;
57
- background-color: ${n.palette.gray[100]};
58
- display: flex;
59
- flex-direction: column;
60
- justify-content: space-between;
61
- min-width: 103px;
62
- margin-right: ${n.spacing[1]};
63
- padding-top: ${n.spacing[1]};
64
- padding-bottom: ${n.spacing[1]};
65
- position: relative;
66
- padding-left: unset;
67
-
68
- button:hover:not([disabled]) {
69
- background-color: ${n.palette.gray[200]};
70
- }
71
- `}
72
- `;
73
- export {
74
- o as B,
75
- i as C
76
- };