loseta 0.16.0 → 0.17.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 (94) hide show
  1. package/package.json +1 -1
  2. package/registry/components/badge.css +4 -7
  3. package/registry/components/breadcrumb.css +9 -1
  4. package/registry/components/calendar.css +39 -0
  5. package/registry/components/card.css +5 -0
  6. package/registry/components/input-otp.css +103 -10
  7. package/registry/components/kbd.css +8 -0
  8. package/registry/components/native-select.css +6 -0
  9. package/registry/components/select.css +3 -0
  10. package/registry/components/tooltip.css +295 -144
  11. package/registry/examples/badge.html +37 -0
  12. package/registry/examples/breadcrumb.html +86 -6
  13. package/registry/examples/calendar.html +687 -51
  14. package/registry/examples/card.html +190 -4
  15. package/registry/examples/input-otp.html +116 -11
  16. package/registry/examples/kbd.html +90 -2
  17. package/registry/examples/native-select.html +83 -2
  18. package/registry/examples/select.html +199 -6
  19. package/registry/examples/sidebar.html +10 -10
  20. package/registry/examples/tooltip.html +75 -70
  21. package/registry/primitives/menu.css +15 -3
  22. package/registry/registry.json +36 -9
  23. package/registry/styles/luma/badge.css +28 -0
  24. package/registry/styles/luma/breadcrumb.css +2 -1
  25. package/registry/styles/luma/calendar.css +62 -0
  26. package/registry/styles/luma/card.css +9 -27
  27. package/registry/styles/luma/input-otp.css +79 -36
  28. package/registry/styles/luma/native-select.css +9 -2
  29. package/registry/styles/luma/primitives/listbox.css +8 -0
  30. package/registry/styles/luma/select.css +7 -2
  31. package/registry/styles/luma/tooltip.css +29 -16
  32. package/registry/styles/lyra/badge.css +28 -0
  33. package/registry/styles/lyra/breadcrumb.css +2 -1
  34. package/registry/styles/lyra/calendar.css +62 -0
  35. package/registry/styles/lyra/card.css +9 -27
  36. package/registry/styles/lyra/input-otp.css +79 -36
  37. package/registry/styles/lyra/native-select.css +6 -1
  38. package/registry/styles/lyra/primitives/listbox.css +8 -0
  39. package/registry/styles/lyra/select.css +6 -1
  40. package/registry/styles/lyra/tooltip.css +29 -16
  41. package/registry/styles/maia/badge.css +29 -0
  42. package/registry/styles/maia/breadcrumb.css +2 -1
  43. package/registry/styles/maia/calendar.css +62 -0
  44. package/registry/styles/maia/card.css +9 -27
  45. package/registry/styles/maia/input-otp.css +79 -36
  46. package/registry/styles/maia/native-select.css +9 -2
  47. package/registry/styles/maia/primitives/listbox.css +8 -0
  48. package/registry/styles/maia/select.css +7 -2
  49. package/registry/styles/maia/tooltip.css +29 -16
  50. package/registry/styles/mira/badge.css +32 -0
  51. package/registry/styles/mira/breadcrumb.css +2 -1
  52. package/registry/styles/mira/calendar.css +62 -0
  53. package/registry/styles/mira/card.css +9 -27
  54. package/registry/styles/mira/input-otp.css +79 -36
  55. package/registry/styles/mira/native-select.css +7 -2
  56. package/registry/styles/mira/primitives/listbox.css +8 -0
  57. package/registry/styles/mira/select.css +7 -2
  58. package/registry/styles/mira/tooltip.css +29 -16
  59. package/registry/styles/nova/badge.css +28 -0
  60. package/registry/styles/nova/breadcrumb.css +2 -1
  61. package/registry/styles/nova/calendar.css +62 -0
  62. package/registry/styles/nova/card.css +9 -27
  63. package/registry/styles/nova/input-otp.css +79 -36
  64. package/registry/styles/nova/native-select.css +9 -2
  65. package/registry/styles/nova/primitives/listbox.css +8 -0
  66. package/registry/styles/nova/select.css +7 -2
  67. package/registry/styles/nova/tooltip.css +29 -16
  68. package/registry/styles/rhea/badge.css +28 -0
  69. package/registry/styles/rhea/breadcrumb.css +2 -1
  70. package/registry/styles/rhea/calendar.css +62 -0
  71. package/registry/styles/rhea/card.css +9 -27
  72. package/registry/styles/rhea/input-otp.css +79 -36
  73. package/registry/styles/rhea/native-select.css +9 -2
  74. package/registry/styles/rhea/primitives/listbox.css +8 -0
  75. package/registry/styles/rhea/select.css +7 -2
  76. package/registry/styles/rhea/tooltip.css +29 -16
  77. package/registry/styles/sera/badge.css +29 -1
  78. package/registry/styles/sera/breadcrumb.css +2 -1
  79. package/registry/styles/sera/calendar.css +66 -0
  80. package/registry/styles/sera/card.css +9 -27
  81. package/registry/styles/sera/input-otp.css +80 -37
  82. package/registry/styles/sera/native-select.css +9 -2
  83. package/registry/styles/sera/primitives/listbox.css +8 -0
  84. package/registry/styles/sera/select.css +7 -2
  85. package/registry/styles/sera/tooltip.css +29 -16
  86. package/registry/styles/vega/badge.css +28 -0
  87. package/registry/styles/vega/breadcrumb.css +2 -1
  88. package/registry/styles/vega/calendar.css +62 -0
  89. package/registry/styles/vega/card.css +9 -27
  90. package/registry/styles/vega/input-otp.css +79 -36
  91. package/registry/styles/vega/native-select.css +9 -2
  92. package/registry/styles/vega/primitives/listbox.css +8 -0
  93. package/registry/styles/vega/select.css +7 -2
  94. package/registry/styles/vega/tooltip.css +29 -16
@@ -2,22 +2,102 @@
2
2
  <nav class="breadcrumb" aria-label="breadcrumb">
3
3
  <ol>
4
4
  <li><a href="#">Home</a></li>
5
- <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></li>
5
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
6
6
  <li><a href="#">Components</a></li>
7
- <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></li>
7
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
8
8
  <li><span aria-current="page">Breadcrumb</span></li>
9
9
  </ol>
10
10
  </nav>
11
11
 
12
- <!-- Collapsed -->
12
+ <!-- Ellipsis -->
13
13
  <nav class="breadcrumb" aria-label="breadcrumb">
14
14
  <ol>
15
15
  <li><a href="#">Home</a></li>
16
- <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></li>
16
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
17
17
  <li><span data-slot="ellipsis" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg></span></li>
18
- <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></li>
18
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
19
19
  <li><a href="#">Components</a></li>
20
- <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></li>
20
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
21
21
  <li><span aria-current="page">Breadcrumb</span></li>
22
22
  </ol>
23
23
  </nav>
24
+
25
+ <!-- Ellipsis menu -->
26
+ <div style="display: flex; align-items: flex-start; justify-content: center; width: 100%; min-height: 12rem; padding-block-start: 0.5rem">
27
+ <nav class="breadcrumb" aria-label="breadcrumb">
28
+ <ol>
29
+ <li><a href="#">Home</a></li>
30
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
31
+ <li>
32
+ <div class="dropdown-menu">
33
+ <button type="button" class="btn" data-variant="ghost" data-size="icon-sm" aria-haspopup="menu" aria-expanded="false" aria-controls="demo-breadcrumb-ellipsis-panel" aria-label="Show more breadcrumb items">
34
+ <span data-slot="ellipsis" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg></span>
35
+ </button>
36
+ <div data-popover data-side="bottom" data-align="start" id="demo-breadcrumb-ellipsis-panel" aria-hidden="true">
37
+ <div role="menu">
38
+ <button type="button" role="menuitem">Documentation</button>
39
+ <button type="button" role="menuitem">Themes</button>
40
+ <button type="button" role="menuitem">GitHub</button>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </li>
45
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
46
+ <li><a href="#">Components</a></li>
47
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
48
+ <li><span aria-current="page">Breadcrumb</span></li>
49
+ </ol>
50
+ </nav>
51
+ </div>
52
+
53
+ <!-- Dropdown -->
54
+ <div style="display: flex; align-items: flex-start; justify-content: center; width: 100%; min-height: 12rem; padding-block-start: 0.5rem">
55
+ <nav class="breadcrumb" aria-label="breadcrumb">
56
+ <ol>
57
+ <li><a href="#">Home</a></li>
58
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
59
+ <li>
60
+ <div class="dropdown-menu">
61
+ <button type="button" aria-haspopup="menu" aria-expanded="false" aria-controls="demo-breadcrumb-dropdown-panel">
62
+ Components <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="inline-size: 0.875rem; block-size: 0.875rem"><path d="m6 9 6 6 6-6"/></svg>
63
+ </button>
64
+ <div data-popover data-side="bottom" data-align="start" id="demo-breadcrumb-dropdown-panel" aria-hidden="true">
65
+ <div role="menu">
66
+ <button type="button" role="menuitem">Documentation</button>
67
+ <button type="button" role="menuitem">Themes</button>
68
+ <button type="button" role="menuitem">GitHub</button>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ </li>
73
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
74
+ <li><span aria-current="page">Breadcrumb</span></li>
75
+ </ol>
76
+ </nav>
77
+ </div>
78
+
79
+ <!-- Custom separator -->
80
+ <nav class="breadcrumb" aria-label="breadcrumb">
81
+ <ol>
82
+ <li><a href="#">Home</a></li>
83
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/></svg></li>
84
+ <li><a href="#">Components</a></li>
85
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/></svg></li>
86
+ <li><span aria-current="page">Breadcrumb</span></li>
87
+ </ol>
88
+ </nav>
89
+
90
+ <!-- Right-to-left -->
91
+ <div dir="rtl" lang="ar" style="display: flex; justify-content: center; width: 100%">
92
+ <nav class="breadcrumb" aria-label="مسار التنقل">
93
+ <ol>
94
+ <li><a href="#">الرئيسية</a></li>
95
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
96
+ <li><span data-slot="ellipsis" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg></span></li>
97
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
98
+ <li><a href="#">المكونات</a></li>
99
+ <li role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
100
+ <li><span aria-current="page">مسار التنقل</span></li>
101
+ </ol>
102
+ </nav>
103
+ </div>