twntyx-css 1.0.0 → 1.0.2

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 (40) hide show
  1. package/README.md +16 -1
  2. package/fonts/GazpachoBold.otf +0 -0
  3. package/fonts/GazpachoBoldItalic.otf +0 -0
  4. package/fonts/GazpachoMedium.otf +0 -0
  5. package/fonts/GazpachoMediumItalic.otf +0 -0
  6. package/fonts/GazpachoRegular.otf +0 -0
  7. package/fonts/GazpachoRegularItalic.otf +0 -0
  8. package/fonts/GeistMonoVF.woff +0 -0
  9. package/fonts/GeistVF.woff +0 -0
  10. package/fonts/InstrumentSans-Italic-VariableFont_wdth,wght.ttf +0 -0
  11. package/fonts/InstrumentSans-VariableFont_wdth,wght.ttf +0 -0
  12. package/llm/assistants/README.md +28 -0
  13. package/llm/assistants/claude/CLAUDE.md +48 -0
  14. package/llm/assistants/codex/AGENTS.md +48 -0
  15. package/llm/components/chat-ai.json +89 -0
  16. package/llm/components/chat-footer.json +99 -0
  17. package/llm/components/chat-person-to-person.json +157 -0
  18. package/llm/components/chat.json +11 -80
  19. package/llm/components/demo.json +88 -0
  20. package/llm/components/getting-started.json +14 -5
  21. package/llm/components/icons-reference.json +1 -1
  22. package/llm/components/loader.json +2 -1
  23. package/llm/components/menu.json +10 -0
  24. package/llm/components/popover.json +2 -4
  25. package/llm/examples/chat-ai.html +1 -0
  26. package/llm/examples/chat-footer.html +1 -0
  27. package/llm/examples/chat-person-to-person.html +1 -0
  28. package/llm/examples/chat.html +1 -1
  29. package/llm/examples/demo.html +1 -0
  30. package/llm/examples/getting-started.html +1 -1
  31. package/llm/index.json +84 -11
  32. package/llm/llms.txt +3 -0
  33. package/package.json +3 -1
  34. package/styles/button.css +3 -6
  35. package/styles/chat.css +207 -0
  36. package/styles/font.css +59 -0
  37. package/styles/globals.css +1 -0
  38. package/styles/loader.css +8 -0
  39. package/styles/popover.css +1 -37
  40. package/styles/typography.css +0 -56
@@ -0,0 +1,59 @@
1
+ /*----------------------------*/
2
+ /* FONT */
3
+ /*----------------------------*/
4
+
5
+ @font-face {
6
+ font-family: "Instrument Sans";
7
+ src: url("../fonts/InstrumentSans-VariableFont_wdth,wght.ttf") format("truetype");
8
+ font-weight: 100 900;
9
+ font-style: normal;
10
+ }
11
+
12
+ @font-face {
13
+ font-family: "Instrument Sans";
14
+ src: url("../fonts/InstrumentSans-Italic-VariableFont_wdth,wght.ttf") format("truetype");
15
+ font-weight: 100 900;
16
+ font-style: italic;
17
+ }
18
+
19
+ @font-face {
20
+ font-family: "Gazpacho";
21
+ src: url("../fonts/GazpachoRegular.otf") format("opentype");
22
+ font-weight: 400;
23
+ font-style: normal;
24
+ }
25
+
26
+ @font-face {
27
+ font-family: "Gazpacho";
28
+ src: url("../fonts/GazpachoRegularItalic.otf") format("opentype");
29
+ font-weight: 400;
30
+ font-style: italic;
31
+ }
32
+
33
+ @font-face {
34
+ font-family: "Gazpacho";
35
+ src: url("../fonts/GazpachoMedium.otf") format("opentype");
36
+ font-weight: 500;
37
+ font-style: normal;
38
+ }
39
+
40
+ @font-face {
41
+ font-family: "Gazpacho";
42
+ src: url("../fonts/GazpachoMediumItalic.otf") format("opentype");
43
+ font-weight: 500;
44
+ font-style: italic;
45
+ }
46
+
47
+ @font-face {
48
+ font-family: "Gazpacho";
49
+ src: url("../fonts/GazpachoBold.otf") format("opentype");
50
+ font-weight: 700;
51
+ font-style: normal;
52
+ }
53
+
54
+ @font-face {
55
+ font-family: "Gazpacho";
56
+ src: url("../fonts/GazpachoBoldItalic.otf") format("opentype");
57
+ font-weight: 700;
58
+ font-style: italic;
59
+ }
@@ -26,6 +26,7 @@
26
26
  @import "./empty-state.css";
27
27
  @import "./fieldset.css";
28
28
  @import "./field.css";
29
+ @import "./font.css";
29
30
  @import "./dropdown.css";
30
31
  @import "./form-shared.css";
31
32
  @import "./form-checkbox-radio-toggle.css";
package/styles/loader.css CHANGED
@@ -59,8 +59,16 @@
59
59
  }
60
60
  }
61
61
 
62
+ /* Loader text */
62
63
  .loader-text {
63
64
  @apply animate-loading-text-gradient;
65
+
66
+ &:not([class*='from-']) {
67
+ @apply from-text-default/5;
68
+ }
69
+ &:not([class*='to-']) {
70
+ @apply to-text-default;
71
+ }
64
72
  }
65
73
 
66
74
  /* sizes */
@@ -2,30 +2,6 @@
2
2
  /* POPOVER */
3
3
  /*----------------------------*/
4
4
 
5
- .popover-demo {
6
- @apply flex flex-wrap gap-3 items-center justify-center p-4 min-h-56 rounded-2xl border border-dashed border-line-default;
7
- }
8
-
9
- .popover-layout-grid {
10
- @apply grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-3;
11
- }
12
-
13
- .popover-example-card {
14
- @apply flex flex-col gap-3 items-start p-4 min-h-36 rounded-2xl border bg-background-surface border-line-default;
15
- }
16
-
17
- .popover-label {
18
- @apply text-xs font-medium uppercase tracking-wide text-text-secondary;
19
- }
20
-
21
- .popover-trigger {
22
- @apply inline-flex items-center justify-center gap-1 px-3 h-8 min-h-8 min-w-8 text-sm font-semibold leading-none rounded-full border cursor-pointer select-none include-interactive include-border-secondary text-text-default bg-background-surface whitespace-nowrap;
23
- }
24
-
25
- .popover-close {
26
- @apply button button-secondary;
27
- }
28
-
29
5
  .popover[popover] {
30
6
  --popover-translate-x: 0px;
31
7
  --popover-translate-y: 0.75rem;
@@ -34,7 +10,7 @@
34
10
  --popover-backdrop-color: rgb(0 0 0 / 0.35);
35
11
  --popover-backdrop-blur: 2px;
36
12
 
37
- @apply m-auto p-0 rounded-2xl border bg-background-surface border-line-default shadow-dark-xl text-text-default;
13
+ @apply m-auto p-0 rounded-2xl border bg-background-surface border-line-default shadow-2xl text-text-default;
38
14
  width: min(26rem, calc(100dvw - 2rem));
39
15
  max-height: min(34rem, calc(100dvh - 2rem));
40
16
  overflow: auto;
@@ -289,15 +265,3 @@
289
265
  height: 100dvh;
290
266
  max-height: 100dvh;
291
267
  }
292
-
293
- .popover-header {
294
- @apply flex items-center justify-between gap-3 px-4 py-3 border-b border-line-default;
295
- }
296
-
297
- .popover-body {
298
- @apply p-4 text-sm leading-relaxed text-text-tertiary;
299
- }
300
-
301
- .popover-footer {
302
- @apply flex items-center justify-end gap-2 px-4 py-3 border-t border-line-default;
303
- }
@@ -2,62 +2,6 @@
2
2
  /* TYPOGRAPHY */
3
3
  /*----------------------------*/
4
4
 
5
- @font-face {
6
- font-family: "Instrument Sans";
7
- src: url("/fonts/InstrumentSans-VariableFont_wdth,wght.ttf") format("truetype");
8
- font-weight: 100 900;
9
- font-style: normal;
10
- }
11
-
12
- @font-face {
13
- font-family: "Instrument Sans";
14
- src: url("/fonts/InstrumentSans-Italic-VariableFont_wdth,wght.ttf") format("truetype");
15
- font-weight: 100 900;
16
- font-style: italic;
17
- }
18
-
19
- @font-face {
20
- font-family: "Gazpacho";
21
- src: url("/fonts/GazpachoRegular.otf") format("opentype");
22
- font-weight: 400;
23
- font-style: normal;
24
- }
25
-
26
- @font-face {
27
- font-family: "Gazpacho";
28
- src: url("/fonts/GazpachoRegularItalic.otf") format("opentype");
29
- font-weight: 400;
30
- font-style: italic;
31
- }
32
-
33
- @font-face {
34
- font-family: "Gazpacho";
35
- src: url("/fonts/GazpachoMedium.otf") format("opentype");
36
- font-weight: 500;
37
- font-style: normal;
38
- }
39
-
40
- @font-face {
41
- font-family: "Gazpacho";
42
- src: url("/fonts/GazpachoMediumItalic.otf") format("opentype");
43
- font-weight: 500;
44
- font-style: italic;
45
- }
46
-
47
- @font-face {
48
- font-family: "Gazpacho";
49
- src: url("/fonts/GazpachoBold.otf") format("opentype");
50
- font-weight: 700;
51
- font-style: normal;
52
- }
53
-
54
- @font-face {
55
- font-family: "Gazpacho";
56
- src: url("/fonts/GazpachoBoldItalic.otf") format("opentype");
57
- font-weight: 700;
58
- font-style: italic;
59
- }
60
-
61
5
  body {
62
6
  -webkit-font-smoothing: antialiased;
63
7
  text-rendering: optimizelegibility;