@newlogic-digital/ui 3.5.0 → 4.0.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.
Files changed (229) hide show
  1. package/README.md +17 -21
  2. package/package.json +38 -22
  3. package/src/data/main.json +17 -32
  4. package/src/data/nav.json +12 -0
  5. package/src/icons.svg +5 -35
  6. package/src/pages/dialog/basic.json.latte +5 -0
  7. package/src/pages/email/index.json +12 -0
  8. package/src/pages/gdpr.json +11 -0
  9. package/src/pages/index.json +8 -0
  10. package/src/scripts/components/(ui)/+.js +12 -0
  11. package/src/scripts/components/(ui)/Button.js +4 -0
  12. package/src/scripts/components/(ui)/Compare.js +4 -0
  13. package/src/scripts/components/(ui)/Control.js +11 -0
  14. package/src/scripts/components/(ui)/ControlSelect.js +4 -0
  15. package/src/scripts/components/(ui)/Details.js +4 -0
  16. package/src/scripts/components/(ui)/Dialog.js +17 -0
  17. package/src/scripts/components/(ui)/Drawer.js +4 -0
  18. package/src/scripts/components/(ui)/Form.js +15 -0
  19. package/src/scripts/components/(ui)/Popover.js +4 -0
  20. package/src/scripts/components/(ui)/Range.js +4 -0
  21. package/src/scripts/components/(ui)/Tabs.js +4 -0
  22. package/src/scripts/components/(ui)/Toast.js +4 -0
  23. package/src/scripts/components/+.js +5 -0
  24. package/src/scripts/components/App.js +5 -0
  25. package/src/scripts/components/ReCaptcha.js +4 -0
  26. package/src/scripts/components/Reveal.js +4 -0
  27. package/src/scripts/components/cookieconsent/+.js +2 -0
  28. package/src/scripts/components/cookieconsent/CookieConsentDialog.js +4 -0
  29. package/src/scripts/components/cookieconsent/CookieConsentForm.js +4 -0
  30. package/src/scripts/composables/+.js +3 -0
  31. package/src/scripts/composables/naja.js +24 -0
  32. package/src/scripts/composables/stimulus.js +31 -0
  33. package/src/scripts/composables/swup.js +23 -0
  34. package/src/scripts/main.js +4 -6
  35. package/src/scripts/utils/+.js +1 -0
  36. package/src/scripts/utils/initAfter.js +11 -0
  37. package/src/styles/base/+.css +4 -0
  38. package/src/styles/base/defaults.css +36 -0
  39. package/src/styles/base/transitions.css +12 -0
  40. package/src/styles/components/(layout)/+.css +2 -0
  41. package/src/styles/components/(layout)/Header.css +11 -0
  42. package/src/styles/components/(layout)/Main.css +20 -0
  43. package/src/styles/components/(ui)/+.css +23 -0
  44. package/src/styles/components/(ui)/Badge.css +8 -0
  45. package/src/styles/components/(ui)/Button.css +12 -0
  46. package/src/styles/components/(ui)/Check.css +1 -0
  47. package/src/styles/components/(ui)/Compare.css +1 -0
  48. package/src/styles/components/(ui)/Control.css +29 -0
  49. package/src/styles/components/(ui)/ControlSelect.css +1 -0
  50. package/src/styles/components/(ui)/Drawer.css +14 -0
  51. package/src/styles/components/(ui)/Field.css +1 -0
  52. package/src/styles/components/(ui)/Group.css +1 -0
  53. package/src/styles/components/(ui)/Heading.css +4 -0
  54. package/src/styles/components/(ui)/Image.css +1 -0
  55. package/src/styles/components/(ui)/Info.css +1 -0
  56. package/src/styles/components/(ui)/Label.css +1 -0
  57. package/src/styles/components/(ui)/Link.css +2 -0
  58. package/src/styles/components/(ui)/Notice.css +1 -0
  59. package/src/styles/components/(ui)/Popover.css +1 -0
  60. package/src/styles/components/(ui)/Progress.css +1 -0
  61. package/src/styles/components/(ui)/Range.css +1 -0
  62. package/src/styles/components/(ui)/Switch.css +1 -0
  63. package/src/styles/components/(ui)/Text.css +1 -0
  64. package/src/styles/components/(ui)/Title.css +4 -0
  65. package/src/styles/components/(ui)/Toaster.css +2 -0
  66. package/src/styles/components/(ui)/dialog/+.css +2 -0
  67. package/src/styles/components/(ui)/dialog/Dialog.css +2 -0
  68. package/src/styles/components/(ui)/dialog/DialogContent.css +2 -0
  69. package/src/styles/components/+.css +3 -0
  70. package/src/styles/components/cookieconsent/+.css +1 -0
  71. package/src/styles/components/cookieconsent/CookieConsentDialog.css +17 -0
  72. package/src/styles/emails/+.css +5 -0
  73. package/src/styles/emails/base/+.css +2 -0
  74. package/src/styles/emails/base/defaults.css +22 -0
  75. package/src/styles/emails/components/+.css +4 -0
  76. package/src/styles/emails/components/Button.css +31 -0
  77. package/src/styles/emails/components/Heading.css +7 -0
  78. package/src/styles/emails/components/Main.css +13 -0
  79. package/src/styles/emails/components/Text.css +14 -0
  80. package/src/styles/emails/main.css +9 -0
  81. package/src/styles/emails/theme/+.css +2 -0
  82. package/src/styles/emails/theme/config.css +5 -0
  83. package/src/styles/emails/theme/default.css +13 -0
  84. package/src/styles/emails/utils/+.css +1 -0
  85. package/src/styles/emails/utils/common.css +29 -0
  86. package/src/styles/main.css +5 -14
  87. package/src/styles/theme/+.css +2 -0
  88. package/src/styles/theme/dark.css +5 -0
  89. package/src/styles/theme/main.css +35 -0
  90. package/src/styles/tinymce.css +2 -34
  91. package/src/styles/utils/+.css +4 -0
  92. package/src/styles/utils/container.css +5 -0
  93. package/src/styles/utils/index.css +8 -0
  94. package/src/styles/utils/reveal.css +22 -0
  95. package/src/styles/utils/scrollbar.css +23 -0
  96. package/src/templates/components/(layout)/Footer.latte +1 -0
  97. package/src/templates/components/(layout)/Header.latte +7 -0
  98. package/src/templates/components/(ui)/Toast.latte +9 -0
  99. package/src/templates/components/Content.latte +64 -0
  100. package/src/templates/components/Example.latte +17 -0
  101. package/src/templates/components/cookieconsent/CookieConsentContent.latte +69 -0
  102. package/src/templates/components/cookieconsent/CookieConsentDialog.latte +27 -0
  103. package/src/templates/components/cookieconsent/CookieConsentForm.latte +47 -0
  104. package/src/templates/components/dialog/DialogBasic.latte +18 -0
  105. package/src/templates/emails/components/Content.latte +29 -0
  106. package/src/templates/emails/components/Footer.latte +13 -0
  107. package/src/templates/emails/components/Header.latte +8 -0
  108. package/src/templates/emails/layouts/default.latte +35 -0
  109. package/src/templates/layouts/default.latte +71 -0
  110. package/vite.config.js +5 -17
  111. package/src/emails/styles/email.css +0 -77
  112. package/src/emails/templates/.gitkeep +0 -0
  113. package/src/emails/templates.test/Content.latte +0 -24
  114. package/src/emails/templates.test/Header.latte +0 -14
  115. package/src/emails/templates.test/Layout.latte +0 -23
  116. package/src/scripts/Components/+.js +0 -1
  117. package/src/scripts/Components/CookieConsent.js +0 -78
  118. package/src/scripts/Layout/+.js +0 -2
  119. package/src/scripts/Layout/Header.js +0 -32
  120. package/src/scripts/Layout/Main.js +0 -50
  121. package/src/scripts/Libraries/+.js +0 -12
  122. package/src/scripts/Libraries/CookieConsent.js +0 -67
  123. package/src/scripts/Libraries/Dialog.js +0 -47
  124. package/src/scripts/Libraries/Drawer.js +0 -42
  125. package/src/scripts/Libraries/Form.js +0 -26
  126. package/src/scripts/Libraries/Naja.js +0 -33
  127. package/src/scripts/Libraries/ReCaptcha.js +0 -42
  128. package/src/scripts/Libraries/Ripple.js +0 -8
  129. package/src/scripts/Libraries/Script.js +0 -18
  130. package/src/scripts/Libraries/Slider.js +0 -160
  131. package/src/scripts/Libraries/Stimulus.js +0 -11
  132. package/src/scripts/Libraries/Swup.js +0 -92
  133. package/src/scripts/Libraries/Tippy.js +0 -117
  134. package/src/scripts/Sections/+.js +0 -0
  135. package/src/scripts/Ui/+.js +0 -4
  136. package/src/scripts/Ui/Check.js +0 -8
  137. package/src/scripts/Ui/Control.js +0 -186
  138. package/src/scripts/Ui/ControlSelect.js +0 -24
  139. package/src/scripts/Ui/Text.js +0 -21
  140. package/src/scripts/Utils/+.js +0 -3
  141. package/src/scripts/Utils/Functions/+.js +0 -7
  142. package/src/scripts/Utils/Functions/importScript.js +0 -17
  143. package/src/scripts/Utils/Functions/importStyle.js +0 -18
  144. package/src/scripts/Utils/Functions/inputStep.js +0 -9
  145. package/src/scripts/Utils/Functions/inputValidity.js +0 -57
  146. package/src/scripts/Utils/Functions/loadStimulus.js +0 -42
  147. package/src/scripts/Utils/Functions/replaceScript.js +0 -4
  148. package/src/scripts/Utils/Functions/replaceTag.js +0 -8
  149. package/src/scripts/Utils/cdn.js +0 -6
  150. package/src/scripts/Utils/global.js +0 -15
  151. package/src/styles/Components/+.css +0 -4
  152. package/src/styles/Components/CookieConsent.css +0 -68
  153. package/src/styles/Components/Dialog/+.css +0 -1
  154. package/src/styles/Components/Dialog/Default.css +0 -26
  155. package/src/styles/Components/Dropdown/+.css +0 -1
  156. package/src/styles/Components/Dropdown/Default.css +0 -8
  157. package/src/styles/Components/Field.css +0 -1
  158. package/src/styles/Layout/+.css +0 -3
  159. package/src/styles/Layout/Header.css +0 -50
  160. package/src/styles/Layout/Main.css +0 -28
  161. package/src/styles/Layout/Nav.css +0 -47
  162. package/src/styles/Libraries/+.css +0 -7
  163. package/src/styles/Libraries/Datepicker.css +0 -54
  164. package/src/styles/Libraries/Dialog.css +0 -1
  165. package/src/styles/Libraries/Drawer.css +0 -64
  166. package/src/styles/Libraries/Hint.css +0 -186
  167. package/src/styles/Libraries/Pickr.css +0 -13
  168. package/src/styles/Libraries/Ripple.css +0 -1
  169. package/src/styles/Libraries/Tippy.css +0 -73
  170. package/src/styles/Sections/+.css +0 -1
  171. package/src/styles/Ui/+.css +0 -17
  172. package/src/styles/Ui/Badge.css +0 -7
  173. package/src/styles/Ui/Btn.css +0 -13
  174. package/src/styles/Ui/Check.css +0 -1
  175. package/src/styles/Ui/Control.css +0 -47
  176. package/src/styles/Ui/ControlSelect.css +0 -66
  177. package/src/styles/Ui/Dot.css +0 -22
  178. package/src/styles/Ui/Group.css +0 -1
  179. package/src/styles/Ui/Heading.css +0 -3
  180. package/src/styles/Ui/Image.css +0 -1
  181. package/src/styles/Ui/Info.css +0 -1
  182. package/src/styles/Ui/Label.css +0 -1
  183. package/src/styles/Ui/Link.css +0 -2
  184. package/src/styles/Ui/Notice.css +0 -1
  185. package/src/styles/Ui/Progress.css +0 -1
  186. package/src/styles/Ui/Switch.css +0 -1
  187. package/src/styles/Ui/Text.css +0 -8
  188. package/src/styles/Ui/Title.css +0 -7
  189. package/src/styles/Utils/+.css +0 -8
  190. package/src/styles/Utils/config.css +0 -5
  191. package/src/styles/Utils/default.css +0 -19
  192. package/src/styles/Utils/icons.css +0 -5
  193. package/src/styles/Utils/tailwind.css +0 -50
  194. package/src/styles/Utils/theme/+.css +0 -1
  195. package/src/styles/Utils/theme/main.css +0 -19
  196. package/src/templates/Components/CookieConsent.latte +0 -28
  197. package/src/templates/Components/Dialogs/Basic.latte +0 -22
  198. package/src/templates/Components/Items/.gitkeep +0 -0
  199. package/src/templates/Layout/Footer.latte +0 -0
  200. package/src/templates/Layout/Header.latte +0 -40
  201. package/src/templates/Layout/Main.latte +0 -62
  202. package/src/templates/Sections/Gdpr.latte +0 -127
  203. package/src/templates/Sections/Site.latte +0 -141
  204. package/src/templates/Sections/Ui/Docs/@intro.html +0 -48
  205. package/src/templates/Sections/Ui/Docs/@nav.html +0 -144
  206. package/src/templates/Sections/Ui/Docs/@styles.html +0 -96
  207. package/src/templates/Sections/Ui/Docs/Default.latte +0 -1059
  208. package/src/templates/Sections/Ui/Icons.html +0 -30
  209. package/src/templates/Sections/Ui/Intro.html +0 -165
  210. package/src/templates/Sections/Ui.latte +0 -8
  211. package/src/templates/Ui/+.latte +0 -5
  212. package/src/templates/Ui/Check.latte +0 -7
  213. package/src/templates/Ui/Control.latte +0 -9
  214. package/src/templates/Ui/ControlDate.latte +0 -14
  215. package/src/templates/Ui/ControlSelect.latte +0 -9
  216. package/src/templates/Ui/ControlTime.latte +0 -14
  217. package/src/views/dialog/basic.json.latte +0 -5
  218. package/src/views/dropdown/tippy.json.latte +0 -19
  219. package/src/views/email/email.latte +0 -6
  220. package/src/views/email/email.test.latte +0 -6
  221. package/src/views/gdpr.json +0 -12
  222. package/src/views/index.json +0 -12
  223. package/src/views/site.json +0 -11
  224. package/src/views/ui-icons.json +0 -12
  225. package/src/views/ui.json +0 -11
  226. /package/src/styles/{Utils → base}/breakpoints.css +0 -0
  227. /package/src/styles/{Utils → base}/keyframes.css +0 -0
  228. /package/src/styles/{Utils/print.css → emails/base/fonts.css} +0 -0
  229. /package/src/templates/{Utils → utils}/sections.latte +0 -0
@@ -1,68 +0,0 @@
1
- .c-cookieconsent {
2
- position: fixed;
3
- inset: 0;
4
- display: none;
5
- z-index: var(--z-50);
6
- background-color: rgb(var(--color-dark-rgb) / 75%);
7
- justify-content: center;
8
- align-items: center;
9
- flex-direction: column;
10
-
11
- @media print {
12
- display: none !important;
13
- }
14
-
15
- &:not(.is-animate) {
16
- animation: 0.5s ease 0s forwards 1 fade-out;
17
- }
18
-
19
- &.is-animate {
20
- animation: 0.5s ease 0s backwards 1 fade-in;
21
- }
22
-
23
- &.active {
24
- display: flex;
25
- }
26
-
27
- > .c {
28
- max-width: 32rem;
29
- width: calc(100% - 2rem);
30
- border-radius: var(--rounded-2xl);
31
- padding: 1rem;
32
- background-color: var(--color-body-primary);
33
-
34
- @media (--media-md) {
35
- padding: 2rem;
36
- }
37
-
38
- > .c_head {
39
- margin-bottom: 1rem;
40
-
41
- @media (--media-md) {
42
- margin-bottom: 1.5rem;
43
- }
44
- }
45
-
46
- > .c_foot {
47
- display: flex;
48
- align-items: center;
49
- margin-top: 1.5rem;
50
-
51
- @media (--media-md) {
52
- margin-top: 2rem;
53
- }
54
- }
55
- }
56
-
57
- &.is-center {
58
- > .c {
59
- max-width: 27rem;
60
- text-align: center;
61
-
62
- & .ui-image {
63
- margin-left: auto;
64
- margin-right: auto;
65
- }
66
- }
67
- }
68
- }
@@ -1 +0,0 @@
1
- @import "Default.css";
@@ -1,26 +0,0 @@
1
- @import "winduum/src/components/dialog.css";
2
-
3
- .c-dialog {
4
- &.sm {
5
- --c-dialog-width: 30rem;
6
- }
7
-
8
- &.lg {
9
- --c-dialog-width: 50rem;
10
- }
11
-
12
- &.scrollable {
13
- height: 100%;
14
- display: flex;
15
- flex-direction: column;
16
-
17
- & .c_dialog_body {
18
- flex: 1 1 auto;
19
- overflow: auto;
20
- margin: var(--c-dialog-py) calc(var(--c-dialog-px) * -1);
21
- padding: 0 var(--c-dialog-px);
22
- overscroll-behavior: contain;
23
- -webkit-overflow-scrolling: touch;
24
- }
25
- }
26
- }
@@ -1 +0,0 @@
1
- @import "Default.css";
@@ -1,8 +0,0 @@
1
- .c-dropdown {
2
- padding: 0.875rem 0.75rem;
3
- max-width: 16rem;
4
- display: flex;
5
- background-color: rgb(var(--color-body-rgb));
6
- border-radius: var(--rounded);
7
- box-shadow: 0 3px 14px -0.5px rgb(0 8 16 / 8%);
8
- }
@@ -1 +0,0 @@
1
- @import "winduum/src/components/field.css";
@@ -1,3 +0,0 @@
1
- @import "Header.css";
2
- @import "Main.css";
3
- @import "Nav.css";
@@ -1,50 +0,0 @@
1
- :root {
2
- --l-header-height: 4rem;
3
- --l-scroll-padding-top: calc(var(--l-header-height) + 1rem);
4
- }
5
-
6
- #l-header {
7
- --color-current: rgb(var(--color-light-rgb));
8
-
9
- z-index: var(--z-20);
10
- position: fixed;
11
- top: 0;
12
- left: 0;
13
- right: 0;
14
- padding: 0 2rem;
15
- background-color: rgb(var(--color-dark-rgb));
16
- color: var(--color-current);
17
-
18
- .dark & {
19
- background-color: var(--color-body-secondary);
20
- }
21
-
22
- &.is-l-header-normal {
23
- & ~ #l-main {
24
- padding-top: var(--l-header-height);
25
- }
26
- }
27
-
28
- .l_header_body {
29
- align-items: center;
30
- height: var(--l-header-height);
31
- }
32
-
33
- .l_header_logo {
34
- font-size: 1.5rem;
35
- margin-right: 3rem;
36
- }
37
-
38
- .l_header_menu {
39
- position: relative;
40
- font-size: 1.5rem;
41
- }
42
-
43
- .l_header_nav {
44
- gap: 2rem;
45
-
46
- .ui-link {
47
- padding: 1.25rem 0;
48
- }
49
- }
50
- }
@@ -1,28 +0,0 @@
1
- html {
2
- scroll-behavior: smooth;
3
- scroll-padding-top: var(--l-header-height);
4
- }
5
-
6
- body {
7
- background-color: var(--color-body);
8
- display: flex;
9
- flex-direction: column;
10
- overflow-x: hidden;
11
- }
12
-
13
- #l-main {
14
- flex-grow: 1;
15
- display: flex;
16
- flex-direction: column;
17
-
18
- &.transition-fade {
19
- html.swup-enabled & {
20
- transition: opacity 0.1s;
21
- opacity: 1;
22
- }
23
-
24
- html.is-animating & {
25
- opacity: 0;
26
- }
27
- }
28
- }
@@ -1,47 +0,0 @@
1
- #l-nav {
2
- --l-nav-width: calc(100vw - 2.5rem);
3
-
4
- @media (--media-md) {
5
- --l-nav-width: 25rem;
6
- }
7
-
8
- .l_header_nav {
9
- flex-direction: column;
10
- }
11
-
12
- > .l_nav {
13
- width: var(--l-nav-width);
14
- background-color: var(--color-body);
15
- height: 100vh;
16
- flex-shrink: 0;
17
- padding: 2rem;
18
- }
19
-
20
- .l_nav_head {
21
- padding: 0.75rem 0 2.5rem;
22
- }
23
-
24
- .l_nav_body {
25
- display: flex;
26
- flex-direction: column;
27
- gap: 0.5rem;
28
-
29
- & a {
30
- padding: 0.5rem 0;
31
- font-size: 1.75rem;
32
- display: block;
33
- }
34
- }
35
-
36
- &.is-transition {
37
- > .l_nav {
38
- transition: transform 0.3s ease;
39
- }
40
- }
41
-
42
- &:not(.active) {
43
- > .l_nav {
44
- transform: translateX(calc(var(--l-nav-width) * -1));
45
- }
46
- }
47
- }
@@ -1,7 +0,0 @@
1
- @import "Datepicker.css";
2
- @import "Dialog.css";
3
- @import "Drawer.css";
4
- @import "Hint.css";
5
- @import "Pickr.css";
6
- @import "Ripple.css";
7
- @import "Tippy.css";
@@ -1,54 +0,0 @@
1
- @import "air-datepicker/air-datepicker.css";
2
-
3
- .air-datepicker {
4
- --adp-btn-color: var(--color-primary);
5
- --adp-day-name-color: var(--color-primary);
6
- --adp-color-current-date: var(--color-main);
7
- --adp-cell-background-color-selected: var(--color-primary);
8
- --adp-cell-background-color-selected-hover: var(--color-primary);
9
- --adp-cell-border-radius: var(--rounded);
10
- --adp-border-radius: var(--rounded);
11
-
12
- .dark & {
13
- --adp-background-color: var(--color-body-tertiary);
14
- --adp-background-color-hover: var(--color-body-secondary);
15
- --adp-background-color-active: var(--color-body-secondary);
16
- --adp-color: var(--color-main);
17
- --adp-color-secondary: var(--color-main);
18
- --adp-color-other-month: color-mix(in srgb, var(--color-main) 50%, var(--color-dark));
19
- --adp-border-color: var(--color-body-secondary);
20
- --adp-border-color-inner: var(--color-body-secondary);
21
- --adp-border-color-inline: var(--color-body-secondary);
22
- }
23
-
24
- font-family: inherit;
25
-
26
- & input[type="range"] {
27
- border: 0;
28
- outline: 0;
29
- }
30
-
31
- .air-datepicker--pointer {
32
- &::after {
33
- background: var(--adp-background-color);
34
- }
35
- }
36
-
37
- .air-datepicker-cell {
38
- &.-current- {
39
- --sq: 0.25rem;
40
- --bottom: 0.25rem;
41
-
42
- &::before {
43
- content: "";
44
- width: var(--sq);
45
- height: var(--sq);
46
- border-radius: var(--rounded-full);
47
- background-color: var(--color-success);
48
- position: absolute;
49
- bottom: var(--bottom);
50
- left: calc(50% - var(--sq) / 2);
51
- }
52
- }
53
- }
54
- }
@@ -1 +0,0 @@
1
- @import "winduum/src/libraries/dialog.css";
@@ -1,64 +0,0 @@
1
- .lib-drawer {
2
- --lib-drawer-opacity: 0;
3
-
4
- z-index: var(--z-30);
5
- width: 100%;
6
- height: 100%;
7
- position: fixed;
8
- inset: 0;
9
- overflow: hidden;
10
- display: flex;
11
- flex-direction: row;
12
-
13
- & > div {
14
- scroll-snap-align: end;
15
- }
16
-
17
- &[data-action*="scroll"] {
18
- overflow-x: auto;
19
- overflow-y: hidden;
20
- -webkit-overflow-scrolling: touch;
21
- user-select: none;
22
- scrollbar-width: none;
23
- -ms-overflow-style: none;
24
-
25
- &.active {
26
- scroll-snap-type: x proximity;
27
- }
28
-
29
- &::-webkit-scrollbar {
30
- width: 0;
31
- height: 0;
32
- }
33
- }
34
-
35
- &::before {
36
- position: fixed;
37
- inset: 0;
38
- z-index: -1;
39
- background-color: rgb(var(--color-dark-rgb) / 50%);
40
- content: "";
41
- opacity: var(--lib-drawer-opacity);
42
- }
43
-
44
- &::after {
45
- content: "";
46
- display: block;
47
- min-width: 100vw;
48
- scroll-snap-align: end;
49
- }
50
-
51
- &.is-opacity {
52
- &::before {
53
- transition: var(--transition-opacity);
54
- }
55
- }
56
-
57
- &:not(.active) {
58
- pointer-events: none;
59
-
60
- &::before {
61
- opacity: 0;
62
- }
63
- }
64
- }
@@ -1,186 +0,0 @@
1
- [class*="lib-hint-"] {
2
- --color-accent: var(--color-body);
3
- --color-current: var(--color-body-fg);
4
- --lib-hint-font-size: 0.75rem;
5
- --lib-hint-font-weight: var(--font-normal);
6
-
7
- position: relative;
8
-
9
- &::before, &::after {
10
- position: absolute;
11
- visibility: hidden;
12
- opacity: 0;
13
- z-index: var(--z-10);
14
- pointer-events: none;
15
- transition: var(--transition-duration) ease;
16
- transition-delay: 0ms;
17
- will-change: transform;
18
- backface-visibility: hidden;
19
- }
20
-
21
- &::before {
22
- content: "";
23
- position: absolute;
24
- background-color: transparent;
25
- border: 0.375rem solid transparent;
26
- z-index: var(--z-20);
27
- }
28
-
29
- &::after {
30
- border-radius: var(--rounded);
31
- background-color: var(--color-accent);
32
- color: var(--color-current);
33
- padding: 0.75rem;
34
- font-size: var(--lib-hint-font-size);
35
- font-family: inherit;
36
- line-height: 0.875rem;
37
- white-space: nowrap;
38
- box-shadow:
39
- 0 0.15rem 1.5rem 0 rgb(var(--color-main-rgb) / 10%),
40
- 0 0 1rem 0 rgb(var(--color-main-rgb) / 10%);
41
- font-weight: var(--lib-hint-font-weight);
42
- text-align: center;
43
- }
44
-
45
- &.lib-hint-top {
46
- &::before, &::after {
47
- bottom: 100%;
48
- left: 50%;
49
- }
50
-
51
- &::before {
52
- left: calc(50% - 0.375rem);
53
- margin-bottom: -0.6875rem;
54
- }
55
-
56
- &::after {
57
- transform: translateX(-50%);
58
- }
59
-
60
- &:is(:hover, :focus-visible) {
61
- &::before {
62
- transform: translateY(-0.5rem);
63
- }
64
-
65
- &::after {
66
- transform: translateX(-50%) translateY(-0.5rem);
67
- }
68
- }
69
- }
70
-
71
- &.lib-hint-bottom {
72
- &::before, &::after {
73
- top: 100%;
74
- left: 50%;
75
- }
76
-
77
- &::before {
78
- left: calc(50% - 0.375rem);
79
- margin-top: -0.6875rem;
80
- }
81
-
82
- &::after {
83
- transform: translateX(-50%);
84
- }
85
-
86
- &:is(:hover, :focus-visible) {
87
- &::before {
88
- transform: translateY(0.5rem);
89
- }
90
-
91
- &::after {
92
- transform: translateX(-50%) translateY(0.5rem);
93
- }
94
- }
95
- }
96
-
97
- &.lib-hint-right {
98
- &::before, &::after {
99
- left: 100%;
100
- bottom: 50%;
101
- }
102
-
103
- &::before {
104
- margin-left: -0.6875rem;
105
- margin-bottom: -0.375rem;
106
- }
107
-
108
- &::after {
109
- margin-bottom: -1.1875rem;
110
- }
111
-
112
- &:is(:hover, :focus-visible) {
113
- &::before, &::after {
114
- transform: translateX(0.5rem);
115
- }
116
- }
117
- }
118
-
119
- &.lib-hint-left {
120
- &::before, &::after {
121
- right: 100%;
122
- bottom: 50%;
123
- }
124
-
125
- &::before {
126
- margin-right: -0.6875rem;
127
- margin-bottom: -0.375rem;
128
- }
129
-
130
- &::after {
131
- margin-bottom: -1.1875rem;
132
- }
133
-
134
- &:is(:hover, :focus-visible) {
135
- &::before, &::after {
136
- transform: translateX(-0.5rem);
137
- }
138
- }
139
- }
140
-
141
- &[aria-label]::after {
142
- content: attr(aria-label);
143
- }
144
-
145
- &[class*="lib-hint-top"]::before {
146
- border-top-color: var(--color-accent);
147
- }
148
-
149
- &[class*="lib-hint-bottom"]::before {
150
- border-bottom-color: var(--color-accent);
151
- }
152
-
153
- &[class*="lib-hint-left"]::before {
154
- border-left-color: var(--color-accent);
155
- }
156
-
157
- &[class*="lib-hint-right"]::before {
158
- border-right-color: var(--color-accent);
159
- }
160
-
161
- &:is(.lib-hint-sm, .lib-hint-md, .lib-hint-lg)::after {
162
- white-space: normal;
163
- line-height: 1.5;
164
- word-wrap: break-word;
165
- }
166
-
167
- &.lib-hint-sm::after {
168
- width: 5rem;
169
- }
170
-
171
- &.lib-hint-md::after {
172
- width: 10rem;
173
- }
174
-
175
- &.lib-hint-lg::after {
176
- width: 15rem;
177
- }
178
-
179
- &:is(:hover, :focus-visible) {
180
- &::before, &::after {
181
- visibility: visible;
182
- opacity: 1;
183
- transition-delay: 100ms;
184
- }
185
- }
186
- }
@@ -1,13 +0,0 @@
1
- .pcr-app {
2
- border-radius: var(--rounded);
3
- overflow: hidden;
4
-
5
- .dark & {
6
- background: var(--color-body-secondary);
7
-
8
- .pcr-interaction input {
9
- background: var(--color-body-tertiary);
10
- box-shadow: none;
11
- }
12
- }
13
- }
@@ -1 +0,0 @@
1
- @import "winduum/src/libraries/ripple.css";
@@ -1,73 +0,0 @@
1
- .tippy-content {
2
- padding: 0;
3
- }
4
-
5
- .tippy-box {
6
- background-color: transparent;
7
- color: inherit;
8
- box-shadow: none;
9
- font-size: inherit;
10
- line-height: inherit;
11
-
12
- &[data-placement="bottom-end"] {
13
- &[data-animation="scale"] {
14
- transform-origin: top right;
15
- }
16
- }
17
-
18
- &[data-placement="bottom-start"] {
19
- &[data-animation="scale"] {
20
- transform-origin: top left;
21
- }
22
- }
23
- }
24
-
25
- .tippy-svg-arrow {
26
- fill: var(--color-body);
27
- }
28
-
29
- [data-tippy-root] {
30
- &.is-full {
31
- @media not all and (--media-md) {
32
- inset: 0 !important;
33
- width: 100% !important;
34
- height: 100% !important;
35
- position: fixed !important;
36
- transform: none !important;
37
- visibility: visible !important;
38
- pointer-events: none;
39
- max-width: 100%;
40
- background-color: color-mix(in srgb, var(--color-dark) 50%, transparent);
41
- transition: var(--transition-opacity);
42
- opacity: 0;
43
-
44
- &:has(.tippy-content[data-state="visible"]) {
45
- opacity: 1;
46
- }
47
-
48
- & .tippy-content {
49
- pointer-events: auto;
50
- }
51
-
52
- & .tippy-box {
53
- position: absolute;
54
- bottom: 0;
55
- left: 0;
56
- right: 0;
57
- transition-timing-function: ease;
58
- transition-duration: 300ms;
59
-
60
- &[data-state="hidden"] {
61
- transform: translateY(100%);
62
- opacity: 0;
63
- }
64
- }
65
-
66
- .c-dropdown {
67
- max-width: 100%;
68
- border-bottom-right-radius: 0;
69
- border-bottom-left-radius: 0;
70
- }
71
- }
72
- }
73
- }
@@ -1 +0,0 @@
1
- /* empty */
@@ -1,17 +0,0 @@
1
- @import "Badge.css";
2
- @import "Btn.css";
3
- @import "Check.css";
4
- @import "Control.css";
5
- @import "ControlSelect.css";
6
- @import "Dot.css";
7
- @import "Group.css";
8
- @import "Heading.css";
9
- @import "Image.css";
10
- @import "Info.css";
11
- @import "Label.css";
12
- @import "Link.css";
13
- @import "Notice.css";
14
- @import "Progress.css";
15
- @import "Switch.css";
16
- @import "Text.css";
17
- @import "Title.css";
@@ -1,7 +0,0 @@
1
- @import "winduum/src/ui/badge/default.css";
2
- @import "winduum/src/ui/badge/sm.css";
3
- @import "winduum/src/ui/badge/lg.css";
4
- @import "winduum/src/ui/badge/bordered.css";
5
- @import "winduum/src/ui/badge/muted.css";
6
- @import "winduum/src/ui/badge/square.css";
7
- @import "winduum/src/ui/badge/circle.css";
@@ -1,13 +0,0 @@
1
- @import "winduum/src/ui/btn/default.css";
2
- @import "winduum/src/ui/btn/sm.css";
3
- @import "winduum/src/ui/btn/lg.css";
4
- @import "winduum/src/ui/btn/loading.css";
5
- @import "winduum/src/ui/btn/wide.css";
6
- @import "winduum/src/ui/btn/bordered.css";
7
- @import "winduum/src/ui/btn/hover-fill.css";
8
- @import "winduum/src/ui/btn/gradient.css";
9
- @import "winduum/src/ui/btn/gradient-bordered.css";
10
- @import "winduum/src/ui/btn/muted.css";
11
- @import "winduum/src/ui/btn/raised.css";
12
- @import "winduum/src/ui/btn/square.css";
13
- @import "winduum/src/ui/btn/circle.css";
@@ -1 +0,0 @@
1
- @import "winduum/src/ui/check.css";