@aortl/admin-css 0.16.0 → 0.16.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.
- package/CHANGELOG.md +54 -0
- package/dist/admin.css +25 -4
- package/dist/admin.min.css +1 -1
- package/dist/admin.scoped.css +25 -4
- package/dist/admin.scoped.min.css +18 -15
- package/package.json +3 -2
- package/src/components/accordion.css +7 -10
- package/src/components/alert.css +6 -21
- package/src/components/app-shell.css +2 -4
- package/src/components/badge.css +1 -5
- package/src/components/breadcrumbs.css +3 -8
- package/src/components/button-group.css +7 -19
- package/src/components/button.css +7 -23
- package/src/components/card.css +13 -20
- package/src/components/chart.css +26 -83
- package/src/components/checkbox.css +5 -7
- package/src/components/code-block.css +2 -4
- package/src/components/container.css +3 -7
- package/src/components/dialog.css +13 -13
- package/src/components/field.css +4 -4
- package/src/components/footer.css +2 -3
- package/src/components/indicator.css +9 -28
- package/src/components/input-group.css +3 -6
- package/src/components/input.css +2 -5
- package/src/components/kbd.css +7 -13
- package/src/components/link.css +3 -5
- package/src/components/menu.css +11 -21
- package/src/components/navbar.css +3 -7
- package/src/components/pagination.css +1 -4
- package/src/components/progress.css +3 -7
- package/src/components/property-list.css +5 -14
- package/src/components/prose.css +7 -21
- package/src/components/radio.css +5 -5
- package/src/components/select.css +6 -9
- package/src/components/sidebar.css +2 -7
- package/src/components/spinner.css +1 -4
- package/src/components/stat-card.css +5 -16
- package/src/components/switch.css +5 -3
- package/src/components/table.css +20 -30
- package/src/components/tabs.css +14 -32
- package/src/components/textarea.css +3 -7
- package/src/components/tooltip.css +6 -16
- package/src/fonts.css +8 -28
- package/src/theme.css +32 -100
- package/src/utilities.css +11 -37
package/src/utilities.css
CHANGED
|
@@ -6,30 +6,17 @@
|
|
|
6
6
|
@import "tailwindcss/utilities.css" layer(utilities);
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
* Pre-built utility safelist for the no-build `admin.utilities.css` bundle
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* primitives. Each `@source inline(...)` is a brace-expanded class set;
|
|
14
|
-
* Tailwind expands the same way bash does (empty branches `{,foo}`
|
|
15
|
-
* include both the no-prefix and prefixed forms).
|
|
16
|
-
*
|
|
17
|
-
* Variant policy per family:
|
|
18
|
-
* - Layout (display, spacing, sizing, grid, ...) → responsive only
|
|
19
|
-
* - Visual (colors, borders, shadow, outline) → interactive only
|
|
20
|
-
* - Typography (weight, leading, ...) → neither
|
|
21
|
-
*
|
|
22
|
-
* Adding a utility: extend the matching line. Adding a new semantic
|
|
23
|
-
* color: update theme.css AND the color lines below.
|
|
9
|
+
* Pre-built utility safelist for the no-build `admin.utilities.css` bundle,
|
|
10
|
+
* curated for wire size. Variant policy: layout families get responsive
|
|
11
|
+
* variants only, visual families interactive only, typography neither.
|
|
12
|
+
* A new semantic color must be added to theme.css AND the color lines below.
|
|
24
13
|
*/
|
|
25
14
|
|
|
26
|
-
/* Display, position, visibility — responsive */
|
|
27
15
|
@source inline(
|
|
28
16
|
"{,sm:,md:,lg:,xl:,2xl:}{block,inline-block,inline,flex,inline-flex,grid,inline-grid,contents,table,inline-table,table-row,table-cell,hidden,flow-root,list-item,static,fixed,absolute,relative,sticky,visible,invisible,collapse,sr-only,not-sr-only}"
|
|
29
17
|
);
|
|
30
18
|
@source inline("{,sm:,md:,lg:,xl:,2xl:}overflow{,-x,-y}-{auto,hidden,visible,scroll,clip}");
|
|
31
19
|
|
|
32
|
-
/* Flex / grid — responsive */
|
|
33
20
|
@source inline(
|
|
34
21
|
"{,sm:,md:,lg:,xl:,2xl:}flex-{row,row-reverse,col,col-reverse,wrap,wrap-reverse,nowrap,1,auto,initial,none}"
|
|
35
22
|
);
|
|
@@ -60,38 +47,32 @@
|
|
|
60
47
|
@source inline("{,sm:,md:,lg:,xl:,2xl:}{auto-cols,auto-rows}-{auto,min,max,fr}");
|
|
61
48
|
@source inline("{,sm:,md:,lg:,xl:,2xl:}order-{1,2,3,4,5,6,7,8,9,10,11,12,first,last,none}");
|
|
62
49
|
|
|
63
|
-
/* Spacing (padding, margin, gap) — responsive */
|
|
64
50
|
@source inline(
|
|
65
51
|
"{,sm:,md:,lg:,xl:,2xl:}{p,px,py,pt,pr,pb,pl,ps,pe,m,mx,my,mt,mr,mb,ml,ms,me,gap,gap-x,gap-y}-{0,0.5,1,1.5,2,3,4,6,8,12,16,20,24,32}"
|
|
66
52
|
);
|
|
67
53
|
@source inline("{,sm:,md:,lg:,xl:,2xl:}{m,mx,my,mt,mr,mb,ml,ms,me}-auto");
|
|
68
54
|
|
|
69
|
-
/* Sizing (w, h, min-w, max-w, min-h, max-h) — responsive */
|
|
70
55
|
@source inline(
|
|
71
56
|
"{,sm:,md:,lg:,xl:,2xl:}{w,h,min-w,max-w,min-h,max-h}-{0,0.5,1,1.5,2,3,4,6,8,12,16,20,24,32,px,auto,full,screen,fit,min,max}"
|
|
72
57
|
);
|
|
73
58
|
@source inline("{,sm:,md:,lg:,xl:,2xl:}{w,h}-{1/2,1/3,2/3,1/4,2/4,3/4}");
|
|
74
59
|
@source inline("{,sm:,md:,lg:,xl:,2xl:}max-w-{xs,sm,md,lg,xl,2xl,3xl,4xl,5xl,6xl,7xl,prose,none}");
|
|
75
60
|
|
|
76
|
-
/* Text size + align — responsive */
|
|
77
61
|
@source inline("{,sm:,md:,lg:,xl:,2xl:}text-{xs,sm,base,lg,xl,2xl}");
|
|
78
62
|
@source inline("{,sm:,md:,lg:,xl:,2xl:}text-{left,center,right,justify,start,end}");
|
|
79
63
|
|
|
80
|
-
/* Aspect ratio — responsive */
|
|
81
64
|
@source inline("{,sm:,md:,lg:,xl:,2xl:}aspect-{auto,square,video}");
|
|
82
65
|
|
|
83
|
-
/* Object fit + position (avatars, thumbnails, logos) — responsive */
|
|
84
66
|
@source inline("{,sm:,md:,lg:,xl:,2xl:}object-{contain,cover,fill,none,scale-down}");
|
|
85
67
|
@source inline(
|
|
86
68
|
"{,sm:,md:,lg:,xl:,2xl:}object-{top,bottom,left,right,center,left-top,left-bottom,right-top,right-bottom}"
|
|
87
69
|
);
|
|
88
70
|
|
|
89
|
-
/* Translate
|
|
71
|
+
/* Translate x/y only — full transforms intentionally skipped */
|
|
90
72
|
@source inline(
|
|
91
73
|
"{,sm:,md:,lg:,xl:,2xl:}translate-{x,y}-{0,0.5,1,1.5,2,3,4,6,8,12,16,20,24,32,1/2,full}"
|
|
92
74
|
);
|
|
93
75
|
|
|
94
|
-
/* Typography (non-size) — no variants */
|
|
95
76
|
@source inline("font-{thin,extralight,light,normal,medium,semibold,bold,extrabold,black}");
|
|
96
77
|
@source inline("font-{sans,mono,serif}");
|
|
97
78
|
@source inline("{italic,not-italic}");
|
|
@@ -108,7 +89,6 @@
|
|
|
108
89
|
@source inline("list-{disc,decimal,none,inside,outside}");
|
|
109
90
|
@source inline("{underline,overline,line-through,no-underline,truncate}");
|
|
110
91
|
|
|
111
|
-
/* Borders + rounded — interactive */
|
|
112
92
|
@source inline(
|
|
113
93
|
"{,hover:,focus:,focus-visible:,active:}border{,-x,-y,-t,-r,-b,-l}{,-0,-2,-4,-8}"
|
|
114
94
|
);
|
|
@@ -119,15 +99,13 @@
|
|
|
119
99
|
"{,hover:,focus:,focus-visible:,active:}rounded{,-t,-r,-b,-l,-tl,-tr,-br,-bl}{,-none,-sm,-md,-lg,-xl,-2xl,-3xl,-full}"
|
|
120
100
|
);
|
|
121
101
|
|
|
122
|
-
/* Divide —
|
|
123
|
-
|
|
124
|
-
the two foundation borders only. */
|
|
102
|
+
/* Divide gets no variants — structural separators don't change on hover or
|
|
103
|
+
at a breakpoint */
|
|
125
104
|
@source inline("divide-{x,y}{,-0,-2,-4,-8}");
|
|
126
105
|
@source inline("divide-{x,y}-reverse");
|
|
127
106
|
@source inline("divide-{solid,dashed,dotted,double,none}");
|
|
128
107
|
@source inline("divide-{border,border-strong}");
|
|
129
108
|
|
|
130
|
-
/* Outline + ring — interactive */
|
|
131
109
|
@source inline("{,hover:,focus:,focus-visible:,active:}outline{,-0,-1,-2,-4,-8}");
|
|
132
110
|
@source inline(
|
|
133
111
|
"{,hover:,focus:,focus-visible:,active:}outline-{none,dashed,dotted,double,hidden}"
|
|
@@ -136,27 +114,25 @@
|
|
|
136
114
|
@source inline("{,hover:,focus:,focus-visible:,active:}ring{,-0,-1,-2,-4,-8}");
|
|
137
115
|
@source inline("{,hover:,focus:,focus-visible:,active:}ring-inset");
|
|
138
116
|
|
|
139
|
-
/* Shadow — interactive */
|
|
140
117
|
@source inline(
|
|
141
118
|
"{,hover:,focus:,focus-visible:,active:}shadow{,-2xs,-xs,-sm,-md,-lg,-xl,-2xl,-inner,-none}"
|
|
142
119
|
);
|
|
143
120
|
|
|
144
|
-
/* Foundation semantic colors —
|
|
121
|
+
/* Foundation semantic colors — kept in sync with theme.css */
|
|
145
122
|
@source inline(
|
|
146
123
|
"{,hover:,focus:,focus-visible:,active:}{bg,text,border,outline,ring,shadow}-{surface,surface-muted,surface-strong,text,text-muted,border,border-strong}"
|
|
147
124
|
);
|
|
148
125
|
|
|
149
|
-
/* Accent semantic colors —
|
|
126
|
+
/* Accent semantic colors — kept in sync with theme.css */
|
|
150
127
|
@source inline(
|
|
151
128
|
"{,hover:,focus:,focus-visible:,active:}{bg,text,border,outline,ring,shadow}-{primary,system-accent,danger,success,warning,info}{,-hover,-muted,-content}"
|
|
152
129
|
);
|
|
153
130
|
|
|
154
|
-
/* Link / focus —
|
|
155
|
-
|
|
131
|
+
/* Link / focus — deliberately narrower than the accents above: focus rings
|
|
132
|
+
only need `outline-focus`, links only `text-link{,-hover}` */
|
|
156
133
|
@source inline("{,focus-visible:}outline-focus");
|
|
157
134
|
@source inline("{,hover:,focus-visible:}text-link{,-hover}");
|
|
158
135
|
|
|
159
|
-
/* Cursor + opacity — interactive */
|
|
160
136
|
@source inline(
|
|
161
137
|
"{,hover:,focus:,focus-visible:,active:}cursor-{auto,default,pointer,wait,text,move,help,not-allowed,none,progress,grab,grabbing,col-resize,row-resize,zoom-in,zoom-out}"
|
|
162
138
|
);
|
|
@@ -164,9 +140,7 @@
|
|
|
164
140
|
"{,hover:,focus:,focus-visible:,active:}opacity-{0,5,10,15,20,25,30,40,50,60,70,75,80,90,95,100}"
|
|
165
141
|
);
|
|
166
142
|
|
|
167
|
-
/* Interaction primitives (select-all an ID cell, disable a layer) — no variants */
|
|
168
143
|
@source inline("pointer-events-{none,auto}");
|
|
169
144
|
@source inline("select-{none,text,all,auto}");
|
|
170
145
|
|
|
171
|
-
/* Z-index — no variants */
|
|
172
146
|
@source inline("z-{0,10,20,30,40,50,auto}");
|