@mistriwork/ui 1.0.0-rc.81 → 1.0.0-rc.82
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/dist/styles/forms.css +6 -0
- package/dist/styles/kit.css +3 -1
- package/dist/styles/screens.css +7 -0
- package/package.json +1 -1
package/dist/styles/forms.css
CHANGED
|
@@ -128,7 +128,13 @@
|
|
|
128
128
|
pointer-events: none;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
/* The words are a column: the title, then its line under it. As the row a choice's icon and words stand in (below),
|
|
132
|
+
a line of help stood beside its title, and at a phone's half-width the title wrapped to a word a line (a field
|
|
133
|
+
report). */
|
|
131
134
|
& [data-slot='choice-label'] {
|
|
135
|
+
flex-direction: column;
|
|
136
|
+
align-items: flex-start;
|
|
137
|
+
gap: var(--m-space-1);
|
|
132
138
|
font-weight: var(--m-weight-strong);
|
|
133
139
|
}
|
|
134
140
|
|
package/dist/styles/kit.css
CHANGED
|
@@ -233,7 +233,9 @@
|
|
|
233
233
|
& [data-slot='input'] {
|
|
234
234
|
flex: 1;
|
|
235
235
|
align-self: stretch;
|
|
236
|
-
|
|
236
|
+
/* The date's text is never narrower than a full date and its padding ("MM/DD/YYYY" is ten characters): a form
|
|
237
|
+
that sets a date and a time in a box as wide as its answer left "MM/D" showing (a field report). */
|
|
238
|
+
min-width: calc(10ch + var(--m-space-6));
|
|
237
239
|
height: auto;
|
|
238
240
|
/* The box's edge is the input's own where a form sizes its inputs with their edge counted in. */
|
|
239
241
|
margin-block: calc(-1 * var(--control-border-w));
|
package/dist/styles/screens.css
CHANGED
|
@@ -78,5 +78,12 @@
|
|
|
78
78
|
[data-slot='radio-group'][data-kind='cards']:not([data-fit='row'], [data-fit='pair'], [data-fit='stack'], [data-shape='pair']) {
|
|
79
79
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
|
|
80
80
|
}
|
|
81
|
+
/* A card with words to read (a line under its title, or a long one) or several of a few (a mark, an icon and their
|
|
82
|
+
words in half of 354px): one a row, the line under the title. Only a set of short labels, which the form says as
|
|
83
|
+
`data-fit='short'`, stays two across; two across left a title one word to a line (a field report). */
|
|
84
|
+
[data-slot='radio-group'][data-kind='cards']:not([data-fit='row'], [data-fit='pair'], [data-fit='short'], [data-shape='pair']),
|
|
85
|
+
[data-slot='check-cards']:not([data-fit='short']) {
|
|
86
|
+
grid-template-columns: minmax(0, 1fr);
|
|
87
|
+
}
|
|
81
88
|
}
|
|
82
89
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mistriwork/ui",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.82",
|
|
4
4
|
"description": "The standalone React primitives both shells are drawn with: Modal, DropMenu, Dropdown, Typeahead, Button, Field, Icon and DateField over UI SDK, Switch, Tabs, Drawer, Popover, Avatar, Pagination, Carousel, Resizable, ScrollArea and Tooltip, the form controls built on them (text, masked, money and sensitive boxes, listboxes, choices, slider, progress and action bar; Preview), the landing hero's blocks (badge, photo tiles, icon rows; Preview), their tokens and stylesheet, and the zoom-aware ruler their popups are placed by.",
|
|
5
5
|
"homepage": "https://mistriwork.dev",
|
|
6
6
|
"bugs": {
|