@mosetta/ui 0.0.0-stage → 0.0.10
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.
- package/CHANGELOG.md +66 -0
- package/LICENSE +21 -0
- package/README.md +4 -2
- package/css/base.css +109 -0
- package/css/button.css +264 -0
- package/css/card.css +174 -0
- package/css/form.css +107 -0
- package/css/inline-field.css +195 -0
- package/css/inline.css +46 -0
- package/css/input.css +163 -0
- package/css/stack.css +39 -0
- package/css/styler.css +134 -0
- package/css/typography.css +136 -0
- package/package.json +35 -3
- package/scripts/buildCss.mjs +73 -0
- package/src/cn.ts +28 -0
- package/src/components/button.tsx +46 -0
- package/src/components/card.tsx +23 -0
- package/src/components/form.tsx +31 -0
- package/src/components/inline.tsx +30 -0
- package/src/components/inlineField.tsx +118 -0
- package/src/components/input.tsx +18 -0
- package/src/components/mosaic.tsx +52 -0
- package/src/components/stack.tsx +42 -0
- package/src/components/styler.tsx +229 -0
- package/src/components/typography.tsx +98 -0
- package/src/dockArrangement.ts +212 -0
- package/src/dockLayout.ts +139 -0
- package/src/inline.ts +103 -0
- package/src/ui.ts +54 -0
- package/src/variants.ts +28 -0
- package/styles/theme.css +107 -0
- package/styles/tw.css +36 -0
- package/tsconfig.json +7 -0
package/css/form.css
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/* GENERATED by scripts/buildCss.mjs — do not edit. Source: src/components/form.tsx */
|
|
2
|
+
|
|
3
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
4
|
+
@layer properties;
|
|
5
|
+
.dui-root {
|
|
6
|
+
--dui-spacing: 0.25rem;
|
|
7
|
+
--dui-text-xs: 0.75rem;
|
|
8
|
+
--dui-text-xs--line-height: calc(1 / 0.75);
|
|
9
|
+
--dui-text-sm: 0.875rem;
|
|
10
|
+
--dui-text-sm--line-height: calc(1.25 / 0.875);
|
|
11
|
+
--dui-font-weight-medium: 500;
|
|
12
|
+
}
|
|
13
|
+
.dui\:mt-3 {
|
|
14
|
+
margin-top: calc(var(--dui-spacing) * 3);
|
|
15
|
+
}
|
|
16
|
+
.dui\:mb-1 {
|
|
17
|
+
margin-bottom: var(--dui-spacing);
|
|
18
|
+
}
|
|
19
|
+
.dui\:block {
|
|
20
|
+
display: block;
|
|
21
|
+
}
|
|
22
|
+
.dui\:flex {
|
|
23
|
+
display: flex;
|
|
24
|
+
}
|
|
25
|
+
.dui\:hidden {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
.dui\:inline-flex {
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
}
|
|
31
|
+
.dui\:h-8 {
|
|
32
|
+
height: calc(var(--dui-spacing) * 8);
|
|
33
|
+
}
|
|
34
|
+
.dui\:h-9 {
|
|
35
|
+
height: calc(var(--dui-spacing) * 9);
|
|
36
|
+
}
|
|
37
|
+
.dui\:w-full {
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
.dui\:items-center {
|
|
41
|
+
align-items: center;
|
|
42
|
+
}
|
|
43
|
+
.dui\:gap-2 {
|
|
44
|
+
gap: calc(var(--dui-spacing) * 2);
|
|
45
|
+
}
|
|
46
|
+
.dui\:rounded-md {
|
|
47
|
+
border-radius: calc(var(--dui-radius) - 2px);
|
|
48
|
+
}
|
|
49
|
+
.dui\:border {
|
|
50
|
+
border-style: var(--tw-border-style);
|
|
51
|
+
border-width: 1px;
|
|
52
|
+
}
|
|
53
|
+
.dui\:border-input {
|
|
54
|
+
border-color: var(--dui-input);
|
|
55
|
+
}
|
|
56
|
+
.dui\:bg-transparent {
|
|
57
|
+
background-color: transparent;
|
|
58
|
+
}
|
|
59
|
+
.dui\:px-3 {
|
|
60
|
+
padding-inline: calc(var(--dui-spacing) * 3);
|
|
61
|
+
}
|
|
62
|
+
.dui\:pr-9 {
|
|
63
|
+
padding-right: calc(var(--dui-spacing) * 9);
|
|
64
|
+
}
|
|
65
|
+
.dui\:pl-3 {
|
|
66
|
+
padding-left: calc(var(--dui-spacing) * 3);
|
|
67
|
+
}
|
|
68
|
+
.dui\:text-sm {
|
|
69
|
+
font-size: var(--dui-text-sm);
|
|
70
|
+
line-height: var(--tw-leading, var(--dui-text-sm--line-height));
|
|
71
|
+
}
|
|
72
|
+
.dui\:text-xs {
|
|
73
|
+
font-size: var(--dui-text-xs);
|
|
74
|
+
line-height: var(--tw-leading, var(--dui-text-xs--line-height));
|
|
75
|
+
}
|
|
76
|
+
.dui\:font-medium {
|
|
77
|
+
--tw-font-weight: var(--dui-font-weight-medium);
|
|
78
|
+
font-weight: var(--dui-font-weight-medium);
|
|
79
|
+
}
|
|
80
|
+
.dui\:text-muted-foreground {
|
|
81
|
+
color: var(--dui-muted-foreground);
|
|
82
|
+
}
|
|
83
|
+
.dui\:first\:mt-0:first-child {
|
|
84
|
+
margin-top: 0px;
|
|
85
|
+
}
|
|
86
|
+
@media (hover: hover) {
|
|
87
|
+
.dui\:hover\:bg-accent:hover {
|
|
88
|
+
background-color: var(--dui-accent);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
@property --tw-border-style {
|
|
92
|
+
syntax: "*";
|
|
93
|
+
inherits: false;
|
|
94
|
+
initial-value: solid;
|
|
95
|
+
}
|
|
96
|
+
@property --tw-font-weight {
|
|
97
|
+
syntax: "*";
|
|
98
|
+
inherits: false;
|
|
99
|
+
}
|
|
100
|
+
@layer properties {
|
|
101
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
102
|
+
*, ::before, ::after, ::backdrop {
|
|
103
|
+
--tw-border-style: solid;
|
|
104
|
+
--tw-font-weight: initial;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
/* GENERATED by scripts/buildCss.mjs — do not edit. Source: src/components/inlineField.tsx */
|
|
2
|
+
|
|
3
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
4
|
+
@layer properties;
|
|
5
|
+
.dui-root {
|
|
6
|
+
--dui-spacing: 0.25rem;
|
|
7
|
+
--dui-text-xs: 0.75rem;
|
|
8
|
+
--dui-text-xs--line-height: calc(1 / 0.75);
|
|
9
|
+
--dui-text-sm: 0.875rem;
|
|
10
|
+
--dui-text-sm--line-height: calc(1.25 / 0.875);
|
|
11
|
+
--dui-font-weight-semibold: 600;
|
|
12
|
+
}
|
|
13
|
+
.dui\:flex {
|
|
14
|
+
display: flex;
|
|
15
|
+
}
|
|
16
|
+
.dui\:inline-flex {
|
|
17
|
+
display: inline-flex;
|
|
18
|
+
}
|
|
19
|
+
.dui\:h-7 {
|
|
20
|
+
height: calc(var(--dui-spacing) * 7);
|
|
21
|
+
}
|
|
22
|
+
.dui\:min-h-9 {
|
|
23
|
+
min-height: calc(var(--dui-spacing) * 9);
|
|
24
|
+
}
|
|
25
|
+
.dui\:w-full {
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
.dui\:min-w-7 {
|
|
29
|
+
min-width: calc(var(--dui-spacing) * 7);
|
|
30
|
+
}
|
|
31
|
+
.dui\:resize-none {
|
|
32
|
+
resize: none;
|
|
33
|
+
}
|
|
34
|
+
.dui\:flex-col {
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
}
|
|
37
|
+
.dui\:items-center {
|
|
38
|
+
align-items: center;
|
|
39
|
+
}
|
|
40
|
+
.dui\:justify-center {
|
|
41
|
+
justify-content: center;
|
|
42
|
+
}
|
|
43
|
+
.dui\:gap-1 {
|
|
44
|
+
gap: var(--dui-spacing);
|
|
45
|
+
}
|
|
46
|
+
.dui\:rounded-md {
|
|
47
|
+
border-radius: calc(var(--dui-radius) - 2px);
|
|
48
|
+
}
|
|
49
|
+
.dui\:border {
|
|
50
|
+
border-style: var(--tw-border-style);
|
|
51
|
+
border-width: 1px;
|
|
52
|
+
}
|
|
53
|
+
.dui\:border-input {
|
|
54
|
+
border-color: var(--dui-input);
|
|
55
|
+
}
|
|
56
|
+
.dui\:bg-transparent {
|
|
57
|
+
background-color: transparent;
|
|
58
|
+
}
|
|
59
|
+
.dui\:px-2 {
|
|
60
|
+
padding-inline: calc(var(--dui-spacing) * 2);
|
|
61
|
+
}
|
|
62
|
+
.dui\:px-3 {
|
|
63
|
+
padding-inline: calc(var(--dui-spacing) * 3);
|
|
64
|
+
}
|
|
65
|
+
.dui\:py-1\.5 {
|
|
66
|
+
padding-block: calc(var(--dui-spacing) * 1.5);
|
|
67
|
+
}
|
|
68
|
+
.dui\:text-sm {
|
|
69
|
+
font-size: var(--dui-text-sm);
|
|
70
|
+
line-height: var(--tw-leading, var(--dui-text-sm--line-height));
|
|
71
|
+
}
|
|
72
|
+
.dui\:text-xs {
|
|
73
|
+
font-size: var(--dui-text-xs);
|
|
74
|
+
line-height: var(--tw-leading, var(--dui-text-xs--line-height));
|
|
75
|
+
}
|
|
76
|
+
.dui\:font-semibold {
|
|
77
|
+
--tw-font-weight: var(--dui-font-weight-semibold);
|
|
78
|
+
font-weight: var(--dui-font-weight-semibold);
|
|
79
|
+
}
|
|
80
|
+
.dui\:shadow-sm {
|
|
81
|
+
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
82
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
83
|
+
}
|
|
84
|
+
.dui\:outline-none {
|
|
85
|
+
--tw-outline-style: none;
|
|
86
|
+
outline-style: none;
|
|
87
|
+
}
|
|
88
|
+
@media (hover: hover) {
|
|
89
|
+
.dui\:hover\:bg-accent:hover {
|
|
90
|
+
background-color: var(--dui-accent);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
.dui\:focus-visible\:ring-2:focus-visible {
|
|
94
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
95
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
96
|
+
}
|
|
97
|
+
.dui\:focus-visible\:ring-ring:focus-visible {
|
|
98
|
+
--tw-ring-color: var(--dui-ring);
|
|
99
|
+
}
|
|
100
|
+
@property --tw-border-style {
|
|
101
|
+
syntax: "*";
|
|
102
|
+
inherits: false;
|
|
103
|
+
initial-value: solid;
|
|
104
|
+
}
|
|
105
|
+
@property --tw-font-weight {
|
|
106
|
+
syntax: "*";
|
|
107
|
+
inherits: false;
|
|
108
|
+
}
|
|
109
|
+
@property --tw-shadow {
|
|
110
|
+
syntax: "*";
|
|
111
|
+
inherits: false;
|
|
112
|
+
initial-value: 0 0 #0000;
|
|
113
|
+
}
|
|
114
|
+
@property --tw-shadow-color {
|
|
115
|
+
syntax: "*";
|
|
116
|
+
inherits: false;
|
|
117
|
+
}
|
|
118
|
+
@property --tw-shadow-alpha {
|
|
119
|
+
syntax: "<percentage>";
|
|
120
|
+
inherits: false;
|
|
121
|
+
initial-value: 100%;
|
|
122
|
+
}
|
|
123
|
+
@property --tw-inset-shadow {
|
|
124
|
+
syntax: "*";
|
|
125
|
+
inherits: false;
|
|
126
|
+
initial-value: 0 0 #0000;
|
|
127
|
+
}
|
|
128
|
+
@property --tw-inset-shadow-color {
|
|
129
|
+
syntax: "*";
|
|
130
|
+
inherits: false;
|
|
131
|
+
}
|
|
132
|
+
@property --tw-inset-shadow-alpha {
|
|
133
|
+
syntax: "<percentage>";
|
|
134
|
+
inherits: false;
|
|
135
|
+
initial-value: 100%;
|
|
136
|
+
}
|
|
137
|
+
@property --tw-ring-color {
|
|
138
|
+
syntax: "*";
|
|
139
|
+
inherits: false;
|
|
140
|
+
}
|
|
141
|
+
@property --tw-ring-shadow {
|
|
142
|
+
syntax: "*";
|
|
143
|
+
inherits: false;
|
|
144
|
+
initial-value: 0 0 #0000;
|
|
145
|
+
}
|
|
146
|
+
@property --tw-inset-ring-color {
|
|
147
|
+
syntax: "*";
|
|
148
|
+
inherits: false;
|
|
149
|
+
}
|
|
150
|
+
@property --tw-inset-ring-shadow {
|
|
151
|
+
syntax: "*";
|
|
152
|
+
inherits: false;
|
|
153
|
+
initial-value: 0 0 #0000;
|
|
154
|
+
}
|
|
155
|
+
@property --tw-ring-inset {
|
|
156
|
+
syntax: "*";
|
|
157
|
+
inherits: false;
|
|
158
|
+
}
|
|
159
|
+
@property --tw-ring-offset-width {
|
|
160
|
+
syntax: "<length>";
|
|
161
|
+
inherits: false;
|
|
162
|
+
initial-value: 0px;
|
|
163
|
+
}
|
|
164
|
+
@property --tw-ring-offset-color {
|
|
165
|
+
syntax: "*";
|
|
166
|
+
inherits: false;
|
|
167
|
+
initial-value: #fff;
|
|
168
|
+
}
|
|
169
|
+
@property --tw-ring-offset-shadow {
|
|
170
|
+
syntax: "*";
|
|
171
|
+
inherits: false;
|
|
172
|
+
initial-value: 0 0 #0000;
|
|
173
|
+
}
|
|
174
|
+
@layer properties {
|
|
175
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
176
|
+
*, ::before, ::after, ::backdrop {
|
|
177
|
+
--tw-border-style: solid;
|
|
178
|
+
--tw-font-weight: initial;
|
|
179
|
+
--tw-shadow: 0 0 #0000;
|
|
180
|
+
--tw-shadow-color: initial;
|
|
181
|
+
--tw-shadow-alpha: 100%;
|
|
182
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
183
|
+
--tw-inset-shadow-color: initial;
|
|
184
|
+
--tw-inset-shadow-alpha: 100%;
|
|
185
|
+
--tw-ring-color: initial;
|
|
186
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
187
|
+
--tw-inset-ring-color: initial;
|
|
188
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
189
|
+
--tw-ring-inset: initial;
|
|
190
|
+
--tw-ring-offset-width: 0px;
|
|
191
|
+
--tw-ring-offset-color: #fff;
|
|
192
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
package/css/inline.css
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* GENERATED by scripts/buildCss.mjs — do not edit. Source: src/components/inline.tsx */
|
|
2
|
+
|
|
3
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
4
|
+
@layer properties;
|
|
5
|
+
.dui-root {
|
|
6
|
+
--dui-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
|
7
|
+
monospace;
|
|
8
|
+
--dui-spacing: 0.25rem;
|
|
9
|
+
--dui-font-weight-semibold: 600;
|
|
10
|
+
}
|
|
11
|
+
.dui\:rounded {
|
|
12
|
+
border-radius: 0.25rem;
|
|
13
|
+
}
|
|
14
|
+
.dui\:bg-muted {
|
|
15
|
+
background-color: var(--dui-muted);
|
|
16
|
+
}
|
|
17
|
+
.dui\:px-1 {
|
|
18
|
+
padding-inline: var(--dui-spacing);
|
|
19
|
+
}
|
|
20
|
+
.dui\:font-mono {
|
|
21
|
+
font-family: var(--dui-font-mono);
|
|
22
|
+
}
|
|
23
|
+
.dui\:text-\[0\.9em\] {
|
|
24
|
+
font-size: 0.9em;
|
|
25
|
+
}
|
|
26
|
+
.dui\:font-semibold {
|
|
27
|
+
--tw-font-weight: var(--dui-font-weight-semibold);
|
|
28
|
+
font-weight: var(--dui-font-weight-semibold);
|
|
29
|
+
}
|
|
30
|
+
.dui\:underline {
|
|
31
|
+
text-decoration-line: underline;
|
|
32
|
+
}
|
|
33
|
+
.dui\:underline-offset-2 {
|
|
34
|
+
text-underline-offset: 2px;
|
|
35
|
+
}
|
|
36
|
+
@property --tw-font-weight {
|
|
37
|
+
syntax: "*";
|
|
38
|
+
inherits: false;
|
|
39
|
+
}
|
|
40
|
+
@layer properties {
|
|
41
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
42
|
+
*, ::before, ::after, ::backdrop {
|
|
43
|
+
--tw-font-weight: initial;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
package/css/input.css
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/* GENERATED by scripts/buildCss.mjs — do not edit. Source: src/components/input.tsx */
|
|
2
|
+
|
|
3
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
4
|
+
@layer properties;
|
|
5
|
+
.dui-root {
|
|
6
|
+
--dui-spacing: 0.25rem;
|
|
7
|
+
--dui-text-sm: 0.875rem;
|
|
8
|
+
--dui-text-sm--line-height: calc(1.25 / 0.875);
|
|
9
|
+
--dui-default-transition-duration: 150ms;
|
|
10
|
+
--dui-default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
11
|
+
}
|
|
12
|
+
.dui\:flex {
|
|
13
|
+
display: flex;
|
|
14
|
+
}
|
|
15
|
+
.dui\:h-9 {
|
|
16
|
+
height: calc(var(--dui-spacing) * 9);
|
|
17
|
+
}
|
|
18
|
+
.dui\:w-full {
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
.dui\:rounded-md {
|
|
22
|
+
border-radius: calc(var(--dui-radius) - 2px);
|
|
23
|
+
}
|
|
24
|
+
.dui\:border {
|
|
25
|
+
border-style: var(--tw-border-style);
|
|
26
|
+
border-width: 1px;
|
|
27
|
+
}
|
|
28
|
+
.dui\:border-input {
|
|
29
|
+
border-color: var(--dui-input);
|
|
30
|
+
}
|
|
31
|
+
.dui\:bg-transparent {
|
|
32
|
+
background-color: transparent;
|
|
33
|
+
}
|
|
34
|
+
.dui\:px-3 {
|
|
35
|
+
padding-inline: calc(var(--dui-spacing) * 3);
|
|
36
|
+
}
|
|
37
|
+
.dui\:py-1 {
|
|
38
|
+
padding-block: var(--dui-spacing);
|
|
39
|
+
}
|
|
40
|
+
.dui\:text-sm {
|
|
41
|
+
font-size: var(--dui-text-sm);
|
|
42
|
+
line-height: var(--tw-leading, var(--dui-text-sm--line-height));
|
|
43
|
+
}
|
|
44
|
+
.dui\:shadow-sm {
|
|
45
|
+
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
46
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
47
|
+
}
|
|
48
|
+
.dui\:transition-colors {
|
|
49
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
50
|
+
transition-timing-function: var(--tw-ease, var(--dui-default-transition-timing-function));
|
|
51
|
+
transition-duration: var(--tw-duration, var(--dui-default-transition-duration));
|
|
52
|
+
}
|
|
53
|
+
.dui\:outline-none {
|
|
54
|
+
--tw-outline-style: none;
|
|
55
|
+
outline-style: none;
|
|
56
|
+
}
|
|
57
|
+
.dui\:placeholder\:text-muted-foreground::placeholder {
|
|
58
|
+
color: var(--dui-muted-foreground);
|
|
59
|
+
}
|
|
60
|
+
.dui\:focus-visible\:ring-2:focus-visible {
|
|
61
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
62
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
63
|
+
}
|
|
64
|
+
.dui\:focus-visible\:ring-ring:focus-visible {
|
|
65
|
+
--tw-ring-color: var(--dui-ring);
|
|
66
|
+
}
|
|
67
|
+
.dui\:disabled\:cursor-not-allowed:disabled {
|
|
68
|
+
cursor: not-allowed;
|
|
69
|
+
}
|
|
70
|
+
.dui\:disabled\:opacity-50:disabled {
|
|
71
|
+
opacity: 50%;
|
|
72
|
+
}
|
|
73
|
+
@property --tw-border-style {
|
|
74
|
+
syntax: "*";
|
|
75
|
+
inherits: false;
|
|
76
|
+
initial-value: solid;
|
|
77
|
+
}
|
|
78
|
+
@property --tw-shadow {
|
|
79
|
+
syntax: "*";
|
|
80
|
+
inherits: false;
|
|
81
|
+
initial-value: 0 0 #0000;
|
|
82
|
+
}
|
|
83
|
+
@property --tw-shadow-color {
|
|
84
|
+
syntax: "*";
|
|
85
|
+
inherits: false;
|
|
86
|
+
}
|
|
87
|
+
@property --tw-shadow-alpha {
|
|
88
|
+
syntax: "<percentage>";
|
|
89
|
+
inherits: false;
|
|
90
|
+
initial-value: 100%;
|
|
91
|
+
}
|
|
92
|
+
@property --tw-inset-shadow {
|
|
93
|
+
syntax: "*";
|
|
94
|
+
inherits: false;
|
|
95
|
+
initial-value: 0 0 #0000;
|
|
96
|
+
}
|
|
97
|
+
@property --tw-inset-shadow-color {
|
|
98
|
+
syntax: "*";
|
|
99
|
+
inherits: false;
|
|
100
|
+
}
|
|
101
|
+
@property --tw-inset-shadow-alpha {
|
|
102
|
+
syntax: "<percentage>";
|
|
103
|
+
inherits: false;
|
|
104
|
+
initial-value: 100%;
|
|
105
|
+
}
|
|
106
|
+
@property --tw-ring-color {
|
|
107
|
+
syntax: "*";
|
|
108
|
+
inherits: false;
|
|
109
|
+
}
|
|
110
|
+
@property --tw-ring-shadow {
|
|
111
|
+
syntax: "*";
|
|
112
|
+
inherits: false;
|
|
113
|
+
initial-value: 0 0 #0000;
|
|
114
|
+
}
|
|
115
|
+
@property --tw-inset-ring-color {
|
|
116
|
+
syntax: "*";
|
|
117
|
+
inherits: false;
|
|
118
|
+
}
|
|
119
|
+
@property --tw-inset-ring-shadow {
|
|
120
|
+
syntax: "*";
|
|
121
|
+
inherits: false;
|
|
122
|
+
initial-value: 0 0 #0000;
|
|
123
|
+
}
|
|
124
|
+
@property --tw-ring-inset {
|
|
125
|
+
syntax: "*";
|
|
126
|
+
inherits: false;
|
|
127
|
+
}
|
|
128
|
+
@property --tw-ring-offset-width {
|
|
129
|
+
syntax: "<length>";
|
|
130
|
+
inherits: false;
|
|
131
|
+
initial-value: 0px;
|
|
132
|
+
}
|
|
133
|
+
@property --tw-ring-offset-color {
|
|
134
|
+
syntax: "*";
|
|
135
|
+
inherits: false;
|
|
136
|
+
initial-value: #fff;
|
|
137
|
+
}
|
|
138
|
+
@property --tw-ring-offset-shadow {
|
|
139
|
+
syntax: "*";
|
|
140
|
+
inherits: false;
|
|
141
|
+
initial-value: 0 0 #0000;
|
|
142
|
+
}
|
|
143
|
+
@layer properties {
|
|
144
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
145
|
+
*, ::before, ::after, ::backdrop {
|
|
146
|
+
--tw-border-style: solid;
|
|
147
|
+
--tw-shadow: 0 0 #0000;
|
|
148
|
+
--tw-shadow-color: initial;
|
|
149
|
+
--tw-shadow-alpha: 100%;
|
|
150
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
151
|
+
--tw-inset-shadow-color: initial;
|
|
152
|
+
--tw-inset-shadow-alpha: 100%;
|
|
153
|
+
--tw-ring-color: initial;
|
|
154
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
155
|
+
--tw-inset-ring-color: initial;
|
|
156
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
157
|
+
--tw-ring-inset: initial;
|
|
158
|
+
--tw-ring-offset-width: 0px;
|
|
159
|
+
--tw-ring-offset-color: #fff;
|
|
160
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
package/css/stack.css
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* GENERATED by scripts/buildCss.mjs — do not edit. Source: src/components/stack.tsx */
|
|
2
|
+
|
|
3
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
4
|
+
.dui-root {
|
|
5
|
+
--dui-spacing: 0.25rem;
|
|
6
|
+
}
|
|
7
|
+
.dui\:flex {
|
|
8
|
+
display: flex;
|
|
9
|
+
}
|
|
10
|
+
.dui\:flex-col {
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
}
|
|
13
|
+
.dui\:flex-row {
|
|
14
|
+
flex-direction: row;
|
|
15
|
+
}
|
|
16
|
+
.dui\:items-center {
|
|
17
|
+
align-items: center;
|
|
18
|
+
}
|
|
19
|
+
.dui\:items-end {
|
|
20
|
+
align-items: flex-end;
|
|
21
|
+
}
|
|
22
|
+
.dui\:items-start {
|
|
23
|
+
align-items: flex-start;
|
|
24
|
+
}
|
|
25
|
+
.dui\:items-stretch {
|
|
26
|
+
align-items: stretch;
|
|
27
|
+
}
|
|
28
|
+
.dui\:gap-0 {
|
|
29
|
+
gap: 0px;
|
|
30
|
+
}
|
|
31
|
+
.dui\:gap-2 {
|
|
32
|
+
gap: calc(var(--dui-spacing) * 2);
|
|
33
|
+
}
|
|
34
|
+
.dui\:gap-4 {
|
|
35
|
+
gap: calc(var(--dui-spacing) * 4);
|
|
36
|
+
}
|
|
37
|
+
.dui\:gap-6 {
|
|
38
|
+
gap: calc(var(--dui-spacing) * 6);
|
|
39
|
+
}
|
package/css/styler.css
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/* GENERATED by scripts/buildCss.mjs — do not edit. Source: src/components/styler.tsx */
|
|
2
|
+
|
|
3
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
4
|
+
@layer properties;
|
|
5
|
+
.dui-root {
|
|
6
|
+
--dui-spacing: 0.25rem;
|
|
7
|
+
--dui-text-xs: 0.75rem;
|
|
8
|
+
--dui-text-xs--line-height: calc(1 / 0.75);
|
|
9
|
+
--dui-text-sm: 0.875rem;
|
|
10
|
+
--dui-text-sm--line-height: calc(1.25 / 0.875);
|
|
11
|
+
--dui-font-weight-medium: 500;
|
|
12
|
+
}
|
|
13
|
+
.dui\:flex {
|
|
14
|
+
display: flex;
|
|
15
|
+
}
|
|
16
|
+
.dui\:grid {
|
|
17
|
+
display: grid;
|
|
18
|
+
}
|
|
19
|
+
.dui\:h-7 {
|
|
20
|
+
height: calc(var(--dui-spacing) * 7);
|
|
21
|
+
}
|
|
22
|
+
.dui\:h-8 {
|
|
23
|
+
height: calc(var(--dui-spacing) * 8);
|
|
24
|
+
}
|
|
25
|
+
.dui\:w-8 {
|
|
26
|
+
width: calc(var(--dui-spacing) * 8);
|
|
27
|
+
}
|
|
28
|
+
.dui\:w-9 {
|
|
29
|
+
width: calc(var(--dui-spacing) * 9);
|
|
30
|
+
}
|
|
31
|
+
.dui\:w-full {
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
.dui\:min-w-0 {
|
|
35
|
+
min-width: 0px;
|
|
36
|
+
}
|
|
37
|
+
.dui\:shrink-0 {
|
|
38
|
+
flex-shrink: 0;
|
|
39
|
+
}
|
|
40
|
+
.dui\:cursor-pointer {
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
}
|
|
43
|
+
.dui\:grid-cols-\[96px_1fr_auto\] {
|
|
44
|
+
grid-template-columns: 96px 1fr auto;
|
|
45
|
+
}
|
|
46
|
+
.dui\:flex-col {
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
}
|
|
49
|
+
.dui\:flex-wrap {
|
|
50
|
+
flex-wrap: wrap;
|
|
51
|
+
}
|
|
52
|
+
.dui\:items-center {
|
|
53
|
+
align-items: center;
|
|
54
|
+
}
|
|
55
|
+
.dui\:gap-1 {
|
|
56
|
+
gap: var(--dui-spacing);
|
|
57
|
+
}
|
|
58
|
+
.dui\:gap-2 {
|
|
59
|
+
gap: calc(var(--dui-spacing) * 2);
|
|
60
|
+
}
|
|
61
|
+
.dui\:truncate {
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
text-overflow: ellipsis;
|
|
64
|
+
white-space: nowrap;
|
|
65
|
+
}
|
|
66
|
+
.dui\:rounded-md {
|
|
67
|
+
border-radius: calc(var(--dui-radius) - 2px);
|
|
68
|
+
}
|
|
69
|
+
.dui\:border {
|
|
70
|
+
border-style: var(--tw-border-style);
|
|
71
|
+
border-width: 1px;
|
|
72
|
+
}
|
|
73
|
+
.dui\:border-dashed {
|
|
74
|
+
--tw-border-style: dashed;
|
|
75
|
+
border-style: dashed;
|
|
76
|
+
}
|
|
77
|
+
.dui\:border-input {
|
|
78
|
+
border-color: var(--dui-input);
|
|
79
|
+
}
|
|
80
|
+
.dui\:bg-foreground {
|
|
81
|
+
background-color: var(--dui-foreground);
|
|
82
|
+
}
|
|
83
|
+
.dui\:bg-transparent {
|
|
84
|
+
background-color: transparent;
|
|
85
|
+
}
|
|
86
|
+
.dui\:p-0\.5 {
|
|
87
|
+
padding: calc(var(--dui-spacing) * 0.5);
|
|
88
|
+
}
|
|
89
|
+
.dui\:px-1 {
|
|
90
|
+
padding-inline: var(--dui-spacing);
|
|
91
|
+
}
|
|
92
|
+
.dui\:px-2 {
|
|
93
|
+
padding-inline: calc(var(--dui-spacing) * 2);
|
|
94
|
+
}
|
|
95
|
+
.dui\:text-sm {
|
|
96
|
+
font-size: var(--dui-text-sm);
|
|
97
|
+
line-height: var(--tw-leading, var(--dui-text-sm--line-height));
|
|
98
|
+
}
|
|
99
|
+
.dui\:text-xs {
|
|
100
|
+
font-size: var(--dui-text-xs);
|
|
101
|
+
line-height: var(--tw-leading, var(--dui-text-xs--line-height));
|
|
102
|
+
}
|
|
103
|
+
.dui\:font-medium {
|
|
104
|
+
--tw-font-weight: var(--dui-font-weight-medium);
|
|
105
|
+
font-weight: var(--dui-font-weight-medium);
|
|
106
|
+
}
|
|
107
|
+
.dui\:text-background {
|
|
108
|
+
color: var(--dui-background);
|
|
109
|
+
}
|
|
110
|
+
.dui\:text-muted-foreground {
|
|
111
|
+
color: var(--dui-muted-foreground);
|
|
112
|
+
}
|
|
113
|
+
@media (hover: hover) {
|
|
114
|
+
.dui\:hover\:bg-accent:hover {
|
|
115
|
+
background-color: var(--dui-accent);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
@property --tw-border-style {
|
|
119
|
+
syntax: "*";
|
|
120
|
+
inherits: false;
|
|
121
|
+
initial-value: solid;
|
|
122
|
+
}
|
|
123
|
+
@property --tw-font-weight {
|
|
124
|
+
syntax: "*";
|
|
125
|
+
inherits: false;
|
|
126
|
+
}
|
|
127
|
+
@layer properties {
|
|
128
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
129
|
+
*, ::before, ::after, ::backdrop {
|
|
130
|
+
--tw-border-style: solid;
|
|
131
|
+
--tw-font-weight: initial;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|