@mrpelz/uikit-ish 7.13.0 → 7.26.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/dist/components/accordion/style.css +1 -1
- package/dist/components/action-sheet/main.d.ts.map +1 -1
- package/dist/components/action-sheet/main.js +9 -6
- package/dist/components/action-sheet/main.js.map +1 -1
- package/dist/components/action-sheet/props.d.ts +2 -1
- package/dist/components/action-sheet/props.d.ts.map +1 -1
- package/dist/components/alert/main.d.ts.map +1 -1
- package/dist/components/alert/main.js +12 -4
- package/dist/components/alert/main.js.map +1 -1
- package/dist/components/alert/props.d.ts +2 -1
- package/dist/components/alert/props.d.ts.map +1 -1
- package/dist/components/alert/style.css +27 -5
- package/dist/components/button/main.js +1 -1
- package/dist/components/button/main.js.map +1 -1
- package/dist/components/button/props.d.ts +3 -2
- package/dist/components/button/props.d.ts.map +1 -1
- package/dist/components/button/style.css +6 -17
- package/dist/components/card/main.d.ts +53 -0
- package/dist/components/card/main.d.ts.map +1 -0
- package/dist/components/card/main.js +286 -0
- package/dist/components/card/main.js.map +1 -0
- package/dist/components/card/props.d.ts +83 -0
- package/dist/components/card/props.d.ts.map +1 -0
- package/dist/components/card/props.js +2 -0
- package/dist/components/card/props.js.map +1 -0
- package/dist/components/card/style.css +900 -0
- package/dist/components/collapsible/style.css +1 -1
- package/dist/components/color-picker/main.d.ts.map +1 -1
- package/dist/components/color-picker/main.js +20 -33
- package/dist/components/color-picker/main.js.map +1 -1
- package/dist/components/color-picker/style.css +4 -23
- package/dist/components/contextual-menu/main.d.ts +6 -2
- package/dist/components/contextual-menu/main.d.ts.map +1 -1
- package/dist/components/contextual-menu/main.js +67 -43
- package/dist/components/contextual-menu/main.js.map +1 -1
- package/dist/components/contextual-menu/props.d.ts +2 -1
- package/dist/components/contextual-menu/props.d.ts.map +1 -1
- package/dist/components/contextual-menu/style.css +64 -2
- package/dist/components/control-cards/main.d.ts +49 -0
- package/dist/components/control-cards/main.d.ts.map +1 -0
- package/dist/components/control-cards/main.js +835 -0
- package/dist/components/control-cards/main.js.map +1 -0
- package/dist/components/control-cards/props.d.ts +409 -0
- package/dist/components/control-cards/props.d.ts.map +1 -0
- package/dist/components/control-cards/props.js +2 -0
- package/dist/components/control-cards/props.js.map +1 -0
- package/dist/components/control-cards/style.css +492 -0
- package/dist/components/date-picker/main.d.ts.map +1 -1
- package/dist/components/date-picker/main.js +7 -3
- package/dist/components/date-picker/main.js.map +1 -1
- package/dist/components/date-picker/style.css +1 -1
- package/dist/components/drawer/style.css +6 -0
- package/dist/components/edit-menu/main.d.ts +2 -1
- package/dist/components/edit-menu/main.d.ts.map +1 -1
- package/dist/components/edit-menu/main.js +8 -4
- package/dist/components/edit-menu/main.js.map +1 -1
- package/dist/components/glass/backdrop.d.ts +75 -0
- package/dist/components/glass/backdrop.d.ts.map +1 -0
- package/dist/components/glass/backdrop.js +608 -0
- package/dist/components/glass/backdrop.js.map +1 -0
- package/dist/components/glass/gradient.d.ts +17 -0
- package/dist/components/glass/gradient.d.ts.map +1 -0
- package/dist/components/glass/gradient.js +233 -0
- package/dist/components/glass/gradient.js.map +1 -0
- package/dist/components/glass/main.d.ts +60 -6
- package/dist/components/glass/main.d.ts.map +1 -1
- package/dist/components/glass/main.js +100 -122
- package/dist/components/glass/main.js.map +1 -1
- package/dist/components/glass/marker.d.ts +66 -0
- package/dist/components/glass/marker.d.ts.map +1 -0
- package/dist/components/glass/marker.js +268 -0
- package/dist/components/glass/marker.js.map +1 -0
- package/dist/components/glass/props.d.ts +33 -7
- package/dist/components/glass/props.d.ts.map +1 -1
- package/dist/components/glass/style.css +139 -75
- package/dist/components/grid/dashes.d.ts +15 -0
- package/dist/components/grid/dashes.d.ts.map +1 -0
- package/dist/components/grid/dashes.js +37 -0
- package/dist/components/grid/dashes.js.map +1 -0
- package/dist/components/grid/edit.d.ts +11 -0
- package/dist/components/grid/edit.d.ts.map +1 -0
- package/dist/components/grid/edit.js +1066 -0
- package/dist/components/grid/edit.js.map +1 -0
- package/dist/components/grid/handle.d.ts +123 -0
- package/dist/components/grid/handle.d.ts.map +1 -0
- package/dist/components/grid/handle.js +194 -0
- package/dist/components/grid/handle.js.map +1 -0
- package/dist/components/grid/icons.d.ts +40 -0
- package/dist/components/grid/icons.d.ts.map +1 -0
- package/dist/components/grid/icons.js +140 -0
- package/dist/components/grid/icons.js.map +1 -0
- package/dist/components/grid/layout.d.ts +111 -0
- package/dist/components/grid/layout.d.ts.map +1 -0
- package/dist/components/grid/layout.js +1257 -0
- package/dist/components/grid/layout.js.map +1 -0
- package/dist/components/grid/main.d.ts +63 -0
- package/dist/components/grid/main.d.ts.map +1 -0
- package/dist/components/grid/main.js +1894 -0
- package/dist/components/grid/main.js.map +1 -0
- package/dist/components/grid/overlay.d.ts +24 -0
- package/dist/components/grid/overlay.d.ts.map +1 -0
- package/dist/components/grid/overlay.js +312 -0
- package/dist/components/grid/overlay.js.map +1 -0
- package/dist/components/grid/plan.d.ts +78 -0
- package/dist/components/grid/plan.d.ts.map +1 -0
- package/dist/components/grid/plan.js +249 -0
- package/dist/components/grid/plan.js.map +1 -0
- package/dist/components/grid/props.d.ts +509 -0
- package/dist/components/grid/props.d.ts.map +1 -0
- package/dist/components/grid/props.js +2 -0
- package/dist/components/grid/props.js.map +1 -0
- package/dist/components/grid/reshape.d.ts +60 -0
- package/dist/components/grid/reshape.d.ts.map +1 -0
- package/dist/components/grid/reshape.js +214 -0
- package/dist/components/grid/reshape.js.map +1 -0
- package/dist/components/grid/style.css +1293 -0
- package/dist/components/header/main.d.ts.map +1 -1
- package/dist/components/header/main.js +97 -10
- package/dist/components/header/main.js.map +1 -1
- package/dist/components/header/props.d.ts +2 -2
- package/dist/components/header/props.d.ts.map +1 -1
- package/dist/components/header/style.css +28 -43
- package/dist/components/index.d.ts +10 -6
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +5 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/island/main.d.ts +2 -2
- package/dist/components/island/main.d.ts.map +1 -1
- package/dist/components/island/main.js +193 -41
- package/dist/components/island/main.js.map +1 -1
- package/dist/components/island/props.d.ts +4 -2
- package/dist/components/island/props.d.ts.map +1 -1
- package/dist/components/island/style.css +50 -3
- package/dist/components/layout/main.d.ts +3 -6
- package/dist/components/layout/main.d.ts.map +1 -1
- package/dist/components/layout/main.js +225 -56
- package/dist/components/layout/main.js.map +1 -1
- package/dist/components/layout/props.d.ts +43 -2
- package/dist/components/layout/props.d.ts.map +1 -1
- package/dist/components/layout/style.css +84 -23
- package/dist/components/list/main.d.ts +3 -3
- package/dist/components/list/main.d.ts.map +1 -1
- package/dist/components/list/main.js +96 -20
- package/dist/components/list/main.js.map +1 -1
- package/dist/components/list/props.d.ts +20 -0
- package/dist/components/list/props.d.ts.map +1 -1
- package/dist/components/list/reorder.d.ts +16 -2
- package/dist/components/list/reorder.d.ts.map +1 -1
- package/dist/components/list/reorder.js.map +1 -1
- package/dist/components/list/style.css +61 -4
- package/dist/components/menu/main.d.ts +9 -5
- package/dist/components/menu/main.d.ts.map +1 -1
- package/dist/components/menu/main.js +87 -9
- package/dist/components/menu/main.js.map +1 -1
- package/dist/components/menu/props.d.ts +14 -0
- package/dist/components/menu/props.d.ts.map +1 -1
- package/dist/components/menu/style.css +3 -1
- package/dist/components/page/main.d.ts.map +1 -1
- package/dist/components/page/main.js +6 -3
- package/dist/components/page/main.js.map +1 -1
- package/dist/components/page/props.d.ts +3 -2
- package/dist/components/page/props.d.ts.map +1 -1
- package/dist/components/page/style.css +8 -4
- package/dist/components/page-control/props.d.ts +3 -3
- package/dist/components/popover/main.d.ts +10 -4
- package/dist/components/popover/main.d.ts.map +1 -1
- package/dist/components/popover/main.js +30 -19
- package/dist/components/popover/main.js.map +1 -1
- package/dist/components/popover/props.d.ts +2 -0
- package/dist/components/popover/props.d.ts.map +1 -1
- package/dist/components/popover/style.css +6 -2
- package/dist/components/progress/style.css +2 -2
- package/dist/components/roll/main.d.ts.map +1 -1
- package/dist/components/roll/main.js +5 -3
- package/dist/components/roll/main.js.map +1 -1
- package/dist/components/segmented/main.d.ts.map +1 -1
- package/dist/components/segmented/main.js +4 -4
- package/dist/components/segmented/main.js.map +1 -1
- package/dist/components/segmented/props.d.ts +5 -2
- package/dist/components/segmented/props.d.ts.map +1 -1
- package/dist/components/segmented/style.css +1 -1
- package/dist/components/settings/main.d.ts +13 -0
- package/dist/components/settings/main.d.ts.map +1 -1
- package/dist/components/settings/main.js +16 -0
- package/dist/components/settings/main.js.map +1 -1
- package/dist/components/settings/props.d.ts +1 -0
- package/dist/components/settings/props.d.ts.map +1 -1
- package/dist/components/sheet/main.d.ts.map +1 -1
- package/dist/components/sheet/main.js +156 -45
- package/dist/components/sheet/main.js.map +1 -1
- package/dist/components/sheet/props.d.ts +4 -2
- package/dist/components/sheet/props.d.ts.map +1 -1
- package/dist/components/sheet/snap.d.ts +54 -0
- package/dist/components/sheet/snap.d.ts.map +1 -1
- package/dist/components/sheet/snap.js +253 -23
- package/dist/components/sheet/snap.js.map +1 -1
- package/dist/components/sheet/style.css +126 -20
- package/dist/components/sidebar/main.d.ts +2 -1
- package/dist/components/sidebar/main.d.ts.map +1 -1
- package/dist/components/sidebar/main.js +18 -6
- package/dist/components/sidebar/main.js.map +1 -1
- package/dist/components/sidebar/props.d.ts +2 -1
- package/dist/components/sidebar/props.d.ts.map +1 -1
- package/dist/components/sidebar/style.css +78 -0
- package/dist/components/slider/main.d.ts.map +1 -1
- package/dist/components/slider/main.js +51 -9
- package/dist/components/slider/main.js.map +1 -1
- package/dist/components/slider/props.d.ts +1 -0
- package/dist/components/slider/props.d.ts.map +1 -1
- package/dist/components/slider/style.css +9 -0
- package/dist/components/switch/main.d.ts.map +1 -1
- package/dist/components/switch/main.js +4 -2
- package/dist/components/switch/main.js.map +1 -1
- package/dist/components/symbol/main.d.ts.map +1 -1
- package/dist/components/symbol/main.js +5 -1
- package/dist/components/symbol/main.js.map +1 -1
- package/dist/components/symbol/props.d.ts +10 -0
- package/dist/components/symbol/props.d.ts.map +1 -1
- package/dist/components/symbol/style.css +21 -3
- package/dist/components/tab-bar/main.d.ts.map +1 -1
- package/dist/components/tab-bar/main.js +8 -5
- package/dist/components/tab-bar/main.js.map +1 -1
- package/dist/components/tab-bar/props.d.ts +16 -12
- package/dist/components/tab-bar/props.d.ts.map +1 -1
- package/dist/components/tab-bar/style.css +3 -9
- package/dist/components/text-field/main.d.ts.map +1 -1
- package/dist/components/text-field/main.js +6 -3
- package/dist/components/text-field/main.js.map +1 -1
- package/dist/components/text-field/style.css +1 -1
- package/dist/components/toolbar/main.js +1 -1
- package/dist/components/toolbar/main.js.map +1 -1
- package/dist/components/toolbar/props.d.ts +3 -3
- package/dist/components/toolbar/style.css +1 -1
- package/dist/components/tooltip/main.d.ts +6 -1
- package/dist/components/tooltip/main.d.ts.map +1 -1
- package/dist/components/tooltip/main.js +13 -7
- package/dist/components/tooltip/main.js.map +1 -1
- package/dist/components/utils/main.d.ts +31 -2
- package/dist/components/utils/main.d.ts.map +1 -1
- package/dist/components/utils/main.js +60 -3
- package/dist/components/utils/main.js.map +1 -1
- package/dist/components/viewport/current.d.ts +15 -0
- package/dist/components/viewport/current.d.ts.map +1 -0
- package/dist/components/viewport/current.js +74 -0
- package/dist/components/viewport/current.js.map +1 -0
- package/dist/components/viewport/edge-effect.d.ts.map +1 -1
- package/dist/components/viewport/edge-effect.js +52 -24
- package/dist/components/viewport/edge-effect.js.map +1 -1
- package/dist/components/viewport/edge.d.ts +7 -4
- package/dist/components/viewport/edge.d.ts.map +1 -1
- package/dist/components/viewport/edge.js +21 -7
- package/dist/components/viewport/edge.js.map +1 -1
- package/dist/components/viewport/focus-scroll.d.ts +21 -0
- package/dist/components/viewport/focus-scroll.d.ts.map +1 -0
- package/dist/components/viewport/focus-scroll.js +272 -0
- package/dist/components/viewport/focus-scroll.js.map +1 -0
- package/dist/components/viewport/input.d.ts +39 -1
- package/dist/components/viewport/input.d.ts.map +1 -1
- package/dist/components/viewport/input.js +122 -13
- package/dist/components/viewport/input.js.map +1 -1
- package/dist/components/viewport/main.d.ts +16 -1
- package/dist/components/viewport/main.d.ts.map +1 -1
- package/dist/components/viewport/main.js +243 -49
- package/dist/components/viewport/main.js.map +1 -1
- package/dist/components/viewport/padding.d.ts +1 -1
- package/dist/components/viewport/padding.d.ts.map +1 -1
- package/dist/components/viewport/padding.js +2 -2
- package/dist/components/viewport/props.d.ts +12 -2
- package/dist/components/viewport/props.d.ts.map +1 -1
- package/dist/components/viewport/status-bar.d.ts +9 -0
- package/dist/components/viewport/status-bar.d.ts.map +1 -0
- package/dist/components/viewport/status-bar.js +131 -0
- package/dist/components/viewport/status-bar.js.map +1 -0
- package/dist/components/viewport/style.css +62 -5
- package/dist/styles.css +123 -198
- package/package.json +5 -4
package/dist/styles.css
CHANGED
|
@@ -44,6 +44,15 @@
|
|
|
44
44
|
*/
|
|
45
45
|
-webkit-font-smoothing: antialiased;
|
|
46
46
|
|
|
47
|
+
/*
|
|
48
|
+
* No text autosizing (iOS's: text in a block it deems wide made larger,
|
|
49
|
+
* and kept so; e.g. a card's list rows after the card opened wider):
|
|
50
|
+
* text sizes are the app's (its text size setting still applies).
|
|
51
|
+
*/
|
|
52
|
+
/* stylelint-disable-next-line property-no-vendor-prefix -- Safari knows only the prefixed one */
|
|
53
|
+
-webkit-text-size-adjust: 100%;
|
|
54
|
+
text-size-adjust: 100%;
|
|
55
|
+
|
|
47
56
|
/*
|
|
48
57
|
* Text styles at the default text size (Large): size, line height and
|
|
49
58
|
* tracking (see components/typography/main.tsx for all sizes), weight
|
|
@@ -105,19 +114,6 @@
|
|
|
105
114
|
--font-ui-caption2-weight: 400;
|
|
106
115
|
--font-ui-caption2-weight-emphasized: 590;
|
|
107
116
|
|
|
108
|
-
/*
|
|
109
|
-
* App tint, systemBlue unless overridden
|
|
110
|
-
*
|
|
111
|
-
* tint/shade: HSL lightness +/- 8% (Konsta UI color-utils/ios-colors.js)
|
|
112
|
-
*/
|
|
113
|
-
--color-ui-primary: var(--color-ui-system-blue);
|
|
114
|
-
--color-ui-primary-tint: hsl(
|
|
115
|
-
from var(--color-ui-primary) h s calc(l + 8)
|
|
116
|
-
);
|
|
117
|
-
--color-ui-primary-shade: hsl(
|
|
118
|
-
from var(--color-ui-primary) h s calc(l - 8)
|
|
119
|
-
);
|
|
120
|
-
|
|
121
117
|
/*
|
|
122
118
|
* Semantic colors
|
|
123
119
|
*
|
|
@@ -188,45 +184,6 @@
|
|
|
188
184
|
rgb(242 242 247),
|
|
189
185
|
rgb(44 44 46)
|
|
190
186
|
);
|
|
191
|
-
--color-ui-system-gray: light-dark(rgb(142 142 147), rgb(142 142 147));
|
|
192
|
-
--color-ui-system-gray2: light-dark(rgb(174 174 178), rgb(99 99 102));
|
|
193
|
-
--color-ui-system-gray3: light-dark(rgb(199 199 204), rgb(72 72 74));
|
|
194
|
-
--color-ui-system-gray4: light-dark(rgb(209 209 214), rgb(58 58 60));
|
|
195
|
-
--color-ui-system-gray5: light-dark(rgb(229 229 234), rgb(44 44 46));
|
|
196
|
-
--color-ui-system-gray6: light-dark(rgb(242 242 247), rgb(28 28 30));
|
|
197
|
-
--color-ui-system-red: light-dark(rgb(255 56 60), rgb(255 66 69));
|
|
198
|
-
--color-ui-system-orange: light-dark(rgb(255 141 40), rgb(255 146 48));
|
|
199
|
-
--color-ui-system-yellow: light-dark(rgb(255 204 0), rgb(255 214 0));
|
|
200
|
-
--color-ui-system-green: light-dark(rgb(52 199 89), rgb(48 209 88));
|
|
201
|
-
--color-ui-system-mint: light-dark(rgb(0 200 179), rgb(0 218 195));
|
|
202
|
-
--color-ui-system-teal: light-dark(rgb(0 195 208), rgb(0 210 224));
|
|
203
|
-
--color-ui-system-cyan: light-dark(rgb(0 192 232), rgb(60 211 254));
|
|
204
|
-
--color-ui-system-blue: light-dark(rgb(0 136 255), rgb(0 145 255));
|
|
205
|
-
--color-ui-system-indigo: light-dark(rgb(97 85 245), rgb(109 124 255));
|
|
206
|
-
--color-ui-system-purple: light-dark(rgb(203 48 224), rgb(219 52 242));
|
|
207
|
-
--color-ui-system-pink: light-dark(rgb(255 45 85), rgb(255 55 95));
|
|
208
|
-
--color-ui-system-brown: light-dark(rgb(172 127 94), rgb(183 138 102));
|
|
209
|
-
|
|
210
|
-
@media (prefers-contrast: more) {
|
|
211
|
-
--color-ui-system-gray: light-dark(rgb(108 108 112), rgb(174 174 178));
|
|
212
|
-
--color-ui-system-gray2: light-dark(rgb(142 142 147), rgb(124 124 128));
|
|
213
|
-
--color-ui-system-gray3: light-dark(rgb(174 174 178), rgb(84 84 86));
|
|
214
|
-
--color-ui-system-gray4: light-dark(rgb(188 188 192), rgb(68 68 70));
|
|
215
|
-
--color-ui-system-gray5: light-dark(rgb(216 216 220), rgb(54 54 56));
|
|
216
|
-
--color-ui-system-gray6: light-dark(rgb(235 235 240), rgb(36 36 38));
|
|
217
|
-
--color-ui-system-red: light-dark(rgb(233 21 45), rgb(255 97 101));
|
|
218
|
-
--color-ui-system-orange: light-dark(rgb(197 83 0), rgb(255 160 86));
|
|
219
|
-
--color-ui-system-yellow: light-dark(rgb(161 106 0), rgb(254 223 67));
|
|
220
|
-
--color-ui-system-green: light-dark(rgb(0 137 50), rgb(74 217 104));
|
|
221
|
-
--color-ui-system-mint: light-dark(rgb(0 133 117), rgb(84 223 203));
|
|
222
|
-
--color-ui-system-teal: light-dark(rgb(0 129 152), rgb(59 221 236));
|
|
223
|
-
--color-ui-system-cyan: light-dark(rgb(0 126 174), rgb(109 217 255));
|
|
224
|
-
--color-ui-system-blue: light-dark(rgb(30 110 244), rgb(92 184 255));
|
|
225
|
-
--color-ui-system-indigo: light-dark(rgb(86 74 222), rgb(167 170 255));
|
|
226
|
-
--color-ui-system-purple: light-dark(rgb(176 47 194), rgb(234 141 255));
|
|
227
|
-
--color-ui-system-pink: light-dark(rgb(231 18 77), rgb(255 138 196));
|
|
228
|
-
--color-ui-system-brown: light-dark(rgb(149 109 81), rgb(219 166 121));
|
|
229
|
-
}
|
|
230
187
|
|
|
231
188
|
/*
|
|
232
189
|
* Glass materials for dim and bright content behind the glass
|
|
@@ -264,9 +221,10 @@
|
|
|
264
221
|
* own, e.g. while transitioning).
|
|
265
222
|
*/
|
|
266
223
|
--glass-ui-dim-blur: rgb(255 255 255 / 5%);
|
|
267
|
-
--glass-ui-dim-fill: rgb(
|
|
268
|
-
--glass-ui-dim-fill-filter: brightness(
|
|
269
|
-
--glass-ui-dim-
|
|
224
|
+
--glass-ui-dim-fill: rgb(36 36 38 / 72%);
|
|
225
|
+
--glass-ui-dim-fill-filter: brightness(1);
|
|
226
|
+
--glass-ui-dim-fill-brightness: 1;
|
|
227
|
+
--glass-ui-dim-content: #ebebeb;
|
|
270
228
|
--glass-ui-dim-content-blend: plus-lighter;
|
|
271
229
|
--glass-ui-dim-content-disabled: #262626;
|
|
272
230
|
--glass-ui-dim-content-prominent: #fff;
|
|
@@ -298,15 +256,15 @@
|
|
|
298
256
|
*/
|
|
299
257
|
--glass-ui-panel-rim: light-dark(rgb(255 255 255), rgb(255 255 255 / 15%));
|
|
300
258
|
--glass-ui-dim-shadow:
|
|
301
|
-
inset
|
|
302
|
-
inset
|
|
303
|
-
inset
|
|
304
|
-
inset 0 0
|
|
305
|
-
|
|
306
|
-
inset 0 0 24px 0 rgb(255 255 255 / 5%), 0 0 25px 0 rgb(0 0 0 / 15%);
|
|
259
|
+
inset 1px 1px 0 -0.5px rgb(255 255 255 / 35%),
|
|
260
|
+
inset -1px -1px 0 -0.5px rgb(255 255 255 / 20%),
|
|
261
|
+
inset 0 0 0 0.5px rgb(255 255 255 / 12%),
|
|
262
|
+
inset 0 0 12px 0 rgb(255 255 255 / 5%), 0 1px 3px rgb(0 0 0 / 20%),
|
|
263
|
+
0 4px 18px rgb(0 0 0 / 20%);
|
|
307
264
|
--glass-ui-bright-blur: rgb(0 0 0 / 4%);
|
|
308
|
-
--glass-ui-bright-fill: rgb(247 247 247 /
|
|
265
|
+
--glass-ui-bright-fill: rgb(247 247 247 / 78%);
|
|
309
266
|
--glass-ui-bright-fill-filter: brightness(1.25) brightness(0.969);
|
|
267
|
+
--glass-ui-bright-fill-brightness: calc(1.25 * 0.969);
|
|
310
268
|
--glass-ui-bright-content: #404040;
|
|
311
269
|
--glass-ui-bright-content-blend: multiply;
|
|
312
270
|
--glass-ui-bright-content-disabled: #d9d9d9;
|
|
@@ -322,74 +280,10 @@
|
|
|
322
280
|
inset -3px -3px 10px -2px #eee, inset 0 0 5px 1px #fff;
|
|
323
281
|
--glass-ui-bright-shadow:
|
|
324
282
|
inset -1px -1px 0 -0.5px rgb(255 255 255),
|
|
325
|
-
inset 1px 1px 0 -0.5px rgb(255 255 255),
|
|
326
|
-
inset
|
|
327
|
-
inset 0 0
|
|
328
|
-
0
|
|
329
|
-
|
|
330
|
-
/*
|
|
331
|
-
* Glass over a background of the app's (a picture, colors; not a plain
|
|
332
|
-
* page), bright or dim (user): bright's and dim's content, lenses and
|
|
333
|
-
* selections, but floating over it: a translucent fill, a thin light rim (brighter at its top
|
|
334
|
-
* start), and a soft shadow outside, without bright's white halo or
|
|
335
|
-
* dim's dark inner bands.
|
|
336
|
-
*/
|
|
337
|
-
--glass-ui-background-bright-blur: rgb(0 0 0 / 4%);
|
|
338
|
-
--glass-ui-background-bright-fill: rgb(255 255 255 / 30%);
|
|
339
|
-
--glass-ui-background-bright-fill-filter: brightness(1.1);
|
|
340
|
-
--glass-ui-background-bright-content: var(--glass-ui-bright-content);
|
|
341
|
-
--glass-ui-background-bright-content-blend: var(
|
|
342
|
-
--glass-ui-bright-content-blend
|
|
343
|
-
);
|
|
344
|
-
--glass-ui-background-bright-content-disabled: var(
|
|
345
|
-
--glass-ui-bright-content-disabled
|
|
346
|
-
);
|
|
347
|
-
--glass-ui-background-bright-content-prominent: var(
|
|
348
|
-
--glass-ui-bright-content-prominent
|
|
349
|
-
);
|
|
350
|
-
--glass-ui-background-bright-content-prominent-blend: var(
|
|
351
|
-
--glass-ui-bright-content-prominent-blend
|
|
352
|
-
);
|
|
353
|
-
--glass-ui-background-bright-content-prominent-disabled: var(
|
|
354
|
-
--glass-ui-bright-content-prominent-disabled
|
|
355
|
-
);
|
|
356
|
-
--glass-ui-background-bright-selection: var(--glass-ui-bright-selection);
|
|
357
|
-
--glass-ui-background-bright-lens: var(--glass-ui-bright-lens);
|
|
358
|
-
--glass-ui-background-bright-lens-shadow: var(
|
|
359
|
-
--glass-ui-bright-lens-shadow
|
|
360
|
-
);
|
|
361
|
-
--glass-ui-background-bright-shadow:
|
|
362
|
-
inset 0 0 0 0.5px rgb(255 255 255 / 50%),
|
|
363
|
-
inset 1px 1px 0 -0.5px rgb(255 255 255 / 80%),
|
|
364
|
-
inset -1px -1px 0 -0.5px rgb(255 255 255 / 40%),
|
|
365
|
-
0 2px 12px rgb(0 0 0 / 12%);
|
|
366
|
-
--glass-ui-background-dim-blur: rgb(0 0 0 / 10%);
|
|
367
|
-
--glass-ui-background-dim-fill: rgb(0 0 0 / 20%);
|
|
368
|
-
--glass-ui-background-dim-fill-filter: brightness(0.8);
|
|
369
|
-
--glass-ui-background-dim-content: var(--glass-ui-dim-content);
|
|
370
|
-
--glass-ui-background-dim-content-blend: var(
|
|
371
|
-
--glass-ui-dim-content-blend
|
|
372
|
-
);
|
|
373
|
-
--glass-ui-background-dim-content-disabled: var(
|
|
374
|
-
--glass-ui-dim-content-disabled
|
|
375
|
-
);
|
|
376
|
-
--glass-ui-background-dim-content-prominent: var(
|
|
377
|
-
--glass-ui-dim-content-prominent
|
|
378
|
-
);
|
|
379
|
-
--glass-ui-background-dim-content-prominent-blend: var(
|
|
380
|
-
--glass-ui-dim-content-prominent-blend
|
|
381
|
-
);
|
|
382
|
-
--glass-ui-background-dim-content-prominent-disabled: var(
|
|
383
|
-
--glass-ui-dim-content-prominent-disabled
|
|
384
|
-
);
|
|
385
|
-
--glass-ui-background-dim-selection: var(--glass-ui-dim-selection);
|
|
386
|
-
--glass-ui-background-dim-lens: var(--glass-ui-dim-lens);
|
|
387
|
-
--glass-ui-background-dim-lens-shadow: var(--glass-ui-dim-lens-shadow);
|
|
388
|
-
--glass-ui-background-dim-shadow:
|
|
389
|
-
inset 0 0 0 0.5px rgb(255 255 255 / 25%),
|
|
390
|
-
inset 1px 1px 0 -0.5px rgb(255 255 255 / 50%),
|
|
391
|
-
inset -1px -1px 0 -0.5px rgb(255 255 255 / 20%),
|
|
392
|
-
0 2px 12px rgb(0 0 0 / 25%);
|
|
283
|
+
inset 1px 1px 0 -0.5px rgb(255 255 255),
|
|
284
|
+
inset 0 0 0 0.5px rgb(0 0 0 / 12%),
|
|
285
|
+
inset 0 0 8px 0 rgb(255 255 255 / 60%), 0 1px 3px rgb(0 0 0 / 10%),
|
|
286
|
+
0 4px 18px rgb(0 0 0 / 14%);
|
|
393
287
|
|
|
394
288
|
/*
|
|
395
289
|
* The “Medium” glass material (menus, edit menus), by color scheme, for
|
|
@@ -412,7 +306,7 @@
|
|
|
412
306
|
* would need the backdrop, which popups (positioned by a transform,
|
|
413
307
|
* animated) isolate them from.
|
|
414
308
|
*/
|
|
415
|
-
--glass-ui-medium-light-background: rgb(255 255 255 /
|
|
309
|
+
--glass-ui-medium-light-background: rgb(255 255 255 / 86%);
|
|
416
310
|
--glass-ui-medium-light-content: #333;
|
|
417
311
|
--glass-ui-medium-light-content-blend: multiply;
|
|
418
312
|
--glass-ui-medium-light-content-secondary: #999;
|
|
@@ -420,7 +314,7 @@
|
|
|
420
314
|
--glass-ui-medium-light-separator: #e6e6e6;
|
|
421
315
|
--glass-ui-medium-light-divider: #ccc;
|
|
422
316
|
--glass-ui-medium-light-selection: rgb(0 0 0 / 7%);
|
|
423
|
-
--glass-ui-medium-dark-background: rgb(
|
|
317
|
+
--glass-ui-medium-dark-background: rgb(36 36 38 / 72%);
|
|
424
318
|
--glass-ui-medium-dark-content: #fff;
|
|
425
319
|
--glass-ui-medium-dark-content-blend: plus-lighter;
|
|
426
320
|
--glass-ui-medium-dark-content-secondary: #999;
|
|
@@ -488,6 +382,103 @@
|
|
|
488
382
|
--shadow-ui-list-reorder: 0 2px 8px rgb(0 0 0 / 60%);
|
|
489
383
|
}
|
|
490
384
|
|
|
385
|
+
/*
|
|
386
|
+
* The system colors, and with more contrast (Settings' contrast): the
|
|
387
|
+
* system's on the root (its media query); within a provider or a portal
|
|
388
|
+
* overriding it (see Settings), its own (a style query on its custom
|
|
389
|
+
* property), on what's directly within it (a provider's properties are
|
|
390
|
+
* on its own element, and a style query asks the parent). The app tint
|
|
391
|
+
* too, resolved alike (see below).
|
|
392
|
+
*/
|
|
393
|
+
:where(:root, [data-uikit-settings] > *) {
|
|
394
|
+
/*
|
|
395
|
+
* App tint: an app's (`--uikit-tint`, a color, set anywhere, e.g. on
|
|
396
|
+
* :root), systemBlue without one; with more contrast, its own
|
|
397
|
+
* (`--uikit-tint-more-contrast`), if it has one (see below).
|
|
398
|
+
*
|
|
399
|
+
* tint/shade: HSL lightness +/- 8% (Konsta UI color-utils/ios-colors.js)
|
|
400
|
+
*/
|
|
401
|
+
--color-ui-primary: var(--uikit-tint, var(--color-ui-system-blue));
|
|
402
|
+
--color-ui-primary-tint: hsl(
|
|
403
|
+
from var(--color-ui-primary) h s calc(l + 8)
|
|
404
|
+
);
|
|
405
|
+
--color-ui-primary-shade: hsl(
|
|
406
|
+
from var(--color-ui-primary) h s calc(l - 8)
|
|
407
|
+
);
|
|
408
|
+
--color-ui-system-gray: light-dark(rgb(142 142 147), rgb(142 142 147));
|
|
409
|
+
--color-ui-system-gray2: light-dark(rgb(174 174 178), rgb(99 99 102));
|
|
410
|
+
--color-ui-system-gray3: light-dark(rgb(199 199 204), rgb(72 72 74));
|
|
411
|
+
--color-ui-system-gray4: light-dark(rgb(209 209 214), rgb(58 58 60));
|
|
412
|
+
--color-ui-system-gray5: light-dark(rgb(229 229 234), rgb(44 44 46));
|
|
413
|
+
--color-ui-system-gray6: light-dark(rgb(242 242 247), rgb(28 28 30));
|
|
414
|
+
--color-ui-system-red: light-dark(rgb(255 56 60), rgb(255 66 69));
|
|
415
|
+
--color-ui-system-orange: light-dark(rgb(255 141 40), rgb(255 146 48));
|
|
416
|
+
--color-ui-system-yellow: light-dark(rgb(255 204 0), rgb(255 214 0));
|
|
417
|
+
--color-ui-system-green: light-dark(rgb(52 199 89), rgb(48 209 88));
|
|
418
|
+
--color-ui-system-mint: light-dark(rgb(0 200 179), rgb(0 218 195));
|
|
419
|
+
--color-ui-system-teal: light-dark(rgb(0 195 208), rgb(0 210 224));
|
|
420
|
+
--color-ui-system-cyan: light-dark(rgb(0 192 232), rgb(60 211 254));
|
|
421
|
+
--color-ui-system-blue: light-dark(rgb(0 136 255), rgb(0 145 255));
|
|
422
|
+
--color-ui-system-indigo: light-dark(rgb(97 85 245), rgb(109 124 255));
|
|
423
|
+
--color-ui-system-purple: light-dark(rgb(203 48 224), rgb(219 52 242));
|
|
424
|
+
--color-ui-system-pink: light-dark(rgb(255 45 85), rgb(255 55 95));
|
|
425
|
+
--color-ui-system-brown: light-dark(rgb(172 127 94), rgb(183 138 102));
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
@media (prefers-contrast: more) {
|
|
429
|
+
:root {
|
|
430
|
+
--color-ui-primary: var(
|
|
431
|
+
--uikit-tint-more-contrast,
|
|
432
|
+
var(--uikit-tint, var(--color-ui-system-blue))
|
|
433
|
+
);
|
|
434
|
+
--color-ui-system-gray: light-dark(rgb(108 108 112), rgb(174 174 178));
|
|
435
|
+
--color-ui-system-gray2: light-dark(rgb(142 142 147), rgb(124 124 128));
|
|
436
|
+
--color-ui-system-gray3: light-dark(rgb(174 174 178), rgb(84 84 86));
|
|
437
|
+
--color-ui-system-gray4: light-dark(rgb(188 188 192), rgb(68 68 70));
|
|
438
|
+
--color-ui-system-gray5: light-dark(rgb(216 216 220), rgb(54 54 56));
|
|
439
|
+
--color-ui-system-gray6: light-dark(rgb(235 235 240), rgb(36 36 38));
|
|
440
|
+
--color-ui-system-red: light-dark(rgb(233 21 45), rgb(255 97 101));
|
|
441
|
+
--color-ui-system-orange: light-dark(rgb(197 83 0), rgb(255 160 86));
|
|
442
|
+
--color-ui-system-yellow: light-dark(rgb(161 106 0), rgb(254 223 67));
|
|
443
|
+
--color-ui-system-green: light-dark(rgb(0 137 50), rgb(74 217 104));
|
|
444
|
+
--color-ui-system-mint: light-dark(rgb(0 133 117), rgb(84 223 203));
|
|
445
|
+
--color-ui-system-teal: light-dark(rgb(0 129 152), rgb(59 221 236));
|
|
446
|
+
--color-ui-system-cyan: light-dark(rgb(0 126 174), rgb(109 217 255));
|
|
447
|
+
--color-ui-system-blue: light-dark(rgb(30 110 244), rgb(92 184 255));
|
|
448
|
+
--color-ui-system-indigo: light-dark(rgb(86 74 222), rgb(167 170 255));
|
|
449
|
+
--color-ui-system-purple: light-dark(rgb(176 47 194), rgb(234 141 255));
|
|
450
|
+
--color-ui-system-pink: light-dark(rgb(231 18 77), rgb(255 138 196));
|
|
451
|
+
--color-ui-system-brown: light-dark(rgb(149 109 81), rgb(219 166 121));
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
@container style(--uikit-settings-contrast: 1) {
|
|
456
|
+
:where([data-uikit-settings] > *) {
|
|
457
|
+
--color-ui-primary: var(
|
|
458
|
+
--uikit-tint-more-contrast,
|
|
459
|
+
var(--uikit-tint, var(--color-ui-system-blue))
|
|
460
|
+
);
|
|
461
|
+
--color-ui-system-gray: light-dark(rgb(108 108 112), rgb(174 174 178));
|
|
462
|
+
--color-ui-system-gray2: light-dark(rgb(142 142 147), rgb(124 124 128));
|
|
463
|
+
--color-ui-system-gray3: light-dark(rgb(174 174 178), rgb(84 84 86));
|
|
464
|
+
--color-ui-system-gray4: light-dark(rgb(188 188 192), rgb(68 68 70));
|
|
465
|
+
--color-ui-system-gray5: light-dark(rgb(216 216 220), rgb(54 54 56));
|
|
466
|
+
--color-ui-system-gray6: light-dark(rgb(235 235 240), rgb(36 36 38));
|
|
467
|
+
--color-ui-system-red: light-dark(rgb(233 21 45), rgb(255 97 101));
|
|
468
|
+
--color-ui-system-orange: light-dark(rgb(197 83 0), rgb(255 160 86));
|
|
469
|
+
--color-ui-system-yellow: light-dark(rgb(161 106 0), rgb(254 223 67));
|
|
470
|
+
--color-ui-system-green: light-dark(rgb(0 137 50), rgb(74 217 104));
|
|
471
|
+
--color-ui-system-mint: light-dark(rgb(0 133 117), rgb(84 223 203));
|
|
472
|
+
--color-ui-system-teal: light-dark(rgb(0 129 152), rgb(59 221 236));
|
|
473
|
+
--color-ui-system-cyan: light-dark(rgb(0 126 174), rgb(109 217 255));
|
|
474
|
+
--color-ui-system-blue: light-dark(rgb(30 110 244), rgb(92 184 255));
|
|
475
|
+
--color-ui-system-indigo: light-dark(rgb(86 74 222), rgb(167 170 255));
|
|
476
|
+
--color-ui-system-purple: light-dark(rgb(176 47 194), rgb(234 141 255));
|
|
477
|
+
--color-ui-system-pink: light-dark(rgb(231 18 77), rgb(255 138 196));
|
|
478
|
+
--color-ui-system-brown: light-dark(rgb(149 109 81), rgb(219 166 121));
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
|
|
491
482
|
/* A color scheme forced (see `useColorScheme`): on the root element, or
|
|
492
483
|
on any element, for what's within it. (Forced within one forced
|
|
493
484
|
otherwise, the dark one's rules win, not the nearer one's.) */
|
|
@@ -527,64 +518,6 @@
|
|
|
527
518
|
--uikit-settings-reduced-transparency-system: 1;
|
|
528
519
|
}
|
|
529
520
|
}
|
|
530
|
-
|
|
531
|
-
/* Accessibility: glass made opaque (see opaqueGlass). */
|
|
532
|
-
@media (prefers-reduced-transparency: reduce) {
|
|
533
|
-
:root {
|
|
534
|
-
--glass-ui-bright-blur: transparent;
|
|
535
|
-
--glass-ui-bright-fill: rgb(247 247 247);
|
|
536
|
-
--glass-ui-bright-fill-filter: none;
|
|
537
|
-
--glass-ui-dim-blur: transparent;
|
|
538
|
-
--glass-ui-dim-fill: rgb(28 28 30);
|
|
539
|
-
--glass-ui-dim-fill-filter: none;
|
|
540
|
-
--glass-ui-background-bright-blur: transparent;
|
|
541
|
-
--glass-ui-background-bright-fill: rgb(247 247 247);
|
|
542
|
-
--glass-ui-background-bright-fill-filter: none;
|
|
543
|
-
--glass-ui-background-dim-blur: transparent;
|
|
544
|
-
--glass-ui-background-dim-fill: rgb(28 28 30);
|
|
545
|
-
--glass-ui-background-dim-fill-filter: none;
|
|
546
|
-
--glass-ui-medium-light-background: rgb(246 246 246);
|
|
547
|
-
--glass-ui-medium-dark-background: rgb(30 30 30);
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
@media (prefers-contrast: more) {
|
|
552
|
-
:root {
|
|
553
|
-
--glass-ui-bright-blur: transparent;
|
|
554
|
-
--glass-ui-bright-fill: rgb(247 247 247);
|
|
555
|
-
--glass-ui-bright-fill-filter: none;
|
|
556
|
-
--glass-ui-dim-blur: transparent;
|
|
557
|
-
--glass-ui-dim-fill: rgb(28 28 30);
|
|
558
|
-
--glass-ui-dim-fill-filter: none;
|
|
559
|
-
--glass-ui-background-bright-blur: transparent;
|
|
560
|
-
--glass-ui-background-bright-fill: rgb(247 247 247);
|
|
561
|
-
--glass-ui-background-bright-fill-filter: none;
|
|
562
|
-
--glass-ui-background-dim-blur: transparent;
|
|
563
|
-
--glass-ui-background-dim-fill: rgb(28 28 30);
|
|
564
|
-
--glass-ui-background-dim-fill-filter: none;
|
|
565
|
-
--glass-ui-medium-light-background: rgb(246 246 246);
|
|
566
|
-
--glass-ui-medium-dark-background: rgb(30 30 30);
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
@media (forced-colors: active) {
|
|
571
|
-
:root {
|
|
572
|
-
--glass-ui-bright-blur: transparent;
|
|
573
|
-
--glass-ui-bright-fill: rgb(247 247 247);
|
|
574
|
-
--glass-ui-bright-fill-filter: none;
|
|
575
|
-
--glass-ui-dim-blur: transparent;
|
|
576
|
-
--glass-ui-dim-fill: rgb(28 28 30);
|
|
577
|
-
--glass-ui-dim-fill-filter: none;
|
|
578
|
-
--glass-ui-background-bright-blur: transparent;
|
|
579
|
-
--glass-ui-background-bright-fill: rgb(247 247 247);
|
|
580
|
-
--glass-ui-background-bright-fill-filter: none;
|
|
581
|
-
--glass-ui-background-dim-blur: transparent;
|
|
582
|
-
--glass-ui-background-dim-fill: rgb(28 28 30);
|
|
583
|
-
--glass-ui-background-dim-fill-filter: none;
|
|
584
|
-
--glass-ui-medium-light-background: rgb(246 246 246);
|
|
585
|
-
--glass-ui-medium-dark-background: rgb(30 30 30);
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
521
|
}
|
|
589
522
|
|
|
590
523
|
/* Lengths that transition as such, so styles computed from them follow
|
|
@@ -621,14 +554,6 @@
|
|
|
621
554
|
syntax: '<number>';
|
|
622
555
|
}
|
|
623
556
|
|
|
624
|
-
/* A symbol's emphasis (see `Symbol`), set by its host: 0 its icon shown,
|
|
625
|
-
1 its emphasized one; a number, so a host can transition it. */
|
|
626
|
-
@property --uikit-symbol-emphasis {
|
|
627
|
-
inherits: true;
|
|
628
|
-
initial-value: 0;
|
|
629
|
-
syntax: '<number>';
|
|
630
|
-
}
|
|
631
|
-
|
|
632
557
|
/* Room made for an open overscroll area (see `Viewport.Overscroll`): a
|
|
633
558
|
length transitioning as such, the padding making it (and the area,
|
|
634
559
|
moving along) following every frame. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrpelz/uikit-ish",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.26.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/mrpelz/utils.git",
|
|
@@ -32,17 +32,18 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@mrpelz/boilerplate-preact": "16.5.0",
|
|
34
34
|
"@mrpelz/misc-utils": "*",
|
|
35
|
-
"@types/node": "26.6.
|
|
35
|
+
"@types/node": "26.6.6",
|
|
36
36
|
"@types/webpack-env": "1.18.8",
|
|
37
37
|
"csstype": "3.2.3",
|
|
38
38
|
"eslint-plugin-react": "7.37.5",
|
|
39
39
|
"fork-ts-checker-webpack-plugin": "9.1.0",
|
|
40
|
-
"
|
|
40
|
+
"gsap": "3.15.1",
|
|
41
|
+
"maplibre-gl": "6.18.0",
|
|
41
42
|
"modify-source-webpack-plugin": "4.1.0",
|
|
42
43
|
"monaco-editor": "0.57.0",
|
|
43
44
|
"monaco-editor-webpack-plugin": "7.1.1",
|
|
44
45
|
"preact-iso": "2.12.2",
|
|
45
|
-
"preact-render-to-string": "6.8.
|
|
46
|
+
"preact-render-to-string": "6.8.3",
|
|
46
47
|
"source-map-loader": "5.0.0"
|
|
47
48
|
},
|
|
48
49
|
"peerDependencies": {
|