@namroodinc/liquid-editorial 0.12.0 → 0.13.1
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/README.md +17 -7
- package/UPGRADING.md +90 -0
- package/dist/chunks/{Avatar-DPnrvkwd.cjs → Avatar-BY0dAItT.cjs} +2 -2
- package/dist/chunks/{Avatar-DPnrvkwd.cjs.map → Avatar-BY0dAItT.cjs.map} +1 -1
- package/dist/chunks/{Avatar-BK8IdL5W.js → Avatar-UjhjcHh5.js} +2 -2
- package/dist/chunks/{Avatar-BK8IdL5W.js.map → Avatar-UjhjcHh5.js.map} +1 -1
- package/dist/chunks/{Board-BCS7sDXg.js → Board-6fXt1YFp.js} +2 -2
- package/dist/chunks/{Board-BCS7sDXg.js.map → Board-6fXt1YFp.js.map} +1 -1
- package/dist/chunks/{Board-CNVy8gHI.cjs → Board-DfVQSb_L.cjs} +2 -2
- package/dist/chunks/{Board-CNVy8gHI.cjs.map → Board-DfVQSb_L.cjs.map} +1 -1
- package/dist/chunks/{CollectionView-DrszOUOt.cjs → CollectionView-CIJdNwcq.cjs} +2 -2
- package/dist/chunks/{CollectionView-DrszOUOt.cjs.map → CollectionView-CIJdNwcq.cjs.map} +1 -1
- package/dist/chunks/{CollectionView-B0ZJxkNK.js → CollectionView-JRNdXHti.js} +2 -2
- package/dist/chunks/{CollectionView-B0ZJxkNK.js.map → CollectionView-JRNdXHti.js.map} +1 -1
- package/dist/chunks/{ColourField-C39pcjkG.js → ColourField-YaCEWiPA.js} +147 -153
- package/dist/chunks/ColourField-YaCEWiPA.js.map +1 -0
- package/dist/chunks/ColourField-bgi6TLOM.cjs +2 -0
- package/dist/chunks/ColourField-bgi6TLOM.cjs.map +1 -0
- package/dist/chunks/{DatePicker-Dpvfomrm.cjs → DatePicker-CCygKPuy.cjs} +2 -2
- package/dist/chunks/{DatePicker-Dpvfomrm.cjs.map → DatePicker-CCygKPuy.cjs.map} +1 -1
- package/dist/chunks/{DatePicker-DDc1nDTb.js → DatePicker-CHJYSaLU.js} +22 -22
- package/dist/chunks/{DatePicker-DDc1nDTb.js.map → DatePicker-CHJYSaLU.js.map} +1 -1
- package/dist/chunks/{Drawer-C3mWT9Kh.js → Drawer-Ck5XKT_V.js} +3 -3
- package/dist/chunks/{Drawer-C3mWT9Kh.js.map → Drawer-Ck5XKT_V.js.map} +1 -1
- package/dist/chunks/{Drawer-DTKZptua.cjs → Drawer-DdIH9jpe.cjs} +2 -2
- package/dist/chunks/{Drawer-DTKZptua.cjs.map → Drawer-DdIH9jpe.cjs.map} +1 -1
- package/dist/chunks/{EntryPicker-CgWbgWnc.cjs → EntryPicker-DmiAnu9l.cjs} +2 -2
- package/dist/chunks/{EntryPicker-CgWbgWnc.cjs.map → EntryPicker-DmiAnu9l.cjs.map} +1 -1
- package/dist/chunks/{EntryPicker-DlEsVCvA.js → EntryPicker-WERMwe0h.js} +3 -3
- package/dist/chunks/{EntryPicker-DlEsVCvA.js.map → EntryPicker-WERMwe0h.js.map} +1 -1
- package/dist/chunks/{FormEditor-iACd0El-.cjs → FormEditor-B8USzAky.cjs} +2 -2
- package/dist/chunks/{FormEditor-iACd0El-.cjs.map → FormEditor-B8USzAky.cjs.map} +1 -1
- package/dist/chunks/{FormEditor-CLLOHKiO.js → FormEditor-BG2RhC71.js} +16 -16
- package/dist/chunks/{FormEditor-CLLOHKiO.js.map → FormEditor-BG2RhC71.js.map} +1 -1
- package/dist/chunks/{Icon-CD3oeiNA.cjs → Icon-C12r4frL.cjs} +2 -2
- package/dist/chunks/Icon-C12r4frL.cjs.map +1 -0
- package/dist/chunks/{Icon-CYXOo0Kt.js → Icon-Peb0houB.js} +38 -36
- package/dist/chunks/Icon-Peb0houB.js.map +1 -0
- package/dist/chunks/{Message-CyLq9ef-.js → Message-CMoH7jcg.js} +5 -9
- package/dist/chunks/{Message-CyLq9ef-.js.map → Message-CMoH7jcg.js.map} +1 -1
- package/dist/chunks/{Message-D3b8HDhm.cjs → Message-qguX0uZk.cjs} +2 -2
- package/dist/chunks/{Message-D3b8HDhm.cjs.map → Message-qguX0uZk.cjs.map} +1 -1
- package/dist/chunks/RichTextEditor-BSA4uzKm.cjs +2 -0
- package/dist/chunks/RichTextEditor-BSA4uzKm.cjs.map +1 -0
- package/dist/chunks/{RichTextEditor-B0P53GFt.js → RichTextEditor-D8VQAM5h.js} +396 -375
- package/dist/chunks/RichTextEditor-D8VQAM5h.js.map +1 -0
- package/dist/chunks/{dialogLabel-D18maX-p.js → dialogLabel-DT7rCr3_.js} +19 -19
- package/dist/chunks/{dialogLabel-D18maX-p.js.map → dialogLabel-DT7rCr3_.js.map} +1 -1
- package/dist/chunks/{dialogLabel-2HRYMHbF.cjs → dialogLabel-_-MTckE_.cjs} +2 -2
- package/dist/chunks/{dialogLabel-2HRYMHbF.cjs.map → dialogLabel-_-MTckE_.cjs.map} +1 -1
- package/dist/chunks/overlayLayer-iGhuAByk.cjs +2 -0
- package/dist/chunks/overlayLayer-iGhuAByk.cjs.map +1 -0
- package/dist/chunks/{overlayLayer-IuoPVwTO.js → overlayLayer-lU4iWSjO.js} +32 -28
- package/dist/chunks/overlayLayer-lU4iWSjO.js.map +1 -0
- package/dist/chunks/{group-7Z_xRlQx.js → style-7Z_xRlQx.js} +1 -1
- package/dist/chunks/{group-7Z_xRlQx.js.map → style-7Z_xRlQx.js.map} +1 -1
- package/dist/chunks/{group-nulIa2_8.cjs → style-nulIa2_8.cjs} +1 -1
- package/dist/chunks/{group-nulIa2_8.cjs.map → style-nulIa2_8.cjs.map} +1 -1
- package/dist/chunks/{use-picker-session-DbfOJstX.cjs → use-picker-session-CM0zcEbf.cjs} +2 -2
- package/dist/chunks/{use-picker-session-DbfOJstX.cjs.map → use-picker-session-CM0zcEbf.cjs.map} +1 -1
- package/dist/chunks/{use-picker-session-BnMxbGAZ.js → use-picker-session-GCDShVBy.js} +3 -3
- package/dist/chunks/{use-picker-session-BnMxbGAZ.js.map → use-picker-session-GCDShVBy.js.map} +1 -1
- package/dist/chunks/{useTooltip-BXAvQwt4.cjs → useTooltip-C7ON4nkV.cjs} +2 -2
- package/dist/chunks/{useTooltip-BXAvQwt4.cjs.map → useTooltip-C7ON4nkV.cjs.map} +1 -1
- package/dist/chunks/{useTooltip-BrC7FdeH.js → useTooltip-DnJEFBLg.js} +2 -2
- package/dist/chunks/{useTooltip-BrC7FdeH.js.map → useTooltip-DnJEFBLg.js.map} +1 -1
- package/dist/components/AppShell/index.cjs +1 -1
- package/dist/components/AppShell/index.js +1 -1
- package/dist/components/AssetCard/index.cjs +1 -1
- package/dist/components/AssetCard/index.js +1 -1
- package/dist/components/AssetGrid/index.cjs +1 -1
- package/dist/components/AssetGrid/index.js +1 -1
- package/dist/components/Avatar/index.cjs +1 -1
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Badge/style.css +9 -9
- package/dist/components/Banner/index.cjs +1 -1
- package/dist/components/Banner/index.js +1 -1
- package/dist/components/Board/index.cjs +1 -1
- package/dist/components/Board/index.js +1 -1
- package/dist/components/Board/style.css +3 -3
- package/dist/components/Button/index.cjs +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/Button/style.css +4 -8
- package/dist/components/Choice/index.cjs +1 -1
- package/dist/components/Choice/index.cjs.map +1 -1
- package/dist/components/Choice/index.js +3 -3
- package/dist/components/Choice/index.js.map +1 -1
- package/dist/components/Choice/style.css +29 -18
- package/dist/components/CollectionView/index.cjs +1 -1
- package/dist/components/CollectionView/index.js +1 -1
- package/dist/components/ColourField/index.cjs +1 -1
- package/dist/components/ColourField/index.d.cts.map +1 -1
- package/dist/components/ColourField/index.d.ts.map +1 -1
- package/dist/components/ColourField/index.js +1 -1
- package/dist/components/ColourField/style.css +4 -4
- package/dist/components/DatePicker/index.cjs +1 -1
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/Drawer/index.cjs +1 -1
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/Drawer/style.css +2 -4
- package/dist/components/EditLayout/index.cjs +1 -1
- package/dist/components/EditLayout/index.js +4 -4
- package/dist/components/EditLayout/style.css +1 -7
- package/dist/components/EntryPicker/index.cjs +1 -1
- package/dist/components/EntryPicker/index.js +1 -1
- package/dist/components/EntryPicker/style.css +3 -1
- package/dist/components/Field/style.css +1 -1
- package/dist/components/FormEditor/README.md +28 -33
- package/dist/components/FormEditor/index.cjs +1 -1
- package/dist/components/FormEditor/index.js +1 -1
- package/dist/components/FormEditor/style.css +1 -0
- package/dist/components/Icon/icons.d.cts +2 -0
- package/dist/components/Icon/icons.d.cts.map +1 -1
- package/dist/components/Icon/icons.d.ts +2 -0
- package/dist/components/Icon/icons.d.ts.map +1 -1
- package/dist/components/Icon/index.cjs +1 -1
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/LimitReading/style.css +1 -1
- package/dist/components/Menu/index.cjs +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Menu/style.css +3 -2
- package/dist/components/Modal/index.cjs +1 -1
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/Modal/style.css +1 -3
- package/dist/components/Popover/index.cjs +1 -1
- package/dist/components/Popover/index.cjs.map +1 -1
- package/dist/components/Popover/index.d.cts.map +1 -1
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/index.js +58 -55
- package/dist/components/Popover/index.js.map +1 -1
- package/dist/components/RichTextEditor/index.cjs +1 -1
- package/dist/components/RichTextEditor/index.d.cts.map +1 -1
- package/dist/components/RichTextEditor/index.d.ts.map +1 -1
- package/dist/components/RichTextEditor/index.js +1 -1
- package/dist/components/RichTextEditor/storyblock-view.d.cts.map +1 -1
- package/dist/components/RichTextEditor/storyblock-view.d.ts.map +1 -1
- package/dist/components/RichTextEditor/style.css +141 -61
- package/dist/components/SearchField/index.cjs +1 -1
- package/dist/components/SearchField/index.js +1 -1
- package/dist/components/Select/index.cjs +1 -1
- package/dist/components/Select/index.js +2 -2
- package/dist/components/SelectionCard/index.cjs +1 -1
- package/dist/components/SelectionCard/index.cjs.map +1 -1
- package/dist/components/SelectionCard/index.d.cts.map +1 -1
- package/dist/components/SelectionCard/index.d.ts.map +1 -1
- package/dist/components/SelectionCard/index.js +2 -2
- package/dist/components/SelectionCard/index.js.map +1 -1
- package/dist/components/SelectionCard/style.css +20 -65
- package/dist/components/SideNav/index.cjs +1 -1
- package/dist/components/SideNav/index.js +1 -1
- package/dist/components/Skeleton/style.css +1 -1
- package/dist/components/Slider/style.css +12 -23
- package/dist/components/SortableList/index.cjs +1 -1
- package/dist/components/SortableList/index.js +1 -1
- package/dist/components/Stepper/index.cjs +1 -1
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/SubNav/index.cjs +1 -1
- package/dist/components/SubNav/index.js +1 -1
- package/dist/components/Switch/index.cjs +1 -1
- package/dist/components/Switch/index.cjs.map +1 -1
- package/dist/components/Switch/index.d.cts.map +1 -1
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Switch/index.js +2 -1
- package/dist/components/Switch/index.js.map +1 -1
- package/dist/components/Switch/style.css +14 -2
- package/dist/components/Table/index.cjs +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/TagsInput/style.css +3 -21
- package/dist/components/Time/index.cjs +1 -1
- package/dist/components/Time/index.js +1 -1
- package/dist/components/Toast/index.cjs +1 -1
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/TopNav/index.cjs +1 -1
- package/dist/components/TopNav/index.js +1 -1
- package/dist/elements.css +2 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +30 -30
- package/dist/internal/dialogFocus.d.cts +2 -0
- package/dist/internal/dialogFocus.d.cts.map +1 -1
- package/dist/internal/dialogFocus.d.ts +2 -0
- package/dist/internal/dialogFocus.d.ts.map +1 -1
- package/dist/message.css +5 -3
- package/dist/tokens.css +83 -309
- package/package.json +1 -1
- package/dist/chunks/ColourField-BdobU76j.cjs +0 -2
- package/dist/chunks/ColourField-BdobU76j.cjs.map +0 -1
- package/dist/chunks/ColourField-C39pcjkG.js.map +0 -1
- package/dist/chunks/Icon-CD3oeiNA.cjs.map +0 -1
- package/dist/chunks/Icon-CYXOo0Kt.js.map +0 -1
- package/dist/chunks/RichTextEditor-B0P53GFt.js.map +0 -1
- package/dist/chunks/RichTextEditor-Wu_yjvD7.cjs +0 -2
- package/dist/chunks/RichTextEditor-Wu_yjvD7.cjs.map +0 -1
- package/dist/chunks/overlayLayer-IuoPVwTO.js.map +0 -1
- package/dist/chunks/overlayLayer-seJG-EFn.cjs +0 -2
- package/dist/chunks/overlayLayer-seJG-EFn.cjs.map +0 -1
- package/dist/components/ColourField/focus.d.cts +0 -3
- package/dist/components/ColourField/focus.d.cts.map +0 -1
- package/dist/components/ColourField/focus.d.ts +0 -3
- package/dist/components/ColourField/focus.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./chunks/Icon-
|
|
1
|
+
import { n as e, r as t, t as n } from "./chunks/Icon-Peb0houB.js";
|
|
2
2
|
import { Button as r } from "./components/Button/index.js";
|
|
3
|
-
import { t as i } from "./chunks/Drawer-
|
|
4
|
-
import { n as a } from "./chunks/overlayLayer-
|
|
3
|
+
import { t as i } from "./chunks/Drawer-Ck5XKT_V.js";
|
|
4
|
+
import { n as a } from "./chunks/overlayLayer-lU4iWSjO.js";
|
|
5
5
|
import { SideNav as o, SideNavFooter as s, SideNavHeader as c, SideNavItem as l, SideNavSection as u, useSideNavCollapsed as d } from "./components/SideNav/index.js";
|
|
6
6
|
import { TopNav as f, TopNavItem as p } from "./components/TopNav/index.js";
|
|
7
7
|
import { AppShell as m } from "./components/AppShell/index.js";
|
|
@@ -11,31 +11,31 @@ import { LimitReading as _ } from "./components/LimitReading/index.js";
|
|
|
11
11
|
import { Field as v } from "./components/Field/index.js";
|
|
12
12
|
import { Modal as y } from "./components/Modal/index.js";
|
|
13
13
|
import { TextArea as b, TextField as x } from "./components/TextField/index.js";
|
|
14
|
-
import { t as S } from "./chunks/RichTextEditor-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import { n as
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { n as
|
|
36
|
-
import { n as
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
14
|
+
import { t as S } from "./chunks/RichTextEditor-D8VQAM5h.js";
|
|
15
|
+
import { Popover as C } from "./components/Popover/index.js";
|
|
16
|
+
import { Menu as w, MenuItem as T, MenuLabel as E, MenuSeparator as D } from "./components/Menu/index.js";
|
|
17
|
+
import { Skeleton as O, SkeletonText as k } from "./components/Skeleton/index.js";
|
|
18
|
+
import { Banner as A } from "./components/Banner/index.js";
|
|
19
|
+
import { r as j, t as M } from "./chunks/LoadState-B056EPu7.js";
|
|
20
|
+
import { FieldAffix as N } from "./components/FieldAffix/index.js";
|
|
21
|
+
import { SearchField as P } from "./components/SearchField/index.js";
|
|
22
|
+
import { Grid as F, GridItem as I, Stack as L } from "./components/Grid/index.js";
|
|
23
|
+
import { Checkbox as R, ChoiceGroup as z, Radio as B } from "./components/Choice/index.js";
|
|
24
|
+
import { Container as V } from "./components/Container/index.js";
|
|
25
|
+
import { SortableList as H, SortableListItem as U } from "./components/SortableList/index.js";
|
|
26
|
+
import { t as W } from "./chunks/EntryPicker-WERMwe0h.js";
|
|
27
|
+
import { n as G, t as K } from "./chunks/NumberField-C90eJGny.js";
|
|
28
|
+
import { Select as q } from "./components/Select/index.js";
|
|
29
|
+
import { Switch as J } from "./components/Switch/index.js";
|
|
30
|
+
import { n as Y, t as X } from "./chunks/Slider-Cab6NqhK.js";
|
|
31
|
+
import { n as Z, t as Q } from "./chunks/ColourField-YaCEWiPA.js";
|
|
32
|
+
import { i as $, n as ee, r as te, t as ne } from "./chunks/DatePicker-CHJYSaLU.js";
|
|
33
|
+
import { TagsInput as re } from "./components/TagsInput/index.js";
|
|
34
|
+
import { CheckboxCard as ie, RadioCard as ae, SelectionCardGroup as oe } from "./components/SelectionCard/index.js";
|
|
35
|
+
import { n as se, t as ce } from "./chunks/FormEditor-BG2RhC71.js";
|
|
36
|
+
import { n as le, r as ue, t as de } from "./chunks/Board-6fXt1YFp.js";
|
|
37
|
+
import { n as fe, t as pe } from "./chunks/Avatar-UjhjcHh5.js";
|
|
38
|
+
import { Table as me, TableBody as he, TableCell as ge, TableEmpty as _e, TableFrame as ve, TableHead as ye, TableHeaderCell as be, TableRow as xe, TableToolbar as Se } from "./components/Table/index.js";
|
|
39
39
|
import { Toast as Ce, ToastProvider as we, useToast as Te } from "./components/Toast/index.js";
|
|
40
40
|
import { SubNav as Ee, SubNavButton as De, SubNavItem as Oe } from "./components/SubNav/index.js";
|
|
41
41
|
import { Stepper as ke } from "./components/Stepper/index.js";
|
|
@@ -45,9 +45,9 @@ import { ImageCropper as Pe, cropToBlob as Fe } from "./components/ImageCropper/
|
|
|
45
45
|
import { Time as Ie, formatAbsoluteDate as Le, formatAbsoluteTime as Re, formatRelativeTime as ze } from "./components/Time/index.js";
|
|
46
46
|
import { Pagination as Be } from "./components/Pagination/index.js";
|
|
47
47
|
import { EditLayout as Ve } from "./components/EditLayout/index.js";
|
|
48
|
-
import { n as He, t as Ue } from "./chunks/CollectionView-
|
|
48
|
+
import { n as He, t as Ue } from "./chunks/CollectionView-JRNdXHti.js";
|
|
49
49
|
import { EditSection as We } from "./components/EditSection/index.js";
|
|
50
50
|
import { PageHeader as Ge } from "./components/PageHeader/index.js";
|
|
51
51
|
import { MetaList as Ke } from "./components/MetaList/index.js";
|
|
52
52
|
import { n as qe, t as Je } from "./chunks/Wizard-C1iR5z44.js";
|
|
53
|
-
export { m as AppShell, Ae as AssetCard, je as AssetCardSkeleton, Me as AssetGrid, Ne as AssetGridEmpty,
|
|
53
|
+
export { m as AppShell, Ae as AssetCard, je as AssetCardSkeleton, Me as AssetGrid, Ne as AssetGridEmpty, pe as Avatar, fe as AvatarGroup, g as Badge, A as Banner, de as Board, le as BoardCard, ue as BoardColumn, r as Button, h as ButtonGroup, ne as Calendar, R as Checkbox, ie as CheckboxCard, z as ChoiceGroup, He as CollectionEmpty, Ue as CollectionView, Q as ColourField, Z as ColourPanel, V as Container, ee as DateField, te as DateRangeField, i as Drawer, Ve as EditLayout, We as EditSection, W as EntryPicker, v as Field, N as FieldAffix, ce as FormEditor, F as Grid, I as GridItem, n as Icon, Pe as ImageCropper, _ as LimitReading, j as LoadError, M as LoadState, w as Menu, T as MenuItem, E as MenuLabel, D as MenuSeparator, Ke as MetaList, y as Modal, K as NumberField, G as NumberRangeField, a as OverlayLayer, Ge as PageHeader, Be as Pagination, C as Popover, B as Radio, ae as RadioCard, X as RangeSlider, qe as ReviewTable, S as RichTextEditor, P as SearchField, q as Select, oe as SelectionCardGroup, o as SideNav, s as SideNavFooter, c as SideNavHeader, l as SideNavItem, u as SideNavSection, O as Skeleton, k as SkeletonText, Y as Slider, H as SortableList, U as SortableListItem, L as Stack, ke as Stepper, Ee as SubNav, De as SubNavButton, Oe as SubNavItem, J as Switch, me as Table, he as TableBody, ge as TableCell, _e as TableEmpty, ve as TableFrame, ye as TableHead, be as TableHeaderCell, xe as TableRow, Se as TableToolbar, re as TagsInput, b as TextArea, x as TextField, Ie as Time, Ce as Toast, we as ToastProvider, f as TopNav, p as TopNavItem, Je as Wizard, Fe as cropToBlob, Le as formatAbsoluteDate, Re as formatAbsoluteTime, $ as formatIsoDate, ze as formatRelativeTime, e as iconNames, t as icons, d as useSideNavCollapsed, Te as useToast, se as validateFormValues };
|
|
@@ -24,4 +24,6 @@ export declare function panelHoldsFocus(panel: HTMLElement, active: Element | nu
|
|
|
24
24
|
* Tab inside a popup the panel owns is left to the popup and the browser.
|
|
25
25
|
*/
|
|
26
26
|
export declare function trapTabFocus(event: KeyboardEvent, panel: HTMLElement | null): void;
|
|
27
|
+
/** Continue after the composed field, respecting an enclosing modal's focus boundary. */
|
|
28
|
+
export declare function focusAfterField(root: HTMLElement): void;
|
|
27
29
|
//# sourceMappingURL=dialogFocus.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialogFocus.d.cts","sourceRoot":"","sources":["../../src/internal/dialogFocus.ts"],"names":[],"mappings":"AAuBA,qFAAqF;AACrF,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,WAOtD;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,YAAY,WAY3E;AAaD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,WAAW,iBAUtD;AAID;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,cAK5D;AAyBD,qFAAqF;AACrF,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,WAEzE;AAOD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,GAAG,IAAI,QA4B3E"}
|
|
1
|
+
{"version":3,"file":"dialogFocus.d.cts","sourceRoot":"","sources":["../../src/internal/dialogFocus.ts"],"names":[],"mappings":"AAuBA,qFAAqF;AACrF,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,WAOtD;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,YAAY,WAY3E;AAaD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,WAAW,iBAUtD;AAID;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,cAK5D;AAyBD,qFAAqF;AACrF,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,WAEzE;AAOD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,GAAG,IAAI,QA4B3E;AAED,yFAAyF;AACzF,wBAAgB,eAAe,CAAC,IAAI,EAAE,WAAW,QAMhD"}
|
|
@@ -24,4 +24,6 @@ export declare function panelHoldsFocus(panel: HTMLElement, active: Element | nu
|
|
|
24
24
|
* Tab inside a popup the panel owns is left to the popup and the browser.
|
|
25
25
|
*/
|
|
26
26
|
export declare function trapTabFocus(event: KeyboardEvent, panel: HTMLElement | null): void;
|
|
27
|
+
/** Continue after the composed field, respecting an enclosing modal's focus boundary. */
|
|
28
|
+
export declare function focusAfterField(root: HTMLElement): void;
|
|
27
29
|
//# sourceMappingURL=dialogFocus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialogFocus.d.ts","sourceRoot":"","sources":["../../src/internal/dialogFocus.ts"],"names":[],"mappings":"AAuBA,qFAAqF;AACrF,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,WAOtD;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,YAAY,WAY3E;AAaD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,WAAW,iBAUtD;AAID;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,cAK5D;AAyBD,qFAAqF;AACrF,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,WAEzE;AAOD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,GAAG,IAAI,QA4B3E"}
|
|
1
|
+
{"version":3,"file":"dialogFocus.d.ts","sourceRoot":"","sources":["../../src/internal/dialogFocus.ts"],"names":[],"mappings":"AAuBA,qFAAqF;AACrF,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,WAOtD;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,YAAY,WAY3E;AAaD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,WAAW,iBAUtD;AAID;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,cAK5D;AAyBD,qFAAqF;AACrF,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,WAEzE;AAOD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,GAAG,IAAI,QA4B3E;AAED,yFAAyF;AACzF,wBAAgB,eAAe,CAAC,IAAI,EAAE,WAAW,QAMhD"}
|
package/dist/message.css
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
/* Shared by Banner and Toast. Text colour and font are inherited from the
|
|
3
|
-
* page, as Toast always did. The root
|
|
4
|
-
*
|
|
3
|
+
* page, as Toast always did. The root is not a field surface, so a neutral
|
|
4
|
+
* message reads the neutral control fill of the ground it sits on, whether
|
|
5
|
+
* canvas, card, sidebar or band. Its body and dismiss button carry
|
|
6
|
+
* .ds-field-surface, so their controls re-derive against the message fill. */
|
|
5
7
|
.ds-message {
|
|
6
|
-
--message-soft: var(--
|
|
8
|
+
--message-soft: var(--fill-control);
|
|
7
9
|
--message-ink: var(--color-text);
|
|
8
10
|
--message-ink-strong: var(--color-text);
|
|
9
11
|
--field-bg: var(--message-soft);
|
package/dist/tokens.css
CHANGED
|
@@ -151,217 +151,98 @@
|
|
|
151
151
|
--duration-panel: 280ms;
|
|
152
152
|
--ease-standard: ease;
|
|
153
153
|
--ease-panel: cubic-bezier(0.22, 1, 0.36, 1);
|
|
154
|
-
|
|
155
|
-
/* Fill steps. Theme-independent percentages that the derived field and
|
|
156
|
-
* soft ladders below mix against each theme's colours. */
|
|
157
|
-
--tint-rest: 7%;
|
|
158
|
-
--tint-hover: 10%;
|
|
159
|
-
--tint-focus: 14%;
|
|
160
|
-
--tint-pressed: 18%;
|
|
161
|
-
--soft-step-hover: 10%;
|
|
162
|
-
--soft-step-pressed: 18%;
|
|
163
154
|
}
|
|
164
155
|
|
|
165
|
-
/*
|
|
166
|
-
* Theme-derived tokens. A custom property resolves where it is declared and
|
|
167
|
-
* descendants inherit the result, so anything computed from theme colours is
|
|
168
|
-
* declared on every theme scope, not only :root. A subtree or overlay that
|
|
169
|
-
* carries its own data-theme then derives these from its own colours. The
|
|
170
|
-
* theme blocks below still override single results, e.g. --color-accent-text.
|
|
171
|
-
* ───────────────────────────────────────────────────────────────────────── */
|
|
156
|
+
/* ── Theme-derived (:root, [data-theme]) ─────────────────────────────── */
|
|
172
157
|
:root,
|
|
173
158
|
[data-theme] {
|
|
174
|
-
/* The ground fields sit on.
|
|
175
|
-
* overrides --field-bg locally and carries .ds-field-surface (see below). */
|
|
159
|
+
/* The ground fields sit on. Body, Drawer and Modal all paint canvas. */
|
|
176
160
|
--field-bg: var(--color-canvas);
|
|
177
161
|
|
|
178
|
-
/*
|
|
179
|
-
--
|
|
162
|
+
/* Cards and list items rest one step off the ground. */
|
|
163
|
+
--fill-card: var(--color-surface);
|
|
180
164
|
|
|
181
|
-
/*
|
|
182
|
-
* from
|
|
183
|
-
|
|
165
|
+
/* Bands (lanes, rails, toolbars, footers) step once more off the surface,
|
|
166
|
+
* so they separate from the canvas, from the surface they sit in and from
|
|
167
|
+
* the surface cards they hold. A theme colour, not a ground step: band
|
|
168
|
+
* hosts set --field-bg from it, so it cannot derive from --field-bg. */
|
|
169
|
+
--fill-band: color-mix(in srgb, var(--color-text) var(--tint-rest), var(--color-surface));
|
|
184
170
|
|
|
185
|
-
/*
|
|
186
|
-
*
|
|
187
|
-
|
|
188
|
-
--fill-card: var(--color-surface);
|
|
171
|
+
/* The header steps from the sidebar surface, so it separates from both
|
|
172
|
+
* the white page and the grey sidebar. Dark overrides it below. */
|
|
173
|
+
--color-header: color-mix(in srgb, var(--color-text) 6%, var(--color-surface));
|
|
189
174
|
|
|
190
|
-
/*
|
|
191
|
-
*
|
|
192
|
-
* Two kinds of ladder, and a component uses one or the other, never both:
|
|
193
|
-
*
|
|
194
|
-
* SOLID --color-<tone> rest
|
|
195
|
-
* --color-<tone>-hover hover hand-picked per theme, because
|
|
196
|
-
* --color-<tone>-pressed pressed a dark theme lightens where a
|
|
197
|
-
* light theme darkens
|
|
198
|
-
*
|
|
199
|
-
* SOFT --color-<tone>-soft rest derived — one rule, every tone,
|
|
200
|
-
* --color-<tone>-soft-hover hover every theme, nothing to hand-pick
|
|
201
|
-
* --color-<tone>-soft-pressed press and nothing to get wrong
|
|
202
|
-
*
|
|
203
|
-
* Text on a soft fill is the tone itself, except where that fails 4.5:1 —
|
|
204
|
-
* those get a --color-<tone>-text override in their theme block, and the
|
|
205
|
-
* override is the exception that proves the rule rather than a habit.
|
|
206
|
-
*
|
|
207
|
-
* Solid ladders exist only for the three tones that are ever a button fill:
|
|
208
|
-
* primary, danger, accent. Success, warning and review are tones, not
|
|
209
|
-
* actions — if one of them ever needs a solid ladder, that is a decision
|
|
210
|
-
* record, not a token. */
|
|
175
|
+
/* Only primary has an interactive soft ladder. Add another tone's ladder
|
|
176
|
+
* when a component needs one, with a decision record. */
|
|
211
177
|
--color-primary-soft-hover: color-mix(
|
|
212
178
|
in srgb,
|
|
213
|
-
var(--color-primary) var(--
|
|
179
|
+
var(--color-primary) var(--tint-hover),
|
|
214
180
|
var(--color-primary-soft)
|
|
215
181
|
);
|
|
216
182
|
--color-primary-soft-pressed: color-mix(
|
|
217
183
|
in srgb,
|
|
218
|
-
var(--color-primary) var(--
|
|
184
|
+
var(--color-primary) var(--tint-pressed),
|
|
219
185
|
var(--color-primary-soft)
|
|
220
186
|
);
|
|
221
|
-
--color-accent-soft-hover: color-mix(
|
|
222
|
-
in srgb,
|
|
223
|
-
var(--color-accent) var(--soft-step-hover),
|
|
224
|
-
var(--color-accent-soft)
|
|
225
|
-
);
|
|
226
|
-
--color-accent-soft-pressed: color-mix(
|
|
227
|
-
in srgb,
|
|
228
|
-
var(--color-accent) var(--soft-step-pressed),
|
|
229
|
-
var(--color-accent-soft)
|
|
230
|
-
);
|
|
231
|
-
--color-success-soft-hover: color-mix(
|
|
232
|
-
in srgb,
|
|
233
|
-
var(--color-success) var(--soft-step-hover),
|
|
234
|
-
var(--color-success-soft)
|
|
235
|
-
);
|
|
236
|
-
--color-success-soft-pressed: color-mix(
|
|
237
|
-
in srgb,
|
|
238
|
-
var(--color-success) var(--soft-step-pressed),
|
|
239
|
-
var(--color-success-soft)
|
|
240
|
-
);
|
|
241
|
-
--color-warning-soft-hover: color-mix(
|
|
242
|
-
in srgb,
|
|
243
|
-
var(--color-warning) var(--soft-step-hover),
|
|
244
|
-
var(--color-warning-soft)
|
|
245
|
-
);
|
|
246
|
-
--color-warning-soft-pressed: color-mix(
|
|
247
|
-
in srgb,
|
|
248
|
-
var(--color-warning) var(--soft-step-pressed),
|
|
249
|
-
var(--color-warning-soft)
|
|
250
|
-
);
|
|
251
|
-
--color-danger-soft-hover: color-mix(
|
|
252
|
-
in srgb,
|
|
253
|
-
var(--color-danger) var(--soft-step-hover),
|
|
254
|
-
var(--color-danger-soft)
|
|
255
|
-
);
|
|
256
|
-
--color-danger-soft-pressed: color-mix(
|
|
257
|
-
in srgb,
|
|
258
|
-
var(--color-danger) var(--soft-step-pressed),
|
|
259
|
-
var(--color-danger-soft)
|
|
260
|
-
);
|
|
261
|
-
--color-review-soft-hover: color-mix(
|
|
262
|
-
in srgb,
|
|
263
|
-
var(--color-review) var(--soft-step-hover),
|
|
264
|
-
var(--color-review-soft)
|
|
265
|
-
);
|
|
266
|
-
--color-review-soft-pressed: color-mix(
|
|
267
|
-
in srgb,
|
|
268
|
-
var(--color-review) var(--soft-step-pressed),
|
|
269
|
-
var(--color-review-soft)
|
|
270
|
-
);
|
|
271
187
|
|
|
272
|
-
/*
|
|
188
|
+
/* A theme can tune ink independently of its solid and soft fills. */
|
|
273
189
|
--color-primary-text: var(--color-primary);
|
|
274
|
-
--color-accent-text: var(--color-accent);
|
|
275
190
|
--color-success-text: var(--color-success);
|
|
276
191
|
--color-warning-text: var(--color-warning);
|
|
277
192
|
--color-danger-text: var(--color-danger);
|
|
278
193
|
--color-review-text: var(--color-review);
|
|
279
194
|
|
|
280
|
-
/*
|
|
281
|
-
|
|
282
|
-
--status-draft: var(--color-border-strong);
|
|
283
|
-
|
|
284
|
-
/* Draft and archived badges step from the ground they sit on, hovered
|
|
285
|
-
* rows included, so their inks hold 4.5:1 on any neutral step. */
|
|
286
|
-
--status-draft-text: color-mix(in srgb, var(--color-text) 50%, var(--color-text-muted));
|
|
287
|
-
--status-draft-soft: var(--color-surface-subtle);
|
|
288
|
-
--status-scheduled: var(--color-primary);
|
|
289
|
-
--status-scheduled-soft: var(--color-primary-soft);
|
|
290
|
-
--status-published: var(--color-success);
|
|
291
|
-
--status-published-soft: var(--color-success-soft);
|
|
292
|
-
--status-changed: var(--color-warning);
|
|
293
|
-
--status-changed-soft: var(--color-warning-soft);
|
|
294
|
-
--status-unpublished: var(--color-danger);
|
|
295
|
-
--status-unpublished-soft: var(--color-danger-soft);
|
|
296
|
-
--status-archived: var(--color-border);
|
|
297
|
-
--status-archived-text: color-mix(in srgb, var(--color-text) 50%, var(--color-text-muted));
|
|
298
|
-
--status-archived-soft: transparent;
|
|
299
|
-
|
|
300
|
-
/* Status tabs are interactive, so each soft needs its two further steps.
|
|
301
|
-
* Four inherit their tone's ladder; draft and archived have no tone of
|
|
302
|
-
* their own and fall back to the neutral field ladder. */
|
|
303
|
-
--status-draft-soft-hover: var(--field-hover);
|
|
304
|
-
--status-draft-soft-pressed: var(--field-pressed);
|
|
305
|
-
--status-scheduled-soft-hover: var(--color-primary-soft-hover);
|
|
306
|
-
--status-scheduled-soft-pressed: var(--color-primary-soft-pressed);
|
|
307
|
-
--status-published-soft-hover: var(--color-success-soft-hover);
|
|
308
|
-
--status-published-soft-pressed: var(--color-success-soft-pressed);
|
|
309
|
-
--status-changed-soft-hover: var(--color-warning-soft-hover);
|
|
310
|
-
--status-changed-soft-pressed: var(--color-warning-soft-pressed);
|
|
311
|
-
--status-unpublished-soft-hover: var(--color-danger-soft-hover);
|
|
312
|
-
--status-unpublished-soft-pressed: var(--color-danger-soft-pressed);
|
|
313
|
-
--status-archived-soft-hover: var(--field-hover);
|
|
314
|
-
--status-archived-soft-pressed: var(--field-pressed);
|
|
195
|
+
/* Draft and archived badge ink. */
|
|
196
|
+
--color-text-subtle: color-mix(in srgb, var(--color-text) 50%, var(--color-text-muted));
|
|
315
197
|
}
|
|
316
198
|
|
|
317
|
-
/*
|
|
318
|
-
* theme redefines, against the nearest --field-bg. It is re-derived wherever
|
|
319
|
-
* that ground can change: the root, each theme scope, and every container
|
|
320
|
-
* carrying .ds-field-surface. A container that overrides --field-bg must carry
|
|
321
|
-
* the class as well, or its fields, sliders and buttons rest, hover, focus and
|
|
322
|
-
* press against the fill of the scope above it. */
|
|
199
|
+
/* ── Ground ladder (:root, [data-theme], .ds-field-surface) ───────────── */
|
|
323
200
|
:root,
|
|
324
201
|
[data-theme],
|
|
325
202
|
.ds-field-surface {
|
|
326
203
|
--button-active-bg: var(--color-primary-soft);
|
|
327
|
-
|
|
328
|
-
/* A container that paints a hover or active fill over its ground names it
|
|
329
|
-
* in --field-paint, so neutral controls, badges and avatars inside step
|
|
330
|
-
* from the fill they sit on. It is reset on every surface, so a nested
|
|
331
|
-
* surface steps from its own ground. */
|
|
332
204
|
--field-paint: initial;
|
|
333
|
-
|
|
334
|
-
|
|
205
|
+
|
|
206
|
+
/* One input fill. Every input rests, hovers and presses on these. */
|
|
207
|
+
--field-rest: color-mix(in srgb, var(--color-text) var(--tint-rest), var(--field-bg));
|
|
208
|
+
--field-hover: color-mix(in srgb, var(--color-text) var(--tint-hover), var(--field-bg));
|
|
209
|
+
--field-focus: var(--field-hover); /* focus = hover fill + the focus ring */
|
|
210
|
+
--field-pressed: color-mix(in srgb, var(--color-text) var(--tint-pressed), var(--field-bg));
|
|
211
|
+
--field-invalid: color-mix(in srgb, var(--color-danger) var(--tint-hover), var(--field-bg));
|
|
212
|
+
--field-invalid-focus: color-mix(
|
|
335
213
|
in srgb,
|
|
336
|
-
var(--color-
|
|
337
|
-
var(--field-
|
|
214
|
+
var(--color-danger) var(--tint-pressed),
|
|
215
|
+
var(--field-bg)
|
|
338
216
|
);
|
|
339
|
-
|
|
217
|
+
|
|
218
|
+
/* Neutral controls (buttons, avatars, badges) rest on the hover step.
|
|
219
|
+
* Hover and press add 4% to the hover and pressed steps, so press stays
|
|
220
|
+
* above hover in both themes. */
|
|
221
|
+
--fill-control: color-mix(
|
|
340
222
|
in srgb,
|
|
341
|
-
var(--color-text)
|
|
223
|
+
var(--color-text) var(--tint-hover),
|
|
342
224
|
var(--field-paint, var(--field-bg))
|
|
343
225
|
);
|
|
344
|
-
|
|
345
|
-
/* Softer unchecked fills retain 3:1 on the built-in theme grounds. */
|
|
346
|
-
--fill-indicator: color-mix(in srgb, var(--color-text) var(--indicator-tint), var(--field-bg));
|
|
347
|
-
--fill-indicator-hover: color-mix(
|
|
226
|
+
--fill-control-hover: color-mix(
|
|
348
227
|
in srgb,
|
|
349
|
-
var(--color-text) calc(var(--
|
|
350
|
-
var(--field-bg)
|
|
228
|
+
var(--color-text) calc(var(--tint-hover) + 4%),
|
|
229
|
+
var(--field-paint, var(--field-bg))
|
|
351
230
|
);
|
|
352
|
-
--fill-
|
|
231
|
+
--fill-control-pressed: color-mix(
|
|
353
232
|
in srgb,
|
|
354
|
-
var(--color-text) calc(var(--
|
|
355
|
-
var(--field-bg)
|
|
233
|
+
var(--color-text) calc(var(--tint-pressed) + 4%),
|
|
234
|
+
var(--field-paint, var(--field-bg))
|
|
356
235
|
);
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
--
|
|
360
|
-
--
|
|
361
|
-
--
|
|
362
|
-
--
|
|
363
|
-
|
|
364
|
-
|
|
236
|
+
|
|
237
|
+
/* Unchecked checkbox, radio and switch share the input fill. */
|
|
238
|
+
--fill-indicator: var(--field-rest);
|
|
239
|
+
--fill-indicator-hover: var(--field-hover);
|
|
240
|
+
--fill-indicator-pressed: var(--field-pressed);
|
|
241
|
+
--fill-row-alt: color-mix(in srgb, var(--color-text) 3%, var(--field-bg));
|
|
242
|
+
|
|
243
|
+
/* Every rule and separator: hr, FormEditor divider, Wizard rule, menu and
|
|
244
|
+
* popover separators (1px), and rules typed in the editor (2px). */
|
|
245
|
+
--color-rule: color-mix(in srgb, var(--color-text) 20%, var(--field-bg));
|
|
365
246
|
}
|
|
366
247
|
|
|
367
248
|
/* A logical start rail follows inherited direction, including nested dir scopes. */
|
|
@@ -376,42 +257,40 @@
|
|
|
376
257
|
}
|
|
377
258
|
|
|
378
259
|
/* ── Theme: light (default) ───────────────────────────────────────────── */
|
|
379
|
-
|
|
380
|
-
|
|
260
|
+
:root,
|
|
261
|
+
[data-theme="light"] {
|
|
381
262
|
color-scheme: light;
|
|
382
263
|
|
|
383
|
-
--color-canvas: #
|
|
384
|
-
--color-surface: #
|
|
385
|
-
--color-surface-raised: #
|
|
386
|
-
|
|
387
|
-
/* A step below the canvas, so bands, lanes and neutral banners separate
|
|
388
|
-
* from the page as well as from surfaces. */
|
|
389
|
-
--color-surface-subtle: #e9edf3;
|
|
390
|
-
--color-border: #d5dce7;
|
|
391
|
-
--color-border-muted: #e1e8f0;
|
|
264
|
+
--color-canvas: #fff; /* the ground: body, Drawer, Modal */
|
|
265
|
+
--color-surface: #f4f6f9; /* cards, sidebar; bands step off it */
|
|
266
|
+
--color-surface-raised: #fff; /* menus, popovers, calendar */
|
|
392
267
|
--color-border-strong: #b8c4d6;
|
|
393
268
|
--color-text: #0f1728;
|
|
394
|
-
--color-text-muted: #
|
|
269
|
+
--color-text-muted: #4e5e78;
|
|
395
270
|
--color-text-on-solid: #fff;
|
|
396
271
|
--color-primary: #0052cc;
|
|
397
272
|
--color-primary-hover: #003f9e;
|
|
398
273
|
--color-primary-pressed: #00337f;
|
|
399
274
|
--color-primary-soft: #dbe8ff;
|
|
275
|
+
--color-danger: #a72020;
|
|
276
|
+
--color-danger-hover: #8a1a1a; /* new: danger Button had no hover */
|
|
277
|
+
--color-danger-pressed: #6f1515; /* new */
|
|
278
|
+
--color-danger-soft: #fee7e7;
|
|
400
279
|
--color-success: #136c3f;
|
|
401
280
|
--color-success-soft: #daf4e6;
|
|
402
281
|
--color-warning: #8a5800;
|
|
403
282
|
--color-warning-soft: #fff0c9;
|
|
404
|
-
--color-danger: #a72020;
|
|
405
|
-
--color-danger-soft: #fee7e7;
|
|
406
283
|
--color-review: #7c53d6;
|
|
407
284
|
--color-review-soft: #efe9fb;
|
|
408
|
-
--color-focus: #3a74ff
|
|
409
|
-
--
|
|
410
|
-
--
|
|
411
|
-
--
|
|
412
|
-
--
|
|
413
|
-
|
|
414
|
-
|
|
285
|
+
--color-focus: var(--color-primary); /* was #3a74ff, 3.8:1 */
|
|
286
|
+
--tint-rest: 5%;
|
|
287
|
+
--tint-hover: 8%;
|
|
288
|
+
--tint-pressed: 12%;
|
|
289
|
+
--indicator-edge: none; /* opt-in: inset 0 0 0 1.5px color-mix(in srgb, var(--color-text) 50%, var(--field-bg)) */
|
|
290
|
+
|
|
291
|
+
/* Keep small text readable on pressed active fills and the review fill. */
|
|
292
|
+
--color-primary-text: color-mix(in srgb, var(--color-text) 14%, var(--color-primary));
|
|
293
|
+
--color-review-text: color-mix(in srgb, var(--color-text) 4%, var(--color-review));
|
|
415
294
|
--shadow-md: 0 2px 4px -2px rgb(16 24 40 / 8%), 0 6px 12px -3px rgb(16 24 40 / 10%);
|
|
416
295
|
--shadow-lg: 0 8px 16px -6px rgb(16 24 40 / 12%), 0 18px 40px -12px rgb(16 24 40 / 16%);
|
|
417
296
|
}
|
|
@@ -423,140 +302,35 @@
|
|
|
423
302
|
--color-canvas: #0d1117;
|
|
424
303
|
--color-surface: #161b22;
|
|
425
304
|
--color-surface-raised: #1c2230;
|
|
426
|
-
--color-surface-subtle: #21262d;
|
|
427
|
-
--color-border: #30363d;
|
|
428
|
-
--color-border-muted: #21262d;
|
|
429
305
|
--color-border-strong: #484f58;
|
|
430
306
|
--color-text: #e6edf3;
|
|
431
|
-
--color-text-muted: #
|
|
307
|
+
--color-text-muted: #adb6bf;
|
|
432
308
|
--color-text-on-solid: #0d1117;
|
|
433
309
|
--color-primary: #388bfd;
|
|
434
310
|
--color-primary-hover: #58a6ff;
|
|
435
311
|
--color-primary-pressed: #79b8ff;
|
|
436
312
|
--color-primary-soft: #1a2e4a;
|
|
437
|
-
--color-success: #3fb950;
|
|
438
|
-
--color-success-soft: #122a1d;
|
|
439
|
-
--color-warning: #d29922;
|
|
440
|
-
--color-warning-soft: #2d2208;
|
|
441
313
|
--color-danger: #f85149;
|
|
442
314
|
--color-danger-hover: #ff6b63;
|
|
443
315
|
--color-danger-pressed: #ff8a84;
|
|
444
316
|
--color-danger-soft: #3a1515;
|
|
317
|
+
--color-success: #3fb950;
|
|
318
|
+
--color-success-soft: #122a1d;
|
|
319
|
+
--color-warning: #d29922;
|
|
320
|
+
--color-warning-soft: #2d2208;
|
|
445
321
|
--color-review: #a78bfa;
|
|
446
322
|
--color-review-soft: #2d1f4a;
|
|
447
323
|
--color-focus: #58a6ff;
|
|
448
|
-
--
|
|
449
|
-
--
|
|
450
|
-
--
|
|
451
|
-
--
|
|
452
|
-
--color-text-on-accent: #0d1117;
|
|
453
|
-
--shadow-sm: 0 1px 2px rgb(0 0 0 / 30%), 0 1px 3px rgb(0 0 0 / 40%);
|
|
324
|
+
--tint-rest: 7%;
|
|
325
|
+
--tint-hover: 10%;
|
|
326
|
+
--tint-pressed: 18%;
|
|
327
|
+
--indicator-edge: none;
|
|
454
328
|
--shadow-md: 0 4px 10px -3px rgb(0 0 0 / 45%);
|
|
455
329
|
--shadow-lg: 0 12px 32px -8px rgb(0 0 0 / 55%);
|
|
456
|
-
--color-primary-text: color-mix(in srgb, var(--color-text) 20%, var(--color-primary));
|
|
457
|
-
--indicator-tint: 45%;
|
|
458
|
-
--color-header: color-mix(in srgb, rgb(0 0 0) 85%, var(--color-canvas));
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
/* ── Theme: cherry-glaze ──────────────────────────────────────────────── */
|
|
462
|
-
[data-theme="cherry-glaze"] {
|
|
463
|
-
color-scheme: light;
|
|
464
|
-
|
|
465
|
-
--color-canvas: #e7d8cd;
|
|
466
|
-
--color-surface: #f5f2ea;
|
|
467
|
-
--color-surface-raised: #efe4dc;
|
|
468
|
-
--color-surface-subtle: #ece3da;
|
|
469
|
-
--color-border: #d7a3be;
|
|
470
|
-
--color-border-muted: #e7d8cd;
|
|
471
|
-
--color-border-strong: #b86b9c;
|
|
472
|
-
--color-text: #2f1d28;
|
|
473
|
-
--color-text-muted: #7c6470;
|
|
474
|
-
--color-text-on-solid: #f5f2ea;
|
|
475
|
-
--color-primary: #496f24;
|
|
476
|
-
--color-primary-hover: #3a5a1c;
|
|
477
|
-
--color-primary-pressed: #2d4615;
|
|
478
|
-
--color-primary-soft: #b7c991;
|
|
479
|
-
--color-success: #496f24;
|
|
480
|
-
--color-success-soft: #b7c991;
|
|
481
|
-
--color-warning: #6f4f24;
|
|
482
|
-
--color-warning-soft: #efdcb4;
|
|
483
|
-
--color-danger: #8f3e6e;
|
|
484
|
-
--color-danger-hover: #743158;
|
|
485
|
-
--color-danger-pressed: #5c2746;
|
|
486
|
-
--color-danger-soft: #d7a3be;
|
|
487
|
-
--color-review: #7c53d6;
|
|
488
|
-
--color-review-soft: #e8e0f8;
|
|
489
|
-
--color-focus: #7fa34c;
|
|
490
|
-
--color-accent: #b86b9c;
|
|
491
|
-
--color-accent-hover: #a55b8a;
|
|
492
|
-
--color-accent-pressed: #8f4c76;
|
|
493
|
-
--color-accent-soft: #e8c2d3;
|
|
494
|
-
|
|
495
|
-
/* Cherry Glaze is one of the two overrides: the accent pink lands at 2.9:1
|
|
496
|
-
* on its own soft fill, so text on it goes darker than the accent itself. */
|
|
497
|
-
--color-accent-text: #66304f;
|
|
498
|
-
--color-text-on-accent: #201018;
|
|
499
|
-
--shadow-sm: 0 1px 2px rgb(73 111 36 / 8%), 0 1px 3px rgb(73 111 36 / 12%);
|
|
500
|
-
--shadow-md: 0 2px 4px -2px rgb(73 111 36 / 10%), 0 6px 12px -3px rgb(73 111 36 / 12%);
|
|
501
|
-
--shadow-lg: 0 8px 16px -6px rgb(73 111 36 / 14%), 0 18px 40px -12px rgb(73 111 36 / 18%);
|
|
502
|
-
|
|
503
|
-
/* Accessible ink on the borderless soft status fills. */
|
|
504
|
-
--color-success-text: color-mix(in srgb, var(--color-text) 40%, var(--color-success));
|
|
505
|
-
--color-danger-text: color-mix(in srgb, var(--color-text) 40%, var(--color-danger));
|
|
506
|
-
--color-primary-text: color-mix(in srgb, var(--color-text) 40%, var(--color-primary));
|
|
507
|
-
--status-draft-text: color-mix(in srgb, var(--color-text) 60%, var(--color-text-muted));
|
|
508
|
-
--status-archived-text: color-mix(in srgb, var(--color-text) 60%, var(--color-text-muted));
|
|
509
|
-
--indicator-tint: 59%;
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
/* ── Theme: black-hawaii ──────────────────────────────────────────────── */
|
|
513
|
-
[data-theme="black-hawaii"] {
|
|
514
|
-
color-scheme: dark;
|
|
515
330
|
|
|
516
|
-
|
|
517
|
-
--color-
|
|
518
|
-
--color-
|
|
519
|
-
--color-surface-subtle: #2f2d2a;
|
|
520
|
-
--color-border: #6e6a63;
|
|
521
|
-
--color-border-muted: #3a2a22;
|
|
522
|
-
--color-border-strong: #c99a5f;
|
|
523
|
-
--color-text: #f1e6d6;
|
|
524
|
-
--color-text-muted: #c99a5f;
|
|
525
|
-
--color-text-on-solid: #101010;
|
|
526
|
-
--color-primary: #d66a3a;
|
|
527
|
-
--color-primary-hover: #e0854f;
|
|
528
|
-
--color-primary-pressed: #ea9f73;
|
|
529
|
-
--color-primary-soft: #3a2a22;
|
|
530
|
-
--color-success: #4e8f8a;
|
|
531
|
-
--color-success-soft: #1d3331;
|
|
532
|
-
--color-warning: #c99a5f;
|
|
533
|
-
--color-warning-soft: #3b3222;
|
|
534
|
-
|
|
535
|
-
/* Lifted from #c44040, which sat at 3.8:1 against --color-text-on-solid. */
|
|
536
|
-
--color-danger: #d45454;
|
|
537
|
-
--color-danger-hover: #df6868;
|
|
538
|
-
--color-danger-pressed: #e98282;
|
|
539
|
-
--color-danger-soft: #421f1f;
|
|
540
|
-
--color-review: #9b7fe8;
|
|
541
|
-
--color-review-soft: #2a2040;
|
|
542
|
-
--color-focus: #e0854f;
|
|
543
|
-
--color-accent: #d66a3a;
|
|
544
|
-
--color-accent-hover: #e0854f;
|
|
545
|
-
--color-accent-pressed: #ea9f73;
|
|
546
|
-
--color-accent-soft: #3a2a22;
|
|
547
|
-
|
|
548
|
-
/* The second override: the accent orange is 3.9:1 on its own soft fill. */
|
|
549
|
-
--color-accent-text: #e0854f;
|
|
550
|
-
--color-text-on-accent: #101010;
|
|
551
|
-
--shadow-sm: 0 1px 2px rgb(0 0 0 / 40%), 0 1px 3px rgb(0 0 0 / 50%);
|
|
552
|
-
--shadow-md: 0 4px 10px -3px rgb(0 0 0 / 55%);
|
|
553
|
-
--shadow-lg: 0 12px 32px -8px rgb(0 0 0 / 62%);
|
|
554
|
-
|
|
555
|
-
/* Accessible ink on the borderless soft status fills. */
|
|
556
|
-
--color-primary-text: color-mix(in srgb, var(--color-text) 25%, var(--color-primary));
|
|
557
|
-
--color-success-text: color-mix(in srgb, var(--color-text) 25%, var(--color-success));
|
|
558
|
-
--color-danger-text: color-mix(in srgb, var(--color-text) 25%, var(--color-danger));
|
|
559
|
-
--indicator-tint: 45%;
|
|
331
|
+
/* Keep text readable on pressed active and destructive actions. */
|
|
332
|
+
--color-primary-text: color-mix(in srgb, var(--color-text) 54%, var(--color-primary));
|
|
333
|
+
--color-danger-text: color-mix(in srgb, var(--color-text) 52%, var(--color-danger));
|
|
560
334
|
--color-header: color-mix(in srgb, rgb(0 0 0) 85%, var(--color-canvas));
|
|
561
335
|
}
|
|
562
336
|
|