@yuva-devlab/ui 1.4.4 → 2.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 (90) hide show
  1. package/README.md +117 -33
  2. package/dist/components/accordion/accordion.mdx +18 -0
  3. package/dist/components/alert/alert.css +2 -2
  4. package/dist/components/alert-dialog/alert-dialog.mdx +18 -0
  5. package/dist/components/aspect-ratio/aspect-ratio.mdx +22 -0
  6. package/dist/components/breadcrumb/breadcrumb.mdx +18 -0
  7. package/dist/components/calendar/calendar-nav.css +111 -0
  8. package/dist/components/calendar/calendar.css +27 -82
  9. package/dist/components/calendar/calendar.mdx +18 -0
  10. package/dist/components/card/card.css +4 -4
  11. package/dist/components/carousel/carousel.css +4 -4
  12. package/dist/components/carousel/carousel.mdx +18 -0
  13. package/dist/components/chart/chart.css +86 -0
  14. package/dist/components/chart/chart.mdx +18 -0
  15. package/dist/components/checkbox/checkbox.css +11 -0
  16. package/dist/components/collapsible/collapsible.mdx +18 -0
  17. package/dist/components/command/command.css +3 -3
  18. package/dist/components/command/command.mdx +18 -0
  19. package/dist/components/confirm-dialog/confirm-dialog.mdx +18 -0
  20. package/dist/components/context-menu/context-menu.mdx +18 -0
  21. package/dist/components/copy-button/copy-button.mdx +18 -0
  22. package/dist/components/date-picker/date-picker.css +2 -2
  23. package/dist/components/date-picker/date-picker.mdx +18 -0
  24. package/dist/components/dialog/dialog.css +6 -6
  25. package/dist/components/drawer/drawer.mdx +18 -0
  26. package/dist/components/dropdown-menu/dropdown-menu.css +18 -0
  27. package/dist/components/dropdown-menu/dropdown-menu.mdx +18 -0
  28. package/dist/components/empty-state/empty-state.css +67 -0
  29. package/dist/components/empty-state/empty-state.mdx +18 -0
  30. package/dist/components/form/form.mdx +18 -0
  31. package/dist/components/hover-card/hover-card.mdx +18 -0
  32. package/dist/components/input-otp/input-otp.mdx +18 -0
  33. package/dist/components/label/label.mdx +18 -0
  34. package/dist/components/layout/layout.css +158 -0
  35. package/dist/components/layout/layout.mdx +30 -0
  36. package/dist/components/loading-state/loading-state.css +11 -0
  37. package/dist/components/loading-state/loading-state.mdx +18 -0
  38. package/dist/components/menubar/menubar.css +4 -4
  39. package/dist/components/menubar/menubar.mdx +18 -0
  40. package/dist/components/metric-card/metric-card.mdx +18 -0
  41. package/dist/components/navigation-menu/navigation-menu.css +2 -2
  42. package/dist/components/navigation-menu/navigation-menu.mdx +18 -0
  43. package/dist/components/pagination/pagination.css +8 -2
  44. package/dist/components/pagination/pagination.mdx +18 -0
  45. package/dist/components/panel/panel.mdx +18 -0
  46. package/dist/components/popover/popover.css +2 -2
  47. package/dist/components/popover/popover.mdx +18 -0
  48. package/dist/components/radio-group/radio-group.mdx +18 -0
  49. package/dist/components/resizable/resizable.mdx +18 -0
  50. package/dist/components/scroll-area/scroll-area.mdx +18 -0
  51. package/dist/components/searchable-select/searchable-select.css +26 -3
  52. package/dist/components/searchable-select/searchable-select.mdx +18 -0
  53. package/dist/components/secret-reveal-card/secret-reveal-card.css +6 -0
  54. package/dist/components/secret-reveal-card/secret-reveal-card.mdx +18 -0
  55. package/dist/components/select/select.css +16 -1
  56. package/dist/components/separator/separator.mdx +18 -0
  57. package/dist/components/sheet/sheet.css +5 -1
  58. package/dist/components/sheet/sheet.mdx +18 -0
  59. package/dist/components/sidebar/sidebar-menu.css +183 -0
  60. package/dist/components/sidebar/sidebar-submenu.css +69 -0
  61. package/dist/components/sidebar/sidebar.css +171 -4
  62. package/dist/components/sidebar/sidebar.mdx +18 -0
  63. package/dist/components/slider/slider.mdx +18 -0
  64. package/dist/components/status-chip/status-chip.mdx +18 -0
  65. package/dist/components/table/table.css +5 -3
  66. package/dist/components/tabs/tabs.css +3 -3
  67. package/dist/components/textarea/textarea.css +3 -3
  68. package/dist/components/textarea/textarea.mdx +18 -0
  69. package/dist/components/toggle/toggle.css +9 -9
  70. package/dist/components/toggle/toggle.mdx +18 -0
  71. package/dist/components/toggle-group/toggle-group.mdx +18 -0
  72. package/dist/components/tooltip/tooltip.mdx +18 -0
  73. package/dist/components/typography/heading.mdx +36 -0
  74. package/dist/components/typography/text.mdx +34 -0
  75. package/dist/components/typography/typography.css +98 -0
  76. package/dist/components.css +1156 -164
  77. package/dist/index.cjs +1206 -958
  78. package/dist/index.cjs.map +1 -1
  79. package/dist/index.d.cts +657 -196
  80. package/dist/index.d.ts +657 -196
  81. package/dist/index.js +1174 -948
  82. package/dist/index.js.map +1 -1
  83. package/dist/preset.css +2 -4
  84. package/dist/styles/components.css +1156 -164
  85. package/dist/styles/preset.css +2 -4
  86. package/dist/styles/styles.css +7 -4
  87. package/dist/styles/utilities.css +137 -0
  88. package/dist/styles.css +7 -4
  89. package/dist/utilities.css +137 -0
  90. package/package.json +5 -6
@@ -0,0 +1,158 @@
1
+ /**
2
+ * @file layout.css
3
+ * @description Layout primitive styles wrapped in @layer dl-layout.
4
+ * Governed by semantic design tokens.
5
+ */
6
+
7
+ @layer dl-layout {
8
+ /* ── Box ───────────────────────────────────────────────────────────── */
9
+ .dl-box {
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ /* ── Flex ──────────────────────────────────────────────────────────── */
14
+ .dl-flex {
15
+ display: flex;
16
+ box-sizing: border-box;
17
+ }
18
+ .dl-flex--inline {
19
+ display: inline-flex;
20
+ }
21
+
22
+ .dl-flex--row {
23
+ flex-direction: row;
24
+ }
25
+ .dl-flex--row-reverse {
26
+ flex-direction: row-reverse;
27
+ }
28
+ .dl-flex--col {
29
+ flex-direction: column;
30
+ }
31
+ .dl-flex--col-reverse {
32
+ flex-direction: column-reverse;
33
+ }
34
+
35
+ .dl-flex--justify-start {
36
+ justify-content: flex-start;
37
+ }
38
+ .dl-flex--justify-center {
39
+ justify-content: center;
40
+ }
41
+ .dl-flex--justify-end {
42
+ justify-content: flex-end;
43
+ }
44
+ .dl-flex--justify-between {
45
+ justify-content: space-between;
46
+ }
47
+ .dl-flex--justify-around {
48
+ justify-content: space-around;
49
+ }
50
+ .dl-flex--justify-evenly {
51
+ justify-content: space-evenly;
52
+ }
53
+
54
+ .dl-flex--align-start {
55
+ align-items: flex-start;
56
+ }
57
+ .dl-flex--align-center {
58
+ align-items: center;
59
+ }
60
+ .dl-flex--align-end {
61
+ align-items: flex-end;
62
+ }
63
+ .dl-flex--align-stretch {
64
+ align-items: stretch;
65
+ }
66
+ .dl-flex--align-baseline {
67
+ align-items: baseline;
68
+ }
69
+
70
+ .dl-flex--wrap {
71
+ flex-wrap: wrap;
72
+ }
73
+ .dl-flex--nowrap {
74
+ flex-wrap: nowrap;
75
+ }
76
+ .dl-flex--wrap-reverse {
77
+ flex-wrap: wrap-reverse;
78
+ }
79
+
80
+ /* ── Stack ─────────────────────────────────────────────────────────── */
81
+ .dl-stack {
82
+ display: flex;
83
+ box-sizing: border-box;
84
+ }
85
+ .dl-stack--col {
86
+ flex-direction: column;
87
+ }
88
+ .dl-stack--row {
89
+ flex-direction: row;
90
+ }
91
+
92
+ /* ── Grid ──────────────────────────────────────────────────────────── */
93
+ .dl-grid {
94
+ display: grid;
95
+ box-sizing: border-box;
96
+ }
97
+ .dl-grid--inline {
98
+ display: inline-grid;
99
+ }
100
+
101
+ /* ── Container ─────────────────────────────────────────────────────── */
102
+ .dl-container {
103
+ width: 100%;
104
+ margin-left: auto;
105
+ margin-right: auto;
106
+ box-sizing: border-box;
107
+ padding-left: var(--space-4, 1rem);
108
+ padding-right: var(--space-4, 1rem);
109
+ }
110
+
111
+ .dl-container--sm {
112
+ max-width: 640px;
113
+ }
114
+ .dl-container--md {
115
+ max-width: 768px;
116
+ }
117
+ .dl-container--lg {
118
+ max-width: 1024px;
119
+ }
120
+ .dl-container--xl {
121
+ max-width: 1280px;
122
+ }
123
+ .dl-container--2xl {
124
+ max-width: 1536px;
125
+ }
126
+ .dl-container--fluid {
127
+ max-width: 100%;
128
+ }
129
+
130
+ /* ── Token Gaps ────────────────────────────────────────────────────── */
131
+ .dl-gap-0 {
132
+ gap: 0;
133
+ }
134
+ .dl-gap-1 {
135
+ gap: var(--space-1, 0.25rem);
136
+ }
137
+ .dl-gap-2 {
138
+ gap: var(--space-2, 0.5rem);
139
+ }
140
+ .dl-gap-3 {
141
+ gap: var(--space-3, 0.75rem);
142
+ }
143
+ .dl-gap-4 {
144
+ gap: var(--space-4, 1rem);
145
+ }
146
+ .dl-gap-5 {
147
+ gap: var(--space-5, 1.25rem);
148
+ }
149
+ .dl-gap-6 {
150
+ gap: var(--space-6, 1.5rem);
151
+ }
152
+ .dl-gap-8 {
153
+ gap: var(--space-8, 2rem);
154
+ }
155
+ .dl-gap-10 {
156
+ gap: var(--space-10, 2.5rem);
157
+ }
158
+ }
@@ -0,0 +1,30 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as LayoutStories from "./layout.stories";
3
+
4
+ <Meta of={LayoutStories} />
5
+
6
+ <Title />
7
+
8
+ # Layout Primitives
9
+
10
+ Composable layout primitives including Box, Flex, Stack, Grid, and Container for token-based structures.
11
+
12
+ ## Box Primitive
13
+
14
+ <Canvas of={LayoutStories.BoxPrimitive} />
15
+
16
+ ## Flex Primitive
17
+
18
+ <Canvas of={LayoutStories.FlexPrimitive} />
19
+
20
+ ## Stack Primitive
21
+
22
+ <Canvas of={LayoutStories.StackPrimitive} />
23
+
24
+ ## Grid Primitive
25
+
26
+ <Canvas of={LayoutStories.GridPrimitive} />
27
+
28
+ ## Container Primitive
29
+
30
+ <Canvas of={LayoutStories.ContainerPrimitive} />
@@ -24,3 +24,14 @@
24
24
  flex-direction: column;
25
25
  gap: 0.5rem;
26
26
  }
27
+
28
+ .dl-loading-skeleton__header {
29
+ height: 2rem;
30
+ width: 33.333%;
31
+ }
32
+
33
+ .dl-loading-skeleton__row {
34
+ height: 4rem;
35
+ width: 100%;
36
+ border-radius: var(--radius-lg, 0.75rem);
37
+ }
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as LoadingStateStories from "./loading-state.stories";
3
+
4
+ <Meta of={LoadingStateStories} />
5
+
6
+ <Title />
7
+
8
+ # Loading State
9
+
10
+ Flexible loading state indicator providing spinner and skeleton placeholder rows.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={LoadingStateStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />
@@ -1,12 +1,12 @@
1
1
  .dl-menubar {
2
2
  display: flex;
3
- height: 2.25rem;
3
+ height: var(--control-height-md, 2.25rem);
4
4
  align-items: center;
5
- gap: 0.25rem;
5
+ gap: var(--space-1, 0.25rem);
6
6
  border-radius: var(--radius-md, 0.375rem);
7
7
  border: 1px solid var(--border);
8
8
  background-color: var(--background);
9
- padding: 0.25rem;
9
+ padding: var(--space-1, 0.25rem);
10
10
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
11
11
  }
12
12
 
@@ -16,7 +16,7 @@
16
16
  user-select: none;
17
17
  align-items: center;
18
18
  border-radius: var(--radius-sm, 0.25rem);
19
- padding: 0.25rem 0.75rem;
19
+ padding: var(--space-1, 0.25rem) var(--space-3, 0.75rem);
20
20
  font-size: 0.875rem;
21
21
  font-weight: 500;
22
22
  outline: none;
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as MenubarStories from "./menubar.stories";
3
+
4
+ <Meta of={MenubarStories} />
5
+
6
+ <Title />
7
+
8
+ # Menubar
9
+
10
+ Persistent top-level desktop application menubar supporting nested submenus and shortcut badges.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={MenubarStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as MetricCardStories from "./metric-card.stories";
3
+
4
+ <Meta of={MetricCardStories} />
5
+
6
+ <Title />
7
+
8
+ # Metric Card
9
+
10
+ Statistical metric card displaying benchmark measurements, trend indicators, and telemetry badges.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={MetricCardStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />
@@ -21,13 +21,13 @@
21
21
 
22
22
  .dl-navigation-menu-trigger {
23
23
  display: inline-flex;
24
- height: 2.25rem;
24
+ height: var(--control-height-md, 2.25rem);
25
25
  width: max-content;
26
26
  align-items: center;
27
27
  justify-content: center;
28
28
  border-radius: var(--radius-md, 0.375rem);
29
29
  background-color: var(--background);
30
- padding: 0.5rem 1rem;
30
+ padding: var(--space-2, 0.5rem) var(--space-4, 1rem);
31
31
  font-size: 0.875rem;
32
32
  font-weight: 500;
33
33
  cursor: pointer;
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as NavigationMenuStories from "./navigation-menu.stories";
3
+
4
+ <Meta of={NavigationMenuStories} />
5
+
6
+ <Title />
7
+
8
+ # Navigation Menu
9
+
10
+ Top-level site navigation menu with rich flyout panels and smooth enter/exit animations.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={NavigationMenuStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />
@@ -29,12 +29,18 @@
29
29
  padding-inline-end: 0.625rem;
30
30
  }
31
31
 
32
+ .dl-pagination-icon {
33
+ width: 1rem;
34
+ height: 1rem;
35
+ flex-shrink: 0;
36
+ }
37
+
32
38
  .dl-pagination-ellipsis {
33
39
  display: flex;
34
40
  align-items: center;
35
41
  justify-content: center;
36
- width: 2.25rem;
37
- height: 2.25rem;
42
+ width: var(--control-height-md, 2.25rem);
43
+ height: var(--control-height-md, 2.25rem);
38
44
  }
39
45
 
40
46
  .dl-pagination-ellipsis svg {
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as PaginationStories from "./pagination.stories";
3
+
4
+ <Meta of={PaginationStories} />
5
+
6
+ <Title />
7
+
8
+ # Pagination
9
+
10
+ Accessible page navigation controls for traversing large multi-page datasets.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={PaginationStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as PanelStories from "./panel.stories";
3
+
4
+ <Meta of={PanelStories} />
5
+
6
+ <Title />
7
+
8
+ # Panel
9
+
10
+ Sectional container card component for modular grouping of settings, metrics, and agent views.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={PanelStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />
@@ -1,11 +1,11 @@
1
1
  .dl-popover {
2
2
  z-index: 50;
3
3
  width: 18rem;
4
- border-radius: var(--radius-lg, 0.5rem);
4
+ border-radius: var(--radius, 0.5rem);
5
5
  border: 1px solid var(--border);
6
6
  background-color: var(--popover);
7
7
  color: var(--popover-foreground);
8
- padding: 1rem;
8
+ padding: var(--space-4, 1rem);
9
9
  box-shadow: 0 4px 24px rgb(0 0 0/0.12);
10
10
  outline: none;
11
11
  }
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as PopoverStories from "./popover.stories";
3
+
4
+ <Meta of={PopoverStories} />
5
+
6
+ <Title />
7
+
8
+ # Popover
9
+
10
+ Floating contextual overlay anchored to a trigger element with focus management.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={PopoverStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as RadioGroupStories from "./radio-group.stories";
3
+
4
+ <Meta of={RadioGroupStories} />
5
+
6
+ <Title />
7
+
8
+ # Radio Group
9
+
10
+ Set of checkable buttons—known as radio buttons—where no more than one button can be checked at a time.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={RadioGroupStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as ResizableStories from "./resizable.stories";
3
+
4
+ <Meta of={ResizableStories} />
5
+
6
+ <Title />
7
+
8
+ # Resizable Panels
9
+
10
+ Accessible resizable panel layout groups supporting horizontal and vertical split ratios.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={ResizableStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as ScrollAreaStories from "./scroll-area.stories";
3
+
4
+ <Meta of={ScrollAreaStories} />
5
+
6
+ <Title />
7
+
8
+ # Scroll Area
9
+
10
+ Custom scrollable view with cross-browser custom styled scrollbars.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={ScrollAreaStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />
@@ -22,7 +22,7 @@
22
22
  align-items: center;
23
23
  gap: 0.5rem;
24
24
  border-bottom: 1px solid var(--border);
25
- padding: 0.5rem;
25
+ padding: var(--space-2, 0.5rem);
26
26
  }
27
27
 
28
28
  .dl-searchable-select-search-icon {
@@ -34,10 +34,10 @@
34
34
  }
35
35
 
36
36
  .dl-searchable-select-search-input {
37
- height: 2rem;
37
+ height: var(--control-height-sm, 2rem);
38
38
  border: none;
39
39
  background: transparent;
40
- padding-inline: 0.25rem;
40
+ padding-inline: var(--space-1, 0.25rem);
41
41
  font-size: 0.875rem;
42
42
  box-shadow: none;
43
43
  }
@@ -64,6 +64,10 @@
64
64
  color: var(--muted-foreground);
65
65
  }
66
66
 
67
+ .dl-searchable-select-group {
68
+ padding-block: 0.25rem;
69
+ }
70
+
67
71
  .dl-searchable-select-group-header {
68
72
  padding-inline: 0.5rem;
69
73
  padding-block: 0.25rem;
@@ -101,6 +105,19 @@
101
105
  font-weight: 500;
102
106
  }
103
107
 
108
+ .dl-searchable-select-item-text {
109
+ flex: 1 1 0%;
110
+ overflow: hidden;
111
+ text-overflow: ellipsis;
112
+ white-space: nowrap;
113
+ }
114
+
115
+ .dl-searchable-select-truncate {
116
+ overflow: hidden;
117
+ text-overflow: ellipsis;
118
+ white-space: nowrap;
119
+ }
120
+
104
121
  .dl-searchable-select-add {
105
122
  border-top: 1px solid var(--border);
106
123
  background-color: color-mix(in oklch, var(--muted) 30%, transparent);
@@ -126,3 +143,9 @@
126
143
  .dl-searchable-select-add-btn:hover {
127
144
  background-color: color-mix(in oklch, var(--primary) 10%, transparent);
128
145
  }
146
+
147
+ .dl-searchable-select-add-icon {
148
+ width: 0.875rem;
149
+ height: 0.875rem;
150
+ flex-shrink: 0;
151
+ }
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as SearchableSelectStories from "./searchable-select.stories";
3
+
4
+ <Meta of={SearchableSelectStories} />
5
+
6
+ <Title />
7
+
8
+ # Searchable Select
9
+
10
+ Single and multi-select combobox with real-time text query filtering and selection tags.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={SearchableSelectStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />
@@ -17,6 +17,12 @@
17
17
  line-height: 1.4;
18
18
  }
19
19
 
20
+ .dl-secret-reveal__warning svg {
21
+ flex-shrink: 0;
22
+ width: 1rem;
23
+ height: 1rem;
24
+ }
25
+
20
26
  .dl-secret-reveal__code-wrap {
21
27
  display: flex;
22
28
  align-items: center;
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as SecretRevealCardStories from "./secret-reveal-card.stories";
3
+
4
+ <Meta of={SecretRevealCardStories} />
5
+
6
+ <Title />
7
+
8
+ # Secret Reveal Card
9
+
10
+ Secure credential display container with masked characters and timed reveal functionality.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={SecretRevealCardStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />
@@ -32,12 +32,23 @@
32
32
  opacity: 0.5;
33
33
  cursor: not-allowed;
34
34
  }
35
- .dl-select-trigger > svg {
35
+ .dl-select-trigger svg {
36
36
  opacity: 0.5;
37
37
  width: 1rem;
38
38
  height: 1rem;
39
39
  flex-shrink: 0;
40
40
  }
41
+ .dl-select-scroll-btn {
42
+ display: flex;
43
+ cursor: default;
44
+ align-items: center;
45
+ justify-content: center;
46
+ padding-block: 0.25rem;
47
+ }
48
+ .dl-select-scroll-btn svg {
49
+ width: 1rem;
50
+ height: 1rem;
51
+ }
41
52
 
42
53
  /* Sizes */
43
54
  .dl-select-trigger--sm {
@@ -112,6 +123,10 @@
112
123
  width: 0.875rem;
113
124
  height: 0.875rem;
114
125
  }
126
+ .dl-select-item__indicator svg {
127
+ width: 0.75rem;
128
+ height: 0.75rem;
129
+ }
115
130
  .dl-select-label {
116
131
  padding: 0.25rem 0.5rem;
117
132
  font-size: 0.6875rem;
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as SeparatorStories from "./separator.stories";
3
+
4
+ <Meta of={SeparatorStories} />
5
+
6
+ <Title />
7
+
8
+ # Separator
9
+
10
+ Visual or semantic divider between sections of content supporting horizontal and vertical orientations.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={SeparatorStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />
@@ -6,7 +6,7 @@
6
6
  z-index: 50;
7
7
  gap: 1rem;
8
8
  background-color: var(--background);
9
- padding: 1.5rem;
9
+ padding: var(--dialog-padding, 1.5rem);
10
10
  box-shadow: 0 8px 40px rgb(0 0 0/0.2);
11
11
  }
12
12
  .dl-sheet-content--right {
@@ -63,6 +63,10 @@
63
63
  outline: 2px solid var(--ring);
64
64
  outline-offset: 2px;
65
65
  }
66
+ .dl-sheet-close svg {
67
+ width: 1rem;
68
+ height: 1rem;
69
+ }
66
70
  .dl-sheet__header {
67
71
  display: flex;
68
72
  flex-direction: column;
@@ -0,0 +1,18 @@
1
+ import { Meta, Title, Description, Canvas, Controls } from "@storybook/blocks";
2
+ import * as SheetStories from "./sheet.stories";
3
+
4
+ <Meta of={SheetStories} />
5
+
6
+ <Title />
7
+
8
+ # Sheet
9
+
10
+ Extends the Dialog component to display content that complements the main screen from any edge.
11
+
12
+ ## Default
13
+
14
+ <Canvas of={SheetStories.Default} />
15
+
16
+ ## Component Properties
17
+
18
+ <Controls />